:root{color-scheme:dark;--page:#111a1f;--panel:#172329;--line:#ffffff12;--text:#edf3f1;--muted:#94a5a8;--jade:#9ad8bb;--amber:#f4cc83;--font:'Avenir Next',Avenir,'Trebuchet MS',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--text);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--jade);outline-offset:4px}button:focus:not(:focus-visible){outline:none}[hidden]{display:none!important}svg{display:block;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{transition:background .16s,border-color .16s,color .16s,transform .16s}button:hover{filter:brightness(1.08)}
.app-header{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 30px;gap:38px;background:#131d22;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:650;letter-spacing:-1px;white-space:nowrap}.brand-light{font-weight:400;color:#a6bab9}.brand-period{color:var(--jade)}.brand-mark{width:29px;height:28px;position:relative;display:block;transform:rotate(-10deg)}.brand-mark i{position:absolute;width:11px;height:11px;background:#97d8b8;border-radius:3px;transform:skewY(-15deg)}.brand-mark i:first-child{left:1px;top:4px}.brand-mark i:nth-child(2){left:15px;top:0;background:#d4ece2}.brand-mark i:nth-child(3){left:15px;top:14px;background:#5e9c8b}.header-middle{display:flex;align-items:center;gap:16px;color:#a0b1b3;font-size:12px}.header-divider{height:20px;width:1px;background:#344044}.local-badge{font-size:9px;letter-spacing:.12em;border:1px solid #34433d;border-radius:5px;padding:3px 5px;color:#92ad9e}.header-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:650;border:1px solid transparent;white-space:nowrap}.button.primary{background:var(--jade);color:#163429;border-color:#c5ead118;box-shadow:0 3px 8px #0001}.button.primary:hover{background:#b7e7ce}.button.primary span{font-size:19px;line-height:16px}.button.secondary{background:#ffffff05;border-color:#ffffff14;color:#b7c6c8}
.workspace{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:calc(100vh - 80px)}.sidebar{border-right:1px solid var(--line);padding:30px 17px 20px;display:flex;flex-direction:column;background:#131e23;gap:7px}.section-label{font-size:10px;color:#839c9e;letter-spacing:.14em;font-weight:650}.sidebar-top{padding:0 12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.subtle-count{font-size:11px;color:#77918c}.overview-nav{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;border-radius:10px;background:transparent;padding:12px 11px;text-align:left;font-size:12px;font-weight:550}.overview-nav>span:last-child{margin-left:auto;color:#6c8781}.overview-nav.selected{border-color:#88c1a924;background:#8cbb9d11;color:#cce9dc}.overview-nav>span:first-child{color:#9cc1b2}.overview-nav svg{width:17px;height:17px}#company-list{display:grid;gap:5px;margin-top:13px}.company-item{position:relative;width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid transparent;background:transparent;border-radius:10px;padding:10px;font-size:12px}.company-item:hover{background:#ffffff04}.company-item.selected{background:#ffffff07;border-color:#ffffff0c}.company-item.selected:before{content:'';position:absolute;width:3px;height:18px;left:-17px;border-radius:0 3px 3px 0;background:var(--company-color)}.company-monogram{flex-shrink:0;width:29px;height:29px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--company-color) 32%,transparent);background:color-mix(in srgb,var(--company-color) 10%,transparent);color:var(--company-color);border-radius:8px;font-size:10px;font-weight:700;letter-spacing:.03em}.company-info{display:flex;flex-direction:column;gap:1px;min-width:0}.company-info strong{font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-info small{font-size:9px;color:#799197}.company-quantity{margin-left:auto;font-size:10px;min-width:20px;text-align:center;color:#b2c6c3;background:#ffffff04;border-radius:5px;padding:2px 4px;font-variant-numeric:tabular-nums}.sidebar-bottom{display:flex;gap:9px;align-items:center;margin-top:auto;padding:50px 9px 0}.profile-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#344347;color:#bdd0c6;font-weight:550;font-size:12px;border:1px solid #647a6d35}.sidebar-bottom>div{display:flex;flex-direction:column}.sidebar-bottom strong{font-size:11px;font-weight:600}.sidebar-bottom div span{font-size:9px;color:#718c91}.privacy-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#8cc7a4}
.main-content{padding:28px 32px 20px;min-width:0;max-width:1900px;width:100%;margin:auto}.page-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:0 0 25px}.eyebrow{font-size:9px;letter-spacing:.18em;font-weight:600;color:#6e928a;margin-bottom:8px}h1{font-size:clamp(22px,2.3vw,30px);line-height:1.25;letter-spacing:-.9px;font-weight:500;color:#e4eeea}.view-description{font-size:11px;color:#80989d;margin-top:8px}.headline-metrics{display:flex;gap:24px;align-items:center}.headline-metrics>div{display:flex;flex-direction:column;border-left:1px solid #ffffff0d;padding-left:22px}.headline-metrics strong{font-size:25px;line-height:1.3;font-weight:500;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.headline-metrics span{font-size:9px;color:#81999c;white-space:nowrap}.offline-banner{font-size:11px;color:#ffbba5;border:1px solid #f6967040;border-radius:9px;background:#d86b2f14;padding:12px 16px;margin-bottom:14px}
.stage-shell{position:relative;isolation:isolate;width:100%;height:clamp(480px,65vh,750px);overflow:hidden;border-radius:18px;background:#c4d2d3;border:1px solid #ffffff16;box-shadow:0 14px 40px #0002}.scene-container{position:absolute;inset:0;touch-action:none;outline:none}.scene-container canvas{width:100%;height:100%;display:block;touch-action:none}.room-labels{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:3}.room-label{position:absolute;left:0;top:0;pointer-events:auto;display:flex;align-items:center;gap:6px;padding:5px 9px;border-radius:7px;border:1px solid #ffffffb0;background:#f9fcf0e8;box-shadow:0 3px 10px #15363812;backdrop-filter:blur(8px);color:#253c3e;white-space:nowrap;cursor:pointer;font-family:var(--font);font-size:10px;font-weight:600;transition:background .15s;will-change:transform}.room-label:hover,.room-label.selected{background:#fffef4;border-color:#598b7890;box-shadow:0 3px 12px #16342c30}.room-label .room-name{font-size:10px;font-weight:650}.room-label .room-count{font-size:9px;border-radius:4px;background:#40534d0b;color:#4b6b61;min-width:15px;text-align:center;padding:1px 3px}.room-label small{font-size:8px;color:#587366}.stage-top{position:absolute;top:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;z-index:4;pointer-events:none}.view-chip{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:.11em;color:#29464b;padding:7px 11px;background:#f7faf5a8;border:1px solid #ffffff9c;border-radius:7px;backdrop-filter:blur(10px)}.chip-dot{background:#658b7c;width:5px;height:5px;border-radius:50%}.stage-source{font-size:8px;letter-spacing:.12em;font-weight:650;color:#355459;padding:7px 10px;border-radius:7px;background:#edf6f4a3;border:1px solid #ffffff88}.scene-loading,.scene-error{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#c7d4d4;color:#3f6061;text-align:center;padding:30px}.scene-loading strong,.scene-error strong{font-size:15px;font-weight:550}.scene-loading span{font-size:11px;color:#678280}.loading-symbol{width:32px;height:32px;border:2px solid #92b0a766;border-top-color:#447366;border-radius:10px;animation:loading 1.6s ease infinite}.scene-error p{max-width:340px;font-size:12px}.scene-error svg{width:35px;height:35px}.stage-bottom{position:absolute;bottom:17px;left:20px;right:20px;z-index:4;display:flex;gap:16px;align-items:center;pointer-events:none}.stage-legend{display:flex;gap:12px;padding:6px 10px;background:#e9f0ebe3;backdrop-filter:blur(10px);border-radius:7px}.stage-legend span{display:flex;align-items:center;gap:5px;font-size:8px;color:#456061}.legend-dot{width:5px;height:5px;display:inline-block;border-radius:50%}.legend-dot.working{background:#4c9d81}.legend-dot.waiting{background:#d69d39}.legend-dot.idle{background:#9aa9ae}.camera-controls{pointer-events:auto;display:flex;align-items:center;gap:2px;margin-left:auto;padding:4px;background:#f7faf4ed;border:1px solid #fff9;border-radius:9px;box-shadow:0 3px 10px #36524810}.camera-controls button{display:grid;place-items:center;width:31px;height:29px;border:0;background:transparent;border-radius:5px;color:#355450;font-size:20px}.camera-controls button:hover{background:#a8c1b62b}.camera-controls svg{width:15px;height:15px}.control-divider{width:1px;height:15px;background:#8aa69b39;margin:0 3px}.camera-hint{font-size:8px;color:#536f70;background:#dfebeaac;padding:6px 9px;border-radius:6px}
.activity-section{padding-top:26px}.activity-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.activity-heading h2{font-size:15px;letter-spacing:-.25px;font-weight:550}.activity-heading p{font-size:10px;color:#7d979c;margin-top:4px}.activity-filters{display:flex;gap:3px;padding:3px;background:#0e171c;border:1px solid #ffffff0a;border-radius:8px}.activity-filters button{border:0;background:transparent;border-radius:5px;padding:6px 11px;font-size:10px;color:#7e989d}.activity-filters button[aria-pressed=true]{color:#d1e4da;background:#263b35}.status-summary{display:flex;gap:17px;flex-wrap:wrap;font-size:10px;color:#809a9c;padding:17px 0 14px}.status-summary span{display:flex;align-items:center;gap:5px}.status-summary b{font-weight:500;color:#b7ceca}.status-summary i{width:5px;height:5px;border-radius:50%}.status-summary .working i{background:#8ccaaa}.status-summary .waiting i{background:#e2bf7d}.status-summary .stale i{background:#da917c}.agent-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:13px}.team-card{min-width:0;border:1px solid #ffffff0c;border-radius:12px;background:#162229;overflow:hidden}.team-header{display:flex;align-items:center;gap:8px;padding:12px 15px;border-bottom:1px solid #ffffff07;color:#a8c0b7;font-size:10px;font-weight:600}.team-header .company-monogram{width:21px;height:21px;font-size:8px;border-radius:6px}.team-header .team-quantity{font-size:9px;font-weight:400;color:#66878a;margin-left:auto}.agent-row{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #ffffff04;background:transparent;padding:12px 15px;text-align:left;min-width:0}.agent-row:last-child{border-bottom:0}.agent-row:hover,.agent-row.selected{background:#ffffff04}.agent-row.child{padding-left:31px;position:relative}.agent-row.child:before{content:'';position:absolute;left:20px;top:0;width:6px;height:50%;border-left:1px solid #58736b50;border-bottom:1px solid #58736b50;border-radius:0 0 0 3px}.agent-avatar{width:30px;height:30px;display:grid;place-items:center;background:#263e3a;border:1px solid #496a5e50;border-radius:9px;color:#97c7ad;flex-shrink:0}.agent-avatar svg{width:16px;height:16px}.agent-avatar.child{background:#27383e;border-color:#49677040;color:#9ab8c0}.agent-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.agent-copy strong{font-size:11px;color:#c7d8d4;line-height:1.35;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.agent-copy small{font-size:9px;color:#6f9198;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.agent-status{font-size:8px;margin-left:auto;display:flex;align-items:center;gap:4px;white-space:nowrap;padding:3px 6px;border-radius:4px;background:#ffffff03;flex-shrink:0}.agent-status.running,.agent-status.tool{color:#a2cfb5}.agent-status.waiting{color:#ddbe88}.agent-status.stale,.agent-status.error,.agent-status.interrupted{color:#d5a18b}.agent-status.ended{color:#7f999f}.agent-status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.empty-state{grid-column:1/-1;padding:32px;border:1px dashed #47605f70;border-radius:12px;display:flex;align-items:center;gap:17px;background:#15232999}.empty-state>span{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:#233a3299;color:#8fb6a0;flex-shrink:0}.empty-state h3{font-size:13px;font-weight:500;color:#bfd0c8}.empty-state p{font-size:11px;color:#709194;margin-top:4px}.empty-state button{margin-left:auto;background:#2e483d;border:1px solid #7ba38b25;padding:9px 13px;border-radius:7px;font-size:11px;color:#c0d8c8;white-space:nowrap}.main-footer{margin-top:25px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:8px;color:#617e82}.main-footer>span:first-child{display:flex;gap:6px;align-items:center}.main-footer i{display:block;width:5px;height:5px;border-radius:50%;background:#84b99a}.main-footer .offline i{background:#d49178}
.inspector{position:fixed;right:18px;top:98px;bottom:18px;width:330px;max-width:calc(100vw - 30px);background:#17272bef;border:1px solid #87b0a327;box-shadow:-15px 10px 50px #0004;backdrop-filter:blur(22px);border-radius:17px;z-index:20;overflow:auto;padding:20px}.inspector-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.icon-button{border:0;background:#ffffff05;border-radius:7px;display:grid;place-items:center;width:29px;height:29px;font-size:22px;color:#a0b9b5;flex-shrink:0}.inspector-company{display:flex;align-items:center;gap:8px;font-size:11px;color:#9bb5ad;margin-bottom:14px}.inspector h2{font-size:21px;font-weight:500;letter-spacing:-.5px;line-height:1.4;overflow-wrap:anywhere}.inspector-role{font-size:10px;color:#7b9b9c;margin-top:5px}.inspector .agent-status{display:inline-flex;margin:13px 0;font-size:10px;padding:5px 8px}.detail-task{font-size:12px;color:#b8ccc3;line-height:1.8;margin-bottom:17px}.detail-fields{display:grid;gap:13px;margin:8px 0 22px}.detail-fields>div{display:flex;flex-direction:column;gap:5px}.detail-fields dt{font-size:8px;letter-spacing:.1em;color:#769797}.detail-fields dd{margin:0;font-size:11px;overflow-wrap:anywhere;color:#c0d1c8}.detail-fields button{font-size:11px;text-align:left;color:#a7d7bf;background:none;border:0;padding:0}.inspector h3{font-size:11px;color:#bfd2c8;font-weight:500;margin:20px 0 14px}.timeline{list-style:none;padding:0;margin:0}.timeline li{border-left:1px solid #4b6e5e55;padding:0 0 16px 15px;position:relative;font-size:10px;color:#a0bdb2;line-height:1.7}.timeline li:before{position:absolute;content:'';width:5px;height:5px;left:-3px;top:5px;border-radius:50%;background:#7da990}.timeline time{display:block;font-size:8px;color:#688e8c;margin-bottom:3px}.timeline li:last-child{padding-bottom:0}
.company-dialog{max-width:calc(100vw - 28px);width:480px;max-height:calc(100dvh - 32px);padding:28px;border:1px solid #7ba08c40;border-radius:17px;color:var(--text);background:#192a2e;box-shadow:0 30px 100px #0007;overflow:auto}.company-dialog::backdrop{background:#060d11bd;backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:25px;letter-spacing:-.6px;font-weight:500}.dialog-copy{font-size:11px;color:#91aaa8;line-height:1.9;margin:14px 0}.company-dialog label{display:flex;flex-direction:column;gap:7px;margin-top:14px;font-size:11px;color:#c1d4cb}.company-dialog label small{color:#739594;font-size:9px;margin-top:-5px}.form-row{display:flex;gap:14px}.form-row label:first-child{flex:1;min-width:0}.company-dialog .color-field{width:49px}.company-dialog input:not([type=color]),.company-dialog textarea{border:1px solid #8cac9a25;background:#101e23;color:#dce8df;border-radius:7px;padding:10px 12px;resize:vertical;min-width:0;width:100%;font-size:12px}.company-dialog input[type=color]{padding:4px;width:49px;height:39px;border:1px solid #8cac9a25;border-radius:7px;background:#101e23}.company-dialog ::placeholder{color:#567b7b;font-size:11px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-error{font-size:11px;line-height:1.8;color:#f4ba9c;margin-top:10px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);padding:12px 22px;max-width:calc(100vw - 24px);text-align:center;border:1px solid #7fb2966b;border-radius:10px;background:#253c33;color:#d4edde;font-size:12px;box-shadow:0 5px 25px #0004;z-index:60}.is-offline .stage-source{color:#9b563a;background:#fff0dde0}
@keyframes loading{to{transform:rotate(180deg)}}
@media(min-width:1700px){.main-content{padding:36px 48px}.stage-shell{height:72vh}.sidebar{padding-top:37px}.page-heading{margin-bottom:30px}}
@media(max-width:1150px){.workspace{grid-template-columns:195px minmax(0,1fr)}.app-header{padding:0 22px;gap:28px}.header-middle{display:none}.main-content{padding:24px}.headline-metrics{gap:14px}.headline-metrics>div{padding-left:14px}.headline-metrics>div:nth-child(2){display:none}.camera-hint{display:none}.company-info strong{font-size:10px}.agent-list{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}}
@media(max-width:800px){.app-header{height:70px;padding:0 18px;gap:10px}.brand{font-size:20px}.brand-mark{transform:scale(.85) rotate(-10deg)}.header-actions{gap:9px}.button{padding:9px 11px;font-size:11px}.workspace{grid-template-columns:1fr}.sidebar{padding:12px 18px;border-right:0;border-bottom:1px solid var(--line);display:flex;flex-direction:row;gap:8px;overflow-x:auto;align-items:center;scrollbar-width:thin}.sidebar-top,.sidebar-bottom{display:none}.overview-nav{width:auto;flex-shrink:0;padding:10px 11px;font-size:10px}.overview-nav>span:last-child{display:none}#company-list{display:flex;gap:7px;margin:0}.company-item{width:auto;padding:6px 9px;white-space:nowrap;gap:7px}.company-item.selected:before{display:none}.company-info small,.company-quantity{display:none}.company-info strong{font-size:10px}.company-monogram{width:24px;height:24px;font-size:9px}.main-content{padding:22px 18px}.page-heading{align-items:flex-start;margin-bottom:20px;gap:12px}.eyebrow{font-size:8px}.headline-metrics{gap:8px}.headline-metrics>div{padding-left:12px}.headline-metrics>div:not(:first-child){display:none}.headline-metrics strong{font-size:25px}.headline-metrics span{font-size:8px}.view-description{font-size:10px;max-width:290px;line-height:1.7}h1{font-size:25px}.stage-shell{height:530px}.stage-top{left:13px;right:13px;top:13px}.stage-bottom{left:13px;right:13px;bottom:13px}.stage-legend{gap:7px;padding:7px}.stage-legend span{font-size:7px}.room-label{font-size:9px;padding:4px 7px;gap:4px}.room-label .room-name{font-size:9px}.room-label .room-count{font-size:8px}.activity-heading{align-items:flex-start;gap:15px}.activity-heading p{max-width:200px;line-height:1.7;font-size:9px}.activity-filters button{font-size:9px;padding:6px 9px}.agent-list{grid-template-columns:repeat(auto-fit,minmax(265px,1fr))}.main-footer{flex-wrap:wrap;line-height:1.8;font-size:8px}.inspector{top:auto;left:10px;right:10px;bottom:10px;width:auto;max-width:none;max-height:70dvh;border-radius:17px;padding:20px;box-shadow:0 -20px 80px #0007}.inspector-top{margin-bottom:13px}.empty-state{padding:20px;align-items:flex-start;flex-wrap:wrap}.empty-state button{margin-left:57px}.empty-state p{max-width:240px}.empty-state>div{flex:1}}
@media(max-width:470px){.app-header{flex-wrap:wrap;height:auto;min-height:76px;padding:14px 16px;gap:13px}.brand{font-size:21px}.header-actions{gap:8px;flex:1;justify-content:flex-end}.header-actions .button{font-size:0;padding:7px 11px;width:31px;height:31px}.header-actions .button span{font-size:20px;margin:0}.main-content{padding:20px 13px}.page-heading{gap:8px}.headline-metrics{display:none}h1{font-size:24px}.view-description{font-size:10px;max-width:100%}.stage-shell{height:450px;border-radius:14px}.stage-source{font-size:7px;padding:6px}.view-chip{font-size:7px;padding:6px}.stage-legend{display:none}.camera-controls{margin-left:auto}.camera-controls button{width:31px;height:29px}.activity-heading{flex-wrap:wrap;gap:12px}.activity-heading p{max-width:none}.activity-filters{width:100%;justify-content:space-between}.activity-filters button{flex:1;font-size:10px}.agent-list{grid-template-columns:minmax(0,1fr)}.status-summary{font-size:9px;gap:12px}.company-dialog{padding:22px 19px}.dialog-heading h2{font-size:23px}.form-actions{gap:8px}.form-actions .button{font-size:10px}.inspector h2{font-size:19px}}
@media(max-width:470px){.room-label .room-count{display:none}.room-label{padding:5px 7px;min-height:24px}.room-label .room-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Workspace chrome can be hidden without changing the campus. */
.app-header{gap:16px}.menu-header{display:flex;align-items:center;gap:30px;flex:1;min-width:0}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;height:36px;padding:0 11px;border:1px solid #ffffff18;border-radius:9px;background:#ffffff05;font-size:11px;color:#b8d6c9}.menu-toggle[aria-expanded=true]{background:#9ad8bb14;border-color:#9ad8bb40}.menu-toggle svg{width:17px;height:17px}.menu-collapsed .workspace{grid-template-columns:minmax(0,1fr);min-height:calc(100vh - 56px)}.menu-collapsed .app-header{height:56px;min-height:56px;padding-top:0;padding-bottom:0}.menu-collapsed .main-content{margin-top:0}
@media(max-width:800px){.menu-header{gap:16px}}
@media(max-width:470px){.app-header{flex-wrap:nowrap}.menu-header{gap:8px}.menu-header .brand{font-size:18px;gap:6px}.menu-toggle{padding:0 9px}.menu-header .header-actions{flex:0;margin-left:auto}}

/* Viewport expansion is CSS-only; Chrome chrome and other tabs stay untouched. */
.camera-controls #tab-expand{width:auto;display:inline-flex;align-items:center;gap:7px;padding:0 10px;font-size:10px;white-space:nowrap}.camera-controls #tab-expand svg{width:16px;height:16px}
body.tab-expanded{overflow:hidden}.tab-expanded #stage-shell{position:fixed;inset:0;width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;z-index:30}.tab-expanded .inspector{z-index:40;top:16px;bottom:76px;max-height:calc(100dvh - 92px)}.tab-expanded #offline-banner{position:fixed;z-index:41;top:62px;left:16px;right:16px;margin:0;background:#39271fee}.tab-expanded .camera-hint{display:none}
@media(max-width:470px){.camera-controls #tab-expand{font-size:9px;padding:0 8px;gap:5px}.tab-expanded .inspector{top:auto;max-height:calc(100dvh - 32px)}}

.activity-now{margin:18px 0;padding:16px;background:rgba(125,204,184,.06);border:1px solid var(--line);border-radius:14px}.activity-now h3{font-size:16px!important;line-height:1.4;margin:7px 0!important;color:var(--text)}.activity-now p,.observation-note{font-size:11px;line-height:1.65;color:var(--muted);margin:0}.observation-note{margin:12px 0}.repeat-count{display:inline-block;font-size:10px;color:var(--muted);margin-left:7px}.technical-details{border-top:1px solid var(--line);margin-top:22px;padding-top:15px}.technical-details summary{font-size:12px;color:var(--muted);cursor:pointer;padding:6px 0}.technical-details[open] summary{color:var(--text)}.technical-timeline{opacity:.8}.parent-context{margin:16px 0!important}
.attention-control{pointer-events:auto;position:absolute;left:50%;transform:translateX(-50%);top:0;max-width:min(420px,54vw);padding:6px 8px;border:1px solid #be3349;background:#4a1520ed;color:#ffe9ea;border-radius:8px;box-shadow:0 5px 16px #3b080b66;font-size:9px;text-align:center}.attention-list{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;margin-top:3px}.attention-item{border:0;border-radius:5px;padding:4px 6px;background:#ffffff16;color:inherit;font-size:9px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attention-item.uncertain{background:#593f351c;color:#ffe0ce}.decision-item.selected-request{outline:2px solid #f4cc83;outline-offset:2px}.inherited-task{font-size:10px;color:#a7d7bf;margin:5px 0}.room-help-marker{font-size:10px;color:#b72036;line-height:1}.agent-help-text{margin-left:auto;color:#ff9ca5;font-size:9px}.agent-avatar.needs-help{border-color:#ed4453;background:#5b1e29;color:#ffd9dc}.agent-avatar.needs-help.confirmed{box-shadow:0 0 0 2px #eb3c4a66}.work-task,.decision-panel,.recent-reports{margin:17px 0;padding:13px;border:1px solid var(--line);border-radius:12px;background:#ffffff04}.work-task h3,.decision-panel h3,.recent-reports h3{margin:4px 0 8px}.work-task p,.decision-item p,.recent-reports>p,.progress-field{font-size:10px;color:var(--muted);margin:5px 0}.task-references{margin:9px 0 0;padding-left:16px;font-size:10px}.task-references a{color:var(--jade);text-decoration:underline}.decision-item{border-left:3px solid #e23f4d;padding:8px 10px;margin-top:8px;background:#4d182015}.decision-item.uncertain{border-left-color:#d29370;background:#50392b18}.decision-origin,.report-provenance{font-size:9px;color:#87a7a0;margin-top:8px;display:block}.agent-help-bubble{position:absolute;z-index:4;pointer-events:auto;border:1px solid #cc3445;background:#561923e8;color:#fff3f3;padding:5px 7px;border-radius:7px;font:600 9px var(--font);white-space:nowrap}.agent-help-bubble.jumping{animation:help-jump 1.7s ease-in-out infinite}.agent-help-bubble:not(.confirmed){background:#514038;border-color:#a88771}@keyframes help-jump{0%,55%,100%{margin-top:0}72%{margin-top:-7px}}

.login-screen{position:fixed;inset:0;z-index:100;background:#0e171b;display:flex;align-items:center;justify-content:center;padding:20px}.login-screen[hidden]{display:none}.login-card{width:min(380px,100%);padding:30px 26px;border:1px solid #ffffff16;border-radius:17px;background:#141f24;color:var(--text);box-shadow:0 20px 60px #0006}.login-mark{display:block;margin:0 auto 14px}.login-title{font-size:23px;font-weight:600;letter-spacing:-.5px;margin:0 0 6px;color:#e4eeea}.login-copy{font-size:12px;color:#80989d;margin:0 0 20px}.login-field{display:flex;flex-direction:column;gap:6px;font-size:10px;letter-spacing:.12em;font-weight:650;color:#839c9e;margin-bottom:14px}.login-field input{font:inherit;font-size:14px;letter-spacing:0;color:var(--text);background:#0d171b;border:1px solid #34433d;border-radius:9px;padding:11px 12px;width:100%;box-sizing:border-box}.login-field input:focus{outline:2px solid #7ba08c;outline-offset:1px}.login-screen .form-error{color:#ffbba5;font-size:12px;margin:0 0 12px}.login-screen .button{width:100%;justify-content:center}
