/* immut web app style sheet: the founder area, the investor area and every deck link screen.
   ⛔ Generated from prototypes/web-app/gen/style.py (TOKENS). Change the table there, then rerun make_css.py.
   The rules this encodes are in specs/web-app/style.md. DJ, 19 Nov 2026: "learn from what Claude has done". */


:root {
  --page: #f9f9f7;
  --panel: #f3f2ee;
  --viz: #f6f5f2;
  --surface: #ffffff;
  --soft: #efeeea;
  --raised: #ffffff;
  --selected: #f1f1ee;
  --line: #e7e6e1;
  --line-strong: #d2d1c7;
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #6d6b67;
  --faint: #6d6b67;
  --accent-text: #2e65c0;
  --accent-text-2: #234e94;
  --good: #008300;
  --bad: #b93535;
  --bad-tint: #fbeaea;
  --good-tint: #e6f3e6;
  --blue: #2f7cf6;            /* the one main action on a screen */
  --warn: #b7791f;
  --header-h: 56px;           /* the heading line: one row, never taller */
  --tabs-h: 44px;
  --side-w: 230px;            /* founder; the investor sidebar starts at 216px */
  --side-min: 180px; --side-max: 360px;
  --panel-w: 260px; --panel-min: 220px; --panel-max: 420px;
  --radius: 8px; --radius-card: 12px;
  --gap-section: 32px;        /* between sections */
  --gap-item: 2px;            /* between items inside a section */
  font-family: Satoshi, Inter, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --page: #262624;
  --panel: #30302e;
  --viz: #2a2a28;
  --surface: #2f2e2c;
  --soft: #2e2d2b;
  --raised: #45443f;
  --selected: #3b3a37;
  --line: #363532;
  --line-strong: #4b4a45;
  --text: #f5f4ef;
  --text-2: #c2c0b6;
  --muted: #a3a198;
  --faint: #8a887f;
  --accent-text: #72a5f9;
  --accent-text-2: #9dbffa;
  --good: #0ca30c;
  --bad: #ec7e7e;
  --bad-tint: #3d2b2a;
  --good-tint: #24362a;
  }
}
:root[data-theme="dark"] {
  --page: #262624;
  --panel: #30302e;
  --viz: #2a2a28;
  --surface: #2f2e2c;
  --soft: #2e2d2b;
  --raised: #45443f;
  --selected: #3b3a37;
  --line: #363532;
  --line-strong: #4b4a45;
  --text: #f5f4ef;
  --text-2: #c2c0b6;
  --muted: #a3a198;
  --faint: #8a887f;
  --accent-text: #72a5f9;
  --accent-text-2: #9dbffa;
  --good: #0ca30c;
  --bad: #ec7e7e;
  --bad-tint: #3d2b2a;
  --good-tint: #24362a;
}

