/* ============================================================
   INFLECT REPORTS — print-aware HTML report design system
   Used by /samples/board-package, /samples/portfolio-rollup,
   /samples/practitioner-briefing. Same HTML serves in-browser
   viewing and Playwright PDF export.

   If you change this file, re-run:
       python scripts/export_report_pdfs.py --autostart
   and commit the updated PDFs in web/static/samples/.
   ============================================================ */

/* --- Font loading (added to base template, not here) --- */
/* Fraunces for display (Tiempos-alternative), DM Sans for body (brand),
   JetBrains Mono for tabular numerals. */

/* --- REPORT ROOT --- */
/* The .report container redefines brand tokens per-persona and scopes all
   report styles. Plays nicely with the rest of the app — no bleed. */

.report {
    /* Typography */
    --r-font-display: 'Fraunces', 'Tiempos Headline', Georgia, serif;
    --r-font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --r-font-mono: 'JetBrains Mono', 'Menlo', monospace;

    /* Scale — reports read at print density */
    --r-text-xs: 0.6875rem;     /* 11px */
    --r-text-sm: 0.8125rem;     /* 13px */
    --r-text-base: 0.9375rem;   /* 15px */
    --r-text-lg: 1.0625rem;     /* 17px */
    --r-text-xl: 1.25rem;       /* 20px */
    --r-text-2xl: 1.5rem;       /* 24px */
    --r-text-3xl: 2rem;         /* 32px */
    --r-text-4xl: 2.5rem;       /* 40px */
    --r-text-hero: 4.5rem;      /* 72px — for cover TLDR */

    /* Per-persona colors default to founder/CFO palette (brand emerald + navy) */
    --r-ink: #0F172A;
    --r-ink-2: #334155;
    --r-ink-3: #64748B;
    --r-ink-4: #94A3B8;
    --r-rule: #E2E8F0;
    --r-rule-soft: #F1F5F9;
    --r-bg: #FFFFFF;
    --r-bg-alt: #FAFAF7;
    --r-primary: #059669;          /* emerald */
    --r-primary-soft: #D1FAE5;
    --r-accent: #0F172A;           /* navy */
    --r-pos: #059669;              /* positive variance */
    --r-neg: #DC2626;              /* negative variance */
    --r-warn: #D97706;             /* amber / on-watch */
    --r-pos-bg: #ECFDF5;
    --r-neg-bg: #FEF2F2;
    --r-warn-bg: #FFFBEB;

    /* Layout */
    --r-page-width: 8.5in;
    --r-page-height: 11in;
    --r-gutter: 0.7in;
    --r-section-gap: 2.25rem;

    color: var(--r-ink);
    font-family: var(--r-font-body);
    font-size: var(--r-text-base);
    line-height: 1.55;
    background: var(--r-bg-alt);
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
}

/* === PER-PERSONA THEMES === */

/* Founder board package — Bessemer-style, emerald + deep navy + gold */
.report.theme-founder {
    --r-primary: #059669;
    --r-primary-soft: #D1FAE5;
    --r-accent: #0F172A;
    --r-highlight: #B8860B;        /* "on plan" gold */
}

/* PE portfolio rollup — institutional, muted charcoal + teal, burnt orange only for negatives */
.report.theme-pe {
    --r-ink: #1C1C1C;
    --r-ink-2: #3F3F3F;
    --r-ink-3: #6B6B6B;
    --r-rule: #D6D3CE;
    --r-rule-soft: #EDEAE5;
    --r-bg: #FFFFFE;
    --r-bg-alt: #FAFAF7;
    --r-primary: #0E7490;          /* subdued teal */
    --r-primary-soft: #CFFAFE;
    --r-accent: #1C1C1C;
    --r-pos: #0E7490;              /* teal for positive, not green */
    --r-neg: #B45309;              /* burnt orange for negative, not red */
    --r-warn: #92400E;
    --r-pos-bg: #ECFEFF;
    --r-neg-bg: #FEF3C7;
    --r-highlight: #1C1C1C;
}

