#object-demo{--demo-blue:#174461;--demo-selected:#ad6500;--demo-yellow:#fbc02d}
#object-demo .btn-svarog{background:#174461;color:#fff;border:1px solid #174461}#object-demo .btn-svarog:hover{background:#0d344e}#object-demo .btn-outline-svarog{border:1px solid #174461;color:#174461;background:#fff}#object-demo .btn-outline-svarog:hover{background:#e7f0f5}
#object-demo [hidden]{display:none!important}
.demo-intro,.demo-tabs,.demo-actions,.demo-legend,.demo-bottom{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.demo-intro{color:#526574;margin-bottom:22px}.demo-label{border-radius:20px;background:#e2edf2;color:#174461;padding:5px 12px;font-weight:600}
.demo-tabs{border-bottom:1px solid #cbd8df;gap:4px;margin-bottom:24px}.demo-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 16px;color:#33485a;border-radius:6px 6px 0 0;cursor:pointer}.demo-tabs button:hover{background:#e5eef3}.demo-tabs button[aria-current]{border-bottom-color:#174461;color:#174461;font-weight:700;background:#e5eef3}
.demo-plan-help{background:#e7f0f5;border-left:4px solid #174461;padding:16px 20px;border-radius:6px;margin-bottom:20px}.demo-plan-help h2{font-size:1.35rem;margin:0 0 8px}.demo-plan-help p{margin:0 0 5px}.demo-plan-help>span{font-size:.9rem;color:#526574}
.demo-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px}.demo-map{position:relative;align-self:start;background:white;border:1px solid #cbd8df;border-radius:12px;min-width:0}.demo-map svg{display:block;width:100%;height:auto}.demo-hotspot{position:absolute;border:2px solid #174461;cursor:pointer;background:white;color:#174461;box-shadow:0 2px 5px #1233;border-radius:7px;font-size:clamp(11px,1.2vw,16px)}.demo-hotspot:hover{box-shadow:0 0 0 4px #17446133}.demo-hotspot:focus-visible,#object-demo button:focus-visible{outline:3px solid #ad6500;outline-offset:4px}.demo-hotspot[aria-pressed=true]{outline:3px solid #ad6500;outline-offset:4px}
.demo-camera{display:flex;align-items:center;gap:5px;padding:5px 8px;background:#174461;color:white;min-width:44px;min-height:44px;transform:translate(-50%,-50%)}.demo-camera b{display:grid;place-items:center;border-radius:50%;border:1px solid white;width:23px;height:23px}.demo-camera[aria-pressed=true]{background:#fbc02d;color:#111}.demo-camera[aria-pressed=true] b{border-color:#111}
.demo-room{display:flex;flex-direction:column;justify-content:flex-start;padding:10px;background:#e3f2e166;box-shadow:none;border-style:dashed}.demo-room>span{font-weight:700}.demo-room small{font-size:.82em}.demo-room[data-alarm=true]{background:#fee3e3b3;border-color:#a32424;color:#8b1616}.demo-door{display:flex;flex-direction:column;padding:6px;transform:translate(-50%,-50%);font-size:clamp(10px,1vw,14px)}.demo-door small{font-size:.85em}.demo-map-caption{position:absolute;bottom:0;left:12px;font-size:11px;color:#637683;background:white;padding:2px}
.demo-details,.demo-scenario{background:white;border:1px solid #d7e1e7;border-radius:12px;padding:24px;min-width:0}.demo-details h3{font-size:1.3rem}.demo-details video{width:100%;aspect-ratio:16/9;object-fit:contain;background:#17232b;border-radius:7px;display:block}.demo-caption{font-size:.82rem;color:#637683;margin-top:10px}.demo-details .btn,.demo-scenario .btn{margin-bottom:8px}.demo-details a{font-size:.82rem}.demo-legend{font-size:.85rem;color:#526574;margin-top:16px}.demo-legend span{border-right:1px solid #cad8df;padding-right:12px}.demo-bottom{justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid #d7e1e7;color:#637683;font-size:.85rem}#demo-message:not(:empty){padding:12px 16px;background:#fff2d8;border-radius:6px;margin-bottom:15px}#demo-events{padding-left:24px}#demo-events li{padding:10px;border-bottom:1px solid #e1e9ed}#demo-events time{display:inline-block;color:#637683;margin-right:12px}
@media(max-width:900px){.demo-workspace{grid-template-columns:1fr}.demo-tabs button{padding:10px}.demo-details{padding:18px}.demo-room{padding:5px}.demo-plan-help{padding:14px}.demo-intro{gap:8px}.demo-hotspot{font-size:12px}.demo-door{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.demo-camera{animation:demo-invite 1.6s ease-in-out 2}@keyframes demo-invite{50%{box-shadow:0 0 0 8px #17446126}}}
