/* Game ID website. Blaze orange is an accent, not a background. Every color has a dark-mode value. */
:root {
    --orange: #e26b2b;
    --orange-strong: #c25620;
    --orange-tint: #fdf0e8;
    --btn: #bd5018;          /* white text on this is 4.9:1 (WCAG AA) */
    --btn-hover: #a9480f;
    --bg: #f7f6f4;
    --surface: #ffffff;
    --surface-2: #f2f0ed;
    --text: #1a1a1a;
    --muted: #5c5c5c;
    --border: #e4e1dc;
    --ok: #2f8a4e;
    --ok-tint: #e9f6ee;
    --bad: #b3261e;
    --bad-tint: #fdecea;
    --info-tint: #fff7e0;
    --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .04);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --orange: #f08447;
        --orange-strong: #ff9a5c;
        --orange-tint: #3a2618;
        --bg: #121314;
        --surface: #1c1e20;
        --surface-2: #26292c;
        --text: #f1f1f1;
        --muted: #b5b5b5;
        --border: #34373b;
        --ok: #6fcf8f;
        --ok-tint: #17301f;
        --bad: #ff8a80;
        --bad-tint: #3a1a18;
        --info-tint: #352d14;
        --shadow: none;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --orange: #f08447;
    --orange-strong: #ff9a5c;
    --orange-tint: #3a2618;
    --bg: #121314;
    --surface: #1c1e20;
    --surface-2: #26292c;
    --text: #f1f1f1;
    --muted: #b5b5b5;
    --border: #34373b;
    --ok: #6fcf8f;
    --ok-tint: #17301f;
    --bad: #ff8a80;
    --bad-tint: #3a1a18;
    --info-tint: #352d14;
    --shadow: none;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
a { color: var(--orange-strong); }
h1 { font-size: 1.6rem; margin: 0 0 .25rem; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* Shell */
.test-banner { background: #b3261e; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; padding: 4px 8px; letter-spacing: .03em; }
.site-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-name { font-weight: 800; letter-spacing: .02em; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; background: var(--orange); border-radius: 22%; padding: 5px; }
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.user-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.user-name { font-weight: 600; }
.inline-form { margin: 0; }
.role-switch { position: relative; }
.role-switch summary { cursor: pointer; color: var(--orange-strong); font-weight: 600; list-style: none; }
.role-switch ul { position: absolute; right: 0; z-index: 10; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); min-width: 220px; }
.role-switch li a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--text); }
.role-switch li a:hover { background: var(--surface-2); }
.site-main { flex: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 24px; }
.site-main.centered { display: flex; align-items: flex-start; justify-content: center; padding-top: 48px; }
.site-footer { padding: 18px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; text-align: center; background: var(--surface); }
.site-footer p { margin: .2rem 0; }

