/* oh — a light table for working products.
   Cool grey table, white sheets, deep ink. One highlighter yellow marks what just changed; one blue marks what is selected.
   Bricolage Grotesque for everything people read, JetBrains Mono only for logic and source. Light only, every colour painted. */
@font-face { font-family: 'Bricolage'; src: url(/fonts/bricolage.woff2) format('woff2-variations'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'JBM'; src: url(/fonts/jbm-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JBM'; src: url(/fonts/jbm-500.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
:root {
  --table: #E6E8EC; --table-2: #DCDFE5; --paper: #FFFFFF; --paper-2: #F5F6F8;
  --ink: #1B1D26; --ink-2: #474B59; --muted: #767B8A; --line: #D4D7DE; --line-2: #BFC3CC;
  --hl: #FFE14D; --hl-ink: #2B2600; --sel: #3D5AFE; --sel-soft: rgba(61, 90, 254, .1); --rec: #E5383B; --ok: #1F8A5B;
  --f: 'Bricolage', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; --mono: 'JBM', ui-monospace, Menlo, monospace;
  --r1: 6px; --r2: 10px; --r3: 16px; --lift: 0 1px 2px rgba(27, 29, 38, .06), 0 8px 24px -12px rgba(27, 29, 38, .18);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--table); color: var(--ink); font: 14px/1.45 var(--f); font-variation-settings: 'opsz' 14; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }
.i { flex: none; display: block; }
.hidden { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.015em; }
h1 { font-size: 34px; line-height: 1.05; font-weight: 720; letter-spacing: -0.03em; font-variation-settings: 'opsz' 48; }
h2 { font-size: 18px; } h3 { font-size: 15px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .mono { font-family: var(--mono); font-size: 12px; }
.row { display: flex; align-items: center; gap: 8px; } .grow { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; } .stack { display: flex; flex-direction: column; gap: 10px; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--r1); border: 1px solid var(--line-2); background: var(--paper); font-weight: 560; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { border-color: var(--ink-2); }
.btn.ink { background: var(--ink); color: #fff; border-color: var(--ink); } .btn.ink:hover { background: #30333F; }
.btn.flat { border-color: transparent; background: transparent; } .btn.flat:hover { background: var(--table); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.rec { color: var(--rec); } .btn.rec.on { background: var(--rec); color: #fff; border-color: var(--rec); }
.ib { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r1); border: 0; background: transparent; cursor: pointer; color: var(--ink-2); }
.ib:hover { background: var(--table); color: var(--ink); }
.ib.on { background: var(--ink); color: #fff; }
.in, select.in, textarea.in { width: 100%; height: 36px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: var(--r1); background: var(--paper); outline: none; }
textarea.in { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.45; }
.in:focus { border-color: var(--sel); box-shadow: 0 0 0 3px var(--sel-soft); }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 560; color: var(--ink-2); }
.ferr { color: var(--rec); font-size: 13px; min-height: 0; }
.seg { display: inline-flex; padding: 2px; background: var(--table); border-radius: 8px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 28px; padding: 0 11px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 560; color: var(--ink-2); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--table); color: var(--ink-2); white-space: nowrap; }
.tag.hl { background: var(--hl); color: var(--hl-ink); } .tag.blue { background: var(--sel-soft); color: var(--sel); } .tag.ok { background: #E1F3EA; color: var(--ok); } .tag.red { background: #FCE4E4; color: #B3261E; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--hl); color: var(--hl-ink); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.av { --s: 26px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--c); color: #fff; font-size: calc(var(--s) * .4); font-weight: 650; display: inline-grid; place-items: center; flex: none; letter-spacing: 0; }
.avs { display: flex; } .avs .av { margin-left: -6px; box-shadow: 0 0 0 2px var(--paper); } .avs .av:first-child { margin-left: 0; }

/* shell */
#app { height: 100%; display: flex; flex-direction: column; }
.top { height: 52px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.mark { font-weight: 800; font-size: 26px; letter-spacing: -0.06em; font-stretch: 78%; line-height: 1; text-decoration: none; padding-bottom: 3px; font-variation-settings: 'opsz' 96; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--ink); } .crumbs b { color: var(--ink); font-weight: 600; }
.dock { flex: 0 1 420px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; border-radius: 99px; background: var(--table); margin: 0 auto; position: relative; transition: background .15s, box-shadow .15s; }
.dock:focus-within { background: var(--paper); box-shadow: 0 0 0 1px var(--line-2), var(--lift); }
.dock input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; }
.dock kbd { font: 11px var(--mono); color: var(--muted); padding: 2px 6px; border-radius: 5px; background: var(--paper); }
.orb { width: 16px; height: 16px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 40%), conic-gradient(from 200deg, var(--hl), #9AA7FF, #E7E9EE, var(--hl)); animation: orb 6s linear infinite; }
@keyframes orb { to { filter: hue-rotate(40deg); } }
.page { flex: 1; overflow: auto; }
.wrapw { max-width: 1120px; margin: 0 auto; padding: 36px 28px 80px; }
.side { display: grid; grid-template-columns: 200px 1fr; min-height: 100%; }
.nav { padding: 24px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); background: var(--paper-2); }
.nav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--r1); text-decoration: none; color: var(--ink-2); font-weight: 540; }
.nav a:hover { background: var(--table); } .nav a.on { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.nav .badge { margin-left: auto; }

/* sheets and lists */
.sheet { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); }
.sheet > header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.list > * { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); text-decoration: none; }
.list > *:first-child { border-top: 0; }
a.li:hover, .li.click:hover { background: var(--paper-2); cursor: pointer; }
.head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.group { margin-bottom: 30px; } .group > h3 { margin: 0 0 10px; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.proj { display: grid; grid-template-columns: 1fr 120px 110px 90px 24px; align-items: center; gap: 12px; }
.proj b { font-weight: 620; font-size: 15px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs a { padding: 10px 12px; text-decoration: none; color: var(--muted); font-weight: 560; border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 6px; align-items: center; }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pcard { padding: 16px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: border-color .15s; }
.pcard:hover { border-color: var(--ink-2); }
.strip { display: flex; gap: 6px; height: 74px; align-items: flex-end; }
.strip i { display: block; border-radius: 5px; border: 1px solid var(--line); background: var(--paper-2); }

/* sign in */
.gate { height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); }
.gate-art { position: relative; overflow: hidden; background: var(--table); }
.gate-art .big { position: absolute; left: 7%; bottom: 9%; font-weight: 800; font-size: clamp(120px, 22vw, 300px); letter-spacing: -0.07em; font-stretch: 75%; line-height: .8; font-variation-settings: 'opsz' 96; pointer-events: none; z-index: 2; mix-blend-mode: multiply; }
.gate-art p { position: absolute; left: 7.5%; top: 8%; max-width: 30ch; font-size: 17px; color: var(--ink-2); z-index: 2; margin: 0; }
.gate-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(28px, 6vw, 80px); background: var(--paper); gap: 16px; }
.gate-form h2 { font-size: 26px; letter-spacing: -0.02em; }
.gate-form form { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.gate-form .btn { height: 42px; }

/* messages */
.msgs { display: grid; grid-template-columns: 280px 1fr; min-height: 520px; }
.msgs .threads { border-right: 1px solid var(--line); overflow: auto; }
.thread-b { display: flex; flex-direction: column; min-height: 0; }
.thread-b .scroll { flex: 1; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; max-height: 60vh; }
.m { display: flex; gap: 10px; } .m .body { white-space: pre-wrap; margin-top: 2px; overflow-wrap: anywhere; }
.m .who { font-weight: 620; } .m time { color: var(--muted); font-size: 12px; margin-left: 6px; }
.compose { border-top: 1px solid var(--line); padding: 12px; display: flex; gap: 8px; align-items: flex-end; }
.ref { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 10px; border-radius: var(--r1); border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; font-weight: 560; }
.ref:hover { border-color: var(--ink-2); }
.li.unread b::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sel); margin-left: 6px; vertical-align: middle; }

