:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --surface: #ffffff;
  --ink: #14202b;
  --muted: #475766;
  --line: #d0d9e1;
  --brand: #0b3a53;
  --brand-ink: #ffffff;
  --accent: #075a78;
  --focus: #b45309;
  --shadow: 0 1px 2px rgba(11, 58, 83, 0.08);
  --ga-bg: #e2f4e7; --ga-ink: #0b5326;
  --pv-bg: #e0edfb; --pv-ink: #0b448a;
  --pr-bg: #ece6f8; --pr-ink: #4a2a8a;
  --sp-bg: #fff0d4; --sp-ink: #7a4300;
  --cs-bg: #fbe3ec; --cs-ink: #85163f;
  --ns-bg: #eceff2; --ns-ink: #37444f;
  --flag-bg: #fff3cd; --flag-ink: #6b4a00;
  --maxw: 1180px;
  font-size: 100%;
}

:root[data-theme="dark"] {
  --bg: #0e1620;
  --bg-alt: #121d29;
  --surface: #16222f;
  --ink: #e8eef4;
  --muted: #a9b8c6;
  --line: #2b3c4d;
  --brand: #0a2a3d;
  --accent: #6cc4e6;
  --focus: #ffb454;
  --shadow: none;
  --ga-bg: #123a22; --ga-ink: #9be3b2;
  --pv-bg: #12325a; --pv-ink: #a9d0ff;
  --pr-bg: #2f2350; --pr-ink: #cdb9ff;
  --sp-bg: #4a3208; --sp-ink: #ffd699;
  --cs-bg: #4d1a2e; --cs-ink: #ffb3cb;
  --ns-bg: #26323e; --ns-ink: #c5d1dc;
  --flag-bg: #4a3a0a; --flag-ink: #ffe08a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1620; --bg-alt: #121d29; --surface: #16222f; --ink: #e8eef4; --muted: #a9b8c6;
    --line: #2b3c4d; --brand: #0a2a3d; --accent: #6cc4e6; --focus: #ffb454; --shadow: none;
    --ga-bg: #123a22; --ga-ink: #9be3b2; --pv-bg: #12325a; --pv-ink: #a9d0ff;
    --pr-bg: #2f2350; --pr-ink: #cdb9ff; --sp-bg: #4a3208; --sp-ink: #ffd699;
    --cs-bg: #4d1a2e; --cs-ink: #ffb3cb; --ns-bg: #26323e; --ns-ink: #c5d1dc;
    --flag-bg: #4a3a0a; --flag-ink: #ffe08a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  font-size: 1rem;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5rem; }
h1 { font-size: clamp(1.8rem, 3.2vw + 0.8rem, 2.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 1.4vw + 1rem, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 0.85rem; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.9em; background: var(--bg-alt); padding: 0.05em 0.35em; border-radius: 4px; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: var(--brand); color: var(--brand-ink); padding: 0.6rem 1rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 0.5rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 70ch; }
.subhead { margin-top: 2rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; color: var(--muted); }
.notice { padding: 0.75rem 1rem; background: var(--flag-bg); color: var(--flag-ink); border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand); color: var(--brand-ink); box-shadow: 0 1px 0 rgba(255,255,255,0.1); }
.header-inner { max-width: var(--maxw); margin: 0 auto; padding: 0.5rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font-weight: 600; }
.brand-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 6px; background: #fff; color: #0b3a53; font-weight: 700; font-size: 0.85rem; }
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 0.45rem 0.75rem; color: inherit; text-decoration: none; border-radius: 6px; }
.site-nav a:hover { background: rgba(255,255,255,0.14); }
.header-actions { margin-left: auto; display: flex; gap: 0.5rem; }
.site-header :focus-visible { outline-color: #ffd699; }
.nav-toggle { display: none; }

/* Buttons */
.btn, .nav-toggle, .seg { font: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0.5rem 0.9rem; border-radius: 6px; min-height: 2.5rem; }
.btn:hover, .seg:hover { border-color: var(--accent); }
.btn-quiet { background: transparent; }
.site-header .btn, .site-header .nav-toggle { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.site-header .btn:hover, .site-header .nav-toggle:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-small { padding: 0.35rem 0.75rem; min-height: 2.25rem; font-size: 0.9rem; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; text-align: left; }
.segmented { display: inline-flex; }
.seg { border-radius: 0; }
.seg:first-child { border-radius: 6px 0 0 6px; }
.seg:last-child { border-radius: 0 6px 6px 0; margin-left: -1px; }
.seg[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
:root[data-theme="dark"] .seg[aria-pressed="true"] { background: var(--accent); color: #05212e; border-color: var(--accent); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.subtitle { font-size: 1.3rem; margin-bottom: 0.25rem; }
.presenter { color: var(--muted); margin-bottom: 1.25rem; }
.dates { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0 0 1.5rem; }
.dates div { display: flex; flex-direction: column; }
.dates dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.dates dd { margin: 0; font-weight: 600; }
.stat-tiles { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem; }
.tile { display: flex; flex-direction: column; justify-content: flex-start; width: 100%; height: 100%; text-align: left; font: inherit; cursor: pointer; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem; box-shadow: var(--shadow); }
.tile:hover { border-color: var(--accent); }
.tile-value { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--accent); }
.tile-label { display: block; font-size: 0.9rem; color: var(--muted); }
.disclaimer-inline { font-size: 0.9rem; color: var(--muted); max-width: 80ch; border-left: 3px solid var(--line); padding-left: 0.75rem; }

/* Themes + legend */
.themes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; counter-reset: theme; }
.themes li { counter-increment: theme; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.themes h3 { font-size: 1.05rem; }
.themes h3::before { content: counter(theme) ". "; color: var(--accent); }
.themes p { margin: 0; color: var(--muted); }
.legend { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.legend li { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: baseline; }
.legend-text { color: var(--muted); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.25rem 0 0.6rem; }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.status-ga { background: var(--ga-bg); color: var(--ga-ink); }
.status-preview { background: var(--pv-bg); color: var(--pv-ink); }
.status-private { background: var(--pr-bg); color: var(--pr-ink); }
.status-soon-preview { background: var(--sp-bg); color: var(--sp-ink); }
.status-soon { background: var(--cs-bg); color: var(--cs-ink); }
.status-unspecified { background: var(--ns-bg); color: var(--ns-ink); border-style: dashed; }
.action-evaluate-now, .action-pilot, .action-watch { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 500; border-radius: 6px; }
.action-evaluate-now { border-left: 4px solid var(--ga-ink); }
.action-pilot { border-left: 4px solid var(--pv-ink); }
.action-watch { border-left: 4px solid var(--sp-ink); }
.badge-flag { background: var(--flag-bg); color: var(--flag-ink); }
.mini { font-size: 0.75rem; padding: 0.05rem 0.4rem; border-radius: 4px; }

/* Priorities */
.priority-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.priority-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.priority-head { display: flex; gap: 0.75rem; align-items: flex-start; }
.rank { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
:root[data-theme="dark"] .rank { background: var(--accent); color: #05212e; }
.theme { margin: 0; font-size: 0.85rem; color: var(--muted); }
.relevance { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 0.55rem 0.7rem; border-radius: 0 6px 6px 0; }
.conflict-note { font-size: 0.9rem; background: var(--flag-bg); color: var(--flag-ink); padding: 0.5rem 0.7rem; border-radius: 6px; }
.card-links { margin-top: auto; font-size: 0.9rem; }
.label { color: var(--muted); }
.action-columns, .area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.action-col, .area { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.action-col.col-evaluate-now { border-top: 4px solid var(--ga-ink); }
.action-col.col-pilot { border-top: 4px solid var(--pv-ink); }
.action-col.col-watch { border-top: 4px solid var(--sp-ink); }
.blurb { color: var(--muted); font-size: 0.95rem; }
.action-col ul, .area ul { padding-left: 1.1rem; }
.action-col li, .area li { margin-bottom: 0.4rem; }

/* Catalog toolbar */
.toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.75rem 1rem; align-items: end; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 1rem; margin: 1rem 0; }
.field { display: flex; flex-direction: column; gap: 0.25rem; }
.field-search { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input[type="search"], .field select { font: inherit; padding: 0.55rem 0.65rem; min-height: 2.6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); width: 100%; }
.field-check { flex-direction: row; align-items: center; gap: 0.5rem; }
.field-check input { width: 1.15rem; height: 1.15rem; }
.field-check label { font-weight: 500; }
.results-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.result-count { margin: 0; font-weight: 600; }
.view-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.empty { padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }

/* Cards */
.cat-heading { margin: 2rem 0 0.75rem; padding-bottom: 0.35rem; border-bottom: 2px solid var(--line); font-size: 1.15rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card.flash { outline: 3px solid var(--accent); outline-offset: 2px; }
.card-top { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.4rem; }
.chip { font-size: 0.75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0.05rem 0.45rem; }
.chip-tier { border-style: dashed; }
.product { margin: 0 0 0.25rem; font-size: 0.85rem; color: var(--muted); }
.summary { margin-bottom: 0.6rem; }
.meta-line { font-size: 0.9rem; margin-bottom: 0.4rem; }
.expand-btn { margin-top: 0.5rem; display: flex; justify-content: space-between; align-items: center; width: 100%; font: inherit; font-weight: 600; text-align: left; background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 0.55rem 0.75rem; cursor: pointer; min-height: 2.5rem; }
.expand-btn:hover { border-color: var(--accent); }
.chev { width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; margin-right: 0.2rem; }
.expand-btn[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.panel { margin-top: 0.6rem; }
.detail-list { margin: 0; }
.detail-row { padding: 0.5rem 0; border-top: 1px solid var(--line); }
.detail-row dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.detail-row dd { margin: 0.1rem 0 0; font-size: 0.93rem; }
.detail-row ul { margin: 0.2rem 0 0; }

/* View switching (screen only) */
#catalog[data-view="cards"] .table-wrap#table-wrap { display: none; }
#catalog[data-view="table"] #cards { display: none; }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th, .data-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--bg-alt); position: sticky; top: 0; font-size: 0.85rem; white-space: nowrap; }
.data-table tbody th { font-weight: 600; }
.data-table .product { font-weight: 400; }
.data-table tr.total th, .data-table tr.total td { font-weight: 700; background: var(--bg-alt); }
.compare-table { min-width: 980px; }
.compare-table td:nth-child(5) { min-width: 14rem; }
.sort-btn { font: inherit; font-weight: 700; background: none; border: 0; padding: 0.15rem 0; cursor: pointer; color: inherit; }
.sort-btn:hover { color: var(--accent); }

/* v2 additions: selection, chips, floating bar, presenter view */
.hint { font-weight: 400; color: var(--muted); }
.field-wide { grid-column: 1 / -1; }
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { font-size: 0.85rem; font-weight: 600; padding: 0; margin-bottom: 0.25rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-btn { font: inherit; cursor: pointer; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; min-height: 2.4rem; }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
:root[data-theme="dark"] .chip-btn[aria-pressed="true"] { background: var(--accent); color: #05212e; border-color: var(--accent); }
.chip-count { opacity: 0.85; font-variant-numeric: tabular-nums; }
.btn-primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
.btn-primary:hover { filter: brightness(1.15); }
:root[data-theme="dark"] .btn-primary { background: var(--accent); color: #05212e; border-color: var(--accent); }

.card-head { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 0.4rem; }
.card-head .card-top { margin-bottom: 0.2rem; }
.card-head .select-box { align-self: flex-end; }
.select-box { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; padding: 0.3rem 0.55rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-alt); white-space: nowrap; min-height: 2.4rem; }
.select-box input, .col-select input { width: 1.25rem; height: 1.25rem; accent-color: var(--brand); cursor: pointer; }
.select-box:hover { border-color: var(--accent); }
.card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.card.is-priority { border-top: 4px solid var(--accent); }
.chip-priority { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
:root[data-theme="dark"] .chip-priority { background: var(--accent); color: #05212e; border-color: var(--accent); }
.card .theme { margin: 0 0 0.3rem; font-size: 0.85rem; color: var(--muted); }
.card .relevance { margin-top: 0.4rem; }
.card .next { font-size: 0.95rem; margin-bottom: 0.4rem; }
.card .conflict-note { font-size: 0.88rem; }
.card .card-links { margin-top: 0.4rem; margin-bottom: 0; }
.notes { margin-top: 0.5rem; }
.notes label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.2rem; }
.notes textarea { width: 100%; font: inherit; padding: 0.45rem 0.55rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); resize: vertical; }

.focus-banner { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; border: 2px solid var(--accent); background: var(--surface); border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 1rem; }
.focus-banner[hidden] { display: none; }
.focus-banner p { margin: 0; }
.site-header .btn { padding: 0.35rem 0.7rem; min-height: 2.25rem; font-size: 0.9rem; }
.header-inner { gap: 0.5rem 0.75rem; }
.focus-banner .small { flex-basis: 100%; }
.focus-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.select-bar { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 60; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; background: var(--surface); color: var(--ink); border: 2px solid var(--accent); border-radius: 999px; padding: 0.5rem 0.75rem 0.5rem 1.1rem; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); max-width: calc(100vw - 1rem); }
.select-bar[hidden] { display: none; }
.select-bar .select-count { margin: 0; font-weight: 700; }
body.has-select-bar { padding-bottom: 5rem; }
.col-select { width: 2.5rem; text-align: center; }
.compare-table tr.selected th, .compare-table tr.selected td { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.col-notes { display: none; }
.toc-details summary { cursor: pointer; font-weight: 600; margin-bottom: 0.75rem; }
.toc-details .table-wrap { max-height: 28rem; overflow: auto; }
#catalog[data-view="table"] .select-box { display: none; }

/* Presenter view: larger type, fewer details, for use on a shared screen */
html.present { font-size: 118%; }
html.present .card .product, html.present .card .meta-line, html.present .expand-btn, html.present .panel, html.present .card .conflict-note { display: none; }
html.present .card-grid { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
html.present .select-box { font-size: 1rem; }

/* Footer */
.site-footer { background: var(--brand); color: #e6eef4; padding: 2rem 0; }
.site-footer .small { color: #b8c9d6; }

/* Responsive */
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; margin-left: auto; }
  .header-actions { margin-left: 0; width: 100%; order: 3; }
  .site-nav { display: none; width: 100%; order: 4; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .brand-text { font-size: 0.95rem; }
  .card-grid, .priority-grid { grid-template-columns: 1fr; }
}

/* Print: a meeting handout with priorities, the compact table and sources */
@media print {
  :root, :root[data-theme="dark"] { --bg: #fff; --bg-alt: #f3f3f3; --surface: #fff; --ink: #000; --muted: #333; --line: #999; --accent: #00395a; --shadow: none; }
  html { font-size: 90%; }
  body { background: #fff; color: #000; }
  .site-header, .skip-link, .toolbar, .results-bar, .nav-toggle, .tile, .hero .stat-tiles button, #empty-state, .link-btn.noprint, .expand-btn, .select-bar, .col-select, .toc-details { display: none !important; }
  .col-notes { display: table-cell !important; min-width: 8rem; }
  .focus-banner { border: 1px solid #000; }
  .focus-actions { display: none; }
  html.present { font-size: 90%; }
  body.has-select-bar { padding-bottom: 0; }
  .hero { background: none; padding: 0 0 1rem; border: 0; }
  .section { padding: 1rem 0; break-inside: auto; }
  .section.alt { background: none; border: 0; }
  .wrap { max-width: none; padding: 0; }
  h2 { break-after: avoid; }
  .priority-card, .action-col, .area, .themes li { break-inside: avoid; box-shadow: none; }
  #cards { display: none !important; }
  #catalog[data-view] .table-wrap#table-wrap { display: block !important; overflow: visible; border: 0; }
  .compare-table { min-width: 0; font-size: 8.5pt; }
  .data-table thead th { position: static; }
  .data-table tr { break-inside: avoid; }
  .badge { border: 1px solid #000; background: #fff !important; color: #000 !important; }
  .legend-text, .muted, .small { color: #333 !important; }
  a { color: #000; text-decoration: none; }
  #sources a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 7.5pt; word-break: break-all; color: #333; }
  .src-links a[href^="http"]::after { content: none; }
  .site-footer { background: none; color: #000; padding: 1rem 0 0; border-top: 1px solid #999; }
  .site-footer .small { color: #333; }
  .sr-only { display: none; }
  .link-btn { color: #000; text-decoration: none; }
}