/* ── The shell: only the middle scrolls ─────────────────────────────── */
html, body { margin: 0; height: 100%; background: var(--page); color: var(--text); font-size: 14px; }
.app { height: 100vh; display: flex; overflow: hidden; }
.sidebar, .panel { background: var(--panel); position: relative; overflow-y: auto; display: flex; flex-direction: column; box-sizing: border-box; }
.sidebar { flex: 0 0 var(--side-w); width: var(--side-w); padding: 14px 8px; }   /* no border: the tint is the edge */
.panel { flex: 0 0 var(--panel-w); width: var(--panel-w); padding: 0 20px 28px; gap: var(--gap-section); }
.main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.header { height: var(--header-h); flex: 0 0 auto; box-sizing: border-box; padding: 0 64px 0 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.header h1 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.header .sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { height: var(--tabs-h); flex: 0 0 auto; display: flex; gap: 4px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.body { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 32px 0; display: flex; flex-direction: column; gap: var(--gap-section); }
/* The right panel's first heading starts level with the heading's bottom line. */
.panel > :first-child { margin-top: calc(var(--header-h) - 25px); }
.panel.with-tabs > :first-child { margin-top: calc(var(--header-h) + var(--tabs-h) - 25px); }
.resize { position: absolute; top: 0; bottom: 0; width: 8px; cursor: col-resize; }
.sidebar .resize { right: 0; } .panel .resize { left: 0; }
.fold { position: absolute; top: 14px; right: 16px; width: 28px; height: 28px; border: 0; border-radius: var(--radius); background: transparent; }

/* ── Chat: the question box is fixed to the bottom ──────────────────── */
.composer { position: sticky; bottom: 0; margin-top: auto; background: var(--page); padding: 12px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.composer form { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; }
.bubble-me { background: var(--selected); border-radius: 16px; padding: 10px 14px; }

/* ── Sections are not boxes ─────────────────────────────────────────── */
.section > h2 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.rows > * + * { border-top: 1px solid var(--line); }
.viz { background: var(--viz); border-radius: var(--radius-card); padding: 16px; }   /* charts, tables, video only */
.label-caps { font-size: 10.5px; font-weight: 500; letter-spacing: 0.06em; color: var(--faint); margin: 26px 8px 4px; }

/* ── Buttons: soft, never outlined ──────────────────────────────────── */
.btn { font: inherit; font-size: 13px; padding: 7px 13px; border: 0; border-radius: var(--radius); background: var(--soft); color: var(--text-2); }
.btn-primary { background: var(--blue); color: #ffffff; font-weight: 500; }
.btn-icon { width: 28px; height: 28px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.btn-good { background: color-mix(in srgb, var(--good) 14%, transparent); }
.btn-accent { background: rgba(47,124,246,0.12); color: var(--accent-text); }
.btn-bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 9px; background: var(--soft); }
.switch button { width: 32px; height: 26px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.switch button[aria-selected="true"] { background: var(--raised); color: var(--text); }

/* ── Status: a flat tinted label with a square dot ──────────────────── */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; border-radius: 6px; padding: 1px 8px 1px 7px; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.status.interested { color: var(--good); background: rgba(12,163,12,0.13); }
.status.monitoring { color: var(--accent-text); background: rgba(114,165,249,0.14); }
.status.declined { color: var(--bad); background: rgba(236,126,126,0.14); }
.status.none { color: var(--muted); background: rgba(137,135,129,0.14); }

/* ── Icons: line icons, no box, muted ───────────────────────────────── */
.icon { width: 18px; height: 18px; stroke: var(--text-2); fill: none; stroke-width: 1.5; }
.flag { width: 13px; height: 13px; stroke: var(--muted); }

/* ── Deck link pages (built 19 Nov 2026 from web-app.css) ─────────────── */
* { box-sizing: border-box; }
button { font: inherit; cursor: pointer; }
.btn { white-space: nowrap; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
a { color: var(--accent-text); }
.brand { display: flex; align-items: center; gap: 8px; padding: 4px 4px 14px; }
.brand img { width: 26px; height: 26px; }
.brand b { font-size: 19px; letter-spacing: -0.01em; } .brand b span { color: var(--blue); }
.brand small { color: var(--muted); font-size: 12px; }
/* ⭐ DJ, 24 Nov: "next to immut logo add Founder or Investor to make it very clear". A thin grey pill: it says what the page IS. */
.role-tag { font-size: 13px; font-weight: 500; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-left: 4px; }
/* ⭐ DJ, 24 Nov: "Make the 'investor? Sign in here' bigger to make it obvious." */
.other-door { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.other-door .btn { font-size: 15px; text-decoration: none; border: 1px solid var(--line); }
.nav { display: flex; flex-direction: column; gap: 1px; }
.nav button { display: flex; align-items: center; gap: 9px; text-align: left; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 13.5px; font-weight: 500; }
.nav button[aria-current="page"] { background: var(--selected); }
.nav svg { width: 18px; height: 18px; flex: 0 0 18px; }
.spacer { flex: 1; }
.me { display: flex; align-items: center; gap: 9px; padding: 7px 8px; font-size: 13px; min-width: 0; }
.me .dot { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.me .who { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me button { flex: 0 0 auto; margin-left: auto; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font-size: 12px; white-space: nowrap; cursor: pointer; }
.me button:hover { background: var(--hover, rgba(127,127,127,.12)); color: var(--text); }
.header .actions { display: flex; gap: 8px; align-items: center; }
.muted { color: var(--muted); } .small { font-size: 12.5px; }
.center { max-width: 460px; margin: 12vh auto 0; padding: 0 20px; display: flex; flex-direction: column; gap: 14px; }
.center h1 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.row { display: flex; gap: 8px; align-items: center; }
.row input { flex: 1; min-width: 0; }
.months > * { min-width: 0; }
.months .row { flex-wrap: wrap; }
.months .row input[type=month] { flex: 1 1 140px; } .months .row input[type=number] { flex: 1 1 100px; }
.err { color: var(--bad); font-size: 13px; min-height: 18px; }
.drop { border: 0; background: var(--viz); border-radius: var(--radius-card); padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--text-2); }
.drop.over { outline: 2px dashed var(--blue); }
.drop b { color: var(--text); font-size: 18px; }
.progress { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; } .progress > span { display: block; height: 4px; background: var(--blue); width: 0; transition: width .2s; }
/* ⭐ DJ, 21 Nov: reading the slides must not look stuck. A light sweeps the bar and the drop box breathes. */
.progress.working > span { width: 100% !important; background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 35%, #9cc2ff 50%, var(--blue) 65%, var(--blue) 100%); background-size: 200% 100%; animation: dl-sweep 1.2s linear infinite; }
.drop.analysing { animation: dl-breathe 2.4s ease-in-out infinite; }
@keyframes dl-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes dl-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } 50% { box-shadow: 0 0 0 4px rgba(59, 130, 246, .25); } }
@media (prefers-reduced-motion: reduce) { .progress.working > span, .drop.analysing { animation: none; } }
.lines { display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.line:first-child { border-top: 0; }
.line.one { grid-template-columns: 1fr; }
.line .k { display: flex; flex-direction: column; gap: 2px; } .line .k span { font-size: 13px; color: var(--text-2); } .line .k small { font-size: 11px; color: var(--faint); }
.line .v { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; } .line .v.empty { color: var(--muted); }
.line .btns { display: flex; gap: 6px; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; border-radius: 6px; padding: 1px 7px; margin-left: 6px; background: rgba(137,135,129,0.14); color: var(--text-2); }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs button { white-space: nowrap; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 500; padding: 12px 10px 11px; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.slide { width: 100%; max-width: 900px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: var(--radius-card); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs img { height: 64px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; background: #000; }
.thumbs img[aria-current="true"] { border-color: var(--blue); }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.months table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.months td { padding: 7px 0; border-top: 1px solid var(--line); } .months td:last-child { text-align: right; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.tick input { width: 18px; height: 18px; margin-top: 2px; }
.starter { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--page); padding: 8px 14px; border-radius: 10px; font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }
@media (max-width: 760px) {
  .sidebar { display: none; }
  .line { grid-template-columns: 1fr; } .line .btns { justify-content: flex-start; }
  .months { grid-template-columns: 1fr; }
  .header { padding: 0 16px; } .body { padding: 20px 16px 0; }
}

/* ── The founder area's side panel, as the board draws it (19 Nov) ───── */
.sidebar { transition: none; }
.brand { justify-content: space-between; }
.brand-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand.folded { justify-content: center; }
.fold-btn, .btn-icon { border: 0; background: transparent; color: var(--text-2); border-radius: var(--radius); cursor: pointer; }
.fold-btn svg, .btn-icon svg { width: 16px; height: 16px; }
.fold-btn:hover, .btn-icon:hover { background: var(--selected); color: var(--text); }
.nav .ic { position: relative; width: 26px; height: 26px; flex: 0 0 26px; display: flex; align-items: center; justify-content: center; color: var(--text-2); }
.nav .badge { position: absolute; top: -5px; right: -7px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav button:hover { background: var(--selected); }
.sidebar.folded { padding: 14px 8px; align-items: stretch; }
.sidebar.folded .nav button { justify-content: center; padding: 7px 0; }
.label-caps.with-btn { display: flex; justify-content: space-between; align-items: center; }
/* ⭐ DJ, 21 Nov: a quiet + icon like the fold button, not a blue pill. */
.label-caps .add { width: 24px; height: 24px; margin: -4px -4px -4px 0; }
.nav-plus { align-self: center; width: 30px; height: 30px; border: 0; border-radius: var(--radius); background: transparent; color: var(--accent-text); margin: 4px 0; }
.nav-plus svg { width: 16px; height: 16px; }
.sep { height: 1px; background: var(--line); margin: 12px 6px; }
.inv-row { padding: 7px 10px !important; }
.inv-lines { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.inv-lines .l1, .inv-lines .l3 { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.inv-lines .nm { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-lines .when, .inv-lines .l2, .inv-lines .l3 { font-size: 11.5px; color: var(--muted); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar.folded .inv-row { justify-content: center; padding: 9px 0 !important; }
.sq { width: 8px; height: 8px; border-radius: 3px; }
.side-empty { font-size: 12px; color: var(--muted); margin: 2px 10px; }
.usage { margin: 0 8px; display: flex; flex-direction: column; gap: 10px; }
.meter { display: flex; flex-direction: column; gap: 4px; }
.meter-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); }
.meter-top .num { color: var(--text); }
.bar { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; display: block; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.meter-note { font-size: 11px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.spacer { flex: 1; min-height: 16px; }
.me .theme { flex: 0 0 auto; border: 0; background: transparent; color: var(--text-2); font-size: 12px; padding: 4px 6px; border-radius: 6px; }
.me .theme:hover { background: var(--selected); }
.me.folded { flex-direction: column; gap: 6px; padding: 7px 0; }
.me .btn-icon { width: 26px; height: 26px; flex: 0 0 26px; display: inline-flex; align-items: center; justify-content: center; }

/* ── Founder views ───────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 4px; }
.tile .tl { font-size: 12px; color: var(--muted); }
.tile .tv { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile .tn { font-size: 12px; }
.viz .vt { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.chart { display: flex; flex-direction: column; gap: 4px; }
.chart .plot { display: flex; gap: 8px; align-items: stretch; }
.chart .yax { width: 22px; flex: 0 0 22px; height: 130px; padding-bottom: 6px; display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--muted); text-align: right; }
.chart svg.act { flex: 1; min-width: 0; width: 100%; height: 130px; display: block; }
.act .grid { stroke: var(--line); stroke-width: 1; } .act .axis { stroke: var(--muted); stroke-width: 1.5; }
.act polyline { fill: none; stroke-linejoin: round; } .act .so-line { stroke: var(--blue); stroke-width: 2.5; } .act .sq-line { stroke: var(--text-2); stroke-width: 2; }
.chart .xax { display: flex; justify-content: space-between; padding-left: 30px; font-size: 10.5px; color: var(--muted); }
.chart .legend { display: flex; gap: 14px; padding-left: 30px; font-size: 12px; color: var(--text-2); }
.chart .legend span { display: flex; align-items: center; gap: 6px; }
.chart .legend i { width: 14px; height: 2px; display: inline-block; } .chart .legend i.lo { background: var(--blue); } .chart .legend i.lq { background: var(--text-2); }
.feed > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.feed > div > span:last-child { white-space: nowrap; }
.filled { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.filled .ft { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 3px; }
.filled .ft b { font-size: 14px; font-weight: 500; }
svg.ringp { width: 54px; height: 54px; flex: 0 0 54px; }
.ringp circle { fill: none; stroke-width: 6; } .ringp .track { stroke: var(--line); } .ringp .fill { stroke: var(--blue); }
.ringp text { font-size: 8px; font-weight: 700; fill: var(--text); }
.star { display: inline-flex; margin-left: 6px; color: var(--faint); vertical-align: -1px; }
.star svg { width: 11px; height: 11px; } .star svg path { stroke: currentColor; fill: none; }
.star.got svg path { fill: currentColor; stroke: currentColor; }
.line .k .kl .star { opacity: .9; }
.line .k .kl { display: inline-flex; align-items: center; font-size: 13px; color: var(--text-2); }
.tabs .cnt { margin-left: 6px; font-size: 11px; color: var(--muted); font-weight: 500; }
.lines.detail { max-width: 900px; }
.line-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--line); }
.rec-intro { margin: 4px 0 14px; }
.rec-group { margin-bottom: 18px; }
.rec-group .label-caps { margin-bottom: 4px; }
.deck-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 900px; }
.deck-nav { display: flex; align-items: center; gap: 12px; max-width: 900px; }
.deck-nav .grow { flex: 1; }
.round { width: 36px; height: 36px; border-radius: 999px; border: 0; background: var(--soft); color: var(--text-2); font-size: 16px; }
.thumbs { max-width: 900px; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; max-width: 880px; }
.plan-head .pn { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.usage-box { display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.label-caps.flush { margin: 0 0 8px; display: block; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 880px; }
.plan { display: flex; flex-direction: column; gap: 6px; padding-right: 20px; border-right: 1px solid var(--line); }
.plan:last-child { border-right: 0; }
.plan .price { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; } .plan .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.tag.accent { color: var(--accent-text); background: rgba(114,165,249,0.14); }
.modal .box.give { max-width: 560px; gap: 14px; }
.give-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal .give-head .eyebrow { font-size: 10.5px; letter-spacing: 0.06em; font-weight: 500; display: block; margin-bottom: 4px; color: var(--muted); }
.modal .box.give input { background: var(--page); border-color: var(--line-strong); width: 100%; }
.give-head .btn-icon { width: 28px; height: 28px; font-size: 16px; }
.note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.note.bad { background: var(--bad-tint); color: var(--bad); } .note.good { background: var(--good-tint); color: var(--good); }
.form-grid { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; align-items: center; }
.form-grid .col { display: flex; flex-direction: column; gap: 4px; }
.copybox { display: flex; gap: 8px; align-items: flex-start; background: var(--page); border: 1px solid var(--line); border-radius: 10px; padding: 10px 10px 10px 12px; font-size: 13px; line-height: 1.5; }
.copybox > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.msg { white-space: pre-line; overflow-wrap: anywhere; } /* the share message keeps its lines */
/* ⭐ DJ, 23 Nov: "align under the other copy button". The chat bubbles below share .msg and cap it at 440px; in a copy box it fills the row. */
.copybox > span.msg { display: block; max-width: none; flex: 1; }
.qtable { max-width: 980px; }
.qtable .qh, .qtable .qr { display: grid; grid-template-columns: minmax(0, 1fr) 120px 60px 100px; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; align-items: center; }
.qtable .qh { font-size: 12px; color: var(--muted); border-top: 0; }
.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; }
.date { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.topics > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13px; padding: 3px 0; }
.topics .bar { height: 8px; } .topics .bar > span { border-radius: 999px; }
.topics .num { text-align: right; }
.empty-state h2 { margin-bottom: 6px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .qtable .qh, .qtable .qr { grid-template-columns: 1fr 70px; } .qtable .qh span:nth-child(2), .qtable .qr span:nth-child(2), .qtable .qh span:nth-child(3), .qtable .qr span:nth-child(3) { display: none; } .form-grid { grid-template-columns: 1fr; } .tiles.three { grid-template-columns: 1fr 1fr; } }

/* ── Messages ────────────────────────────────────────────────────────── */
.inbox { display: flex; border-top: 1px solid var(--line); min-height: 520px; max-width: 1100px; }
.inbox-list { flex: 0 0 240px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.inbox-filter { display: flex; gap: 6px; padding: 12px 12px 12px 0; margin-left: -12px; border-bottom: 1px solid var(--line); }
.inbox-filter .chip[aria-pressed="true"] { background: var(--selected); color: var(--text); }
.convo { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 12px 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); }
/* ⭐ DJ, 21 Nov: "the labels are not aligned". Every row, chosen or not, starts its
   text at the same place, and the filter's labels line up with the names. */
.convo[aria-current="true"] { background: var(--selected); border-radius: 8px; margin-left: -12px; padding-left: 12px; }
.convo .cv { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.convo .l1 { display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; }
.convo .pv { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.udot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 6px; border-radius: 999px; }
.inbox-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.inbox-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.thread-view { flex: 1; display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.thread-view.in-tab { padding: 0; max-width: 760px; }
.msgs { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.msg { display: flex; flex-direction: column; gap: 4px; max-width: 440px; }
.msg p { margin: 0; border-radius: 16px; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.msg.them { align-self: flex-start; } .msg.them p { background: var(--viz); }
.msg.me { align-self: flex-end; align-items: flex-end; } .msg.me p { background: var(--selected); }
.empty-msgs { margin: auto 0; }
.thread-foot { display: flex; flex-direction: column; gap: 6px; }
.reply { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 6px 6px 6px 14px; }
.reply input { flex: 1; border: 0; outline: none; background: transparent; padding: 8px 0; }
.closed { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--line-strong); font-size: 13px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 760px) { .inbox { flex-direction: column; } .inbox-list { flex: 0 0 auto; border-right: 0; } }

/* ── The investor's page ───────────────────────────────────────────── */
.inv { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.inv-top { height: 52px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.inv-top b { font-size: 15px; } .inv-top .sub { font-size: 12.5px; color: var(--muted); }
.inv-body { flex: 1; min-height: 0; overflow-y: auto; }
.inv-col { max-width: 860px; margin: 0 auto; padding: 24px 20px 0; display: flex; flex-direction: column; gap: 28px; }
.deckview { display: flex; flex-direction: column; gap: 10px; }
.deckview .slide { max-width: 100%; }
.thread { display: flex; flex-direction: column; gap: 22px; }
.q { align-self: flex-end; max-width: 80%; background: var(--selected); border-radius: 16px; padding: 10px 14px; font-size: 14px; }
.a { display: flex; flex-direction: column; gap: 10px; }
.a .head { font-size: 16px; line-height: 1.5; margin: 0; }
.a .ctx { font-size: 14px; color: var(--text-2); margin: 0; }
.cardv { background: var(--viz); border-radius: var(--radius-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cardv .t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.cardv .big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.cardv .chg.up { color: var(--good); } .cardv .chg.down { color: var(--bad); } .cardv .chg { font-size: 13px; color: var(--muted); }
.cardv .src { font-size: 12px; color: var(--muted); }
.cardv .items { display: flex; flex-direction: column; } .cardv .items div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.cardv .items div span:first-child { color: var(--muted); }
.cardv svg { width: 100%; max-width: 640px; display: block; overflow: visible; }
.ring { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ring ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.ring li span { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
.gaugebar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; } .gaugebar span { display: block; height: 8px; background: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 8px; border: 0; background: var(--soft); color: var(--text-2); cursor: pointer; text-align: left; }
.chip.more { background: transparent; color: var(--accent-text); padding-left: 0; }
.composer-wrap { flex: 0 0 auto; border-top: 1px solid var(--line); background: var(--page); }
.composer-wrap .inner { max-width: 860px; margin: 0 auto; padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.ask { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 14px; }
.ask input { flex: 1; border: 0; outline: none; background: transparent; padding: 8px 0; font-size: 15px; }
.ask button { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--blue); color: #fff; font-size: 18px; }
.notice { font-size: 12px; color: var(--muted); margin: 0; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 10; }
.modal .box { background: var(--surface); border-radius: 16px; max-width: 460px; width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.modal h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; } .modal .eyebrow { font-size: 12.5px; color: var(--accent-text); font-weight: 500; }
.thinking { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .cardv .items div { grid-template-columns: 1fr; gap: 2px; } .inv-top { padding: 0 16px; } }

/* ── Matched to the approved board "Founder 3", value for value (DJ, 19 Nov: "exactly the same") ── */
.app .header { padding: 0 32px; }
.app .body { padding: 24px 28px 32px; gap: 32px; }
.app .tabs { padding: 0 22px; }
.app .tabs button { padding: 12px 12px 11px; font-size: 13.5px; }
.app .tabs .cnt { font-size: 11.5px; }
.app .tabs.inline { height: auto; padding: 0; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: -16px; }
.app .tabs.inline button { font-size: 13px; padding: 10px 10px 9px; }
.app .tabs.inline .cnt { font-size: 11px; }
.brand b { font-family: 'Clash Display', Satoshi, sans-serif; font-weight: 600; font-size: 19px; }
.inv-lines .when { font-size: 11px; }
.date { gap: 2px; } .date > span:first-child { font-size: 12px; color: var(--muted); } .date > span:last-child { font-size: 14px; }
.tiles .tile .tl, .tile .tl { font-size: 12px; }
.section > h2, .viz .vt { font-size: 14px; font-weight: 500; }

/* ── The investor's page, matched to the board "Investor 1" value for value ── */
.inv { letter-spacing: -0.01em; }
.inv-top .who { font-size: 15px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-top .who b { color: var(--text); font-weight: 600; font-size: 15px; }
.inv-top .wm { font-size: 20px; font-weight: 700; color: var(--text); } .inv-top .wm span { color: var(--blue); }
.inv-col { max-width: 960px; padding: 28px 24px 0; gap: 22px; }
.deckview { gap: 12px; } .deckview .slide { border-radius: 16px; }
.sq-btn { font-size: 20px; width: 44px; height: 44px; border-radius: 8px; border: 0; background: var(--soft); color: var(--text); }
.deckview .pos { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.q { border-radius: 18px; padding: 12px 16px; font-size: 16px; max-width: 520px; }
.a { gap: 12px; }
.a .head { font-family: 'Source Serif 4', Georgia, serif; font-size: 17px; line-height: 1.55; letter-spacing: 0; }
.a .ctx { font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.55; }
.cardv { padding: 20px 22px; gap: 14px; }
.cardv .t { font-size: 15px; font-weight: 600; color: var(--text); }
.cardv .t span + span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.cardv .big { font-size: 36px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cardv .chg { font-size: 15px; }
.composer-wrap .inner { max-width: 960px; padding: 12px 24px 16px; gap: 10px; }
.ask { gap: 10px; background: transparent; border: 0; padding: 0; }
.ask input { font-size: 17px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ask button { width: auto; height: auto; font-size: 16px; font-weight: 600; padding: 14px 22px; border-radius: 10px; }
.notice { font-size: 13px; }
.modal .box { max-width: 520px; border-radius: 24px; padding: 32px; gap: 16px; }
.modal .eyebrow { font-size: 15px; font-weight: 600; }
.modal h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.modal .box > p.muted { font-size: 17px; line-height: 1.5; }
.modal .box .btn { font-size: 16px; padding: 13px 22px; border-radius: 10px; }
.modal .box > p.small { font-size: 13px; }
.modal .box.give { max-width: 560px; border-radius: 16px; padding: 22px 24px; gap: 14px; }
.modal .box.give .btn { font-size: 13px; padding: 7px 13px; border-radius: var(--radius); }
.modal .box.give > p.muted { font-size: 14px; }

/* ⭐ Answers (DJ, 19 Nov): a lead line, then bullets, then the card; months as
   a table, lists one row each. Below the boards' type block so it keeps its sizes. */
.a .bul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-family: 'Source Serif 4', Georgia, serif; font-size: 16px; line-height: 1.5; }
.a > .src { font-size: 12px; color: var(--muted); margin: 0; }
.cardv .items.one div { grid-template-columns: 1fr; }
.cardv .items.one div span:first-child { color: inherit; }
.cardv .tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.cardv .tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; padding: 0 0 8px; }
.cardv .tbl td { padding: 7px 0; border-top: 1px solid var(--line); }
.cardv .tbl th:not(:first-child), .cardv .tbl td:not(:first-child) { text-align: right; }
.cardv .tbl td.up { color: var(--good); }
.cardv .tbl td.down { color: var(--bad); }

/* ── Your monthly figures, as the Mac app ── */
.month-section { max-width: 900px; padding-top: 8px; border-top: 1px solid var(--line); }
.month-section .months { margin-top: 18px; }
.month-box h2 { margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.month-add { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.month-add select { padding: 8px 10px; }
.month-add .amt { display: inline-flex; align-items: center; gap: 4px; flex: 1 1 110px; min-width: 110px; }
.month-add .amt input { width: 100%; min-width: 0; }
.month-box .err:empty { display: none; }
.month-rows { margin-top: 10px; }
.month-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.month-row.on { background: var(--selected); }
.month-row .acts { display: flex; gap: 6px; } .month-row .acts .btn { padding: 4px 10px; font-size: 12px; }

/* ── The team ── */
.team { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.member { border-top: 1px solid var(--line); }
.member-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; }
.member-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--text); padding: 0; text-align: left; flex-wrap: wrap; }
.member-toggle b { font-size: 14.5px; font-weight: 600; }
.member-toggle .chev { width: 12px; color: var(--muted); }
.member .lines { padding-left: 22px; padding-bottom: 8px; }
.member-add { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.member-add .row { flex-wrap: wrap; } .member-add input { flex: 1 1 180px; }
.add-member { align-self: flex-start; }

/* ── Pitch deck: each slide its own item ── */
.deck-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; max-width: 1100px; }
.deck-title h2 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.deck-title p { margin: 0 0 6px; font-size: 14px; }
.deck-stage { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; max-width: 1100px; }
.deck-stage .slide { max-width: 100%; }
.slide-side { display: flex; flex-direction: column; gap: 8px; }
.slide-side h3 { margin: 0; font-size: 17px; font-weight: 600; }
.slide-side p { margin: 0; font-size: 14px; line-height: 1.5; }
.note-edit { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 640px; }
.note-edit .fl { font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-top: 6px; }
.note-edit .help { font-size: 12px; color: var(--muted); line-height: 1.4; }
.note-edit .other-name { display: flex; flex-direction: column; gap: 6px; }
.note-edit .err:empty { display: none; }
.slide-group { display: flex; align-items: baseline; gap: 8px; padding: 16px 0 6px; }
.slide-group b { font-size: 13.5px; font-weight: 600; }
.slide-list { display: flex; flex-direction: column; max-width: 1100px; }
.slide-item { display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.si-pic { position: relative; display: block; cursor: pointer; line-height: 0; }
.si-num { position: absolute; left: 6px; bottom: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.si-name { border: 0; background: transparent; padding: 0; text-align: left; color: var(--text); font-size: 14px; font-weight: 600; cursor: text; border-radius: 4px; }
.si-name:hover { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.slide-item .rename { font-size: 14px; font-weight: 600; padding: 4px 8px; max-width: 420px; }
.slide-item img { width: 136px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.slide-item.on img { border-color: var(--blue); }
.slide-item .si-text { display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.slide-item .si-text b { font-size: 14px; font-weight: 600; }
.slide-item .si-text > span:nth-child(2) { font-size: 13.5px; line-height: 1.45; }
@media (max-width: 900px) { .deck-stage { grid-template-columns: 1fr; } .slide-item { grid-template-columns: 96px 1fr; } .slide-item .btn { grid-column: 2; justify-self: start; } .slide-item img { width: 96px; } }

/* ── Team photos and previous roles ── */
.member-body { padding-left: 22px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 12px; }
.member-body .lines { padding-left: 0; }
.face { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex: 0 0 56px; }
.face.sm { width: 24px; height: 24px; flex: 0 0 24px; }
.face.empty { border: 1px dashed var(--line-strong); background: transparent; color: var(--muted); font-size: 20px; }
span.face.sm.empty { display: inline-flex; align-items: center; justify-content: center; border-style: solid; border-color: var(--line); color: var(--faint); }
span.face.sm.empty svg { width: 14px; height: 14px; }
.photo-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.photo-row .small { flex: 1; min-width: 200px; }
.photo-edit { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.roles { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.roles h3 { margin: 0; font-size: 13px; font-weight: 500; color: var(--text-2); }
.role { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.role:first-of-type { border-top: 0; }
.role .btns { display: flex; gap: 6px; align-items: flex-start; }
.form-card { background: var(--viz); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; margin: 6px 0; }
.form-card .fc-title { font-size: 14px; font-weight: 600; }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.wide, .check.wide { grid-column: 1 / -1; }
.field > label { font-size: 12px; font-weight: 500; color: var(--text-2); }
.form-card input, .form-card select, .form-card textarea { width: 100%; background: var(--page); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--text); }
.form-card input, .form-card select { height: 36px; padding: 0 12px; }
.form-card textarea { padding: 9px 12px; resize: vertical; line-height: 1.45; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent-text); }
.form-card select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23a3a198' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.form-card select:disabled { cursor: default; }
.mpick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.fc-actions { display: flex; justify-content: flex-end; gap: 8px; }
/* ── Time spent ── */
.slide-time > div { grid-template-columns: 200px minmax(0, 1fr) 110px; }
.slide-time .st-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.visits { max-width: 820px; margin-top: 12px; }
.visits .vh, .visits .vr { display: grid; grid-template-columns: minmax(0, 1fr) 110px 130px 90px; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.visits .vh { font-size: 12px; color: var(--muted); border-top: 0; }
/* ⭐ DJ, 23 Nov: each visit opens to its own time on each slide; 10 visits a page. */
.visits button.vr { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; color: inherit; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; align-items: center; }
.visits button.vr:hover { background: var(--hover, rgba(127,127,127,.06)); }
.visits .v-when { display: inline-flex; align-items: center; gap: 6px; }
.visits .v-chev { display: inline-flex; color: var(--muted); transition: transform .15s; }
.visits .v-chev svg { width: 12px; height: 12px; }
.visits .vr.open .v-chev { transform: rotate(90deg); }
.visits .v-detail { padding: 4px 0 12px 18px; }
.visits .v-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.slides-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1100px; }
.slides-head h2 { margin: 0; }
.order-list { display: flex; flex-direction: column; gap: 4px; }
.order-row { display: grid; grid-template-columns: 24px 96px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
.order-row img { width: 96px; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 4px; }
.order-row .ot { display: flex; flex-direction: column; min-width: 0; } .order-row .ot .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-row .btn-icon { width: 30px; height: 30px; font-size: 15px; } .order-row .btn-icon:disabled { opacity: .3; }
/* ── Review a new deck ── */
.review-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(47,124,246,0.10); font-size: 13.5px; max-width: 1100px; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1000px; font-size: 13.5px; }
.rv-group { max-width: 1000px; display: flex; flex-direction: column; gap: 10px; }
.rv-item { background: var(--viz); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid transparent; }
.rv-item.done { border-color: var(--line); background: transparent; }
.rv-head { display: flex; flex-direction: column; gap: 2px; } .rv-head b { font-size: 14px; }
.rv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-col p { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.rv-tag { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.rv-choices { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-choices .chip.on { background: var(--blue); color: #fff; }
.rv-choices .sugg { margin-left: 6px; font-size: 11px; opacity: .75; }
.rv-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; background: var(--page); border-top: 1px solid var(--line); max-width: 1000px; }
@media (max-width: 760px) { .rv-cols { grid-template-columns: 1fr; } }
.typed { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.typed input[inputmode=decimal] { width: 150px; text-align: right; font-variant-numeric: tabular-nums; }
.money-box input, .month-add .amt input { text-align: right; font-variant-numeric: tabular-nums; }
.typed .cur { color: var(--muted); }
.typed select { padding: 8px 10px; }
.typed-list { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.tl-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 28px; gap: 8px; align-items: center; }
.tl-row .pctbox { display: flex; align-items: center; gap: 4px; } .tl-row .pctbox input { width: 70px; }
/* Two things a row (a risk and how it is handled; a customer and why): two equal boxes. A goal: words, then its month and year. */
.tl-row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
.tl-row.goal { grid-template-columns: minmax(0, 1fr) auto 28px; }
@media (max-width: 560px) { .tl-row.two, .tl-row.goal { grid-template-columns: minmax(0, 1fr) 28px; } .tl-row.two > :nth-child(2), .tl-row.goal > :nth-child(2) { grid-column: 1; grid-row: 2; } }
.form-card .help { margin: 0; font-size: 12px; color: var(--muted); }
.money-box { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px; align-items: center; }
.money-box span { white-space: nowrap; font-size: 13px; }
.form-card .help.wide { grid-column: 1 / -1; }
.roles.competitors { border-top: 0; padding-top: 0; max-width: 900px; }
.roles.competitors h3 { display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-card .err:empty { display: none; }
@media (max-width: 760px) { .fc-grid { grid-template-columns: 1fr; } }
.role-form .err:empty, .photo-edit .err:empty, .member-add .err:empty { display: none; }

/* ⭐ Faces (DJ, 19 Nov): the founder's photo of each person, round, or a quiet
   placeholder with their initials. */
.face { border-radius: 50%; object-fit: cover; flex: 0 0 auto; display: inline-block; background: var(--soft); }
.face.none { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; letter-spacing: 0.02em; border: 1px solid var(--line); }
.people, .people-card { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.people-card { flex-direction: column; gap: 12px; }
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.person .pn { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.35; }
.person .pn span { color: var(--muted); font-size: 13px; }
.team-strip { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 8px; }
/* A table with its own columns (previous roles): words, so left-aligned. */
.cardv .tblwrap { overflow-x: auto; }
.cardv .tbl.cols th, .cardv .tbl.cols td { text-align: left; padding-right: 14px; }
.cardv .tbl.cols tbody th { font-weight: 500; color: var(--muted); }
/* The team as a table: face and name, then a column per fact (DJ, 19 Nov). */
.cardv .ptbl tbody th { color: var(--text); font-weight: 600; white-space: nowrap; width: 1%; }
.cardv .ptbl td { color: var(--text-2); vertical-align: middle; }
.cardv .ptbl tbody th .person b { font-weight: 600; }
@media (max-width: 560px) {
  .cardv .ptbl thead { display: none; }
  .cardv .ptbl tr { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
  .cardv .ptbl th, .cardv .ptbl td { display: block; border: 0; padding: 2px 0; width: auto; }
  .cardv .ptbl td:not(:empty)::before { content: attr(data-col) ": "; color: var(--muted); }
  .cardv .ptbl td.pbtn::before { content: none; } /* the profile button has no name to show (DJ, 22 Nov: a stray ":") */
}
/* A table's first column names the row: in full colour, level with its row. */
.cardv .tbl.cols tbody th { color: var(--text); font-weight: 600; }
.cardv .tbl.cols th, .cardv .tbl.cols td { vertical-align: top; }
.cardv .ptbl th, .cardv .ptbl td { vertical-align: middle; }
/* Two figures side by side (unit economics), each with whose figure it is. */
.cardv .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cardv .pair-one { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.cardv .pair-one .pl { font-size: 13px; color: var(--muted); }
.cardv .pair-one .pn { font-size: 12px; color: var(--muted); }
/* A chart's key: solid for real figures, dotted for a projection. */
.cardv .legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.cardv .legend span { display: inline-flex; align-items: center; gap: 6px; }
.cardv .legend i { display: inline-block; width: 18px; height: 0; }
/* The investor's top bar: the immut icon and wordmark on the left (DJ, 19 Nov). */
.inv-top .wm { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.inv-top .wm img { width: 24px; height: 24px; display: block; }
.inv-top .wm .wt { font-size: 20px; font-weight: 700; color: var(--text); }
.inv-top .wm .wt span { color: var(--blue); }

/* ⭐ DJ, 20 Nov: one person, across the whole card. */
.ph { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ph-name { font-size: 20px; font-weight: 700; line-height: 1.2; }
.ph-role { color: var(--muted); font-size: 15px; margin-top: 2px; }
.ph-facts { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 8px 16px; margin: 0; font-size: 14px; line-height: 1.45; }
.ph-facts dt { color: var(--muted); }
.ph-facts dd { margin: 0; }
/* ⭐ DJ, 20 Nov: the world map with a pin, and the timeline before and after the start. */
.worldmap { width: 100%; height: auto; display: block; }
.maplabel { font-weight: 700; font-size: 15px; margin-top: 6px; }
.timeline { width: 100%; height: auto; display: block; overflow: visible; }
.legend i.chk { width: 16px; height: 10px; border: 0; background: repeating-conic-gradient(color-mix(in srgb, var(--muted) 22%, transparent) 0 25%, transparent 0 50%) 0 0 / 6px 6px; }
/* ⭐ DJ, 20 Nov: a founder's figures that disagree, asked about where they live. */
.note.warn { background: var(--warn-tint, var(--soft)); color: var(--text); margin-bottom: 10px; }
/* ⭐ DJ, 21 Nov: the round's objectives as bars across the months, the goal's end date as a line. */
.gantt { display: flex; flex-direction: column; gap: 6px; }
.gantt .gr { display: grid; grid-template-columns: minmax(120px, 36%) 1fr; gap: 12px; align-items: center; }
.gantt .gn { display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; min-width: 0; }
.gantt .gn b { font-weight: 600; }
.gantt .gn span { color: var(--muted); font-size: 12px; }
.gantt .gtrack { position: relative; height: 22px; border-left: 1px solid var(--line-strong); }
.gantt .ghead { height: 16px; border-left: 0; }
.gantt .gt { position: absolute; top: 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.gantt .gb { position: absolute; top: 4px; height: 14px; border-radius: 4px; background: var(--blue); min-width: 6px; }
.gantt .gg { position: absolute; top: -3px; bottom: -3px; width: 0; border-left: 2px solid #eb6834; }
/* ⭐ DJ, 21 Nov: a team member's whole profile, one click away; a competitor's website opens in a new tab. */
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-size: 12.5px; cursor: pointer; text-align: left; }
.linkbtn:hover, .cardv .tbl a:hover { text-decoration: underline; }
.cardv .tbl a { color: var(--blue); text-decoration: none; }
.cardv + .cardv { margin-top: 10px; }
/* A row's name sits level with its cells (DJ's Round 3 competitors table, 21 Nov). */
.cardv .tbl.cols tbody th { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: 0; }
/* ⭐ DJ, 21 Nov (second look): the profile button is a real button in its own column,
   and a name never runs into the role beside it. */
.cardv .tbl.cols th, .cardv .tbl.cols td { padding-right: 18px; }
.cardv .tbl.cols th:last-child, .cardv .tbl.cols td:last-child { padding-right: 0; }
.cardv .ptbl td.pbtn { text-align: right; white-space: nowrap; width: 1%; }
.btn.profile { padding: 5px 11px; font-size: 12.5px; white-space: nowrap; cursor: pointer; }
.people-card .person .btn.profile { margin-left: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .cardv .ptbl td.pbtn { text-align: left; width: auto; padding-top: 6px; } }
.cardv .tbl.cols tbody th { padding-right: 18px; }
.cardv .tbl.cols.ptbl th, .cardv .tbl.cols.ptbl td { vertical-align: middle; }
.cardv .ptbl td.pbtn::before { content: none; }
@media (max-width: 560px) { .cardv .tbl.cols.ptbl tbody th { border-top: 0; } }
/* ⭐ A1, 21 Nov: on a touch screen every control on the investor's page is at
   least 44px tall, so a thumb can hit it (speed_test.go, TestTouchTargetsAreAThumbWide). */
@media (pointer: coarse) { .inv .chip, .inv .btn, .inv .ask button { min-height: 44px; } .inv .chip { display: inline-flex; align-items: center; } }
.inv .deckview .slide { touch-action: pan-y pinch-zoom; } /* a sideways swipe turns the slide (investor.mjs) */
.modal .box.welcome .row { flex-wrap: wrap; } /* A1: both buttons stay inside the box at 360 wide */
/* ⭐ A1, waiting on DJ's yes: on a phone, Slideshow or Scroll. Wider screens keep the slideshow only. */
.deck-mode { display: none; }
@media (max-width: 760px) {
  .deck-mode { display: flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 10px; align-self: flex-start; }
  .deck-mode button { font: inherit; font-size: 14px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); }
  .deck-mode button[aria-pressed="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
  .scroll-list { display: flex; flex-direction: column; gap: 18px; }
  .scroll-slide { margin: 0; display: flex; flex-direction: column; gap: 6px; }
  .scroll-slide figcaption { font-size: 13px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
}

/* ── "Shared by immut.io" at the foot of a free investor page (A2, badge.go) ── */
.composer-wrap .foot { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.composer-wrap .foot .notice { flex: 1 1 320px; }
/* 44px to tap, but no taller in the bar than its words: the padding is taken back by the margin. */
.inv-badge { margin: 0; font-size: 13px; flex: 0 0 auto; }
.inv-badge a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; margin: -12px 0; color: var(--muted); text-decoration: none; }
.inv-badge a:hover, .inv-badge a:focus-visible { color: var(--text-2); text-decoration: underline; }

/* Billing (DJ, 21 Nov): the trial offer, a line under the plan, a button on each plan, and a thin trial line on every screen. */
.trial-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border: 1px solid var(--blue); border-radius: var(--radius-lg, 12px); padding: 16px 18px; }
.trial-box h2 { margin: 0 0 4px; }
.plan-line { margin: -8px 0 14px; }
.plan .btn { margin-top: 10px; align-self: flex-start; }
.trial-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2); }

/* ── The top of the investor page: company, industry, lead (DJ, 21 Nov) ── */
.inv-top { height: 60px; gap: 14px; justify-content: flex-start; }
/* DJ, 21 Nov: all the founder's details sit on the right, together, away from the immut logo. */
.inv-top .co { flex: 0 1 auto; margin-left: auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 1px; line-height: 1.25; }
.inv-top .co > * { max-width: 100%; } /* a long line shortens with … and never runs back over the immut icon */
.inv-top .co-name { font-size: 16px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-top .co-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-top .lead { flex: 0 1 auto; min-width: 0; max-width: 40%; display: inline-flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.inv-top .lead .pn { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.inv-top .lead .pn b { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-top .lead .pn span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .inv-top { gap: 10px; }
  .inv-top .wm .wt { display: none; }
  .inv-top .co-name { font-size: 15px; }
  .inv-top .lead { max-width: 44%; gap: 8px; padding-left: 10px; }
  .inv-top .lead .face { width: 32px !important; height: 32px !important; }
}
/* An in-page "are you sure" (DJ, 21 Nov: the app's browser never shows the browser's own). */
.box.confirm { max-width: 420px; }
.box.confirm h2 { margin: 0 0 6px; }
.box.confirm .row { margin-top: 16px; gap: 8px; }
/* An ended link, on the investor's side (DJ, 21 Nov): who shared it, a blurred deck drawn over nothing, and ask again. */
.ended-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; display: flex; flex-direction: column; gap: 22px; }
.ended-page header h1 { margin: 0 0 6px; }
.ended-page header p { margin: 0 0 14px; }
.ended-lead { display: flex; align-items: center; gap: 12px; }
.ended-lead .pn { display: flex; flex-direction: column; }
.ended-deck { aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid var(--line); background: var(--surface, var(--page)); overflow: hidden; display: grid; place-items: center; }
.ghost-slide { width: 70%; display: flex; flex-direction: column; gap: 14px; filter: blur(9px); opacity: .7; }
.ghost-slide span { display: block; height: 18px; border-radius: 9px; background: var(--muted); }
.ghost-slide span:first-child { height: 34px; width: 60%; background: var(--text-2, var(--muted)); }
.ghost-slide span:nth-child(3) { width: 80%; } .ghost-slide span:last-child { width: 45%; }
.ended-note { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ended-note h2 { margin: 0; }
@media (max-width: 560px) { .ended-page { padding: 24px 16px 40px; } }

/* ── The slide fits the screen, in height as well as width (DJ, 21 Nov: "resized
   to show full on different screens"). The deck area is a size container, so a
   short window draws a smaller slide instead of cutting it off. --deck-room is
   what sits above and below the slide inside it: the top gap and, on a phone,
   the Slideshow / Scroll switch. The arrows, the count and full screen sit ON
   the slide (DJ, 21 Nov: "overlay these buttons on the deck and fill that space
   with the deck"). The scroll view is left alone. */
.inv-body { container-type: size; }
.inv { --deck-room: 56px; --deck-w: min(100%, 1280px, max(200px, calc((100cqh - var(--deck-room)) * 16 / 9))); }
@media (max-width: 760px) { .inv { --deck-room: 124px; } }
.inv .deckview > .slide { display: block; margin: 0 auto; width: 100%; max-width: var(--deck-w); }
.inv .deckview .frame { position: relative; margin: 0 auto; width: var(--deck-w); }
.inv .deckview .frame > .slide { display: block; width: 100%; max-width: none; margin: 0; }
/* The starter questions take one row, scrolled sideways, at every size, so the
   slide keeps the room (DJ, 21 Nov: the slide shows in full; DJ, 23 Nov: "make
   this items be on one line - with scroll"). A mouse gets a thin scroll bar; a
   finger swipes, with no bar. */
.inv .composer-wrap .chips { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding-bottom: 4px; }
.inv .composer-wrap .chip { flex: 0 0 auto; white-space: nowrap; }
@media (pointer: coarse) {
  .inv .composer-wrap .chips { scrollbar-width: none; padding-bottom: 0; }
  .inv .composer-wrap .chips::-webkit-scrollbar { display: none; }
}
/* A short window (a laptop with the browser's bars, or a preview pane): less gap above. */
@media (max-height: 560px) and (min-width: 761px) {
  .inv { --deck-room: 32px; }
  .inv .inv-col { padding-top: 12px; }
}

/* ── Onboarding: the first sign-in (DJ, 21 Nov) ── */
.drop.hold { padding: 18px 16px; gap: 8px; font-size: 13px; }
.onboard { min-height: 100vh; background: var(--page); color: var(--text); display: flex; flex-direction: column; }
.ob-top { display: flex; align-items: center; gap: 12px; padding: 14px 32px; border-bottom: 1px solid var(--line); }
.ob-top .who { margin-left: auto; }
.ob-steps { list-style: none; margin: 0; padding: 14px 32px; display: flex; gap: 6px 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ob-steps li { display: flex; align-items: center; gap: 8px; }
.ob-steps .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.ob-steps li.on { color: var(--text); font-weight: 600; }
.ob-steps li.on .n { border-color: var(--blue); color: var(--accent-text); }
.ob-steps li.done .n { border-color: var(--good); color: var(--good); }
.ob-main { flex: 1; display: flex; flex-direction: column; max-width: 980px; width: 100%; margin: 0 auto; }
.ob-main .body { overflow: visible; padding-bottom: 40px; }
.ob-share { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.ob-offer { align-items: flex-start; }
.ob-offer > div:first-child { flex: 1 1 320px; }
.ob-list { margin: 0 0 8px; padding-left: 18px; color: var(--text-2); }
.ob-btns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 190px; }
@media (max-width: 640px) { .ob-top, .ob-steps { padding-left: 16px; padding-right: 16px; } .ob-steps .sl { display: none; } .ob-steps li.on .sl { display: inline; } }
/* ── Message the founder, or set an alert (DJ, 21 Nov; asks.go) ── */
/* ⭐ DJ, 21 Nov: beside Ask, stacked, smaller than Ask and wider; the question
   box is the one that gives way. On a narrow phone the stack takes its own line. */
/* ⭐ DJ, 23 Nov: "Make these a little thinner, should provide more space for input questions": as wide as their words, not 264px. */
.inv .ask .inv-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; width: max-content; min-width: 150px; }
/* Quiet: Ask stays the one blue action (the kit's rule). */
.inv .ask .inv-actions .btn { width: 100%; height: auto; min-height: 30px; padding: 5px 12px; font-size: 13px; font-weight: 500; line-height: 1.2; text-align: center; white-space: nowrap; border: 0; border-radius: 8px; background: var(--soft); color: var(--text-2); }
.inv .ask .inv-actions .btn:hover { color: var(--text); }
.inv .ask input { min-width: 0; }
.inv .ask-only { justify-content: flex-end; }
@media (pointer: coarse) { .inv .ask .inv-actions .btn { min-height: 44px; } }
@media (max-width: 640px) {
  .inv .ask { flex-wrap: wrap; }
  .inv .ask input { flex: 1 1 0; }
  .inv .ask .inv-actions { width: 100%; }
}
.modal .box.inv-panel { position: relative; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; }
.inv-panel .x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 24px; border-radius: 10px; }
.inv-panel .benefits { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; line-height: 1.45; }
.inv-panel .signin { display: flex; flex-direction: column; gap: 8px; }
.inv-panel .signin input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--page); color: var(--text); min-height: 44px; }
.inv-panel .signin .btn { min-height: 44px; }
.inv-panel .err { color: var(--bad); margin: 0; }
.inv-panel .err:empty { display: none; }
.inv-panel .msgs { display: flex; flex-direction: column; gap: 8px; max-height: 40vh; overflow-y: auto; }
.inv-panel .msg { display: flex; flex-direction: column; gap: 2px; max-width: 85%; padding: 10px 12px; border-radius: 12px; background: var(--soft); line-height: 1.45; }
.inv-panel .msg.mine { align-self: flex-end; background: var(--selected); }
.inv-panel .msgform, .inv-panel .alertform { display: flex; flex-direction: column; gap: 8px; }
.inv-panel textarea, .inv-panel select, .inv-panel input[type="number"] { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--page); color: var(--text); min-height: 44px; }
.inv-panel .msgform .btn, .inv-panel .alertform .btn { align-self: flex-start; min-height: 44px; }
.inv-panel .alert-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.inv-panel .alert-row .linkbtn { min-height: 44px; }
.inv-panel .mailtoggle { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); }
.review-banner.asks { align-items: flex-start; }
.review-banner .asks-list { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.review-banner .ask-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-banner .ask-item .linkbtn { min-height: 32px; }

/* ── Alerts: "Keep me posted" (specs/web-app/overview.md § 10a) ── */
.alert-btn { font-size: 12.5px; }
.modal .box.alerts { max-width: 620px; max-height: 90vh; overflow-y: auto; }
.alert-cond { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.alert-cond .label-caps { width: 52px; }
.alert-cond select, .alert-cond input { font: inherit; font-size: 13px; padding: 7px 9px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--page); color: var(--text); max-width: 100%; }
.alert-cond select { min-width: 0; flex: 1 1 200px; }
.alert-val input { width: 120px; }
.alert-val { gap: 4px; align-items: center; }
.alert-sentence { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--viz); font-size: 14px; }
.alert-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alert-row.paused > p:first-child { color: var(--muted); }
.watch-line h2 { margin: 0 0 4px; font-size: 14px; }
/* ── The controls on the slide (DJ, 21 Nov): "subtle, highlight when you hover
   them, and position in corners, on the edges to avoid as much text in the deck
   as possible". ‹ bottom left, › bottom right, the count bottom middle, full
   screen top right. See-through until the pointer is on the slide, clear on
   hover; on a touch screen always half clear and 44px. Swipes pass through.
   ⭐ DJ, 23 Nov: full screen shows on a phone too, top right, as in the
   investor area: "Some people may prefer to use this" to turning the phone. */
.inv .frame .ctrl { position: absolute; inset: 0; pointer-events: none; }
.inv .frame .ctrl > * { position: absolute; pointer-events: auto; }
.inv .frame .ctrl .sq-btn, .inv .frame .ctrl .fs-btn, .inv .frame .ctrl .dl-btn { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: rgba(0,0,0,0.28); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0.45; transition: opacity .15s ease, background-color .15s ease; }
.inv .frame .ctrl .prev { left: 8px; bottom: 8px; }
.inv .frame .ctrl .next { right: 8px; bottom: 8px; }
.inv .frame .ctrl .fs-btn { right: 8px; top: 8px; font-size: 15px; }
.inv .frame .ctrl .dl-btn { left: 8px; top: 8px; display: grid; place-items: center; }
.inv .frame .ctrl .pos { left: 50%; bottom: 12px; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,0.28); color: #fff; font-size: 12px; opacity: 0.45; pointer-events: none; transition: opacity .15s ease; }
.inv .frame:hover .ctrl .sq-btn, .inv .frame:hover .ctrl .fs-btn, .inv .frame:hover .ctrl .dl-btn, .inv .frame:hover .ctrl .pos { opacity: 0.8; }
.inv .frame .ctrl .sq-btn:hover, .inv .frame .ctrl .fs-btn:hover, .inv .frame .ctrl .dl-btn:hover, .inv .frame .ctrl .dl-btn:focus-visible, .inv .frame .ctrl .sq-btn:focus-visible, .inv .frame .ctrl .fs-btn:focus-visible { opacity: 1; background: rgba(0,0,0,0.55); outline: none; }
@media (pointer: coarse) {
  .inv .frame .ctrl .sq-btn, .inv .frame .ctrl .fs-btn, .inv .frame .ctrl .dl-btn { width: 44px; height: 44px; opacity: 0.7; }
  .inv .frame .ctrl .pos { opacity: 0.7; }
}
/* ── Full screen (DJ, 21 Nov): desktop's ⛶, the browser's own (:fullscreen) or
   the page's (.is-full); and a phone turned sideways, with no tap. Black, the
   slide as large as the screen allows at 16:9, the controls still on it. */
/* ⛔ A size container pins a fixed child inside it: let go while full. */
.inv-body:has(.show.is-full) { container-type: normal; }
.inv .deckview .show:fullscreen, .inv .deckview .show.is-full {
  position: fixed; inset: 0; z-index: 50; margin: 0; background: #000; display: flex; align-items: center; justify-content: center; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); box-sizing: border-box; }
/* ⭐ DJ, 24 Nov: on a phone 100vh is the screen BEHIND Safari's bars, so the
   slide ran under them and lost its top. 100dvh is what Safari leaves visible. */
.inv .deckview .show:fullscreen .frame, .inv .deckview .show.is-full .frame { width: min(calc(100vw - 32px), calc((100vh - 32px) * 16 / 9)); width: min(calc(100vw - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)), calc((100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * 16 / 9)); }
@media (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .inv-body { container-type: normal; }
  .inv .deckview .show { position: fixed; inset: 0; z-index: 50; margin: 0; background: #000; display: flex; align-items: center; justify-content: center; padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); }
  .inv .deckview .show .frame { width: min(calc(100vw - 24px), calc((100vh - 12px) * 16 / 9)); width: min(calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)), calc((100dvh - 12px) * 16 / 9)); }
  .modal { z-index: 60; }
}
.inv .waiting-q { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 4px; }
.inv .waiting-q .btn { min-height: 36px; }
@media (pointer: coarse) { .inv .waiting-q .btn { min-height: 44px; } }

/* The log-in pop-up opens with the immut logo and icon (DJ, 22 Nov). */
.modal .login-wm { display: inline-flex; align-items: center; gap: 7px; }
.modal .login-wm img { width: 24px; height: 24px; display: block; }
.modal .login-wm .wt { font-size: 20px; font-weight: 700; color: var(--text); }
.modal .login-wm .wt span { color: var(--blue); }

/* ⭐ DJ, 22 Nov: the founder's investor filters, as the investor area draws its own. */
.inv-filters { display: inline-flex; gap: 2px; margin: 22px 8px 0; padding: 3px; border-radius: 10px; background: var(--soft); align-self: flex-start; }
.inv-filters button { position: relative; display: grid; place-items: center; width: 34px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.inv-filters button[aria-selected=true] { background: var(--selected); color: var(--text); }
.inv-filters button svg { width: 17px; height: 17px; }
.inv-filters .badge { position: absolute; top: -5px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.inv-filters + .label-caps { margin-top: 12px; }

/* ⭐ DJ, 22 Nov: five tiles (automated checks joined them). Five in a row; on a
   narrower window two and two with the fifth across the width, never alone. */
.tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* ⭐ DJ, 22 Nov: "have 3 columns here to save space": three and two on a
   middling window; a phone keeps two and two with the fifth across. */
@media (max-width: 1180px) { .tiles.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiles.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles.five > :nth-child(5) { grid-column: 1 / -1; } }

/* ⭐ DJ, 22 Nov: Action required on the Overview: what waits on the founder,
   each with its action and Dismiss. */
.actions h2 { display: flex; align-items: center; gap: 8px; }
.actions h2 .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.act-list { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.act-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.act-row:first-child { border-top: 0; }
.act-kind { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.act-date { display: block; margin-top: 3px; font-size: 10.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); opacity: .75; }
.act-text { display: grid; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.4; }
.act-btns { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .act-row { grid-template-columns: 1fr; gap: 6px; } }

/* ⭐ The founder's area on a phone, like an app (DJ, 22 Nov): a bottom bar
   (Home, Investors, Messages, More), back arrows, the list or the conversation. */
.pbar { display: none; }
@media (max-width: 760px) {
  .app.phone { padding-bottom: 64px; }
  .pbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); }
  .pbar button { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 11px; cursor: pointer; }
  .pbar button[aria-current=page] { color: var(--blue); }
  .pbar .ic { position: relative; display: grid; place-items: center; }
  .pbar .ic svg { width: 22px; height: 22px; }
  .pbar .badge { position: absolute; top: -4px; left: 14px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
  .app.phone .header { padding: 0 14px; gap: 8px; position: sticky; top: 0; z-index: 20; background: var(--page); }
  .app.phone .header .sub { display: none; }
  .pback { border: 0; background: none; color: var(--blue); font-size: 26px; line-height: 1; padding: 0 6px 2px 0; cursor: pointer; }
  .pchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
  .pchips .chip { flex: none; white-space: nowrap; }
  .plist { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .prow { position: relative; display: grid; gap: 3px; text-align: left; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--text); font: inherit; cursor: pointer; }
  .prow:first-child { border-top: 0; }
  .prow .pr1, .prow .pr3 { display: flex; justify-content: space-between; gap: 10px; }
  .pdot { position: absolute; left: 4px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
  .act-row .btn { width: 100%; }
  .act-btns { display: grid; grid-template-columns: 1fr auto; }
  .pinbox .inbox-list { border: 0; }
  .pthread .thread-view { padding: 0; min-height: calc(100dvh - 56px - 64px - 40px); }
  .pthread .thread-foot { position: sticky; bottom: 64px; background: var(--page); padding: 8px 0; }
  .readonly .body .btn, .readonly .body button:not(.chip):not(.round), .readonly .body input, .readonly .body textarea { display: none; }
  .ro-note { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 13px; }
}
/* ⭐ DJ, 23 Nov: a revenue line a pre-revenue founder is not asked for is greyed. */
.line.off { opacity: .5; }
.ob-monthly { padding: 4px 0 16px; border-bottom: 1px solid var(--line, rgba(255,255,255,.08)); }
/* ⭐ DJ, 23 Nov: the last onboarding step is one small upsell box, before the link shows. Thin stroke, one blue button. */
.sell-box { display: flex; flex-direction: column; gap: 12px; max-width: 720px; border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: 20px 22px; }
.sell-box h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.sell-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sell-list li { display: flex; gap: 10px; align-items: flex-start; }
.sell-tick svg { width: 18px; height: 18px; color: var(--accent-text); margin-top: 1px; }
.sell-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.sell-cta > div:first-child { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; }
@media (max-width: 760px) { .sell-box { padding: 16px; } .sell-cta .ob-btns { width: 100%; } }
/* ⭐ DJ, 23 Nov: "ensure that the editable input field stretches up to the end of the
   element next to the keep area ... I don't want it to go past the keep section or the
   keep button in the above and bottom rows." In Check what we read and Starred lines
   every row keeps the same buttons column (as wide as Keep, Change, Remove), and a box
   being edited fills the value column up to it. */
.lines:not(.detail) .line { grid-template-columns: 200px minmax(0, 1fr) 236px; }
.lines:not(.detail) .line.editing > div:nth-child(2) > input,
.lines:not(.detail) .line.editing > div:nth-child(2) > textarea { width: 100%; box-sizing: border-box; }
.lines:not(.detail) .line.editing > div:nth-child(2) > .typed input:not([inputmode=decimal]) { flex: 1 1 200px; }
@media (max-width: 760px) { .lines:not(.detail) .line { grid-template-columns: 1fr; } }
.lines:not(.detail) .line.one { grid-template-columns: 1fr; }
.month-cur { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; } .month-cur select { padding: 6px 10px; }
.ob-lists { display: flex; flex-direction: column; gap: 24px; margin-top: 16px; } .ob-lists .section h2 { margin: 0 0 8px; }
/* ⭐ DJ, 23 Nov: in the investor's welcome card the team sits in two aligned columns,
   each column's pictures one above the other. */
.box.welcome .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.box.welcome .people .person .pn { min-width: 0; }
@media (max-width: 420px) { .box.welcome .people { grid-template-columns: 1fr; } }
/* ⭐ DJ, 23 Nov: "a lot of space between the pitch deck slide and the bottom section
   ... fill this only if the page ratios allowed it". The deck's column may be as wide
   as 1280 (the slide still never taller than the room); answers stay readable at 860. */
.inv .inv-col { max-width: 1328px; }
.inv .inv-col > .thread { width: 100%; max-width: 860px; margin: 0 auto; }
/* ⭐ DJ, 23 Nov: the code line has room above the box. */
.code-sent { margin: 0 0 10px; }
/* ⭐ DJ, 23 Nov: "Finding the answer" moves, so the investor sees something is happening:
   three dots that rise in turn, and the words shimmer. Still for people who ask for less motion. */
.thinking { display: inline-flex; align-items: center; gap: 10px; }
.think-dots { display: inline-flex; gap: 4px; }
.think-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: .35; animation: think-dot 1.1s ease-in-out infinite; }
.think-dots i:nth-child(2) { animation-delay: .15s; } .think-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes think-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }
.think-word { background: linear-gradient(90deg, var(--muted) 0%, var(--text) 50%, var(--muted) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: think-shine 1.6s linear infinite; }
@keyframes think-shine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .think-dots i, .think-word { animation: none; } .think-word { color: var(--muted); background: none; } .think-dots i { opacity: .6; } }
/* ⭐ DJ, 23 Nov: each plan lists what it gets; the answers lead. Four plans fit one row. */
.plans { max-width: 1040px; }
.plan-feats { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); flex: 1; }
.plan-feats li { position: relative; padding-left: 16px; line-height: 1.4; }
.plan-feats li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.plan-feats li.lead { color: var(--text); font-weight: 600; }
.plan-feats li.lead::before { background: var(--blue); }
.plan .btn { align-self: flex-start; }
/* Four plans: four in a row, or two and two, never one left alone (the kit's rule). */
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* ⭐ DJ, 23 Nov: "It's either four columns or two columns to keep it balanced", phones too. */
/* ⭐ DJ, 23 Nov: Billing manages the plan, sells top-ups and lists invoices. */
.manage-row { margin: 12px 0 0; gap: 8px; flex-wrap: wrap; align-items: center; }
.topup-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: 14px 16px; }
.topup-box.low { border-color: var(--blue); }
.topup-box h2 { margin: 0 0 4px; }
.invoices { display: flex; flex-direction: column; max-width: 880px; }
.inv-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 80px 80px 90px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.inv-row:first-child { border-top: 0; }
.inv-row .inv-what { color: var(--text-2); overflow-wrap: anywhere; }
.inv-row .num { text-align: right; }
.inv-links { display: flex; gap: 10px; justify-content: flex-end; }
.inv-links a { color: var(--accent-text); }
.tag.warn { color: var(--warn); }
@media (max-width: 760px) { .inv-row { grid-template-columns: 1fr auto; } .inv-row .inv-what, .inv-row .tag { display: none; } }
/* ⭐ DJ, 23 Nov: "make on a single line": the words and the button share one row. */
.topup-box { flex-wrap: nowrap; }
.topup-box > div:first-child { flex: 1 1 0; min-width: 0; }
.topup-box > .btn { flex: none; white-space: nowrap; }
@media (max-width: 560px) { .topup-box { flex-wrap: wrap; } }
/* ⭐ DJ, 23 Nov: Manage and Cancel in line with the plan's name, on the right. */
.plan-head { align-items: center; flex-wrap: wrap; }
.plan-head .manage-row { margin: 0 0 0 auto; }
.plan-head .manage-row .small { flex-basis: 100%; text-align: right; }
/* ⭐ DJ, 23 Nov: the status tag is small and centred in its column; every invoice has View. */
.inv-row { grid-template-columns: 110px minmax(0, 1fr) 70px 64px 64px; }
.inv-row .tag { justify-self: center; align-self: center; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px; }
.inv-links .btn.small { padding: 5px 12px; font-size: 12px; }
.invoice-box { max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.invoice-box .dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .inv-row { grid-template-columns: 1fr auto auto; } .inv-row .inv-what, .inv-row .tag { display: none; } }
/* ⭐ DJ, 23 Nov: each investor's ask is its own blue card, with buttons like See plans. */
.asks-cards { display: flex; flex-direction: column; gap: 10px; }
.asks-cards .review-banner { margin: 0; }
.asks-cards .ask-btns { flex: none; gap: 8px; }
/* ⭐ DJ, 23 Nov: on Free, questions and topics show blurred, with Upgrade to view.
   The words are made up on the page; the real ones never reach it. */
.blurred { filter: blur(5px); user-select: none; pointer-events: none; }
.qtable.locked .qr { align-items: center; }
.q-up { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.qtable.locked .qh, .qtable.locked .qr { grid-template-columns: minmax(0, 1fr) 0 0 auto; }
.locked-topics { position: relative; }
.locked-topics > .btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.btn.small { padding: 5px 12px; font-size: 12px; }
/* ⭐ DJ, 23 Nov: Alerts at the top of the overviews; a bell beside an investor with alerts. */
.section.actions h2 { display: flex; align-items: center; gap: 6px; }
.section.actions h2 svg { width: 16px; height: 16px; color: var(--accent-text); }
/* ⭐ DJ, 23 Nov: "a solid bell and remove the number ... in the top right-hand corner
   above the today, and it kind of overlaps the element". */
.inv-row { position: relative; }
.inv-bell { position: absolute; top: -7px; right: 4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 0 0 2px var(--panel); }
.inv-bell svg { width: 12px; height: 12px; }
.act-btns { display: flex; gap: 8px; align-items: center; }
/* ⭐ DJ, 23 Nov: time on each slide in columns, with icon headings (stopwatch, eye, skip). */
.slide-time-table { display: flex; flex-direction: column; }
.stt-head, .stt-row { display: grid; grid-template-columns: minmax(120px, 1.4fr) minmax(60px, 2fr) 56px 44px 44px; gap: 12px; align-items: center; padding: 7px 0; }
.stt-head { border-bottom: 1px solid var(--line); padding-top: 0; font-size: 12px; color: var(--muted); }
.stt-row { border-top: 1px solid var(--line); font-size: 13px; }
.stt-row:first-of-type { border-top: 0; }
.stt-head .stt-ic, .stt-row > .num { justify-self: end; text-align: right; }
.stt-ic { display: inline-flex; color: var(--muted); }
.stt-ic svg { width: 15px; height: 15px; }
.stt-row .st-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 560px) { .stt-head, .stt-row { grid-template-columns: minmax(0, 1fr) 52px 36px 36px; } .stt-head > :nth-child(2), .stt-row > .bar { display: none; } }
/* ⭐ DJ, 23 Nov: on a phone, a short animated hint that turning the phone shows the deck full screen. */
.rotate-hint { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--raised); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: 14px; animation: hint-in .3s ease-out; }
.rotate-hint.out { opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.rot-phone { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; animation: rot-phone 2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes rot-phone { 0%, 20% { transform: rotate(0deg); } 50%, 75% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }
@keyframes hint-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .rot-phone, .rotate-hint { animation: none; } }
/* ⭐ DJ, 23 Nov: on a phone the two buttons under the question box share one row
   (each still 44px tall, a thumb's width), so they take half the room. */
@media (max-width: 760px) {
  .inv .ask .inv-actions { flex-direction: row; width: 100%; }
  .inv .ask .inv-actions .btn { flex: 1 1 0; min-width: 0; }
}
/* ⭐ DJ, 23 Nov: an investor's watch "stays on one line in the desktop". */
@media (min-width: 761px) {
  .act-text.one-line > span:first-child { white-space: nowrap; }
  /* When the window is too narrow for the line and the buttons, the buttons go under it, never over it. */
  .act-row:has(.one-line) { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 8px; }
  .act-row:has(.one-line) .act-kind { flex: 0 0 84px; }
  .act-row:has(.one-line) .act-text { flex: 1 0 auto; }
  .act-row:has(.one-line) .act-btns { margin-left: auto; }
}
/* A phone: the visit's date keeps one line and the three numbers share what is left. */
@media (max-width: 560px) {
  .visits .vh, .visits .vr { grid-template-columns: 124px repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
  .visits .vh > span { line-height: 1.25; }
  .visits .v-when { white-space: nowrap; gap: 4px; }
  .visits .v-detail { padding-left: 0; }
}

/* ⭐ DJ, 24 Nov: a founder's demo video, played in an answer. */
.video { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