/* dialogs and toasts */
.scrim { position: fixed; inset: 0; background: rgba(27, 29, 38, .32); display: grid; place-items: center; z-index: 100; padding: 20px; animation: fade .12s; }
@keyframes fade { from { opacity: 0; } }
.dlg { width: min(460px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r3); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .4); animation: pop .16s cubic-bezier(.2, .9, .3, 1.2); }
.dlg.wide { width: min(760px, 100%); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.dlg header { display: flex; align-items: center; padding: 16px 16px 0 20px; } .dlg header h2 { flex: 1; }
.dlg-b { padding: 16px 20px 20px; overflow: auto; display: flex; flex-direction: column; gap: 14px; }
.dlg-b form { display: flex; flex-direction: column; gap: 14px; }
#toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; z-index: 200; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 520; box-shadow: var(--lift); animation: pop .16s; transition: opacity .3s, transform .3s; }
.toast.out { opacity: 0; transform: translateY(6px); }
.code { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r1); padding: 10px 12px; font: 12px/1.5 var(--mono); word-break: break-all; user-select: all; }

/* analytics */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { padding: 14px 16px; } .kpi span { color: var(--muted); font-size: 12.5px; } .kpi b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 16px; }
.spark i { flex: 1; background: var(--ink); border-radius: 2px 2px 0 0; min-height: 2px; position: relative; }
.spark i:hover { background: var(--sel); }
.hbar { height: 6px; border-radius: 6px; background: var(--table); overflow: hidden; width: 120px; } .hbar i { display: block; height: 100%; background: var(--ink); }

