/* ============================================================================
   Meeting Decoder — "Lamplight / Editorial"
   A calm teammate who watched the meeting for you. Warm ink, one amber accent.
   The signature is THE RECEIPT: the amber timestamp pill that plays the moment.
   ========================================================================== */

:root {
  /* Color — warm ink + a single honey-amber signal */
  --ink-900: #14110D;   /* page */
  --ink-850: #181410;
  --ink-800: #1C1813;   /* panels / sidebar */
  --ink-700: #241F19;   /* raised cards */
  --ink-650: #2B251D;   /* hover surfaces */
  --line:    #342E25;   /* warm hairline */
  --line-2:  #463D30;
  --text:    #EFE7DA;   /* warm paper */
  --muted:   #A99B86;   /* warm taupe */
  --faint:   #7C7160;

  --amber:   #F0B429;   /* SIGNATURE — pills, focus, receipts */
  --amber-hi:#FFC53D;
  --amber-deep:#C8901A;
  --amber-soft: rgba(240,180,41,.13);
  --amber-line: rgba(240,180,41,.34);

  --coral: #E5675B;     /* priority High */
  --sage:  #6FBF9B;     /* priority Low / verified-calm */

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* Devanagari joins the body/quote stacks so Hinglish renders cleanly */
  --deva: "Noto Sans Devanagari";

  /* Space (4-based) */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px;

  --r-card:16px; --r-btn:11px; --r-pill:999px;
  --shadow: 0 8px 30px rgba(0,0,0,.35);
  --shadow-lift: 0 14px 44px rgba(0,0,0,.45);

  --ease: cubic-bezier(.2,.6,.2,1);
  --t: 160ms var(--ease);
  --t-rev: 420ms var(--ease);

  --topbar-h: 58px;
  --player-h: 66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--body), var(--deva), sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}
.demo-said, .dc-said q, .hero-title { overflow-wrap: anywhere; }

/* warm, subtle lamplight wash from the top */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(120% 70% at 78% -8%, rgba(240,180,41,.07), transparent 60%);
  pointer-events: none; z-index: 0;
}

::selection { background: var(--amber); color: #1a1407; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

a { color: inherit; text-decoration: none; }

/* ── Top bar ──────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s5);
  background: color-mix(in srgb, var(--ink-900) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: var(--s3);
  font-weight: 600; letter-spacing: .2px; font-size: 15px;
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft), 0 0 16px var(--amber);
}
.rec { display: flex; align-items: center; gap: var(--s2); }
#rec-name {
  width: 116px; padding: 8px 11px;
  background: var(--ink-800); border: 1px solid var(--line);
  color: var(--text); border-radius: var(--r-btn);
  font-family: var(--body); font-size: 13.5px;
}
#rec-name::placeholder { color: var(--faint); }
.rec-btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 15px; border-radius: var(--r-btn);
  border: 1px solid var(--line-2); background: var(--ink-700);
  color: var(--text); font-family: var(--body); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background var(--t), border-color var(--t), transform var(--t);
}
.rec-btn:hover { background: var(--ink-650); border-color: var(--amber-line); }
.rec-btn:active { transform: scale(.97); }
.rec-glyph {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 10px rgba(229,103,91,.6);
}
.rec-btn.recording { border-color: var(--coral); background: rgba(229,103,91,.12); }
.rec-btn.recording .rec-glyph { border-radius: 2px; animation: pulse 1.3s var(--ease) infinite; }
.rec-timer { font-family: var(--mono); font-size: 13px; color: var(--coral); }
.rec-btn:disabled { opacity: .55; cursor: default; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Hero (the thesis = the decode moment) ────────────────────────────── */
.hero { position: relative; z-index: 1; padding: var(--s9) var(--s5) var(--s8); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 var(--s4);
}
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 4.25rem);
  line-height: 1.02; letter-spacing: -.01em;
  margin: 0 0 var(--s5);
}
.hero-title em {
  font-style: italic; font-weight: 500;
  color: var(--amber);
  /* a hand-drawn lamplight underline under the key word */
  background-image: linear-gradient(var(--amber-line), var(--amber-line));
  background-size: 100% 3px; background-repeat: no-repeat; background-position: 0 92%;
  padding: 0 .04em;
}
.hero-sub {
  font-size: 17px; color: var(--muted); max-width: 56ch;
  margin: 0 0 var(--s7);
}

