
:root{--bg:#f4f1e8;--side:#f9f7ef;--card:#fffdf7;--card2:#eef1e4;--line:#dce1d3;--text:#183e42;--muted:#778879;--lime:#286b61;--orange:#d39a69;--blue:#85bcff;--purple:#c29dff}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.app{display:grid;grid-template-columns:218px minmax(0,1fr);grid-template-rows:74px minmax(calc(100vh - 74px),auto)}.topbar{grid-column:1/3;background:#faf8f0;border-bottom:1px solid #dce1d3;display:flex;align-items:center;justify-content:space-between;padding:0 31px;z-index:2}.brand{display:flex;align-items:center;gap:13px;min-width:200px}.brand-mark{width:37px;height:37px;background:var(--lime);color:#fff8e5;display:grid;place-items:center;font:800 27px 'Space Grotesk';transform:rotate(-5deg);border-radius:7px;position:relative}.brand-mark span{position:absolute;font-size:13px;right:-8px;top:-7px;color:var(--lime)}.brand strong{display:block;font:700 21px 'Space Grotesk';letter-spacing:-1.2px}.lime{color:var(--lime)}.brand small{display:block;font:700 8px 'Space Grotesk';letter-spacing:2.5px;color:#79877b;margin-top:3px}.top-center{font:700 10px 'Space Grotesk';letter-spacing:1.2px;color:#a7b3a8;display:flex;align-items:center;gap:10px}.live-dot,.server-light{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #286b6120,0 0 12px #286b6180;display:inline-block}.top-sep{height:14px;width:1px;background:#415044;margin:0 8px}.top-actions{display:flex;gap:9px}.primary,.outline,.subtle{border-radius:8px;padding:10px 15px;font-size:12px;font-weight:800}.primary{border:1px solid var(--lime);background:var(--lime);color:#fffbed}.primary:hover{background:#347c6c}.outline{border:1px solid #cfd9c7;background:#f9f7ee;color:var(--text)}.outline:hover,.subtle:hover{border-color:var(--lime);color:var(--lime)}.subtle{background:transparent;color:#6c8477;border:1px solid transparent}.sidebar{background:#f9f7ef;border-right:1px solid #dce1d3;padding:31px 15px 18px;display:flex;flex-direction:column;min-height:0}.sidebar-title{color:#708170;font:800 10px 'Space Grotesk';letter-spacing:1.8px;padding:0 13px;margin-bottom:15px;display:flex;justify-content:space-between}.nav{height:43px;border:none;background:transparent;color:#9aa99d;display:flex;align-items:center;gap:13px;text-align:left;border-radius:7px;padding:0 12px;font-size:12px;font-weight:700;margin-bottom:4px}.nav span{font-size:22px;line-height:1;font-weight:400;width:22px}.nav b{margin-left:auto;color:#738074;font:700 10px 'Space Grotesk'}.nav.active,.nav:hover{background:#e2ead8;color:var(--lime)}.nav.active b{color:var(--lime)}.sidebar-divider{border-top:1px solid #dce1d3;margin:25px 9px 26px}.activity-list{flex:1;overflow:auto;padding:0 4px}.activity-item{padding:12px 7px 12px 14px;border-left:1px solid #cdd9c4;margin-left:9px;position:relative}.activity-item:before{content:'';position:absolute;left:-4px;top:17px;width:7px;height:7px;background:#68835a;border-radius:50%;border:2px solid var(--side)}.activity-item:first-child:before{background:var(--lime)}.activity-item strong{display:block;font-size:11px;color:#526f58}.activity-item p{margin:4px 0 0;color:#788779;font-size:10px;line-height:1.4}.sidebar-bottom{display:flex;align-items:center;gap:11px;background:#edf2e3;border:1px solid #d7e1ca;padding:12px;border-radius:9px;margin-top:12px}.sidebar-bottom strong,.sidebar-bottom small{display:block}.sidebar-bottom strong{font:800 9px 'Space Grotesk';letter-spacing:1px}.sidebar-bottom small{font-size:10px;color:#91a291;margin-top:4px}.main{min-width:0;padding:35px 32px 40px;max-width:1750px;width:100%;margin:auto}.heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{font:800 10px 'Space Grotesk';letter-spacing:2px;color:var(--lime)}.heading h1{font:700 clamp(30px,3vw,44px) 'Space Grotesk';letter-spacing:-2px;margin:8px 0}.heading h1 em{font-style:normal;color:var(--lime)}.heading p{color:#91a091;font-size:13px;margin:0}.heading-actions{display:flex;gap:8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.metrics article{background:#fffdf7;border:1px solid #dce1d3;border-radius:11px;padding:18px 20px;min-height:111px}.metrics article>span{display:block;font:800 10px 'Space Grotesk';letter-spacing:1.3px;color:#829381}.metrics strong{display:block;font:700 30px 'Space Grotesk';margin:8px 0 4px;line-height:1}.metrics small{font-size:10px;color:#8a9b8c}.metrics i,.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);margin-right:5px}.metrics i.amber,.legend-dot.review{background:var(--orange)}.work-area{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:17px;align-items:stretch}.scene-wrap{background:#e5e8dc;border:1px solid #d7dfcc;border-radius:13px;min-height:588px;position:relative;overflow:hidden}.scene-top{position:absolute;z-index:1;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:18px 21px;pointer-events:none}.scene-top strong{font:800 11px 'Space Grotesk';letter-spacing:1.4px}.scene-top div:first-child>span{display:block;font-size:10px;color:#9cac9b;margin-top:5px}.scene-legend{display:flex;gap:13px;font-size:9px;color:#9aaa9b}.legend-dot{width:6px;height:6px}.legend-dot.idle{background:#84938b}#canvas-host{height:588px;width:100%;touch-action:none;cursor:grab}#canvas-host:active{cursor:grabbing}.scene-hint{position:absolute;z-index:1;bottom:15px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;color:#9bab9c;font-size:9px;pointer-events:none}.scene-hint div{display:flex;gap:4px;pointer-events:auto}.scene-hint button{width:27px;height:27px;background:#2b382d;border:1px solid #455645;color:#4e7156;border-radius:5px;font-size:17px}.floor-badge{position:absolute;bottom:54px;left:20px;border:1px solid #5f7654;background:#213321da;color:#dffac3;border-radius:5px;font:700 9px 'Space Grotesk';letter-spacing:1px;padding:8px 10px}.floor-badge .live-dot{width:5px;height:5px;margin-right:7px}.floor-badge small{border-left:1px solid #65805f;margin-left:8px;padding-left:9px;color:#aac1a0}.team-panel{background:#fffdf7;border:1px solid #d7dfcc;border-radius:13px;display:flex;flex-direction:column;min-height:588px;overflow:hidden}.panel-head{padding:20px 18px 16px;border-bottom:1px solid #dce2d3;display:flex;align-items:center;justify-content:space-between}.panel-head .eyebrow{font-size:9px}.panel-head h2{font:700 20px 'Space Grotesk';margin:6px 0 0;letter-spacing:-.8px}.panel-head h2 span{font:700 11px 'Space Grotesk';color:var(--lime);vertical-align:middle;margin-left:5px}.panel-head button,.team-foot button{background:#2b3929;color:var(--lime);border:1px solid #4c6940;width:29px;height:29px;border-radius:6px;font-size:19px}.team-list{overflow:auto;flex:1;max-height:425px}.team-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #e2e7d8;padding:13px 17px;color:var(--text)}.team-row:hover,.team-row.selected{background:#edf3e4}.avatar-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;font:800 15px 'Space Grotesk',sans-serif;flex:none;background:var(--av,#41583e);color:#eaffd6}.team-row .info{min-width:0;flex:1}.team-row strong,.team-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-row strong{font-size:11px}.team-row small{font-size:9px;color:#809082;margin-top:5px}.status-pill{font:700 8px 'Space Grotesk';letter-spacing:.4px;border-radius:3px;padding:5px 6px;background:#e7ebdc;color:#869878}.status-pill.working{background:#dfebd3;color:#5a7c42}.status-pill.review{background:#f2e2cd;color:#a67d4f}.status-pill.blocked{background:#f2dcd4;color:#ae6854}.status-pill.done{background:#deebed;color:#587e88}.team-foot{padding:18px;border-top:1px solid #dce2d3;background:#f0f3e6}.team-foot strong{font-size:11px;color:var(--lime)}.team-foot p{font-size:10px;color:#91a391;line-height:1.5;margin:6px 0 0}.modal-backdrop{position:fixed;z-index:20;inset:0;background:#070a08ba;display:grid;place-items:center;padding:15px}.hidden{display:none!important}.modal{background:#fcfaf0;border:1px solid #d3ddc5;box-shadow:0 25px 80px #0009;border-radius:15px;width:min(440px,100%);padding:27px;position:relative}.modal h2{font:700 26px 'Space Grotesk';margin:8px 0}.modal p{color:#a4b4a3;font-size:12px;line-height:1.5}.modal .close{position:absolute;right:16px;top:13px;border:0;background:none;color:#b3c2b2;font-size:25px}.modal label{display:block;font-size:11px;font-weight:700;margin:17px 0 6px}.modal input,.modal select{width:100%;border:1px solid #ccd9bd;border-radius:7px;background:#f1f4e8;color:#46633e;padding:12px;outline:none}.modal input:focus,.modal select:focus{border-color:var(--lime)}.modal .primary{width:100%;margin-top:22px;padding:12px}.modal .row{display:flex;gap:10px}.modal .row>div{flex:1}.detail-title{display:flex;gap:12px;align-items:center;margin:15px 0}.detail-title .avatar-icon{width:49px;height:49px;font-size:26px}.detail-title strong{font:700 18px 'Space Grotesk'}.detail-title small{display:block;color:#90a090;margin-top:4px;font-size:11px}.detail-box{border:1px solid #dce5ce;background:#edf2e2;border-radius:8px;padding:14px;margin-top:12px}.detail-box span{color:var(--lime);font:800 9px 'Space Grotesk';letter-spacing:1.3px}.detail-box p{margin:7px 0 0}.detail-actions{display:flex;gap:8px;margin-top:18px}.detail-actions button{flex:1}.detail-actions .outline{font-size:10px;padding:9px 4px}.muted{color:#93a493}
@media(max-width:1100px){.app{grid-template-columns:70px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.sidebar-title,.activity-list,.sidebar-bottom,.nav b{display:none}.nav{justify-content:center;font-size:0;padding:0}.nav span{font-size:24px;width:auto}.sidebar-divider{margin:16px 6px}.main{padding:25px 20px}.work-area{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:800px){.app{display:block}.topbar{height:65px;padding:0 17px}.brand{min-width:0}.brand strong{font-size:17px}.brand small{font-size:7px}.top-center,.top-actions .subtle,.sidebar{display:none}.top-actions .primary{padding:8px 10px;font-size:11px}.main{padding:22px 14px}.heading{align-items:start;flex-direction:column}.heading h1{font-size:31px}.heading-actions{display:flex;width:100%}.heading-actions button{flex:1;padding:9px 7px;font-size:11px}.metrics{grid-template-columns:repeat(2,1fr);gap:8px}.metrics article{padding:13px;min-height:94px}.metrics strong{font-size:24px}.work-area{grid-template-columns:1fr}.scene-wrap{min-height:430px}.scene-top{padding:13px}.scene-legend{display:none}#canvas-host{height:430px}.scene-hint{left:12px;right:12px;bottom:12px}.scene-hint>span{font-size:8px;max-width:210px}.floor-badge{bottom:42px;left:12px}.team-panel{min-height:0}.team-list{max-height:330px}.team-foot{display:none}}

/* Viewer receives only the sanitized public office snapshot. These rules also
   keep command controls out of sight until the authenticated snapshot arrives. */
.viewer .command-only{display:none!important}.command .viewer-only{display:none!important}
.viewer .app{grid-template-columns:1fr}.viewer .topbar{grid-column:1}.viewer .main{max-width:none;padding:18px 24px}.viewer .work-area{display:block}.viewer .scene-wrap{min-height:calc(100vh - 112px)}.viewer #canvas-host{height:calc(100vh - 112px);min-height:470px}.viewer .scene-top{padding:24px 28px}.viewer .scene-top strong{color:var(--lime);font-size:13px}.viewer .floor-badge{display:none}.viewer .scene-hint{bottom:22px}.viewer .scene-hint>span{color:#b4c6b2}.viewer .top-actions{margin-left:auto}
.command-dashboard{margin-top:20px}.dashboard-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:28px 0 17px}.dashboard-title h2{font:700 27px 'Space Grotesk',sans-serif;letter-spacing:-1px;margin:7px 0 4px}.dashboard-title p{color:#93a493;font-size:12px;margin:0}.dashboard-title>div:last-child{display:flex;align-items:center;gap:10px}.demo-chip{font:800 9px 'Space Grotesk',sans-serif;color:#a98853;border:1px solid #e4d8bf;background:#f4e9d2;border-radius:4px;padding:9px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.36fr) minmax(270px,.85fr);gap:15px}.dash-card{background:#fffdf7;border:1px solid #d7dfcc;border-radius:12px;overflow:hidden;min-height:270px}.dash-head{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 17px;border-bottom:1px solid #dce3d0}.dash-head h3{font:700 17px 'Space Grotesk',sans-serif;margin:0}.dash-head span{color:#8ea18d;font:800 9px 'Space Grotesk',sans-serif;letter-spacing:1px}.tasks-card{grid-row:span 2}.task-filters{display:flex;gap:5px;padding:13px 16px}.task-filters button{border:1px solid transparent;background:transparent;color:#99ac98;border-radius:5px;padding:7px 10px;font-size:10px;font-weight:700}.task-filters button.selected{background:#e0ead4;color:var(--lime);border-color:#c9d9b7}.task-list{padding:0 16px 15px;max-height:560px;overflow:auto}.task-item{background:#f4f6eb;border:1px solid #dce5cf;border-radius:8px;padding:15px;margin-bottom:9px}.task-item-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.task-item h4{font-size:12px;margin:0 0 6px}.task-item small{font-size:10px;color:#94a796}.task-meta{display:flex;align-items:center;gap:7px;color:#9ba99b;font-size:10px;margin-top:13px}.task-meta strong{color:#63804e}.progress-track{background:#e0e6d3;border-radius:4px;height:5px;margin-top:13px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--lime);border-radius:4px;transition:width .35s}.progress-track.indeterminate span{width:35%!important;animation:indeterminate 1.8s ease-in-out infinite}@keyframes indeterminate{from{transform:translateX(-120%)}to{transform:translateX(320%)}}.task-result{border-left:2px solid var(--lime);padding:9px 11px;margin-top:13px;color:#7b8e68;font-size:10px;line-height:1.5;background:#edf2e1}.token-card{min-height:330px}.token-total{display:flex;align-items:baseline;gap:10px;padding:19px 20px 8px}.token-total strong{font:700 35px 'Space Grotesk',sans-serif;color:var(--lime)}.token-total span{font-size:10px;color:#8fa18e}.token-split{display:flex;justify-content:space-between;gap:8px;padding:4px 20px 20px;border-bottom:1px solid #dce3d0;color:#93a493;font-size:10px}.token-split b{display:block;color:#56734b;font:700 13px 'Space Grotesk';margin-top:4px}.token-subhead{display:flex;justify-content:space-between;color:#a7bca1;font:800 9px 'Space Grotesk';letter-spacing:1px;padding:17px 20px 8px}.token-subhead span{color:#778b79}.token-agents{padding:0 20px;max-height:260px;overflow:auto}.token-row{padding:9px 0}.token-row-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}.token-row-top span{font-weight:700}.token-row-top b{font:700 12px 'Space Grotesk'}.token-bar{height:6px;border-radius:4px;background:#e3e9d8;overflow:hidden}.token-bar span{display:block;height:100%;border-radius:4px;background:var(--lime)}.token-note{border-top:1px solid #dce3d0;padding:13px 20px;margin:10px 0 0;color:#819482;font-size:9px;line-height:1.5}.results-card{min-height:220px}.result-list{padding:14px 18px}.result-item{padding:10px 0;border-bottom:1px solid #d7dfcc}.result-item:last-child{border:0}.result-item strong{font-size:11px}.result-item p{color:#7e9270;line-height:1.45;font-size:10px;margin:5px 0}.result-item small{color:#718c72;font-size:9px}.empty-state{padding:18px;color:#8da28c;font-size:11px;line-height:1.5}
@media(max-width:800px){.viewer .main{padding:12px}.viewer .scene-wrap{min-height:calc(100vh - 90px)}.viewer #canvas-host{height:calc(100vh - 90px);min-height:530px}.viewer .scene-top{padding:18px}.dashboard-title{align-items:start;flex-direction:column}.dashboard-grid{grid-template-columns:1fr}.tasks-card{grid-row:auto}.token-split{flex-wrap:wrap}.dashboard-title h2{font-size:23px}.viewer .topbar .brand small{display:none}}
.modal textarea{width:100%;border:1px solid #ccd9bd;border-radius:7px;background:#f1f4e8;color:#46633e;padding:12px;outline:none;resize:vertical;min-height:105px}.modal textarea:focus{border-color:var(--lime)}.status-pill.queued{background:#ececd8;color:#8b8b59}
@media(max-width:800px){.viewer .scene-wrap{min-height:max(560px,calc(100dvh - 89px))}.viewer #canvas-host{height:max(560px,calc(100dvh - 89px));min-height:560px}}
/* Living Office: ivory, sage, teak, coral. */
html,body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.brand strong,.brand-mark,.eyebrow,.heading h1,.metrics strong,.panel-head h2,.dashboard-title h2,.dash-head h3,.token-total strong{font-family:inherit}.topbar{height:78px}.app{grid-template-columns:180px minmax(0,1fr);grid-template-rows:78px minmax(calc(100vh - 78px),auto)}.main{padding:28px;max-width:1900px}.primary{background:#285f54;border-color:#285f54;color:#fff9e8}.primary:hover{background:#397b69}.outline{color:#416951}.subtle{color:#6a8271}.brand-mark{background:#295c53;color:#fff6dd;border-radius:10px}.brand-mark span{color:#d3a166}.brand strong{letter-spacing:-1px;font-weight:850}.nav.active,.nav:hover{background:#e4ead9;color:#497451}.status-pill{color:#849375}.team-row{color:#476846}.team-foot strong{color:#6d864f}.team-foot p{color:#84966f}.modal p{color:#7b8e6d}.modal{max-height:90dvh;overflow:auto}.modal-backdrop{background:#274d3c66;backdrop-filter:blur(5px)}.modal textarea{background:#f1f4e8;color:#46633e;border-color:#ccd9bd}.work-area{grid-template-columns:minmax(0,1fr) 245px}.scene-wrap{position:relative;min-height:0;background:#e9e9da;border:1px solid #d5dfcd;border-radius:16px;isolation:isolate}.viewer #canvas-host,#canvas-host{position:relative;height:655px;min-height:0;overflow:hidden;width:100%;touch-action:none}.viewer .scene-wrap{min-height:0}.viewer #canvas-host{height:calc(100dvh - 113px);min-height:540px}.viewer .main{padding:15px 18px 18px}.scene-top,.viewer .scene-top{z-index:2;padding:25px 28px;align-items:flex-start;background:linear-gradient(#f9f7edaa,transparent)}.scene-title .scene-kicker{font-size:8px;letter-spacing:2px;font-weight:750;color:#64836b}.scene-title strong,.viewer .scene-title strong{display:block;font-size:29px;line-height:1.18;letter-spacing:-.9px;margin-top:9px;color:#31594c;font-family:inherit}.scene-title>#scene-subtitle{font-size:9px;color:#7a917b;margin-top:9px}.world-tools{display:flex;gap:6px;pointer-events:auto}.world-tools button{font-size:9px;font-weight:650;padding:8px 10px;background:#fffcf1e6;border:1px solid #d9e0cb;border-radius:7px;color:#527258}.world-caption{position:absolute;left:28px;bottom:129px;display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:1.4px;font-weight:650;color:#65846b;pointer-events:none}.world-bubbles{position:absolute;inset:0;pointer-events:none;overflow:hidden}.activity-bubble{position:absolute;left:0;top:0;pointer-events:auto;white-space:nowrap;border:1px solid #faf9e9;border-radius:13px;background:#fffcefef;color:#355f50;font-size:12px;font-weight:700;padding:7px 12px 6px;box-shadow:0 3px 14px #3a51311a;transform-origin:50% 100%;text-align:left;line-height:1.25}.bubble-name{display:block;font-weight:800;color:#25463b;letter-spacing:.1px}.bubble-activity{display:block;font-weight:600;font-size:11px;color:#5d7d6f;margin-top:1px}.activity-bubble:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#75a889;margin-right:7px;vertical-align:1px}.activity-bubble:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 5px);border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #fffcef}.activity-bubble[hidden]{display:none}.camera-dock{position:absolute;bottom:39px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;padding:9px 12px;background:#fffcf1ed;backdrop-filter:blur(15px);border:1px solid #e4e5d5;box-shadow:0 8px 24px #354d3216;border-radius:15px;max-width:calc(100% - 28px);z-index:3}.camera-modes{display:flex;gap:3px}.camera-modes button{border:0;border-radius:9px;background:none;color:#7d917c;padding:8px 10px;font-size:9px;font-weight:700;white-space:nowrap}.camera-modes button span{display:block;font-size:17px;line-height:20px;margin-bottom:3px}.camera-modes button.active{background:#315f51;color:#fff9e4}.camera-modes button:hover:not(.active){background:#e6eedc}.camera-agent-picker{border-left:1px solid #dbe3cf;padding-left:12px;min-width:83px}.camera-agent-picker label{display:block;font-size:7px;letter-spacing:1.5px;color:#94a180;font-weight:750;margin-bottom:5px}.camera-agent-picker select{border:0;background:none;color:#527346;font-size:11px;max-width:110px}.zoom-controls{display:flex;border-left:1px solid #dbe3cf;padding-left:8px}.zoom-controls button{background:none;border:0;color:#67835d;width:25px;height:30px;font-size:17px}.scene-hint,.viewer .scene-hint{left:20px;right:20px;bottom:13px;font-size:8px;color:#839574;text-align:center}.scene-hint>span:first-child{flex:1;color:#839574}.focus-card{display:none;position:absolute;right:24px;top:101px;z-index:3;align-items:center;gap:12px;background:#fffdf0ed;border:1px solid #dce5cf;padding:12px 14px;border-radius:11px;backdrop-filter:blur(10px)}.focus-card.visible{display:flex}.focus-card>span{font-size:7px;letter-spacing:1.4px;color:#8c9e7d}.focus-card strong{display:block;font-size:16px;letter-spacing:0;color:#497147;margin-top:5px}.focus-card button{font-size:9px;font-weight:650;background:#e5edda;border:0;border-radius:6px;color:#5c7d4d;padding:8px}.is-pov .scene-title strong,.is-pov #scene-subtitle{display:none}.immersive .scene-wrap{position:fixed;inset:10px;z-index:15}.immersive #canvas-host{height:calc(100dvh - 22px)!important}.live-dot,.server-light{background:#5a9a71;box-shadow:0 0 0 4px #73a56a15}.token-total strong{color:#517d50}.token-row-top{color:#657f56}.token-note{color:#829771}.token-bar span{filter:saturate(.6) brightness(.9)}.task-item h4,.result-item strong{color:#57754c}.task-item small,.task-meta,.result-item p{color:#839771}.task-filters button{color:#81946e}.task-filters button.selected{color:#5e8148}.profile-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.profile-page-heading h1{font-size:40px;letter-spacing:-1.7px;margin:9px 0}.profile-page-heading em{font-style:normal;color:#638b71}.profile-page-heading p{font-size:12px;color:#8a987f;margin:0}.profiles-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.profile-directory-panel{position:sticky;top:20px;background:#fcfaf1;border:1px solid #dbe2cf;border-radius:14px;overflow:hidden}.directory-heading{display:flex;justify-content:space-between;align-items:center;padding:17px;border-bottom:1px solid #dbe2cf;font-size:12px}.small-add{width:29px;height:29px;border:1px solid #d7e2c6;background:#e7edda;border-radius:7px;color:#729255;font-size:18px}.profile-person{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;background:none;border:0;border-bottom:1px solid #e0e7d3;text-align:left;color:#587a51}.profile-person.active{background:#e5edd8}.profile-person img{height:62px;width:48px;object-fit:contain;border-radius:11px;background:#e9eedf}.profile-person>span{min-width:0;flex:1}.profile-person strong,.profile-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-person strong{font-size:12px}.profile-person small{font-size:9px;color:#8f9f7e;margin-top:5px}.person-dot{width:6px;height:6px;border-radius:50%;background:#b0bda0}.person-dot.working{background:#84a867}.person-dot.review{background:#cda268}.profile-hero{display:grid;grid-template-columns:220px minmax(0,1fr);gap:27px;padding:25px;background:#fafbf1;border:1px solid #dbe2cf;border-radius:18px;overflow:hidden}.profile-portrait{position:relative;display:flex;align-items:center;justify-content:center;min-height:265px;background:linear-gradient(140deg,#e8ecd7,#c8dbc4);border-radius:95px 95px 20px 20px;overflow:hidden}.profile-portrait:before{content:'';position:absolute;width:200px;height:200px;border:1px solid #fdfce7aa;border-radius:50%;top:18px}.profile-portrait img{position:relative;height:265px;width:100%;object-fit:contain}.profile-portrait>span{position:absolute;bottom:13px;font-size:7px;font-weight:750;letter-spacing:3px;color:#7b9670}.profile-intro{padding:9px 0}.profile-kicker{display:flex;justify-content:space-between;align-items:center}.profile-intro h2{font-size:49px;letter-spacing:-2.5px;font-weight:700;margin:15px 0 4px}.profile-intro h2>span{color:#c99b6e}.profile-role{font-size:14px;font-weight:550;color:#739077;margin:0 0 13px}.profile-bio{font-size:12px;line-height:1.7;color:#77896e;min-height:35px}.profile-tags{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.profile-tags>span{padding:6px 8px;border:1px solid #dfe7d1;border-radius:5px;font-size:8px;letter-spacing:.6px;color:#899c76;font-weight:650}.profile-actions{display:flex;gap:7px;flex-wrap:wrap}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.profile-stats article{padding:18px;background:#fffdf4;border:1px solid #dbe2cf;border-radius:11px}.profile-stats span{font-size:8px;letter-spacing:1px;color:#879b76;font-weight:750}.profile-stats strong{display:block;font-size:25px;font-weight:650;color:#688657;margin-top:7px}.profile-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start}.profile-card{padding:20px;background:#fffdf5;border:1px solid #dbe2cf;border-radius:13px;margin-bottom:16px}.section-label{display:flex;justify-content:space-between;font-size:8px;font-weight:750;letter-spacing:1.4px;color:#80946d;margin-bottom:18px;gap:8px}.profile-data{margin:0}.profile-data>div{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #e9eedd;font-size:11px;line-height:1.5}.profile-data dt{color:#809274}.profile-data dd{margin:0;max-width:62%;text-align:right;overflow-wrap:anywhere;color:#58764e}.profile-skills h4{font-size:10px;font-weight:650;margin:19px 0 10px}.profile-skills>span{display:inline-block;padding:6px 8px;background:#edf3e1;border-radius:5px;color:#7a9068;font-size:10px;margin:0 5px 6px 0}.profile-token-number{font-size:30px;font-weight:650;letter-spacing:-1px;color:#648451}.profile-token-number small{font-size:9px;font-weight:400;letter-spacing:0;color:#99a987}.profile-token-bar{height:10px;border-radius:8px;background:#d6a18b;margin:17px 0 12px;overflow:hidden}.profile-token-bar>span{display:block;height:100%;background:#8cac83}.profile-token-legend{display:flex;gap:23px;font-size:10px;color:#819775}.profile-token-legend b{margin-left:5px;color:#628352}.profile-footnote{font-size:10px;color:#839775;line-height:1.6;margin:15px 0 0}.activity-card{background:#eef4e4}.activity-card h3{font-size:17px;color:#6e8a58;font-weight:600;margin:0 0 9px}.activity-card p{font-size:11px;color:#8c9f77;line-height:1.6;margin:0}.profile-task-list{max-height:450px;overflow:auto}.profile-task-list article{padding:12px 0;border-bottom:1px solid #e7eeda}.profile-task-list article:last-child{border:0;padding-bottom:0}.profile-task-list article:first-child{padding-top:0}.profile-task-list article>div{display:flex;justify-content:space-between;align-items:start;gap:12px}.profile-task-list strong{font-size:11px;color:#668253}.profile-task-list p{font-size:10px;color:#859a71;line-height:1.5;margin:6px 0}.profile-task-list small{font-size:9px;color:#9aad86}.profile-result{padding:12px 0;border-bottom:1px solid #e7eeda}.profile-result summary{font-size:11px;color:#6c8759;cursor:pointer}.profile-result p{font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#f2f6e8;padding:13px;border-radius:7px;color:#7d946b}.muted{color:#8c9e79;font-size:11px;line-height:1.6}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8bb99c;outline-offset:3px}button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1200px){.app{grid-template-columns:68px minmax(0,1fr)}.sidebar{padding:25px 10px}.sidebar-title,.activity-list,.sidebar-bottom,.nav b{display:none}.nav{justify-content:center;font-size:0;padding:0}.nav span{width:auto}.main{padding:24px 20px}.work-area{grid-template-columns:minmax(0,1fr) 210px}.camera-dock{gap:6px;padding:8px}.camera-modes button{padding:7px 8px}.zoom-controls{display:none}.profiles-layout{grid-template-columns:190px minmax(0,1fr);gap:18px}.profile-hero{grid-template-columns:170px minmax(0,1fr);padding:20px;gap:20px}.profile-intro h2{font-size:42px}.profile-portrait,.profile-portrait img{min-height:245px;height:245px}.profile-actions button{font-size:10px;padding:9px}}
@media(max-width:950px){.work-area{display:block}.team-panel{margin-top:15px;min-height:0}.team-list{display:flex;max-height:none;overflow:auto}.team-row{min-width:200px;flex:1;width:auto;border-right:1px solid #e1e7d5}.panel-head{padding:14px 18px}.team-foot{display:none}.profiles-layout{grid-template-columns:1fr}.profile-directory-panel{position:static}.directory-heading{padding:12px 16px}#profile-directory{display:flex;overflow:auto}.profile-person{min-width:175px;border-bottom:0;border-right:1px solid #e1e7d5}.profile-person img{height:48px;width:36px}.profile-hero{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:600px){.app{display:block}.topbar{height:68px;padding:0 15px}.brand{gap:9px}.brand-mark{width:29px;height:32px;font-size:23px}.brand strong{font-size:17px}.brand small{font-size:5px;letter-spacing:1.8px}.top-center,.sidebar{display:none}.top-actions{gap:4px}.top-actions .primary,.top-actions .subtle{display:block;padding:8px 9px;font-size:10px}.main{padding:20px 12px}.heading{align-items:start;flex-direction:column;gap:14px;margin-bottom:18px}.heading h1{font-size:32px}.heading-actions{width:100%}.heading-actions button{flex:1}.metrics{grid-template-columns:repeat(2,1fr);gap:8px}.metrics article{padding:12px 14px;min-height:0}.metrics strong{font-size:25px}.scene-top,.viewer .scene-top{padding:18px 16px}.scene-title strong,.viewer .scene-title strong{font-size:21px;margin-top:7px}.scene-title .scene-kicker{font-size:7px;letter-spacing:1.5px}.world-tools{flex-direction:column;align-items:end;gap:4px}.world-tools button{font-size:8px;padding:6px 8px}#canvas-host{height:600px}.viewer #canvas-host{height:calc(100dvh - 88px);min-height:540px}.viewer .main{padding:9px}.camera-dock{width:calc(100% - 22px);max-width:none;flex-wrap:wrap;justify-content:space-between;gap:7px;padding:8px;border-radius:12px}.camera-modes{width:100%;justify-content:space-between;gap:2px}.camera-modes button{flex:1;padding:6px 4px;font-size:8px}.camera-modes button span{font-size:16px;margin-bottom:1px}.camera-agent-picker{display:flex;align-items:center;gap:10px;border:0;padding-left:5px}.camera-agent-picker label{margin:0}.camera-agent-picker select{font-size:10px}.zoom-controls{display:flex;border:0;padding:0}.zoom-controls button{height:21px;width:28px;font-size:16px}.scene-hint,.viewer .scene-hint{font-size:7px;bottom:13px;left:13px;right:13px;line-height:1.4}.scene-hint>span{max-width:none}.world-caption{left:18px;bottom:167px;font-size:7px;letter-spacing:1px}.focus-card{top:106px;right:15px;padding:9px;gap:8px}.focus-card strong{font-size:13px}.focus-card button{font-size:8px;padding:7px}.dashboard-title{align-items:start;flex-direction:column;gap:14px}.dashboard-title h2{font-size:24px}.dashboard-grid{grid-template-columns:1fr}.tasks-card{grid-row:auto}.immersive .scene-wrap{inset:0;border-radius:0}.immersive #canvas-host{height:100dvh!important}.profile-page-heading{flex-direction:column;align-items:start;gap:15px}.profile-page-heading h1{font-size:31px}.profile-page-heading p{font-size:11px}.profile-hero{grid-template-columns:100px minmax(0,1fr);gap:15px;padding:17px}.profile-portrait{min-height:180px;height:180px;align-self:start;border-radius:50px 50px 14px 14px}.profile-portrait img{height:180px;min-height:0;width:145px;max-width:none}.profile-portrait:before{width:145px;height:145px}.profile-portrait>span{font-size:5px;letter-spacing:1.5px}.profile-intro{padding:4px 0}.profile-kicker{flex-wrap:wrap;gap:5px}.profile-kicker .eyebrow{font-size:6px;letter-spacing:1.3px}.profile-intro h2{font-size:32px;letter-spacing:-1.5px;margin:12px 0 4px}.profile-role{font-size:11px;margin-bottom:9px}.profile-bio{font-size:9px;line-height:1.6}.profile-tags{gap:4px;margin:11px 0}.profile-tags>span{font-size:6px;padding:5px}.profile-actions{gap:5px}.profile-actions button{font-size:8px;padding:8px}.profile-stats{grid-template-columns:repeat(2,1fr);gap:8px}.profile-stats article{padding:14px}.profile-stats span{font-size:7px}.profile-stats strong{font-size:24px}.profile-columns{grid-template-columns:1fr;gap:0}.profile-card{padding:18px}.profile-person{min-width:165px}.profile-person strong{font-size:11px}.profile-person small{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.progress-track.indeterminate span{animation:none}}

.command #logout-btn{display:inline-block}

/* --- Panel kamera: bisa diminimalkan agar tidak menghalangi --- */
.camera-dock.collapsed .camera-modes,
.camera-dock.collapsed .camera-agent-picker,
.camera-dock.collapsed .zoom-controls{display:none}
.camera-dock.collapsed{padding:6px}
.camera-dock-toggle{display:none;align-items:center;gap:7px;border:1px solid #3e685e55;background:#fffcefee;color:#355f50;
  border-radius:999px;padding:7px 14px;font:700 12px/1 inherit;cursor:pointer;box-shadow:0 3px 12px #3a51311a}
.camera-dock.collapsed .camera-dock-toggle{display:inline-flex}
.camera-dock-toggle:hover{background:#fff}
.camera-dock-toggle .caret{transition:transform .18s}
.camera-dock.collapsed .camera-dock-toggle .caret{transform:rotate(-90deg)}
@media(max-width:800px){.camera-dock.collapsed{padding:4px}}

/* Pesan fallback saat adegan 3D gagal dimuat. */
.world-fallback{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;
  height:100%;min-height:280px;padding:2rem;text-align:center;color:#3c4238;background:#eef1ea;
}
.world-fallback strong{font-size:1.05rem;letter-spacing:.01em}
.world-fallback p{margin:0;max-width:46ch;font-size:.86rem;line-height:1.55;opacity:.82}
.world-fallback .world-fallback-hint{opacity:.62;font-size:.8rem}
