/* ==========================================================================
   CVBox design system — shared by the public site and the admin console.

   Built on the Z83 Plus stylesheet (same class names and token names), with the
   CVBox palette from PRD §17.3. Every colour pairing was chosen to pass WCAG 2.2 AA:
   4.5:1 for text, 3:1 for input borders and the focus ring. Change a colour, re-check it.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #0F766E;              /* Teal 700: buttons, links, verified badges */
  --brand-hover: #115E59;        /* Teal 800 */
  --brand-ink: #134E4A;          /* text on --brand-soft */
  --brand-soft: #E0F5F2;
  --brand-softer: #F0FDFA;       /* Teal 50: highlight panels, selected filters */
  --accent: #F59E0B;             /* Amber 500: dark text on it only, never white */
  --accent-ink: #451A03;

  /* Neutrals */
  --ink: #0F172A;                /* Slate 900 */
  --ink-2: #334155;
  --muted: #475569;              /* Slate 600 */
  --line: #E2E8F0;               /* Slate 200 */
  --line-strong: #CBD5E1;
  --control-border: #64748B;     /* 3:1 against white and the page background */
  --page: #F8FAFC;               /* Slate 50 */
  --surface: #ffffff;
  --surface-2: #F1F5F9;

  /* Feedback */
  --danger: #B91C1C;             /* Red 700 */
  --danger-ink: #991B1B;
  --danger-soft: #FEF2F2;
  --danger-line: #FECACA;
  --warn-ink: #92400E;
  --warn-soft: #FFFBEB;
  --warn-line: #FDE68A;
  --ok-ink: #166534;
  --ok-soft: #F0FDF4;
  --ok-line: #BBF7D0;
  --info-ink: #1E40AF;
  --info-soft: #EFF6FF;
  --info-line: #BFDBFE;

  --focus: #2563EB;

  /* Shape and depth */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, .14), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, .22);

  /* Type: Inter once its files are self-hosted in fonts/ (PRD §17.4); until then the system
     stack, which loads instantly and costs visitors no mobile data. */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(2rem, 1.4rem + 2.4vw, 3rem);

  --control-h: 48px;             /* comfortably above the 44px touch-target minimum */
  --control-h-sm: 38px;
}
/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { vertical-align: middle; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: var(--text-2xl); font-weight: 750; }
h2 { font-size: var(--text-xl); font-weight: 700; }
h3 { font-size: var(--text-lg); font-weight: 650; }
h4 { font-size: var(--text-base); font-weight: 650; }
p { margin: 0 0 1em; }
small { font-size: var(--text-sm); }

a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); text-decoration-thickness: 2px; }