/* the live decode demo — the single most characteristic artifact */
.decode-demo {
  margin: 0 0 var(--s6); padding: var(--s5) var(--s5) var(--s5);
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.decode-demo::before { /* lamplight edge */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--amber), var(--amber-deep));
}
.demo-tag, .dc-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 var(--s2);
}
.demo-said {
  margin: 0 0 var(--s3); padding: 0;
  font-family: var(--display); font-style: italic; font-size: 1.32rem;
  line-height: 1.5; color: var(--text);
}
.demo-said .pill { font-style: normal; margin-left: 4px; }
.demo-said[lang="hi"], .dc-said q, .act-quote { font-family: var(--display), var(--deva), serif; }
.demo-arrow, .dc-arrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--amber); margin: var(--s2) 0;
}
.demo-meant {
  margin: 0 0 var(--s5); font-size: 16.5px; color: var(--text);
}
.demo-meant b { color: var(--amber-hi); font-weight: 600; }
.demo-todo {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  padding-top: var(--s4); border-top: 1px solid var(--line);
}
.todo-box {
  width: 18px; height: 18px; border-radius: 5px; flex: none;
  border: 2px solid var(--sage);
}
.todo-text { font-weight: 500; }

.loop {
  list-style: none; margin: 0 0 var(--s7); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3);
  counter-reset: loop;
}
.loop li {
  position: relative; padding: var(--s4) var(--s4) var(--s4) var(--s5);
  background: var(--ink-800); border: 1px solid var(--line); border-radius: 12px;
}
.loop li::before {
  content: "›"; position: absolute; left: 12px; top: 13px;
  color: var(--amber); font-family: var(--mono); font-weight: 700;
}
.loop-k { display: block; font-weight: 600; font-size: 15px; }
.loop-d { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }

.cta {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 13px 22px; border-radius: var(--r-btn);
  background: var(--amber); color: #1a1407; border: none;
  font-family: var(--body); font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(240,180,41,.22);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.cta:hover { background: var(--amber-hi); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(240,180,41,.32); }
.cta:active { transform: scale(.98); }

/* ── The SIGNATURE: receipt pill ──────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  color: var(--amber-hi);
  background: var(--amber-soft); border: 1px solid var(--amber-line);
  cursor: pointer; user-select: none; white-space: nowrap;
  transition: background var(--t), transform var(--t), box-shadow var(--t), color var(--t);
  vertical-align: middle;
}
.pill:hover { background: rgba(240,180,41,.22); box-shadow: 0 0 0 3px var(--amber-soft); }
.pill:active { transform: scale(.94); }
.pill-rec { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
.pill-play { font-size: 9px; opacity: .8; }
.pill--static { cursor: default; }
.pill--static:hover { box-shadow: none; background: var(--amber-soft); }
.pill.playing {
  background: var(--amber); color: #1a1407; border-color: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft), 0 0 18px rgba(240,180,41,.45);
}
.pill.playing .pill-rec { background: #1a1407; animation: pulse 1s var(--ease) infinite; }
.pill.playing .pill-play { opacity: 1; }

/* ── Workspace ────────────────────────────────────────────────────────── */
.workspace {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 264px minmax(0, 1fr);
  gap: var(--s6);
  max-width: 1120px; margin: 0 auto; padding: 0 var(--s5) var(--s8);
  min-height: 80vh;
}
.sidebar {
  position: sticky; top: calc(var(--topbar-h) + var(--s4));
  align-self: start;
  max-height: calc(100vh - var(--topbar-h) - var(--player-h) - var(--s5));
  overflow-y: auto;
  border-right: 1px solid var(--line); padding-right: var(--s4);
}
.side-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
  margin: 0 0 var(--s3); font-weight: 500;
}
.meeting-list { list-style: none; margin: 0; padding: 0; }
.meeting-list li {
  padding: 11px 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.meeting-list li:hover { background: var(--ink-800); }
.meeting-list li.active { background: var(--ink-800); border-color: var(--amber-line); }
.mi-name { font-size: 13.5px; font-weight: 500; word-break: break-word; }
.mi-meta { display: flex; align-items: center; gap: var(--s2); margin-top: 5px; }
.badge {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
  padding: 2px 7px; border-radius: var(--r-pill);
  color: var(--muted); background: var(--ink-700); border: 1px solid var(--line);
}
.badge.processing { color: var(--amber-hi); border-color: var(--amber-line); }
.badge.processing::before { content: "◴ "; }
.badge.done { color: var(--sage); border-color: rgba(111,191,155,.4); }
.badge.error { color: var(--coral); border-color: rgba(229,103,91,.45); }
.badge.parked { color: var(--muted); border-color: var(--line-2); }
.badge.audio { color: var(--faint); }

/* ── Report ───────────────────────────────────────────────────────────── */
.report-pane { min-width: 0; }
.report { max-width: 720px; }
.report-empty { color: var(--muted); padding: var(--s8) 0; text-align: center; }

.status-line {
  font-family: var(--mono); font-size: 13px;
  padding: 11px 14px; border-radius: 10px; margin-bottom: var(--s5);
  background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-hi);
}
.status-line.error { background: rgba(229,103,91,.1); border-color: rgba(229,103,91,.45); color: var(--coral); }

