/* ==========================================================================
   Brand design system. See docs/BRAND.md for the rules behind these values.
   Palette contrast is WCAG AA or better in both themes (checked, see BRAND.md).
   No web fonts: system stacks keep pages fast, private (no third-party requests)
   and compatible with the strict Content-Security-Policy.
   ========================================================================== */
:root {
  --paper: #FAF7F2;        /* warm document white: the page */
  --surface: #FFFFFF;      /* cards */
  --surface-2: #F3EEE6;    /* subtle fills */
  --ink: #0F1B2D;          /* primary text + brand dark */
  --muted: #5B6472;
  --line: #E5DED3;
  --ember: #C2410C;        /* the one accent: primary actions, the mark's fold */
  --ember-hover: #A3360A;
  --ember-soft: #FBEDE5;
  --on-ember: #FFFFFF;
  --on-ink: #FAF7F2;
  --verified: #1E7A4C;  --verified-soft: #E7F3EC;
  --warn: #9A5B06;      --warn-soft: #FBF1DD;
  --danger: #B42318;    --danger-soft: #FDECEA;
  --sky: #2B5C8A;       --sky-soft: #E8F0F8;
  --panel-bg: #0F1B2D;  --panel-fg: #FAF7F2;  --panel-muted: #B9C1CC;
  --radius: 12px; --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 6px 20px rgba(15, 27, 45, .05);
  --font-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C121B; --surface: #141C27; --surface-2: #1B2533; --ink: #EEE9E1; --muted: #A3ABB7; --line: #263142;
    --ember: #F27B48; --ember-hover: #F59A72; --ember-soft: #2A1A12; --on-ember: #0C121B; --on-ink: #0C121B;
    --verified: #4CC38A; --verified-soft: #10251B; --warn: #E2B042; --warn-soft: #2A2110; --danger: #FF8A7A; --danger-soft: #2C1513;
    --sky: #8DB8E8; --sky-soft: #132235;
    --panel-bg: #1D2836; --panel-fg: #EEE9E1; --panel-muted: #B3BBC6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--font-ui); display: flex; flex-direction: column; min-height: 100vh; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
p { margin: .5em 0; }
a { color: var(--sky); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
main.wrap { flex: 1; padding-top: 28px; padding-bottom: 48px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.015em; }
.mark-doc { fill: var(--ink); } .mark-fold { fill: var(--ember); } .mark-check { stroke: var(--paper); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ember); border-radius: 0; }
.nav form { margin: 0 0 0 6px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; }
.trust span::before { content: "✓"; color: var(--verified); font-weight: 700; margin-right: 6px; }

/* ---------- page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.page-head .lede { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--ember); margin: 0 0 6px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 16px 0; box-shadow: var(--shadow); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.narrow { max-width: 440px; margin: 24px auto; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::before { content: "▸"; display: inline-block; margin-right: 8px; color: var(--muted); transition: transform .15s; }
details.card[open] > summary::before { transform: rotate(90deg); }
details { border-top: 1px solid var(--line); padding: 10px 0; }
.card > details:first-of-type { border-top: 0; }
summary { cursor: pointer; }

/* ---------- forms ---------- */
label { display: block; margin: 12px 0; font-weight: 600; font-size: .93rem; }
label small { font-weight: 400; color: var(--muted); }
input, textarea, select { width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
input:hover, textarea:hover, select:hover { border-color: var(--muted); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-soft); }
input[type=checkbox] { width: auto; margin: 3px 10px 0 0; accent-color: var(--ember); flex: none; }
label.check { display: flex; align-items: flex-start; font-weight: 400; }
input[type=file] { padding: 9px; background: var(--surface-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 16px; }
.short { width: 6rem; } select.auto { width: auto; }

/* ---------- buttons ---------- */
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; font: inherit; font-weight: 600; font-size: .95rem;
  color: var(--on-ink); background: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; line-height: 1.2; }
button:hover, .btn:hover { opacity: .9; color: var(--on-ink); }
button.primary, .btn.primary { background: var(--ember); border-color: var(--ember); color: var(--on-ember); }
button.primary:hover, .btn.primary:hover { background: var(--ember-hover); border-color: var(--ember-hover); opacity: 1; color: var(--on-ember); }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
button.ghost:hover, .btn.ghost:hover { background: var(--surface-2); color: var(--ink); opacity: 1; }
button.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
button.danger:hover { background: var(--danger-soft); opacity: 1; }
button.link { background: none; border: 0; padding: 0; color: var(--sky); font-weight: 500; }
button.link:hover { text-decoration: underline; color: var(--ink); }
form.inline { display: inline-flex; margin: 4px 8px 4px 0; vertical-align: middle; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.row label input, .row label select { margin: 0; width: auto; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }

/* ---------- feedback ---------- */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); border-left-width: 4px; background: var(--surface); margin: 0 0 16px; }
.flash.ok { border-left-color: var(--verified); background: var(--verified-soft); }
.flash.err { border-left-color: var(--danger); background: var(--danger-soft); }
.flash.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.flash ul { margin: 6px 0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .01em; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); text-transform: capitalize; }
.pill.tailored, .pill.saved { background: var(--sky-soft); color: var(--sky); border-color: transparent; }
.pill.applied, .pill.screening { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.interview, .pill.offer { background: var(--verified-soft); color: var(--verified); border-color: transparent; }
.pill.rejected, .pill.withdrawn { background: var(--surface-2); color: var(--muted); }
.issue { margin: 8px 0; padding-left: 4px; }
.issue.fixed { color: var(--warn); } .issue.info { color: var(--muted); } .issue.warning { color: var(--danger); }
.checks { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 4px; }
.checks .pass { color: var(--verified); } .checks .fail { color: var(--danger); }
.big { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin: 0 0 8px; }

/* ---------- data ---------- */
table.list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.list th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); font-weight: 700; }
table.list th, table.list td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.list tr:last-child td { border-bottom: 0; }
table.list td a { color: var(--ink); font-weight: 600; text-decoration: none; }
table.list td a:hover { color: var(--ember); }
.card table.list { box-shadow: none; }
.preview { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; max-height: 440px; overflow: auto; font: 13px/1.5 var(--font-mono); }
.empty { text-align: center; padding: 40px 20px; }
.empty .mark { width: 44px; height: 44px; opacity: .9; }

