*{box-sizing:border-box}body{margin:0;background:#f3f6fc;color:#172844;font:15px/1.6 Arial,sans-serif}button,select,textarea{font:inherit}button{cursor:pointer;min-height:44px;padding:10px 15px;border:1px solid #d8e2f2;background:#fff;border-radius:9px;color:#172844}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #00a8a4;outline-offset:3px}button:disabled{opacity:.5;cursor:default}aside{position:fixed;right:0;top:0;bottom:0;width:230px;padding:35px 26px;background:#172844;color:#e4ecff;display:flex;flex-direction:column}.brand{color:#fff;font-size:30px;text-decoration:none;font-weight:800;direction:ltr}.brand small{font-size:10px;display:block;letter-spacing:2px;font-weight:400}nav{display:grid;gap:10px;margin-top:45px}nav button{text-align:right;background:transparent;color:#e3ebff;border-color:transparent;font-weight:650}nav button.on{background:#fff;color:#172844}aside>p{margin-top:auto;font-size:22px;line-height:1.4}aside>small{font-size:11px;opacity:.7}main{margin-right:230px;max-width:1550px;padding:28px 40px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}header span{direction:ltr;font-size:11px;letter-spacing:2px;font-weight:700}.warning{border:1px solid #d9b451;background:#fff3cd;border-radius:10px;padding:10px 15px;font-size:13px}h1{font-size:38px;line-height:1.2;letter-spacing:-1px;margin:28px 0 10px}h2{font-size:22px;margin:0 0 10px}h3{font-size:17px;margin:0}p{margin:6px 0 12px}#hero>p,.muted{color:#586c88;font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.stats div{border:1px solid #dae3ef;border-radius:12px;background:#fff;padding:16px}.stats strong{font-size:30px;display:block;line-height:1.1}.stats span{font-size:13px}.stats div:first-child{background:#172844;color:white}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card{padding:22px;background:#fff;border:1px solid #dce4f2;border-radius:14px;min-width:0;overflow-wrap:anywhere}.eyebrow{font-size:11px;letter-spacing:.6px;color:#5d708a;margin-bottom:10px}.badge{display:inline-block;background:#edf1f7;color:#50637e;border-radius:20px;padding:4px 10px;font-size:12px}.badge.good{background:#d9f1e9;color:#1f6b53}.badge.report{background:#edf0ff;color:#50448b}.badge.problem{background:#fff0e7;color:#95510d}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.primary{background:#172844;color:#fff;border-color:#172844}.pipeline{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.pipeline span{padding:4px 8px;font-size:11px;border:1px solid #dae2f0;border-radius:6px;color:#7c8797}.pipeline span.done{color:#1e6b50;background:#e4f5ed;border-color:#b6dacd}.mono{direction:ltr;unicode-bidi:isolate;font:12px/1.6 monospace;overflow-wrap:anywhere}.facts{display:grid;gap:8px;border-top:1px solid #e0e7f2;padding-top:14px;margin-top:14px}.facts p{margin:0;font-size:13px}.queue{display:grid;gap:12px}.queue .card{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:start}.rank{font-size:27px;font-weight:700;color:#8a9cb4}.task-controls{display:flex;gap:6px}.task-controls button{padding:8px 12px}.portrait{display:flex;align-items:center;gap:12px;margin-bottom:10px}.portrait img{width:64px;height:64px;object-fit:cover;border-radius:14px}.portrait .initial{width:64px;height:64px;display:grid;place-items:center;border-radius:14px;background:#edf1f8;font-size:25px}.facts .label{font-weight:650}.office-shell{margin-top:20px}.office-shell .o3{height:640px;border-radius:15px;overflow:hidden}.office-shell .o3-bar,.office-shell .o3-card,.office-shell .o3-drafts,.office-shell .o3-form,.office-shell .o3-tag.grp{display:none!important}.office-shell .o3-ov{display:block!important;padding:0!important}.office-shell .o3-tag:not(.grp){position:absolute;left:0;top:0;white-space:nowrap;font-size:12px;line-height:1.2;padding:3px 6px;z-index:2}.office-shell .o3-tag small{display:none}.office-shell .o3-tag.nd{color:#eef3ff;border-color:#8190a7;background:#18243b}.scene-leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.office-shell .o3-theme button,.office-shell .o3-floors button,.office-shell .o3-zoom button{min-height:44px;min-width:44px}.office-shell .o3-hud{top:12px;left:12px;right:12px}.office-shell .o3-badge{white-space:normal;font-size:12px}.office-shell .o3-cnt{flex-wrap:wrap}.office-shell .o3-live{font-size:12px}.office-shell .o3-theme{margin-top:8px}.office-shell .o3-theme button{color:#eef4ff}.office-shell .o3-theme button.on{color:#172844}.office-shell .o3-cnt b{color:#eef4ff}footer{margin-top:28px;color:#62758f;font-size:12px}dialog{border:1px solid #d5e0ef;border-radius:16px;padding:24px;max-width:540px;width:calc(100% - 32px);color:#172844}dialog::backdrop{background:#13203988}textarea{width:100%;padding:12px;border:1px solid #bdcada;border-radius:10px;resize:vertical}#notice{margin:12px 0;font-size:14px}details summary{cursor:pointer;min-height:44px}.audit-entry{border-top:1px solid #e1e8f2;padding:12px 0}.audit-entry p{font-size:13px}.agent-filter{margin-bottom:16px;display:flex;gap:8px;flex-wrap:wrap}.agent-filter button.on{background:#172844;color:#fff}@media(max-width:780px){aside{width:auto;height:auto;top:auto;left:0;right:0;padding:5px 6px;z-index:20;background:#fff;border-top:1px solid #dbe3ef}aside>.brand,aside>p,aside>small{display:none}nav{display:grid;grid-template-columns:repeat(5,1fr);gap:2px;margin:0}nav button{font-size:10px;padding:10px 2px;color:#172844;text-align:center;line-height:1.4;min-height:52px}nav button.on{background:#172844;color:#fff}main{margin:0;padding:16px 16px 90px}h1{font-size:30px;margin-top:22px}.grid{grid-template-columns:1fr}.stats{gap:7px}.stats div{padding:12px 9px}.stats strong{font-size:25px}.stats span{font-size:11px}.card{padding:18px}.queue .card{grid-template-columns:28px 1fr;gap:9px}.task-controls{grid-column:2}.office-shell .o3{height:590px}.office-shell .o3-cnt b,.office-shell .o3-cnt .o3-sep{display:none}.office-shell .o3-fl{display:none!important}.office-shell .o3-theme button{font-size:12px}.warning{font-size:12px}header{margin-bottom:14px}header span{font-size:10px}.pipeline{gap:4px}.pipeline span{font-size:10px}}

/* 08.2: room controls sit below scene, never over characters. */
.office-shell .o3-floors{top:auto!important;bottom:10px!important;left:50%!important;right:auto!important;transform:translateX(-50%);display:flex;gap:5px;background:#111b2c;padding:4px;border-radius:10px}.office-shell .o3-zoom{bottom:10px!important}.office-shell .o3-tag:not(.grp){font-size:13px;padding:4px 7px}.office-shell .o3-fl{display:none!important}
@media(max-width:780px){nav button{font-size:12px;min-width:44px;min-height:52px}nav{gap:1px}.office-shell .o3{height:690px}.office-shell .o3-floors{bottom:8px!important}.office-shell .o3-floors button{min-width:34px;padding:6px;font-size:13px}.office-shell .o3-zoom{bottom:68px!important}.office-shell .o3-tag:not(.grp){font-size:12px}.office-shell .o3-hud{left:5px;right:5px}.office-shell .o3-badge{font-size:11px}}

.office-shell .o3-floors{flex-direction:row!important;width:max-content!important;max-width:calc(100% - 12px)}.office-shell .o3-floors button{min-width:44px!important;width:44px!important;height:44px!important}.office-shell .o3{padding-bottom:65px}.office-shell .o3-floors{bottom:7px!important}.office-shell .o3-zoom{bottom:73px!important}

.tower-shell{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,1fr);gap:14px;direction:rtl;margin-bottom:16px}
.tower-canvas{width:100%;display:block;border-radius:18px;background:#080b13;border:1px solid #243049;min-width:0}
.tower-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.t-card{background:#0f1626;color:#e8eefc;border:1px solid #243049;border-radius:14px;padding:12px;overflow-wrap:anywhere}
.t-card b{display:block;margin-bottom:6px}.t-card .mono{font:12px ui-monospace,monospace;unicode-bidi:plaintext;text-align:start;color:#9fe8c0}
.t-card .muted{color:#98a6c4;font-size:13px;margin:6px 0 0}.t-card p{margin:4px 0}
.t-count{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.t-count div{background:#0f1626;border:1px solid #243049;border-radius:14px;padding:10px;color:#e8eefc;text-align:center}
.t-count b{display:block;font-size:26px;color:#ffb27a}.t-count span{font-size:12px;color:#98a6c4}
.handoff{border-top:1px solid #243049;padding:6px 0}.handoff .who{font-weight:700;margin-inline-end:8px}.handoff small{display:block;color:#98a6c4;font-size:12px}
.t-card.sel{border-color:#ffb27a}
@media(max-width:900px){.tower-shell{grid-template-columns:1fr}}
dialog#login{border:0;border-radius:16px;padding:24px;box-shadow:0 20px 60px #0007}dialog#login::backdrop{background:#0a1220e6}#loginform label{display:block;margin:12px 0}#loginform input{display:block;width:100%;padding:12px;border:1px solid #c9d4e8;border-radius:9px;font-size:16px}#loginerr{color:#b3261e;min-height:1.4em}
pre.guide{white-space:pre-wrap;word-break:break-word;font:13px/1.6 ui-monospace,monospace;background:#0f1626;color:#d9e6ff;padding:14px;border-radius:12px;unicode-bidi:plaintext;text-align:start}
#loginform label{font-weight:700;color:#172844}#loginform p{color:#33475f}#loginerr{color:#a1190f;font-weight:700}#loginform input:focus-visible{outline:3px solid #00a8a4;outline-offset:2px}
