/* C:\Code\04-checklist\pocketbase\pb_public\assets\css\wired.css
   Wired editorial system — warm paper revision (docs/DESIGN-wired.md addendum).
   Warm paper ground; white only where you type or where the next action lives.
   Softened ink, square corners, hairline rules, exactly ONE filled element
   per screen. Serif carries narrative; sans carries structure. Mobile-first. */

:root {
  --ink: #1c1a17;
  --ink-soft: #3f3a33;
  --body: #3f3a33;
  --muted: #6b6459;
  --hairline: #ddd7ca;
  --border: #cfcabf;
  --canvas: #f5f2ec;          /* warm paper — the page ground */
  --canvas-soft: #ede9e0;
  --surface: #ffffff;         /* inputs + the card holding the next action */
  --link: #057dbc;            /* the only accent — never two per screen */
  --serif-display: "Lora", Georgia, "Times New Roman", serif;
  --serif-body: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}

/* ---------------------------------------------------------------- shell */
.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 20px;
}

/* App bar — one per page, three shapes: centered brand, back bar, staff nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.site-header__inner.center { justify-content: center; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  flex: none;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  opacity: 0.85;
}

.brand__suffix { font-weight: 500; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
/* One prominent action is the rule — one TARGET is not. The exits stay quiet
   in weight and colour but are full rows you can hit (design 4a). */
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin-left: -12px;
  padding: 0 12px;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.header-back .back-arrow { font-size: 20px; line-height: 1; }
.header-meta { font-size: 15px; color: var(--muted); }
.header-quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.staff-nav { display: flex; gap: 24px; font-size: 15px; }
.staff-nav a { color: var(--muted); text-decoration: none; }
.staff-nav a.on { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 3px; }

main { max-width: 680px; margin: 0 auto; padding: 40px 24px 48px; }
main.wide { max-width: 72rem; }

/* ------------------------------------------------------------ typography */
h1 {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 14px 0 0;
}
h2 { font-family: var(--serif-display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 12px 0 8px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--muted);
}
.lead { font-family: var(--serif-body); font-size: 19px; line-height: 1.6; color: var(--ink-soft); margin: 16px 0 0; }
.byline { font-family: var(--serif-body); font-size: 12.7px; font-weight: 700; line-height: 2.2; color: var(--muted); }
.muted { color: var(--muted); font-size: 15px; }
a { color: var(--link); }
a:hover { color: var(--ink); }

/* -------------------------------------------------------------- buttons */
.btn, .btn-outline, .btn-quiet {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: none;   /* buttons are sometimes <label>s — undo label chrome */
  margin: 0;
  padding: 12px 20px;
  border-radius: 0;               /* square corners are non-negotiable */
  border: 1px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-height: 44px;
  background: var(--ink);
  color: var(--surface);
}
.btn-outline { background: var(--surface); color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--border); font-weight: 400; }
.btn:hover, .btn:focus-visible { color: var(--surface); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--ink); }
.btn-quiet:hover, .btn-quiet:focus-visible { color: var(--ink); }
.btn:disabled, .btn-outline:disabled { opacity: 0.35; cursor: default; }
.btn-block { display: block; width: 100%; }
.btn-lg { font-size: 18px; padding: 18px 20px; min-height: 58px; }

/* Action bar — the single next action, pinned to the bottom of the screen.
   Sticky (not fixed) so it never overlaps content it belongs to. */
.action-bar {
  position: sticky;
  bottom: 0;
  background: var(--canvas);
  margin-top: 40px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--hairline);
}
.action-link { text-align: center; margin: 16px 0 0; font-size: 16px; }
.action-hint { text-align: center; margin: 12px 0 0; font-size: 15px; color: var(--muted); }
/* A <label> that reads as a centered text link (file pickers in action bars) */
.link-label {
  display: block;
  text-align: center;
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--link);
  cursor: pointer;
}

/* ---------------------------------------------------------------- forms */
label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin: 32px 0 10px; }
input[type="text"], input[type="email"], input[type="date"], input[type="month"], input[type="number"], textarea, select {
  width: 100%;
  font-family: var(--sans);
  font-size: 19px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  min-height: 56px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.field-error { color: var(--ink); background: var(--canvas-soft); border-left: 3px solid var(--ink); padding: 8px 12px; font-size: 14px; margin-top: 6px; }

.code-input { font-size: 28px; letter-spacing: 10px; text-align: center; min-height: 68px; }

/* ------------------------------------------------- checklist item rows */
/* Section overview rows: mark + label, hairline-separated, no boxes. */
.check-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
}
.check-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.check-row .q { font-family: var(--serif-body); font-size: 20px; line-height: 1.35; }
.check-row .q a { color: var(--ink); }
.check-row.dimmed .q { color: var(--muted); }
.check-row .detail { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* Status mark — always paired with a word (1f "mark + word") */
.item-mark { width: 12px; height: 12px; flex: none; border: 1px solid var(--ink); background: transparent; }
.item-mark.done { background: var(--ink); }
.item-mark.needs-fix { border-style: dashed; }
.mark-word { font-size: 15px; color: var(--muted); }

/* Legacy per-item chrome (item step, review) */
.item-row { border-bottom: 1px solid var(--hairline); padding: 16px 0; }
.item-row .who, .who { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); }
.item-row .q { font-family: var(--serif-body); font-size: 18px; line-height: 1.45; margin: 4px 0 8px; }
.item-row .help, .help { font-size: 15px; color: var(--muted); margin: 8px 0; }

