/* Tokens da experiência visual; marcas white-label podem trocar este bloco. */
:root {
  --office-ink: var(--abyss, #060607);
  --office-surface: var(--surface, #0d0d10);
  --office-surface-raised: var(--surface-2, #141417);
  --office-line: var(--line, #242428);
  --office-text: var(--txt, #f4f4f6);
  --office-muted: var(--txt-2, #9a9aa3);
  --office-glow: var(--sky, #38bdf8);
  --office-warm: var(--amber, #ffb020);
  --office-danger: var(--rose, #ff3b5c);
  --office-calm: var(--violet, #b7b7c0);
  --office-complete: #7b91ff;
  --office-calm-emissive: #24282e;
  --office-working-emissive: #126083;
  --office-waiting-emissive: #81500b;
  --office-failed-emissive: #85142a;
  --office-complete-emissive: #263caa;
  --office-wood: #a77a51;
  --office-floor: #c3c0b5;
  --office-marble-vein: #5e646b;
  --office-slat: #977455;
  --office-led: #ffbd52;
  --office-fog: #d7d8d4;
  --office-light-top: #c7deed;
  --office-light-ground: #827768;
  --office-key-light: #f3e7d6;
  --office-route: #52565c;
  --office-route-glow: #171b20;
  --office-wall: #474b4b;
  --office-partition: #24343a;
  --office-device: #090a0c;
  --office-metal: #8a8e8c;
  --office-chair: #3c4546;
  --office-glass: #24343a;
}
.office-visual-tools { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:10px 0; }
.office-mode-list { display:flex; gap:5px; padding:4px; border:1px solid var(--office-line); border-radius:var(--r-full,999px); background:var(--office-surface); }
.office-mode, .office-camera { min-height:40px; padding:8px 12px; color:var(--office-muted); border:1px solid transparent; border-radius:var(--r-full,999px); background:transparent; cursor:pointer; font:600 12px var(--font,sans-serif); }
.office-mode[aria-pressed="true"], .office-camera[aria-pressed="true"] { color:var(--office-text); background:var(--office-surface-raised); border-color:var(--office-line); }
.office-mode:disabled { opacity:.5; cursor:not-allowed; }
.office-mode:focus-visible, .office-camera:focus-visible, .office-room-nav button:focus-visible { outline:2px solid var(--office-glow); outline-offset:2px; }
.office-demo-flag { display:none; padding:7px 11px; border:1px solid var(--office-warm); border-radius:var(--r-full,999px); color:var(--office-warm); font-size:12px; font-weight:700; }
.office-demo-flag.on { display:inline-flex; }
.office-stage { position:relative; min-height:480px; overflow:hidden; border:1px solid var(--office-line); border-radius:var(--r-lg,18px); background:radial-gradient(ellipse at 50% 18%,rgba(65,95,115,.18),transparent 55%),var(--office-ink); box-shadow:var(--sh-card); }
.office-stage canvas { display:block; width:100%; height:480px; touch-action:pan-y; }
.office-stage-head { position:absolute; top:14px; left:16px; z-index:2; pointer-events:none; }
.office-stage-head strong { display:block; color:var(--office-text); font-size:14px; }
.office-stage-head span { color:var(--office-muted); font-size:11px; }
.office-stage-health { position:absolute; right:14px; top:14px; z-index:2; padding:6px 10px; color:var(--office-muted); border:1px solid var(--office-line); border-radius:var(--r-full,999px); background:rgba(6,6,7,.76); font-size:11px; }
.office-room-nav { position:absolute; left:12px; right:12px; bottom:12px; z-index:2; display:flex; justify-content:center; gap:5px; flex-wrap:wrap; }
.office-room-nav button { min-height:38px; max-width:160px; padding:7px 10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--office-text); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-full,999px); background:rgba(6,6,7,.78); cursor:pointer; font:11px var(--font,sans-serif); }
.office-room-nav button[aria-pressed="true"] { border-color:var(--office-glow); }
.office-stage-overlay { position:absolute; inset:0; display:grid; place-items:center; padding:24px; color:var(--office-muted); background:rgba(6,6,7,.88); text-align:center; }
.office-stage-overlay[hidden] { display:none; }
.office-program-note { margin:10px 0; color:var(--office-muted); font-size:12px; }
.office-live-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:12px; }
.office-live-room { min-width:0; padding:12px; border:1px solid var(--office-line); border-radius:var(--r-md,14px); background:var(--office-surface); }
.office-live-room h3 { margin:0 0 9px; font-size:12px; }
.office-live-job { display:block; width:100%; margin:7px 0 0; padding:8px; color:var(--office-text); border:0; border-left:2px solid var(--office-glow); background:var(--office-surface-raised); text-align:left; cursor:pointer; font:11px/1.45 var(--font,sans-serif); overflow-wrap:anywhere; }
.office-live-job:disabled { cursor:default; opacity:.85; }
.office-live-job.waiting { border-color:var(--office-warm); }
.office-live-job.failed { border-color:var(--office-danger); }
.office-judge-feed { margin-top:14px; padding:13px; border:1px solid var(--office-line); border-radius:var(--r-md,14px); background:var(--office-surface); }
.office-judge-feed h3 { font-size:13px; }
.office-judge-event { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-top:1px solid var(--office-line); color:var(--office-muted); font-size:11px; }
.office-judge-event strong { color:var(--office-text); }
.office-judge-event.reject strong { color:var(--office-warm); }
.office-judge-event.accept strong { color:var(--office-glow); }
.office-approval-link { display:inline-flex; min-height:42px; align-items:center; margin-top:8px; padding:8px 12px; color:var(--office-text); border:1px solid var(--office-warm); border-radius:var(--r-md,14px); background:var(--office-surface-raised); cursor:pointer; font-size:12px; }
.office-transition-event { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid var(--office-line); color:var(--office-text); font-size:12px; }
.office-transition-event time { flex:none; color:var(--office-muted); font-size:11px; }
.office-fallback-banner { margin:8px 0; padding:10px 12px; border:1px solid var(--office-warm); border-radius:var(--r-md,14px); color:var(--office-warm); background:var(--office-surface); font-size:12px; }
@media(max-width:1000px) { .office-live-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
  .office-stage { min-height:390px; }
  .office-stage canvas { height:390px; }
  .office-live-list { grid-template-columns:1fr; }
  .office-mode-list { max-width:100%; overflow-x:auto; }
  .office-mode-list[aria-label="Visualização do Escritório"] { width:100%; justify-content:flex-start; flex-wrap:wrap; overflow:visible; }
  .office-mode, .office-camera { flex:none; }
  .office-room-nav { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; }
  .office-room-nav button { flex:0 0 auto; }
  .office-stage-health { top:66px; right:auto; left:12px; }
}

/* Studio V2: permanent specialists and details only on demand. */
.office-stage-wrap { position:relative; width:100%; height:100%; min-height:0; }
.office-stage-wrap .office-stage { width:100%; height:100%; min-height:0; border:0; border-radius:0; background:radial-gradient(ellipse at 50% 35%,#e8e9e4,#bbc1c0); box-shadow:none; }
.office-stage-wrap .office-stage canvas { height:100%; width:100%; touch-action:none; }
.office-stage-wrap .office-stage-head { top:22px; left:24px; color:#222e32; max-width:280px; }
.office-stage-wrap .office-stage-head strong { color:#243035; font-size:20px; letter-spacing:-.025em; margin:3px 0 4px; }
.office-stage-wrap .office-stage-head span { color:#46565d; font-size:12px; }
.office-eyebrow { font:600 10px var(--font,sans-serif); letter-spacing:.14em; color:#526168; }
.office-scene-tools { position:absolute; right:24px; top:22px; display:flex; align-items:center; gap:6px; padding:6px; border:1px solid #87949366; border-radius:12px; background:#f4f6f1e8; box-shadow:0 4px 16px #42525415; }
.office-scene-tools button { min-width:40px; min-height:40px; padding:8px; border:0; border-radius:7px; background:transparent; color:#27393e; font:600 12px var(--font,sans-serif); cursor:pointer; }
.office-scene-tools button:hover { background:#dce4df; }
.office-camera-help { position:absolute; left:26px; bottom:91px; z-index:2; padding:7px 10px; border:1px solid #8d9a936b; border-radius:8px; color:#34464a; background:#f2f4efe8; font:500 11px/1.35 var(--font,sans-serif); pointer-events:none; }
.office-scene-tools button:disabled { opacity:.4; cursor:default; }
.office-source-label { display:flex; align-items:center; gap:6px; padding-left:6px; font-size:11px; color:#526168; }
.office-source-label select { min-height:40px; max-width:155px; padding:6px 8px; background:#fff9; border:1px solid #99aaa766; border-radius:7px; color:#27393e; font:600 12px var(--font,sans-serif); }
.office-stage-wrap .office-stage-health { top:85px; right:24px; background:#edf1edea; border-color:#a8b3ad99; color:#47595e; font-size:11px; max-width:370px; }
.office-stage-wrap .office-room-nav { left:20px; right:20px; bottom:18px; gap:6px; flex-wrap:nowrap; padding:8px; border:1px solid #9eaca36b; border-radius:14px; background:#eff4efed; backdrop-filter:blur(8px); box-shadow:0 8px 22px #56645d20; }
.office-stage-wrap .office-room-nav button { min-width:0; max-width:none; flex:1; min-height:58px; display:grid; grid-template-columns:8px 1fr; align-content:center; column-gap:7px; padding:8px; border:1px solid transparent; border-radius:8px; background:transparent; color:#263d42; text-align:left; font-size:11px; }
.office-room-nav button i { width:7px; height:7px; margin-top:5px; border-radius:50%; background:var(--role-color); }
.office-room-nav button span { overflow:hidden; text-overflow:ellipsis; }
.office-room-nav button small { grid-column:2; color:#5a696d; font-size:9px; overflow:hidden; text-overflow:ellipsis; }
.office-stage-wrap .office-room-nav button[aria-pressed="true"] { border-color:#57827c; background:#d7e4df; }
.office-stage-wrap .office-program-note { position:absolute; left:24px; top:86px; padding:5px 9px; background:#f0f4ecd9; border-radius:6px; color:#3f5856; font-size:11px; margin:0; }
.office-stage-wrap .office-fallback-banner { position:absolute; top:120px; left:24px; right:24px; margin:0; background:#faf4e8; color:#6c521e; border-color:#ae854d; }
.office-drawer { position:absolute; z-index:5; right:14px; top:14px; bottom:14px; width:min(400px,calc(100% - 28px)); padding:22px; overflow-y:auto; background:#151b20f5; border:1px solid #4b575c; border-radius:16px; box-shadow:0 16px 60px #1d303856; color:#eef2f2; backdrop-filter:blur(16px); }
.office-drawer[hidden], .office-fallback-2d[hidden], .office-stage-wrap [hidden] { display:none!important; }
.office-drawer .office-eyebrow { color:#a9babc; }
.office-drawer-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.office-drawer-top button { width:44px; height:44px; border:1px solid #4d5b61; border-radius:10px; background:#29343b; color:white; font-size:24px; cursor:pointer; }
.office-drawer h2 { font-size:24px; line-height:1.2; }
.office-drawer h3 { font-size:14px; margin:24px 0 12px; }
.office-role-purpose, .office-empty, .office-safe-note, .office-coverage-note { font-size:13px; line-height:1.65; color:#c0cdd0; }
.office-role-status { display:inline-flex; padding:7px 10px; border-radius:7px; background:#303f45; color:#e4eded; font-size:12px; }
.office-role-status.state-working { background:#143e4c; color:#9cd9f2; }
.office-role-status.state-waiting { background:#453719; color:#f5d294; }
.office-role-status.state-failed { background:#49262d; color:#ffc0c7; }
.office-data-age { font-size:11px; color:#a9b8bd; }
.office-drawer-job { display:flex; flex-direction:column; gap:8px; padding:15px; margin-bottom:12px; border:1px solid #45545c; background:#263238; border-radius:10px; }
.office-drawer-job strong { font-size:14px; }
.office-drawer-job span, .office-drawer-job time { font-size:11px; color:#c2d1d5; }
.office-job-progress { display:flex; align-items:center; gap:9px; }
.office-job-progress progress { width:100%; height:5px; accent-color:#a6d3cb; }
.office-test-label { padding:7px 9px; background:#493b22; border-radius:6px; color:#ffdfaa; font-size:11px!important; }
.office-evidence { margin:14px 0; border:1px solid #43555c; border-radius:10px; padding:12px; font-size:12px; }
.office-evidence summary { cursor:pointer; }
.office-evidence small { display:block; color:#b2c2c7; margin-top:5px; }
.office-safe-note { font-size:11px; border-top:1px solid #43555c; padding-top:16px; }
.office-fallback-2d { position:absolute; inset:155px 24px 115px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.office-fallback-station { min-height:120px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:18px; background:#f8faf4; border:1px solid #97aaa4; border-top:5px solid var(--role-color); border-radius:12px; color:#293c42; text-align:left; cursor:pointer; box-shadow:0 8px 20px #43584c13; }
.office-fallback-station span { font-weight:650; font-size:15px; }
.office-fallback-station small, .office-fallback-station em { font:11px var(--font); margin-top:8px; color:#4c626a; }
@media(max-width:899px) {
  .office-stage-wrap .office-stage-head { top:14px; left:14px; max-width:180px; }
  .office-stage-wrap .office-stage-head strong { font-size:16px; }
  .office-stage-wrap .office-stage-head span:last-child { display:none; }
  .office-scene-tools { top:68px; right:12px; left:12px; justify-content:center; padding:4px; }
  .office-source-label { font-size:10px; }
  .office-source-label select { max-width:135px; }
  .office-stage-wrap .office-stage-health { top:14px; right:12px; left:auto; max-width:150px; font-size:9px; padding:6px; }
  .office-stage-wrap .office-room-nav { left:10px; right:10px; bottom:10px; overflow-x:auto; justify-content:flex-start; padding:5px; }
  .office-stage-wrap .office-room-nav button { flex:0 0 125px; min-height:50px; }
  .office-drawer { top:auto; bottom:0; left:0; right:0; width:100%; max-height:75%; padding:20px; border-radius:18px 18px 0 0; }
  .office-fallback-2d { inset:140px 12px 90px; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; overflow:auto; }
  .office-fallback-station { min-height:100px; padding:12px; }
  .office-stage-wrap .office-fallback-banner { top:120px; left:12px; right:12px; font-size:10px; padding:5px; }
  .office-stage-wrap .office-scene-tools { top:68px; left:10px; right:10px; gap:3px; justify-content:space-between; }
  .office-stage-wrap .office-scene-tools button { min-width:38px; padding:6px; }
  .office-stage-wrap .office-source-label { gap:3px; padding-left:2px; font-size:10px; }
  .office-stage-wrap .office-source-label select { max-width:118px; min-height:38px; padding:5px; font-size:11px; }
  .office-camera-help { left:12px; bottom:72px; max-width:calc(100% - 24px); padding:6px 8px; font-size:9px; }
}