/* Controls */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover:not(:disabled) { border-color: var(--orange); }
.btn.primary { background: var(--btn); border-color: var(--btn); color: #fff; }
.btn.primary:hover:not(:disabled) { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.wide { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange-strong); font: inherit; font-weight: 600; cursor: pointer; }
.icon-btn { background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
input, select, textarea {
    width: 100%; font: inherit; color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px; padding: 9px 11px;
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, .viewer:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card.narrow { max-width: 640px; margin: 0 auto; }
.card.empty { text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.link-card { text-decoration: none; color: var(--text); }
.link-card:hover { border-color: var(--orange); }
.pill { display: inline-block; background: var(--orange-tint); color: var(--orange-strong); font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.error { background: var(--bad-tint); color: var(--bad); padding: 10px 12px; border-radius: 10px; }
.success { background: var(--ok-tint); color: var(--ok); padding: 10px 12px; border-radius: 10px; }
.notice { background: var(--info-tint); color: var(--text); padding: 10px 12px; border-radius: 10px; }

/* Login */
.login-card { width: 100%; max-width: 420px; }
.login-brand { text-align: center; margin-bottom: 18px; }
.login-brand .logo-badge { margin-bottom: 8px; }

/* /join/{code}: a Club Owner's invite link */
.join-card { display: grid; gap: 12px; }
.join-card .login-brand { margin-bottom: 4px; }
.join-mark { margin: 0; font-weight: 800; letter-spacing: .02em; }
.join-lead { margin: 0; }
.join-club { margin: 0; font-size: 1.5rem; overflow-wrap: anywhere; }
.join-card [hidden] { display: none !important; }
.join-actions { gap: 10px; }
.join-actions p { margin: 0; }
.join-code { font: 700 1.6rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; background: var(--surface-2); border-radius: 12px; padding: 12px; margin: 0; overflow-wrap: anywhere; }
.join-stores { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.join-stores .btn { flex: 1 1 160px; }

/* Queue */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; }
.tab { white-space: nowrap; padding: 7px 14px; border-radius: 9px; text-decoration: none; color: var(--muted); font-weight: 600; }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; padding: 14px 16px; margin-bottom: 12px; }
.kinds { border: 0; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.kinds legend { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.kinds label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.kinds input { width: auto; }
.summary { margin: 14px 0; display: flex; gap: 14px; align-items: baseline; }
.summary strong { font-size: 1.4rem; color: var(--orange-strong); }
.state-group { margin: 18px 0; }
.state-group h2 { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; color: var(--muted); }
.count { background: var(--btn); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: .8rem; letter-spacing: 0; }
.club-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.club-row {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text);
}
.club-row:hover { border-color: var(--orange); }
.club-name { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: var(--orange-tint); color: var(--orange-strong); font-weight: 700; font-size: .8rem; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.badge.harvest { background: var(--ok-tint); color: var(--ok); }
.oldest { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.oldest.stale { color: var(--bad); font-weight: 700; }
.chev { color: var(--muted); font-size: 1.3rem; }
.no-pending { margin-top: 24px; }
.no-pending summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.club-list.compact .club-row { padding: 8px 14px; }

/* Club queue */
.crumbs { color: var(--muted); font-size: .9rem; margin: 0 0 6px; }
.submission-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.submission-row {
    display: grid; grid-template-columns: 96px 1fr auto auto; gap: 14px; align-items: center;
    padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text);
}
.submission-row:hover { border-color: var(--orange); }
.thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--surface-2); display: block; }
.sub-main, .sub-meta { display: grid; gap: 2px; min-width: 0; }
.sub-title { font-weight: 700; }
.sub-meta { text-align: right; }
.harvest-card { margin-bottom: 14px; }
.harvest-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: #000; }

/* Review */
.review { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.review-panel { position: sticky; top: 16px; display: grid; gap: 14px; }
.review-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-title { font-size: 1.35rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.form-block { display: grid; gap: 10px; border-top: 1px solid var(--border); padding-top: 12px; }
details.form-block > summary { cursor: pointer; font-weight: 700; }
details.form-block[open] > summary { margin-bottom: 8px; }
.merge-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.merge-option { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 10px; font-weight: 500; }
.merge-option.on { border-color: var(--orange); }
.merge-option input { width: auto; }
.merge-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.merge-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #000; }
.trophy { display: grid; gap: 8px; margin-top: 8px; }

/* Photo viewer */
.viewer { outline: none; }
.viewer-stage { position: relative; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; touch-action: pan-y; user-select: none; }
.viewer-img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; transition: transform .05s linear; transform-origin: center; }
.viewer-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.viewer-nav.prev { left: 10px; }
.viewer-nav.next { right: 10px; }
.viewer-full { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.viewer-count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff; padding: 2px 10px; border-radius: 999px; font-size: .85rem; }
.viewer-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; }
.strip-thumb { border: 2px solid transparent; padding: 0; border-radius: 8px; background: none; cursor: pointer; flex: 0 0 auto; }
.strip-thumb.on { border-color: var(--orange); }
.strip-thumb img { width: 84px; height: 56px; object-fit: cover; border-radius: 6px; display: block; }
.viewer-empty { padding: 60px; text-align: center; color: var(--muted); background: var(--surface-2); border-radius: 14px; }
.viewer:fullscreen { background: #000; display: flex; flex-direction: column; justify-content: center; }
.viewer:fullscreen .viewer-stage { aspect-ratio: auto; height: 100%; border-radius: 0; }
.viewer:fullscreen .viewer-strip { display: none; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px; background: var(--bad-tint); color: var(--bad); z-index: 100; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

/* Phone */
@media (max-width: 860px) {
    .review { grid-template-columns: 1fr; }
    .review-panel { position: static; }
}
@media (max-width: 600px) {
    .site-main { padding: 14px; }
    .site-header { padding: 8px 14px; }
    .submission-row { grid-template-columns: 72px 1fr auto; }
    .submission-row .sub-meta { display: none; }
    .thumb { width: 72px; height: 54px; }
    .club-row { flex-wrap: wrap; }
    .club-row .chev { display: none; }
    .oldest { width: 100%; }
}

/* Biologist Reports */
.report-cards { margin-top: 16px; }
.report-card { text-decoration: none; color: var(--text); }
.report-card:hover { border-color: var(--orange); }
.report-card h2 { color: var(--orange-strong); }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.report-table { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.report-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.report-table th, .report-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.report-table th { background: var(--surface-2); font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.report-table td.num, .report-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-table td.nowrap { white-space: nowrap; }
.report-table td.wrap { min-width: 260px; }
.report-table tbody tr:hover { background: var(--surface-2); }
.source { color: var(--muted); margin: 8px 0 0; }
.source code { font-size: .85em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.ask-box { margin-bottom: 8px; }
.ask-form { display: flex; gap: 8px; }
.ask-form input { flex: 1; }
.ask-answer { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.ask-answer .report-table { box-shadow: none; padding: 0; border: 0; }
.ask-q { margin: 0 0 6px; }
.ask-why { margin: 0 0 6px; }
@media (max-width: 600px) { .ask-form { flex-direction: column; } }

/* Printable page */
.print-page { width: 100%; min-width: 0; max-width: 1100px; margin: 0 auto; padding: 24px; }
@media (max-width: 600px) { .print-page { padding: 14px; } .print-head { flex-wrap: wrap; } }
.print-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.print-head h1 { margin: 2px 0; }
.print-head p { margin: 0; }
.print-brand { font-weight: 800; color: var(--orange-strong); }
.print-foot { margin-top: 16px; }
@media print {
    :root { --bg: #fff; --surface: #fff; --surface-2: #f2f2f2; --text: #000; --muted: #444; --border: #ccc; --shadow: none; color-scheme: light; }
    .no-print, .test-banner, .site-header, .site-footer, #blazor-error-ui { display: none !important; }
    .report-table { border: 0; padding: 0; }
    .report-table th { position: static; }
    .table-wrap { overflow: visible; }
    tr { break-inside: avoid; }
    a { color: #000; text-decoration: none; }
}

/* Admin area (/admin) */
.admin-tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--surface-2); padding: 4px; border-radius: 12px; margin: 0 0 16px; }
.admin-tabs .tab { font-size: .9rem; }
.admin-cards .link-card h2 { color: var(--orange-strong); }
.admin-grid { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.grid-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.grid-tools input[type=search] { flex: 1; min-width: 200px; }
.admin-grid table, .card table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-grid th, .admin-grid td, .card table th, .card table td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.admin-grid th, .card table thead th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
.admin-grid td.num, .admin-grid th.num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-grid td.actions, .card td.actions { white-space: nowrap; text-align: right; }
.admin-grid tbody tr:hover { background: var(--surface-2); }
.admin-grid button.sort { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 10px; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.admin-grid .table-wrap, .card .table-wrap { position: relative; }
button.tab { border: 0; background: none; font: inherit; cursor: pointer; }
.link-btn:disabled { opacity: .4; cursor: default; }
table.options td { vertical-align: middle; }
.form-card { margin-bottom: 16px; }
.form-card h2, .card > h2 { margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
label.check input { width: auto; }
.row.end { justify-content: flex-end; }
.row.align-end { align-items: flex-end; }
.grow { flex: 1; min-width: 220px; }
.filters-inline { margin: 0 0 14px; gap: 14px; }
.filters-inline label { min-width: 220px; }
.section-title { margin: 18px 0 8px; }
.card { margin-bottom: 16px; }
.link-btn.danger { color: var(--bad); }
.btn.small { padding: 5px 10px; font-size: .85rem; }
.warning { background: var(--info-tint); border-left: 4px solid var(--orange); color: var(--text); padding: 10px 12px; border-radius: 8px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; margin: 0; }
.changes { margin: 8px 0 14px; }
.changes th[scope=row] { color: var(--muted); font-weight: 600; white-space: nowrap; }
.changes tr.changed td:last-child { color: var(--orange-strong); font-weight: 700; }
.changes tr.same { opacity: .65; }
.group-card { margin: 0 0 12px; }
.group-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.group-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.member-list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.member-list li { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 10px; }
.member-list li span:first-child { flex: 1; font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 8px 0 0; columns: 2 280px; }
.check-list label { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 3px 0; }
.check-list input { width: auto; }
table.options input[type=checkbox] { width: auto; }
@media (max-width: 600px) {
    .grid-tools input[type=search] { min-width: 0; width: 100%; }
    .admin-grid { padding: 10px; }
    .filters-inline label { min-width: 0; width: 100%; }
}

/* Public "Deleting your Game ID account" page (/delete-account): readable at phone width. */
.delete-info h2 { margin: 22px 0 6px; font-size: 1.15rem; }
.delete-info h3 { margin: 14px 0 4px; font-size: 1rem; }
.delete-info ol, .delete-info ul { padding-left: 1.3em; margin: 6px 0; }
.delete-info li { margin: 4px 0; }
.delete-info a { overflow-wrap: anywhere; }
.delete-info-links { margin-top: 22px; }

/* Biologist Reports: Table / Chart toggle and charts (Jase, Oct 19). */
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.seg button { min-height: 44px; padding: 0 16px; border: 0; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--border); }
.seg button.on { background: var(--orange-tint); color: var(--orange-strong); font-weight: 600; }
.report-charts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.report-charts > h2, .report-charts > p { grid-column: 1 / -1; margin: 0; }
.filters .filter-actions { grid-column: 1 / -1; }
.report-chart { margin: 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; break-inside: avoid; }
.report-chart figcaption { margin-bottom: 6px; }
.report-chart svg { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--border); stroke-width: 1; }
.chart-base { stroke: var(--muted); stroke-width: 1; }
.chart-tick { font-size: 15px; fill: var(--muted); }
.chart-value { font-size: 15px; fill: var(--text); font-weight: 600; }
.chart-axis-label { font-size: 15px; fill: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.chart-legend span { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
@media print { .report-chart { border: 0; padding: 0 0 12px; } }
