/* Draft Standard walkthroughs. App frame copied from the current app (CHAT-1b/2 shots): menu bar, left rail, tabs,
   floating panel beside the rail, status bar. Brand direction: ink, light gray, signal orange #e85b2a, Inter. */
html,body{margin:0;height:100%;overflow:hidden;background:#111214}
*{box-sizing:border-box}
#stage{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;background:#141518;color:#e8e9ea;
  font:12.5px/1.45 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.menubar{position:absolute;left:0;right:0;top:0;height:30px;display:flex;align-items:center;gap:14px;padding:0 12px;font-size:11.5px;color:#c9cbcd;background:#141518}
.menubar b{font-weight:600;color:#f1f2f0;margin-right:6px;letter-spacing:-.01em}
.menubar .sp{flex:1}
.menubar .search{display:flex;align-items:center;gap:8px;height:20px;padding:0 10px;border-radius:5px;background:#1f2023;color:#8f9296;font-size:11px;width:200px}
.menubar .search kbd{margin-left:auto;font:10px Inter;color:#6f7276}
.rail{position:absolute;left:0;top:30px;width:40px;bottom:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:8px}
.rail .sep{width:20px;height:1px;background:#2a2c2f;margin:4px 0}.rail .sp{flex:1}
.rail i{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:#8f9296}
.rail i svg{width:16px;height:16px}
.rail i.on{color:#f1f2f0;background:#26282b}
.rail .bottom{margin:6px 0 10px;width:24px;height:24px;border-radius:50%;background:#f1f2f0;color:#111214;display:grid;place-items:center;font:600 10px Inter}
.tabs{position:absolute;left:40px;right:0;top:30px;height:32px;display:flex;align-items:flex-end;gap:6px;padding-left:8px}
.tabs .tab{height:28px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:6px 6px 0 0;background:#1c1d20;border:1px solid #2a2c2f;border-bottom:0;font-size:11.5px;color:#e8e9ea}
.tabs .tab .x{color:#6f7276}
.panel{position:absolute;background:#1a1b1e;border:1px solid #2a2c2f;border-radius:9px;overflow:hidden;display:flex;flex-direction:column}
.panel .head{display:flex;align-items:center;gap:12px;height:40px;padding:0 14px;border-bottom:1px solid #2a2c2f;flex:none}
.panel .head b{font-weight:600;font-size:12.5px;color:#f1f2f0}
.panel .head .acts{margin-left:auto;display:flex;gap:12px;font-size:10.5px;color:#a8abae}
.panel .body{flex:1;position:relative;padding:12px 14px;overflow:hidden}
.canvas{position:absolute;background:#dcddd9;overflow:hidden}
.canvas svg.view{position:absolute;inset:0;width:100%;height:100%}
.status{position:absolute;display:flex;align-items:center;gap:14px;justify-content:flex-end;padding:0 12px;font-size:11px;color:#a8abae;background:#141518}
.status .pill{color:#e8e9ea}
/* wide 900x610: rail 40, panel 312 beside it, canvas to the right, status under the canvas */
.wide .panel{left:46px;top:68px;width:312px;bottom:8px}
.wide .canvas{left:366px;top:62px;right:0;bottom:30px}
.wide .status{left:366px;right:0;bottom:0;height:30px}
/* phone 384x556: no menu or rail; tab bar, canvas, panel as a bottom sheet */
.phone .menubar,.phone .rail,.phone .status{display:none}
.phone .tabs{left:0;top:0;height:34px;padding-left:8px;background:#141518}
.phone .canvas{left:0;top:34px;width:384px;height:262px}
.phone .panel{left:0;right:0;top:292px;bottom:0;border-radius:12px 12px 0 0;border-bottom:0}
.phone .panel .head{height:36px}
.phone .panel .body{padding:10px 12px}
h4{margin:0 0 10px;font:600 12px/1.3 Inter;color:#f1f2f0}
.muted{color:#8f9296}
.btn{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 13px;border-radius:5px;background:#f1f2f0;color:#111214;font-weight:550;font-size:12px;border:0;white-space:nowrap}
.btn.ghost{background:#232427;color:#e8e9ea;border:1px solid #34363a}
.chip{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:5px;font-size:11px;font-weight:500;background:#232427;border:1px solid #34363a;color:#d5d7d9;white-space:nowrap}
.chip .n{color:#e85b2a;font-weight:600}
.cite{display:inline-grid;place-items:center;min-width:16px;height:16px;padding:0 4px;margin:0 2px;border-radius:4px;background:#2a2c30;color:#f1f2f0;font-size:10px;font-weight:600;border-bottom:1.5px solid #e85b2a;vertical-align:1px}
.cursor{position:absolute;left:0;top:0;z-index:60;pointer-events:none;filter:drop-shadow(0 1px 2px #0007)}
.ripple{position:absolute;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:2px solid #e85b2a;z-index:59;opacity:0;pointer-events:none}
.avatar{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:9.5px;font-weight:650;flex:none}
.av-a{background:#f1f2f0;color:#111214}.av-b{background:#e85b2a;color:#fff}
.wt-hl{position:absolute;border:2px solid #e85b2a;background:rgba(232,91,42,.16);border-radius:3px;pointer-events:none}