.report-greeting { color: var(--muted); font-size: 15px; margin: 0 0 var(--s6); }

/* a report section */
.section { margin: 0 0 var(--s7); }
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 var(--s2);
  display: flex; align-items: center; gap: var(--s2);
}
.section-title {
  font-family: var(--display); font-weight: 500; font-size: 1.45rem;
  line-height: 1.2; margin: 0 0 var(--s4); letter-spacing: -.005em;
}

/* §1 summary — calm prose */
.summary-prose { font-size: 16px; color: var(--text); }
.summary-prose p { margin: 0 0 var(--s3); }
.summary-prose b, .summary-prose strong { color: var(--amber-hi); font-weight: 600; }

/* §2 the magic — quote ↔ decode pairing */
.decode-card {
  position: relative; margin: 0 0 var(--s4);
  padding: var(--s5); padding-left: calc(var(--s5) + 3px);
  background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color var(--t), background var(--t);
}
.decode-card::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 3px; background: linear-gradient(var(--amber), var(--amber-deep));
  opacity: .7;
}
.decode-card:hover { border-color: var(--line-2); }
.dc-said {
  display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap;
  margin-bottom: var(--s3);
}
.dc-said q {
  font-family: var(--display), var(--deva), serif; font-style: italic;
  font-size: 1.16rem; line-height: 1.4; color: var(--muted); quotes: "“" "”";
}
.dc-meant { font-size: 15.5px; color: var(--text); }
.dc-meant b { color: var(--amber-hi); font-weight: 600; }
.decode-none {
  color: var(--muted); font-style: italic; font-family: var(--display), serif;
  padding: var(--s4) 0;
}

/* §3 your action items — checklist with priority weight */
.action {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s3);
  padding: var(--s4) 0; border-top: 1px solid var(--line);
}
.action:first-of-type { border-top: none; }
.act-box {
  width: 19px; height: 19px; margin-top: 2px; border-radius: 6px; flex: none;
  border: 2px solid var(--line-2);
  transition: border-color var(--t);
}
.action[data-prio="High"] .act-box { border-color: var(--coral); }
.action[data-prio="Medium"] .act-box { border-color: var(--amber); }
.action[data-prio="Low"] .act-box { border-color: var(--sage); }
.act-main { min-width: 0; }
.act-row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.act-task { font-weight: 600; font-size: 15.5px; }
.act-why { color: var(--muted); font-size: 14px; margin-top: 3px; }
.act-quote { color: var(--faint); font-style: italic; }
.act-source { margin-top: 7px; display: flex; align-items: center; gap: var(--s2); }
.prio {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: var(--r-pill); white-space: nowrap;
}
.prio--high { color: var(--coral); background: rgba(229,103,91,.12); border: 1px solid rgba(229,103,91,.4); }
.prio--med  { color: var(--amber-hi); background: var(--amber-soft); border: 1px solid var(--amber-line); }
.prio--low  { color: var(--sage); background: rgba(111,191,155,.1); border: 1px solid rgba(111,191,155,.36); }
.act-verify {
  font-family: var(--mono); font-size: 10.5px; color: var(--amber-hi);
  border: 1px dashed var(--amber-line); border-radius: var(--r-pill); padding: 2px 8px;
}

