    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
      background: linear-gradient(135deg, #0f0f0f 0%, #16201a 100%);
      color: #e0e0e0;
      line-height: 1.6;
      min-height: 100vh;
      /* Clearance for the fixed .brand-bar, derived from the bar's own rules so
         it tracks the root font size instead of freezing one measurement. The
         terms: 0.6rem bar padding top and bottom, the tallest child, and a
         trailing 2px. The candidates for tallest child are .brand-word's line box
         (0.95rem at the inherited line-height 1.6 = 1.52rem), the 22px mark, and
         .auth-bar once it is shown — it has no padding or border of its own, so
         its height is the taller of .auth-email (0.8rem x 1.6 = 1.28rem) and
         .auth-btn (0.75rem at line-height 1 + 0.3rem padding x2 + 1px border
         x2 = 1.35rem + 2px). The mark wins below a ~14.5px root, .brand-word
         above it; that crossover is what max() is for. The reserve is sized for
         the signed-in bar, so the gap only ever grows when auth is hidden.
         The trailing 2px is two separate 1px components: the bar's hairline
         border-bottom, plus a sub-pixel allowance, because Chrome snaps the
         wordmark's line box up to a 1/64px grid and it measured 0.01-0.02px
         taller than the exact rem arithmetic at some root sizes, which left the
         gap barely negative. One whole pixel covers that with room to spare. */
      padding-top: calc(1.2rem + max(1.52rem, 22px, 1.28rem, 1.35rem + 2px) + 2px);
    }
    /* Colored background BEHIND the glass panels so blur is visible */
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(34, 197, 94, 0.16) 0%, transparent 40%),
        linear-gradient(135deg, #0f0f0f 0%, #16201a 100%);
    }

    /* GLASS PANEL */
    .glass-panel {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    /* BRAND BAR — one fixed bar across the whole top edge: the Pubvera mark and
       wordmark link back to the hub on the left, the auth controls sit at the
       far right as a flex child. It spans the viewport, so it wears a hairline
       border-bottom rather than a pill outline. The SVG is inlined rather than
       linked from pubvera.com so the app does not depend on Cloudflare Pages
       being up, and so the mark can inherit currentColor. */
    .brand-bar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 900;
      display: flex;
      align-items: center;
      /* One row, always: the body clearance above is computed from a single-row
         bar, so a wrap here would put page content under the bar. There is no
         bare `header` selector in this file today, but the bar is a <header>
         and would inherit one if it ever appeared. */
      flex-wrap: nowrap;
      gap: 0.55rem;
      padding: 0.6rem 1rem;
      min-width: 0;
      background: rgba(255, 255, 255, 0.06);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    /* Only the mark and the word are the link — the auth controls share the bar
       but are not part of it, so the anchor cannot be the bar itself. */
    .brand-link {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      text-decoration: none;
      flex-shrink: 0;
      transition: color 0.2s;
    }
    .brand-mark { color: #60a5fa; flex-shrink: 0; }
    .brand-word {
      font-size: 0.95rem;
      font-weight: 700;
      color: #e8eef7;
      letter-spacing: -0.01em;
      transition: color 0.2s;
    }
    .brand-link:hover .brand-word { color: #60a5fa; }

    /* AUTH BAR (Google sign-in) — the right-hand end of the brand bar, opposite
       the mark: a flex child pushed over by margin-left:auto, wearing the
       header's glass rather than its own. Overlap with the mark is impossible at
       any width by construction, so nothing here has to be held apart by hand.
       Hidden until /config.json returns a Supabase config. */
    .auth-bar {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      min-width: 0;
    }
    /* display:flex above would otherwise defeat the hidden attribute. */
    .auth-bar[hidden] { display: none; }
    /* min-width:0 is what lets the ellipsis happen: a flex item defaults to
       min-width:auto and would refuse to shrink below its text. The email is the
       part that gives way when the bar runs out of room; the buttons stay whole. */
    .auth-email {
      font-size: 0.8rem;
      color: #cdd6ea;
      max-width: 34vw;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .auth-btn {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: #cdd6ea;
      padding: 0.3rem 0.85rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 600;
      /* Pinned: body sets line-height 1.6, and a button inheriting it would make
         this pill the tallest thing in the bar. The bar is fixed and body clears
         it with a measured padding-top, so anything that grows the bar starts
         covering the page. At line-height 1 the button is no taller than the
         wordmark and the bar height is unchanged by sign-in. */
      line-height: 1;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .auth-btn:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(251, 191, 36, 0.6);
      color: #fff;
    }
    /* Signing in is the primary action while signed out, so that button carries
       Grantvera's gold accent — the same #fbbf24 as the disclaimer rule and the
       deadline badges. Sign-out stays the quiet variant. */
    .auth-btn.auth-btn-primary {
      background: linear-gradient(90deg, #fbbf24, #fde68a);
      border-color: transparent;
      color: #251a02;
    }
    .auth-btn.auth-btn-primary:hover {
      color: #251a02;
      box-shadow: 0 8px 24px rgba(251, 191, 36, 0.35);
    }

    /* HERO */
    .hero {
      min-height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      /* 5rem here used to be clearance for the floating brand pill; body's
         measured padding-top does that job now, so this is spacing only. */
      padding: 2rem 2rem 2rem;
      text-align: center;
    }
    .hero h1 {
      font-size: 3.3rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      background: linear-gradient(90deg, #00d4ff, #22c55e);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p { font-size: 1.15rem; color: #aaa; max-width: 740px; margin-bottom: 2rem; }
    .chips { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
    .chip {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 2rem;
      padding: 0.5rem 1.2rem;
      cursor: pointer;
      color: #ccc;
      font-size: 0.9rem;
      transition: all 0.25s ease;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }
    .chip:hover { border-color: #00d4ff; color: #00d4ff; transform: translateY(-2px); }

    /* BENTO GRID */
    .bento-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      padding: 2rem;
      max-width: 1100px;
      margin: 0 auto;
    }
    .bento-card {
      padding: 2rem;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      min-height: 210px;
    }
    .bento-card:hover {
      transform: translateY(-8px);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    }
    .bento-card.open { --color: #00d4ff; border-left: 4px solid var(--color); }
    .bento-card.nih  { --color: #7c3aed; border-left: 4px solid var(--color); }
    .bento-card.nsf  { --color: #22c55e; border-left: 4px solid var(--color); }
    .bento-icon { font-size: 3rem; margin-bottom: 0.75rem; }
    .bento-label { font-size: 1.3rem; font-weight: 600; color: var(--color); margin-bottom: 0.5rem; }
    .bento-desc { font-size: 0.92rem; color: #aaa; }
    /* The cards are native buttons (keyboard focus, Enter and Space for free).
       A button brings its own font, colour and width, so the card states them,
       and its three children are spans, which must be blocks to stack. */
    button.bento-card { font: inherit; color: inherit; width: 100%; margin: 0; }
    .bento-icon, .bento-label, .bento-desc { display: block; }
    .bento-card:focus-visible { outline: 2px solid var(--color); outline-offset: 3px; }

    /* DISCLAIMER */
    .disclaimer-wrap { max-width: 1100px; margin: 0 auto; padding: 0.5rem 2rem 1rem; }
    .disclaimer {
      padding: 1.4rem 1.6rem;
      font-size: 0.88rem;
      color: #9aa5b1;
      line-height: 1.65;
      border-left: 4px solid rgba(251, 191, 36, 0.55);
    }
    .disclaimer strong { color: #fbbf24; }

    /* MODAL */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: fadeIn 0.3s ease;
    }
    .modal.active { display: flex; }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    .modal-content {
      background: rgba(22, 32, 26, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1.5rem;
      padding: 2rem;
      max-width: 92%;
      width: 1000px;
      max-height: 85vh;
      overflow-y: auto;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
      animation: slideUp 0.3s ease;
    }
    @keyframes slideUp {
      from { transform: translateY(50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
    .modal-header h2 { font-size: 1.7rem; color: var(--color, #00d4ff); }
    .close-btn { background: none; border: none; color: #999; font-size: 2rem; cursor: pointer; line-height: 1; }
    .close-btn:hover { color: #e0e0e0; }

    /* FORM */
    .form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
    .form-group { margin-bottom: 1.25rem; flex: 1; min-width: 180px; }
    .form-group label { display: block; margin-bottom: 0.5rem; color: #bbb; font-size: 0.9rem; font-weight: 500; }
    .form-group input[type="text"], .form-group input[type="date"], .form-group select {
      width: 100%;
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 0.5rem;
      padding: 0.7rem;
      color: #e0e0e0;
      font-size: 1rem;
    }
    .form-group input:focus, .form-group select:focus {
      outline: none;
      border-color: rgba(0, 212, 255, 0.5);
      box-shadow: inset 0 0 1rem rgba(0, 212, 255, 0.1);
    }
    .form-group select option { background: #16201a; }
    .form-group input[type="range"] { width: 100%; accent-color: #00d4ff; cursor: pointer; }
    .limit-val { color: #00d4ff; font-weight: 600; }
    .btn {
      background: linear-gradient(90deg, #00d4ff, #22c55e);
      border: none; color: #000;
      padding: 0.75rem 2rem;
      border-radius: 0.5rem;
      font-weight: 600; cursor: pointer;
      transition: all 0.3s ease; font-size: 1rem;
    }
    .btn:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3); }
    .btn:disabled { opacity: 0.5; cursor: wait; transform: none; }

    /* RESULTS */
    .results { margin-top: 1.5rem; animation: fadeIn 0.3s ease; }
    table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
    th { color: #999; font-weight: 600; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; }
    th, td { text-align: left; padding: 0.5rem 0.7rem 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
    td.n, th.n { color: #666; width: 2.4rem; }
    .table-wrap { overflow-x: auto; }
    .mono { font-family: ui-monospace, Consolas, monospace; font-size: 0.82rem; color: #9cc; }
    th.sortable { cursor: pointer; user-select: none; transition: color 0.2s ease; }
    th.sortable:hover { color: #e0e0e0; }
    .sg { color: #667; font-size: 0.85rem; }
    /* The sortable header holds a native button; it looks like the plain header
       text it replaced. */
    .sort-btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: inherit; cursor: pointer; }
    .sort-btn:focus-visible { outline: 2px solid #00d4ff; outline-offset: 2px; }
    th.sortable:hover .sg { color: #00d4ff; }
    .nomatch { color: #888; font-style: italic; padding: 1rem 0; }
    .verify { color: #7dd3fc; text-decoration: none; font-size: 1rem; }
    .verify:hover { color: #fff; }
    /* deadline badges */
    .dl-badge { display: inline-block; padding: 0.12rem 0.6rem; border-radius: 1rem; font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
    .dl-badge.red    { background: rgba(239,68,68,0.15);  color: #ef4444; border: 1px solid rgba(239,68,68,0.4); }
    .dl-badge.yellow { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.35); }
    .dl-badge.gray   { color: #999; }
    /* money bars: the number sits above its track, and the track is as wide as
       the column. Side by side, the track's own minimum width made the Award
       amount column ~70 px wider and pushed Fiscal year and URL out of the box
       at 768 px (measured: tools/bar_track_test.js B9). */
    .bar-container { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
    .bar-number { font-weight: 700; min-width: 6ch; text-align: right; font-variant-numeric: tabular-nums; }
    .bar-track { width: 100%; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
    .bar-chart { display: block; width: 0; height: 100%; border-radius: 4px; opacity: 0.85; }
    .bar-chart.green  { background: linear-gradient(90deg, #22c55e, #86efac); }
    .bar-chart.yellow { background: linear-gradient(90deg, #fbbf24, #fde68a); }
    .bar-chart.red    { background: linear-gradient(90deg, #ef4444, #fca5a5); }
    .bar-chart:hover { opacity: 1; }

    /* EXPORT TOOLBAR */
    .meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; gap: 12px; flex-wrap: wrap; }
    .meta { font-size: 0.82rem; color: #99a; min-width: 0; overflow-wrap: anywhere; }
    /* Measured at 380px: rows + match count + money is 617px and wraps to three
       lines. The match count is the part that must survive, so the money phrase
       is dropped by CSS — a media query rather than a width read in JS, so a
       rotate or resize corrects itself without a re-render. */
    @media (max-width: 560px) { .qmoney { display: none; } }
    /* The analysis label repeats what the modal heading above it already says,
       so on a phone it costs ~190px of the counter's line for nothing. Its
       trailing em dash sits inside the span and goes with it. */
    @media (max-width: 560px) { .qlabel { display: none; } }
    .dl {
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #cdd6ea;
      padding: 4px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; cursor: pointer;
      transition: 0.2s; white-space: nowrap; flex-shrink: 0;
    }
    .dl:hover { background: rgba(255,255,255,0.15); border-color: var(--color, #00d4ff); color: #fff; }
    .dl-group { display: flex; gap: 8px; min-width: 0; max-width: 100%; align-items: center; flex-wrap: wrap; }
    /* One Export menu (WAI-ARIA menu button) holds the four downloads. The panel
       is one solid colour, the .modal-content surface under the toolbar at 0.90:
       a gradient would leave background-color transparent. z-index 50 lifts it
       over the insight box and the table that follow the toolbar. */
    .dl-menu-wrap { position: relative; display: inline-block; margin-left: auto; }
    .dl-trigger { min-height: 44px; min-width: 44px; }
    .dl-trigger:focus-visible { outline: 2px solid var(--color, #00d4ff); outline-offset: 2px; }
    .dl-menu {
      position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 150px; max-width: calc(100vw - 32px);
      padding: 6px; border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; display: flex; flex-direction: column; gap: 2px;
      background: rgba(22,32,26,.9); color: #e0e0e0; box-shadow: 0 14px 36px -12px rgba(0,0,0,0.8);
    }
    .dl-menu[hidden] { display: none; }
    .dl-item {
      display: block; width: 100%; min-height: 44px; text-align: left; font: inherit; font-size: 0.82rem; font-weight: 600;
      color: #e0e0e0; background: none; border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; white-space: nowrap;
    }
    .dl-item:hover { background: rgba(255,255,255,0.14); }
    .dl-item:focus-visible { outline: 2px solid var(--color, #00d4ff); outline-offset: -2px; background: rgba(255,255,255,0.14); }
    .qfilter {
      background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
      padding: 4px 14px; color: #e8eef7; font-size: 0.78rem; width: 190px; min-width: 0; max-width: 100%;
    }
    .qfilter:focus { outline: none; border-color: var(--color, #00d4ff); }
    .qcount { color: #7dd3fc; font-size: 0.78rem; font-weight: 600; margin-left: 6px; }

    /* LOADING + ERROR */
    .loading {
      display: inline-block; width: 22px; height: 22px;
      border: 3px solid rgba(255, 255, 255, 0.1);
      border-top-color: #00d4ff;
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
      vertical-align: middle;
      margin-right: 0.5rem;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .error-box {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.35);
      border-radius: 0.5rem;
      padding: 1rem;
      color: #fca5a5;
      font-size: 0.95rem;
    }
    /* Explanatory notes above a result table (typical award, NSF sampling,
       Grants.gov word hits). A top-level rule on purpose: this block once sat
       inside the .error-box braces, and CSS nesting then read it as
       ".error-box .insight-box", which never matches, so the notes rendered
       as bare text. */
    .insight-box {
      background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.045));
      border: 1px solid rgba(255,255,255,.10);
      border-left: 3px solid rgba(212,175,55,.55);
      border-radius: 12px;
      padding: 12px 16px;
      margin-bottom: 0.8rem;
      font-size: 13px;
      line-height: 1.55;
      color: #cfd8e6;
    }
    .insight-box p { margin: 0 0 6px; }
    .insight-box p:last-child { margin-bottom: 0; }
    @media (max-width: 768px) {
      .insight-box { padding: 10px 12px; font-size: 12px; }
    }
    /* Auth and quota rejections get a glass card instead of the red one-line box:
       they carry a heading, an explanation and — for a signed-out visitor — a
       sign-in button. They are not the user's mistake, so they do not use the red
       treatment. Same glass recipe as .glass-panel, nothing new introduced. */
    .errcard {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
      padding: 1.1rem 1.3rem;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    .errcard h4 { font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
    .errcard p { font-size: 0.9rem; color: #aaa; }
    .errcard .btn {
      margin-top: 0.9rem;
      padding: 0.5rem 1.3rem;
      font-size: 0.9rem;
      background: linear-gradient(90deg, #fbbf24, #fde68a);
      color: #251a02;
    }

    footer {
      text-align: center;
      padding: 2.5rem 1rem;
      color: #666;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 2rem;
      font-size: 0.9rem;
    }

    /* RESPONSIVE — mobile: stack, full-width modal, blur 11px */
    @media (max-width: 768px) {
      .hero h1 { font-size: 2rem; }
      .hero p { font-size: 1rem; }
      /* Same derivation as on <body>, with this breakpoint's own numbers: the
         bar padding drops to 0.45rem top and bottom, and every child term
         shrinks except the mark — .brand-word 0.82rem x 1.6 = 1.312rem, the
         22px mark, .auth-email 0.7rem x 1.6 = 1.12rem, .auth-btn 0.7rem +
         0.25rem padding x2 + 1px border x2 = 1.2rem + 2px. So the mark leads
         here up to a ~16.8px root rather than the ~14.5px of the desktop bar.
         The trailing 2px is the same pair as on <body>: 1px hairline border,
         1px sub-pixel allowance for Chrome's 1/64px line-box snapping. */
      body { padding-top: calc(0.9rem + max(1.312rem, 22px, 1.12rem, 1.2rem + 2px) + 2px); }
      .hero { padding-top: 1.5rem; }
      .brand-bar {
        padding: 0.45rem 0.7rem;
        gap: 0.4rem;
        backdrop-filter: blur(11px);
        -webkit-backdrop-filter: blur(11px);
      }
      .brand-word { font-size: 0.82rem; }
      /* The mark and the auth controls share one row on a phone, so the auth side
         shrinks in step with the brand side: the email ellipsises (it carries
         min-width:0, as does .auth-bar around it), the buttons never do — so the
         row narrows instead of pushing the page sideways. */
      .auth-bar { gap: 0.35rem; }
      .auth-email { font-size: 0.7rem; max-width: 30vw; }
      .auth-btn { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
      .bento-grid { grid-template-columns: 1fr; padding: 1.25rem; }
      .disclaimer-wrap { padding: 0.5rem 1.25rem 1rem; }
      .disclaimer { padding: 1rem; }
      .modal-content { max-width: 100%; width: 100%; margin: 0 0.5rem; padding: 1.5rem; }
      .dl-group { width: 100%; }
      .qfilter { flex: 1 1 100%; width: auto; }
      .glass-panel, .modal-content, .chip {
        backdrop-filter: blur(11px);
        -webkit-backdrop-filter: blur(11px);
      }
    }
    #modal-open { --color: #00d4ff; }
    #modal-nih { --color: #7c3aed; }
    #modal-nsf { --color: #22c55e; }
    /* respect the OS reduce-motion setting; the spinner stays (status indicator) */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .modal, .modal-content, .results { animation: none; }
      *, *::before, *::after { transition: none !important; }
      .chip:hover, .bento-card:hover, .btn:hover, .btn:active { transform: none; }
    }
