/* Company Brain demo: a 1920×1080 stage, scaled to the window. Everything moves from main.js render(t). */
:root {
  --paper: #f4f2ee; --ink: #0b0e10;
  /* Claude desktop look */
  --c-bg: #faf9f5; --c-side: #f3f1ea; --c-line: #e6e3d8; --c-ink: #1f1e1d; --c-mute: #74726b; --c-faint: #a3a097;
  --c-clay: #d97757; --c-card: #ffffff;
  /* Brain Trail mod */
  --t-bg: #181818; --t-fg: #ededed; --t-dot: #4a4a4f; --t-dim: #85858b; --t-ring: #2c2c30; --ember: #e8875b;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --gs: "General Sans", var(--ui);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: linear-gradient(112deg, #f8dcc4 0%, #f4e8dd 32%, #dde6ea 64%, #bdcdd8 100%); }
body { font-family: var(--ui); color: var(--c-ink); -webkit-font-smoothing: antialiased; }
svg { display: block; }

#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; }

/* background: the Unkillable gradient, three soft blobs, grain */
.bg { position: absolute; inset: 0; background: linear-gradient(112deg, #f8dcc4 0%, #f4e8dd 32%, #dde6ea 64%, #bdcdd8 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.b1 { width: 760px; height: 760px; left: -260px; top: 520px; background: #f6b98f; }
.b2 { width: 680px; height: 680px; right: -200px; top: -240px; background: #a9c3d6; }
.b3 { width: 520px; height: 520px; left: 760px; top: 820px; background: #e9c9d8; opacity: .4; }
.grain { position: absolute; inset: 0; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .4  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- player ---------- */
#player { position: absolute; left: 60px; right: 60px; top: 26px; height: 62px; border-radius: 18px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 30px rgba(60,40,20,.08); display: flex; align-items: center; gap: 22px; padding: 0 26px; z-index: 5; }
#pp { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
#pp svg { width: 16px; height: 16px; fill: #3b3a37; }
#pp .pl { display: none; } .paused #pp .pl { display: block; } .paused #pp .pa { display: none; }
#bar { position: relative; flex: 1; height: 30px; display: flex; gap: 7px; align-items: center; cursor: pointer; }
.seg { position: relative; height: 5px; border-radius: 3px; background: rgba(40,30,20,.10); overflow: visible; }
.seg .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.seg .nm { position: absolute; left: 0; top: 13px; font: 500 12px/1 var(--gs); letter-spacing: .02em; color: rgba(40,30,20,.38); white-space: nowrap; }
.seg.on .nm { color: rgba(40,30,20,.75); }
#knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.18); pointer-events: none; }
#pill { position: absolute; bottom: 32px; transform: translateX(-50%); padding: 5px 11px 4px; border-radius: 8px; color: #fff; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
#time { font: 500 16px/1 var(--gs); color: #3b3a37; font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; }

/* ---------- window: Claude desktop, Code tab, light ---------- */
#win { position: absolute; left: 60px; top: 112px; width: 1800px; height: 940px; border-radius: 16px; overflow: hidden; background: var(--c-bg);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 80px rgba(70,45,25,.22), 0 6px 18px rgba(70,45,25,.10); }
.lights { display: flex; gap: 8px; margin-right: 10px; } .lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.body { display: flex; height: 100%; }
svg.ti, .mode-sw svg, .nv svg, .hd-r svg, .cmeta svg, .plus svg, .mic { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* sidebar */
.side { width: 270px; flex: none; background: var(--c-side); border-right: 1px solid var(--c-line); padding: 0 10px 14px; display: flex; flex-direction: column; font-size: 14px; }
.side-top { height: 48px; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 6px; color: #6d6b64; }
svg.ti { width: 16px; height: 16px; } svg.ti.faint { color: #bcb9ae; }
.mode-sw { margin-left: auto; display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: #e9e6dc; }
.mode-sw svg { width: 26px; height: 22px; padding: 3px 5px; border-radius: 6px; color: #8a877e; }
.mode-sw svg.on { background: #fff; color: var(--c-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.nav { margin-top: 4px; }
.nv { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: #3d3c38; font-size: 14px; }
.nv svg { width: 16px; height: 16px; color: #6d6b64; }
.nv.on { background: #e8e5da; color: var(--c-ink); font-weight: 500; }
.side-h { margin: 16px 10px 5px; font-size: 12.5px; color: var(--c-mute); font-weight: 500; display: flex; gap: 6px; }
.side-h span { color: var(--c-faint); }
.pin { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .03em; color: #4b4a45; }
.pin i { width: 8px; height: 8px; border-radius: 2px; } .pin span { color: var(--c-faint); font-weight: 400; }
.sess { padding: 7px 10px; border-radius: 8px; color: #3d3c38; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sess.on { background: #e8e5da; color: var(--c-ink); font-weight: 500; }
.sess.dim { color: var(--c-mute); }
.cos { margin-top: auto; border: 1px solid var(--c-line); background: #fbfaf6; border-radius: 12px; padding: 13px 13px 12px; }
.cos-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.cos-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a55b; box-shadow: 0 0 0 3px rgba(34,165,91,.15); flex: none; }
.cos-st { margin-left: auto; font-size: 11.5px; font-weight: 500; color: #22a55b; }
.cos-l { font-size: 12.5px; color: var(--c-mute); margin: 6px 0 10px; }
.cos-tools { display: flex; flex-wrap: wrap; gap: 5px; }
.tl { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #4b4a45; background: #f0eee6; border-radius: 6px; padding: 3px 7px 3px 6px; }
.tl i { width: 7px; height: 7px; border-radius: 2px; }
.me { display: flex; align-items: center; gap: 10px; padding: 14px 6px 2px; font-size: 13.5px; font-weight: 500; }
.me small { display: block; color: var(--c-mute); font-weight: 400; font-size: 12px; margin-left: auto; }
.av { width: 28px; height: 28px; border-radius: 50%; background: #2b2a27; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }

/* main column */
.chat { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
.chat-h { height: 48px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; }
.chat-title { font-size: 14px; color: #55534d; }
.hd-r { margin-left: auto; display: flex; align-items: center; gap: 16px; color: #6d6b64; }
.hd-r svg { width: 16px; height: 16px; }
.whatsnew { font-size: 13px; color: #2f7ad8; font-weight: 500; }
.scroll { flex: 1; overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px); }
.feed { width: 100%; max-width: 880px; align-self: center; padding: 0 30px 10px; display: flex; flex-direction: column; }
.rv { overflow: hidden; flex: none; }
.rv > .in { padding: 7px 0; }

/* empty state: the Claude Code critter, the project and the brain connection */
.empty { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.em-in { position: relative; width: 470px; margin-top: 40px; }
.crit { position: absolute; right: 10px; top: -40px; width: 44px; height: 32px; }
.em-card { border: 1px solid var(--c-line); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.03); }
.em-row { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 15px; font-size: 14.5px; color: #3d3c38; }
.em-row + .em-row { border-top: 1px solid #efece3; }
.em-row svg { width: 16px; height: 16px; fill: none; stroke: #6d6b64; stroke-width: 1.4; stroke-linejoin: round; }
.em-row small { margin-left: auto; color: var(--c-mute); font-size: 12.5px; }
.em-row.cosr b { font-weight: 600; color: var(--c-ink); }
.em-row.cosr small { color: #22a55b; font-weight: 500; }
.msg-user { align-self: flex-end; display: flex; justify-content: flex-end; }
.msg-user .bub { background: #efece3; border-radius: 16px; padding: 11px 16px; font-size: 16px; max-width: 560px; }
.msg-ai { font-size: 16px; line-height: 1.55; color: var(--c-ink); }
.msg-ai .w { opacity: 0; }
.steps { font: 13.5px/1 var(--mono); color: var(--c-mute); }
.step { display: flex; align-items: center; gap: 10px; padding: 5px 0; white-space: nowrap; }
.step .st { width: 14px; height: 14px; flex: none; position: relative; }
.step .st::before { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 1.6px solid #c9c5b8; border-top-color: var(--c-clay); }
.step.ok .st::before { border: 0; inset: 3px; background: #22a55b; }
.step .vb { color: var(--c-ink); font-weight: 600; min-width: 74px; }
.step .tg { display: inline-flex; align-items: center; gap: 6px; }
.step .tg i { width: 8px; height: 8px; border-radius: 2px; }
.step .tgt { color: #4d4c47; }
.step .ar { color: var(--c-faint); overflow: hidden; text-overflow: ellipsis; }
.summary { font: 13.5px/1 var(--mono); color: var(--c-mute); display: flex; align-items: center; gap: 10px; }
.summary b { color: var(--c-ink); font-weight: 600; }
.summary .chev { color: var(--c-faint); }

/* composer */
.composer { width: 100%; max-width: 780px; align-self: center; padding: 6px 30px 16px; flex: none; }
.cbox { display: flex; align-items: center; gap: 12px; border: 1px solid #ddd9cc; border-radius: 16px; background: #fff; padding: 11px 12px 11px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.composer.focus .cbox { border-color: #c9b9a8; box-shadow: 0 0 0 4px rgba(217,119,87,.10); }
.plus svg { width: 18px; height: 18px; color: #6d6b64; }
.input { flex: 1; min-height: 24px; font-size: 16px; position: relative; white-space: nowrap; overflow: hidden; }
.input .ph { color: var(--c-faint); position: absolute; left: 0; top: 2px; }
.input .typed { position: relative; top: 2px; }
.input .caret { display: inline-block; width: 2px; height: 19px; background: var(--c-clay); vertical-align: -3px; margin-left: 1px; opacity: 0; }
.act { position: relative; width: 30px; height: 30px; flex: none; }
.mic { position: absolute; inset: 6px; width: 18px; height: 18px; color: #6d6b64; }
.send { position: absolute; inset: 0; border-radius: 9px; background: var(--c-clay); display: grid; place-items: center; opacity: 0; }
.send svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.send.live { opacity: 1; }
.cmeta { display: flex; align-items: center; gap: 16px; padding: 9px 8px 0; font-size: 12.5px; color: #6d6b64; }
.cmeta span { display: inline-flex; align-items: center; gap: 6px; }
.cmeta svg { width: 14px; height: 14px; }
.cmeta .cosm i { width: 7px; height: 7px; border-radius: 50%; background: #22a55b; }
.cmeta .r { margin-left: auto; } .cmeta em { font-style: normal; color: var(--c-faint); }

/* ---------- briefing card ---------- */
.card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 2px 10px rgba(60,40,20,.05); padding: 20px 22px 18px; }
.card-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.card-h h3 { font: 600 19px/1.1 var(--ui); letter-spacing: -.01em; }
.card-h span { color: var(--c-mute); font-size: 13px; }
.card-h .src { margin-left: auto; display: flex; gap: 4px; }
.card-h .src i { width: 9px; height: 9px; border-radius: 2px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #faf9f5; border: 1px solid #efece3; border-radius: 12px; padding: 11px 13px 10px; }
.kpi .l { font-size: 12px; color: var(--c-mute); }
.kpi .v { font: 600 24px/1.15 var(--ui); letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12px; margin-top: 3px; color: var(--c-mute); display: flex; gap: 6px; align-items: center; }
.up { color: #1f9d55; font-weight: 600; } .down { color: #d4473c; font-weight: 600; }
.kpi .bar { height: 4px; border-radius: 2px; background: #ece9df; margin-top: 7px; overflow: hidden; } .kpi .bar i { display: block; height: 100%; background: var(--c-clay); border-radius: 2px; }
.cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.blk h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-faint); font-weight: 600; margin: 2px 0 7px; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 9px; font-size: 14px; line-height: 1.3; }
.row.hov { background: #f6f4ee; }
.row .who { font-weight: 600; white-space: nowrap; }
.row .what { color: #4d4c47; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 11.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.tag.need { background: #fdebe4; color: #b4532f; } .tag.fyi { background: #eef2f5; color: #5b6b78; } .tag.late { background: #fdecea; color: #c2392f; } .tag.draft { background: #e8f5ec; color: #1f7a45; }
.row .tm { font: 600 13px/1 var(--mono); color: var(--c-ink); width: 46px; }
.blk + .blk { margin-top: 10px; }
.fu { margin-top: 14px; border-top: 1px solid #efece3; padding-top: 12px; display: flex; align-items: center; gap: 14px; }
.fu .rows { flex: 1; }
.btn { background: var(--c-ink); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
.btn.press { transform: scale(.96); background: #3a3936; }
.reveal { opacity: 0; }

/* ---------- Brain Trail pane ---------- */
.trail { width: 580px; flex: none; background: var(--t-bg); color: var(--t-fg); display: flex; flex-direction: column; }
.trail-h { height: 48px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 22px; border-bottom: 1px solid #262629; }
.trail-name { font-weight: 600; font-size: 14.5px; }
.trail-sub { font: 12.5px/1 var(--mono); color: var(--t-dim); margin-left: auto; }
#disc { width: 580px; height: 580px; flex: none; }
#disc .web { stroke: #34343a; stroke-width: .75; fill: none; }
#disc .web.x { stroke: #3a3a41; stroke-dasharray: 2 3; }
#disc .web.r { stroke: #45454c; }
#disc .grp { fill: none; stroke: var(--t-ring); stroke-width: 1; }
#disc .gl { fill: #6b6b70; font: 600 10.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; paint-order: stroke; stroke: var(--t-bg); stroke-width: 3px; }
#disc .dot { fill: var(--t-dot); }
#disc .lbl { fill: var(--t-fg); font: 500 12px/1 var(--mono); paint-order: stroke; stroke: var(--t-bg); stroke-width: 4px; }
#disc .path { fill: none; stroke: var(--ember); stroke-width: 1.7; stroke-opacity: .85; }
#disc .lk { fill: none; stroke: var(--ember); stroke-width: 1; }
#disc .pulse { fill: none; stroke: var(--ember); }
#disc .arr { fill: none; stroke-linecap: round; }
#disc .chip rect.bx { fill: #222225; stroke: #2e2e33; stroke-width: 1; }
#disc .chip text { fill: #8d8d93; font: 500 13px/1 var(--ui); }
#disc .chip text.n { font: 500 11px/1 var(--mono); fill: #a1a1a6; }
#disc .chip.on text { fill: var(--t-fg); }
.log { flex: 1; border-top: 1px solid #262629; padding: 10px 22px; font: 12.5px/1 var(--mono); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.lg { display: flex; gap: 12px; padding: 4.5px 0; white-space: nowrap; color: #a1a1a6; }
.lg .k { width: 40px; color: #6b6b70; } .lg .k.read { color: var(--ember); }
.lg .n { overflow: hidden; text-overflow: ellipsis; }

/* ---------- cursor, toast ---------- */
#cursor { position: absolute; left: 0; top: 0; width: 30px; height: 30px; z-index: 20; pointer-events: none; will-change: transform; }
#cursor svg { width: 30px; height: 30px; fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); position: relative; z-index: 2; }
#cursor .ring { position: absolute; left: 5px; top: 3px; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px solid var(--c-clay); opacity: 0; }
#toast { position: absolute; left: 50%; bottom: 56px; transform: translateX(-50%); background: #1f1e1d; color: #fff; padding: 13px 20px; border-radius: 12px; font-size: 15px; display: flex; gap: 10px; align-items: center; opacity: 0; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
#toast i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf7c; }

/* chapter card (placeholder chapters, transitions) */
.ph-card { margin: auto; text-align: center; color: var(--c-mute); }
.ph-card b { display: block; font: 600 28px/1.2 var(--gs); color: var(--c-ink); margin-bottom: 8px; }

/* ---------- shared bits for chapters 2–5 ---------- */
.btn.ghost { background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); font-weight: 500; }
.tag.sent { background: #e8f0fb; color: #2a62b8; }
.tag.ok { background: #e8f5ec; color: #1f7a45; }
.avs { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; padding: 4px 0; color: #3d3c38; }
.li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #c9c5b8; margin-top: 8px; flex: none; }
.li.ac::before { background: var(--c-clay); }
.li em { font-style: normal; color: var(--c-faint); font: 12px/1.6 var(--mono); margin-left: auto; padding-left: 10px; white-space: nowrap; }
.box { background: #faf9f5; border: 1px solid #efece3; border-radius: 12px; padding: 12px 14px; }
.cnts { margin-left: auto; display: flex; gap: 6px; }
.cnts b { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; }
.cnts .g { background: #e8f5ec; color: #1f7a45; } .cnts .o { background: #fdebe4; color: #b4532f; } .cnts .n { background: #f0eee6; color: #74726b; }

/* inbox */
.mail { display: grid; grid-template-columns: 300px 1fr; gap: 16px; }
.ml-row { padding: 9px 11px; border-radius: 10px; border: 1px solid transparent; }
.ml-row + .ml-row { margin-top: 3px; }
.ml-row.hov { background: #f6f4ee; }
.ml-row.sel { background: #fff7f2; border-color: #f0d5c6; }
.ml-t { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ml-t span:not(.tag) { color: var(--c-mute); font-size: 12.5px; }
.ml-t .tag { margin-left: auto; }
.ml-s { font-size: 13px; color: #55534d; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv { position: relative; border: 1px solid #efece3; border-radius: 12px; padding: 14px 18px; background: #fff; }
.pv-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-faint); font-size: 14px; }
.pv-h { font-size: 13.5px; border-bottom: 1px solid #efece3; padding-bottom: 9px; }
.pv-h div { display: flex; gap: 10px; padding: 2px 0; } .pv-h span { width: 58px; color: var(--c-faint); }
.why { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 4px; font-size: 12px; }
.why span { color: var(--c-mute); margin-right: 2px; }
.why i { font: normal 500 11.5px/1 var(--mono); color: #a4512e; background: #fdf0e9; border: 1px solid #f6dccd; border-radius: 6px; padding: 4px 7px; }
.pv-b { font-size: 15px; line-height: 1.6; color: #2c2b28; padding: 6px 0 2px; }
.pv-b p { margin: 7px 0; }
.pv-b mark { background: #b9d6f7; color: inherit; border-radius: 2px; }
.ecaret { display: inline-block; width: 2px; height: 18px; background: #2c2b28; vertical-align: -3px; margin-left: 1px; opacity: 0; }
.pv-act { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pv-act small { color: var(--c-mute); font-size: 12.5px; margin-left: 6px; }

/* pipeline */
.pl-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-bottom: 12px; }
.chart { padding: 12px 14px 8px; }
.ch-h { display: flex; align-items: baseline; gap: 10px; font-size: 12px; color: var(--c-mute); }
.ch-h b { font: 600 22px/1 var(--ui); color: var(--c-ink); letter-spacing: -.02em; margin-left: auto; font-variant-numeric: tabular-nums; }
.ch-h .up { font-size: 12px; }
svg.mrr { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.mrr .ln { fill: none; stroke: #8b7cf6; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mrr .ar { fill: #8b7cf6; fill-opacity: .10; }
.mrr .end { fill: #8b7cf6; stroke: #fff; stroke-width: 2; }
.mrr .tg-line { stroke: #b4b1a6; stroke-width: 1; stroke-dasharray: 4 4; }
.mrr .tg-t, .mrr .mo { fill: #a3a097; font: 11px/1 var(--ui); }
.mk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk .kpi { padding: 9px 11px; } .mk .kpi .v { font-size: 20px; }
.deals { margin-bottom: 10px; }
.dl { display: grid; grid-template-columns: 1.5fr 1fr .6fr 1.1fr; align-items: center; gap: 10px; }
.dl.dh { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-faint); font-weight: 600; padding: 0 8px 4px; }
.dl.row { padding: 6px 8px; } .dl small { color: var(--c-mute); font-size: 12px; } .dl .am { font-variant-numeric: tabular-nums; font-weight: 600; }
.flags { border-top: 1px solid #efece3; padding-top: 10px; }
.flags h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-faint); font-weight: 600; margin-bottom: 4px; }
.fl-wrap { display: flex; align-items: center; gap: 14px; } .fl-rows { flex: 1; min-width: 0; }
.flag .what { white-space: nowrap; }

/* meeting prep */
.who-avs { margin-left: auto; display: flex; gap: 4px; } .who-avs .avs { width: 26px; height: 26px; }
.facts { display: flex; gap: 8px; margin-bottom: 14px; }
.facts span { font-size: 13px; color: var(--c-mute); background: #faf9f5; border: 1px solid #efece3; border-radius: 8px; padding: 6px 10px; }
.facts b { color: var(--c-ink); font-weight: 600; }
.blk { border-radius: 12px; padding: 6px 10px; margin: 0 -10px; border: 1px solid transparent; }
.blk.box { margin: 10px 0 0; padding: 11px 13px; border-color: #efece3; }
.blk.focus-b { background: #f8f6f0; border-color: #ebe6da; }
.blk + .blk { margin-top: 6px; }
.blk h4 { display: flex; align-items: center; gap: 7px; }
.blk h4 .sq { width: 8px; height: 8px; border-radius: 2px; }
svg.bars { width: 100%; height: 56px; margin-top: 8px; }
.bars rect { fill: #2bb3a3; fill-opacity: .8; transform-box: fill-box; transform-origin: 50% 100%; }
.saved { font-size: 13px; color: var(--c-mute); }
.saved code, .bu code { font: 12px/1 var(--mono); color: #4d4c47; }
.fu .btn + .btn { margin-left: -4px; }

/* debrief */
.df { display: grid; grid-template-columns: 84px 1fr 16px 1.25fr; align-items: center; gap: 8px; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed #efece3; }
.df .f { color: var(--c-mute); font-size: 12.5px; }
.df .o { color: #8f8c83; text-decoration: line-through; text-decoration-color: #c9c5b8; }
.df .arw { color: var(--c-faint); }
.df .n { color: #1f7a45; font-weight: 600; }
.df.done .n::after { content: " ✓"; color: #1f9d55; }
.mailbox { font-size: 13.5px; line-height: 1.5; color: #3d3c38; }
.bu { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 12.5px; color: var(--c-mute); }
.bu i { width: 7px; height: 7px; border-radius: 50%; background: #d6d2c6; flex: none; }
.bu.done i { background: var(--ember); box-shadow: 0 0 0 3px rgba(232,135,91,.18); }
.bu span { margin-left: auto; }