/* Practitioner briefing — OpenView aesthetic, off-white + navy + single emerald accent */
.report.theme-cfo {
    --r-bg-alt: #FAFAF7;           /* warmer off-white */
    --r-primary: #10B981;
    --r-primary-soft: #D1FAE5;
    --r-accent: #0F172A;
    --r-highlight: #F59E0B;        /* amber for watch items */
}

/* === PAGE PRIMITIVES === */

.report-shell {
    max-width: var(--r-page-width);
    margin: 0 auto;
    padding: var(--r-gutter) 0;
}

.report-page {
    background: var(--r-bg);
    padding: var(--r-gutter);
    margin-bottom: 0.5in;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    min-height: var(--r-page-height);
    position: relative;
    break-after: page;
    page-break-after: always;
    display: flex;
    flex-direction: column;
}
.report-page:last-child {
    break-after: auto;
    page-break-after: auto;
}

/* Print: kill the shadow + margin, respect page-breaks */
@media print {
    body { background: #fff; }
    .report { background: #fff; }
    .report-shell { padding: 0; }
    .report-page {
        box-shadow: none;
        margin: 0;
        min-height: 0;
        padding: 0.55in 0.65in;
    }
    .no-print { display: none !important; }
}

/* Running header/footer on every page (auto-shown by CSS) */
.report-page::before {
    content: attr(data-header);
    display: block;
    font-family: var(--r-font-body);
    font-size: var(--r-text-xs);
    color: var(--r-ink-4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 0.5px solid var(--r-rule);
}
.report-page[data-no-header]::before { content: none; display: none; }

.report-page-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 0.5px solid var(--r-rule);
    display: flex;
    justify-content: space-between;
    font-size: var(--r-text-xs);
    color: var(--r-ink-4);
    letter-spacing: 0.04em;
}

/* === COVER PAGE === */
.report-cover {
    min-height: calc(var(--r-page-height) - (var(--r-gutter) * 2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 1in;
}
.report-cover__eyebrow {
    font-family: var(--r-font-body);
    font-size: var(--r-text-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--r-primary);
    margin-bottom: 1.25rem;
}
.report-cover__title {
    font-family: var(--r-font-display);
    font-size: var(--r-text-4xl);
    font-weight: 500;
    line-height: 1.1;
    color: var(--r-ink);
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}
.report-cover__subtitle {
    font-family: var(--r-font-display);
    font-size: var(--r-text-2xl);
    font-weight: 400;
    font-style: italic;
    color: var(--r-ink-3);
    margin: 0 0 2.5rem 0;
    letter-spacing: -0.01em;
}
.report-cover__tldr {
    font-family: var(--r-font-display);
    font-size: var(--r-text-xl);
    line-height: 1.45;
    color: var(--r-ink);
    font-weight: 400;
    border-left: 3px solid var(--r-primary);
    padding-left: 1.25rem;
    max-width: 6in;
    margin: 2rem 0 3rem 0;
}
.report-cover__meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    padding: 1.25rem 0;
    border-top: 0.5px solid var(--r-rule);
}
.report-cover__meta-item {
    display: flex;
    flex-direction: column;
}
.report-cover__meta-label {
    font-size: var(--r-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--r-ink-3);
    font-weight: 500;
}
.report-cover__meta-value {
    font-size: var(--r-text-base);
    color: var(--r-ink);
    font-weight: 500;
}

/* === SECTION HEADERS === */
.report-section {
    margin-bottom: var(--r-section-gap);
}
.report-section:last-child {
    margin-bottom: 0;
}
.report-section__eyebrow {
    font-size: var(--r-text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--r-primary);
    margin: 0 0 0.35rem 0;
}
.report-section__title {
    font-family: var(--r-font-display);
    font-size: var(--r-text-3xl);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--r-ink);
    margin: 0 0 0.5rem 0;
}
.report-section__lede {
    font-family: var(--r-font-display);
    font-size: var(--r-text-lg);
    font-style: italic;
    color: var(--r-ink-2);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    max-width: 5.5in;
}
.report-section__body p {
    font-size: var(--r-text-base);
    line-height: 1.6;
    color: var(--r-ink-2);
    margin: 0 0 0.75rem 0;
}
.report-section__body p:last-child { margin-bottom: 0; }
.report-section__body strong { color: var(--r-ink); font-weight: 600; }

/* === KPI TILE GRID === */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}
.kpi-grid--5 { grid-template-columns: repeat(5, 1fr); }
.kpi-grid--3 { grid-template-columns: repeat(3, 1fr); }
.kpi-tile {
    padding: 1rem 1.1rem;
    border: 0.5px solid var(--r-rule);
    background: var(--r-bg);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100px;
}
.kpi-tile__label {
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.kpi-tile__value {
    font-family: var(--r-font-body);
    font-size: var(--r-text-2xl);
    font-weight: 600;
    color: var(--r-ink);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.kpi-tile__delta {
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
    font-variant-numeric: tabular-nums;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.kpi-tile__delta--pos { color: var(--r-pos); }
.kpi-tile__delta--neg { color: var(--r-neg); }
.kpi-tile__delta-arrow { font-weight: 700; }
.kpi-tile__bench {
    font-size: var(--r-text-xs);
    color: var(--r-ink-4);
    font-style: italic;
}

/* Hero KPI (single big number, used on cover) */
.kpi-hero {
    font-family: var(--r-font-body);
    font-size: var(--r-text-hero);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: var(--r-ink);
    font-variant-numeric: tabular-nums;
}

/* === VARIANCE ROW === */
.variance-row {
    display: grid;
    grid-template-columns: 1.4in 1fr 0.8in 0.8in;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 0.5px solid var(--r-rule);
    align-items: baseline;
}
.variance-row:last-child { border-bottom: none; }
.variance-row__label {
    font-weight: 600;
    color: var(--r-ink);
    font-size: var(--r-text-sm);
}
.variance-row__commentary {
    color: var(--r-ink-2);
    font-size: var(--r-text-sm);
    line-height: 1.55;
}
.variance-row__amount, .variance-row__pct {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-align: right;
    font-size: var(--r-text-sm);
}
.variance-row__amount--pos, .variance-row__pct--pos { color: var(--r-pos); }
.variance-row__amount--neg, .variance-row__pct--neg { color: var(--r-neg); }

/* === RAG PILL === */
.rag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: var(--r-text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.rag-pill::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.rag-pill--green { background: var(--r-pos-bg); color: var(--r-pos); }
.rag-pill--amber { background: var(--r-warn-bg); color: var(--r-warn); }
.rag-pill--red { background: var(--r-neg-bg); color: var(--r-neg); }

/* === CALLOUT === */
.callout {
    padding: 1rem 1.25rem;
    background: var(--r-bg-alt);
    border-left: 2px solid var(--r-primary);
    border-radius: 0 4px 4px 0;
    margin: 0.75rem 0;
}
.callout__label {
    font-size: var(--r-text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--r-primary);
    margin-bottom: 0.35rem;
}
.callout__body {
    font-size: var(--r-text-sm);
    color: var(--r-ink-2);
    line-height: 1.55;
    margin: 0;
}
.callout--warn { border-color: var(--r-warn); }
.callout--warn .callout__label { color: var(--r-warn); }
.callout--danger { border-color: var(--r-neg); }
.callout--danger .callout__label { color: var(--r-neg); }

/* === CHART CONTAINER === */
.chart-frame {
    padding: 1rem 0.25rem 0.25rem 0.25rem;
    border: 0.5px solid var(--r-rule);
    border-radius: 6px;
    background: var(--r-bg);
    margin: 0.75rem 0 0.5rem 0;
}
.chart-frame__title {
    font-size: var(--r-text-sm);
    font-weight: 600;
    color: var(--r-ink);
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
}
.chart-frame__subtitle {
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
    padding: 0 0.75rem;
    margin: -0.35rem 0 0.75rem 0;
    font-style: italic;
}
.chart-frame__canvas-wrap {
    position: relative;
    width: 100%;
    height: 280px;
    padding: 0 0.5rem;
}
.chart-frame__canvas-wrap--tall { height: 340px; }
.chart-frame__canvas-wrap--short { height: 180px; }
.chart-frame__note {
    font-family: var(--r-font-display);
    font-size: var(--r-text-sm);
    font-style: italic;
    color: var(--r-ink-2);
    padding: 0.5rem 0.75rem 0.25rem 0.75rem;
    line-height: 1.5;
    border-top: 0.5px solid var(--r-rule-soft);
    margin-top: 0.5rem;
}

/* === DATA TABLE === */
.report-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}
.report-table th, .report-table td {
    padding: 0.65rem 0.6rem;
    font-size: var(--r-text-sm);
    text-align: left;
}
.report-table th {
    font-weight: 600;
    color: var(--r-ink);
    border-bottom: 1px solid var(--r-ink);
    font-size: var(--r-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.report-table td {
    border-bottom: 0.5px solid var(--r-rule-soft);
    color: var(--r-ink-2);
}
.report-table td.num, .report-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.report-table tr.subtotal td {
    font-weight: 600;
    color: var(--r-ink);
    border-top: 0.5px solid var(--r-rule);
    border-bottom: 0.5px solid var(--r-rule);
}
.report-table tr.total td {
    font-weight: 700;
    color: var(--r-ink);
    border-top: 1px solid var(--r-ink);
    border-bottom: 2px double var(--r-ink);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.report-table .pos { color: var(--r-pos); }
.report-table .neg { color: var(--r-neg); }

/* === COHORT TRIANGLE === */
.cohort-triangle {
    display: grid;
    gap: 1px;
    background: var(--r-rule);
    padding: 1px;
    border-radius: 4px;
    margin: 0.75rem 0;
}
.cohort-triangle__row {
    display: grid;
    gap: 1px;
}
.cohort-triangle__cell {
    background: var(--r-bg);
    padding: 0.4rem 0.3rem;
    text-align: center;
    font-size: var(--r-text-xs);
    font-variant-numeric: tabular-nums;
    color: var(--r-ink);
    min-height: 28px;
}
.cohort-triangle__cell--label {
    background: transparent;
    color: var(--r-ink-3);
    font-weight: 500;
    font-size: var(--r-text-xs);
    letter-spacing: 0.04em;
}
.cohort-triangle__cell--header {
    background: var(--r-bg-alt);
    font-weight: 600;
    color: var(--r-ink);
}
.cohort-triangle__cell--empty {
    background: var(--r-rule-soft);
}
/* Color scales assigned inline via style= */

/* === TWO-COLUMN LAYOUT === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.two-col--weighted-7-5 { grid-template-columns: 7fr 5fr; }
.two-col--weighted-5-7 { grid-template-columns: 5fr 7fr; }

/* === PORTCO ONE-PAGER === */
.portco-page {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 1.25rem;
}
.portco-page__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--r-ink);
}
.portco-page__name {
    font-family: var(--r-font-display);
    font-size: var(--r-text-3xl);
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.015em;
}
.portco-page__sector {
    font-size: var(--r-text-sm);
    color: var(--r-ink-3);
    font-style: italic;
    margin: 0.25rem 0 0 0;
}
.portco-page__kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

/* === PREDICTED QUESTIONS === */
.q-card {
    padding: 1rem 1.25rem;
    background: var(--r-bg);
    border: 0.5px solid var(--r-rule);
    border-left: 3px solid var(--r-primary);
    border-radius: 0 4px 4px 0;
    margin: 0 0 0.75rem 0;
}
.q-card__question {
    font-family: var(--r-font-display);
    font-size: var(--r-text-lg);
    font-weight: 500;
    color: var(--r-ink);
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}
.q-card__asker {
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.q-card__answer {
    font-size: var(--r-text-sm);
    color: var(--r-ink-2);
    line-height: 1.55;
    margin: 0;
}
.q-card__answer strong { color: var(--r-ink); font-weight: 600; }

/* === IN-APP TOOLBAR (hidden in print) === */
.report-toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid var(--r-rule);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.report-toolbar__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.report-toolbar__title {
    font-family: var(--r-font-display);
    font-weight: 500;
    font-size: var(--r-text-lg);
    color: var(--r-ink);
    letter-spacing: -0.01em;
    margin: 0;
}
.report-toolbar__variant {
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.report-toolbar__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.report-toolbar__btn {
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: var(--r-text-sm);
    font-weight: 500;
    border: 0.5px solid var(--r-rule);
    background: var(--r-bg);
    color: var(--r-ink);
    cursor: pointer;
    font-family: var(--r-font-body);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 150ms ease;
}
.report-toolbar__btn:hover { background: var(--r-bg-alt); }
.report-toolbar__btn--primary {
    background: var(--r-primary);
    color: #fff;
    border-color: var(--r-primary);
}
.report-toolbar__btn--primary:hover { background: var(--r-primary); filter: brightness(1.08); }
.report-toolbar__variant-switcher {
    display: flex;
    gap: 0;
    border: 0.5px solid var(--r-rule);
    border-radius: 6px;
    overflow: hidden;
}
.report-toolbar__variant-switcher a {
    padding: 0.4rem 0.75rem;
    font-size: var(--r-text-sm);
    color: var(--r-ink-3);
    text-decoration: none;
    border-right: 0.5px solid var(--r-rule);
}
.report-toolbar__variant-switcher a:last-child { border-right: none; }
.report-toolbar__variant-switcher a.active {
    background: var(--r-ink);
    color: #fff;
}

/* === TRUST FOOTER ROW === */
.trust-row {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 0.5px solid var(--r-rule);
    margin-top: 1.5rem;
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
}
.trust-row__item { display: flex; align-items: center; gap: 0.3rem; }
.trust-row__item::before {
    content: '✓';
    color: var(--r-primary);
    font-weight: 700;
}

/* === UTILITIES === */
.mono { font-family: var(--r-font-mono); font-variant-numeric: tabular-nums; }
.text-pos { color: var(--r-pos); }
.text-neg { color: var(--r-neg); }
.text-warn { color: var(--r-warn); }
.text-muted { color: var(--r-ink-3); }
.text-ink { color: var(--r-ink); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.tnum { font-variant-numeric: tabular-nums; }

/* === INDEX / LANDING PAGE === */
.report-index {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}
.report-index__eyebrow {
    font-size: var(--r-text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--r-primary);
    margin-bottom: 0.75rem;
}
.report-index__title {
    font-family: var(--r-font-display);
    font-size: 2.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0 0 1rem 0;
}
.report-index__lede {
    font-family: var(--r-font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--r-ink-3);
    max-width: 42rem;
    line-height: 1.5;
    margin: 0 0 2.5rem 0;
}
.report-variants {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.report-variant-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--r-bg);
    border: 0.5px solid var(--r-rule);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.report-variant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.04);
}
.report-variant-card__label {
    font-size: var(--r-text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--r-primary);
    margin-bottom: 0.5rem;
}
.report-variant-card__title {
    font-family: var(--r-font-display);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
}
.report-variant-card__body {
    font-size: var(--r-text-sm);
    color: var(--r-ink-2);
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
}
.report-variant-card__stats {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 0.5px solid var(--r-rule);
    display: flex;
    gap: 1.25rem;
    font-size: var(--r-text-xs);
    color: var(--r-ink-3);
}
.report-variant-card__stats strong { color: var(--r-ink); font-weight: 600; }