/* One focus style everywhere, only for keyboard users, never removed. */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
/* Headings and summaries focused by code (to announce them) are not controls — no ring. */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; }
h1[tabindex], h2[tabindex] { scroll-margin-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { flex: none; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.container-md { max-width: 880px; }
.container-sm { max-width: 520px; }

.stack > * + * { margin-top: var(--stack, 16px); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.spread { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.grid { display: grid; gap: var(--gap, 20px); }
.grid-2 { display: grid; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 0 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.nowrap { white-space: nowrap; }
.m-0 { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-line: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--control-h); padding: 0 20px;
  font: inherit; font-weight: 600; font-size: var(--text-base); line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-line); border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; color: var(--btn-fg); background: var(--btn-bg-hover, var(--surface-2)); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; --btn-line: var(--brand); --btn-bg-hover: var(--brand-hover); box-shadow: var(--shadow-xs); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-line: #D97706; --btn-bg-hover: #FBBF24; }
.btn-danger { --btn-bg: var(--danger); --btn-fg: #fff; --btn-line: var(--danger); --btn-bg-hover: #991B1B; }
.btn-ghost { --btn-bg: transparent; --btn-line: transparent; --btn-bg-hover: rgba(15, 23, 42, .05); }
.btn-soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-ink); --btn-line: transparent; --btn-bg-hover: #CCEFEA; }
.btn-link {
  --btn-bg: transparent; --btn-line: transparent; --btn-bg-hover: transparent; --btn-fg: var(--brand);
  min-height: auto; padding: 0; text-decoration: underline; text-underline-offset: 3px;
}
.btn-sm { min-height: var(--control-h-sm); padding: 0 14px; font-size: var(--text-sm); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: var(--text-lg); border-radius: 10px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: var(--control-h); }
.btn-icon.btn-sm { width: var(--control-h-sm); }

.spinner {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ forms */
.field { margin-bottom: 22px; }
.field > label, .label {
  display: block; font-weight: 600; font-size: var(--text-base); color: var(--ink); margin-bottom: 6px;
}
.label-opt { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); margin-left: 2px; }
.hint { display: block; color: var(--muted); font-size: var(--text-sm); margin: -2px 0 8px; }
.field-after { display: block; color: var(--muted); font-size: var(--text-sm); margin-top: 6px; }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: var(--text-sm); font-weight: 600; margin: 4px 0 8px; }

.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  display: block; width: 100%; min-height: var(--control-h);
  padding: 10px 14px;
  font: inherit; font-size: 16px;            /* 16px stops iOS zooming into every field */
  color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--control-border); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select, select.input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344054' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: #8b93a0; }
[aria-invalid="true"], .is-invalid { border-color: var(--danger) !important; }
.field input[type=date] { min-height: var(--control-h); }

.input-w-2 { max-width: 5.5em; }
.input-w-4 { max-width: 7.5em; }
.input-w-10 { max-width: 16em; }
.input-w-20 { max-width: 28em; }

.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon > .input { padding-left: 44px; }

/* Choice groups: real radio buttons, drawn as cards. Arrow keys, screen readers
   and the browser's own validation all work because nothing is faked. */
fieldset.choices { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
fieldset.choices > legend { padding: 0; font-weight: 600; font-size: var(--text-base); margin-bottom: 8px; color: var(--ink); }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--control-h);
  padding: 0 18px 0 14px; cursor: pointer; user-select: none;
  border: 1.5px solid var(--control-border); border-radius: var(--radius-sm);
  background: var(--surface); font-weight: 500; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.choice label::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2px solid var(--control-border); background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.choice label:hover { border-color: var(--ink-2); }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-softer); color: var(--brand-ink); font-weight: 600; }
.choice input:checked + label::before { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--surface); background: var(--brand); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:disabled + label { opacity: .55; cursor: not-allowed; }
.choices-inline .choice label { min-width: 96px; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 1px 0 0;
  width: 24px; height: 24px; border: 2px solid var(--control-border); border-radius: 6px;
  background: var(--surface); cursor: pointer; display: grid; place-content: center;
}
.check input::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg); opacity: 0;
}
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ------------------------------------------------------------------ surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: 24px; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.card-header h2, .card-header h3 { margin: 0; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
@media (max-width: 560px) { .card-body { padding: 18px; } .card-header, .card-footer { padding-inline: 18px; } }

.divider { border: 0; height: 1px; background: var(--line); margin: 24px 0; }

/* ------------------------------------------------------------------ feedback */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin-bottom: 20px; border-radius: var(--radius-sm);
  border: 1px solid; font-size: var(--text-base);
}
.alert > .icon { margin-top: 1px; }
.alert-body { flex: 1; min-width: 0; }
.alert-title { font-weight: 700; display: block; margin-bottom: 2px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert li + li { margin-top: 4px; }
.alert p:last-child { margin-bottom: 0; }
.alert-error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger-ink); }
.alert-warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn-ink); }
.alert-ok { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok-ink); }
.alert-info { background: var(--info-soft); border-color: var(--info-line); color: var(--info-ink); }

