/* A furnished floor plan. Desks remain stable controls backed by live tasks. */
body.agent-team main{max-width:1800px}
.office{--of-muted:var(--v-muted,#b4bdcc);--of-text:var(--v-ink,#edf2fa);--of-accent:var(--v-accent,#a8c7fa);--of-line:var(--v-line,#34404e);color:var(--of-text)}
.office-tabs,.office-connections{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
html[data-theme] body.agent-team .office-tabs button{border:1px solid var(--v-line,#34404e);background:var(--v-surface,#20242b);color:var(--v-ink,#edf2fa);border-radius:24px}
html[data-theme] body.agent-team .office-tabs button[aria-pressed=true]{background:var(--v-soft,#24476b);color:var(--v-accent,#a8c7fa)}
.office-connections{gap:8px 24px}.office-connections a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
.office-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}
.office-heading h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em;line-height:1.15;margin:8px 0 12px}.office-heading p{margin:0;color:var(--of-muted)}
.office-eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:var(--of-accent)}
.office-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.office-stat{display:flex;align-items:center;gap:12px;padding:14px 20px;border:1px solid var(--of-line);border-radius:16px;background:var(--v-surface,#20242b)}.office-stat strong{font-size:26px}.office-stat span{font-size:12px;color:var(--of-muted)}
.office-status{font-size:12px;color:var(--of-muted);margin:16px 0}.office-status[data-stale=true]{color:#da9b68}
.office-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.office-floor{position:relative;isolation:isolate;border:10px solid #637780;border-radius:18px;overflow:hidden;color:#253e4d;background:repeating-linear-gradient(90deg,transparent 0 56px,#9e896526 57px 58px),repeating-linear-gradient(0deg,#d8c9ac 0 23px,#c7b89d 24px 25px);box-shadow:0 16px 45px #0003,inset 0 0 0 2px #ffffff70}
.office-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:18px 24px;background:#eaf0ed;border-bottom:1px solid #a2b3b2}.office-entry>span:first-child{font-size:19px;font-weight:850;letter-spacing:.14em}.office-entry small{font-size:12px}.office-legend{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px}.office-legend i{width:8px;height:8px;border-radius:50%;background:#20826c}.office-legend i:nth-of-type(2){background:#839299}
/* Reception, lounge and a glazed window establish the shared hallway. */
.office-lobby{position:relative;height:122px;margin:0 20px;border-bottom:2px solid #b09c7f}
.office-reception{position:absolute;left:25px;top:27px;width:180px;height:58px;transform:skewY(-4deg);border:5px solid #e7e5d9;border-bottom:12px solid #8d9c9d;border-radius:10px;background:#f6f3e8;box-shadow:0 8px 0 #0002;display:grid;place-items:center;font-size:14px;font-weight:850;letter-spacing:.18em;color:#486875}.office-reception i{position:absolute;top:-12px;left:25px;width:28px;height:20px;border:3px solid #344c58;background:#8ebac5;border-radius:3px}
.office-sofa{position:absolute;right:90px;top:25px;width:140px;height:49px;background:repeating-linear-gradient(90deg,#70958b 0 43px,#4e776d 44px 47px);border:9px solid #507c72;border-top-width:15px;border-radius:12px;box-shadow:0 6px 0 #0002}.office-coffee{position:absolute;right:126px;top:86px;width:65px;height:22px;border-radius:50%;border:4px solid #b7956f;background:#e8d7b9;box-shadow:0 3px 0 #866e53}
.office-plant{position:absolute;right:18px;bottom:18px;width:26px;height:26px;border:5px solid #c2a17e;border-radius:50%;background:#337562;box-shadow:0 3px 2px #0002}.office-plant:before,.office-plant:after{content:'';position:absolute;inset:-8px 3px;background:#4c9b72;border-radius:90% 0;transform:rotate(35deg)}.office-plant:after{transform:rotate(125deg);background:#367e58}
.office-window{position:absolute;left:26%;right:26%;top:-4px;height:9px;border:2px solid #7297a6;background:repeating-linear-gradient(90deg,#b9e1e4 0 36px,#6f939e 37px 40px)}
.office-rooms{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;padding:28px;background:none}
.office-room{position:relative;min-width:0;padding:14px 10px 28px;border:7px solid #8ea7ac;border-bottom-color:#6e8c94;border-radius:7px;background:repeating-linear-gradient(0deg,transparent 0 5px,#ffffff0a 5px 6px),#dce8e7;box-shadow:5px 7px 0 #6a725c30,inset 0 0 0 2px #fff8}
.office-room:after{content:'';position:absolute;bottom:-7px;left:22px;width:48px;height:7px;background:#d8c9ac}.office-room[data-room=review]{background-color:#e7e0ed}.office-room[data-room=plan]{background-color:#dce5ee}.office-room[data-room=workers]{background-color:#e4e7d8}
.office-room-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 6px 12px;min-height:36px}.office-room-heading h3{font-size:13px;margin:0;letter-spacing:.01em}.office-room-count{font-size:11px;background:#fff9;padding:2px 8px;border-radius:12px;color:#3e5c6c}.office-fixtures .office-plant{width:20px;height:20px;right:12px;bottom:10px}.office-fixtures{pointer-events:none}
.office-desks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 5px}.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Workstations are furniture, not cards. Each full workstation is one button. */
html[data-theme] body.agent-team .office-desk{display:flex;flex-direction:column;align-items:center;min-width:0;min-height:146px;padding:5px 3px;border:2px solid transparent;border-radius:12px;background:transparent;color:#263e4c;text-align:center;transition:background .15s,border-color .15s}
html[data-theme] body.agent-team .office-desk:hover{background:#ffffff60;border-color:#8cabb7}html[data-theme] body.agent-team .office-desk[aria-pressed=true]{background:#d3e8fa;border-color:#3b7ba7}
.office-desk-scene{position:relative;display:block;width:108px;height:100px;flex:none}.office-table{position:absolute;left:5px;right:5px;top:9px;height:49px;border:2px solid #bda780;border-bottom:7px solid #b7a27f;border-radius:7px;background:#f6ecd3;box-shadow:0 5px 0 #82939340}.office-monitor{position:absolute;width:42px;height:26px;left:33px;top:12px;border:3px solid #3e5261;border-radius:4px;background:#7c9eab;box-shadow:0 3px 0 #263e4d}.office-monitor:before{content:'';position:absolute;width:21px;height:2px;top:5px;left:6px;background:#c9e5e8;box-shadow:0 5px 0 #a7cbd4,0 10px 0 #c9e5e8}.office-keyboard{position:absolute;left:37px;top:45px;width:31px;height:8px;border-radius:2px;background:repeating-linear-gradient(90deg,#a6a6a0 0 3px,#d2d4cf 3px 4px)}.office-mug{position:absolute;left:14px;top:26px;width:10px;height:10px;border:2px solid #a89985;border-radius:50%;background:#665342}.office-chair{position:absolute;left:34px;top:59px;width:41px;height:36px;border:5px solid #334b59;border-bottom:9px solid #263c49;border-radius:11px;background:#657d89;box-shadow:0 4px 0 #0002}.office-avatar{position:absolute;left:36px;top:48px;width:36px;height:36px}.office-person-body{position:absolute;left:1px;top:17px;width:34px;height:23px;border-radius:13px 13px 8px 8px;background:var(--person-color,#667eea);box-shadow:0 3px 2px #0002}.office-person-head{position:absolute;z-index:1;left:8px;top:2px;width:21px;height:23px;background:#e4b992;border:5px solid #4b4742;border-bottom:2px solid #bd8e68;border-radius:50%;box-shadow:0 2px 2px #0002}.office-desk-title{font-size:11px;line-height:1.35;max-width:100%;overflow-wrap:anywhere}.office-desk-state{font-size:10px;margin-top:4px;line-height:1.3;color:#526b76}.office-desk-state:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#839299;margin-right:4px}.office-desk[data-state=running] .office-monitor{background:#204e5e;border-color:#2b7d86}.office-desk[data-state=running] .office-desk-state{color:#21664c}.office-desk[data-state=running] .office-desk-state:before{background:#20826c}.office-desk[data-state=failed] .office-desk-state{color:#8b4c21}.office-desk[data-state=failed] .office-monitor{border-color:#ad7046}
.office-desk[data-state=running] .office-monitor:before{animation:office-screen 2s ease-in-out infinite alternate}@keyframes office-screen{to{opacity:.45;transform:translateX(2px)}}
.office-footnote{font-size:11px;line-height:1.5;margin:0;padding:0 24px 18px;color:#415a64}
.office-inspector{position:sticky;top:18px;min-width:0;background:var(--v-surface,#20242b);border:1px solid var(--of-line);padding:22px;border-radius:18px}.office-inspector h3{font-size:21px;line-height:1.3;margin:12px 0}.office-inspector h4{font-size:13px;margin:20px 0 8px}.office-muted,.office-empty{color:var(--of-muted);font-size:13px}.office-badge{display:inline-block;font-size:12px;border-radius:16px;background:var(--v-soft,#24476b);color:var(--of-accent);padding:4px 10px}.office-objective{font-size:14px}.office-events{padding-left:18px;color:var(--of-muted);font-size:13px}.office-events li{margin:10px 0}.office-link{display:block;min-height:44px;padding:10px 0;color:var(--of-accent)}.office-activity{margin-top:24px;padding-top:18px;border-top:1px solid var(--of-line)}.office-activity h3{font-size:14px}.office-activity ol{padding:0;list-style:none}.office-activity li{padding:12px 0;border-bottom:1px solid var(--of-line)}.office-activity strong,.office-activity span,.office-activity .office-link,.office-activity p{display:block;font-size:12px}.office-activity p{color:var(--of-muted)}.office-activity strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.office-return{display:none}.office :focus-visible{outline:3px solid #4285bd;outline-offset:3px}
body.agent-team[data-agent-view=office] main>h1,body.agent-team[data-agent-view=office] main>p.muted{display:none}
@media(min-width:1700px){.office-desks{grid-template-columns:repeat(4,minmax(0,1fr))}.office-room[data-room=review] .office-desks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.office-layout{grid-template-columns:minmax(0,1fr) 260px}.office-rooms{grid-template-columns:1fr}.office-desks,.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.office-layout{grid-template-columns:minmax(0,1fr)}.office-inspector{position:static;display:grid;grid-template-columns:1fr 1fr;gap:20px}.office-return{display:inline-block;grid-column:1/-1;justify-self:start;background:var(--v-soft,#24476b);color:var(--of-accent)}.office-activity{margin:0;padding:0;border:0}.office-rooms{grid-template-columns:1.5fr 1fr}.office-desks{grid-template-columns:repeat(3,minmax(0,1fr))}.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.agent-team main{padding:12px}.office-heading{align-items:flex-start;flex-direction:column}.office-stats{grid-template-columns:1fr 1fr;gap:8px}.office-stat{padding:12px;gap:8px}.office-stat strong{font-size:22px}.office-layout{gap:12px}.office-floor{border-width:6px}.office-entry{padding:14px}.office-legend{margin-left:0;width:100%}.office-rooms{grid-template-columns:1fr;gap:22px;padding:18px 12px}.office-room{padding:12px 6px 22px}.office-desks,.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 4px}.office-desk-title{font-size:12px}.office-desk-state{font-size:11px}.office-lobby{margin:0 12px;height:112px}.office-reception{left:6px;width:120px;font-size:11px}.office-sofa{right:4px;width:95px}.office-coffee{right:19px;top:84px}.office-lobby>.office-plant{display:none}.office-inspector{display:block;padding:18px}.office-activity{margin-top:24px;padding-top:18px;border-top:1px solid var(--of-line)}.office-return{margin-bottom:12px}.office-footnote{padding:0 14px 16px}}
@media(prefers-reduced-motion:reduce){.office-desk,.office-monitor:before{animation:none!important;transition:none!important}}html[data-shadow-motion=reduce] .office-monitor:before,html[data-motion=reduce] .office-monitor:before,html[data-home-motion-paused=true] .office-monitor:before{animation:none}
/* Contemporary architectural scene: dark materials, angled furniture, soft LEDs. */
html[data-theme] body.agent-team .office-floor{color:#cbd7e7;border:1px solid #3a4c62;border-radius:24px;background:radial-gradient(ellipse at 12% 0,#43608035,transparent 50%),linear-gradient(135deg,#1b2939,#111b29);box-shadow:0 24px 60px #0003;overflow:hidden}
.office-entry{background:#172332;border-bottom:1px solid #334356;padding:20px 28px}.office-entry>span:first-child{font-size:15px;letter-spacing:.22em;color:#e0e8f4}.office-entry small{color:#8d9eb4}.office-legend{color:#9fb1c5}.office-legend i{box-shadow:0 0 10px #51bd9b55;background:#70d5b0}
.office-lobby{height:116px;border-bottom:1px solid #ffffff0b;margin:0 28px;background:linear-gradient(135deg,transparent 50%,#ffffff02 50%)}
.office-reception{top:28px;left:12px;width:200px;height:50px;transform:skewY(-9deg);background:linear-gradient(145deg,#394e65,#22364b);border:1px solid #668099;border-bottom:8px solid #182b3e;box-shadow:0 10px 18px #0003;color:#d4dfec;border-radius:5px;font-size:12px;letter-spacing:.3em}.office-reception i{background:#86b9d1;border:3px solid #1b2d41;top:-15px;left:28px;transform:skewY(9deg)}
.office-sofa{width:160px;height:43px;right:90px;top:32px;border:7px solid #36534f;border-top-width:13px;border-radius:9px;background:repeating-linear-gradient(90deg,#52756d 0 44px,#3c5a56 45px 48px);transform:skewY(6deg);box-shadow:0 10px 12px #0003}.office-coffee{right:130px;top:90px;background:#637783;border:2px solid #a0b4be;box-shadow:0 6px 0 #142735;transform:skewY(6deg)}.office-window{background:repeating-linear-gradient(90deg,#53738c 0 36px,#243d56 37px 40px);border-color:#415f78;height:5px}.office-lobby>.office-window{height:7px;left:28%;right:8%;background:linear-gradient(90deg,#4c84a660,#a8caeaaa,#4c84a660);box-shadow:0 8px 25px #7cafd52b}
.office-plant{border-color:#51606b;background:#426e62;box-shadow:0 4px 7px #0003}.office-plant:before{background:#65947e}.office-plant:after{background:#416f5f}
html[data-theme] body.agent-team .office-rooms{gap:22px;padding:26px;background:none;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.office-room,.office-room[data-room=review],.office-room[data-room=plan],.office-room[data-room=workers]{border:1px solid #52667b;border-top:3px solid #8aa4bd;border-right:3px solid #384e64;border-bottom:8px solid #24384e;border-radius:12px;background:linear-gradient(140deg,#293b4c99,#1b2b3e99);padding:16px 10px 25px;box-shadow:8px 10px 0 #070f1926,inset 0 1px 0 #d8e9f033;position:relative}
.office-room[data-room=review]{background:linear-gradient(140deg,#3c354b80,#26273e80)}.office-room[data-room=plan]{background:linear-gradient(140deg,#293f5680,#1d304480)}.office-room[data-room=workers]{background:linear-gradient(140deg,#34464080,#25372f80)}
.office-room:after{height:8px;bottom:-8px;left:26px;background:#172536;width:45px}.office-room-heading{padding:0 4px 10px;margin-bottom:8px;border-bottom:1px solid #ffffff0b}.office-room-heading h3{font-size:12px;letter-spacing:.03em;color:#c8d6e5;font-weight:550}.office-room-count{background:#ffffff0b;color:#94a9bf;font-size:10px}.office-fixtures .office-window{top:-4px}
html[data-theme] body.agent-team .office-desk{min-height:164px;padding:0 2px 8px;border-radius:12px;color:#cbd7e7;gap:0;background:transparent;border:1px solid transparent}html[data-theme] body.agent-team .office-desk:hover{border-color:#7898b74d;background:#a8c7fa0c}html[data-theme] body.agent-team .office-desk[aria-pressed=true]{border-color:#9abcdf99;background:#a8c7fa14;box-shadow:inset 0 0 25px #87afe90c}
.office-desk-scene{width:100%;height:125px;max-width:165px;margin-bottom:2px}.office-desk-scene svg{width:100%;height:100%;overflow:visible}.office-desk-scene .office-monitor,.office-desk-scene .office-avatar,.office-desk-scene .office-person-head,.office-desk-scene .office-person-body,.office-desk-scene .office-chair{position:static;width:auto;height:auto;border:0;border-radius:0;background:none;box-shadow:none}.office-desk-title{font-size:11px;font-weight:550;letter-spacing:.01em;color:#d0ddeb}.office-desk-state{font-size:10px;color:#a5b6c8}.office-desk-state:before{background:#72869b;width:4px;height:4px}.office-desk[data-state=running] .office-monitor{fill:#467e8c;animation:office-screen 2s ease-in-out infinite alternate}.office-desk[data-state=running] .office-monitor:before{animation:none}.office-desk[data-state=running] .office-desk-state{color:#86d7b6}.office-desk[data-state=failed] .office-desk-state{color:#e0ac8b}.office-footnote{color:#8d9eb4;font-size:11px;padding-top:6px}
@keyframes office-screen{to{opacity:.65}}
.office-inspector{border-radius:20px;background:linear-gradient(140deg,var(--v-surface,#20242b),var(--v-bg,#141820));border-color:var(--of-line);padding:24px}.office-stats{gap:10px}.office-stat{background:var(--v-surface,#20242b);border-color:var(--of-line);padding:12px 18px}.office-stat strong{font-size:24px;font-weight:550}.office-heading h2{font-weight:550}.office-connections a{color:var(--of-muted);text-decoration:none}.office-connections a:hover{color:var(--of-accent)}
html[data-theme=light] body.agent-team .office-desk[data-state=running] .office-desk-state{color:#86d7b6}html[data-theme=light] body.agent-team .office-desk[data-state=failed] .office-desk-state{color:#e0ac8b}
@media(max-width:1150px){html[data-theme] body.agent-team .office-rooms{grid-template-columns:1fr}.office-desks,.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px) and (min-width:651px){html[data-theme] body.agent-team .office-rooms{grid-template-columns:1.5fr 1fr}.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){html[data-theme] body.agent-team .office-rooms{padding:18px 12px;gap:20px;grid-template-columns:1fr}.office-desks,.office-room[data-room=review] .office-desks,.office-room[data-room=workers] .office-desks{grid-template-columns:repeat(2,minmax(0,1fr))}.office-entry{padding:18px}.office-lobby{margin:0 16px;height:108px}.office-reception{width:120px;left:0;font-size:10px}.office-sofa{width:105px;right:2px}.office-coffee{right:24px;top:86px}.office-desk-title{font-size:12px}.office-desk-state{font-size:11px}}
@media(prefers-reduced-motion:reduce){.office-desk[data-state=running] .office-monitor{animation:none!important}}html[data-shadow-motion=reduce] .office-desk .office-monitor,html[data-motion=reduce] .office-desk .office-monitor{animation:none}
/* The default office is a single interactive 3D space; the list is an alternate. */
.office-world-shell{position:relative;min-width:0}.office-world-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px 20px;border-bottom:1px solid #364658;color:#d0dfed}.office-world-toolbar>span{font-size:11px;font-weight:700;letter-spacing:.16em}.office-world-toolbar>div{display:flex;flex-wrap:wrap;gap:6px}.office-world-toolbar button{font-size:12px;min-height:40px;padding:6px 12px;border:1px solid #43576c;background:#27394c;color:#c9d8e8;border-radius:10px}.office-world-toolbar button[aria-pressed=true]{background:#365d7b}.office-agent-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:0 20px;color:#a4b6c9;font-size:12px}.office-agent-select{max-width:250px;min-width:150px}html[data-theme] .office-agent-select{background:#223449!important;border:1px solid #43576c!important;color:#d6e3f2!important;font-size:13px;min-height:40px;padding:5px 10px}
.office-world-viewport{height:clamp(460px,57vw,810px);width:100%;position:relative;touch-action:none}.office-world-viewport canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.office-world-viewport canvas:active{cursor:grabbing}.office-world-help{padding:0 20px 18px;margin:0;color:#93a9bf;font-size:12px}.office-immersive:not(.office-list-view) .office-floor>.office-entry,.office-immersive:not(.office-list-view) .office-floor>.office-lobby,.office-immersive:not(.office-list-view) .office-floor>.office-rooms,.office-immersive:not(.office-list-view) .office-floor>.office-footnote{display:none}.office-list-view .office-world-viewport,.office-list-view .office-world-help{display:none}
@media(max-width:650px){.office-world-toolbar{padding:14px;gap:10px}.office-world-toolbar>div{width:100%}.office-world-toolbar button{min-height:44px;padding:6px 10px}.office-agent-label{padding:0 14px}.office-agent-select{max-width:100%}.office-world-viewport{height:440px}.office-world-help{padding:0 14px 16px;font-size:11px}}
/* Keep everyday actions visible; disclose camera tools and workspace shortcuts. */
body.agent-team[data-agent-view=office] .office-page-title,body.agent-team[data-agent-view=office] .office-page-description{display:none}
.office-heading{margin:20px 0 16px}.office-heading h2{font-size:clamp(25px,3vw,34px);margin:4px 0 8px}
.office-shortcuts{padding:0;border:0;background:transparent;margin:8px 0}.office-shortcuts>summary{cursor:pointer;width:fit-content;min-height:44px;display:list-item;align-content:center;color:var(--v-muted,#b4bdcc);font-size:14px}.office-shortcuts .office-connections{margin:0 0 12px}
.office-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.office-stat{padding:10px 16px}.office-stat strong{font-size:22px}
.office-world-toolbar{padding:12px 16px;gap:8px}.office-world-toolbar .office-view-actions{align-items:center}
.office-view-settings{position:relative;margin:0;padding:0;border:0;background:transparent;font-size:13px}.office-view-settings>summary{cursor:pointer;min-height:44px;padding:10px 12px;border:1px solid #43576c;border-radius:10px;align-content:center}
.office-camera-controls{position:absolute;right:0;top:100%;z-index:5;display:flex;flex-wrap:wrap;gap:8px;width:280px;max-width:calc(100vw - 64px);padding:12px;background:var(--v-surface,#20242b);border:1px solid var(--of-line);border-radius:12px;box-shadow:0 12px 28px #0004}
.office-camera-controls button{flex:1 1 auto;min-height:44px}.office-world-toolbar button{min-height:44px}
.office-agent-label{padding:10px 16px;margin:0}.office-inspector .office-activity{background:transparent;border:0;border-top:1px solid var(--of-line);border-radius:0;margin:20px 0 0;padding:16px 0 0}.office-activity>summary{cursor:pointer;font-weight:600;min-height:44px;align-content:center}
.office-desk-task{display:none}.office-list-view .office-desk-scene,.office-list-view .office-lobby,.office-list-view .office-fixtures,.office-list-view .office-entry{display:none}
html[data-theme] body.agent-team .office-list-view .office-desk{min-height:110px;padding:14px;align-items:flex-start;text-align:left;gap:6px}
.office-list-view .office-desk-title{font-size:14px}.office-list-view .office-desk-task{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.5;color:var(--of-muted)}
.office-list-view .office-desk-state{font-size:12px}.office-list-view .office-room{border-width:1px;box-shadow:none;padding:14px}.office-list-view .office-room:after{display:none}
@media(max-width:650px){.office-heading{gap:12px;align-items:flex-start}.office-heading p{font-size:13px}.office-heading .office-new{white-space:nowrap;padding:10px 12px;font-size:13px}.office-stats{gap:6px}.office-stat{padding:10px;flex-direction:column;align-items:flex-start;gap:0}.office-stat span{font-size:11px}.office-world-toolbar>div{width:auto}.office-world-toolbar{align-items:flex-start}.office-world-toolbar>span{width:100%}.office-view-actions{width:100%!important;justify-content:space-between}.office-agent-select{flex:1;min-width:0}.office-list-view .office-desks{grid-template-columns:1fr}.office-inspector{padding:18px}}
/* Ambient layers stay behind the entire office, including unpositioned text. */
body.agent-team main{position:relative;z-index:1}
html[data-theme] body.agent-team .office-shortcuts,html[data-theme] body.agent-team .office-view-settings{background:transparent;border:0;padding:0;border-radius:0}
html[data-theme] body.agent-team .office-inspector .office-activity{background:transparent;border:0;border-top:1px solid var(--of-line);border-radius:0;padding:16px 0 0}
/* The local skill library stays a secondary disclosure in the existing office. */
.skill-library-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:16px 0}
.skill-library-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;min-width:0;padding:16px;border:1px solid #73809b66;border-radius:12px}
.skill-library-result strong,.skill-library-result p{overflow-wrap:anywhere}
.skill-library-result strong{grid-column:1;grid-row:1}
.skill-library-result p{grid-column:1;grid-row:2;margin:0;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.skill-library-result button{grid-column:2;grid-row:1/span 2;align-self:center;margin:0;min-height:44px;min-width:70px}
.skill-library [data-skill-text]{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;font-size:14px}
.skill-library form{margin:12px 0}
.skill-library [data-skill-history]{padding-left:20px;line-height:1.8;overflow-wrap:anywhere}
@media(min-width:700px){.skill-library-results{grid-template-columns:repeat(2,minmax(0,1fr))}.skill-library form{display:grid;grid-template-columns:minmax(0,1fr) 200px auto;gap:8px 16px}.skill-library label[for=skillQuery]{grid-column:1;grid-row:1}.skill-library #skillQuery{grid-column:1;grid-row:2}.skill-library label[for=skillArea]{grid-column:2;grid-row:1}.skill-library #skillArea{grid-column:2;grid-row:2}.skill-library form button{grid-column:3;grid-row:2;margin:0}}
/* On a phone the camera panel opens in the flow under its button; anchored to the right edge it ran off the left side of the screen. */
@media(max-width:650px){.office-view-settings{position:static}.office-camera-controls{position:static;width:auto;max-width:100%;margin-top:8px}}
/* The toolbar (and the camera panel that drops out of it) must stay above the 3D viewport that follows it. */
.office-world-toolbar{position:relative;z-index:6}
