:root {
  --ink: #0f172a; --muted: #64748b; --faint: #94a3b8; --line: #e2e8f0; --soft: #f1f5f9; --bg: #f6f7fb;
  --brand: #6366f1; --brand-d: #4338ca; --brand-l: #eef2ff; --amber: #f59e0b; --amber-d: #b45309; --amber-l: #fffbeb;
  --ok: #059669; --ok-l: #ecfdf5; --bad: #dc2626; --bad-l: #fef2f2; --warn: #d97706; --top: #0d0f1a;
  --r: 14px; --shadow: 0 1px 3px rgb(0 0 0 / .06), 0 1px 2px -1px rgb(0 0 0 / .04); --shadow-md: 0 8px 24px -6px rgb(0 0 0 / .14);
  --c-sell: #6366f1; --c-channel: #f59e0b; --c-serve: #0ea5e9; --c-run: #10b981;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); font-size: 14px; -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

/* top bar */
.top { height: 58px; background: var(--top); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 16px; position: relative; z-index: 20; }
.brand { display: flex; gap: 9px; align-items: center; text-decoration: none; min-width: 176px; }
.brand b { display: block; font-size: 14px; } .brand em { display: block; font-style: normal; font-size: 10px; color: rgb(255 255 255 / .5); }
.logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #818cf8, #4f46e5); display: grid; place-items: center; }
.ws { display: flex; gap: 2px; background: rgb(255 255 255 / .06); padding: 3px; border-radius: 10px; }
.ws button { border: 0; background: none; color: rgb(255 255 255 / .6); padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ws button i { width: 7px; height: 7px; border-radius: 50%; }
.ws button.on { background: rgb(255 255 255 / .12); color: #fff; }
.askbar { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); color: rgb(255 255 255 / .55); border-radius: 10px; padding: 7px 10px; text-align: left; font-size: 12.5px; }
.askbar span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.askbar kbd { font: 11px ui-monospace, Consolas; background: rgb(255 255 255 / .1); padding: 2px 6px; border-radius: 5px; }
.persona { position: relative; margin-left: auto; }
.pbtn { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid rgb(255 255 255 / .14); color: #fff; padding: 4px 10px 4px 4px; border-radius: 999px; }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.av.rep { background: #6366f1; } .av.manager { background: #8b5cf6; } .av.cx { background: #0ea5e9; } .av.finance { background: #10b981; } .av.admin { background: #64748b; }
.pbtn b { display: block; font-size: 12px; text-align: left; } .pbtn em { display: block; font-style: normal; font-size: 10.5px; color: rgb(255 255 255 / .5); text-align: left; }
.pmenu { position: absolute; right: 0; top: 44px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-md); width: 290px; padding: 6px; z-index: 40; }
.pmenu p { margin: 6px 8px; font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.pmenu button { width: 100%; border: 0; background: none; display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; text-align: left; }
.pmenu button:hover, .pmenu button.on { background: var(--soft); }
.pmenu b { display: block; font-size: 13px; } .pmenu em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.play { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 10px; padding: 8px 13px; font-weight: 600; font-size: 12.5px; color: #fff; background: linear-gradient(90deg, var(--amber), #ea580c); white-space: nowrap; }
.previewbar { background: #fef3c7; color: #78350f; font-size: 12.5px; padding: 7px 16px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #fde68a; }
.previewbar[hidden] { display: none; }
.previewbar button { margin-left: auto; border: 1px solid #f59e0b; background: #fff; border-radius: 8px; padding: 3px 10px; font-size: 12px; }

/* shell */
.shell { display: flex; height: calc(100vh - 58px); }
body.previewing .shell { height: calc(100vh - 58px - 34px); }
.side { width: 212px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 14px 10px; overflow-y: auto; }
.nav p { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--faint); margin: 4px 8px 8px; display: flex; align-items: center; gap: 6px; }
.nav p i { width: 8px; height: 8px; border-radius: 50%; }
.nav button { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; text-align: left; }
.nav button:hover { background: var(--soft); color: var(--ink); }
.nav button.on { background: var(--brand-l); color: var(--brand-d); font-weight: 600; }
.nav button em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; background: var(--bad-l); color: var(--bad); border-radius: 999px; padding: 1px 7px; }
.sidefoot { margin-top: auto; padding: 10px 8px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.tag { font-size: 11px; color: var(--amber-d); background: var(--amber-l); border: 1px solid #fde68a; padding: 3px 8px; border-radius: 999px; justify-self: start; }
.asof { font-size: 11px; color: var(--faint); }
.main { flex: 1; min-width: 0; overflow-y: auto; padding: 22px 26px 60px; scroll-behavior: smooth; }
body.demo-on .main { padding-bottom: 220px; }

/* drawer */
.drawer { width: 430px; flex-shrink: 0; background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: -10px 0 30px -18px rgb(0 0 0 / .3); }
.drawer[hidden] { display: none; }
.dhead { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-d)); flex-shrink: 0; }
.dhead select { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-weight: 600; background: #fff; }
.x { border: 0; background: none; font-size: 22px; color: var(--muted); line-height: 1; padding: 0 4px; }
.thread { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
body.demo-on .thread { padding-bottom: 200px; }
.msg { display: flex; gap: 8px; }
.msg.user { flex-direction: row-reverse; }
.msg .av { width: 24px; height: 24px; font-size: 9.5px; }
.bubble { padding: 10px 13px; border-radius: 14px; line-height: 1.5; font-size: 13px; max-width: 100%; min-width: 0; }
.msg.user .bubble { background: var(--ink); color: #fff; border-top-right-radius: 4px; }
.msg.agent .bubble { background: var(--bg); border: 1px solid var(--line); border-top-left-radius: 4px; flex: 1; }
.agentname { font-size: 10.5px; font-weight: 700; color: var(--brand-d); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.status { font-size: 12px; color: var(--muted); font-style: italic; animation: pulse 1.2s infinite; margin: 0; }
@keyframes pulse { 50% { opacity: .45; } }
.trace { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); }
.trace summary { cursor: pointer; font-size: 11px; font-weight: 600; color: var(--ok); list-style: none; }
.trace ol { margin: 5px 0 0; padding-left: 16px; font: 10.5px/1.6 ui-monospace, Consolas, monospace; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--soft); }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 10px; font-size: 11.5px; color: var(--ink); text-align: left; }
.chips button:hover { border-color: var(--brand); color: var(--brand-d); }
.composer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.composer input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.composer input:focus { outline: 2px solid var(--brand-l); border-color: var(--brand); }
.composer button { border: 0; border-radius: 10px; padding: 0 14px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-d)); font-weight: 600; }
.dfoot { margin: 0; padding: 0 12px 10px; font-size: 10.5px; color: var(--faint); }

/* palette */
.palette { position: fixed; inset: 0; background: rgb(15 23 42 / .45); z-index: 60; display: flex; justify-content: center; padding-top: 90px; }
.palette[hidden] { display: none; }
.pbox { width: min(640px, 92vw); background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; align-self: flex-start; }
.pbox input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; font-size: 15px; outline: none; }
.presults { max-height: 420px; overflow-y: auto; padding: 6px; }
.presults p { margin: 8px 10px 4px; font-size: 10.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.presults button { width: 100%; border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 8px; display: flex; gap: 10px; align-items: center; font-size: 13px; }
.presults button:hover, .presults button.sel { background: var(--soft); }
.presults small { margin-left: auto; color: var(--faint); font-size: 11px; }

/* content */
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; }
h1 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.01em; }
.lede { color: var(--muted); margin: 0 0 18px; max-width: 820px; line-height: 1.55; }
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.head .actions { display: flex; gap: 8px; flex-shrink: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 18px; }
.card h3 { margin: 0 0 10px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.card h3 small { font-weight: 500; color: var(--faint); font-size: 11.5px; margin-left: auto; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.g21 { grid-template-columns: 2fr 1fr; } .g12 { grid-template-columns: 1fr 2fr; }
.mt { margin-top: 14px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.kpi p { margin: 0; font-size: 11px; color: var(--muted); }
.kpi b { display: block; font-size: 19px; margin-top: 5px; letter-spacing: -.01em; }
.kpi i { display: block; font-style: normal; font-size: 11px; margin-top: 3px; font-weight: 600; color: var(--ok); }
.kpi i.neg { color: var(--bad); }
.btn { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { border-color: var(--faint); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-d)); color: #fff; border-color: transparent; }
.btn.ok { background: var(--ok); color: #fff; border-color: transparent; }
.btn.ask { color: var(--brand-d); border-color: #c7d2fe; background: var(--brand-l); }
.pill { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--ok-l); color: var(--ok); } .pill.bad { background: var(--bad-l); color: var(--bad); } .pill.warn { background: var(--amber-l); color: var(--amber-d); }
.pill.info { background: var(--brand-l); color: var(--brand-d); } .pill.mute { background: var(--soft); color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.t th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 7px 9px; border-bottom: 1px solid var(--line); background: #fafbfc; white-space: nowrap; }
.t td { padding: 8px 9px; border-bottom: 1px solid var(--soft); font-variant-numeric: tabular-nums; vertical-align: top; }
.t tr:last-child td { border-bottom: 0; }
.t tr.click { cursor: pointer; } .t tr.click:hover td { background: #fafbfc; }
.t tr.hl td { background: var(--amber-l); }
.num { text-align: right; }
.neg { color: var(--bad); } .pos { color: var(--ok); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.prio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.prio .n { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d); font-weight: 700; font-size: 11px; display: grid; place-items: center; flex-shrink: 0; }
.prio b { display: block; font-size: 13px; } .prio span { font-size: 12px; color: var(--muted); }
.flag { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 4px 0; }
.flag::before { content: "\26A0"; color: var(--amber); }
.flag.good { color: var(--ink); }
.flag.good::before { content: "\2197"; color: var(--ok); font-weight: 700; }
.flag.none::before { content: "\2713"; color: var(--ok); }
.bar { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.bar i.ok { background: var(--ok); } .bar i.bad { background: var(--bad); } .bar i.warn { background: var(--amber); }
.qs { display: flex; flex-wrap: wrap; gap: 6px; }
.qs button { border: 1px solid #c7d2fe; background: var(--brand-l); color: var(--brand-d); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 500; }
.qs button::before { content: "\2726  "; }
.legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
svg.chart { width: 100%; height: auto; display: block; }
.heat td.h { text-align: center; font-weight: 600; font-size: 11.5px; border: 2px solid #fff; border-radius: 6px; }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.col { background: #eef0f5; border-radius: 12px; padding: 10px; min-height: 200px; }
.col h4 { margin: 0 0 8px; font-size: 12px; display: flex; justify-content: space-between; color: var(--muted); }
.deal { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow); font-size: 12px; border-left: 3px solid var(--brand); }
.deal.stale { border-left-color: var(--bad); }
.deal b { display: block; font-size: 12.5px; margin-bottom: 3px; }
.deal span { color: var(--muted); display: block; }
.acct-head { display: flex; gap: 14px; align-items: center; }
.acct-head .logo2 { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-l); color: var(--brand-d); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.search { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; width: 280px; background: #fff; }
.tabs2 { display: flex; gap: 6px; margin-bottom: 12px; }
.tabs2 button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tabs2 button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 12px 16px; font-size: 12.5px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline li.bad::before { background: var(--bad); }
.timeline time { display: block; font-size: 11px; color: var(--faint); }
.prod { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; }
.prod:hover, .prod.on { border-color: var(--brand); box-shadow: var(--shadow-md); }
.prod b { display: block; font-size: 12.5px; } .prod small { color: var(--muted); font-size: 11px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 12.5px; margin: 10px 0; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; }
.cite { display: inline-flex; gap: 6px; align-items: center; font-size: 11.5px; background: var(--soft); border-radius: 8px; padding: 5px 9px; color: var(--muted); }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 26px 30px; }
.doc h2 { margin: 0; font-size: 20px; } .doc h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-d); }
.prog { display: grid; gap: 4px; }
.prog .row { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.agentcard { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.agentcard .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.agentcard b { font-size: 13.5px; } .agentcard p { margin: 0; font-size: 12px; color: var(--muted); flex: 1; }

/* setup wizard */
.steps { display: flex; gap: 6px; margin: 4px 0 18px; }
.steps div { flex: 1; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.steps div span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-weight: 700; font-size: 11px; flex-shrink: 0; }
.steps div.on { border-color: var(--brand); color: var(--ink); font-weight: 600; } .steps div.on span { background: var(--brand); color: #fff; }
.steps div.done span { background: var(--ok); color: #fff; }
.llms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.llm { border: 2px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; text-align: left; position: relative; }
.llm.on { border-color: var(--brand); background: var(--brand-l); }
.llm b { display: block; font-size: 13px; } .llm small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.llm .rec { position: absolute; top: -9px; right: 10px; font-size: 10px; font-weight: 700; background: var(--ok); color: #fff; padding: 1px 7px; border-radius: 999px; }
.field { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.field input, .field select { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font-size: 13px; color: var(--ink); background: #fff; }
.result { border-radius: 10px; padding: 10px 12px; font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.result.ok { background: var(--ok-l); color: #065f46; } .result.run { background: var(--soft); color: var(--muted); }
.src { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; }
.src .k { width: 36px; height: 36px; border-radius: 9px; background: var(--soft); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--muted); flex-shrink: 0; text-align: center; line-height: 1.1; }
.src b { display: block; font-size: 13px; } .src small { color: var(--muted); font-size: 11.5px; }
.src .r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.wizfoot { display: flex; justify-content: space-between; margin-top: 18px; }
.chk { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--soft); font-size: 12.5px; }
.chk .s { width: 20px; text-align: center; font-weight: 700; }
.toggle { width: 34px; height: 19px; border-radius: 999px; background: var(--line); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: left .15s; }
.toggle.on { background: var(--ok); } .toggle.on::after { left: 17px; }
.email { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.email header { background: var(--soft); padding: 10px 14px; font-size: 12px; color: var(--muted); }
.email header b { color: var(--ink); }
.email .body { padding: 14px; }

/* markdown */
.md p { margin: 5px 0; } .md h2 { font-size: 15px; margin: 4px 0 6px; } .md h3 { font-size: 13px; margin: 12px 0 4px; }
.md ul, .md ol { margin: 5px 0; padding-left: 18px; } .md li { margin: 2px 0; } .md em { color: var(--muted); }
.md code { font-size: 11.5px; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.md table { border-collapse: collapse; width: 100%; margin: 6px 0; font-size: 11.5px; display: block; overflow-x: auto; }
.md th { text-align: left; background: #fff; border-bottom: 1px solid var(--line); padding: 5px 7px; font-weight: 600; white-space: nowrap; }
.md td { border-bottom: 1px solid var(--line); padding: 5px 7px; font-variant-numeric: tabular-nums; }

.toast { position: fixed; bottom: 24px; right: 24px; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 13px; box-shadow: var(--shadow-md); z-index: 70; }
body.demo-on .toast { bottom: 200px; }

/* narrated player */
.demo-spot { outline: 3px solid var(--amber) !important; outline-offset: 3px; border-radius: 12px; }
.demo-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(1000px, calc(100% - 32px)); background: rgb(13 15 26 / .96); color: #fff; border-radius: 16px; padding: 13px 18px 11px; box-shadow: 0 20px 50px -10px rgb(0 0 0 / .45); z-index: 80; }
.demo-progress { height: 3px; background: rgb(255 255 255 / .1); border-radius: 3px; overflow: hidden; margin-bottom: 9px; }
.demo-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), #ea580c); transition: width .4s; }
.demo-scene { font-size: 11px; color: rgb(255 255 255 / .5); text-transform: uppercase; letter-spacing: .08em; }
.demo-caption { margin: 5px 0 9px; font-size: 15px; line-height: 1.5; min-height: 45px; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.demo-controls button, .demo-controls select { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .14); border-radius: 8px; padding: 5px 10px; font-size: 12px; }
.demo-controls select option { color: var(--ink); }
.demo-controls .exit { margin-left: auto; }

@media (max-width: 1280px) { .askbar span { display: none; } .askbar { flex: 0; } .kpis { grid-template-columns: repeat(3, 1fr); } .llms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1050px) { .g3, .g4, .g21, .g12 { grid-template-columns: 1fr 1fr; } .drawer { position: fixed; right: 0; top: 58px; bottom: 0; z-index: 30; } .kanban { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .side, .ws { display: none; } .g2, .g3, .g4, .g21, .g12, .kpis { grid-template-columns: 1fr; } .drawer { width: 100%; } }