/* collapsible "how to do it" — keeps the card scannable, detail on demand */
.act-how { margin-top: 8px; }
.act-how > summary {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content;
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
  color: var(--faint); cursor: pointer; list-style: none; user-select: none;
  transition: color var(--t);
}
.act-how > summary::-webkit-details-marker { display: none; }
.act-how > summary::before {
  content: "▸"; display: inline-block; color: var(--amber-deep);
  transition: transform var(--t);
}
.act-how[open] > summary::before { transform: rotate(90deg); }
.act-how > summary:hover { color: var(--amber-hi); }
.act-how-body {
  margin-top: 7px; padding: var(--s3) var(--s4);
  background: var(--ink-800); border: 1px solid var(--line);
  border-left: 3px solid var(--amber-deep); border-radius: 0 10px 10px 0;
  font-size: 14px; line-height: 1.7; color: var(--text);
}
.act-how-body b { color: var(--amber-hi); font-weight: 600; }

/* §4 open questions & things to verify */
.q-card {
  position: relative; margin: 0 0 var(--s3);
  padding: var(--s4); padding-left: calc(var(--s4) + 3px);
  background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color var(--t);
}
.q-card::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 3px; background: var(--sage); opacity: .65;
}
.q-card:hover { border-color: var(--line-2); }
.q-text { font-size: 15.5px; color: var(--text); margin-bottom: var(--s2); }
.q-text b { color: var(--amber-hi); font-weight: 600; }

/* fallback (server HTML) if a section won't parse */
.report-fallback :is(h1,h2,h3) { font-family: var(--display); font-weight: 500; }
.report-fallback .cite {
  font-family: var(--mono); color: var(--amber-hi);
  background: var(--amber-soft); border: 1px solid var(--amber-line);
  border-radius: var(--r-pill); padding: 1px 7px; cursor: pointer;
}

/* ── Player (the receipt, playing) ───────────────────────────────────── */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  height: var(--player-h);
  display: flex; align-items: center; gap: var(--s4);
  padding: 0 var(--s5);
  background: color-mix(in srgb, var(--ink-850) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.player-now { display: flex; align-items: center; gap: var(--s3); min-width: 0; flex: 1; }
.player-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; opacity: .35; }
.player-eq i { width: 3px; height: 4px; background: var(--amber); border-radius: 2px; }
.player-eq.on { opacity: 1; }
.player-eq.on i { animation: eq .9s var(--ease) infinite; }
.player-eq.on i:nth-child(2) { animation-delay: .15s; }
.player-eq.on i:nth-child(3) { animation-delay: .3s; }
@keyframes eq { 0%,100%{height:4px} 50%{height:14px} }
.player-label {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.seg {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn);
  overflow: hidden; flex: none; background: var(--ink-800);
}
.seg button {
  padding: 7px 13px; border: none; background: transparent;
  border-right: 1px solid var(--line);
  color: var(--muted); font-family: var(--mono); font-size: 12px; cursor: pointer;
  transition: background var(--t), color var(--t);
}
.seg button:last-child { border-right: none; }
.seg button:hover { color: var(--text); background: var(--ink-700); }
.seg button.active { background: var(--amber); color: #1a1407; font-weight: 700; }
#player { height: 34px; width: 270px; flex: none; }

/* ── Motion: one orchestrated reveal ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity var(--t-rev), transform var(--t-rev); }

/* ── Responsive (mobile is a floor, not an afterthought) ─────────────── */
@media (max-width: 880px) {
  .workspace { grid-template-columns: 1fr; gap: var(--s4); }
  .sidebar {
    position: static; max-height: none; overflow: visible;
    border-right: none; border-bottom: 1px solid var(--line);
    padding: 0 0 var(--s4) 0;
  }
  .meeting-list { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: 4px; }
  .meeting-list li { flex: none; min-width: 170px; }
  .report { max-width: none; }
}
@media (max-width: 620px) {
  .hero { padding: var(--s7) var(--s4) var(--s6); }
  .hero-title { font-size: 2.15rem; }
  .hero-sub { font-size: 16px; }
  .demo-said { font-size: 1.12rem; }
  .demo-said .pill { display: flex; width: max-content; margin: 8px 0 0; }
  .loop { grid-template-columns: 1fr; }
  #rec-name { width: 84px; }
  .player { gap: var(--s3); padding: 0 var(--s3); }
  #player { width: 150px; }
  .player-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Settings icon button (topbar) ────────────────────────────────────── */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-btn);
  border: 1px solid var(--line-2); background: var(--ink-700);
  color: var(--muted); font-size: 16px; cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.icon-btn:hover { background: var(--ink-650); border-color: var(--amber-line); color: var(--text); }
.icon-btn:active { transform: scale(.94); }

/* ── Benefits ("why developers keep it open") ─────────────────────────── */
.benefits {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto; padding: var(--s5) var(--s5) var(--s8);
}
.benefits-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
  margin: 0 0 var(--s4); text-align: center;
}
.benefit-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
}
/* the 4th & 5th cards center under the first row of 3 */
.benefit-grid .benefit:nth-child(4) { grid-column: 1 / 2; }
.benefit {
  position: relative; padding: var(--s5) var(--s5) var(--s5);
  background: var(--ink-800); border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color var(--t), transform var(--t), background var(--t);
}
.benefit:hover { border-color: var(--amber-line); transform: translateY(-2px); background: var(--ink-700); }
.benefit-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: var(--s3);
  border-radius: 9px; background: var(--amber-soft); border: 1px solid var(--amber-line);
  color: var(--amber-hi); font-size: 14px;
}
.benefit h3 {
  font-family: var(--display); font-weight: 500; font-size: 1.16rem;
  line-height: 1.25; margin: 0 0 var(--s2); letter-spacing: -.005em;
}
.benefit p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.benefit em { color: var(--text); font-style: italic; }