/* GOV.UK-style error summary: a thick left rule, focused when it appears. */
.error-summary {
  border: 3px solid var(--danger); border-radius: var(--radius-sm); background: var(--surface);
  padding: 16px 20px; margin-bottom: 24px;
}
.error-summary h2 { font-size: var(--text-lg); margin: 0 0 8px; color: var(--ink); }
.error-summary ul { margin: 0; padding-left: 20px; color: var(--danger-ink); font-weight: 600; }
.error-summary li + li { margin-top: 4px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 650; line-height: 1.5; white-space: nowrap;
  background: #f2f4f7; color: var(--ink-2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-ok { background: var(--ok-soft); color: var(--ok-ink); }
.badge-warn { background: var(--warn-soft); color: var(--warn-ink); }
.badge-danger { background: var(--danger-soft); color: var(--danger-ink); }
.badge-info { background: var(--info-soft); color: var(--info-ink); }
.badge-brand { background: var(--brand-soft); color: var(--brand-ink); }
.badge-neutral { background: #f2f4f7; color: var(--ink-2); }

/* ------------------------------------------------------------------ data display */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th {
  font-size: var(--text-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); background: var(--surface-2); white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafbfb; }
.table .num, .table .actions { text-align: right; }
.table .actions { white-space: nowrap; }
.table .primary-cell { font-weight: 600; color: var(--ink); }
.table .sub { display: block; color: var(--muted); font-weight: 400; }

/* Below 760px each row becomes a card, labelled from data-label. */
@media (max-width: 760px) {
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack td { border: 0; padding: 3px 0; display: flex; gap: 12px; justify-content: space-between; text-align: right; }
  .table-stack td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex: none; }
  .table-stack td[data-label=""]::before, .table-stack td:not([data-label])::before { content: none; }
  .table-stack td.primary-cell { display: block; text-align: left; font-size: var(--text-base); padding-bottom: 6px; }
  .table-stack td.actions { justify-content: flex-start; padding-top: 10px; }
  .table-stack tbody tr:hover td { background: none; }
}

.summary-list { margin: 0; display: grid; grid-template-columns: minmax(140px, 34%) 1fr; }
.summary-list dt, .summary-list dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
.summary-list dt { color: var(--muted); padding-right: 16px; font-weight: 500; }
.summary-list dd { color: var(--ink); overflow-wrap: anywhere; }
.summary-list > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 560px) {
  .summary-list { grid-template-columns: 1fr; }
  .summary-list dt { border: 0; padding-bottom: 0; font-size: var(--text-sm); }
  .summary-list dd { padding-top: 2px; }
}

.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-xs); }
.stat-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--text-sm); font-weight: 600; }
.stat-value { font-size: 2rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; color: var(--ink); }
.stat-note { color: var(--muted); font-size: var(--text-sm); margin-top: 2px; }
/* Three small figures side by side, even on a phone. */
.stat-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .stat-grid-compact { gap: 10px; }
  .stat-grid-compact .stat { padding: 12px; }
  .stat-grid-compact .stat-label { flex-direction: column; align-items: flex-start; gap: 6px; font-size: var(--text-xs); }
  .stat-grid-compact .stat-value { font-size: 1.5rem; }
}

.empty {
  text-align: center; padding: 48px 24px; color: var(--muted);
}
.empty-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.empty h2, .empty h3 { color: var(--ink); margin-bottom: 6px; }

.skeleton {
  border-radius: 6px; min-height: 14px;
  background: #eef1f4;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
@keyframes skeleton-pulse { 50% { opacity: .55; } }

/* ------------------------------------------------------------------ dialog */
.dialog-backdrop {
  position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px;
  background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px);
  animation: fade-in .15s ease-out;
}
.dialog {
  width: 100%; max-width: 480px; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px; animation: rise .18s ease-out;
}
.dialog-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.dialog-icon.is-danger { background: var(--danger-soft); color: var(--danger); }
.dialog-icon.is-info { background: var(--brand-soft); color: var(--brand); }
.dialog h2 { font-size: var(--text-lg); margin: 0 0 8px; }
.dialog p { color: var(--ink-2); margin: 0 0 22px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap-reverse; }
@media (max-width: 480px) { .dialog-actions .btn { flex: 1 1 100%; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ------------------------------------------------------------------ logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo svg { flex: none; border-radius: 11px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--ink); }
.logo-cv { color: var(--brand); }
.logo-tag { font-size: var(--text-xs); color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------------ Blazor chrome */
#blazor-error-ui {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin-inline: auto; padding: 14px 44px 14px 16px;
  background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
#blazor-error-ui a { color: #fff; font-weight: 700; margin-left: 8px; }
#blazor-error-ui .dismiss { position: absolute; right: 14px; top: 12px; cursor: pointer; background: none; border: 0; color: #fff; font-size: 18px; }

/* ------------------------------------------------------------------ CVBox trust elements (PRD §17.5) */
.safety-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--warn-soft); border: 1px solid var(--warn-line); color: var(--ink);
  font-size: var(--text-sm);
}
.safety-note .icon { color: var(--warn-ink); flex: none; margin-top: 1px; }

.badge-free {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; font-size: var(--text-sm);
}

.badge-verified {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--brand); font-weight: 600; font-size: var(--text-sm);
}

/* Ad slots keep their space before the ad loads, so nothing jumps (PRD ADS-03). */
.ad-slot { display: block; min-height: var(--ad-height, 280px); margin: 24px auto; text-align: center; }
.ad-slot-label { display: block; font-size: var(--text-xs); color: var(--muted); margin-bottom: 4px; }