/* ---------- match list + score ---------- */
.matches { list-style: none; padding: 0; margin: 0; }
.matches .card { display: flex; gap: 16px; align-items: flex-start; }
.matches h3 { margin: 0 0 2px; font-family: var(--font-ui); font-size: 1.02rem; }
.matches h3 a { color: var(--ink); text-decoration: none; } .matches h3 a:hover { color: var(--ember); }
.matches p { margin: 4px 0; }
.score { min-width: 3.4rem; height: 3.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem;
  border: 3px solid var(--line); color: var(--muted); background: var(--surface); flex: none; }
.score.hi { border-color: var(--verified); color: var(--verified); }
.score.mid { border-color: var(--warn); color: var(--warn); }

/* ---------- auth layout ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 980px; margin: 8px auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.auth-panel { background: var(--panel-bg); color: var(--panel-fg); padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; }
.auth-panel .mark { width: 44px; height: 44px; }
.auth-panel .mark-doc { fill: var(--panel-fg); } .auth-panel .mark-check { stroke: var(--panel-bg); }
.auth-panel h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 6px 0 0; color: var(--panel-fg); }
.auth-panel p { color: var(--panel-muted); margin: 0; }
.promises { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.promises li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--panel-fg); }
.promises li::before { content: "✓"; color: var(--ember); font-weight: 800; }
.promises small { display: block; color: var(--panel-muted); font-size: .86rem; margin-top: 2px; }
.auth-main { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-main .card { box-shadow: none; border: 0; padding: 0; margin: 0; max-width: none; }
.auth-main .card h1 { font-size: 1.7rem; }
.auth-main button.primary { width: 100%; margin-top: 6px; padding: 12px; }

/* ---------- misc ---------- */
.qr svg { max-width: 220px; height: auto; background: #fff; padding: 8px; border-radius: var(--radius-sm); }
.downloads { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stack > * + * { margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; border-radius: var(--radius); }
  .auth-panel { padding: 28px 24px; }
  .auth-panel .promises { display: none; }
  .auth-main { padding: 28px 24px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -8px; }
  .nav::-webkit-scrollbar { display: none; }
  .card { padding: 18px; }
  table.list th:nth-child(4), table.list td:nth-child(4) { display: none; }
  table.list th, table.list td { padding: 10px 8px; overflow-wrap: anywhere; }
  table.list.compact th:nth-child(2), table.list.compact td:nth-child(2) { display: none; }
}
.pair-code{font-family:var(--font-mono);font-size:2rem;font-weight:700;letter-spacing:.18em;margin:6px 0 0}

/* ---------- insights: stat tiles + charts (single series: one hue; text never wears the data colour) ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi p { margin: 0; }
.kpi-label { color: var(--muted); font-size: .85rem; font-weight: 600; }
.kpi-value { font: 600 2rem/1.2 var(--font-ui); margin: 6px 0 2px; color: var(--ink); }  /* sans, proportional figures */
.kpi-sub { font-size: .82rem; }
svg.chart { width: 100%; max-width: 720px; height: auto; display: block; margin: 8px 0 4px; }  /* caps scale at 1.125x: bars stay <= 24px */
.chart text { fill: var(--muted); font: 12px var(--font-ui); }
.chart .cat { fill: var(--ink); font-size: 13px; }
.chart .val { fill: var(--ink); font-weight: 600; }
.chart .bar { fill: var(--sky); transition: opacity .12s; }
.chart .mark:hover .bar { opacity: .75; }
.chart .hit { fill: transparent; }
.chart .grid, .chart .axis { stroke: var(--line); stroke-width: 1; }
td.num { font-variant-numeric: tabular-nums; }
.rate { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.meter .track { fill: var(--sky-soft); } .meter .fill { fill: var(--sky); }

/* ---------- interview prep ---------- */
.question h3 { font-family: var(--font-ui); font-size: 1.08rem; margin: 6px 0; }
.question h4 { margin: 14px 0 4px; font-size: .9rem; }
.evidence li { margin: 4px 0; }
.outline li { margin: 3px 0; }
.attempt { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.attempt blockquote { margin: 6px 0 10px; padding: 8px 12px; border-left: 3px solid var(--line); white-space: pre-wrap; color: var(--ink); }
.scores { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.scores li { background: var(--surface-2); border-radius: 999px; padding: 2px 10px; font-size: .85rem; }

/* ---------- profile builder ---------- */
.readiness { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.checklist { list-style: none; padding: 0; columns: 2 260px; margin: 8px 0 0; }
.checklist li { break-inside: avoid; margin: 4px 0; }
.checklist .done span { color: var(--verified); font-weight: 700; } .checklist .todo span { color: var(--warn); font-weight: 700; }
.paths { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.pathfit { border-bottom: 1px solid var(--line); padding: 6px 0 8px; } .pathfit:last-child { border-bottom: 0; }
.pathfit .why { margin: 2px 0 0 30px; font-size: .88rem; display: flex; flex-direction: column; gap: 1px; }
.pill.fit-strong { background: var(--verified-soft); color: var(--verified); border-color: transparent; text-transform: none; }
.pill.fit-possible { background: var(--warn-soft); color: var(--warn); border-color: transparent; text-transform: none; }
.pill.fit-stretch { text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
label.chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .88rem; background: var(--surface); cursor: pointer; }
label.chip input { margin: 0; }

/* ---------- discover: paths + batch ---------- */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 4px; }
.filters a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; }
.filters a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.batchbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.matches .pick { display: flex; align-items: center; min-width: 22px; margin: 0; padding-top: 16px; }
.matches .pick input { width: 18px; height: 18px; }
h3.group { margin: 20px 0 4px; font-family: var(--font-ui); font-size: 1rem; }
.pathtag { color: var(--sky); font-weight: 600; }
.pill.new { background: var(--ember-soft); color: var(--ember); border-color: transparent; }
.pill.preparing { background: var(--sky-soft); color: var(--sky); border-color: transparent; text-transform: none; }

/* career paths: hide / restore suggestions */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.paths li .dismiss { margin: .15rem 0 0 1.75rem; font-size: .85rem; color: var(--muted); }
.paths li .dismiss:hover { color: var(--ink); }
.hidden-paths { font-size: .9rem; }

/* email tracking */
.nav .count { display: inline-block; min-width: 1.2em; padding: 0 .35em; border-radius: 999px; background: var(--ember); color: #fff; font-size: .75rem; line-height: 1.4; text-align: center; }
.alias code { font-size: 1.05rem; padding: .35rem .6rem; border-radius: 6px; background: var(--surface-2); user-select: all; word-break: break-all; }
details.howto { margin: .5rem 0; }
details.howto summary { cursor: pointer; color: var(--sky); }
details.howto ol { margin: .5rem 0 .5rem 1.25rem; }
ul.inbox { list-style: none; padding: 0; margin: 0; }
ul.inbox .msg { padding: 1rem 0; border-top: 1px solid var(--line); }
ul.inbox .msg:first-child { border-top: 0; }
.msg-head { display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.msg .evidence { font-style: italic; }
.msg .snippet { white-space: pre-wrap; font-size: .9rem; color: var(--muted); }
.msg-actions { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap; margin-top: .5rem; }
.msg-actions form.pick { display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; }
.msg-actions form.pick label { margin: 0; }
.sender.ok { color: var(--verified); }
.sender.warn { color: var(--warn); }
.pill.kind-offer, .pill.kind-interview { background: var(--verified-soft); color: var(--verified); border-color: transparent; text-transform: none; }
.pill.kind-assessment, .pill.kind-acknowledgement { background: var(--warn-soft); color: var(--warn); border-color: transparent; text-transform: none; }
.pill.kind-rejection, .pill.kind-other { background: var(--surface-2); color: var(--muted); text-transform: none; }
.pill.kind-account, .pill.kind-setup { background: var(--sky-soft); color: var(--sky); border-color: transparent; text-transform: none; }
.msg-actions details.change { flex-basis: 100%; }
.msg-actions details.change summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.msg-actions details.change[open] summary { margin-bottom: .5rem; }
small.note { margin-left: .4rem; }

/* follow-ups */
.followup textarea, .followup input[readonly] { width: 100%; font-family: inherit; }
.followup .row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }

/* admin */
code.copy { user-select: all; word-break: break-all; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; align-items: end; }
.grid-form .check, .grid-form button { grid-column: 1 / -1; justify-self: start; }

/* one-page profile editor */
.readiness-head { display: flex; gap: .5rem; align-items: center; margin-bottom: .35rem; }
.profile-form .role, .profile-form .edu-row { border-top: 1px solid var(--line); padding: .75rem 0; }
.profile-form .role:first-of-type { border-top: 0; }
.profile-form .role summary { cursor: pointer; }
.profile-form label.remove { color: var(--muted); font-size: .9rem; }
.save-bar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 1rem; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Continue with LinkedIn */
.btn.linkedin, button.linkedin { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.btn.linkedin:hover, button.linkedin:hover { background: #004182; color: #fff; }
a.btn.linkedin { display: block; text-align: center; }
p.or { display: flex; align-items: center; gap: .75rem; color: var(--muted); margin: 1rem 0; }
p.or::before, p.or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.linkedin-signup { display: grid; gap: .5rem; }

/* apply queue */
ul.queue { list-style: none; padding: 0; margin: 0; }
ul.queue > li { padding: .75rem 0; border-top: 1px solid var(--line); }
ul.queue > li:first-child { border-top: 0; }
.queue .letter { white-space: pre-wrap; color: var(--muted); }
.ready-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.ready-row .actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
label.confirm { margin: .75rem 0; }
dl.drafted dt { font-weight: 600; margin-top: .75rem; }
dl.drafted dd { margin: .25rem 0 0; white-space: pre-wrap; color: var(--muted); }