.status-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border: 1px solid var(--ink);
}
.status-tag.approved { background: var(--ink); color: var(--surface); }
.status-tag.pending { background: transparent; color: var(--ink); }
.status-tag.declined, .status-tag.reopened { background: transparent; color: var(--ink); border-style: dashed; }
.saved-flash { font-size: 13px; color: var(--muted); margin-left: 8px; }

/* Note from your attorney / AI note — quiet left-rule blockquote */
.note-left { border-left: 3px solid var(--ink); padding: 2px 0 2px 16px; margin: 18px 0 0; }
.note-left.soft { border-left-color: var(--border); }
.note-left .note-text { font-family: var(--serif-body); font-size: 18px; line-height: 1.55; margin: 10px 0 0; }
.reason-card {
  background: var(--canvas-soft);
  border-left: 3px solid var(--ink);
  padding: 12px 16px;
  font-family: var(--serif-body);
  font-size: 15px;
  margin: 8px 0;
}

/* ------------------------------------------------------------ progress */
/* Ticks + a fraction (4a) — the shape and the number, no sentence. */
.ticks { display: flex; gap: 6px; }
.ticks span { flex: 1; height: 4px; background: var(--hairline); }
.ticks span.on { background: var(--ink); }
.progress-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.progress-row .ticks { flex: 1; }
.progress-fraction { font-size: 16px; color: var(--muted); white-space: nowrap; }
.progress-fraction.done { color: var(--ink); }

/* ------------------------------------------------- position + the index */
/* Say where you are once, in numerals — and make that the door to the whole
   map (design 5a). Quiet border, no fill: the filled button is still the
   only thing that looks like the way forward. */
.section-pos {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  color: var(--ink);
  text-decoration: none;
}
.section-pos:hover, .section-pos:focus-visible { border-color: var(--ink); color: var(--ink); }
.section-pos .pos-n { font-family: var(--serif-display); font-size: 34px; line-height: 1; letter-spacing: -1px; }
.section-pos .pos-of { font-family: var(--serif-display); font-size: 19px; line-height: 1; color: var(--muted); }
.section-pos .pos-all { font-size: 15px; color: var(--link); margin-left: 4px; }

.who-line { font-size: 17px; color: var(--muted); margin-top: 10px; }
.ready-note { font-family: var(--serif-body); font-size: 18px; line-height: 1.5; margin: 0; }

/* Index rows — name, count, and the shape of what is left, all tappable */
.index-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}
.index-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.index-row .idx-n { flex: none; width: 20px; font-family: var(--serif-body); font-size: 20px; line-height: 1.3; color: var(--muted); }
.index-row .idx-main { flex: 1; min-width: 0; }
.index-row .idx-title { display: block; font-family: var(--serif-body); font-size: 21px; line-height: 1.3; color: var(--ink); }
.index-row .idx-sub { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.index-dots { display: flex; gap: 3px; flex: none; padding-top: 6px; }
.index-dots span { width: 7px; height: 7px; background: var(--hairline); }
.index-dots span.on { background: var(--ink); }

/* ---------------------------------------------------------------- cards */
/* The ONE card holding the next action is white with a firm border;
   everything else is quiet: hairline boxes or bare hairline-topped rows. */
.card { border: 1px solid var(--border); padding: 24px; margin: 16px 0; background: var(--surface); }
.card-soft { background: var(--canvas-soft); border: 0; padding: 20px; margin: 16px 0; }
.next-card { background: var(--surface); border: 1px solid var(--border); padding: 28px; margin-top: 32px; }
.quiet-card { border: 1px solid var(--hairline); background: transparent; padding: 24px; margin-top: 16px; }
.next-card .title, .quiet-card .title { font-family: var(--serif-body); font-size: 24px; line-height: 1.25; margin: 12px 0 0; color: var(--ink); }
.quiet-card .title { color: var(--ink-soft); }
a.next-card, a.quiet-card { display: block; text-decoration: none; color: var(--ink); }

/* Big square check — completion screens */
.check-square {
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 26px;
  color: var(--ink);
}

/* --------------------------------------------------------------- extras */
.lang-toggle { display: flex; font-size: 14px; font-weight: 400; letter-spacing: 0.6px; }
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 54px;
  color: var(--muted);
  text-decoration: none;
}
.lang-toggle a span { border-bottom: 2px solid transparent; padding-bottom: 3px; }
.lang-toggle a.on { color: var(--ink); font-weight: 700; }
.lang-toggle a.on span { border-bottom-color: var(--ink); }

