
:root { --airs-navy: #062a59; --airs-blue: #0866ed; --airs-cyan: #43caff; --airs-ice: #eef9ff; --airs-lime: #e9ff58; }
::selection { background: var(--airs-lime); color: var(--ink); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--airs-blue); outline-offset: 3px; }
.sidebar { display: flex; width: 208px; flex-basis: 208px; background: #fff; }
.brand { height: 108px; min-height: 108px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; padding: 12px 22px; text-decoration: none; }
.brand-logo { position: relative; display: block; width: 155px; height: 52px; overflow: hidden; flex: none; }
.brand-logo img { position: absolute; display: block; width: 160px; max-width: none; height: auto; top: -23.4px; left: -2.5px; }
.brand-caption { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--ink); }
.brand-caption span { font-size: 8px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.nav-menu { min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 22px 13px 12px; }
.nav-caption { color: var(--muted); font: 10px/1.5 Consolas, monospace; letter-spacing: .12em; }
.sidebar .nav-item { color: var(--muted); border-radius: 2px; }
.sidebar .nav-item:hover { background: var(--airs-ice); color: var(--ink); }
.sidebar .nav-item.active { color: var(--airs-blue); background: #e8f4ff; box-shadow: inset 3px 0 var(--airs-blue); }
.nav-count { background: var(--airs-lime); color: var(--ink); }
.nav-count.err { background: #ffe5e2; color: #a3332e; }
.sidebar-bottom { padding-top: 14px; }
.status-card { display: block; background: #f4fbff; border-color: var(--border); }
.status-dot { background: #169b7d; border-radius: 0; }
.status-dot.off { background: #8596a8; }
.status-card p { max-height: 70px; overflow: auto; color: var(--muted); }
.main-content { background: linear-gradient(120deg, #fff 0%, #f2faff 58%, #eaf6ff 100%); }
.topbar { background: #fff; padding: 0 26px; }
.demo-tag { background: #eef9ff; border-color: var(--border); color: var(--airs-blue); }
.demo-tag.stale { background: #fff5d9; border-color: #ecd9a9; color: #8a6a22; }
.account-badge { color: #fff; background: var(--airs-navy); border-color: var(--airs-navy); }
.view-container { padding: 26px; }
.eyebrow { color: var(--airs-blue); font: 10px/1.5 Consolas, 'Courier New', monospace; letter-spacing: .13em; }
.eyebrow::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--airs-cyan); margin-right: 8px; box-shadow: 2px 2px 0 #cdeeff; }
.page-heading h1 { font-size: 29px; letter-spacing: -.025em; }
.button { border-radius: 2px; border-color: var(--border); box-shadow: 0 2px 0 #dceaf5; }
.button:hover { background: var(--airs-ice); }
.button.primary { background: var(--airs-blue); border-color: var(--airs-blue); box-shadow: 0 3px 0 var(--airs-navy); }
.button.primary:hover { background: #0755c7; }
.heading-actions .button { color: var(--airs-blue); }
.o-metrics { border-radius: 3px; box-shadow: 0 3px 0 #e0edf8; }
.metric-icon { background: #eaf6ff; border-color: #cfe7fb; color: var(--airs-blue); border-radius: 2px; }
.metric-icon.amber { background: #f4ffb4; color: var(--ink); border-color: #dae995; }
.metric-value { color: var(--ink); }
.metric.clickable:hover { background: #f5fbff; }
.workspace { grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
.panel { border-radius: 3px; box-shadow: 0 3px 0 #e0edf8; }
.panel-header { background: #fff; }
.floor-badge { background: #eef9ff; border-color: var(--border); color: var(--airs-blue); }
.live { color: #087f66; }
.office-viewport { overflow-x: auto; overscroll-behavior-x: contain; }
.scene-pan-hint { display: none; }
.office-scene { aspect-ratio: 1.5; container-type: inline-size; background: #eaf8ff; }
.office-art { width: 100%; height: 100%; object-fit: fill; }
.scene-day { color: var(--ink); background: #ffffffef; border-color: #9bc9e9; box-shadow: 2px 2px 0 #c7e8ff; font-size: 10px; top: 12px; left: 12px; }
.scene-hint { background: #ffffffed; color: var(--muted); border-color: #b6d8ee; font-size: 10px; bottom: 10px; left: 10px; }
.scene-person { width: clamp(40px, 8.5cqw, 76px); height: clamp(42px, 8.97cqw, 80px); }
.agent-name { background: #fff; color: var(--ink); border-color: #86b4d5; box-shadow: 2px 2px 0 #a5d4f2; font-size: 11px; padding: 2px 7px; }
.agent-name i { background: #169b7d; }
.agent-spot.selected .agent-name { background: var(--airs-navy); border-color: var(--airs-navy); color: #fff; box-shadow: 2px 2px 0 var(--airs-cyan); }
.agent-spot:hover .scene-person, .agent-spot.selected .scene-person { filter: drop-shadow(2px 0 #e9ff58) drop-shadow(-2px 0 #e9ff58); }
.agent-spot.stopped:hover .scene-person, .agent-spot.stopped.selected .scene-person { filter: drop-shadow(2px 0 #e9ff58); }
.speech { background: #fff; color: var(--ink); border-color: #86b4d5; box-shadow: 2px 2px 0 #b8dff9; max-width: min(230px, 33cqw); font-size: 10px; padding: 5px 8px; }
.speech::after { border-color: #86b4d5; }
.agent-spot.away .speech, .agent-spot.off .speech, .agent-spot.stopped .speech { color: var(--muted); background: #f5f9fc; }
.agent-spot.approval .speech { background: #f6ffbe; border-color: #9eaf43; }
.agent-spot.error .speech { background: #ffe4da; color: #aa433c; border-color: #b86754; }
.scene-legend { background: #f7fcff; color: var(--muted); }
.legend-item i { background: #169b7d; }
.legend-item i.yellow { background: #be9009; }
.legend-item i.gray { background: #8596a8; }
.legend-item i.red { background: var(--red); }
.portrait { background-color: #eef9ff; border-color: var(--border); }
.badge { background: #e6f6ef; color: #227653; }
.badge.approval { background: #fcf0c9; color: #836017; }
.badge.error { background: #fbe4db; color: #a94437; }
.badge.away, .badge.stopped { background: #eef2f7; color: #586e84; }
.task-card { background: #f2faff; border-color: #d7e9f5; }
.duty-does, .ii-text, .fix-guide, .chat-side { color: var(--ink); }
.task-progress { background: #dcecf8; }
.task-progress span { background: var(--airs-blue); }
.approval-panel { border-top: 3px solid var(--airs-lime); }
.approval-number { background: var(--airs-lime); color: var(--ink); }
.feed-icon { color: var(--airs-blue); background: #eaf6ff; }
.footer { color: var(--muted); }
.footer strong { color: var(--muted); }
.o-modal { background: #062a59b3; }
.toast { background: var(--airs-navy); color: #fff; box-shadow: 4px 4px 0 #43caff80; }
@media (max-width: 1200px) {
  .sidebar { width: 190px; flex-basis: 190px; }
  .brand { padding-inline: 17px; }
  .topbar { padding-inline: 22px; }
  .topbar .account { display: none; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .right-rail { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .view-container { padding: 22px; }
}
@media (max-width: 1020px) {
  .sidebar { width: 76px; flex-basis: 76px; }
  .brand { height: 76px; min-height: 76px; padding: 0; align-items: center; }
  .brand-logo { width: 63px; height: 23px; }
  .brand-logo img { width: 66px; top: -9.5px; left: -1.5px; }
  .brand-caption { display: none; }
  .office-scene { aspect-ratio: 1.5; }
  .sidebar .nav-item { overflow: visible; }
}
@media (max-width: 800px) {
  .view-container { padding: 20px 14px; }
  .topbar { padding: 0 14px; }
  .topright { gap: 9px; }
  .breadcrumb { gap: 8px; }
  .page-heading h1 { font-size: 26px; }
  .scene-person { width: clamp(40px, 8.5cqw, 76px); height: clamp(42px, 8.97cqw, 80px); }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .sidebar { width: 58px; flex-basis: 58px; }
  .brand-logo { width: 50px; height: 18px; }
  .brand-logo img { width: 53px; top: -7.5px; left: -1.5px; }
  .nav-menu { padding: 16px 6px; }
  .sidebar .nav-item { padding: 12px 5px; }
  .topbar { height: 64px; min-height: 64px; padding: 0 10px; }
  .breadcrumb strong { display: none; }
  .demo-tag { font-size: 9px; padding: 3px 6px; letter-spacing: 0; }
  .view-container { padding: 18px 12px; }
  .page-heading { margin-bottom: 18px; }
  .eyebrow { font-size: 8px; }
  .metric-value { font-size: 22px; }
  .metric-label { font-size: 11px; }
  .metric-value small { display: inline-block; font-size: 10px; margin-left: 3px; }
  .workspace { gap: 16px; }
  .office-scene { min-width: 620px; }
  .scene-pan-hint { display: block; margin: 0; padding: 7px 12px; font-size: 10px; color: var(--muted); background: #eef9ff; border-top: 1px solid var(--border); }
  .scene-legend { gap: 8px 12px; font-size: 10px; padding: 10px 12px; }
  .panel-header { padding: 12px; }
  .panel-title { font-size: 12px; gap: 6px; }
  .scene-tools .live b { display: none; }
  .right-rail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
:root { --airs-lime: #d9f5ff; --yellow: #ffe3a1; }
.nav-count, .approval-number { background: #d9f5ff; }
.metric-icon.amber { background: #eef8ff; border-color: #cfe7fb; color: var(--airs-blue); }
.status-dot, .agent-name i, .legend-item i { background: #1384d9; }
.status-dot.off { background: #8596a8; }
.live { color: #176fb0; }
.badge { background: #e7f4ff; color: #17649b; }
.badge.approval { background: #fff1ce; color: #836017; }
.badge.error { background: #fbe4db; color: #a94437; }
.badge.away, .badge.stopped { background: #eef2f7; color: #586e84; }
.mf-mini-pill { background: #f0f8ff; border-color: #cfdfee; color: #17649b; }
.mf-mini-dot { background: #1384d9; box-shadow: 0 0 0 3px #deefff; }
.approval-panel { border-top-color: var(--airs-cyan); }
.office-stack-guide { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; color: var(--muted); background: #f7fcff; font-size: 10px; border-bottom: 1px solid #dcecf8; }
.office-stack-guide > span { display: flex; align-items: center; gap: 7px; }
.office-stack-guide i { color: var(--airs-blue); font-size: 15px; }
.office-motion-toggle { flex: none; padding: 6px 9px; border: 1px solid #b9d8ef; border-radius: 20px; background: #fff; color: #345c7f; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.office-motion-toggle:hover { background: #e3f4ff; border-color: #0866ed; }
.office-motion-toggle:disabled { cursor: default; opacity: .65; }
.office-scene.office-stack { display: block; aspect-ratio: auto; height: auto; min-width: 0; overflow: visible; overflow-anchor: none; container-type: inline-size; padding: 32px 16px 26px; background: radial-gradient(ellipse at 78% 22%, #fff 0%, transparent 50%), linear-gradient(155deg, #eefaff 0%, #e0f2ff 68%, #f4fbff 100%); }
.office-depth::before { content: ''; position: absolute; inset: 32px 0; pointer-events: none; opacity: .4; background: radial-gradient(ellipse at 16% 27%, #fff 0 5%, transparent 18%), radial-gradient(ellipse at 84% 64%, #fff 0 6%, transparent 18%); }
.office-depth .office-floor { position: relative; width: 91%; max-width: 630px; padding: 0; margin: 0 auto 0 0; pointer-events: none; }
.office-depth .office-floor + .office-floor { margin: -13cqw 0 0 auto; border: 0; }
.office-depth .office-floor:nth-child(odd) { z-index: 2; }
.office-depth .office-floor:nth-child(even) { z-index: 1; }
.office-depth .office-floor:focus-within { z-index: 3; }
.floor-headcount { font-size: 9px; color: #48759b; border-left: 1px solid #c5e1f4; padding-left: 8px; }
.floor-alert { font-size: 10px; color: #a3332e; background: #ffe5e2; padding: 2px 5px; }
.office-depth .floor-stage { position: relative; width: 100%; aspect-ratio: 1.5; margin: 0; container-type: inline-size; }
.floor-depth { position: absolute; inset: 0; will-change: transform; }
.office-depth .island-world { position: absolute; inset: 0; width: 100%; height: 100%; animation: office-hover 9s ease-in-out infinite; animation-delay: var(--float-delay); animation-play-state: paused; will-change: transform; }
.office-depth .is-in-view .island-world { animation-play-state: running; }
.office-depth .island-world .office-art { width: 100%; height: 100%; object-fit: contain; filter: none; pointer-events: none; user-select: none; }
.office-depth .island-shadow { position: absolute; left: 17%; right: 13%; bottom: 3%; height: 13%; border-radius: 50%; background: #286f9b25; filter: blur(17px); transform: rotate(-8deg); }
.office-depth .agent-spot { width: auto; min-width: 44px; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.office-depth .agent-spot:hover, .office-depth .agent-spot:focus-visible, .office-depth .agent-spot.selected { z-index: 30 !important; }
.office-depth .agent-spot:focus-visible { outline: 2px solid #0866ed; outline-offset: 5px; border-radius: 8px; }
.office-depth .scene-person { width: clamp(42px, 10cqw, 72px); height: clamp(44px, 10.58cqw, 76px); transition: filter .2s, opacity .2s; }
.office-depth .agent-spot.off .scene-person { opacity: 1; }
.office-depth .agent-spot.away .scene-person { opacity: 1; }
.office-depth .agent-spot:hover .scene-person, .office-depth .agent-spot:focus-visible .scene-person, .office-depth .agent-spot.selected .scene-person { opacity: 1; filter: drop-shadow(2px 0 #fff) drop-shadow(-2px 0 #fff) drop-shadow(0 3px #43caff); }
.office-depth .agent-spot.stopped .scene-person { filter: none; }
.office-depth .agent-name { min-width: 55px; padding: 2px 7px; border-radius: 5px; font-size: 10px; box-shadow: 0 2px 4px #062a5922; transition: background .2s, border-color .2s, box-shadow .2s; }
.office-depth .agent-spot.selected .agent-name { background: #062a59; border-color: #062a59; color: #fff; box-shadow: 0 3px 0 #43caff, 0 5px 14px #0866ed30; }
.office-depth .speech { position: absolute; bottom: calc(100% + 5px); left: 50%; margin: 0; max-width: min(215px, 35cqw); visibility: hidden; opacity: 0; transform: translate(-50%, 4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; white-space: nowrap; pointer-events: none; border-radius: 6px; box-shadow: 0 3px 10px #062a591a; }
.office-depth .agent-spot:hover .speech, .office-depth .agent-spot:focus-visible .speech { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.office-depth .agent-spot.approval .speech { background: #fff4d8; border-color: #c9ab61; }
.office-depth .motion-paused, .office-depth.motion-paused .island-world { animation-play-state: paused !important; }
.office-depth.motion-paused .scene-person { animation-play-state: paused !important; }
@keyframes office-hover { 0%,100% { transform: translate3d(0, 3px, 0); } 50% { transform: translate3d(0, -5px, 0); } }
@media (min-width: 1201px) { #view-office .right-rail { position: sticky; top: 0; max-height: calc(100dvh - 112px); overflow: auto; scrollbar-width: thin; overscroll-behavior-y: contain; } }
@media (min-width: 1600px) { .office-depth .office-floor { max-width: 760px; } }
@media (max-width: 560px) {
  .office-stack-guide { align-items: flex-start; font-size: 10px; padding: 10px 12px; }
  .office-stack-guide > span { max-width: 180px; align-items: flex-start; }
  .office-motion-toggle { padding: 6px; font-size: 9px; }
  .office-scene.office-stack { min-width: 500px; padding: 24px 12px 20px; }
  .office-depth .office-floor { width: 94%; }
  .office-depth .office-floor + .office-floor { margin-top: -11cqw; }
  .floor-headcount { display: none; }
}
@media (prefers-reduced-motion: reduce) { .floor-depth { transform: none !important; will-change: auto; } .office-depth .island-world { animation: none !important; will-change: auto; } }
@media (min-width: 1201px) { #view-office .right-rail .panel-header { padding-inline: 12px; gap: 6px; } #view-office .right-rail .panel-title { font-size: 13px; white-space: nowrap; } #view-office .right-rail .pager { gap: 3px; } }
.office-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body:has(#view-office.active), body:has(#view-office.active) .app-container { height: 100dvh; }
.view-container:has(> #view-office.active) { display: flex; flex-direction: column; min-height: 0; padding: 12px 16px; overflow: hidden; }
#view-office.active { display: flex; flex-direction: column; flex: 1; min-height: 0; height: 100%; gap: 10px; animation: none; }
#view-office .office-workspace { position: relative; flex: 1; min-height: 0; grid-template-columns: minmax(0, 1fr) 240px; align-items: stretch; gap: 14px; }
#view-office .office-main-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-radius: 10px; box-shadow: none; }
#view-office .office-toolbar { flex: none; min-height: 46px; padding: 8px 12px; gap: 8px; }
#view-office .office-toolbar .panel-title { gap: 7px; font-size: 12px; white-space: nowrap; }
#view-office .office-viewport { position: relative; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
#view-office .office-scene { min-width: 0; width: 100%; height: 100%; padding: 0; container-type: size; }
#view-office .office-depth { --office-floor-n: var(--floor-count, 2); --office-floor-tall: calc(.666667 + (var(--office-floor-n) - 1) * .486667); --office-floor-size: min(91cqw, calc((100cqh - 44px) * .991867 / var(--office-floor-tall)), 820px); --office-floor-shift: min(6cqw, calc(var(--office-floor-size) * .12)); --office-floor-drop: calc(var(--office-floor-size) * .486667); --office-scene-left: calc((100cqw - var(--office-floor-size) - var(--office-floor-shift)) / 2); --office-scene-top: calc((100cqh - var(--office-floor-size) * var(--office-floor-tall)) / 2); }
#view-office .office-floor { position: absolute; width: var(--office-floor-size); max-width: none; margin: 0; padding: 0; left: calc(var(--office-scene-left) + var(--floor-odd, 0) * var(--office-floor-shift)); top: calc(var(--office-scene-top) + var(--floor-i, 0) * var(--office-floor-drop)); }
#view-office .scene-person { width: clamp(28px, 10cqw, 72px); height: clamp(29.6px, 10.58cqw, 76px); }
#view-office .agent-spot { min-height: 44px; }
#view-office .agent-name { font-size: 9px; min-width: 46px; padding: 1px 5px; }
#view-office .office-scene-footer { display: flex; align-items: center; justify-content: space-between; flex: none; min-height: 28px; gap: 8px; padding: 5px 12px; font-size: 9px; color: #587691; background: #f5fbff; border-top: 1px solid #dcebf6; }
#view-office .task-card { padding: 11px; }
#view-office .task-card strong { font-size: 12px; }
#view-office .detail-facts { margin-top: 13px; gap: 12px 10px; }
#view-office .detail-facts dt { font-size: 10px; }
#view-office .detail-facts dd { font-size: 15px; }
#view-office .detail-facts dd.txt { font-size: 11px; }
#view-office .office-activity summary { cursor: pointer; padding: 12px 14px; color: #345c7f; font-size: 12px; font-weight: 600; }
#view-office .office-activity summary i { margin-right: 5px; }
#view-office .office-activity .feed-list { padding-inline: 12px; }
#view-office .office-activity .feed-type { display: none; }
#view-office .office-activity #feed-more { margin: 8px 12px 12px; }
#view-office #approval-cta { display: none; }
.office-member-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border: 1px solid #c2ddef; border-radius: 20px; background: #fff; color: #345c7f; font: 10px var(--body); cursor: pointer; min-height: 28px; }
.office-member-toggle, .office-drawer-head { display: none; }
#view-office .office-motion-toggle { font-size: 9px; padding: 5px 8px; min-height: 28px; }
@media (max-width: 1100px) and (min-width: 900px) {
  #view-office .office-workspace { grid-template-columns: minmax(0, 1fr) 220px; gap: 10px; }
  #view-office .office-toolbar .scene-tools { gap: 5px; }
}
@media (max-width: 899px) {
  #view-office .office-workspace { grid-template-columns: minmax(0, 1fr); }
  .office-member-toggle { display: inline-flex; }
  .office-drawer-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; padding: 10px 0; background: #f0f9ff; font-size: 12px; font-weight: 600; }
  .office-drawer-head button { border: 1px solid #bad8ed; border-radius: 20px; background: #fff; color: #345c7f; font: 11px var(--body); padding: 7px 12px; cursor: pointer; }
  #view-office .office-toolbar .scene-tools { gap: 6px; }
}
@media (max-width: 600px) {
  .view-container:has(> #view-office.active) { padding: 8px; }
  #view-office.active { gap: 8px; }
  #view-office .office-toolbar { min-height: 40px; padding: 6px 8px; }
  #view-office .office-toolbar .panel-title { font-size: 10px; gap: 4px; }
  #view-office .office-toolbar .panel-title i { display: none; }
  #view-office .office-motion-toggle { font-size: 8px; padding: 4px 6px; }
  #view-office .office-member-toggle { font-size: 8px; padding: 4px 6px; }
  #view-office .office-toolbar .scene-tools { gap: 4px; }
  #view-office .agent-name { font-size: 8px; min-width: 38px; padding: 0 3px; gap: 3px; }
  #view-office .agent-name i { width: 4px; height: 4px; }
  #view-office .office-scene-footer { font-size: 8px; padding-inline: 8px; min-height: 24px; }
  #view-office .office-scene-footer #canvas-count { display: none; }
}
#view-office .office-workspace { overflow: hidden; }
#view-office .office-depth .office-floor,
#view-office .office-depth .office-floor:focus-within { z-index: auto; }
#view-office .office-floor .floor-stage { z-index: calc(var(--floor-count, 2) - var(--floor-i, 0)); }
#view-office .floor-mirror .office-art { transform: scaleX(-1); }
#view-office .floor-mirror .floor-hover-surface { clip-path: polygon(100% 43%, 60% 0, 30% 0, 0 43%, 0 66%, 47% 100%, 100% 66%); }
#view-office .floor-mirror .island-shadow { left: 13%; right: 17%; transform: rotate(8deg); }
#view-office .floor-mirror .floor-plaque { left: 40%; }
#view-office .office-floor.is-floor-focused .floor-stage { z-index: 10; }
.floor-focus { position: absolute; inset: 0; transform-origin: 50% 50%; transform: translate3d(var(--floor-focus-x, 0px), var(--floor-focus-y, 0px), 0) scale(var(--floor-focus-scale, 1)); opacity: 1; transition: transform 720ms cubic-bezier(.22,.72,.18,1), opacity 420ms ease; will-change: transform; }
.office-floor.is-floor-muted .floor-focus { opacity: 1; }
.office-floor.is-floor-muted .office-art { opacity: .38; }
.office-art { transition: opacity 420ms ease; }
.floor-hover-surface { position: absolute; inset: 0; z-index: 0; pointer-events: auto; clip-path: polygon(0 43%, 40% 0, 70% 0, 100% 43%, 100% 66%, 53% 100%, 0 66%); }
.office-depth.focus-motion-off .office-floor .floor-focus { transition: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .floor-focus { transition: none !important; will-change: auto; } .office-floor.is-floor-muted .floor-focus { opacity: 1; } }
@media (hover: none) { .floor-hover-surface { pointer-events: none; } }
#view-office .agent-spot { padding-bottom: 12px; }
#view-office .agent-label { position: absolute; top: calc(100% - 12px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: stretch; min-width: 58px; border: 1px solid #80b9df; border-radius: 5px; background: #fff; box-shadow: 0 2px 5px #062a5926; overflow: hidden; white-space: nowrap; }
#view-office .agent-dept { padding: 1px 5px; color: #305f87; background: #e7f5ff; font: 600 8px/1.4 var(--body); }
#view-office .agent-name { min-width: 0; padding: 1px 5px; font-size: 10px; border: 0; border-radius: 0; box-shadow: none; }
#view-office .scene-person { width: clamp(30px, 10.5cqw, 78px); height: clamp(31.7px, 11.1cqw, 82px); opacity: 1; }
#view-office .floor-plaque { position: absolute; left: 53%; top: 86%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 5px; padding: 4px 8px; background: #062a59; border: 1px solid #43caff; border-radius: 5px; box-shadow: 0 3px 0 #0866ed; color: #fff; pointer-events: none; }
#view-office .floor-plaque b { font: 700 clamp(16px,3.4cqw,28px)/1 Consolas,monospace; }
#view-office .floor-plaque span { font: 600 clamp(7px,1.4cqw,10px)/1.4 var(--body); white-space: nowrap; }
.office-depth.focus-motion-off .office-art { opacity: 1; }
@media(max-width:600px) {
 #view-office .agent-label { min-width: 44px; }
 #view-office .agent-dept { font-size: 6px; padding: 0 3px; }
 #view-office .agent-name { font-size: 8px; padding: 0 3px; }
 #view-office .floor-plaque { padding: 3px 5px; gap: 3px; }
}
@media(prefers-reduced-motion:reduce) { .office-art { transition:none; } }
#view-office .floor-plaque { margin: 0; }
#view-office .is-floor-focused .floor-plaque { background: #0866ed; border-color: #b9f4ff; }
#view-office .office-scene { touch-action: pan-x pinch-zoom; overscroll-behavior: contain; }
#view-office .office-scene:focus-visible { outline: 2px solid #0866ed; outline-offset: -3px; }
.office-overview-toggle { border: 1px solid #c2ddef; border-radius: 20px; padding: 5px 8px; min-height: 28px; background: #fff; color: #345c7f; font: 10px var(--body); cursor: pointer; }
.office-overview-toggle:disabled { opacity: .45; cursor: default; }
@media(max-width:600px) { .office-overview-toggle { font-size: 8px; padding: 4px 6px; } }
.sidebar { min-height: 0; overflow: hidden; }
.sidebar .nav-menu { flex: 1 1 auto; min-height: 0; }
.sidebar-bottom { flex: none; }
.sidebar-account { display: flex; flex: none; align-items: center; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--border); background: #fff; }
.sidebar-account .account-badge { width: 34px; height: 34px; flex: none; border-radius: 10px; font: 600 14px var(--body); }
.sidebar-account-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sidebar-account-role { font-size: 10px; color: var(--muted); line-height: 1.4; }
.sidebar-account-name { font-size: 13px; color: var(--ink); line-height: 1.5; white-space: nowrap; }
.office-load-error:not([hidden]) { flex: none; padding: 10px 14px; border: 1px solid #e3b7ae; border-radius: 8px; background: #fff3ef; color: #9c4034; font-size: 12px; }
@media (max-width: 1020px) {
  .sidebar-account { flex-direction: column; gap: 5px; padding: 12px 4px; }
  .sidebar-account-role { display: none; }
  .sidebar-account-name { font-size: 10px; }
  .sidebar .nav-item .nav-count { display: grid; place-items: center; position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px; padding: 0 3px; border: 1px solid #fff; font-size: 9px; line-height: 1; }
}
@media (max-width: 560px) {
  .sidebar-account { padding-block: 10px; }
  .sidebar-account .account-badge { width: 30px; height: 30px; }
  .sidebar-account-name { font-size: 9px; }
}
