/* Quiet Support — interaction prototype. Plain CSS, system fonts, no external assets. */
:root{
  color-scheme:light;
  --bg:#f4f0e6;--surface:#fcfaf5;--field:#fffdf8;--ink:#14283a;--muted:#536270;--rule:#d9d1bf;--rule-strong:#b9ae97;
  --primary-bg:#1b3550;--primary-fg:#f6f1e5;--focus:#2468a8;--danger:#a3283a;--danger-fill:#a62b38;--danger-fg:#fff;
  --warn-bg:#f6e8c6;--warn-fg:#6b4600;--ok:#2d6a4d;--hover:#ece6d6;--soft:#ece6d6;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",system-ui,"Helvetica Neue",Arial,sans-serif;
  --serif:ui-serif,"New York","Iowan Old Style",Georgia,serif;--mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --t:180ms;--ease:cubic-bezier(.2,.7,.2,1);
  /* live panel is always dark: the existing readable call-panel preference */
  --lv-bg:#16202a;--lv-ink:#f1ebdd;--lv-muted:#a9b6c2;--lv-rule:#2f3d4b;--lv-field:#0e161d;--lv-code:#0b1218;
  --lv-primary-bg:#efe9db;--lv-primary-fg:#14283a;--lv-accent:#e3b95f;--lv-ok:#7fc8a0;--lv-warn:#f0c36b;--lv-bad:#ff9aa5;--lv-focus:#e3b95f;
}
html[data-theme=dark]{
  color-scheme:dark;
  --bg:#111921;--surface:#18222d;--field:#0e151c;--ink:#efe9db;--muted:#a2afbb;--rule:#2b3948;--rule-strong:#44566a;
  --primary-bg:#efe9db;--primary-fg:#14283a;--focus:#e3b95f;--danger:#ff9aa5;--warn-bg:#3a2f12;--warn-fg:#f0c36b;--ok:#7fc8a0;--hover:#223040;--soft:#1d2935;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);min-height:100dvh}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg.i{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ───────── prototype strip + header ───────── */
.proto-strip{position:sticky;top:0;z-index:50;background:var(--soft);border-bottom:1px solid var(--rule);color:var(--muted);font-size:13px;line-height:1.35;padding:6px 16px;text-align:center}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;max-width:1040px;margin:0 auto;padding:10px 24px 0}
.wordmark{font:26px/1 var(--serif);letter-spacing:-.04em;color:var(--ink);background:none;border:0;padding:0 4px;min-height:44px;cursor:pointer;border-radius:8px}
.nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.nav button{min-height:44px;padding:0 14px;border:0;background:none;border-radius:10px;color:var(--muted);font-size:15px;font-weight:550;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.nav button:hover{background:var(--hover);color:var(--ink)}
.nav button[aria-current=page]{color:var(--ink);box-shadow:inset 0 -2px 0 var(--ink);border-radius:10px 10px 0 0}
.nav .sep{width:1px;height:24px;background:var(--rule);margin:0 6px}
.dot-badge{width:8px;height:8px;border-radius:50%;background:var(--lv-accent);box-shadow:0 0 0 2px var(--bg)}

main{max-width:1040px;margin:0 auto;padding:22px 24px 120px}
.view{animation:viewIn var(--t) var(--ease)}
@keyframes viewIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* ───────── typography: restrained hierarchy ───────── */
h1{font:600 24px/1.25 var(--font);letter-spacing:-.02em;margin:0 0 6px}
h2{font:600 17px/1.3 var(--font);margin:0 0 4px}
h3{font:600 13px/1.3 var(--font);margin:0 0 8px;color:var(--muted);letter-spacing:.02em}
p{margin:0}
.lede{color:var(--muted);font-size:16px}
.muted{color:var(--muted)}
.small{font-size:13.5px;line-height:1.45}

/* ───────── controls ───────── */
.btn{min-height:44px;padding:0 18px;border:1px solid var(--rule-strong);border-radius:10px;background:var(--surface);color:var(--ink);font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background var(--t),border-color var(--t),transform 90ms}
.btn:hover{background:var(--hover)}
.btn:active{transform:translateY(1px)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn.primary{background:var(--primary-bg);border-color:var(--primary-bg);color:var(--primary-fg)}
.btn.primary:hover{filter:brightness(1.12)}
.btn.big{min-height:54px;padding:0 26px;font-size:17px;border-radius:12px}
.btn.quiet{border-color:transparent;background:transparent;font-weight:550}
.btn.quiet:hover{background:var(--hover)}
.btn.danger{background:var(--danger-fill);border-color:var(--danger-fill);color:var(--danger-fg)}
.btn.danger:hover{filter:brightness(1.1)}
.btn.danger-ghost{color:var(--danger);border-color:var(--danger)}
.icon-btn{width:44px;height:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;display:inline-grid;place-items:center;cursor:pointer;color:inherit}
.icon-btn:hover{background:var(--hover)}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
select,.field{min-height:44px;border:1px solid var(--rule-strong);border-radius:10px;background:var(--field);padding:0 12px;font-size:15px;max-width:100%}
select{cursor:pointer}
textarea.field{padding:10px 12px;min-height:90px;width:100%;resize:vertical;line-height:1.5}
input.field{width:100%}
.seg{display:inline-flex;border:1px solid var(--rule-strong);border-radius:10px;overflow:hidden;background:var(--field)}
.seg button{min-height:42px;padding:0 14px;border:0;background:transparent;font-size:14.5px;font-weight:550;cursor:pointer;border-right:1px solid var(--rule)}
.seg button:last-child{border-right:0}
.seg button[aria-pressed=true],.seg button[aria-selected=true]{background:var(--primary-bg);color:var(--primary-fg)}
.seg button:focus-visible{outline-offset:-3px;border-radius:0}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 6px 0 12px;border:1px solid var(--rule);border-radius:999px;background:var(--surface);font-size:14px;max-width:100%}
.chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip button{width:32px;height:32px;border:0;border-radius:50%;background:transparent;cursor:pointer;display:grid;place-items:center;color:var(--muted)}
.chip button:hover{background:var(--hover);color:var(--ink)}
.chip button{position:relative}.chip button::after{content:"";position:absolute;inset:-6px}
.tag{display:inline-block;font-size:12.5px;font-weight:600;padding:2px 9px;border-radius:999px;background:var(--soft);color:var(--muted)}
.notice{border-left:3px solid var(--rule-strong);padding:10px 14px;background:var(--soft);border-radius:0 8px 8px 0;font-size:14.5px}
.notice.warn{border-color:#c58a1c;background:var(--warn-bg);color:var(--warn-fg)}
.notice.bad{border-color:var(--danger-fill)}

/* switch rows */
.srow{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:6px 0;border-bottom:1px solid var(--rule)}
.srow:last-child{border-bottom:0}
.srow .l{flex:1;min-width:0}.srow .l small{display:block;color:var(--muted);font-size:13.5px;line-height:1.4}
input.switch{appearance:none;-webkit-appearance:none;width:50px;height:30px;border-radius:999px;background:var(--rule-strong);position:relative;cursor:pointer;flex:none;transition:background var(--t);border:0;margin:0}
input.switch::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0004;transition:transform var(--t) var(--ease)}
input.switch:checked{background:var(--ok)}
input.switch:checked::after{transform:translateX(20px)}
input.switch:disabled{opacity:.45;cursor:not-allowed}
input.switch::before{content:"";position:absolute;inset:-8px -4px}

/* ───────── PREPARE ───────── */
.welcome{display:flex;gap:18px;align-items:center;margin:4px 0 18px}
.mascot{width:72px;flex:none;display:block}
.mascot img{width:100%;height:auto;display:block;mix-blend-mode:multiply}
html[data-theme=dark] .mascot{background:#e9e0cc;border-radius:16px;padding:6px}
.prep{max-width:760px}
.composer{border:1px solid var(--rule-strong);border-radius:14px;background:var(--field);transition:border-color var(--t),box-shadow var(--t)}
.composer.drag{border-color:var(--focus);box-shadow:0 0 0 3px #2468a833}
.composer:focus-within{border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
.composer textarea{display:block;width:100%;min-height:190px;border:0;background:transparent;resize:vertical;padding:16px 16px 8px;font-size:16.5px;line-height:1.55;outline:0}
.composer textarea::placeholder{color:var(--muted);opacity:1}
.composer .files{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 8px}
.composer .bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 8px 8px;border-top:1px solid var(--rule)}
.composer .bar .grow{flex:1}
.derived{color:var(--muted);font-size:13.5px;margin:8px 4px 0;min-height:20px}
.startrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0 10px}
.truth{display:flex;flex-wrap:wrap;gap:4px 16px;color:var(--muted);font-size:14px;margin:0 2px}
.truth a,.link{color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;background:none;border:0;padding:0;font:inherit;min-height:0}
.link.pad{padding:12px 4px;min-height:44px}

/* sheets in the workspace (permission / recovery) */
.sheet{max-width:560px;border:1px solid var(--rule-strong);border-radius:14px;background:var(--surface);padding:20px;margin-top:16px}
.sheet h2{font-size:18px;margin-bottom:6px}
.sheet .row{margin-top:16px}

/* ───────── LIVE workspace (behind the panel) ───────── */
.livepage{max-width:640px}
.livehead{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.statuschip{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:17px}
.dot{width:12px;height:12px;border-radius:50%;flex:none;background:var(--muted);box-shadow:0 0 0 3px #7f8b9633}
.dot.ok{background:var(--ok);box-shadow:0 0 0 3px #2d6a4d33}
.dot.busy{background:#c58a1c;box-shadow:0 0 0 3px #c58a1c33}
.dot.bad{background:var(--danger-fill);box-shadow:0 0 0 3px #a62b3833}
.dot.hear{background:#3d88c9;box-shadow:0 0 0 3px #3d88c933}
.list{list-style:none;margin:0;padding:0}
.list li{padding:10px 0;border-bottom:1px solid var(--rule)}
.list li:last-child{border-bottom:0}
details.plain>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;font-size:15px;list-style:none;border-radius:8px}
details.plain>summary::-webkit-details-marker{display:none}
details.plain>summary::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);margin:0 6px 0 4px;transition:transform var(--t)}
details.plain[open]>summary::before{transform:rotate(45deg)}

/* ───────── RESULT / HISTORY ───────── */
.res{max-width:760px}
.resbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.block{padding:18px 0;border-top:1px solid var(--rule)}
.qa{padding:12px 0;border-bottom:1px solid var(--rule)}
.qa:last-child{border-bottom:0}
.qa q{display:block;font-style:normal;color:var(--muted);font-size:14.5px;margin-bottom:4px;quotes:none}
pre.code,.code{font:13.5px/1.55 var(--mono);background:#0f1a24;color:#e8e2d3;border-radius:10px;padding:12px 14px;overflow:auto;white-space:pre;margin:8px 0 0;tab-size:4}
.hist{max-width:760px}
.hitem{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--rule)}
.hitem .open{flex:1;min-height:64px;text-align:left;background:none;border:0;padding:10px 8px;cursor:pointer;border-radius:8px;display:block}
.hitem .open:hover{background:var(--hover)}
.hitem b{display:block;font-weight:600}
.empty{padding:36px 0;max-width:460px}
.empty .mascot{margin-bottom:14px}

/* ───────── test ───────── */
.test{max-width:760px}
.task{padding:16px 0;border-top:1px solid var(--rule)}
.task .head{display:flex;gap:12px;align-items:flex-start}
.task .num{width:28px;height:28px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-weight:700;font-size:14px;flex:none;margin-top:2px}
.task.done .num{background:var(--ok);color:#fff}
.rate{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0 40px}
.rate label{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 14px;border:1px solid var(--rule-strong);border-radius:10px;cursor:pointer;background:var(--field);font-size:14.5px}
.rate input{accent-color:var(--primary-bg);width:18px;height:18px}
.rate label:has(input:checked){background:var(--soft);border-color:var(--ink)}
.rate label:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.task .field.note{margin:8px 0 0 40px;width:calc(100% - 40px)}
.q{margin:18px 0}
.q label{display:block;font-weight:600;margin-bottom:6px}
.taskbar{position:relative;z-index:10;background:var(--primary-bg);color:var(--primary-fg);display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 16px;font-size:14.5px}
.taskbar b{font-weight:650}
.taskbar .grow{flex:1;min-width:200px}
.taskbar .btn{min-height:44px;background:transparent;color:inherit;border-color:#ffffff66}
html[data-theme=dark] .taskbar .btn{border-color:#14283a66}
.taskbar .btn.go{background:var(--primary-fg);color:var(--primary-bg);border-color:var(--primary-fg)}

/* ───────── SETTINGS dialog ───────── */
dialog.settings{border:1px solid var(--rule-strong);border-radius:16px;background:var(--surface);color:var(--ink);padding:0;width:min(620px,calc(100vw - 20px));max-height:min(760px,calc(100dvh - 24px));box-shadow:0 20px 60px #0006;overflow:hidden}
dialog.settings[open]{display:flex;flex-direction:column;animation:dlgIn var(--t) var(--ease)}
dialog.settings::backdrop{background:#0b121a66}
@keyframes dlgIn{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
.dlg-head{display:flex;align-items:center;gap:8px;padding:12px 12px 8px 20px}
.dlg-head h2{flex:1;font-size:18px;margin:0}
.dlg-tabs{padding:0 20px 12px;border-bottom:1px solid var(--rule)}
.dlg-tabs .seg{width:100%}.dlg-tabs .seg button{flex:1}
.dlg-body{padding:6px 20px 22px;overflow:auto;flex:1}
.dlg-body section{margin-top:18px}
.dlg-foot{padding:10px 20px;border-top:1px solid var(--rule);color:var(--muted);font-size:13px}
.preview{background:var(--lv-bg);color:var(--lv-ink);border-radius:12px;padding:14px 16px;margin:8px 0 6px}
.preview .cap{color:var(--lv-muted);font-size:12.5px;margin-bottom:6px}
.preview .say{line-height:1.45}
.preview code{font:.8em/1.4 var(--mono);color:#e8e2d3;display:block;margin-top:8px}
.range{width:100%;min-height:44px;accent-color:var(--primary-bg)}
html[data-theme=dark] .range{accent-color:#efe9db}
.kv{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:6px 0}
dialog details.plain{border-bottom:1px solid var(--rule)}
dialog details.plain>summary{min-height:52px}
dialog details.plain>div{padding:0 0 16px}
.field-label{display:block;font-size:14px;font-weight:600;margin:12px 0 6px}
.kbd{font:12.5px var(--mono);border:1px solid var(--rule-strong);border-bottom-width:2px;border-radius:6px;padding:1px 6px;background:var(--field);white-space:nowrap}

/* ───────── LIVE PANEL (the only floating surface) ───────── */
.live{position:fixed;right:24px;bottom:24px;z-index:20;width:min(468px,calc(100vw - 16px));height:min(580px,calc(100dvh - 120px));min-height:380px;background:var(--lv-bg);color:var(--lv-ink);border:1px solid #3a4a5a;border-radius:16px;box-shadow:0 18px 50px #0007,0 2px 6px #0004;display:flex;flex-direction:column;overflow:hidden;font-size:15px;opacity:1;transform:none;transition:opacity var(--t) var(--ease),transform var(--t) var(--ease)}
.live.out{opacity:0;transform:translateY(8px)}
.live.rail{height:auto;min-height:0;width:min(420px,calc(100vw - 16px));border-radius:14px}
.live :focus-visible{outline-color:var(--lv-focus)}
.live .btn{background:#202d3a;border-color:#3b4d5f;color:var(--lv-ink)}
.live .btn:hover{background:#2a3948}
.live .btn.primary{background:var(--lv-primary-bg);border-color:var(--lv-primary-bg);color:var(--lv-primary-fg)}
.live .btn.primary:hover{filter:brightness(.94);background:var(--lv-primary-bg)}
.live .btn.danger{background:var(--danger-fill);border-color:var(--danger-fill);color:#fff}
.live .icon-btn:hover{background:#26343f}
.lv-head{display:flex;align-items:center;gap:4px;padding:8px 6px 8px 14px;border-bottom:1px solid var(--lv-rule);cursor:grab;touch-action:none;user-select:none;flex:none}
.lv-head:active{cursor:grabbing}
.lv-head button,.lv-head .menu{cursor:pointer}
.lv-status{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;min-height:44px}
.lv-status b{font-size:17px;font-weight:650;display:flex;align-items:center;gap:10px;line-height:1.25}
.lv-status small{color:var(--lv-muted);font-size:12.5px;line-height:1.35}
.ldot{width:11px;height:11px;border-radius:50%;flex:none}
.ldot.ok{background:var(--lv-ok)}.ldot.busy{background:var(--lv-warn)}.ldot.hear{background:#7db7ea}.ldot.bad{background:var(--lv-bad)}.ldot.idle{background:var(--lv-muted)}
.ldot.bad{border-radius:2px;transform:rotate(45deg);width:10px;height:10px}   /* shape differs from colour alone */
.ldot.busy{border-radius:3px}
.lv-body{flex:1;min-height:0;overflow:auto;padding:14px 16px;overscroll-behavior:contain;position:relative}
.lv-body>*+*{margin-top:14px}
.lv-q{color:var(--lv-muted);font-size:14px;line-height:1.45}
.lv-q b{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;color:var(--lv-muted);font-weight:600}
.lv-q span{color:var(--lv-ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pipe{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;font-size:12px;color:var(--lv-muted)}
.pipe i{display:block;border-top:3px solid var(--lv-rule);padding-top:4px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pipe i.on{border-color:var(--lv-accent);color:var(--lv-ink);font-weight:600}
.pipe i.done{border-color:var(--lv-ok);color:var(--lv-ink)}
.lv-empty{color:var(--lv-muted);padding:6px 0}
.lv-empty b{display:block;color:var(--lv-ink);font-size:16px;margin-bottom:4px;font-weight:600}
.say{font-size:var(--say,18px);line-height:1.45;letter-spacing:-.005em;overflow-wrap:anywhere}
.say.fresh{animation:viewIn var(--t) var(--ease)}
.lv-more{border-top:1px solid var(--lv-rule);padding-top:10px}
.lv-more>button.tog{min-height:44px;background:none;border:0;color:var(--lv-accent);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:0;border-radius:8px}
.lv-more ul{margin:8px 0 0;padding-left:20px;font-size:calc(var(--say,18px) - 2px);line-height:1.45}
.lv-more li+li{margin-top:6px}
.gloss{color:var(--lv-muted);font-size:calc(var(--say,18px) - 3px);margin-top:6px}
.lv-code{position:relative}
.lv-code .cb{background:var(--lv-code);border:1px solid var(--lv-rule);border-radius:10px;overflow:hidden}
.lv-code pre{margin:0;padding:10px 12px;font:13.5px/1.55 var(--mono);color:#e8e2d3;overflow:auto;white-space:pre;max-height:6.6em;transition:max-height var(--t) var(--ease)}
.lv-code.open pre{max-height:30em}
.lv-code .cbar{display:flex;gap:4px;align-items:center;justify-content:space-between;padding:2px 4px 2px 12px;border-bottom:1px solid var(--lv-rule);color:var(--lv-muted);font-size:12.5px}
.lv-code .cbar .btn{min-height:44px;padding:0 10px;font-size:13.5px;background:transparent;border-color:transparent;color:var(--lv-accent)}
.lv-cont{border-left:3px solid var(--lv-accent);padding:4px 0 4px 12px}
.lv-cont small{display:block;color:var(--lv-muted);font-size:12.5px;margin-bottom:4px}
.lv-cont .say{font-size:var(--say,18px)}
.lv-note{background:#1c2a37;border-radius:10px;padding:12px 14px;font-size:14.5px;color:var(--lv-ink)}
.lv-note.bad{border-left:3px solid var(--lv-bad)}.lv-note.warn{border-left:3px solid var(--lv-warn)}
.lv-note .row{margin-top:10px}
.lv-src{color:var(--lv-muted);font-size:12.5px}
.lv-notes textarea{width:100%;min-height:96px;background:var(--lv-field);border:1px solid var(--lv-rule);border-radius:10px;color:var(--lv-ink);padding:10px 12px;resize:vertical;font-size:15px}
.lv-foot{flex:none;border-top:1px solid var(--lv-rule);padding:10px 12px 12px;display:flex;flex-direction:column;gap:8px}
.lv-assist{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.lv-assist .btn{min-height:56px;flex-direction:column;gap:2px;padding:6px 6px;font-size:14px;line-height:1.2;text-align:center}
.lv-assist .btn svg{width:18px;height:18px}
.lv-ask{display:flex;gap:6px;align-items:center}
.lv-ask input{flex:1;min-width:0;min-height:46px;background:var(--lv-field);border:1px solid var(--lv-rule);border-radius:10px;color:var(--lv-ink);padding:0 12px;font-size:15px}
.lv-ask input::placeholder{color:var(--lv-muted);opacity:1}
.lv-ask .btn{padding:0 14px}
.lv-ask .btn.danger{min-width:96px}
.lv-disc{color:var(--lv-muted);font-size:12px;text-align:center;line-height:1.3}
.railrow{display:flex;align-items:center;gap:8px;padding:8px 8px 8px 14px;cursor:grab;touch-action:none}
.railrow .lv-status{min-height:44px}
.railrow .btn{min-height:44px;padding:0 14px}
.menu{position:absolute;right:6px;top:56px;z-index:5;min-width:260px;background:#1e2b38;border:1px solid #3b4d5f;border-radius:12px;padding:6px;box-shadow:0 10px 30px #0008}
.menu button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 12px;background:none;border:0;border-radius:8px;color:var(--lv-ink);font-size:15px;text-align:left;cursor:pointer}
.menu button:hover,.menu button:focus-visible{background:#2a3b4b}
.menu hr{border:0;border-top:1px solid var(--lv-rule);margin:4px 2px}
.menu .kbd{background:#16202a;border-color:#3b4d5f;color:var(--lv-muted)}
.menu .chk{color:var(--lv-ok);font-weight:700;width:18px}

/* permission card inside the panel */
.lv-perm{border:1px solid var(--lv-rule);border-radius:12px;padding:14px}
.lv-perm b{display:block;margin-bottom:4px;font-size:16px}
.lv-perm .row{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}

/* ───────── hidden state ───────── */
.hidden-stage{position:fixed;inset:0;z-index:30;background:var(--bg);display:grid;place-items:center;padding:24px}
.hidden-stage .note{max-width:440px;text-align:left}
.hidden-stage .note h1{font-size:20px}
.statusitem-wrap{position:fixed;top:44px;right:16px;z-index:35}
.statusitem{min-height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--rule-strong);background:var(--surface);cursor:pointer;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14.5px}
.statusmenu{position:absolute;right:0;top:50px;min-width:300px;background:var(--surface);border:1px solid var(--rule-strong);border-radius:12px;padding:6px;box-shadow:0 14px 34px #0004}
.statusmenu button{display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;background:none;border:0;border-radius:8px;font-size:15px;cursor:pointer;text-align:left}
.statusmenu button:hover{background:var(--hover)}
.statusmenu hr{border:0;border-top:1px solid var(--rule);margin:4px 2px}
.companion{position:fixed;right:20px;bottom:20px;z-index:36;width:84px;background:none;border:0;padding:0;cursor:pointer;border-radius:16px}
.companion img{width:100%;display:block;mix-blend-mode:multiply}
html[data-theme=dark] .companion{background:#e9e0cc;padding:6px}

/* prototype state-jump pill (not part of the product) */
.strip-btn{min-height:44px;margin-left:10px;padding:0 12px;border-radius:999px;border:1px dashed var(--rule-strong);background:var(--surface);color:var(--ink);font-size:13px;cursor:pointer}
.states-wrap{display:inline}
.states-pop{position:fixed;left:12px;top:56px;z-index:70;text-align:left;width:min(340px,calc(100vw - 24px));max-height:min(75dvh,560px);overflow:auto;background:var(--surface);color:var(--ink);border:1px solid var(--rule-strong);border-radius:12px;padding:10px;box-shadow:0 14px 34px #0005}
.states-pop h3{margin:10px 4px 6px}
.states-pop .g{display:flex;flex-wrap:wrap;gap:6px}
.states-pop .g button{min-height:44px;padding:0 12px;border:1px solid var(--rule);border-radius:8px;background:var(--field);font-size:13.5px;cursor:pointer}
.states-pop .g button:hover{background:var(--hover)}
.states-pop p{padding:2px 4px 0}
.toast{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);z-index:60;background:var(--primary-bg);color:var(--primary-fg);padding:10px 16px;border-radius:10px;font-size:14.5px;max-width:calc(100vw - 32px);transition:opacity var(--t)}

/* ───────── motion preferences ───────── */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
html[data-motion=off] *,html[data-motion=off] *::before,html[data-motion=off] *::after{animation:none!important;transition:none!important}

/* ───────── responsive ───────── */
@media (max-width:720px){
  .top{padding:8px 12px 0}
  main{padding:16px 14px 150px}
  h1{font-size:22px}
  .nav button{padding:0 10px}
  .nav .lbl{display:none}
  .live{right:8px;left:8px;bottom:8px;width:auto;height:min(78dvh,620px)}
  .live.rail{width:auto;height:auto}
  .lv-head,.railrow{cursor:default}
  .composer textarea{min-height:150px}
  .startrow .btn.big{width:100%}
  .companion{width:64px}
  .menu{right:4px}
}
@media (max-width:420px){.lv-assist .btn{font-size:13px}.lv-ask .btn.danger{min-width:84px}}
@media (min-width:721px) and (max-height:700px){.live{height:calc(100dvh - 96px)}}

/* Root visual review: quiet backdrop, readable actions, code room. */
.liveback{max-width:360px;padding-top:48px;opacity:.82}
.liveback h1{font-size:40px;line-height:1.15;margin:20px 0}
.liveback .lede{font-size:16px}
.live.code-expanded{width:min(650px,calc(100vw - 32px));height:min(730px,calc(100dvh - 156px))}
.lv-assist .btn{font-size:14px;line-height:1.3;min-height:48px}
@media(max-width:1000px){.liveback{max-width:240px}.liveback h1{font-size:30px}}
@media(max-width:720px){.liveback{padding-top:0;max-width:none}.liveback h1{font-size:24px;margin:10px 0}.liveback .lede{display:none}.live.code-expanded{width:auto;height:calc(100dvh - 90px)}}


:root{--meet-editor:#10171d;--meet-hover:#303f49;--meet-danger:#843840;--meet-danger-edge:#c38086;--meet-avatar:#3a5152;--meet-avatar-text:#e3eee8;--meet-self:#3d424f;--meet-peek:#446052;--cue-edge:#81968c;--cue-bg:#202b2b;--cue-text:#f0f3ed;--cue-shadow:#0006;--cue-rule:#536761;--cue-muted:#bdd3c8;--cue-prefix:#d1dcd5;--cue-button:#283631;--cue-hover:#34483c;--cue-selected:#c5d8c9;--cue-selected-text:#172b22;--cue-selected-edge:#d8eadc}
[data-theme="light"]{--cue-edge:#6c8075;--cue-bg:#edf1ea;--cue-text:#20392c;--cue-rule:#9aaba0;--cue-muted:#435c4e;--cue-prefix:#334f3e;--cue-button:#f8faf6;--cue-hover:#e1eadd;--cue-selected:#294e3a;--cue-selected-text:#f3f7ef;--cue-selected-edge:#244833}
/* Full-screen meeting review. Existing answer/code panel remains available. */
:root{--meet-bg:#141b21;--meet-surface:#1c262e;--meet-text:#e5e9e6;--meet-muted:#b5c0c4;--meet-line:#65737c;--meet-accent:#b4cfc0}
body.meeting{overflow:hidden;background:var(--meet-bg)}
.meeting .proto-strip,.meeting #app>.top,.meeting #taskbar{display:none}
.meeting #main{padding:0;max-width:none}
.meeting #main>.view{animation:none}
#workspace{position:fixed;inset:0;display:flex;flex-direction:column;background:var(--meet-bg);color:var(--meet-text);font-size:14px}
#workspace .btn,#workspace .icon-btn{background:var(--meet-surface);color:var(--meet-text);border:1px solid var(--meet-line);min-height:44px}
#workspace .btn:hover,#workspace .icon-btn:hover{background:var(--meet-hover)}
#workspace .danger{background:var(--meet-danger);border-color:var(--meet-danger-edge);color:white}
.meeting-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-bottom:1px solid var(--meet-line)}
.meeting-top>div{display:flex;align-items:center;gap:12px}
.share-dot{width:8px;height:8px;border-radius:50%;background:var(--meet-accent)}
.meeting-demo{color:var(--meet-muted);font-size:12px}
.workspace-body{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:16px;flex:1;min-height:0;padding:16px}
.editor{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid var(--meet-line);border-radius:12px;background:var(--meet-editor)}
.editor-tabs,.editor-foot{display:flex;justify-content:space-between;gap:12px;padding:12px 20px;color:var(--meet-muted);border-bottom:1px solid var(--meet-line)}
.editor-foot{border-top:1px solid var(--meet-line);border-bottom:0;font-size:12px}
.coding-brief{padding:24px 28px 12px}
.coding-brief h1{font-size:clamp(20px,2.2vw,30px);letter-spacing:-.6px;margin:12px 0;color:var(--meet-text)}
.coding-brief p{color:var(--meet-muted);margin:8px 0}
.coding-brief code{display:block;white-space:normal;color:var(--meet-accent);font-size:13px}
.editor-label{font-size:12px;color:var(--meet-muted);padding:12px 28px 8px}
#sharedEditor{flex:1;min-height:100px;width:100%;resize:none;padding:12px 28px;border:0;background:transparent;color:var(--meet-text);font:16px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;border-radius:0}
#sharedEditor:focus{outline:2px solid var(--meet-accent);outline-offset:-3px;box-shadow:none}
.participants{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto}
.person{min-height:150px;background:var(--meet-surface);border:1px solid var(--meet-line);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:16px;text-align:center}
.avatar{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--meet-avatar);color:var(--meet-avatar-text);font-size:20px}
.avatar.self{background:var(--meet-self)}
.person small,.meeting-caption>span{font-size:12px;color:var(--meet-muted)}
.meeting-caption{padding:12px 4px}
.meeting-caption p{font-size:18px;line-height:1.5;min-height:54px}
.meeting-bottom{padding:8px 20px 12px;border-top:1px solid var(--meet-line);background:var(--meet-bg)}
.meeting-bottom p{color:var(--meet-muted);margin:0 0 8px;font-size:12px}
.meeting-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.meeting-shortcuts{font-size:12px;color:var(--meet-muted);margin-top:8px}
.meeting .live{bottom:128px;right:20px;max-height:calc(100dvh - 212px)}
.meeting .live.cue{width:min(570px,calc(100vw - 32px));height:auto;min-height:0;max-height:calc(100dvh - 200px);border:1px solid var(--cue-edge);border-radius:16px;background:var(--cue-bg);color:var(--cue-text);overflow:auto;box-shadow:0 18px 60px var(--cue-shadow)}
.cue-head{padding:4px 12px 4px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--cue-rule)}
.cue-head b{font-size:15px;font-weight:500}
.cue-head>div{display:flex}
.cue-head .icon-btn{color:var(--cue-text)}
#cueContent{padding:12px 16px 10px}
.cue-caption{font-size:12px;display:flex;align-items:center;gap:8px;color:var(--cue-muted)}
.cue-meta{margin-left:auto}
.cue-prefix{font-size:calc(var(--say) + 1px);margin:10px 4px;color:var(--cue-prefix)}
.cue-prefix>span{color:var(--cue-muted)}
.cue-options{display:grid;gap:6px}
.cue-choice{display:flex;align-items:center;text-align:left;gap:12px;width:100%;min-height:48px;padding:9px 12px;border-radius:9px;border:1px solid var(--cue-edge);background:var(--cue-button);color:var(--cue-text);font:inherit;font-size:var(--say);line-height:1.4}
.cue-choice:hover{background:var(--cue-hover)}
.cue-choice:is([aria-pressed=true],[data-selected=true]){background:var(--cue-selected);color:var(--cue-selected-text);border-color:var(--cue-selected-edge)}
.cue-choice:disabled{opacity:.5;cursor:default}
.cue-number{font:12px/1.5 ui-monospace,monospace;border:1px solid currentColor;border-radius:4px;min-width:23px;text-align:center;opacity:.8}
.cue-keys{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:11px;color:var(--cue-muted);flex-wrap:wrap}
.assistant-hidden #live,.assistant-peek #live,.receiver-view.share-window #live{display:none!important}
.receiver-view .participants{visibility:hidden}
.receiver-view .workspace-body{grid-template-columns:1fr}
.receiver-view .participants{display:none}
#peekButton{touch-action:none;user-select:none}
#peekButton:active{background:var(--meet-peek)}
.meeting .live.code-expanded{max-height:calc(100dvh - 212px)}
@media(max-width:900px){
 .workspace-body{grid-template-columns:minmax(0,1fr) 180px;gap:8px;padding:8px}
 .meeting-demo{display:none}
 .meeting-top{padding:8px 12px}
 .meeting-bottom{padding:8px 12px}
 .meeting .live{bottom:172px;max-height:calc(100dvh - 250px)}
 .meeting .live.cue{bottom:172px;max-height:calc(100dvh - 250px)}
 .person{min-height:125px}
 .meeting-shortcuts{display:none}
}
@media(max-width:600px){
 .meeting-top{gap:8px;align-items:flex-start}
 .meeting-top>div{gap:6px}
 .meeting-top>div:first-child{padding-top:12px}
 .meeting-top b{font-size:12px}
 #shareToggle{font-size:11px;max-width:137px;padding:6px}
 .workspace-body{grid-template-columns:1fr}
 .participants{display:none}
 .coding-brief{padding:12px 16px 4px}
 .coding-brief p{display:none}
 .coding-brief .tag{font-size:10px}
 .editor-label{padding:8px 16px;font-size:10px}
 #sharedEditor{font-size:13px;padding:8px 16px}
 .editor-tabs,.editor-foot{padding:8px 12px;font-size:11px}
 .meeting-bottom p{font-size:10px}
 .meeting-controls{gap:6px}
 .meeting-controls .btn{font-size:11px;padding:6px 8px;flex-grow:1}
 .meeting .live,.meeting .live.cue{right:8px;left:8px;width:auto;bottom:170px;max-height:calc(100dvh - 245px)}
 .meeting .live.cue{min-height:0}
 #cueContent{padding:8px 10px}
 .cue-prefix{font-size:16px}
 .cue-choice{font-size:max(15px,calc(var(--say) - 2px));padding:6px 8px;gap:8px}
 .cue-head{padding-left:14px}
 .cue-keys{font-size:10px}
 .cue-keys span{display:none}
 .cue-caption{font-size:10px}
 .cue-meta{display:none}
 .meeting .live.code-expanded{max-height:calc(100dvh - 245px)}
}

.meeting .live{min-height:0}

body.meeting .live,body.meeting .live.cue,body.meeting .live.code-expanded{bottom:var(--meeting-floor,128px);max-height:calc(100dvh - var(--meeting-floor,128px) - var(--meeting-ceiling,84px))}

/* Pointer-transparent reading surface; control dock stays deliberately interactive. */
body.pointer-free #live{pointer-events:none}
body.pointer-free #live .cue-head>div,
body.pointer-free #live .lv-head>button,
body.pointer-free #live .lv-foot,
body.pointer-free #live .lv-body button,
body.pointer-free #live .lv-more,
body.pointer-free #live .lv-src{display:none}
body.pointer-free #live .cue-head{min-height:44px}
body.pointer-free #live .cue-choice:hover{background:var(--cue-button)}
body.pointer-free #live .cue-choice:is([aria-pressed=true],[data-selected=true]){background:var(--cue-selected)}
body.pointer-free #live.pointer-reveal{
 -webkit-mask-image:radial-gradient(circle 94px at var(--pointer-x) var(--pointer-y),transparent 0 62px,#000 94px);
 mask-image:radial-gradient(circle 94px at var(--pointer-x) var(--pointer-y),transparent 0 62px,#000 94px);
}
.control-dock{position:fixed;right:16px;top:80px;width:236px;z-index:40}
.control-dock>button{width:100%;box-shadow:0 6px 20px var(--cue-shadow)}
.control-dock .meeting-controls{display:none;padding:12px;margin-top:8px;border:1px solid var(--meet-line);border-radius:12px;background:var(--meet-bg);box-shadow:0 10px 30px var(--cue-shadow);max-height:calc(100dvh - 160px);overflow:auto;grid-template-columns:1fr 1fr}
.controls-open .control-dock .meeting-controls{display:grid}
.control-dock .meeting-controls>.dock-note,.control-dock .meeting-controls>.dock-switch{grid-column:1/-1}
.dock-note{font-size:12px;color:var(--meet-muted);line-height:1.5}
.dock-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:13px}
.dock-switch input{width:42px;height:24px;accent-color:var(--meet-accent)}
body.pointer-free #peekButton{display:none}
body.meeting .meeting-shortcuts{display:block;line-height:1.7}

body.scene-talk .workspace-body{display:block}
body.scene-talk .editor{display:none}
body.scene-talk .participants{height:100%;display:block;position:relative;overflow:hidden}
body.scene-talk .person.interviewer{height:100%;justify-content:flex-start;padding-top:52px;background:radial-gradient(ellipse at 50% 28%,var(--meet-avatar),var(--meet-bg) 75%)}
body.scene-talk .person.interviewer .avatar{width:132px;height:132px;font-size:44px}
body.scene-talk .person:not(.interviewer),body.scene-talk .meeting-caption{display:none}
body.meeting.scene-talk .live.cue{left:50%;right:auto;top:38vh;bottom:auto;transform:translateX(-50%);width:min(620px,calc(100vw - 32px));max-height:calc(62dvh - var(--meeting-floor,100px))}
body.meeting.controls-open .live{right:268px;width:min(650px,calc(100vw - 284px))}
body.meeting.scene-talk.controls-open .live.cue{left:calc((100vw - 260px)/2);right:auto;width:min(620px,calc(100vw - 284px))}
@media(max-width:900px){
 .control-dock{top:76px;right:8px;width:210px}
 body.meeting.controls-open .live{right:8px;width:auto}
 body.meeting.scene-talk.controls-open .live.cue{left:50%;width:calc(100vw - 16px)}
 .controls-open #live{opacity:.16}
 .control-dock .meeting-controls{max-height:calc(100dvh - 156px)}
 body.scene-talk .person.interviewer{padding-top:48px}
 body.scene-talk .person.interviewer .avatar{width:96px;height:96px;font-size:32px}
 body.meeting.scene-talk .live.cue{top:33vh;max-height:calc(67dvh - var(--meeting-floor,100px))}
}
@media(prefers-reduced-motion:reduce){body.meeting .live{transition:none}}
html[data-motion=off] body.meeting .live{transition:none}

.control-dock .btn{background:var(--meet-surface);color:var(--meet-text);border:1px solid var(--meet-line);min-height:44px;font-size:13px;white-space:normal;min-width:0}
.control-dock .danger{background:var(--meet-danger);color:var(--meet-text)}
.control-dock .meeting-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.control-dock .meeting-controls .btn{width:100%;padding:8px}

@media(max-width:900px){
 body.meeting:not(.interview-demo):not(.scene-talk) .live{max-height:calc(100dvh - var(--meeting-floor,100px) - 140px)}
}

body.scene-talk.receiver-view.share-window .participants{display:none}
body.scene-talk.receiver-view.share-window .editor{display:flex;height:100%}

body.meeting .live{transition:opacity var(--t) var(--ease)}


/* Material study from the owner's window reference; scoped to the assistant. */
:root{
 --stone:#1f1e1c;--hinoki:#d8cbb8;--celadon:#8fa394;--walnut:#3a322c;--terracotta:#a84b3b;
 --glass:rgb(34 33 30 / .94);--glass-field:rgb(15 15 14 / .3);--glass-line:#746c5d;
 --glass-text:#eee6d9;--glass-muted:#c0b39e;--glass-button:#302e28;--glass-code:#1e1e1b;
 --glass-highlight:rgb(255 245 220 / .15);
 --lv-bg:var(--glass);--lv-ink:var(--glass-text);--lv-muted:var(--glass-muted);--lv-rule:var(--glass-line);--lv-code:var(--glass-code);--lv-primary-bg:var(--celadon);--lv-primary-fg:var(--stone);--lv-accent:var(--hinoki);--lv-focus:var(--celadon);--lv-field:var(--glass-field);--lv-ok:#b1d5ba;
 --cue-bg:var(--glass);--cue-text:var(--glass-text);--cue-muted:var(--glass-muted);--cue-prefix:var(--glass-text);--cue-edge:var(--glass-line);--cue-rule:var(--glass-line);--cue-button:transparent;--cue-selected:#a2b3a3;--cue-selected-text:#1b231c;--cue-selected-edge:#c0d0bd;
 --meet-bg:#17191c;--meet-surface:#22252a;--meet-text:#e5e7e9;--meet-muted:#b4b7bc;--meet-line:#494c50;--meet-editor:#17191c;--meet-avatar:#33373c;--meet-self:#383b40;
}
html[data-theme=dark]{--bg:#21211e;--surface:#2c2b27;--field:#1d1e1b;--ink:#eee6d9;--muted:#c0b39e;--rule:#5f594e;--rule-strong:#807665;--primary-bg:var(--celadon);--primary-fg:var(--stone);--hover:#39392f;--soft:#302f29;--focus:var(--celadon)}
html[data-theme=light]{--glass:rgb(239 234 224 / .96);--glass-field:rgb(255 253 246 / .5);--glass-line:#817668;--glass-highlight:rgb(255 255 255 / .45);--glass-text:#292a24;--glass-muted:#5d574a;--glass-button:#dedace;--glass-code:#e5e3d8;--lv-ok:#437254;--cue-selected:#536b58;--cue-selected-text:#fffdf4;--cue-selected-edge:#37543f}
body.meeting .live,body.meeting .live.cue,body.meeting .live.code-expanded{
 background:linear-gradient(145deg,var(--glass-highlight),transparent 35%),var(--glass);
 border:1px solid var(--glass-line);border-radius:22px;
 box-shadow:inset 0 1px 1px rgb(255 243 220 / .19),inset 0 -1px 2px rgb(0 0 0 / .5),0 24px 60px rgb(0 0 0 / .38),0 6px 12px rgb(0 0 0 / .2);
 backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--glass-text);
}
body.meeting .live:not(.cue):not(.rail){height:min(480px,calc(100dvh - var(--meeting-floor,80px) - 140px));width:min(560px,calc(100vw - 32px))}
body.meeting .live.cue,body.meeting.scene-talk .live.cue{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - var(--meeting-floor,80px) - 140px)}
body.meeting.controls-open .live,body.meeting.scene-talk.controls-open .live.cue{width:min(560px,calc(100vw - 284px))}
body.meeting .live.is-pinned{transform:none!important}
body.moving-mode #live{pointer-events:none;outline:2px solid var(--celadon);outline-offset:4px}
body.moving-mode #live #lvDrag{pointer-events:auto;cursor:grab;touch-action:none}
body.moving-mode #live #lvDrag:active{cursor:grabbing}
body.moving-mode #live #lvDrag>button,body.moving-mode #live .cue-head>div.cue-actions{display:none}
body.reading-mode #live{outline:1px solid var(--celadon);outline-offset:3px}
body.meeting:not(.panel-editing) #live .lv-foot{display:none}
body.meeting #live .lv-head,body.meeting #live .cue-head{
 display:flex;align-items:center;gap:10px;min-height:60px;padding:10px 17px;
 background:linear-gradient(180deg,rgb(255 245 220 / .035),transparent);
 border-bottom:1px solid rgb(176 157 125 / .22);
}
.quiet-brand{display:flex;align-items:center;gap:9px;flex:1;min-width:0;white-space:nowrap}
.quiet-brand b{font-size:17px!important;font-weight:400!important;letter-spacing:-.45px!important}
.quiet-mark{display:block;flex:none;width:30px;height:30px;border-radius:9px;box-shadow:0 1px 3px rgb(0 0 0 / .32);background:url(assets/style-reference.png) -23.08px -18.08px / 529.23px 295.38px}
.cue-live-state{font-size:12px;color:var(--glass-muted);display:flex;align-items:center;gap:8px;white-space:nowrap}
.cue-live-state i{width:7px;height:7px;border-radius:50%;background:var(--lv-ok);box-shadow:0 0 10px rgb(177 213 186 / .35)}
body.meeting #live .lv-status{flex:0 1 auto;min-height:0}
body.meeting #live .lv-status b{font-size:12px;font-weight:400;gap:7px;white-space:nowrap;color:var(--glass-muted)}
body.meeting #live .lv-status small{display:none}
body.meeting #live .lv-head>.icon-btn{width:30px;height:30px;min-height:30px}
body.meeting #live #cueContent{
 margin:0 14px;padding:18px 18px 12px;border:1px solid rgb(191 179 154 / .23);
 border-radius:15px;background:linear-gradient(140deg,rgb(255 249 230 / .045),transparent 55%),var(--glass-field);
 box-shadow:inset 0 1px 5px rgb(0 0 0 / .16);overflow:auto;
}
.cue-caption{display:none}
.cue-prefix{margin:0 0 16px;font-size:16px;line-height:1.4;min-height:0;color:var(--glass-muted)}
.cue-prefix b{display:block;margin-bottom:5px;font-size:11px;font-weight:400;color:var(--glass-muted)}
.cue-prefix .spoken{color:var(--glass-text);opacity:.8}
.cue-options{gap:6px}
body.meeting #live .cue-choice{
 border:0;background:transparent;border-radius:10px;min-height:44px;
 gap:12px;padding:8px 0;font-size:max(17px,calc(var(--say) - 1px));font-weight:400;line-height:1.45;color:var(--glass-muted);
}
body.meeting #live .cue-choice:first-child{
 font-size:calc(var(--say) + 10px);line-height:1.23;letter-spacing:-.65px;color:var(--glass-text);
 padding:0 0 17px;margin-bottom:4px;border-bottom:1px solid rgb(191 179 154 / .17);border-radius:0;
}
body.meeting #live .cue-choice .cue-number{font-size:10px;flex:none;border:0;background:rgb(216 203 184 / .06);color:var(--glass-muted);width:22px;height:22px;border-radius:6px}
body.meeting #live .cue-choice:first-child .cue-number{color:var(--stone);background:var(--celadon)}
body.meeting #live .cue-choice:is([aria-pressed=true],[data-selected=true]){background:var(--cue-selected);color:var(--cue-selected-text);padding-left:8px;padding-right:8px;border-radius:10px}
.cue-keys,.speech-progress{display:none}
body.meeting #live .interaction-hint{
 flex:none;border:0;padding:12px 18px 14px;color:var(--glass-muted);font-size:11px;line-height:1.4;background:none;
}
body.meeting #live .lv-body{margin:0 14px;padding:16px 18px;border:1px solid rgb(191 179 154 / .23);border-radius:15px;background:var(--glass-field);scrollbar-width:thin;scrollbar-color:var(--glass-line) transparent}
body.meeting #live .lv-body>*+*{margin-top:16px}
body.meeting #live .lv-q{font-size:12px;border:0;background:none;padding:0;color:var(--glass-muted)}
body.meeting #live .lv-q b,.lv-q strong{display:none}
body.meeting #live .say{font-weight:400;line-height:1.4;letter-spacing:-.25px}
body.meeting #live .lv-code .cb{background:var(--glass-code);border:1px solid rgb(191 179 154 / .25);border-radius:10px}
body.meeting #live .lv-code pre{font-size:13px;line-height:1.7;color:var(--glass-text)}
body.meeting #live .lv-code.open pre{max-height:none;overflow-x:auto;overflow-y:hidden}
body.meeting #live .btn,.control-dock .btn{
 background:linear-gradient(180deg,rgb(255 245 220 / .09),transparent 35%),var(--glass-button);
 color:var(--glass-text);border:1px solid var(--glass-line);border-radius:12px;
 box-shadow:inset 0 1px 1px rgb(255 245 220 / .2),inset 0 -2px 2px rgb(0 0 0 / .3),0 3px 6px rgb(0 0 0 / .3);
 font-weight:400;min-height:44px;
}
body.meeting #live .btn.primary,.control-dock .btn[aria-pressed=true]{background:linear-gradient(180deg,rgb(240 255 240 / .3),transparent 70%),var(--celadon);color:var(--stone)}
.control-dock .btn.danger{background:var(--terracotta);color:#fff7eb}
.control-dock .meeting-controls{background:linear-gradient(135deg,var(--glass-highlight),transparent 30%),var(--glass);backdrop-filter:blur(16px);border:1px solid var(--glass-line);border-radius:18px;padding:12px;gap:9px;color:var(--glass-text);box-shadow:inset 0 1px 1px rgb(255 245 220 / .15),0 14px 40px rgb(0 0 0 / .35)}
.control-dock .dock-note{display:none}
.control-dock .dock-switch{font-size:13px;min-height:44px;padding:0 4px}
.control-dock .dock-switch input{flex:none}
.control-dock details{grid-column:1/-1;border-top:1px solid rgb(191 179 154 / .25);margin-top:3px;padding-top:4px}
.control-dock summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:12px;color:var(--glass-muted);min-height:44px;list-style:none;padding:0 6px}
.control-dock summary::after{content:'+';font-size:20px}
.control-dock details[open] summary::after{content:'−'}
.control-dock .dock-extra{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.control-dock #dockToggle{width:auto;min-width:150px;float:right}
.control-dock .meeting-controls{clear:both;position:relative;top:8px}
body.meeting #live #lvDrag{user-select:none}
.wordmark{font-family:var(--font);font-weight:400;letter-spacing:-.04em}
@media(max-width:900px){
 body.meeting .live:not(.cue):not(.rail){width:calc(100vw - 16px);max-height:calc(100dvh - var(--meeting-floor,80px) - 140px)}
 body.meeting.controls-open .live,body.meeting.scene-talk.controls-open .live.cue,
 body.meeting .live.cue,body.meeting.scene-talk .live.cue{width:min(560px,calc(100vw - 16px))}
}
@media(max-width:500px){
 body.meeting #live .lv-head,body.meeting #live .cue-head{min-height:52px;padding:8px 12px}
 .quiet-brand b{font-size:15px!important}.quiet-mark{display:none}
 body.meeting #live #cueContent,body.meeting #live .lv-body{margin:0 10px;padding:14px 13px 10px}
 body.meeting #live .cue-choice:first-child{font-size:calc(var(--say) + 6px)}
 body.meeting #live .interaction-hint{padding:10px 14px}
 body.meeting #live .lv-head>.icon-btn{display:none}
}
@media(pointer:coarse){
 body.meeting .meeting-shortcuts{display:none}
 .cue-head>.cue-actions{display:none}
 body.meeting #live .lv-code pre{font-size:12px}
}

/* Foundation: stable code, independent speech, deliberate secondary windows. */
html[data-theme=dark]{
 --glass:rgb(21 22 20 / .91);--glass-field:rgb(9 10 9 / .34);--glass-line:#645f54;
 --glass-text:#e5dfd4;--glass-muted:#b8b0a1;--glass-button:#242622;--glass-code:rgb(14 16 14 / .88);
 --glass-highlight:rgb(204 198 178 / .065);
 --bg:#151714;--surface:#1c1e1a;--field:#11130f;--ink:#e5dfd4;--muted:#b8b0a1;
}
body.meeting .live,body.meeting .live.cue,body.meeting .live.code-expanded{border-radius:16px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body.meeting #live .lv-head,body.meeting #live .cue-head{min-height:48px;padding:8px 13px}
.quiet-brand b{color:var(--glass-muted);font-size:15px!important}
.quiet-mark{filter:brightness(.62) saturate(.55);box-shadow:inset 0 0 0 1px #7775,0 1px 2px #0008}
body.meeting #live #cueContent,body.meeting #live .lv-body{margin:0 10px;padding:13px 14px;border-radius:10px}
body.meeting #live .interaction-hint{padding:8px 13px 10px;font-size:10px}
body.meeting .live:not(.cue):not(.rail){width:min(500px,calc(100vw - 32px));height:min(460px,calc(100dvh - var(--meeting-floor,80px) - 110px))}
body.meeting.controls-open .live:not(.cue){width:min(500px,calc(100vw - 284px))}
body.meeting #live .cue-choice:first-child{font-size:calc(var(--say) + 6px);padding-bottom:12px}
body.meeting #live .cue-choice{font-size:max(16px,calc(var(--say) - 2px));min-height:40px}
body.meeting #live .lv-body .lv-q{font-size:11px;margin-bottom:12px;color:var(--glass-muted)}
body.meeting #live .lv-body .lv-src{font-size:10px}
body.meeting #live .coaching{margin-top:0}
.step-roadmap{display:flex;gap:7px;flex-wrap:wrap;font-size:10px;color:var(--glass-muted);line-height:1.6}
.step-roadmap [aria-current]{color:var(--glass-text);border-bottom:1px solid var(--celadon)}
.step-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:12px 0 6px}
.step-title b{font-size:16px;font-weight:500}
.step-title>span{font-size:11px;color:var(--glass-muted)}
.step-say{font-size:var(--say);line-height:1.4;margin:0 0 12px}
body.meeting #live .lv-code pre{font-size:14px;line-height:1.65;padding:8px 0;white-space:pre;direction:ltr;unicode-bidi:isolate}
.code-line{display:flex;min-width:max-content;position:relative;border-left:2px solid transparent}
.line-number{width:38px;flex:none;text-align:right;padding-right:10px;color:#93978e;user-select:none;font-size:11px}
.line-text{padding-right:14px;tab-size:4}
.code-focus{background:rgb(143 163 148 / .09);border-left-color:var(--celadon)}
.code-legend{font-size:9px;color:var(--glass-muted)}
.step-check{border-left:2px solid #736f60;padding:0 0 0 10px;margin-top:14px}
.step-check>span{font-size:11px;color:var(--glass-muted)}
.step-check>p{font-size:13px;margin:3px 0;line-height:1.5;overflow-wrap:anywhere}
.step-explain{font-size:13px;margin-top:12px}
.step-explain summary{min-height:32px;color:var(--glass-muted);cursor:pointer}
.step-actions{display:flex;gap:8px;margin-top:10px}
.step-actions .btn{font-size:12px;flex:1}
body.pointer-free #live .step-actions{display:none}
body.pointer-free #live .step-explain{display:none}
.support-panel{position:fixed;z-index:31;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--glass-line);border-radius:14px;
 background:linear-gradient(140deg,var(--glass-highlight),transparent 45%),var(--glass);color:var(--glass-text);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 box-shadow:inset 0 1px 1px #bfb39a18,0 12px 34px #0005;font-family:var(--font);pointer-events:none}
.support-panel>header{display:flex;align-items:center;gap:8px;min-height:38px;flex:none;padding:4px 11px;border-bottom:1px solid #a99c7c22;font-size:12px;color:var(--glass-muted)}
.support-panel header b{font-weight:500;flex:1}
.support-panel header .icon-btn{width:30px;min-height:30px;color:var(--glass-muted)}
.support-dot{height:6px;width:6px;border-radius:50%;background:var(--celadon)}
.support-content{padding:10px 13px;overflow:auto}
.reply-question{font-size:11px;line-height:1.4;color:var(--glass-muted);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#replyText{font-size:var(--say);line-height:1.4;margin:0;overflow-wrap:anywhere}
.support-panel>footer{font-size:9px;color:var(--glass-muted);padding:7px 12px;flex:none}
.notes-support textarea{background:transparent;color:var(--glass-text);font:13px/1.6 var(--font);border:0;resize:none;flex:1;min-height:0;padding:10px 13px;border-radius:0;direction:auto}
body.reading-mode .support-panel:not(.share-guide){pointer-events:auto;outline:1px solid var(--celadon);outline-offset:2px}
body.pointer-free .support-panel:not(.share-guide) header .icon-btn{visibility:hidden}
body.pointer-free .support-panel.pointer-reveal{mask-image:radial-gradient(circle at var(--pointer-x) var(--pointer-y),transparent 0 44px,#000 78px);-webkit-mask-image:radial-gradient(circle at var(--pointer-x) var(--pointer-y),transparent 0 44px,#000 78px)}
.share-guide{width:min(480px,calc(100vw - 32px));left:24px;top:100px;z-index:60;pointer-events:auto;max-height:calc(100dvh - 140px);overflow:auto}
.share-guide>p{font-size:12px;padding:0 16px;color:var(--glass-muted)}
.share-training-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 16px}
.share-choice{border:1px solid var(--glass-line);border-radius:10px;background:var(--glass-field);color:var(--glass-text);padding:14px 10px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;text-align:left;cursor:pointer;min-height:120px}
.share-choice small{font-size:11px;color:var(--glass-muted)}
#shareTarget{outline:1px solid var(--celadon);outline-offset:3px}
.share-guide-tip{pointer-events:none;position:relative;font-size:12px;color:var(--glass-text);padding:12px 20px}
.share-training-foot{line-height:1.5;padding-bottom:10px}
#codeGuide{position:fixed;z-index:10;pointer-events:none;border-left:2px solid var(--celadon);background:rgb(143 163 148 / .065)}
#codeGuide>span{position:absolute;right:5px;top:0;font:11px/1.5 var(--font);padding:4px 8px;border-radius:6px;background:#171b17ed;color:#c6d0c3}
#replyText,#sideNotesText{unicode-bidi:plaintext}
@media(max-width:1199px){
 body.meeting:not(.interview-demo):not(.scene-talk) .live:not(.rail){left:50%;right:auto;top:220px;bottom:auto;transform:translateX(-50%);width:min(500px,calc(100vw - 16px));height:min(340px,calc(100dvh - 400px));max-height:none}
 body.meeting.controls-open .live:not(.cue){width:min(500px,calc(100vw - 16px))}
 .support-panel .reply-question{display:none}
 .spoken-support .support-content{padding:8px 12px}
 .spoken-support>footer{display:none}
 #replyText{font-size:max(15px,calc(var(--say) - 2px))}
 .control-dock .meeting-controls{max-height:calc(100dvh - 160px)}
 .share-guide{left:16px;top:84px}
}
@media(pointer:coarse){
 .support-panel:not(.share-guide){pointer-events:auto}
 .support-panel header .icon-btn{visibility:visible;min-width:44px;min-height:38px}
}
@media(prefers-reduced-motion:reduce){.support-panel{animation:none;transition:none}}

body.meeting:not(.interview-demo):not(.scene-talk) #live .lv-q{display:none}
.step-roadmap{display:none}
body.reading-mode .step-roadmap,body.panel-editing .step-roadmap{display:flex}
body.meeting #live .cbar{min-height:28px}
@media(max-width:1199px){
 body.meeting:not(.interview-demo):not(.scene-talk) #live .step-title{margin-top:0}
 body.meeting:not(.interview-demo):not(.scene-talk) #live .step-say{font-size:16px}
}

body.meeting.layout-stack:not(.scene-talk) .live:not(.rail){left:50%;right:auto;top:244px;bottom:auto;transform:translateX(-50%);width:min(500px,calc(100vw - 16px));height:min(340px,calc(100dvh - 424px));max-height:none}
@media(max-width:1199px){
 body.meeting:not(.interview-demo):not(.scene-talk) .live:not(.rail){top:244px;height:min(340px,calc(100dvh - 424px))}
}
@media(max-width:600px){
 .control-dock{top:auto;bottom:12px;right:8px}
 .control-dock .meeting-controls{position:absolute;top:auto;bottom:52px;right:0;width:236px;max-height:calc(100dvh - 140px)}
 body.meeting .meeting-shortcuts{display:none}
 .meeting-bottom{min-height:60px;padding:8px 12px}
 .meeting-bottom #shareNote{max-width:calc(100% - 160px);font-size:10px}
 .spoken-support .support-content{padding:8px 12px}
}

.support-panel header .icon-btn{height:30px;min-height:30px}
@media(pointer:coarse){.support-panel header .icon-btn{height:44px;min-height:44px}}

html[data-theme=dark]{--glass-line:#787364}
body.meeting:not(.interview-demo):not(.scene-talk) .live:not(.cue):not(.rail){top:clamp(140px,26vh,240px);bottom:auto;height:min(380px,calc(100dvh - 180px))}
body.meeting:not(.interview-demo):not(.scene-talk) .live.code-full:not(.cue):not(.rail){height:min(460px,calc(100dvh - 180px))}
body.meeting.layout-stack:not(.scene-talk) .live:not(.cue):not(.rail){top:312px;height:min(340px,calc(100dvh - 424px))}
.share-guide header .icon-btn{visibility:visible;min-width:44px;height:38px}
.reply-question{-webkit-line-clamp:1}
@media(max-width:1199px){
 body.meeting:not(.interview-demo):not(.scene-talk) .live:not(.cue):not(.rail),body.meeting:not(.interview-demo):not(.scene-talk) .live.code-full:not(.cue):not(.rail),body.meeting.layout-stack:not(.scene-talk) .live:not(.cue):not(.rail){top:244px;height:min(340px,calc(100dvh - 386px))}
}
@media(max-width:600px) and (max-height:700px){
 body.meeting:not(.interview-demo):not(.scene-talk) #live .step-say{display:none}
 body.reading-mode.meeting:not(.scene-talk) #live .step-say{display:block}
 body.meeting #live .lv-body{padding:9px 11px}
 .step-title{margin:0 0 8px}
}

/* Reserve the existing participant/control column: opening controls never moves reading panes. */
@media(min-width:1200px){
 body.meeting:not(.interview-demo):not(.scene-talk) .live:not(.cue):not(.rail){right:268px}
 body.meeting.layout-stack:not(.scene-talk) .live:not(.cue):not(.rail){right:auto;top:362px;height:min(340px,calc(100dvh - 486px))}
}
.step-check>span,.reply-question{font-size:12px}
@media(max-width:600px){
 body.meeting #live .code-line{min-width:0}
 body.meeting #live .line-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;flex:1}
}

#supportTabs{display:none}
@media(max-width:1199px) and (max-height:620px){
 #supportTabs{position:fixed;display:flex;z-index:32;left:8px;right:8px;top:74px;gap:6px;padding:4px;border-radius:12px;background:var(--glass);border:1px solid var(--glass-line)}
 #supportTabs button{flex:1;min-height:36px;border:0;border-radius:8px;background:transparent;color:var(--glass-muted);font:13px var(--font);cursor:pointer}
 #supportTabs button[aria-pressed=true]{background:var(--glass-button);color:var(--glass-text)}
 body.meeting:not(.interview-demo):not(.scene-talk) #live:not(.rail),body.meeting:not(.interview-demo):not(.scene-talk) #spokenSupport,body.meeting:not(.interview-demo):not(.scene-talk) #notesSupport{left:8px!important;top:128px!important;right:auto!important;bottom:auto!important;transform:none!important;width:calc(100vw - 16px)!important;height:calc(100dvh - 202px)!important;max-height:none!important}
 body:not(.interview-demo):not(.scene-talk)[data-focus-pane=code] #spokenSupport,body:not(.interview-demo):not(.scene-talk)[data-focus-pane=code] #notesSupport,
 body:not(.interview-demo):not(.scene-talk)[data-focus-pane=reply] #live,body:not(.interview-demo):not(.scene-talk)[data-focus-pane=reply] #notesSupport,
 body:not(.interview-demo):not(.scene-talk)[data-focus-pane=notes] #live,body:not(.interview-demo):not(.scene-talk)[data-focus-pane=notes] #spokenSupport{display:none!important}
 body.meeting:not(.interview-demo):not(.scene-talk) #live .step-say{display:none}
 #spokenSupport .reply-question{display:block}
 #spokenSupport>footer{display:block;font-size:11px}
 #notesSupport textarea{font-size:15px}
}

.support-panel>footer{font-size:11px}

html[data-theme=light] .line-number{color:#62675c}
html[data-theme=light] .code-focus{border-left-color:#536b58}

@media(max-width:1199px) and (max-height:620px){
 .control-dock{top:auto;bottom:12px;right:8px}
 .control-dock .meeting-controls{position:absolute;top:auto;bottom:52px;right:0;width:236px;max-height:calc(100dvh - 140px)}
 body.meeting .meeting-bottom .meeting-shortcuts{display:none}
 .meeting-bottom #shareNote{max-width:calc(100% - 160px);font-size:10px}
}
@media(pointer:coarse) and (max-width:1199px) and (max-height:620px){
 #supportTabs button{min-height:44px}
 body.meeting:not(.interview-demo):not(.scene-talk) #live:not(.rail),body.meeting:not(.interview-demo):not(.scene-talk) #spokenSupport,body.meeting:not(.interview-demo):not(.scene-talk) #notesSupport{top:136px!important;height:calc(100dvh - 210px)!important}
}

/* The same Zen surfaces, with a stable cue and a separate rehearsal transport. */
.interview-intro{max-width:720px}
.interview-intro .eyebrow{color:var(--muted);font-size:13px}
.interview-intro details{padding:16px 0;line-height:1.6}
.interview-intro summary{cursor:pointer;min-height:44px}
.interview-demo .workspace-body{grid-template-columns:minmax(0,1fr);padding-right:268px}
.interview-demo .editor{position:relative}
.interview-demo:not(.interview-code) .editor>*:not(.interview-speaker){visibility:hidden}
.interview-demo:not(.interview-code) .editor{border-color:transparent;background:transparent}
.interview-speaker{position:absolute;top:20px;left:50%;transform:translateX(-50%);width:min(640px,90%);display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px}
.interview-speaker>.avatar{width:64px;height:64px;font-size:24px}
.interview-speaker>b{font-size:13px;color:var(--meet-muted)}
.interview-speaker>p{margin:8px 0 0;font-size:18px;line-height:1.45;max-width:600px}
.interview-speaker>small{font-size:11px;color:var(--meet-muted)}
.interview-code .interview-speaker{display:none}
#interviewProfile{position:fixed;z-index:45;top:0;left:0;width:100%;padding:16px;border:1px solid var(--glass-line);background:var(--glass-field);color:var(--glass-text);border-radius:12px;line-height:1.6;font-size:14px}
.interview-demo #spokenSupport{left:calc((100vw - 828px)/2);top:318px;width:560px;height:min(440px,calc(100dvh - 430px));max-height:none}
.interview-demo #spokenSupport>header{min-height:44px;justify-content:space-between}
#interviewStatus{font-size:11px;white-space:nowrap}
.interview-content{padding:16px;flex:1;min-height:0}
.interview-current{position:relative}
.interview-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--glass-muted);margin-bottom:12px}
.interview-meta b{font-weight:500}
#interviewQuestion{display:-webkit-box;-webkit-line-clamp:2;font-size:12px;line-height:1.4;margin-bottom:8px}
#interviewAnswer{font-size:var(--say);line-height:1.5;margin:0;overflow-wrap:anywhere}
.interview-source{font-size:11px;color:var(--glass-muted);margin:12px 0 0}
#interviewSuffix{margin-top:16px;border-left:2px solid var(--celadon);padding-left:12px}
#interviewSuffix>span{font-size:11px;color:var(--glass-muted)}
#interviewSuffix p{margin:6px 0 0;font-size:var(--say);line-height:1.45}
#interviewPending{margin-top:16px;padding-top:12px;border-top:1px solid var(--glass-line)}
#interviewPending>div{display:flex;justify-content:space-between;gap:8px;color:var(--glass-muted);font-size:12px}
#interviewPending b{font-weight:500}
#interviewPending>p{font-size:13px;line-height:1.5;margin:8px 0}
#interviewPending .btn{min-height:44px}
#interviewPending small{display:block;color:var(--glass-muted);font-size:11px;line-height:1.5;margin-top:8px}
.interview-demo #spokenSupport button,.interview-demo #spokenSupport #interviewTurns{pointer-events:auto}
.interview-demo #spokenSupport:has(button:hover){mask-image:none;-webkit-mask-image:none}
.interview-demo #spokenSupport>footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--glass-line);padding:4px 10px;font-size:11px;min-height:52px}
.interview-demo #spokenSupport>footer .btn{font-size:12px;min-height:44px;padding:6px 8px;white-space:nowrap;color:var(--glass-text)}
.interview-demo #spokenSupport .btn{border-color:var(--glass-line);background:var(--glass-button);color:var(--glass-text)}
.interview-demo #spokenSupport .btn.primary{background:var(--celadon);color:var(--stone)}
.interview-demo #spokenSupport button:disabled{opacity:.65;cursor:default}
#interviewTranscript{position:fixed;left:auto;right:16px;top:144px;bottom:114px;width:236px;display:flex;flex-direction:column;pointer-events:auto;z-index:35;background:var(--glass-field);color:var(--glass-text);border:1px solid var(--glass-line);border-radius:12px;overflow:hidden}
#interviewTranscript>header{display:flex;align-items:center;justify-content:space-between;padding:4px 10px;min-height:44px;border-bottom:1px solid var(--glass-line);font-size:13px}
.interview-demo #interviewTranscript header .icon-btn{visibility:visible;min-width:44px;min-height:44px}
#interviewTurns{overflow:auto;min-height:0;flex:1;padding:8px 12px;overscroll-behavior:contain}
#interviewTurns article{padding:12px 0;border-bottom:1px solid var(--glass-line)}
#interviewTurns article>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap;color:var(--glass-muted);font-size:10px}
#interviewTurns article b{font-weight:500;font-size:12px}
#interviewTurns p{margin:6px 0 0;line-height:1.5;font-size:13px}
#interviewTurns [data-speaker=local]{border-left:2px solid var(--celadon);padding-left:8px}
#interviewLatest{font-size:12px;min-height:44px;flex:none}
.interview-demo .meeting-bottom{min-height:100px;padding:10px 20px}
.interview-playback{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.interview-playback .btn{min-height:44px;font-size:13px}
.interview-playback-label{display:flex;flex-direction:column;font-size:11px;color:var(--meet-muted);min-width:98px;gap:4px}
.interview-playback-label b{font-size:13px;color:var(--meet-text);font-weight:500}
#interviewStage{flex-basis:100%;font-size:12px;color:var(--meet-muted)}
.interview-demo .control-dock{top:84px;right:16px;bottom:auto}
.interview-demo .control-dock .meeting-controls{grid-template-columns:1fr;max-height:calc(100dvh - 250px)}
.interview-demo #spokenSupport [hidden],.interview-demo #live[hidden],.interview-demo #supportTabs[hidden]{display:none!important}
.interview-demo.interview-code #spokenSupport{left:max(12px,calc(100vw - 1180px));top:180px;width:min(400px,calc(100vw - 800px));min-width:0;height:min(500px,calc(100dvh - 302px))}
body.interview-demo.interview-code #live:not(.rail){left:auto;right:268px;top:180px;width:500px;height:min(500px,calc(100dvh - 302px));max-height:none;transform:none}
.interview-demo #live .lv-q,.interview-demo #live .lv-note,.interview-demo #live .lv-src,.interview-demo #live .row{display:none}
.interview-demo .meeting-top .meeting-demo{display:inline;font-size:11px}
@media(min-width:1100px){.interview-demo #spokenSupport{overflow:visible}.interview-demo #spokenSupport .interview-content{overflow:auto}.interview-demo #spokenSupport>header{border-radius:14px 14px 0 0}}
@media(max-width:1099px){
 .interview-demo .workspace-body{padding-right:12px}
 .interview-demo .control-dock{top:auto;bottom:116px;right:12px}
 .interview-demo .control-dock .meeting-controls{position:absolute;bottom:52px;top:auto;right:0;width:236px;max-height:calc(100dvh - 240px)}
 .interview-demo #spokenSupport{left:calc((100vw - 560px)/2);width:560px;top:290px;height:calc(100dvh - 410px);min-width:0}
 .interview-demo.interview-code #spokenSupport{left:12px;top:100px;width:calc(45vw - 18px);height:calc(100dvh - 282px);min-width:0}
 body.interview-demo.interview-code #live:not(.rail){left:auto;right:12px;top:100px;width:calc(55vw - 18px);height:calc(100dvh - 282px);transform:none}
 .interview-demo #interviewTranscript{position:static;width:auto;height:200px;margin-top:16px;border-radius:8px}
 .interview-demo.interview-history-open .interview-current{position:sticky;top:-16px;background:var(--glass-field);z-index:2;padding:8px 0}
 .interview-demo #supportTabs{display:none}
}
@media(max-width:649px){
 .interview-demo .meeting-top>div:first-child{padding:0;flex-direction:column;align-items:flex-start;gap:3px}
 .interview-demo .meeting-top .meeting-demo{font-size:10px}
 .interview-demo .meeting-top{min-height:68px;align-items:center}
 .interview-demo .interview-speaker{top:8px;gap:4px}
 .interview-demo .interview-speaker>.avatar{display:none}
 .interview-demo .interview-speaker>p{font-size:14px;margin:4px 0;line-height:1.4}
 .interview-demo .interview-speaker>small{font-size:10px}
 .interview-demo #spokenSupport{left:8px;top:214px;width:calc(100vw - 16px);height:calc(100dvh - 382px);min-width:0;min-height:180px}
 .interview-demo .interview-content{padding:12px}
 .interview-demo #spokenSupport>header{font-size:11px}
 .interview-demo #spokenSupport>footer{gap:4px;padding:4px 6px}
 .interview-demo #interviewMic{max-width:100px}
 .interview-demo #interviewAnswer,.interview-demo #interviewSuffixText{font-size:max(16px,calc(var(--say) - 2px))}
 .interview-demo .meeting-bottom{min-height:156px;padding:8px}
 .interview-playback{gap:6px}
 .interview-playback-label{flex-basis:100%;flex-direction:row;justify-content:space-between}
 .interview-playback .btn{padding:6px 10px;flex:1;font-size:12px}
 #interviewStage{font-size:11px;min-height:28px;padding-right:142px}
 .interview-demo .control-dock{bottom:12px;right:8px}
 .interview-demo .control-dock #dockToggle{min-width:130px;font-size:12px}
 .interview-demo .control-dock .meeting-controls{bottom:52px;max-height:calc(100dvh - 160px)}
 .interview-demo.interview-code #supportTabs{display:flex;position:fixed;z-index:32;left:8px;right:8px;top:74px;gap:6px;padding:4px;background:var(--glass);border:1px solid var(--glass-line);border-radius:12px}
 .interview-demo #supportTabs button{flex:1;min-height:44px;border:0;border-radius:8px;background:transparent;color:var(--glass-muted);font:13px var(--font)}
 .interview-demo #supportTabs button[aria-pressed=true]{background:var(--glass-button);color:var(--glass-text)}
 body.interview-demo.interview-code #live:not(.rail),body.interview-demo.interview-code #spokenSupport{left:8px!important;right:auto!important;top:136px!important;width:calc(100vw - 16px)!important;height:calc(100dvh - 304px)!important;min-height:0;transform:none}
 body.interview-demo.interview-code[data-focus-pane=code] #spokenSupport{display:none!important}
 body.interview-demo.interview-code[data-focus-pane=reply] #live{display:none!important}
 .interview-demo.interview-code #interviewTranscript{height:140px}
 .interview-demo #interviewQuestion{-webkit-line-clamp:1}
}
@media(min-width:650px) and (max-height:700px){
 .interview-demo:not(.interview-code) .interview-speaker{left:20px;transform:none;width:28%;top:20px}
 .interview-demo:not(.interview-code) #spokenSupport{top:90px;left:34%;width:calc(66% - 280px);min-width:320px;height:calc(100dvh - 210px)}
}


body.interview-demo.scene-talk .editor{display:flex;height:100%}
.interview-demo .participants[hidden],.interview-demo #interviewTranscript[hidden]{display:none!important}

@media(max-width:1099px){
 .interview-demo #interviewTranscript{height:180px;min-height:120px;flex:0 1 180px;margin:0 12px 8px}
 .interview-demo.interview-history-open #interviewPending,.interview-demo.interview-history-open #interviewSuffix{display:none}
 .interview-demo.interview-history-open .interview-current{position:static;padding:0;background:transparent}
}
@media(max-width:649px){
 .interview-demo.interview-history-open:not(.interview-code) #spokenSupport{top:112px;height:calc(100dvh - 280px)}
 .interview-demo.interview-history-open:not(.interview-code) .interview-speaker{visibility:hidden}
 .interview-demo #interviewTranscript{height:140px;flex-basis:140px;min-height:100px}
 .interview-demo.interview-history-open #interviewQuestion,.interview-demo.interview-history-open #interviewSource{display:none}
}

/* Owner's sculptural reference: material buttons, fewer frames, quiet live state. */
.interview-demo .quiet-brand b{display:none}
.interview-demo #spokenSupport>header{gap:10px}
.interview-demo #spokenSupport .quiet-brand{flex:none}
.interview-demo #interviewStatus{flex:1;font-size:12px}
.listening-line{width:64px;height:24px;flex:none;color:var(--glass-muted)}
.listening-line path{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;transform-origin:center}
.sim-speaking .listening-line path{animation:quiet-listening 1.4s ease-in-out infinite}
@keyframes quiet-listening{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
html[data-motion=off] .listening-line path{animation:none}
@media(prefers-reduced-motion:reduce){.listening-line path{animation:none!important}}
body.interview-demo #live .lv-body{border:0;box-shadow:none;background:transparent}
body.interview-demo #live .lv-code .cb{border:0;background:var(--glass-code);border-radius:10px}
.interview-demo #live .cbar,.interview-demo #live .code-legend{display:none}
.interview-demo #live .step-check{border:0;padding:0}
.interview-demo #live .lv-head .quiet-brand{flex:none}
.interview-demo #live .lv-head .lv-status{margin-left:0;font-size:12px;color:var(--glass-muted)}
.interview-demo #spokenSupport .btn{background:linear-gradient(180deg,var(--glass-highlight),transparent 45%),var(--glass-button);box-shadow:inset 0 1px 2px var(--glass-highlight),0 2px 5px #0003;border-radius:10px;font-weight:500}
.interview-demo #spokenSupport .btn.primary{background:linear-gradient(180deg,var(--glass-highlight),transparent 55%),var(--celadon);color:var(--stone)}
.interview-result{max-width:760px}
.interview-result h2{font-size:17px;margin:0 0 8px}
.interview-result section{margin:24px 0;line-height:1.6}
.interview-result label{display:block;margin:24px 0 8px}
.interview-result textarea{width:100%;min-height:100px;resize:vertical;font:15px/1.6 var(--font);background:var(--field);color:var(--ink);border:1px solid var(--rule-strong);border-radius:12px;padding:12px}

body.interview-demo #interviewProfile{position:fixed;top:76px;right:16px;left:auto;width:min(360px,calc(100vw - 32px));background:var(--glass);backdrop-filter:blur(14px);z-index:50}

@media(min-width:1100px){
 body.interview-demo #spokenSupport{height:auto;max-height:calc(100dvh - 430px)}
 body.interview-demo.interview-code #spokenSupport{height:auto;max-height:calc(100dvh - 302px)}
 body.interview-demo.interview-code #live:not(.rail){height:min(380px,calc(100dvh - 302px))}
 body.interview-demo.interview-code #live.code-full:not(.rail){height:min(500px,calc(100dvh - 302px))}
}

.interview-demo .quiet-mark{display:inline-block!important;width:24px;height:24px;flex:none}
.interview-demo #spokenSupport.has-next>footer #interviewMic{display:none}
.interview-demo #spokenSupport.has-next>footer [data-act=interview-next-cue]{background:linear-gradient(180deg,var(--glass-highlight),transparent 55%),var(--celadon);color:var(--stone);margin-left:auto}
@media(max-width:1099px){
 .interview-demo.interview-history-open #spokenSupport .support-content{flex:0 1 auto;max-height:48%}
 .interview-demo.interview-history-open #interviewTranscript{flex:1;min-height:100px;height:auto;max-height:none}
}
.interview-demo .control-dock{pointer-events:none}
.interview-demo .control-dock button,.interview-demo .control-dock .meeting-controls{pointer-events:auto}
@media(min-width:650px) and (max-width:1099px){
 .interview-demo .control-dock{bottom:10px;top:auto}
 .interview-demo .meeting-bottom{min-height:120px}
 .interview-demo #interviewStage{padding-right:164px}
}

body.interview-demo.moving-mode:not(.interview-code) #spokenSupport{pointer-events:auto;outline:1px solid var(--celadon)}
body.interview-demo.moving-mode #interviewDrag{cursor:grab;touch-action:none}
body.interview-demo.moving-mode #interviewDrag:active{cursor:grabbing}

@media(min-width:650px) and (max-width:899px), (min-width:650px) and (max-width:1099px) and (max-height:599px){
 .interview-demo.interview-code #supportTabs{display:flex;position:fixed;z-index:32;left:12px;right:12px;top:74px;gap:6px;padding:4px;background:var(--glass);border:1px solid var(--glass-line);border-radius:12px}
 .interview-demo #supportTabs button{flex:1;min-height:44px;border:0;border-radius:8px;background:transparent;color:var(--glass-muted);font:13px var(--font)}
 .interview-demo #supportTabs button[aria-pressed=true]{background:var(--glass-button);color:var(--glass-text)}
 body.interview-demo.interview-code #live:not(.rail),body.interview-demo.interview-code #spokenSupport{left:12px;right:auto;top:136px;width:calc(100vw - 24px);height:calc(100dvh - 266px);max-height:none;min-height:0;transform:none}
 body.interview-demo.interview-code[data-focus-pane=code] #spokenSupport{display:none!important}
 body.interview-demo.interview-code[data-focus-pane=reply] #live{display:none!important}
}
@media(max-height:599px){
 body.interview-demo.interview-code #live .step-say{display:none}
 body.interview-demo #live .interaction-hint{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:20px;padding:2px 10px}
}

.interview-demo #spokenSupport{container-type:inline-size}
@container(max-width:360px){
 .interview-demo #spokenSupport.has-next>footer [data-act=interview-copy]{display:none}
}
@media(min-width:650px) and (max-height:700px){
 body.interview-demo:not(.interview-code) #spokenSupport{height:calc(100dvh - 210px);max-height:calc(100dvh - 210px)}
}

.interview-review-turns summary{min-height:44px;cursor:pointer}
.interview-review-turns article{padding:12px 0;border-bottom:1px solid var(--rule)}
.interview-review-turns article b{font-size:12px;color:var(--muted);font-weight:500}
.interview-review-turns article p{line-height:1.6}

/* Zen refinement: material depth, restrained state motion and deliberate editing. */
html[data-theme=dark]{
 --glass:rgb(15 18 15 / .94);--glass-field:rgb(7 10 7 / .42);--glass-code:rgb(7 10 8 / .96);
 --glass-text:#e8e3d8;--glass-muted:#b7b5a8;--glass-button:#242821;--glass-line:#707267;
 --glass-highlight:rgb(223 231 206 / .08);--celadon:#99ae9c;
 --material-top:#34352f;--material-bottom:#23241f;--material-edge:#12140f;--rim-top:#696a60;--rim-side:#383a31;--button-ink:#ded0bb;--button-highlight:#d1d1b524;
 --material-shine:rgb(236 240 218 / .22);--material-shadow:rgb(0 0 0 / .65);--state-warm:#d2ac76;
}
html[data-theme=light]{
 --material-top:#f1eee4;--material-bottom:#d8d4c8;--material-edge:#aaa99c;--rim-top:#fffdf4;--rim-side:#ccc9bb;--button-ink:#34372e;--button-highlight:#ffffff80;
 --material-shine:rgb(255 255 255 / .8);--material-shadow:rgb(42 46 31 / .22);--state-warm:#795321;
}
.quiet-mark{
 width:30px;height:30px;background-size:1764.1% 984.6%;background-position:4.6225% 6.8116%;
 filter:brightness(.83) saturate(.6);border-radius:8px;
 box-shadow:inset 0 0 0 1px var(--glass-line),0 2px 5px var(--material-shadow);
}
.interview-demo .quiet-mark{width:28px;height:28px}

/* Reference ceramic controls: soft face, fine edge, restrained contact shadow. */
body .btn,
body.interview-demo #spokenSupport .btn,
body.interview-demo #live .btn,
body.interview-demo .control-dock .btn{
 background:linear-gradient(170deg,var(--material-top),var(--material-bottom) 75%) padding-box,
            linear-gradient(155deg,var(--rim-top),var(--rim-side) 20%,var(--material-edge) 75%) border-box;
 border:1px solid transparent;border-radius:14px;color:var(--button-ink);
 box-shadow:inset 0 1px 1px var(--button-highlight),0 1px 2px var(--material-shadow),0 4px 9px var(--material-shadow);
 min-height:48px;font-weight:400;font-size:14px;line-height:1.2;letter-spacing:.003em;gap:9px;
 padding:10px 16px;align-items:center;justify-content:center;
 transition:filter 180ms ease,box-shadow 180ms ease,transform 180ms ease;
}
body .btn:hover:not(:disabled){filter:brightness(1.055)}
body .btn:active:not(:disabled){
 transform:translateY(1px);filter:brightness(.98);
 box-shadow:inset 0 1px 3px var(--material-shadow),0 1px 2px var(--material-shadow);
}
body .btn:focus-visible{outline:2px solid var(--celadon);outline-offset:4px}
body .btn.primary,
body.interview-demo #spokenSupport.has-next>footer [data-act=interview-next-cue],
body.interview-demo #spokenSupport .btn.primary{
 background:linear-gradient(150deg,var(--action-top),var(--action-bottom) 78%) padding-box,
            linear-gradient(150deg,var(--action-rim),var(--action-edge) 85%) border-box;
 color:var(--action-ink);border-color:transparent;
 box-shadow:inset 0 1px 2px #fffaf1aa,0 1px 2px var(--material-shadow),0 4px 9px var(--material-shadow);
}
body .btn.primary:active:not(:disabled){
 box-shadow:inset 0 1px 3px #493a282e,0 1px 2px var(--material-shadow);
}
body .btn.danger svg{color:#a96b52;fill:currentColor}
body .btn .i{width:22px;height:22px;flex:none;display:block;stroke-width:1.65}
body .btn:disabled{filter:none;opacity:.5}
.interview-demo .control-dock .meeting-controls{padding:14px;gap:12px;border-radius:16px;box-shadow:inset 0 1px 1px var(--material-shine),0 14px 40px var(--material-shadow)}
.interview-demo .control-dock .dock-extra{grid-template-columns:1fr}
.interview-demo .control-dock .btn{justify-content:flex-start;padding:10px 12px}
.interview-demo .control-dock #dockToggle{justify-content:center}
.edit-help{font-size:11px;line-height:1.6;color:var(--glass-muted);margin:0 4px}
.listening-state{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#interviewStatus{color:var(--glass-text)}
#interviewStatusDetail{font-size:10px;line-height:1.3;color:var(--glass-muted)}
.interview-demo #spokenSupport>header{min-height:58px;padding:8px 14px;gap:12px}
.listening-line{width:90px;height:28px;color:var(--celadon)}
.listening-line path{animation:none!important;stroke-width:1.6}
.listening-line .wave-halo{stroke-width:5;opacity:.09}
#spokenSupport[data-connection=offline] .listening-line{color:var(--state-warm)}
#spokenSupport[data-connection=offline] #interviewStatusDetail{color:var(--state-warm)}
#spokenSupport[data-phase=preparing]:not([data-connection=offline]) .quiet-mark{
 animation:quiet-preparing 3s ease-in-out infinite;
}
@keyframes quiet-preparing{0%,100%{filter:brightness(.83) saturate(.6)}50%{filter:brightness(1.02) saturate(.65)}}
.interview-demo #spokenSupport{overflow:hidden}
body.interview-demo:not(.interview-code) #spokenSupport{height:min(400px,calc(100dvh - 430px));max-height:none}
body.interview-demo.interview-code #spokenSupport{height:min(420px,calc(100dvh - 302px));max-height:none}
.interview-demo .interview-content{padding:18px 20px;overflow:auto;scrollbar-width:thin}
#interviewAnswer{font-size:calc(var(--say) + 3px);line-height:1.55;letter-spacing:.012em;font-weight:400}
#interviewQuestion{font-size:11px;opacity:.9;-webkit-line-clamp:1;margin:0 0 10px}
#interviewSource{display:none}
.interview-meta{margin-bottom:8px;font-size:11px}
#interviewFlow{font-size:10px;color:var(--glass-muted);margin-top:12px;letter-spacing:.015em}
#interviewFlow:empty{display:none}
#interviewSuffix{margin-top:16px;padding-left:0;border:0}
#interviewSuffix p{font-size:calc(var(--say) - 2px);line-height:1.5;color:var(--glass-muted);margin-top:5px}
#interviewGrammar{font-size:12px;line-height:1.5;color:var(--celadon);margin:12px 0 0}
#interviewPrevious{margin-top:8px;font-size:12px;color:var(--glass-muted);pointer-events:auto}
#interviewPrevious summary{min-height:32px;cursor:pointer;display:flex;align-items:center;gap:6px}
#interviewPrevious summary::before{content:'↶';font-size:16px}
#interviewPrevious p{line-height:1.5;margin:4px 0 0}
#interviewPending{margin-top:12px;padding-top:10px;border-color:var(--glass-highlight)}
#interviewPendingNote{display:none}
#interviewPending p{font-size:12px}
.interview-demo #spokenSupport>footer{padding:8px 12px;gap:8px;min-height:62px;background:var(--glass-field)}
.interview-demo #spokenSupport>footer .btn{font-size:11px;padding:7px 10px}
#interviewMic{font-size:10px}
.interview-demo #spokenSupport.has-next>footer [data-act=interview-copy]{display:none}
.interview-demo #spokenSupport>footer [data-act=interview-copy]:disabled{display:none}
.interview-demo .step-roadmap{gap:8px;flex-wrap:nowrap;overflow:auto;pointer-events:auto}
.interview-demo .step-roadmap button{font:11px var(--font);white-space:nowrap;padding:8px 2px;min-height:36px;color:var(--glass-muted);background:none;border:0;border-bottom:2px solid transparent;cursor:pointer}
.interview-demo .step-roadmap button[aria-current]{border-color:var(--celadon);color:var(--glass-text)}
.interview-demo .step-roadmap button:focus-visible{outline:2px solid var(--celadon)}
.interview-demo .step-title>span{font-size:10px}
.panel-resize{display:none;position:absolute;right:0;bottom:0;z-index:5;border:0;background:var(--glass-button);color:var(--celadon);width:36px;height:36px;align-items:center;justify-content:center;border-radius:12px 0 12px 0;cursor:nwse-resize;touch-action:none;pointer-events:auto}
body.interview-demo.moving-mode #spokenSupport,body.interview-demo.moving-mode #live{pointer-events:auto;mask-image:none;-webkit-mask-image:none;outline:2px solid var(--celadon);outline-offset:3px;z-index:55}
body.interview-demo.moving-mode .panel-resize{display:flex}
body.interview-demo.moving-mode #spokenSupport>footer{padding-right:40px}
body.interview-demo.moving-mode #lvDrag,body.interview-demo.moving-mode #interviewDrag{cursor:grab;pointer-events:auto}

@media(min-width:650px) and (max-width:1099px){
 body.interview-demo:not(.interview-code) #spokenSupport{height:calc(100dvh - 420px)}
}
@media(min-width:650px) and (max-height:700px){
 body.interview-demo:not(.interview-code) #spokenSupport{height:calc(100dvh - 210px)}
}
@media(max-width:649px){
 body.interview-demo:not(.interview-code) #spokenSupport{height:calc(100dvh - 382px);min-height:180px}
 body.interview-demo.interview-code #spokenSupport{height:calc(100dvh - 304px)!important}
 .interview-demo #spokenSupport>header{padding:7px 12px;min-height:54px;gap:8px}
 .listening-line{width:62px}
 .interview-demo .interview-content{padding:12px 14px}
 .interview-demo #interviewAnswer{font-size:max(17px,calc(var(--say) - 1px));line-height:1.5}
 .interview-demo #spokenSupport>footer{padding:6px 8px}
 #interviewPrevious summary{min-height:44px}
 .interview-demo .step-roadmap button{min-height:44px}
 .interview-playback .btn{gap:4px;font-size:11px}
 .interview-playback .btn .i{width:15px;height:15px}
}
@media(min-width:650px) and (max-width:899px), (min-width:650px) and (max-width:1099px) and (max-height:599px){
 body.interview-demo.interview-code #spokenSupport{height:calc(100dvh - 266px);max-height:none}
}
@media(max-width:649px){
 body.interview-demo.interview-history-open:not(.interview-code) #spokenSupport{top:112px;height:calc(100dvh - 280px)}
}
@media(pointer:coarse){.panel-resize{width:44px;height:44px}}
html[data-motion=off] #spokenSupport .quiet-mark{animation:none}
@media(prefers-reduced-motion:reduce){
 #spokenSupport .quiet-mark{animation:none!important}
 .interview-demo .btn{transition:none}
}


/* Keep the sentence, continuation and recovery link within one reading area. */
.interview-demo #interviewQuestion{display:none}
.interview-demo #interviewFlow{display:inline-block;margin-top:10px;vertical-align:middle}
.interview-demo #interviewFlow:empty{display:none}
.interview-demo #interviewPrevious{display:inline-block;vertical-align:middle;margin:4px 0 0 12px}
.interview-demo #interviewPrevious[hidden]{display:none!important}
.interview-demo #interviewPrevious[open]{display:block;margin-left:0}
.interview-demo #interviewSuffix{margin-top:12px}
.interview-demo .interview-content{padding-top:14px;padding-bottom:14px}

/* On roomy coding screens, reserve the workspace instead of covering its editor. */
@media(min-width:1280px) and (min-height:760px){
 .interview-demo.interview-code .workspace-body{padding-right:828px}
 body.interview-demo.interview-code #spokenSupport{left:calc(100vw - 800px);top:86px;width:300px;height:400px}
 body.interview-demo.interview-code #live:not(.rail){left:auto;right:16px;top:86px;width:464px;height:min(380px,calc(100dvh - 202px))}
 body.interview-demo.interview-code #live.code-full:not(.rail){height:calc(100dvh - 202px)}
 .interview-demo.interview-code #interviewTranscript{left:calc(100vw - 800px);right:auto;top:502px;width:300px;bottom:114px}
 .interview-demo.interview-code .control-dock{top:auto;bottom:12px;right:16px}
 .interview-demo.interview-code .control-dock .meeting-controls{position:absolute;bottom:52px;top:auto;right:0;width:236px;max-height:calc(100dvh - 180px)}
}

.interview-demo #spokenSupport.has-next #interviewCount{display:none}
@media(min-width:900px) and (min-height:701px){
 .interview-demo .step-roadmap{display:flex;pointer-events:none}
 .interview-demo.reading-mode .step-roadmap,.interview-demo.panel-editing .step-roadmap{pointer-events:auto}
}
@media(pointer:coarse){.interview-demo .step-roadmap{pointer-events:auto}}

@container(max-width:360px){.interview-demo #spokenSupport>footer #interviewMic{display:none}}
@media(min-width:900px) and (min-height:701px){body.interview-demo.pointer-free #live .step-roadmap button{display:block;pointer-events:none}}

html:not(.brand-ready) .quiet-mark{background-image:none;background-color:var(--glass-button)}
html:not(.brand-ready) .quiet-mark::after{content:'q';display:grid;place-items:center;width:100%;height:100%;font:500 18px var(--font);color:var(--glass-text)}

/* Shared inset and baseline grid for the actual application windows. */
body.interview-demo #spokenSupport>header{padding:8px 16px}
body.interview-demo #spokenSupport .interview-content{padding:16px}
body.interview-demo #spokenSupport>footer{padding:8px 12px;gap:10px;min-height:64px}
body.interview-demo #spokenSupport>footer .btn{font-size:14px;min-height:48px;padding:8px 12px}
body.interview-demo #spokenSupport>footer #interviewMic{display:none}
body.interview-demo #live .lv-head{padding:8px 16px}
body.interview-demo #live .lv-body{margin:0;padding:16px}
body.interview-demo .control-dock .btn{justify-content:flex-start}
body.interview-demo .control-dock #dockToggle{justify-content:center}
body.interview-demo .meeting-top .btn{font-size:14px}
body.interview-demo .interview-playback .btn{font-size:13px;padding:8px 12px;min-height:44px}
body.interview-demo .interview-playback .btn .i{width:18px;height:18px}
@container(max-width:360px){
 body.interview-demo #spokenSupport>footer .btn{font-size:12px;padding:8px;gap:6px}
 body.interview-demo #spokenSupport>footer .btn .i{width:19px;height:19px}
}
@media(max-width:649px){
 body.interview-demo .interview-playback .btn{font-size:11px;padding:6px;gap:4px}
 body.interview-demo .interview-playback .btn .i{width:15px;height:15px}
}

/* Complete window family: shared baseline, inset surface and material controls. */
.quiet-mark{background:url(/assets/support-icon.png) center / contain no-repeat!important;filter:none!important;box-shadow:none}
.quiet-mark::after{display:none!important}
#interviewPending #interviewPendingNote{display:none}
#spokenSupport{--local-cue-opacity:var(--cue-opacity,.94);background:rgb(9 10 9 / var(--local-cue-opacity))}
[data-theme=light] #spokenSupport{background:rgb(250 249 245 / var(--local-cue-opacity))}
.review-links,.design-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
dialog.design-dialog,dialog.settings{padding:0;border:1px solid var(--rule-strong);border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:inset 0 1px #d9d5bb17,0 28px 90px #0008;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}
dialog.design-dialog{width:620px}
dialog.design-dialog[open],dialog.settings[open]{display:flex;flex-direction:column}
dialog.design-dialog[data-kind=catalog]{width:800px}
dialog::backdrop{background:#0a0d0acc;backdrop-filter:blur(6px)}
.dlg-head{padding:16px 20px;gap:12px;border-bottom:1px solid var(--rule)}
.dlg-head .quiet-mark{width:28px;height:28px}.dlg-head h2{font:500 18px/1.35 var(--font);letter-spacing:.005em}
.dlg-body{padding:20px;min-height:0;scrollbar-gutter:stable;overscroll-behavior:contain}
.dlg-body p{line-height:1.55;margin:0 0 16px}.dlg-body h3{margin:24px 0 12px}
.dlg-body .srow{gap:20px;padding:14px 0}.dlg-body .srow>b{text-align:right;font-size:13px;max-width:48%}
.design-foot{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:16px 20px;border-top:1px solid var(--rule);flex:none}
.design-foot .btn{min-width:112px}.dlg-head .icon-btn{flex:none}
.design-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.design-card{display:flex;align-items:center;gap:12px;padding:16px;border-radius:13px;border:1px solid var(--rule);background:var(--soft);color:var(--ink);text-align:left;min-height:88px;cursor:pointer}
.design-card>svg:first-child{color:var(--muted);width:24px;height:24px;flex:none}
.design-card>svg:last-child{width:16px;height:16px;flex:none;margin-left:auto}
.design-card span{min-width:0}.design-card b{font-weight:500;display:block}.design-card small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.4}
.design-card:hover{border-color:var(--rule-strong);background:var(--surface)}
.design-read-preview{padding:20px;margin-top:16px;border-radius:14px;background:var(--soft);line-height:1.55;letter-spacing:.012em}
.design-read-preview span{color:var(--muted)}
.shortcut-list>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--rule)}
.shortcut-list kbd{font:12px/1.4 var(--font);color:var(--muted);max-width:45%}.shortcut-list span{font-size:14px;text-align:right}
.status-chip{border-radius:8px;padding:6px 10px;font-size:12px;background:var(--soft);color:var(--muted);white-space:nowrap}
.connection-example{display:flex;gap:14px;align-items:center;background:var(--soft);padding:20px;border-radius:14px;margin-bottom:20px}
.connection-example p{margin:4px 0 0;color:var(--muted)}
.connection-dot{width:10px;height:10px;background:#c5a777;border-radius:50%;box-shadow:0 0 14px #c5a77755;flex:none}
.file-preview{display:flex;gap:12px;align-items:center;padding:16px;border-radius:12px;background:var(--soft);margin-bottom:20px;overflow-wrap:anywhere}
.design-dialog textarea{resize:vertical;min-height:140px;max-height:35vh}
.design-dialog .notice{margin-top:16px}
.design-dialog .field-label{margin-top:20px}
.design-dialog .range{width:100%;min-height:44px}
.design-dialog .seg button{min-height:44px}
.mascot img,.companion img{object-fit:contain}
.settings .srow select{max-width:52%;min-height:44px}
.settings .field,.design-dialog .field{border-radius:12px;background:var(--soft);border:1px solid var(--rule-strong);padding:14px;line-height:1.5}
.design-dialog :focus-visible,.settings :focus-visible{outline:2px solid #a3b69d;outline-offset:3px}
@media(max-width:560px){
 .design-grid{grid-template-columns:1fr}.design-card{min-height:76px}
 .dlg-head,.dlg-body,.design-foot{padding:16px}
 .design-foot{gap:10px}.design-foot .btn{flex:1;min-width:0}
 .dlg-head h2{font-size:16px}.dlg-head .quiet-mark{width:24px;height:24px}
 .settings .srow{flex-wrap:wrap}.settings .srow select{max-width:100%}
 .design-dialog .srow{flex-wrap:wrap}.design-dialog .srow>b{max-width:55%}
 .review-links{gap:10px}.review-links .btn{flex:1}
}


body:has(dialog[open]){overflow:hidden}
dialog.design-dialog[open]{animation:dlgIn 180ms ease-out}
html[data-motion=off] dialog[open],html[data-motion=off] body .btn{animation:none;transition:none}
@media(prefers-reduced-motion:reduce){dialog.design-dialog[open],body .btn{animation:none;transition:none}}

/* Black ceramic and matching porcelain themes. Modal geometry is preserved. */
:root{
 --action-top:#f5e7d4;--action-bottom:#e5cdb1;--action-rim:#fff6e8;--action-edge:#b8a184;--action-ink:#211e19;
 --sage-top:#b1baa3;--sage-bottom:#96a087;--sage-rim:#d1d8c4;--sage-edge:#79846c;--sage-ink:#1a2117;
}
html[data-theme=dark]{
 --bg:#080909;--surface:#101110;--field:#090a09;--ink:#f2ede4;--muted:#bdbcb4;
 --rule:#3d3f3b;--rule-strong:#777970;--primary-bg:#efddc6;--primary-fg:#211e19;
 --focus:#d5c6ae;--hover:#292b27;--soft:#1c1e1b;--ok:#b1c2a4;
 --glass:rgb(9 10 9 / .96);--glass-field:rgb(8 9 8 / .8);--glass-code:rgb(6 7 6 / .98);
 --glass-text:#f2ede4;--glass-muted:#bdbcb4;--glass-button:#262825;--glass-line:#686b61;--celadon:#acb89d;
 --material-top:#2d2f2b;--material-bottom:#20221f;--material-edge:#494c44;--rim-top:#85877e;--rim-side:#55584f;
 --button-ink:#eee9df;--button-highlight:#ffffff20;--material-shadow:#00000038;
 --lv-bg:#0b0c0b;--lv-field:#080908;--lv-code:#060706;--lv-ink:#f2ede4;--lv-muted:#bdbcb4;--lv-rule:#3d3f3b;
}
html[data-theme=light]{
 --bg:#efefea;--surface:#faf9f5;--field:#ffffff;--ink:#252922;--muted:#60675b;
 --rule:#cecec5;--rule-strong:#838a7b;--primary-bg:#e7d2b7;--primary-fg:#211e19;--focus:#56684b;--soft:#efefe8;--hover:#e6e8df;
 --glass:rgb(250 249 245 / .97);--glass-field:#f0f0e9;--glass-code:#f5f6ef;--glass-text:#252922;--glass-muted:#60675b;--glass-line:#838a7b;--glass-button:#f2f3ec;
 --material-top:#fcfcf8;--material-bottom:#e7eae0;--material-edge:#999f90;--rim-top:#ffffff;--rim-side:#8c9481;
 --button-ink:#252922;--button-highlight:#ffffffcc;--material-shadow:#242b181c;--celadon:#4f6743;
 --action-top:#f5e6d2;--action-bottom:#e6ceb0;--action-rim:#fffaf1;--action-edge:#a39073;--action-ink:#211e19;
 --sage-top:#d5ddc8;--sage-bottom:#b8c6a7;--sage-rim:#f0f4e8;--sage-edge:#849375;--sage-ink:#25311d;
 --lv-bg:#faf9f5;--lv-field:#f0f0e9;--lv-code:#f5f6ef;--lv-ink:#252922;--lv-muted:#60675b;--lv-rule:#cecec5;
}
body .btn[data-act=code-full],body .btn[data-act=meeting-code],body .btn[data-act=finish],body .btn[data-act=screen],
body.interview-demo .control-dock .btn:is([data-act=code-full],[data-act=meeting-code],[data-act=finish],[data-act=screen]){
 background:linear-gradient(150deg,var(--sage-top),var(--sage-bottom)) padding-box,linear-gradient(150deg,var(--sage-rim),var(--sage-edge)) border-box;
 color:var(--sage-ink);box-shadow:inset 0 1px 2px #f8ffe866,0 1px 2px var(--material-shadow),0 4px 9px var(--material-shadow);
}
.wordmark::before{content:'';width:30px;height:30px;display:inline-block;background:url(/assets/support-icon.png) center/contain no-repeat;vertical-align:middle;margin-right:10px}
body.interview-demo .meeting-top,body.interview-demo .meeting-bottom{background:var(--bg);border-color:var(--rule)}
body.interview-demo .editor{background:var(--field);border-color:var(--rule)}
body.interview-demo .editor-top,body.interview-demo .editor-bottom{border-color:var(--rule);color:var(--muted)}
body.interview-demo #sharedEditor{color:var(--ink)}
html:not(.brand-ready) .quiet-mark::after{content:''}

/* Light controls retain a distinct thumb against porcelain. */
html[data-theme=light] .range,html[data-theme=light] .rate input{accent-color:#816b50}

/* The sculpted icon carries its own relief; no additional frame. */
.quiet-mark{box-shadow:none!important;filter:none;background-color:transparent;border-radius:0}