.doc-preview { max-width: 100%; height: auto; display: block; border: 1px solid var(--hairline); margin: 8px 0; background: var(--canvas-soft); }
.doc-preview-text,
.doc-preview-docx {
  max-height: 320px;
  overflow: auto;
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
  background: var(--surface);
  white-space: pre-wrap;
  word-break: break-word;
}
.doc-preview-docx { white-space: normal; }
.doc-preview-docx p { margin: 0 0 8px; }
.doc-preview-docx h1, .doc-preview-docx h2, .doc-preview-docx h3 { margin: 12px 0 6px; font-size: inherit; }
.doc-preview-meta { margin: 4px 0 0; font-size: 13px; }

/* Page stack — one card per captured/picked page before combine-and-send */
.doc-stack:empty { display: none; }
.doc-stack { display: flex; gap: 10px; overflow-x: auto; margin: 8px 0; padding-bottom: 4px; }
.doc-stack-slot { flex: 0 0 128px; max-width: 128px; }
.doc-stack-slot .doc-preview { margin: 4px 0; max-height: 170px; object-fit: contain; }
.doc-stack-slot .doc-stack-label { font-size: 12px; margin: 0; }
.doc-stack-slot .doc-stack-remove { font-size: 12px; padding: 2px 6px; }

/* Voice recording sits below text/longform as a secondary path — not a separate field type */
.voice-alt { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.voice-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.voice-record { font-size: 14px; padding: 8px 12px; min-height: auto; }
.voice-stop { font-size: 14px; padding: 8px 16px; min-height: auto; }
.voice-alt[data-recording] .voice-stop:not(:disabled) { background: var(--ink); color: var(--surface); }

.voice-recording { display: flex; align-items: center; gap: 10px; }
.voice-recording-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.voice-recording-dot {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.voice-recording-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #d32f2f;
}
.voice-recording-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.4);
  animation: voice-breathe 1.5s ease-in-out infinite;
}
@keyframes voice-breathe {
  0%, 100% { transform: scale(0.8); opacity: 0.55; }
  50% { transform: scale(1.35); opacity: 0.12; }
}
.voice-alt audio { width: 100%; margin: 8px 0; }
.voice-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.voice-upload { cursor: pointer; font-weight: 400; display: block; margin-top: 10px; font-size: 14px; text-transform: none; letter-spacing: 0; }

.webview-note { background: var(--canvas-soft); border: 1px dashed var(--ink); padding: 12px 16px; font-size: 14px; margin: 12px 0; display: none; }

/* ------------------------------------------- conversations (design 6a/6c)
   Three thread states and four identity colours, and nothing else may use
   them. A solid dot means an open conversation, a hollow check means it was
   resolved, and a question with no conversation shows NOTHING at all — the
   silence is what keeps the list quiet. */
.thread-mark { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.thread-dot {
  width: 10px; height: 10px; flex: none; border-radius: 50%;
  background: #576a76; display: inline-block;
}
.thread-dot.resolved {
  width: 16px; height: 16px; border-radius: 50%; background: transparent;
  border: 1px solid var(--ink); color: var(--ink);
  font-size: 10px; line-height: 14px; text-align: center;
}
.thread-count { font-size: 14px; color: var(--muted); }

/* the door on a question step */
.thread-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 4px 12px; margin-top: 28px; padding: 16px 18px;
  border: 1px solid var(--border); background: var(--surface);
  text-decoration: none; color: var(--ink);
}
.thread-card-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.thread-card-sub { grid-column: 1; font-family: var(--serif-body); font-size: 18px; color: var(--ink-soft); }
.thread-card-go { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; color: var(--muted); }

.thread-entry { margin-top: 26px; font-size: 15px; }
.thread-legend { margin-top: 22px; font-size: 14px; color: var(--muted); }

.section-head { display: flex; align-items: baseline; gap: 12px; }
.section-thread-icon { flex: none; text-decoration: none; }
.row-thread { flex: none; margin-left: 10px; text-decoration: none; }

