    /*
     * Geekabode stylesheet.
     * Mobile first. Tokens on :root, dark scheme from the system preference.
     * Scripts create many of the classes styled here; see design/handoff/README.md
     * for the ids and class names that must keep working.
     */

    /* ---------- Tokens ---------- */

    :root {
      color-scheme: light dark;

      --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
      --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

      /* Surfaces and text (light) */
      --bg: #f5f4f0;
      --surface: #ffffff;
      --surface-2: #faf9f6;
      --sunken: #f0eee9;
      --line: #e3e0d8;
      --line-strong: #d3cfc5;
      --input-border: #8a857a;
      --text: #1a1d21;
      --text-2: #454b52;
      --text-3: #5c636a;

      /* Accent: deep harbour teal */
      --accent: #17606e;
      --accent-hover: #114b57;
      --accent-soft: #e1eef0;
      --accent-ink: #0f4652;
      --on-accent: #ffffff;
      --focus: #0b6bcb;

      /* Semantic */
      --pos: #1d6b43;
      --pos-bg: #e3f1e8;
      --pos-line: #a9d3b8;
      --warn: #7a4300;
      --warn-bg: #fbeedb;
      --warn-line: #e7c48e;
      --neg: #9b2c1f;
      --neg-bg: #fbe9e6;
      --neg-line: #edb5ab;
      --info: #0f4652;
      --info-bg: #e4eff1;
      --info-line: #b5d3d9;
      --muted-bg: #eceae4;

      /* Verdict badges */
      --v-buy-bg: #1d6b43;
      --v-buy-fg: #ffffff;
      --v-wait-bg: #3f4a8a;
      --v-wait-fg: #ffffff;
      --v-wait-line: #3f4a8a;
      --v-even-bg: #e1eef0;
      --v-even-fg: #0f4652;
      --v-even-line: #b5d3d9;
      --v-thin-fg: #3b4046;
      --v-thin-line: #6b7178;
      --v-na-bg: #eceae4;
      --v-na-fg: #4a5056;

      --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c636a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

      /* Shape and rhythm */
      --radius-lg: 22px;
      --radius: 16px;
      --radius-sm: 12px;
      --gutter: 16px;
      --topbar-h: 56px;
      --tap: 48px;
      --shadow-pop: 0 12px 32px rgb(20 24 28 / 0.14), 0 2px 6px rgb(20 24 28 / 0.08);

      /* Icon set: one 24px stroke family, drawn with CSS masks so script-built nodes can carry icons without extra DOM. */
      --i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 10.2 12 3.5l8.5 6.7'/%3E%3Cpath d='M5.5 8.8V20h13V8.8'/%3E%3Cpath d='M10 20v-5.5h4V20'/%3E%3C/svg%3E");
      --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.7-6.5-11a6.5 6.5 0 0 1 13 0c0 5.3-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E");
      --i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='m7.5 14.5 3.5-4 3 3 5.5-6.5'/%3E%3C/svg%3E");
      --i-bars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M7 16.5v-5'/%3E%3Cpath d='M12 16.5v-9'/%3E%3Cpath d='M17 16.5v-3'/%3E%3C/svg%3E");
      --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
      --i-locate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 3.5 3.5 10.6l7.1 2.8 2.8 7.1z'/%3E%3C/svg%3E");
      --i-wallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7.5A2.5 2.5 0 0 1 6.5 5H17v2.5'/%3E%3Crect x='4' y='7.5' width='16' height='11.5' rx='2'/%3E%3Cpath d='M16 13.25h.01'/%3E%3C/svg%3E");
      --i-compare: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h13'/%3E%3Cpath d='m16 3 4 4-4 4'/%3E%3Cpath d='M17 17H4'/%3E%3Cpath d='m8 13-4 4 4 4'/%3E%3C/svg%3E");
      --i-sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4.5 12.8 9.7 18 11.5l-5.2 1.8L11 18.5l-1.8-5.2L4 11.5l5.2-1.8z'/%3E%3Cpath d='M18.5 3v3.5'/%3E%3Cpath d='M16.75 4.75h3.5'/%3E%3C/svg%3E");
      --i-news: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='13' height='14' rx='1.5'/%3E%3Cpath d='M16.5 8.5h3a1 1 0 0 1 1 1V17a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 9h6'/%3E%3Cpath d='M7 12.5h6'/%3E%3Cpath d='M7 16h4'/%3E%3C/svg%3E");
      --i-refresh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.5 12a7.5 7.5 0 1 1-2.2-5.3'/%3E%3Cpath d='M19.5 4v4.5H15'/%3E%3C/svg%3E");
      --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
      --i-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4.5h5.5V10'/%3E%3Cpath d='m19.5 4.5-8 8'/%3E%3Cpath d='M18 14v4.5a1 1 0 0 1-1 1H5.5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1H10'/%3E%3C/svg%3E");
      --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.6-4.9'/%3E%3C/svg%3E");
      --i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
      --i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.6 2.9 17.5a2 2 0 0 0 1.7 3h14.8a2 2 0 0 0 1.7-3L13.7 4.6a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9.5v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
      --i-xcircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m9 9 6 6'/%3E%3Cpath d='m15 9-6 6'/%3E%3C/svg%3E");
      --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
      --i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15.5' r='4'/%3E%3Cpath d='m10.9 12.6 8.6-8.6'/%3E%3Cpath d='m16.5 7 2.5 2.5'/%3E%3Cpath d='m14 9.5 2 2'/%3E%3C/svg%3E");
      --i-hourglass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h11'/%3E%3Cpath d='M6.5 20.5h11'/%3E%3Cpath d='M7.5 3.5c0 4.5 4.5 5.5 4.5 8.5s-4.5 4-4.5 8.5'/%3E%3Cpath d='M16.5 3.5c0 4.5-4.5 5.5-4.5 8.5s4.5 4 4.5 8.5'/%3E%3C/svg%3E");
      --i-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M5 7.5h14'/%3E%3Cpath d='M5 7.5 2.5 13a2.5 2.5 0 0 0 5 0z'/%3E%3Cpath d='M19 7.5 16.5 13a2.5 2.5 0 0 0 5 0z'/%3E%3C/svg%3E");
      --i-question: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.6 9.6a2.5 2.5 0 1 1 3.4 2.3c-.6.3-1 .8-1 1.5v.4'/%3E%3Cpath d='M12 16.8h.01'/%3E%3C/svg%3E");
      --i-slash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
      --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 17h10'/%3E%3C/svg%3E");
      --i-percent: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.5 5.5 5.5 18.5'/%3E%3Ccircle cx='7' cy='7' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E");
      --i-city: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5h17'/%3E%3Cpath d='M5.5 20.5V6l7-2.5v17'/%3E%3Cpath d='M12.5 9.5h6v11'/%3E%3Cpath d='M8.5 8h1'/%3E%3Cpath d='M8.5 11.5h1'/%3E%3Cpath d='M8.5 15h1'/%3E%3Cpath d='M15.5 13h.01'/%3E%3Cpath d='M15.5 16.5h.01'/%3E%3C/svg%3E");
      --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8.5' r='3.5'/%3E%3Cpath d='M5 20a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
      --i-arrowup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m6 11 6-6 6 6'/%3E%3C/svg%3E");
      --i-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11'/%3E%3Cpath d='M9 12h11'/%3E%3Cpath d='M9 18h11'/%3E%3Cpath d='M4.5 6h.01'/%3E%3Cpath d='M4.5 12h.01'/%3E%3Cpath d='M4.5 18h.01'/%3E%3C/svg%3E");
      --i-calc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8.5 7h7'/%3E%3Cpath d='M8.5 11.5h.01'/%3E%3Cpath d='M12 11.5h.01'/%3E%3Cpath d='M15.5 11.5h.01'/%3E%3Cpath d='M8.5 15h.01'/%3E%3Cpath d='M12 15h.01'/%3E%3Cpath d='M15.5 15h.01'/%3E%3Cpath d='M8.5 18h.01'/%3E%3Cpath d='M12 18h3.5'/%3E%3C/svg%3E");
    }

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        --bg: #111416;
        --surface: #181c1f;
        --surface-2: #1c2124;
        --sunken: #23292d;
        --line: #2a3034;
        --line-strong: #3a4146;
        --input-border: #69737a;
        --text: #e8eaec;
        --text-2: #bfc5ca;
        --text-3: #9ba3aa;

        --accent: #6cc3d2;
        --accent-hover: #8ad3df;
        --accent-soft: #15303a;
        --accent-ink: #9dd6e0;
        --on-accent: #08262c;
        --focus: #7fb6ff;

        --pos: #7fd1a1;
        --pos-bg: #15291f;
        --pos-line: #2c5a40;
        --warn: #f2c27d;
        --warn-bg: #2b2113;
        --warn-line: #6b4e22;
        --neg: #f4a596;
        --neg-bg: #2e1814;
        --neg-line: #6e3328;
        --info: #8fd0dc;
        --info-bg: #122428;
        --info-line: #2a5961;
        --muted-bg: #262b2f;

        --v-buy-bg: #7fd1a1;
        --v-buy-fg: #0b2417;
        --v-wait-bg: #b4bbf2;
        --v-wait-fg: #161a3d;
        --v-wait-line: #b4bbf2;
        --v-even-bg: #15303a;
        --v-even-fg: #9dd6e0;
        --v-even-line: #2a5961;
        --v-thin-fg: #c9cfd4;
        --v-thin-line: #8c969e;
        --v-na-bg: #262b2f;
        --v-na-fg: #b5bcc2;

        --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ba3aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        --shadow-pop: 0 12px 32px rgb(0 0 0 / 0.5), 0 2px 6px rgb(0 0 0 / 0.4);
      }
    }

    @media (min-width: 600px) {
      :root { --gutter: 24px; }
    }

    @media (min-width: 1100px) {
      :root { --gutter: 40px; --tap: 44px; }
    }

    /* ---------- Base ---------- */

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
    }

    [hidden] {
      display: none !important;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
      scroll-padding-top: calc(var(--topbar-h) + 12px);
    }

    body {
      min-height: 100vh;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-sans);
      font-size: 1rem;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-wrap: break-word;
    }

    img,
    svg {
      display: block;
      max-width: 100%;
    }

    h1,
    h2,
    h3,
    h4 {
      color: var(--text);
      line-height: 1.2;
      text-wrap: balance;
    }

    h3 {
      font-size: 1.0625rem;
      font-weight: 600;
    }

    h4 {
      font-size: 1rem;
      font-weight: 600;
    }

    p {
      text-wrap: pretty;
    }

    ul,
    ol {
      padding-left: 1.25rem;
    }

    li + li {
      margin-top: 0.25rem;
    }

    strong {
      font-weight: 600;
    }

    a {
      color: var(--accent);
      text-decoration-thickness: 1px;
      text-underline-offset: 0.18em;
    }

    a:hover {
      color: var(--accent-hover);
      text-decoration-thickness: 2px;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
      color: inherit;
    }

    button {
      cursor: pointer;
    }

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

    ::selection {
      background: var(--accent-soft);
      color: var(--text);
    }

    table {
      font-variant-numeric: tabular-nums;
    }

    .visually-hidden {
      position: absolute !important;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

    .skip-link {
      position: absolute;
      left: 12px;
      top: -100px;
      z-index: 100;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      background: var(--accent);
      color: var(--on-accent);
      font-weight: 600;
      text-decoration: none;
    }

    .skip-link:focus {
      top: 12px;
    }

    button[aria-disabled="true"] {
      cursor: not-allowed;
      opacity: 0.55;
    }

    /* ---------- Icons ---------- */

    .icon,
    .eyebrow::before {
      display: inline-block;
      flex: none;
      width: 1.25em;
      height: 1.25em;
      background-color: currentColor;
      -webkit-mask: var(--icon) center no-repeat; -webkit-mask-size:contain;
      mask: var(--icon) center no-repeat; mask-size:contain;
    }

    .i-home { --icon: var(--i-home); }
    .i-pin { --icon: var(--i-pin); }
    .i-chart { --icon: var(--i-chart); }
    .i-bars { --icon: var(--i-bars); }
    .i-search { --icon: var(--i-search); }
    .i-locate { --icon: var(--i-locate); }
    .i-wallet { --icon: var(--i-wallet); }
    .i-compare { --icon: var(--i-compare); }
    .i-sparkle { --icon: var(--i-sparkle); }
    .i-news { --icon: var(--i-news); }
    .i-refresh { --icon: var(--i-refresh); }
    .i-chevron { --icon: var(--i-chevron); }
    .i-external { --icon: var(--i-external); }
    .i-menu { --icon: var(--i-menu); }
    .i-city { --icon: var(--i-city); }
    .i-percent { --icon: var(--i-percent); }
    .i-calc { --icon: var(--i-calc); }
    .i-list { --icon: var(--i-list); }
    .i-arrowup { --icon: var(--i-arrowup); }

    /* ---------- Shell: sticky top bar on phones and tablets, side rail on desktop ---------- */

    .app {
      min-height: 100vh;
    }

    .rail {
      position: sticky;
      top: 0;
      z-index: 40;
      display: flex;
      align-items: center;
      gap: 12px;
      height: var(--topbar-h);
      padding: 0 var(--gutter);
      background: var(--bg);
      border-bottom: 1px solid var(--line);
    }

    @supports (backdrop-filter: blur(1px)) {
      .rail {
        background: color-mix(in srgb, var(--bg) 88%, transparent);
        backdrop-filter: saturate(1.2) blur(12px);
        -webkit-backdrop-filter: saturate(1.2) blur(12px);
      }
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: var(--tap);
      color: var(--text);
      text-decoration: none;
      flex: none;
    }

    .brand:hover {
      color: var(--text);
    }

    .brand-mark {
      width: 30px;
      height: 30px;
      flex: none;
    }

    .brand-mark .mark-tile {
      fill: var(--accent);
    }

    .brand-mark .mark-glyph {
      stroke: var(--on-accent);
    }

    .brand-name {
      font-family: var(--font-serif);
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .section-nav {
      position: static;
      margin-left: auto;
      min-width: 0;
    }

    .section-nav-toggle {
      display: none;
      align-items: center;
      gap: 8px;
      max-width: 100%;
      min-height: 44px;
      padding: 0 12px 0 14px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: var(--surface);
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 600;
    }

    .section-nav.has-switcher .section-nav-toggle {
      display: inline-flex;
    }

    .section-nav-toggle:hover {
      border-color: var(--input-border);
    }

    .section-nav-current {
      display: inline-flex;
      align-items: baseline;
      gap: 8px;
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .section-nav-num {
      color: var(--text-3);
      font-size: 0.8125rem;
      font-variant-numeric: tabular-nums;
    }

    .section-nav-name {
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .section-nav-toggle .icon {
      width: 18px;
      height: 18px;
      color: var(--text-3);
      transition: transform 0.2s ease;
    }

    .section-nav.is-open .section-nav-toggle .icon {
      transform: rotate(180deg);
    }

    .section-nav-list {
      display: none;
      position: absolute;
      top: calc(100% + 1px);
      left: 0;
      right: 0;
      max-height: calc(100vh - var(--topbar-h) - 16px);
      max-height: calc(100dvh - var(--topbar-h) - 16px);
      overflow-y: auto;
      overscroll-behavior: contain;
      padding: 8px var(--gutter) 16px;
      list-style: none;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow-pop);
    }

    .section-nav.is-open .section-nav-list {
      display: block;
    }

    .section-nav-list li + li {
      margin-top: 0;
    }

    .section-nav-list a {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      min-height: 52px;
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      color: var(--text);
      text-decoration: none;
    }

    .section-nav-list a:hover {
      background: var(--sunken);
      color: var(--text);
    }

    .section-nav-list a[aria-current] {
      background: var(--accent-soft);
      color: var(--accent-ink);
    }

    .nav-num {
      flex: none;
      width: 1.5rem;
      padding-top: 1px;
      color: var(--text-3);
      font-size: 0.8125rem;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
    }

    .section-nav-list a[aria-current] .nav-num {
      color: var(--accent-ink);
    }

    .nav-text {
      display: grid;
      gap: 1px;
      min-width: 0;
    }

    .nav-name {
      font-weight: 600;
      line-height: 1.3;
    }

    .nav-hint {
      color: var(--text-3);
      font-size: 0.8125rem;
      line-height: 1.35;
      text-wrap: balance;
    }

    .section-nav-list a[aria-current] .nav-hint {
      color: var(--accent-ink);
    }

    .scroll-progress {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      pointer-events: none;
    }

    .scroll-progress span {
      display: block;
      height: 100%;
      background: var(--accent);
      transform-origin: 0 50%;
      transform: scaleX(var(--progress, 0));
    }

    .main {
      display: grid;
      gap: 12px;
      padding: 0 0 48px;
      min-width: 0;
      container-type: inline-size;
      container-name: main;
    }

    .main:focus {
      outline: none;
    }

    @media (max-width: 420px) {
      .brand-name {
        font-size: 1.125rem;
      }
    }

    @media (max-width: 359px) {
      .brand {
        min-width: var(--tap);
        justify-content: center;
      }

      .brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
      }
    }

    @media (min-width: 600px) {
      .main {
        gap: 20px;
        max-width: 880px;
        margin: 0 auto;
        padding: 8px var(--gutter) 64px;
      }
    }

    @media (min-width: 600px) and (max-width: 1099.98px) {
      .section-nav-list {
        left: auto;
        right: var(--gutter);
        width: min(400px, calc(100vw - 2 * var(--gutter)));
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
      }
    }

    @media (min-width: 1100px) {
      .app {
        display: grid;
        grid-template-columns: 236px minmax(0, 1fr);
        column-gap: 48px;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--gutter);
      }

      .rail {
        position: sticky;
        top: 0;
        align-self: start;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        height: 100vh;
        height: 100dvh;
        padding: 32px 0 24px;
        overflow-y: auto;
        background: transparent;
        border: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
      }

      .brand {
        padding: 0 12px;
      }

      .section-nav {
        margin: 0;
      }

      .section-nav-toggle,
      .section-nav.has-switcher .section-nav-toggle,
      .scroll-progress {
        display: none;
      }

      .section-nav-list {
        display: block;
        position: static;
        max-height: none;
        padding: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
      }

      .section-nav-list a {
        min-height: 0;
        padding: 9px 12px;
      }

      .main {
        max-width: 1040px;
        margin: 0;
        padding: 32px 0 80px;
        gap: 24px;
      }

      html {
        scroll-padding-top: 24px;
      }

      .page-footer {
        grid-column: 2;
      }
    }

    /* ---------- Sections ---------- */

    .section {
      position: relative;
      padding: 28px var(--gutter);
      background: var(--surface);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      min-width: 0;
    }

    @media (min-width: 600px) {
      .section {
        padding: 32px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
      }
    }

    @media (min-width: 1100px) {
      .section {
        padding: 40px;
      }
    }

    .section-head {
      display: grid;
      gap: 8px;
      margin-bottom: 24px;
      max-width: 68ch;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent-ink);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 18px;
      height: 18px;
    }

    .eyebrow-num {
      color: var(--text-3);
      font-variant-numeric: tabular-nums;
    }

    .section h2,
    .news-section h2 {
      font-family: var(--font-serif);
      font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem);
      font-weight: 500;
      letter-spacing: -0.012em;
      line-height: 1.12;
    }

    .section-lede,
    .buyer-intro {
      color: var(--text-2);
      font-size: 1rem;
      max-width: 72ch;
    }

    .subhead {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px 16px;
      margin: 28px 0 14px;
    }

    .subhead h3 {
      font-size: 1.125rem;
    }

    .subhead .refresh-btn {
      background: transparent;
      border-color: transparent;
      color: var(--accent);
    }

    .subhead .refresh-btn:hover {
      background: var(--sunken);
      border-color: transparent;
      color: var(--accent-hover);
    }

    @media (max-width: 599px) {
      .subhead .refresh-btn {
        margin-left: -22px;
      }
    }

    .news-count {
      margin: 0;
      color: var(--text-3);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .btn-icon.i-compare { --icon: var(--i-compare); }

    .divider {
      height: 1px;
      margin: 28px 0;
      background: var(--line);
      border: 0;
    }

    /* Section eyebrow icons */
    #sec-overview .eyebrow::before { --icon: var(--i-home); }
    #sec-markets .eyebrow::before { --icon: var(--i-chart); }
            #buyerSituation .eyebrow::before { --icon: var(--i-wallet); }
    #buyerScenarios .eyebrow::before { --icon: var(--i-compare); }
    #sec-ai .eyebrow::before { --icon: var(--i-sparkle); }
    #sec-news .eyebrow::before { --icon: var(--i-news); }

    /* ---------- Hero (section 01) ---------- */

    .hero {
      display: grid;
      gap: 24px;
      padding-top: 32px;
      background: transparent;
      border: 0;
    }

    .hero-intro {
      min-width: 0;
    }

    .hero h1 {
      font-family: var(--font-serif);
      font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      line-height: 1.02;
    }

    .hero-kicker {
      display: block;
      margin-top: 10px;
      color: var(--text-2);
      font-family: var(--font-sans);
      font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
      font-weight: 500;
      letter-spacing: 0;
      line-height: 1.35;
    }

    .hero-lede {
      margin-top: 14px;
      color: var(--text-2);
      max-width: 60ch;
    }

    /* All four chips are visible on load: a two-by-two grid below 720 px, one row from 720 px up. */
    .hero-steps {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 24px 0 0;
      padding: 0;
      list-style: none;
    }

    .hero-steps li {
      min-width: 0;
      margin: 0;
    }

    .hero-steps a {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 100%;
      min-height: var(--tap);
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--surface);
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 500;
      line-height: 1.2;
      text-align: center;
      text-decoration: none;
      transition: transform 160ms ease-out;
    }

    @media (min-width: 720px) {
      .hero-steps {
        display: flex;
        flex-wrap: wrap;
      }

      .hero-steps li {
        flex: none;
      }

      .hero-steps a {
        display: inline-flex;
        height: auto;
        padding: 0 16px 0 14px;
        white-space: nowrap;
      }
    }

    .hero-steps a:hover {
      border-color: var(--accent);
      color: var(--accent-ink);
    }

    .hero-steps .icon {
      width: 18px;
      height: 18px;
      color: var(--accent);
    }

    @media (min-width: 600px) {
      .hero {
        padding: 40px 0 8px;
      }
    }

    @container main (min-width: 820px) {
      .hero {
        padding-top: 56px;
      }
    }

    /* Data sources: the banner text stays the source of truth; layout.js mirrors it as a list. */

    .sources-card {
      padding: 18px 20px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .sources-card h2 {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
      font-family: var(--font-sans);
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-2);
    }

    .data-sources {
      color: var(--text-2);
      font-size: 0.9375rem;
      line-height: 1.6;
      overflow-wrap: anywhere;
    }

    .sources-card.is-enhanced .data-sources {
      display: none;
    }

    .source-status {
      display: grid;
      gap: 2px;
      padding: 0;
      list-style: none;
    }

    .source-status li {
      display: grid;
      grid-template-columns: 20px minmax(0, 1fr);
      gap: 10px;
      margin: 0;
      padding: 7px 0;
      border-top: 1px solid var(--line);
      font-size: 0.9375rem;
      line-height: 1.4;
    }

    .source-status li:first-child {
      border-top: 0;
    }

    .source-status li::before {
      content: "";
      width: 20px;
      height: 20px;
      background: currentColor;
      -webkit-mask: var(--icon, var(--i-info)) center no-repeat; -webkit-mask-size:contain;
      mask: var(--icon, var(--i-info)) center no-repeat; mask-size:contain;
    }

    .source-status .status-ok::before { --icon: var(--i-check); color: var(--pos); }
    .source-status .status-pending::before { --icon: var(--i-clock); color: var(--text-3); }
    .source-status .status-warn::before { --icon: var(--i-alert); color: var(--warn); }
    .source-status .status-error::before { --icon: var(--i-xcircle); color: var(--neg); }
    .source-status .status-checking::before,
    .source-status .status-loading::before { --icon: var(--i-refresh); color: var(--text-3); }

    .source-name {
      display: block;
      color: var(--text);
      font-weight: 600;
    }

    .source-detail {
      display: block;
      color: var(--text-2);
      font-size: 0.875rem;
      overflow-wrap: anywhere;
    }

    .status-pill {
      display: inline-block;
      margin-left: 6px;
      color: var(--text-3);
      font-size: 0.8125rem;
      font-weight: 500;
    }

    /* ---------- Forms ---------- */

    .form-grid,
    .city-inputs,
    .search-filters,
    .buyer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }

    .search-filters,
    .city-inputs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-filters .span-2 {
      grid-column: 1 / -1;
    }

    @container main (min-width: 560px) {
      .buyer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @container main (min-width: 560px) {
      .buyer-grid > .buyer-field > label {
        display: flex;
        align-items: flex-end;
        min-height: 2.6em;
      }
    }

    @container main (max-width: 759.98px) {
      .search-filters > :last-child {
        grid-column: 1 / -1;
      }
    }

    @container main (min-width: 760px) {
      .search-filters > :last-child {
        grid-column: span 2;
      }

      .buyer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .city-inputs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .search-filters {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .search-filters .span-2 {
        grid-column: span 2;
      }
    }

    @container main (min-width: 960px) {
      .city-inputs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
      }
    }

    /* An odd last field spans its row rather than sitting alone at half width. */
    @container main (max-width: 959.98px) {
      .city-inputs > .field:last-child:nth-child(odd) {
        grid-column: 1 / -1;
      }
    }

    @container main (min-width: 560px) and (max-width: 759.98px) {
      .buyer-grid > .buyer-field:last-child:nth-child(odd) {
        grid-column: 1 / -1;
      }
    }

    .field,
    .buyer-field,
    .search-input-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
    }

    .field > label,
    .buyer-field > label,
    .search-input-group > label {
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 600;
      line-height: 1.3;
    }

    .label-note {
      color: var(--text-3);
      font-weight: 500;
    }

    .field input,
    .field select,
    .buyer-field input,
    .buyer-field select,
    .search-input-group input,
    .search-input-group select,
    .city-input,
    .sign-in-email-input {
      width: 100%;
      min-height: var(--tap);
      padding: 0 14px;
      background-color: var(--surface);
      border: 1px solid var(--input-border);
      border-radius: var(--radius-sm);
      color: var(--text);
      font-size: 1rem;
      line-height: 1.25;
      transition: transform 160ms ease-out;
      -webkit-appearance: none;
      appearance: none;
    }

    select,
    .field select,
    .buyer-field select,
    .search-input-group select,
    select.city-input {
      padding-right: 40px;
      background-image: var(--chevron);
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 18px 18px;
    }

    input[type="number"] {
      -moz-appearance: textfield;
      appearance: textfield;
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    input::placeholder {
      color: var(--text-3);
      opacity: 1;
    }

    .field input:hover,
    .buyer-field input:hover,
    .buyer-field select:hover,
    .search-input-group input:hover,
    .search-input-group select:hover,
    .city-input:hover {
      border-color: var(--text-2);
    }

    .field input:focus,
    .field select:focus,
    .buyer-field input:focus,
    .buyer-field select:focus,
    .search-input-group input:focus,
    .search-input-group select:focus,
    .city-input:focus,
    .sign-in-email-input:focus {
      outline: 3px solid var(--focus);
      outline-offset: 1px;
      border-color: var(--accent);
    }

    input:disabled,
    select:disabled {
      background-color: var(--sunken);
      border-style: dashed;
      border-color: var(--line-strong);
      color: var(--text-3);
      cursor: not-allowed;
    }

    .buyer-field input[type="number"]:out-of-range,
    .buyer-field input[pattern]:user-invalid,
    .search-input-group input[type="number"]:out-of-range {
      border-color: var(--neg);
      box-shadow: 0 0 0 1px var(--neg);
    }

    .buyer-field:has(:user-invalid) > label {
      color: var(--neg);
    }

    .buyer-field:has(#buyerUserRate:enabled) #buyerRateSource {
      color: var(--warn);
      font-weight: 600;
    }

    #buyerUserRate:enabled:placeholder-shown {
      border-color: var(--warn);
    }

    .input-wrap {
      position: relative;
      display: block;
    }

    .input-wrap .affix {
      position: absolute;
      top: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      color: var(--text-3);
      font-size: 0.9375rem;
      pointer-events: none;
    }

    .input-wrap .prefix {
      left: 14px;
    }

    .input-wrap .suffix {
      right: 14px;
    }

    .input-wrap.has-prefix input {
      padding-left: 28px;
    }

    .input-wrap.has-suffix input {
      padding-right: 52px;
    }

    .field-note,
    .field-help {
      color: var(--text-3);
      font-size: 0.8125rem;
      line-height: 1.45;
    }

    .field-note:empty {
      display: none;
    }

    .field-note .source-link,
    .field-help .source-link {
      font-size: inherit;
    }

    fieldset.form-group,
    .assumptions {
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
    }

    .form-group + .form-group,
    .assumptions {
      margin-top: 28px;
    }

    /* F10: at large text sizes the title, the "(optional)" note and the
       chevron wrap onto a second line instead of pushing the page wider
       than the screen. */
    .group-toggle {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      width: calc(100% + 12px);
      min-height: 44px;
      margin: -6px;
      padding: 0 6px;
      background: none;
      border: 0;
      border-radius: var(--radius-sm);
      color: var(--text);
      font: inherit;
      font-weight: 600;
      text-align: left;
      cursor: pointer;
    }

    .group-toggle:hover {
      color: var(--accent);
    }

    .group-toggle::after {
      content: "";
      width: 20px;
      height: 20px;
      flex: none;
      margin-left: auto;
      background: var(--text-3);
      -webkit-mask: var(--i-chevron) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-chevron) center no-repeat; mask-size:contain;
      transition: transform 0.2s ease;
    }

    .group-count {
      margin-left: auto;
      color: var(--text-3);
      font-size: 0.875rem;
      font-weight: 500;
      white-space: nowrap;
    }

    .group-toggle:has(.group-count:not([hidden]))::after {
      margin-left: 0;
    }

    .form-collapsible .is-collapsible.is-open > legend .group-toggle::after {
      transform: rotate(180deg);
    }

    #buyerSituation:not(.form-collapsible) .group-toggle::after {
      display: none;
    }

    .form-collapsible .is-collapsible:not(.is-open) > .group-body {
      display: none;
    }

    .form-collapsible .is-collapsible.is-open > .group-body {
      animation: unfold 0.22s ease;
    }

    .group-body {
      clear: both;
      padding-top: 4px;
    }

    .form-group > legend,
    .assumptions > legend {
      float: left;
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      margin-bottom: 4px;
      padding: 0;
      color: var(--text);
      font-size: 1.0625rem;
      font-weight: 600;
    }

    .form-group > legend + *,
    .assumptions > legend + * {
      clear: both;
    }

    .form-group > legend + .buyer-grid,
    .assumptions > legend + .buyer-grid {
      padding-top: 12px;
    }

    .group-note {
      padding-top: 4px;
      margin-bottom: 16px;
      color: var(--text-2);
      font-size: 0.9375rem;
    }

    .assumptions {
      padding: 20px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    @media (max-width: 599px) {
      .assumptions .group-toggle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 20px;
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 6px;
        align-items: center;
      }

      .assumptions .group-toggle .assume-tag {
        justify-self: start;
      }

      .assumptions .group-toggle::after {
        grid-column: 2;
        grid-row: 1 / -1;
      }
    }

    .assume-tag {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-ink);
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .assumptions .buyer-field > label {
      font-weight: 600;
    }

    .form-actions,
    .buyer-actions,
    .search-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px;
    }

    .form-hint {
      margin-top: 10px;
      color: var(--text-3);
      font-size: 0.875rem;
    }

    /* ---------- Buttons ---------- */

    .btn,
    .update-cities-btn,
    .search-btn,
    .refresh-btn,
    .secondary-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: var(--tap);
      padding: 0 22px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.2;
      text-align: center;
      text-decoration: none;
      transition: transform 160ms ease-out;
    }

    .update-cities-btn,
    .search-btn,
    .btn-primary {
      background: var(--accent);
      color: var(--on-accent);
    }

    .update-cities-btn:hover,
    .search-btn:hover,
    .btn-primary:hover {
      background: var(--accent-hover);
      color: var(--on-accent);
    }

    /* B6 S1: these four borders measured 1.41:1 to 2.30:1 against their own
       surfaces, under the 3:1 that a control boundary needs. The input
       border token is the one the inputs already use and it measures 3.3:1
       and up in every theme, so the secondary buttons use it. */
    .secondary-btn,
    .refresh-btn,
    .btn-secondary,
    #useLocationButton {
      background: var(--surface);
      border-color: var(--input-border);
      color: var(--text);
    }

    .secondary-btn:hover,
    .refresh-btn:hover,
    .btn-secondary:hover,
    #useLocationButton:hover {
      background: var(--sunken);
      border-color: var(--input-border);
      color: var(--text);
    }

    .update-cities-btn:disabled,
    .search-btn:disabled,
    .refresh-btn:disabled,
    .secondary-btn:disabled,
    .btn:disabled {
      cursor: not-allowed;
      opacity: 0.55;
    }

    .btn-icon::before,
    #searchButton::before,
    #useLocationButton::before,
    .refresh-btn::before {
      content: "";
      width: 20px;
      height: 20px;
      flex: none;
      background: currentColor;
      -webkit-mask: var(--icon) center no-repeat; -webkit-mask-size:contain;
      mask: var(--icon) center no-repeat; mask-size:contain;
    }

    #searchButton { --icon: var(--i-search); }
    #useLocationButton { --icon: var(--i-locate); }
    .refresh-btn { --icon: var(--i-refresh); }
    .btn-icon.i-refresh { --icon: var(--i-refresh); }
    .btn-icon.i-calc { --icon: var(--i-calc); }

    .refresh-btn:disabled::before {
      animation: spin 1s linear infinite;
    }

    .search-actions > *,
    .buyer-actions > *,
    .form-actions > * {
      flex: 1 1 auto;
    }

    @container main (min-width: 560px) {
      .search-actions > *,
      .buyer-actions > *,
      .form-actions > * {
        flex: 0 0 auto;
      }
    }

    .link-btn {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 4px;
      background: none;
      border: 0;
      color: var(--accent);
      font-size: inherit;
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 0.18em;
    }

    .link-btn:hover {
      color: var(--accent-hover);
    }

    /* ---------- Status boxes ---------- */

    .info-box,
    .warning-box,
    .error,
    .missing-list {
      position: relative;
      margin: 12px 0;
      padding: 14px 16px 14px 46px;
      border: 1px solid;
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
      line-height: 1.55;
    }

    .info-box::before,
    .warning-box::before,
    .error::before,
    .missing-list::before {
      content: "";
      position: absolute;
      left: 15px;
      top: 15px;
      width: 20px;
      height: 20px;
      background: currentColor;
      -webkit-mask: var(--icon) center no-repeat; -webkit-mask-size:contain;
      mask: var(--icon) center no-repeat; mask-size:contain;
    }

    .info-box {
      --icon: var(--i-info);
      background: var(--info-bg);
      border-color: var(--info-line);
      color: var(--text);
    }

    .info-box::before {
      color: var(--info);
    }

    .warning-box,
    .missing-list {
      --icon: var(--i-alert);
      background: var(--warn-bg);
      border-color: var(--warn-line);
      color: var(--text);
    }

    .warning-box::before,
    .missing-list::before {
      color: var(--warn);
    }

    .error {
      --icon: var(--i-xcircle);
      background: var(--neg-bg);
      border-color: var(--neg-line);
      color: var(--text);
    }

    .error::before {
      color: var(--neg);
    }

    .info-box > strong:first-child,
    .warning-box > strong:first-child,
    .error > strong:first-child {
      display: inline;
    }

    .missing-list {
      list-style: none;
    }

    .missing-list li {
      position: relative;
      margin: 0;
      padding-left: 14px;
    }

    .missing-list a {
      display: inline-block;
      padding: 12px 4px;
      margin: -12px -4px;
    }

    .missing-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.68em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--warn);
    }

    .missing-list li:first-child {
      padding-left: 0;
      margin-bottom: 4px;
      font-weight: 600;
    }

    .missing-list li:first-child::before {
      display: none;
    }

    /* ---------- Loading ---------- */

    .loading {
      display: grid;
      justify-items: center;
      gap: 12px;
      padding: 32px 16px;
      color: var(--text-2);
      text-align: center;
      grid-column: 1 / -1;
    }

    .spinner {
      width: 32px;
      height: 32px;
      border: 3px solid var(--line);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.9s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* ---------- Links ---------- */

    .source-link {
      color: var(--accent);
      font-size: 0.875rem;
      text-decoration: underline;
      text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
      text-underline-offset: 0.2em;
    }

    .source-link:hover {
      color: var(--accent-hover);
      text-decoration-color: currentColor;
    }

    .listing-meta {
      color: var(--text-3);
      font-size: 0.8125rem;
      line-height: 1.5;
      overflow-wrap: anywhere;
    }

    .listing-meta .source-link {
      font-size: inherit;
    }

    .positive { color: var(--pos); }
    .negative { color: var(--neg); }
    .neutral { color: var(--text); }

    /* ---------- Market snapshot (section 03) ---------- */

    .dashboard {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }

    @container main (min-width: 600px) {
      .dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @container main (min-width: 900px) {
      .dashboard {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    /* Every card is the same width; narrow city cards stack label over value so rows never zig-zag. */
    .dashboard > .card {
      container-type: inline-size;
    }

    @container (max-width: 380px) {
      .dashboard > .card:not(:first-child) .metric {
        display: grid;
        gap: 1px;
      }

      .dashboard > .card:not(:first-child) .metric-value {
        margin-left: 0;
        text-align: left;
      }
    }

    .dashboard > .error,
    .dashboard > .info-box {
      grid-column: 1 / -1;
      margin: 0;
    }

    .card {
      min-width: 0;
      padding: 18px 20px 16px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .card h3 {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 6px 10px;
      margin-bottom: 10px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
      font-size: 1.0625rem;
      font-weight: 600;
    }

    .card h3 > span:first-child {
      min-width: 0;
    }

    .card h3 > span:last-child:not(:first-child) {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .data-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 24px;
      padding: 2px 10px;
      border-radius: 999px;
      background: var(--muted-bg);
      color: var(--text-2);
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
    }

    .data-badge::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: currentColor;
      flex: none;
    }

    .live-data {
      background: var(--pos-bg);
      color: var(--pos);
    }

    .stale-data,
    .estimated-data {
      background: var(--warn-bg);
      color: var(--warn);
    }

    .cached-data {
      background: var(--warn-bg);
      color: var(--warn);
    }

    .cached-data::before {
      border-radius: 2px;
    }

    .unavailable-data {
      background: var(--muted-bg);
      color: var(--text-2);
    }

    .metric {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 2px 12px;
      padding: 8px 0;
      border-bottom: 1px solid var(--line);
      min-width: 0;
    }

    .metric:last-child,
    .metric:has(+ :not(.metric)) {
      border-bottom: 0;
    }

    .metric-label {
      color: var(--text-2);
      font-size: 0.875rem;
      font-weight: 500;
      min-width: 0;
    }

    .metric-value {
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 600;
      font-variant-numeric: tabular-nums;
      text-align: right;
      text-wrap: balance;
      margin-left: auto;
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .metric-compare,
    .metric-when {
      display: inline;
      margin-left: 4px;
      color: var(--text-3);
      font-size: 0.8125rem;
      font-weight: 400;
    }

    .metric-when {
      white-space: nowrap;
    }

    .card .listing-meta,
    .card > div:last-child:not(.metric):not(.info-box) {
      margin-top: 10px;
    }

    .card .info-box {
      margin: 4px 0 8px;
    }

    /* Mortgage-rate card: the two headline rates read large, the delivery details stay quiet. */
    .rate-value {
      font-family: var(--font-serif);
      font-size: 1.625rem;
      font-weight: 500;
      line-height: 1.1;
    }

    .metric:has(.rate-value) .metric-label {
      color: var(--text);
      font-weight: 600;
    }

    .metric:has(.rate-value) ~ .metric:has(.rate-value) {
      margin-top: 8px;
      border-top: 1px solid var(--line);
    }

    .metric:has(.meta-value) {
      padding: 4px 0;
      border-bottom: 0;
    }

    .metric:has(.meta-value) .metric-label,
    .meta-value {
      color: var(--text-2);
      font-size: 0.8125rem;
      font-weight: 500;
    }

    .card-links {
      margin-top: 12px;
      font-size: 0.8125rem;
      line-height: 1.6;
    }

    .card-links .source-link {
      font-size: inherit;
    }

    /* ---------- Search results (section 04) ---------- */

    .search-results {
      margin-top: 24px;
      min-width: 0;
    }

    .search-results:empty {
      display: none;
    }

    .search-results > h3 {
      font-size: 1.125rem;
      font-weight: 600;
    }

    .search-results > .listing-meta {
      margin: 4px 0 16px;
    }

    #locationNote:not(:empty) {
      margin-top: 10px;
    }

    .listing-card {
      margin: 12px 0;
      padding: 18px 20px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      min-width: 0;
    }

    .listing-card > h3 {
      font-size: 1.0625rem;
    }

    .listing-card > p {
      margin-top: 6px;
      color: var(--text-2);
      font-size: 0.9375rem;
    }

    @container main (min-width: 760px) {
      .listing-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 24px;
        align-items: start;
      }

      .listing-card > * {
        grid-column: 1;
      }

      .listing-card > .listing-actions {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        margin: 0;
      }

      .listing-card > .listing-analysis,
      .listing-card > .listing-meta {
        grid-column: 1 / -1;
      }
    }

    .listing-card > a.source-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: var(--tap);
      margin-top: 0;
    }

    .listing-card > a.source-link::after {
      content: "";
      width: 14px;
      height: 14px;
      background: currentColor;
      -webkit-mask: var(--i-external) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-external) center no-repeat; mask-size:contain;
    }

    .listing-card .secondary-btn {
      width: 100%;
      white-space: normal;
    }

    @container main (min-width: 560px) {
      .listing-card .secondary-btn {
        width: auto;
      }
    }

    .listing-card .listing-meta {
      margin-top: 8px;
    }

    /* Per-listing deal analysis panel */
    .analysis-panel,
    .listing-card .info-box {
      margin-top: 16px;
      padding: 18px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      color: var(--text);
    }

    .analysis-panel::before,
    .listing-card .info-box:not(.analysis-panel):has(> h4)::before {
      display: none;
    }

    .analysis-panel > h4,
    .listing-card .info-box > h4 {
      position: relative;
      margin-bottom: 12px;
      padding-left: 28px;
      font-size: 1.125rem;
      font-weight: 600;
    }

    .analysis-panel > h4::first-letter {
      font-size: 0;
    }

    .analysis-panel > h4::after {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 20px;
      height: 20px;
      transform: translateY(-50%);
      background: var(--accent);
      -webkit-mask: var(--i-bars) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-bars) center no-repeat; mask-size:contain;
    }

    .analysis-panel > div,
    .analysis-section {
      margin-bottom: 14px;
    }

    .analysis-section > strong:first-child {
      color: var(--text);
    }

    .analysis-note {
      margin-top: 8px;
      font-style: italic;
    }

    .analysis-panel .analysis-disclaimer {
      margin-top: 6px;
      font-style: italic;
    }

    .listing-actions {
      margin-top: 12px;
    }

    .listing-analysis:empty {
      display: none;
    }

    .analysis-panel ul,
    .listing-card .info-box ul {
      margin: 6px 0 6px 1.25rem;
    }

    .verdict-block {
      margin-top: 8px;
    }

    .analysis-panel > .verdict-box,
    .verdict-box {
      margin-bottom: 16px;
      padding: 14px 16px;
      background: var(--sunken);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
    }

    .verdict-headline {
      font-weight: 600;
    }

    .verdict-reasons {
      margin: 10px 0;
      padding: 0;
      list-style: none;
    }

    .verdict-reasons li {
      margin: 0 0 10px;
    }

    .reason-marker {
      display: inline-block;
      width: 1.25em;
      font-weight: 700;
    }

    .reason-marker.for { color: var(--pos); }
    .reason-marker.against { color: var(--neg); }
    .reason-marker.neutral { color: var(--text-3); }

    .verdict-reasons .listing-meta {
      margin-left: 1.25em;
    }

    .comps-section {
      min-width: 0;
    }

    .analysis-panel .verdict-reasons {
      margin: 10px 0;
      padding: 0;
    }

    @container main (max-width: 559.98px) {
      .listing-card {
        padding: 16px 14px;
      }

      .listing-card .analysis-panel {
        margin-top: 14px;
        padding: 14px 0 0;
        background: transparent;
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
      }

      .verdict-box {
        padding: 12px;
      }

      .verdict-reasons .listing-meta {
        margin-left: 0;
      }
    }

    /* ---------- Your numbers (section 05) ---------- */

    .account-bar {
      display: block;
      margin: 0 0 24px;
      padding: 14px 16px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      color: var(--text-2);
      font-size: 0.9375rem;
      overflow-wrap: anywhere;
      min-width: 0;
    }

    .account-bar > span {
      min-width: 0;
    }

    .account-bar > .link-btn {
      display: inline-flex;
      min-height: 0;
      padding: 4px 4px;
      vertical-align: baseline;
    }

    .account-bar > span + .link-btn {
      margin-left: -4px;
    }

    .account-bar > .link-btn + .link-btn { margin-left: 8px; }

    .account-bar > [role="alert"],
    .account-alert {
      width: 100%;
      color: var(--neg);
      font-weight: 600;
    }

    .sign-in-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      width: 100%;
    }

    /* Signing in is optional, so these read as secondary next to the section's real action. */
    .sign-in-row .update-cities-btn {
      background: var(--surface);
      border-color: var(--input-border);
      color: var(--text);
    }

    .sign-in-row .update-cities-btn:hover {
      background: var(--sunken);
      border-color: var(--input-border);
      color: var(--text);
    }

    .sign-in-row > * {
      min-height: var(--tap);
    }

    .sign-in-row .update-cities-btn {
      padding: 0 18px;
    }

    .sign-in-email-field {
      flex: 1 1 220px;
      min-width: 0;
    }

    .sign-in-email-input {
      flex: none;
      width: 100%;
      max-width: 100%;
    }

    @media (max-width: 599px) {
      .sign-in-row {
        flex-direction: column;
        align-items: stretch;
      }

      .sign-in-row > * {
        flex: 0 0 auto;
        width: 100%;
      }
    }

    .credits-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 10px;
      margin-top: 10px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .credits-warning {
      width: 100%;
      color: var(--warn);
      font-weight: 600;
    }

    .free-beta-note {
      margin-top: 10px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      color: var(--text-2);
      font-size: 0.875rem;
    }

    .free-beta-note > .credits-warning {
      margin-top: 6px;
    }

    .credits-test-note {
      width: 100%;
      color: var(--warn);
      font-size: 0.8125rem;
    }

    .credits-section > label {
      color: var(--text);
      font-weight: 600;
    }

    .credits-section > select {
      flex: 1 1 180px;
      width: auto;
      min-height: var(--tap);
    }

    .credits-section > .update-cities-btn {
      padding: 0 18px;
    }

    .credits-status {
      width: 100%;
      color: var(--text-2);
      font-size: 0.875rem;
    }

    .credits-status:empty {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
    }

    .account-bar > .error,
    .account-bar > .info-box,
    .account-bar > .warning-box {
      width: 100%;
      margin: 4px 0 0;
    }

    .buyer-results {
      margin-top: 28px;
      min-width: 0;
    }

    .buyer-results:empty {
      display: none;
    }

    .buyer-results > h3 {
      margin-bottom: 4px;
      font-size: 1.125rem;
      font-weight: 600;
    }

    .result-summary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 16px 0;
    }

    @container main (min-width: 760px) {
      .result-summary {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .result-tile {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-width: 0;
      padding: 14px 16px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .result-summary .result-tile {
      justify-content: space-between;
    }

    .result-tile > strong {
      color: var(--text-2);
      font-size: 0.8125rem;
      font-weight: 500;
      line-height: 1.35;
    }

    .result-summary .metric-value {
      margin: 0;
      text-align: left;
      font-family: var(--font-serif);
      font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
      font-weight: 500;
      line-height: 1.1;
    }

    .result-summary .result-tile:nth-child(3) {
      background: var(--accent-soft);
      border-color: var(--info-line);
    }

    .result-summary .result-tile:nth-child(3) > strong,
    .result-summary .result-tile:nth-child(3) .metric-value {
      color: var(--accent-ink);
    }

    .buyer-results > .result-tile {
      gap: 0;
      max-width: 640px;
    }

    .buyer-results > .result-tile > strong {
      margin-bottom: 4px;
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 600;
    }

    .buyer-results .partner-cta {
      margin-top: 12px;
    }

    /* ---------- Scenarios (section 06) ---------- */

    #scenarioRateHeader {
      display: block;
      max-width: 72ch;
      margin-top: 4px;
      padding: 8px 12px;
      background: var(--sunken);
      border-radius: var(--radius-sm);
      color: var(--text-2);
      font-size: 0.875rem;
    }

    .empty-state {
      display: none;
    }

    /* The scenario table lives inside a disclosure, so the hint is keyed to the
       wrapper that holds both rather than to the table's next sibling. */
    .scenario-detail:has(#buyerScenarioResults:empty) .empty-state {
      display: block;
      margin-top: 20px;
      padding: 20px;
      border: 1px dashed var(--line-strong);
      border-radius: var(--radius);
      color: var(--text-2);
      text-align: center;
    }

    #buyerUserRate::placeholder {
      font-size: 0.8125rem;
    }

    #buyerUserRate:disabled::placeholder {
      color: transparent;
    }

    .input-wrap.has-suffix #buyerUserRate {
      padding-right: 34px;
    }

    #buyerScenarioResults > .info-box {
      font-size: 0.875rem;
    }

    .scenario-horizon {
      margin-top: 20px;
      padding: 18px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow-x: auto;
      min-width: 0;
    }

    .scenario-horizon.timeline-match {
      border-color: var(--accent);
      box-shadow: inset 0 0 0 1px var(--accent);
    }

    .scenario-horizon > h3 {
      margin-bottom: 12px;
      font-size: 1.0625rem;
    }

    .scenario-collapsible .scenario-horizon {
      padding-top: 2px;
      padding-bottom: 2px;
    }

    .scenario-collapsible .scenario-horizon > h3 {
      margin: 0;
    }

    .scenario-collapsible .scenario-horizon.is-open > h3 {
      margin-bottom: 4px;
    }

    .scenario-collapsible .scenario-horizon:not(.is-open) > .scenario-table,
    .scenario-collapsible .scenario-horizon:not(.is-open) + .scenario-show-all {
      display: none;
    }

    .scenario-collapsible .scenario-horizon.is-open > .scenario-table {
      margin-bottom: 16px;
      animation: unfold 0.22s ease;
    }

    .note-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 44px;
      margin: 4px 0 0;
      padding: 0 4px;
      background: none;
      border: 0;
      border-radius: var(--radius-sm);
      color: var(--accent);
      font: inherit;
      font-size: 0.9375rem;
      font-weight: 600;
      cursor: pointer;
    }

    .note-toggle::after {
      content: "";
      width: 16px;
      height: 16px;
      background: currentColor;
      -webkit-mask: var(--i-chevron) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-chevron) center no-repeat; mask-size:contain;
      transition: transform 0.2s ease;
    }

    .note-toggle[aria-expanded="true"]::after {
      transform: rotate(180deg);
    }

    .scenario-collapsible > .info-box:not(.is-open) {
      display: none;
    }

    .scenario-collapsible > .info-box.is-open {
      animation: unfold 0.22s ease;
    }

    .scenario-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    .scenario-table th,
    .scenario-table td {
      padding: 10px 8px;
      border-bottom: 1px solid var(--line);
      text-align: right;
      vertical-align: top;
    }

    .scenario-table th {
      color: var(--text-2);
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1.35;
      vertical-align: bottom;
    }

    .scenario-table th:first-child,
    .scenario-table th:nth-child(2),
    .scenario-table td:first-child,
    .scenario-table td:nth-child(2) {
      text-align: left;
    }

    .scenario-table td > div + div {
      margin-top: 2px;
      color: var(--text-3);
      font-size: 0.75rem;
    }

    .scenario-table tbody tr:last-child td {
      border-bottom: 0;
    }

    .scenario-table tr.is-official td {
      background: var(--accent-soft);
    }

    .scenario-table tr.is-official td:first-child {
      color: var(--accent-ink);
      font-weight: 600;
    }

    @container main (min-width: 880px) {
      .scenario-horizon .scenario-table {
        min-width: 760px;
      }
    }

    /* Below 880px each scenario row becomes a compact three-column card with its own labels. */
    @container main (max-width: 879.98px) {
      .scenario-horizon {
        padding: 14px 12px;
        overflow: visible;
      }

      .scenario-horizon .scenario-table,
      .scenario-horizon .scenario-table tbody,
      .scenario-horizon .scenario-table tr,
      .scenario-horizon .scenario-table td {
        display: block;
        width: 100%;
      }

      .scenario-horizon .scenario-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
      }

      .scenario-horizon .scenario-table tr {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 10px;
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
      }

      .scenario-horizon .scenario-table tr:last-child {
        border-bottom: 0;
      }

      .scenario-horizon .scenario-table tr.is-official {
        margin-bottom: 4px;
        padding: 12px;
        background: var(--accent-soft);
        border: 1px solid var(--info-line);
        border-radius: var(--radius-sm);
      }

      .scenario-horizon .scenario-table tr.is-official td:first-child {
        grid-column: 1 / -1;
      }

      .scenario-horizon .scenario-table tr.is-official td {
        background: transparent;
      }

      .scenario-horizon .scenario-table td {
        padding: 0;
        border: 0;
        font-size: 0.875rem;
        line-height: 1.35;
        text-align: left !important;
        min-width: 0;
      }

      .scenario-horizon .scenario-table td::before {
        display: block;
        margin-bottom: 1px;
        color: var(--text-3);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        line-height: 1.3;
      }

      .scenario-horizon .scenario-table td:first-child {
        font-weight: 600;
        align-self: center;
      }

      .scenario-horizon .scenario-table td:nth-child(2)::before { content: "Rate change"; }
      .scenario-horizon .scenario-table td:nth-child(3)::before { content: "Price change"; }
      .scenario-horizon .scenario-table td:nth-child(4)::before { content: "Total cost of buying now"; }
      .scenario-horizon .scenario-table td:nth-child(5)::before { content: "Total cost of waiting"; }
      .scenario-horizon .scenario-table td:nth-child(6)::before { content: "Waiting costs more or less"; }

      .scenario-horizon .scenario-table td:nth-child(n+4) {
        padding-top: 8px;
        border-top: 1px solid var(--line);
      }

      .scenario-horizon .scenario-table td:nth-child(n+4) > div:first-child {
        font-weight: 600;
      }

      .scenario-horizon .scenario-table td > div + div {
        font-size: 0.75rem;
      }

      .scenario-horizon .scenario-table td:nth-child(7) {
        grid-column: 1 / -1;
        padding-top: 8px;
        color: var(--text-2);
        font-size: 0.8125rem;
      }

      .scenario-horizon .scenario-table td:nth-child(7)::before {
        content: "A refinance would pay for itself within 24 months: ";
        display: inline;
        font-size: 0.8125rem;
      }
    }

    .scenario-table td:nth-child(2),
    .scenario-table td:nth-child(3) {
      white-space: nowrap;
    }

    /* Phones: the horizon loses its card chrome; rows are divided by rules instead of boxes. */
    @container main (max-width: 559.98px) {
      .scenario-horizon {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
      }

      .scenario-horizon.timeline-match {
        padding-left: 12px;
        border-left: 3px solid var(--accent);
        box-shadow: none;
      }

      .scenario-horizon > h3 {
        margin-bottom: 4px;
      }
    }
    /* Tablets: one line of figures per scenario, refinance note underneath. */
    @container main (min-width: 560px) and (max-width: 879.98px) {
      .scenario-horizon .scenario-table tr {
        grid-template-columns: minmax(0, 1fr) minmax(4.75em, 0.7fr) minmax(3.25em, 0.7fr) repeat(3, minmax(5.5em, 1fr));
        column-gap: 12px;
        align-items: start;
      }

      .scenario-horizon .scenario-table td:nth-child(n+4) {
        padding-top: 0;
        border-top: 0;
      }

      .scenario-horizon .scenario-table td:first-child {
        align-self: start;
      }

      .scenario-horizon .scenario-table td:nth-child(7) {
        padding-top: 8px;
        border-top: 1px solid var(--line);
      }
    }


    /* Comparable sales table inside a listing analysis */
    .comps-section .scenario-table {
      min-width: 0;
      margin-top: 6px;
      font-size: 0.8125rem;
    }

    @container main (max-width: 819.98px) {
      .comps-section .scenario-table,
      .comps-section .scenario-table tbody,
      .comps-section .scenario-table tr,
      .comps-section .scenario-table td {
        display: block;
        width: 100%;
      }

      .comps-section .scenario-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
      }

      .comps-section .scenario-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 12px;
        margin-top: 8px;
        padding: 10px 12px;
        background: var(--surface-2);
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
      }

      .comps-section .scenario-table td {
        padding: 4px 0;
        border: 0;
        text-align: left !important;
      }

      .comps-section .scenario-table td::before {
        display: block;
        color: var(--text-3);
        font-size: 0.6875rem;
        font-weight: 600;
      }

      .comps-section .scenario-table td:first-child {
        grid-column: 1 / -1;
        font-weight: 600;
      }

      .comps-section .scenario-table td:first-child::before { content: "Address"; }
      .comps-section .scenario-table td:nth-child(2)::before { content: "Sold"; }
      .comps-section .scenario-table td:nth-child(3)::before { content: "Sale price"; }
      .comps-section .scenario-table td:nth-child(4)::before { content: "$ per sq ft"; }
      .comps-section .scenario-table td:nth-child(5)::before { content: "Beds / baths / sq ft"; }
      .comps-section .scenario-table td:nth-child(6)::before { content: "Distance"; }
      .comps-section .scenario-table td:nth-child(7)::before { content: "Source"; }
    }

    .never-refinance {
      margin-top: 20px;
      padding: 18px 20px;
      background: var(--sunken);
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }

    .never-refinance h3 {
      margin-bottom: 6px;
      font-size: 1rem;
    }

    .never-refinance p {
      color: var(--text-2);
      font-size: 0.9375rem;
    }

    .never-refinance p + p {
      margin-top: 6px;
      color: var(--text);
      font-weight: 500;
      font-variant-numeric: tabular-nums;
    }

    /* ---------- Recommendation + AI analysis (section 07) ---------- */

    #recommendation {
      margin-bottom: 20px;
    }

    .recommendation {
      font-size: 1rem;
      line-height: 1.6;
    }

    .rec-pointer {
      max-width: 72ch;
      padding: 16px 18px;
      background: var(--sunken);
      border-radius: var(--radius);
      color: var(--text);
      font-weight: 500;
    }

    .nowrap {
      white-space: nowrap;
    }

    .glyph-ai {
      display: inline-block;
      width: 1.05rem;
      height: 1.05rem;
      margin-right: 0.25rem;
      overflow: hidden;
      font-size: 0;
      vertical-align: -0.18rem;
    }

    .glyph-ai::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background: currentColor;
      -webkit-mask: var(--i-sparkle) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-sparkle) center no-repeat; mask-size:contain;
    }

    #recommendation > div,
    .rec-detail {
      margin-top: 12px;
      color: var(--text-2);
      font-size: 0.9375rem;
      line-height: 1.6;
    }


    #recommendation small {
      display: block;
      margin-top: 4px;
      color: var(--text-3);
      font-size: 0.8125rem;
    }

    #aiAnalyzeBtn {
      width: 100%;
      min-height: 56px;
      background: var(--accent);
      border-color: transparent;
      color: var(--on-accent);
      font-size: 1.0625rem;
      --icon: var(--i-sparkle);
    }

    #aiAnalyzeBtn:hover:not(:disabled) {
      background: var(--accent-hover);
    }

    #aiAnalyzeBtn:disabled {
      background: var(--sunken);
      border-color: var(--line-strong);
      color: var(--text-2);
      opacity: 1;
    }

    #aiAnalyzeBtn:disabled::before {
      animation: none;
    }

    @container main (min-width: 560px) {
      #aiAnalyzeBtn {
        width: auto;
        padding: 0 28px;
      }
    }

    .ai-hint {
      margin-top: 10px;
      color: var(--text-3);
      font-size: 0.875rem;
    }

    #sec-ai:has(#aiRecommendation > *) .ai-hint,
    #sec-ai:has(#aiRecommendation > *) .rec-pointer {
      display: none;
    }

    .ai-section {
      margin-top: 24px;
      padding: 0;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
    }

    .ai-section > .loading {
      padding: 40px 16px;
    }

    .ai-head {
      display: grid;
      justify-items: start;
      gap: 12px;
      padding: 18px 20px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--line);
    }

    .ai-head-title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0;
      font-family: var(--font-sans);
      line-height: 1.2;
      color: var(--text-2);
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .ai-head-title::before {
      content: "";
      width: 18px;
      height: 18px;
      background: var(--accent);
      -webkit-mask: var(--i-sparkle) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-sparkle) center no-repeat; mask-size:contain;
    }


    .verdict-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 40px;
      padding: 0 16px 0 13px;
      border: 1.5px solid transparent;
      border-radius: 999px;
      font-size: 1.0625rem;
      font-weight: 700;
      line-height: 1;
      white-space: nowrap;
    }

    .verdict-badge::before {
      content: "";
      width: 20px;
      height: 20px;
      flex: none;
      background: currentColor;
      -webkit-mask: var(--icon) center no-repeat; -webkit-mask-size:contain;
      mask: var(--icon) center no-repeat; mask-size:contain;
    }

    .verdict-lean_buy_now {
      --icon: var(--i-key);
      background: var(--v-buy-bg);
      color: var(--v-buy-fg);
    }

    .verdict-lean_wait {
      --icon: var(--i-hourglass);
      background: var(--v-wait-bg);
      border-color: var(--v-wait-line);
      color: var(--v-wait-fg);
    }

    .verdict-no_clear_edge {
      --icon: var(--i-scale);
      background: var(--v-even-bg);
      border-color: var(--v-even-line);
      color: var(--v-even-fg);
    }

    .verdict-insufficient_evidence {
      --icon: var(--i-question);
      background: transparent;
      border-color: var(--v-thin-line);
      border-style: dashed;
      color: var(--v-thin-fg);
    }

    .verdict-unavailable,
    .verdict-other {
      --icon: var(--i-slash);
      background: var(--v-na-bg);
      color: var(--v-na-fg);
    }

    .ai-body {
      padding: 18px 16px 20px;
    }

    @media (max-width: 599px) {
      .ai-head {
        padding: 16px;
      }

      .ai-body {
        padding: 16px 12px 20px;
      }

      .geek-talk-body {
        padding: 14px 8px 6px;
      }

      .geek-talk-body .ai-summary {
        padding-left: 14px;
      }

      .geek-talk-body .ai-summary::before {
        display: none;
      }

      .ai-list,
      .evidence-list {
        padding-left: 1.1rem;
      }
    }

    @media (min-width: 600px) {
      .ai-head,
      .ai-body {
        padding-left: 28px;
        padding-right: 28px;
      }

      .ai-body {
        padding-top: 24px;
        padding-bottom: 28px;
      }
    }

    .simple-talk {
      max-width: 68ch;
    }

    .simple-talk > h3,
    .simple-talk > h2 {
      color: var(--accent-ink);
      font-family: var(--font-sans);
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .simple-talk-text {
      margin-top: 8px;
      line-height: 1.5;
      font-family: var(--font-serif);
      font-weight: 400;
      color: var(--text);
      text-wrap: pretty;
    }

    .geek-talk {
      margin-top: 24px;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .geek-talk > summary {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 56px;
      padding: 12px 16px;
      border-radius: var(--radius);
      color: var(--text);
      font-weight: 600;
      line-height: 1.35;
      cursor: pointer;
      list-style: none;
    }

    .geek-talk > summary::-webkit-details-marker {
      display: none;
    }

    .geek-talk > summary::before {
      content: "";
      width: 20px;
      height: 20px;
      flex: none;
      background: var(--accent);
      -webkit-mask: var(--i-bars) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-bars) center no-repeat; mask-size:contain;
    }

    .geek-talk > summary::after {
      content: "";
      width: 20px;
      height: 20px;
      margin-left: auto;
      flex: none;
      background: var(--text-3);
      -webkit-mask: var(--i-chevron) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-chevron) center no-repeat; mask-size:contain;
      transition: transform 0.2s ease;
    }

    .geek-talk[open] > summary::after {
      transform: rotate(180deg);
    }

    .geek-talk > summary:hover {
      background: var(--sunken);
    }

    .geek-talk[open] > summary {
      border-bottom: 1px solid var(--line);
      border-radius: var(--radius) var(--radius) 0 0;
    }

    .geek-talk-body {
      padding: 16px 12px 6px;
    }

    @media (min-width: 600px) {
      .geek-talk-body {
        padding: 20px 24px 12px;
      }
    }

    .geek-talk-body > .info-box:first-child {
      margin-top: 0;
    }

    .ai-block {
      margin: 22px 0;
    }

    .ai-block > h4 {
      margin-bottom: 8px;
      color: var(--text);
      font-size: 1rem;
      font-weight: 600;
    }

    .ai-block > p {
      color: var(--text);
    }

    .ai-list {
      margin: 0;
      padding-left: 1.25rem;
    }

    .ai-list > li {
      margin: 0 0 8px;
      padding-left: 2px;
    }

    .ai-list > li::marker {
      color: var(--text-3);
    }

    .forecast-tag {
      display: inline;
      margin: 0 6px 0 0;
      padding: 1px 8px;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
      border-radius: 6px;
      background: var(--sunken);
      color: var(--text-2);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.04em;
    }

    .cite-group {
      white-space: nowrap;
    }

    .cite {
      display: inline-block;
      min-width: 2.1em;
      margin-left: 6px;
      padding: 3px 8px;
      border-radius: 6px;
      background: var(--accent-soft);
      color: var(--accent-ink);
      font-size: 0.8125rem;
      font-weight: 700;
      line-height: 1.45;
      text-align: center;
      text-decoration: none;
      font-variant-numeric: tabular-nums;
      vertical-align: 0.1em;
    }

    a.cite:hover {
      background: var(--accent);
      color: var(--on-accent);
    }

    span.cite {
      background: var(--sunken);
      color: var(--text-2);
    }

    .scenario-basis {
      padding: 12px 14px;
      background: var(--sunken);
      border-radius: var(--radius-sm);
      color: var(--text-2);
      font-size: 0.875rem;
    }

    .evidence-list {
      margin: 0;
      padding-left: 1.5rem;
      font-size: 0.875rem;
      color: var(--text-2);
    }

    .evidence-list > li {
      margin: 0 0 8px;
      padding-left: 4px;
    }

    .evidence-list > li::marker {
      color: var(--accent-ink);
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }

    .evidence-list .source-link {
      font-size: inherit;
      font-weight: 600;
    }

    .ai-footer {
      margin-top: 20px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      color: var(--text-3);
      font-size: 0.8125rem;
    }

    .ai-footer p + p {
      margin-top: 6px;
      font-style: italic;
    }

    .ai-section > .info-box {
      margin: 20px;
    }

    /* ---------- News (section 02) and economic data (section 08, admin) ---------- */

    .news-group + .news-group,
    .data-group {
      margin-top: 32px;
    }

    .news-group-title,
    .data-group > h3 {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
      font-size: 1.125rem;
      font-weight: 600;
    }

    #economicData .eyebrow::before { --icon: var(--i-chart); }

    #economicData .eyebrow {
      margin-bottom: 8px;
    }

    .data-group {
      padding-top: 28px;
      border-top: 1px solid var(--line);
    }



    .news-item {
      padding: 0;
      border-bottom: 1px solid var(--line);
    }

    .news-toggle,
    .scenario-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      width: 100%;
      min-height: 56px;
      padding: 14px 0;
      background: none;
      border: 0;
      border-radius: var(--radius-sm);
      color: var(--text);
      font-size: 1.0625rem;
      font-weight: 600;
      line-height: 1.35;
      text-align: left;
      cursor: pointer;
    }

    .news-toggle:hover .news-title,
    .scenario-toggle:hover .scenario-title {
      color: var(--accent);
    }

    .news-toggle::after,
    .scenario-toggle::after {
      content: "";
      width: 20px;
      height: 20px;
      flex: none;
      background: var(--text-3);
      -webkit-mask: var(--i-chevron) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-chevron) center no-repeat; mask-size:contain;
      transition: transform 0.2s ease;
    }

    .news-collapsible .news-item.is-open .news-toggle::after,
    .scenario-horizon.is-open .scenario-toggle::after {
      transform: rotate(180deg);
    }

    #news:not(.news-collapsible) .news-toggle::after {
      display: none;
    }

    .news-body {
      padding-bottom: 18px;
    }

    .news-collapsible .news-item:not(.is-open) .news-body {
      display: none;
    }

    .news-collapsible .news-item.is-open .news-body {
      animation: unfold 0.22s ease;
    }

    @keyframes unfold {
      from {
        opacity: 0;
        transform: translateY(-4px);
      }
    }

    .news-source {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 36px;
      margin-top: 4px;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .news-body > .news-source {
      display: flex;
      width: fit-content;
    }

    .news-source::after {
      content: "";
      width: 14px;
      height: 14px;
      background: currentColor;
      -webkit-mask: var(--i-external) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-external) center no-repeat; mask-size:contain;
    }

    .news-expand-all {
      margin-left: auto;
      font-size: 0.9375rem;
    }

    .news-item:last-child {
      border-bottom: 0;
    }

    .news-title {
      display: block;
      color: var(--text);
      font-size: 1.0625rem;
      font-weight: 600;
      line-height: 1.35;
      text-decoration: none;
    }

    a.news-title {
      margin: -8px 0;
      padding: 8px 0;
      color: var(--text);
      font-size: 1.0625rem;
    }

    a.news-title:hover {
      color: var(--accent);
      text-decoration: underline;
    }

    .news-summary {
      margin-top: 0;
      max-width: 70ch;
      color: var(--text-2);
      font-size: 0.9375rem;
    }

    .news-key-points,
    .geek-talk-body p,
    .geek-talk-body li,
    .ai-summary,
    .scenario-basis,
    #buyerScenarioResults > .info-box,
    .rec-detail,
    .analysis-panel li,
    .analysis-section,
    .page-footer p {
      max-width: 72ch;
    }

    .page-footer p {
      margin: 0 auto;
    }

    .news-body > .listing-meta {
      margin-top: 6px;
    }

    .news-key-points-title {
      display: flex;
      width: fit-content;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
      color: var(--accent-ink);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .news-key-points-title::before {
      content: "";
      width: 14px;
      height: 14px;
      background: currentColor;
      -webkit-mask: var(--i-sparkle) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-sparkle) center no-repeat; mask-size:contain;
    }

    .news-key-points {
      margin: 6px 0 0;
      padding: 10px 14px 10px 30px;
      background: var(--sunken);
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
    }

    .news-key-points li {
      margin: 0 0 4px;
    }

    .news-key-points li:last-child {
      margin-bottom: 0;
    }

    .data-group .metric {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 4px;
      padding: 12px 0;
    }

    .data-group .metric-label {
      color: var(--text);
      font-size: 0.9375rem;
    }

    .data-group .metric-label .source-link {
      color: var(--text);
      font-size: 0.9375rem;
      font-weight: 500;
    }

    .data-group .metric-value {
      margin: 0;
      font-size: 1rem;
      text-align: left;
    }

    @container main (min-width: 700px) {
      .data-group .metric {
        grid-template-columns: minmax(0, 1fr) minmax(0, auto);
        align-items: baseline;
        column-gap: 24px;
      }

      .data-group .metric-value {
        text-align: right;
      }

      .data-group .metric-compare,
      .data-group .metric-when {
        display: block;
      }

      .data-group .metric-sep {
        display: none;
      }
    }

    .data-group .data-badge {
      margin-left: 6px;
    }

    #news > .info-box:only-child,
    #news > .warning-box:only-child {
      margin: 0;
    }

    #news > .warning-box > strong {
      display: block;
      margin-bottom: 2px;
    }

    /* ---------- Partner links and footer ---------- */

    .partner-cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0 12px;
      margin-top: 12px;
      padding: 6px 16px;
      background: var(--surface-2);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      font-size: 0.9375rem;
    }

    .partner-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: var(--tap);
      color: var(--accent);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 0.18em;
    }

    .partner-link::after {
      content: "";
      width: 14px;
      height: 14px;
      background: currentColor;
      -webkit-mask: var(--i-external) center no-repeat; -webkit-mask-size:contain;
      mask: var(--i-external) center no-repeat; mask-size:contain;
    }

    .partner-link:hover {
      color: var(--accent-hover);
    }

    .partner-disclosure {
      color: var(--text-3);
      font-size: 0.8125rem;
    }

    .page-footer {
      padding: 24px var(--gutter) 8px;
      color: var(--text-3);
      font-size: 0.8125rem;
      text-align: center;
    }

    @media (min-width: 600px) {
      .page-footer {
        padding: 8px 0 0;
      }
    }

    /* ---------- Motion and print ---------- */

    @media (min-width: 1100px) and (max-height: 720px) {
      .rail {
        gap: 20px;
      }

      .nav-hint {
        display: none;
      }
    }

    @media (forced-colors: active) {
      .icon,
      .eyebrow::before,
      .btn-icon::before,
      #searchButton::before,
      #useLocationButton::before,
      .refresh-btn::before,
      .source-status li::before,
      .verdict-badge::before,
      .geek-talk > summary::before,
      .geek-talk > summary::after,
      .glyph-ai::before,
      .info-box::before,
      .warning-box::before,
      .error::before,
      .missing-list::before,
      .news-key-points-title::before,
      .data-group > h3::before,
      .analysis-panel > h4::after,
      .listing-card > a.source-link::after,
      .partner-link::after {
        forced-color-adjust: none;
        background-color: CanvasText;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        transition-duration: 0.01ms !important;
      }

      /* The text progress message carries the state; a rotating ring is motion that never stops while loading. */
      .spinner,
      .refresh-btn:disabled::before {
        animation: none;
      }

      .news-body,
      .group-body,
      .scenario-table,
      .scenario-collapsible > .info-box {
        animation: none !important;
      }
    }

    @media print {
      .rail,
      .skip-link,
      .refresh-btn,
      #aiAnalyzeBtn {
        display: none !important;
      }

      body {
        background: #fff;
      }

      .section {
        border: 0;
        padding: 16px 0;
      }
    }