/* ------------------------------------------------------------------ studio */
.studio { flex: 1; min-height: 0; display: grid; grid-template-columns: 232px 1fr 340px; grid-template-rows: 1fr auto; }
.studio .left, .studio .right { background: var(--paper); overflow: auto; }
.studio .left { border-right: 1px solid var(--line); grid-row: 1 / 3; }
.studio .right { border-left: 1px solid var(--line); grid-row: 1 / 3; grid-column: 3; display: flex; flex-direction: column; }
.pane-h { display: flex; align-items: center; gap: 6px; padding: 14px 14px 8px; font-size: 12.5px; font-weight: 620; color: var(--ink-2); }
.scr-li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 24px; cursor: pointer; color: var(--ink-2); }
.scr-li:hover { background: var(--paper-2); color: var(--ink); } .scr-li.on { background: var(--sel-soft); color: var(--sel); }
.scr-li .dev { margin-left: auto; font-size: 11px; color: var(--muted); }
.role-li { display: flex; align-items: center; gap: 8px; padding: 10px 14px 4px; font-weight: 620; }
.take-li { display: flex; align-items: center; gap: 8px; padding: 7px 14px; cursor: pointer; } .take-li:hover { background: var(--paper-2); }
.take-li .i { color: var(--muted); }
.canvas { position: relative; overflow: auto; background-color: var(--table); background-image: radial-gradient(circle, var(--line-2) 1px, transparent 1.2px); background-size: 22px 22px; min-width: 0; }
.board { position: relative; transform-origin: 0 0; padding: 48px 56px 120px; width: max-content; }
.lane { display: flex; gap: 0; position: relative; }
.lane-h { position: sticky; left: 0; width: 132px; flex: none; padding-top: 30px; z-index: 3; }
.lane-h b { display: block; font-size: 16px; font-weight: 680; letter-spacing: -0.01em; } .lane-h span { color: var(--muted); }
.frames { display: flex; gap: 72px; align-items: flex-start; }
.frame { position: relative; flex: none; }
.frame .fh { display: flex; align-items: baseline; gap: 8px; height: 26px; font-weight: 620; cursor: pointer; }
.frame .fh span { color: var(--muted); font-weight: 450; font-size: 12.5px; }
.frame .fh .start { font-size: 11px; color: var(--ok); font-weight: 650; }
.frame iframe { display: block; border: 0; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(27, 29, 38, .12), 0 18px 40px -22px rgba(27, 29, 38, .45); transition: box-shadow .2s; }
.frame.desktop iframe, .frame.tablet iframe { border-radius: 12px; }
.frame.sel iframe { box-shadow: 0 0 0 2px var(--sel), 0 18px 40px -22px rgba(27, 29, 38, .45); }
.frame.pulse iframe { animation: pulse 1.1s ease-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--hl), 0 0 0 1px rgba(27, 29, 38, .12); } 30% { box-shadow: 0 0 0 10px var(--hl), 0 0 0 1px rgba(27, 29, 38, .12); } 100% { box-shadow: 0 0 0 0 rgba(255, 225, 77, 0), 0 0 0 1px rgba(27, 29, 38, .12); } }
.frame .said { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 99px; font-weight: 560; white-space: nowrap; z-index: 4; animation: pop .15s; pointer-events: none; }
.recs { display: flex; gap: 14px; padding: 26px 0 26px 132px; position: relative; z-index: 2; }
.recbox { background: var(--paper); border: 1px solid var(--ink); border-radius: var(--r1); padding: 10px 14px; min-width: 170px; cursor: pointer; }
.recbox b { font: 600 13px var(--mono); display: block; } .recbox span { color: var(--muted); font-size: 12.5px; }
.recbox.flash { animation: recf 1s ease-out; }
@keyframes recf { 0%, 30% { background: var(--hl); } }
svg.wires { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 1; }
svg.wires path { fill: none; stroke: var(--ink-2); stroke-width: 1.4; opacity: .55; }
svg.wires path.data { stroke-dasharray: 4 4; opacity: .4; }
svg.wires path.lit { stroke: var(--ink); opacity: 1; stroke-width: 2.4; }
.zoom { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 2px; padding: 3px; background: var(--paper); border-radius: 9px; box-shadow: var(--lift); z-index: 5; align-items: center; }
.zoom span { font: 12px var(--mono); width: 44px; text-align: center; color: var(--ink-2); }
.draft { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; background: var(--ink); color: #fff; border-radius: 99px; z-index: 6; box-shadow: var(--lift); white-space: nowrap; }
.draft .btn { height: 28px; color: var(--ink); }
.draft .btn.flat { color: #fff; } .draft .btn.flat:hover { background: rgba(255, 255, 255, .12); }
.rtabs { display: flex; gap: 2px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); flex: none; }
.rtabs button { border: 0; background: transparent; padding: 8px 10px; font-weight: 580; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; margin-bottom: -1px; }
.rtabs button.on { color: var(--ink); border-color: var(--ink); }
.rbody { flex: 1; overflow: auto; padding: 4px 0 24px; }
.sec { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sec > h4 { margin: 0 0 8px; font-size: 12.5px; font-weight: 640; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.kv { display: grid; grid-template-columns: minmax(70px, auto) 1fr; gap: 4px 10px; align-items: center; font-size: 13px; }
.kv > span { font: 12px var(--mono); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.kv input, .kv textarea { width: 100%; border: 1px solid transparent; background: var(--paper-2); border-radius: 5px; padding: 4px 7px; font: 12px var(--mono); outline: none; }
.kv input:focus, .kv textarea:focus { border-color: var(--sel); background: #fff; }
.kv .val { font: 12px var(--mono); padding: 4px 7px; background: var(--paper-2); border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv .val.hl { animation: hlv 1.4s ease-out; }
@keyframes hlv { 0%, 30% { background: var(--hl); } }
.fx { font: 11.5px var(--mono); color: var(--muted); margin: -2px 0 6px; padding-left: 2px; overflow-wrap: anywhere; }
.src { width: 100%; min-height: 60vh; border: 0; outline: none; resize: none; font: 12px/1.55 var(--mono); padding: 14px; background: var(--paper); color: var(--ink); tab-size: 2; }
.tbl { width: 100%; border-collapse: collapse; font: 11.5px var(--mono); }
.tbl td, .tbl th { text-align: left; padding: 4px 6px; border-top: 1px solid var(--line); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl th { color: var(--muted); font-weight: 500; }
.tape { grid-column: 2; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
.ticks { flex: 1; height: 34px; position: relative; background: var(--paper-2); border-radius: 6px; cursor: pointer; overflow: hidden; }
.ticks i { position: absolute; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--ink-2); transform: translateX(-1px); }
.ticks i.done { background: var(--ink); } .ticks i.now { background: var(--rec); top: 2px; bottom: 2px; }
.ticks b { position: absolute; top: 0; bottom: 0; left: 0; background: rgba(229, 56, 59, .08); pointer-events: none; }
.recdot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.play-ov { position: fixed; inset: 0; background: rgba(230, 232, 236, .96); z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.play-ov iframe { border: 0; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 40px 80px -30px rgba(0, 0, 0, .4); }

/* liquid: the field that forms around what you type */
.lq-sheet { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); height: min(520px, calc(100vh - 90px)); z-index: 50; border-radius: 22px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 0 0 1px rgba(27, 29, 38, .08), 0 30px 80px -30px rgba(27, 29, 38, .45); overflow: hidden; animation: pop .18s; }
.lq-sheet canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lq-read { position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; font: 11.5px var(--mono); color: var(--muted); z-index: 3; pointer-events: none; }
.lq-chips { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; z-index: 4; }
.lq-chips button { border: 1px solid var(--line); background: rgba(255, 255, 255, .8); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 13px; }
.lq-chips button:hover { border-color: var(--ink-2); }
.lq-widget { position: absolute; z-index: 5; background: var(--paper); border-radius: var(--r3); box-shadow: 0 0 0 1px rgba(27, 29, 38, .1), var(--lift); padding: 16px 18px; opacity: 0; transform: scale(.94); transition: opacity .25s, transform .3s cubic-bezier(.2, .9, .3, 1.15); overflow: auto; pointer-events: none; }
.lq-widget.open { opacity: 1; transform: none; pointer-events: auto; }
.lq-widget h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.lq-widget h4 span { flex: 1; }
.think { display: flex; flex-direction: column; gap: 4px; color: var(--muted); } .think .now { color: var(--ink); } .think .now::after { content: '…'; }
.ops { font: 11.5px var(--mono); color: var(--ink-2); max-height: 120px; overflow: auto; background: var(--paper-2); padding: 8px; border-radius: var(--r1); }

@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; } .studio .left, .studio .right { display: none; } .tape { grid-column: 1; }
  .side { grid-template-columns: 1fr; } .nav { flex-direction: row; overflow: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .gate { grid-template-columns: 1fr; } .gate-art { min-height: 34vh; }
  .proj { grid-template-columns: 1fr 24px; } .proj > :nth-child(2), .proj > :nth-child(3), .proj > :nth-child(4) { display: none; }
  .msgs { grid-template-columns: 1fr; } .kpis { grid-template-columns: repeat(2, 1fr); }
  .dock kbd { display: none; } .crumbs { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; transition: none !important; } }