/* the thread itself */
.conv { margin-top: 24px; }
.conv-status { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.conv-log { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.conv.is-resolved .conv-log { opacity: 0.62; }
.conv-line { display: flex; align-items: flex-start; gap: 10px; }
.conv-line.mine { justify-content: flex-end; }
.conv-avatar {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.conv-avatar.sm { width: 26px; height: 26px; font-size: 10px; }
.conv-bubble { max-width: 78%; padding: 12px 14px; background: var(--canvas-soft); }
.conv-line.mine .conv-bubble { background: var(--surface); border: 1px solid var(--border); text-align: right; }
.conv-who { font-size: 13px; color: var(--muted); }
.conv-text { font-family: var(--serif-body); font-size: 18px; line-height: 1.4; margin-top: 4px; white-space: pre-wrap; }
.conv-at { font-size: 12px; color: var(--muted); margin-top: 6px; }
.conv-system { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted); }
.conv-empty-title { font-family: var(--serif-body); font-size: 20px; line-height: 1.35; margin-top: 20px; }
.conv-audience { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; }
.conv-stack { display: inline-flex; }
.conv-stack .conv-avatar { margin-right: -8px; border: 2px solid var(--canvas); }
.conv-form { margin-top: 26px; }
.conv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* the inbox */
.inbox-row {
  display: flex; align-items: flex-start; gap: 12px;
  border-top: 1px solid var(--hairline); padding: 18px 0;
  text-decoration: none; color: var(--ink);
}
.inbox-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.inbox-row.dimmed { opacity: 0.6; }
.inbox-main { flex: 1; min-width: 0; }
.inbox-title { display: block; font-family: var(--serif-body); font-size: 19px; line-height: 1.3; }
.inbox-preview {
  display: block; font-size: 15px; color: var(--muted); margin-top: 5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inbox-status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.inbox-new {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px;
  background: var(--ink); color: var(--surface); padding: 2px 6px;
}

/* one messages entry point on the dashboard — never one card per case */
.messages-card {
  display: flex; align-items: center; gap: 12px; margin-top: 22px;
  padding: 16px 18px; border: 1px solid var(--border); background: var(--surface);
  text-decoration: none; color: var(--ink);
}
.messages-main { flex: 1; min-width: 0; }
.messages-title { display: block; font-family: var(--serif-body); font-size: 19px; }
.messages-sub { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

.review-conv { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hairline); }

/* ----------------------------------------------------------- staff list */
.tabs { display: flex; gap: 26px; margin-top: 28px; font-size: 15px; border-bottom: 1px solid var(--hairline); padding-bottom: 12px; }
.tabs a { color: var(--muted); text-decoration: none; }
.tabs a.on { color: var(--ink); font-weight: 700; }

.staff-row { border-bottom: 1px solid var(--hairline); padding: 26px 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.staff-row .staff-main { flex: 1 1 260px; min-width: 0; }
.staff-row .staff-title { font-family: var(--serif-body); font-size: 22px; line-height: 1.25; margin: 8px 0 0; }
.staff-row .staff-meta { font-size: 15px; color: var(--muted); margin: 8px 0 0; }
.staff-row .staff-pending { font-size: 18px; white-space: nowrap; }
.staff-row .staff-actions { display: flex; gap: 10px; align-items: center; }
.more-panel { background: var(--surface); border: 1px solid var(--ink); padding: 20px; margin: 0 0 8px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.more-panel a, .more-panel button { font-size: 16px; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0; font-family: var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.more-panel .danger { color: var(--muted); }

/* ---------------------------------------------------- staff review queue */
.review-layout { display: flex; min-height: 60vh; border: 1px solid var(--hairline); margin-top: 24px; background: var(--canvas); }
.review-sidebar { width: 320px; flex: none; border-right: 1px solid var(--hairline); padding: 24px 0 16px; }
.review-sidebar .side-head { margin: 0 24px 16px; }
.review-side-item { display: block; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--hairline); padding: 16px 24px; }
.review-side-item:first-of-type { border-top: 1px solid var(--hairline); }
.review-side-item .side-label { font-family: var(--serif-body); font-size: 17px; line-height: 1.3; margin: 6px 0 0; color: var(--ink-soft); }
.review-side-item.on { background: var(--surface); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.review-side-item.on .side-label { color: var(--ink); }
.review-side-done { padding: 12px 24px; border-top: 1px solid var(--hairline); font-family: var(--serif-body); font-size: 16px; color: var(--muted); }
.review-pane { flex: 1; min-width: 0; padding: 32px 36px 36px; background: var(--surface); }
.review-decision { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.review-decision .spacer { flex: 1; }
@media (max-width: 860px) {
  .review-layout { flex-direction: column; }
  .review-sidebar { width: 100%; border-right: 0; border-bottom: 1px solid var(--hairline); }
}

/* -------------------------------------------------------------- desktop */
@media (min-width: 768px) {
  h1 { font-size: 42px; letter-spacing: -0.6px; }
  main { padding-top: 56px; }
}