@media (max-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid .benefit:nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ── Settings dialog ──────────────────────────────────────────────────── */
.settings {
  border: 1px solid var(--line-2); border-radius: var(--r-card);
  background: var(--ink-800); color: var(--text);
  padding: 0; width: min(420px, 92vw); box-shadow: var(--shadow-lift);
}
.settings::backdrop { background: rgba(8,6,4,.62); backdrop-filter: blur(2px); }
.settings-form { padding: var(--s6); display: grid; gap: var(--s4); }
.settings-title {
  font-family: var(--display); font-weight: 500; font-size: 1.4rem; margin: 0;
}
.settings-hint { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.settings-field { display: grid; gap: 6px; }
.settings-field span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--faint);
}
.settings-field input,
.settings-field textarea {
  padding: 10px 12px; border-radius: var(--r-btn);
  background: var(--ink-900); border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--body); font-size: 14px;
}
.settings-field textarea { resize: vertical; min-height: 44px; line-height: 1.5; }
.settings-field input::placeholder,
.settings-field textarea::placeholder { color: var(--faint); }
.postrec-actions { justify-content: space-between; }

/* parked meeting: the catch-up prompt */
.parked-cta {
  text-align: center; padding: var(--s8) var(--s5);
  display: grid; gap: var(--s3); justify-items: center;
}
.parked-q { font-family: var(--display); font-size: 1.5rem; margin: 0; letter-spacing: -.005em; }
.parked-sub { color: var(--muted); margin: 0; font-size: 14.5px; }
.parked-cta .cta { margin-top: var(--s2); }
.settings-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.cta--sm { padding: 10px 18px; font-size: 14px; }
.ghost-btn {
  padding: 9px 14px; border-radius: var(--r-btn);
  background: transparent; border: 1px solid var(--line-2); color: var(--muted);
  font-family: var(--body); font-size: 13px; cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.ghost-btn:hover { border-color: var(--amber-line); color: var(--text); }
.perm-steps { display: grid; gap: var(--s2); }
.perm-steps .ghost-btn { text-align: left; }

/* Re-interpret action — a quiet inline button (free re-run of the LLM step). */
.link-btn {
  display: inline-block; margin-left: 8px; padding: 2px 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--amber); background: var(--amber-soft);
  border: 1px solid var(--amber-line); border-radius: var(--r-pill);
  cursor: pointer; transition: background var(--t), border-color var(--t);
}
.link-btn:hover { background: rgba(240,180,41,.22); border-color: var(--amber); }
.report-actions { margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--line); }
.report-actions .link-btn { margin-left: 0; }

/* Gap between a failure message and its recovery action (not crammed inline). */
.error-actions { margin-top: var(--s4); }
.error-actions .link-btn { margin-left: 0; }

/* Per-meeting delete — a quiet ✕ that only warms up on hover, so it never
   competes with the meeting name. Confirmed before it fires. */
.meeting-list li { position: relative; }
.mi-del {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; padding: 0; line-height: 1;
  font-size: 12px; color: var(--faint);
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  cursor: pointer; opacity: 0; transition: opacity var(--t), color var(--t), background var(--t);
}
.meeting-list li:hover .mi-del { opacity: 1; }
.mi-del:hover { color: var(--coral); background: rgba(229,103,91,.12); border-color: rgba(229,103,91,.4); }
