/* The guide: an editorial page, read like a magazine feature.
 *
 * One column of serif prose, photographs in the column at full width, tables
 * and lists in a quiet sans. No cards, no chips, no coloured bars. The only
 * drawn thing on a page is the duty-cycle strip, because that is the idea the
 * whole plan turns on. Links are blue because a reader knows what blue means.
 */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/source-serif-4-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/public-sans-latin.woff2") format("woff2");
}

:root {
  --g-paper: #ffffff;
  --g-ink: #1c2024;
  --g-ink-2: #4b545d;
  --g-ink-3: #7a838c;
  --g-rule: #e4e7ea;
  --g-rule-strong: #c9cfd4;
  --g-link: #12538a;
  --g-wash: #f5f6f7;
  --g-good: #1f6b3a;
  --g-bad: #9b2a1c;
  /* 2026-10-03 (Erin): the site reads in one sans face. --g-serif is kept as a name so every rule follows. */
  --g-serif: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --g-sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --g-paper: #121517;
    --g-ink: #e8eaec;
    --g-ink-2: #b3bac0;
    --g-ink-3: #838c94;
    --g-rule: #2a3035;
    --g-rule-strong: #3d454c;
    --g-link: #7fb3e0;
    --g-wash: #1a1e21;
    --g-good: #6fc48f;
    --g-bad: #ef8a7a;
  }
}
:root[data-theme="dark"] {
  --g-paper: #121517;
  --g-ink: #e8eaec;
  --g-ink-2: #b3bac0;
  --g-ink-3: #838c94;
  --g-rule: #2a3035;
  --g-rule-strong: #3d454c;
  --g-link: #7fb3e0;
  --g-wash: #1a1e21;
  --g-good: #6fc48f;
  --g-bad: #ef8a7a;
}

/* ------------------------------------------------------------------ */
/* Base, for every page that carries body.guide                         */
/* ------------------------------------------------------------------ */
body.guide {
  background: var(--g-paper);
  color: var(--g-ink);
  font-family: var(--g-serif);
  font-optical-sizing: auto;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.guide main { padding-bottom: 4rem; }
body.guide h1, body.guide h2, body.guide h3 { font-family: var(--g-serif); font-weight: 700; letter-spacing: -0.022em; line-height: 1.12; color: var(--g-ink); }
body.guide h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin: 0 0 0.75rem; max-width: 20ch; }
body.guide h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 0 0 0.8rem; }
body.guide h3 { font-size: 1.3rem; margin: 0 0 0.4rem; }
body.guide p { margin: 0 0 1.1em; max-width: 66ch; }
body.guide a { color: var(--g-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.guide a:focus-visible, body.guide button:focus-visible, body.guide summary:focus-visible, body.guide input:focus-visible { outline: 3px solid var(--g-link); outline-offset: 2px; }
body.guide .num { font-family: inherit; font-variant-numeric: tabular-nums; }

/* Masthead and footer, in the sans                                      */
body.guide .masthead { position: static; border-bottom: 1px solid var(--g-rule); background: var(--g-paper); font-family: var(--g-sans); }
body.guide .masthead nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 1.2rem; }
body.guide .masthead nav::-webkit-scrollbar { display: none; }
@media (max-width: 48rem) { body.guide .masthead nav { flex-wrap: wrap; overflow: visible; gap: 0.2rem 1rem; } }
body.guide .masthead nav a { white-space: nowrap; font-size: 0.92rem; color: var(--g-ink-2); border-bottom: 2px solid transparent; }
body.guide .masthead nav a[aria-current="page"], body.guide .masthead nav a:hover { color: var(--g-ink); border-bottom-color: var(--g-ink); }
body.guide .wordmark { font-family: var(--g-serif); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--g-ink); }
body.guide .wordmark .dim { color: var(--g-ink-3); font-weight: 500; }
body.guide footer.site { font-family: var(--g-sans); border-top: 1px solid var(--g-rule); background: var(--g-paper); color: var(--g-ink-2); font-size: 0.9rem; }
body.guide footer.site a { color: var(--g-ink-2); }
body.guide .skip { background: var(--g-ink); color: var(--g-paper); }

/* ------------------------------------------------------------------ */
/* The guide column                                                       */
/* ------------------------------------------------------------------ */
.g-col { max-width: 52rem; margin: 0 auto; padding: 0 1.25rem; }
.g-wide { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.g-head { padding: 2.75rem 0 1rem; }
.g-dek { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.45; color: var(--g-ink-2); margin: 0 0 1.1rem; max-width: 34em; }
.g-byline { font-family: var(--g-sans); font-size: 0.88rem; color: var(--g-ink-3); margin: 0 0 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; }
.g-byline b { color: var(--g-ink); font-weight: 600; }
.g-rule { border: 0; border-top: 1px solid var(--g-rule); margin: 2.2rem 0; }
.g-section { padding: 0.5rem 0 1rem; }
.g-section + .g-section { border-top: 1px solid var(--g-rule); padding-top: 2.2rem; margin-top: 1.5rem; }
.g-small { font-family: var(--g-sans); font-size: 0.9rem; color: var(--g-ink-2); }
.g-small a { color: var(--g-ink-2); }
.g-note { font-family: var(--g-sans); font-size: 0.9rem; color: var(--g-ink-3); }

/* The answer, up top: a paragraph, not a card                            */
.g-answer-more { font-size: 1.1rem; line-height: 1.55; color: var(--g-ink-2); margin: 0.6rem 0 0; }
.g-answer { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.45; max-width: 30em; }
.g-answer a { color: inherit; }
.g-answer-buy { margin: 0.9rem 0 0; }
/* A short table that stays a table on phones (the site stacks every other table into cards below 40rem) */
.g-table.g-compact table { font-size: 0.9rem; }
.g-table.g-compact td.n, .g-table.g-compact th.n { white-space: normal; }
.g-table.g-compact a.g-buy-sm { font-size: 0.85rem; padding: 0.35rem 0.6rem; white-space: nowrap; }
@media (max-width: 40rem) {
  .g-table.g-compact table { display: table; width: 100%; }
  .g-table.g-compact thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .g-table.g-compact tbody { display: table-row-group; }
  .g-table.g-compact tr { display: table-row; border: 0; border-radius: 0; margin: 0; padding: 0; background: none; }
  .g-table.g-compact th, .g-table.g-compact td { display: table-cell; width: auto; padding: 0.45rem 0.35rem; border-bottom: 1px solid var(--g-rule); vertical-align: middle; }
  .g-table.g-compact td[data-label]::before { content: none; }
  .g-table.g-compact td:first-child { font-weight: 600; padding-bottom: 0.45rem; }
  .g-table.g-compact td.n { text-align: right !important; }
}
.g-answer-buy .g-buy { white-space: normal; font-family: var(--g-sans); }
.g-contents { font-family: var(--g-sans); font-size: 0.9rem; color: var(--g-ink-2); display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.g-contents a { color: var(--g-ink-2); }

/* Photographs, in the column                                             */
.g-figure { margin: 1.5rem 0 1.8rem; }
.g-figure .g-img { display: grid; place-items: center; background: #fff; border: 1px solid var(--g-rule); padding: 1.25rem; }
.g-figure img { max-width: 100%; height: auto; max-height: 400px; object-fit: contain; }
.g-figure figcaption { font-family: var(--g-sans); font-size: 0.85rem; color: var(--g-ink-3); margin-top: 0.5rem; }
.g-figure.g-nophoto .g-img { color: var(--g-ink-3); font-family: var(--g-sans); font-size: 0.9rem; min-height: 12rem; }

/* A pick                                                                 */
.g-pick { padding: 2.2rem 0 1rem; border-top: 1px solid var(--g-rule); margin-top: 1.5rem; }
.g-pick h2 { margin-bottom: 0.3rem; }
.g-kicker { display: block; font-family: var(--g-sans); font-weight: 600; font-size: 0.9rem; color: var(--g-ink-2); letter-spacing: 0; margin-bottom: 0.35rem; }
.g-glance { font-family: var(--g-sans); font-size: 0.9rem; color: var(--g-ink-2); margin: 0.4rem 0 0.2rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.g-glance span { padding-right: 0.8rem; margin-right: 0.8rem; border-right: 1px solid var(--g-rule-strong); }
.g-glance span:last-child { border-right: 0; }
.g-glance b { color: var(--g-ink); font-weight: 600; }
.g-buyline { font-family: var(--g-sans); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 1.2rem 0 1.6rem; }
.g-buy { display: inline-block; background: var(--g-ink); color: var(--g-paper); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.7rem 1.15rem; border-radius: 3px; }
.g-buy:hover { opacity: 0.9; }
body.guide a.g-buy { color: var(--g-paper); }
.g-buyline .g-note { margin: 0; }
.g-buyline a:not(.g-buy) { color: var(--g-ink-2); font-size: 0.95rem; }

/* Facts a reader learns after buying, cited                              */
.g-facts { font-family: var(--g-sans); font-size: 0.92rem; margin: 0.6rem 0 1.2rem; padding: 0; display: grid; grid-template-columns: 11rem 1fr; gap: 0.4rem 1rem; }
@media (max-width: 560px) { .g-facts { grid-template-columns: 1fr; gap: 0.1rem; } .g-facts dt { margin-top: 0.5rem; } }
.g-facts dt { color: var(--g-ink-3); }
.g-facts dd { margin: 0; color: var(--g-ink); }
.g-facts dd a { color: var(--g-ink-3); font-size: 0.85rem; text-decoration: none; border-bottom: 1px dotted var(--g-ink-3); margin-left: 0.3rem; }
.g-owners { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.g-owners li { margin: 0 0 0.45rem; }
.g-owners a { color: var(--g-ink-3); font-family: var(--g-sans); font-size: 0.8rem; text-decoration: none; border-bottom: 1px dotted var(--g-ink-3); margin-left: 0.3rem; }
.g-checks { font-family: var(--g-sans); font-size: 0.9rem; list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.3rem; }
.g-checks li { display: grid; grid-template-columns: 9rem 1fr; gap: 0.6rem; }
.g-checks li span:first-child { color: var(--g-ink-3); }
.g-checks .ok { color: var(--g-good); font-weight: 600; }
.g-checks .part { color: var(--g-ink); font-weight: 600; }
.g-checks .no { color: var(--g-bad); font-weight: 600; }
.g-checks .unk, .g-table .unk { color: var(--g-ink-3); font-style: italic; }

/* The numbers: a typographic range and the duty-cycle strip              */
.g-range { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0.5rem 0 1.25rem; }
.g-range div { min-width: 9rem; }
.g-range b { display: block; font-size: 2rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g-range small { font-family: var(--g-sans); color: var(--g-ink-3); font-size: 0.85rem; }
.g-duty { margin: 1.25rem 0 1.5rem; }
.g-duty svg { width: 100%; height: auto; display: block; }
.g-duty figcaption { font-family: var(--g-sans); font-size: 0.85rem; color: var(--g-ink-3); margin-top: 0.4rem; }

/* The label calculator, inline                                           */
.g-calc { border-top: 1px solid var(--g-rule); border-bottom: 1px solid var(--g-rule); padding: 1.1rem 0; margin: 1.5rem 0; font-family: var(--g-sans); }
.g-calc p { font-family: var(--g-serif); }
.g-calcform { display: flex; flex-wrap: wrap; align-items: end; gap: 0.6rem 1rem; margin: 0.4rem 0 0.6rem; }
.g-calcform label { display: block; font-size: 0.85rem; color: var(--g-ink-2); margin-bottom: 0.25rem; }
.g-calcform input { font: inherit; font-size: 1.05rem; padding: 0.5rem 0.65rem; border: 1px solid var(--g-rule-strong); border-radius: 3px; background: var(--g-paper); color: var(--g-ink); width: 9rem; }
.g-calcform button { font: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.55rem 1rem; border-radius: 3px; border: 1px solid var(--g-ink); background: transparent; color: var(--g-ink); cursor: pointer; }
.g-calcout { font-family: var(--g-serif); font-size: 1.05rem; margin: 0.5rem 0 0; }
.g-calcout:empty { display: none; }

/* Tables and folds                                                       */
.g-table { overflow-x: auto; margin: 0.8rem 0 1.2rem; }
.g-table table { width: 100%; border-collapse: collapse; font-family: var(--g-sans); font-size: 0.9rem; min-width: 0; }
.g-table th { text-align: left; font-weight: 600; color: var(--g-ink-2); padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--g-rule-strong); font-family: inherit; text-transform: none; letter-spacing: 0; }
.g-table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--g-rule); vertical-align: top; font-family: inherit; }
.g-table td.n, .g-table th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-glancetable table { font-size: 0.85rem; }
.g-glancetable th.n, .g-glancetable th { white-space: normal; }
.g-glancetable td:first-child { white-space: nowrap; }
.g-table .num { font-family: inherit; }
.g-table .tag, .g-table .d-tag { font-family: inherit; font-size: 0.85rem; padding: 0; border: 0; background: none; color: var(--g-ink-2); }
.g-table .ok { color: var(--g-good); }
.g-table .no { color: var(--g-bad); }
details.g-fold { border-top: 1px solid var(--g-rule); padding: 0.9rem 0; }
details.g-fold:last-of-type { border-bottom: 1px solid var(--g-rule); }
details.g-fold summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.g-fold summary::-webkit-details-marker { display: none; }
details.g-fold summary::after { content: "+"; font-weight: 400; color: var(--g-ink-3); margin-left: 1rem; }
details.g-fold[open] summary::after { content: "\2013"; }
body.guide details:not(.g-fold) summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; }
body.guide details:not(.g-fold) summary::-webkit-details-marker { display: none; }
body.guide details:not(.g-fold) summary::after { content: "+"; font-weight: 400; color: var(--g-ink-3); }
body.guide details:not(.g-fold)[open] summary::after { content: "\2013"; }
body.guide dd a[title], body.guide td a[rel="noopener"], body.guide .g-owners li a { display: inline-block; padding: 0.3rem 0.15rem; }
.g-diagram { margin: 1.2rem 0 1.6rem; } .g-diagram svg { width: 100%; height: auto; display: block; border: 1px solid var(--g-rule); border-radius: 4px; }
.g-standing ul { list-style: none; padding: 0; } .g-standing li { margin: 0.35rem 0; }
.g-hubitem h3 { font-size: 1.25rem; margin: 0 0 0.3rem; }
details.g-fold summary::after { content: "+"; color: var(--g-ink-3); font-weight: 400; font-size: 1.3rem; font-family: var(--g-sans); }
details.g-fold[open] summary::after { content: "–"; }
details.g-fold > *:not(summary) { margin-top: 0.8rem; }
.g-excl { padding-left: 1.2rem; margin: 0; }
.g-excl li { margin: 0 0 0.6rem; }

/* Lists in prose                                                         */
body.guide .g-col ul:not([class]), body.guide .g-col ol:not([class]) { padding-left: 1.3rem; max-width: 62ch; }
body.guide .g-col li { margin: 0 0 0.4rem; }

/* Safety: a plain ruled box, no colour wash                              */
.g-safety { border: 1px solid var(--g-ink); padding: 1rem 1.2rem; margin: 1rem 0 1.5rem; }
.g-safety h3 { margin-top: 0; }
.g-safety p:last-child { margin-bottom: 0; }

/* FAQ                                                                    */
.g-faq details { border-top: 1px solid var(--g-rule); padding: 0.75rem 0; }
.g-faq details:last-child { border-bottom: 1px solid var(--g-rule); }
.g-faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq p { margin: 0.5rem 0 0; color: var(--g-ink-2); }

/* Other plans                                                            */
.g-more { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.g-more li { border-top: 1px solid var(--g-rule); padding-top: 0.7rem; }
.g-more .g-kicker { margin-bottom: 0.1rem; }
.g-more a { font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--g-ink); }
.g-more a:hover { text-decoration: underline; }
.g-more p { margin: 0.2rem 0 0; color: var(--g-ink-2); font-size: 1rem; }

/* Sticky buy bar on phones                                               */
.g-sticky { display: none; }
@media (max-width: 719px) {
  .g-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; font-family: var(--g-sans);
    background: var(--g-paper); border-top: 1px solid var(--g-rule-strong);
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem; align-items: center; justify-content: space-between;
  }
  .g-sticky .g-buy { padding: 0.6rem 0.9rem; white-space: nowrap; flex: 0 0 auto; }
  .g-sticky > :first-child { min-width: 0; }
  body:has(.g-sticky) { padding-bottom: 5rem; }
  .g-sticky .g-name { font-weight: 600; font-size: 0.92rem; line-height: 1.2; margin: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .g-sticky .g-name small { display: block; color: var(--g-ink-3); font-weight: 400; }
  body.guide main { padding-bottom: 7.5rem; }
}

/* ------------------------------------------------------------------ */
/* Skin for the older templates (home, planner, dossiers, legal), so the  */
/* whole site reads as one publication.                                  */
/* ------------------------------------------------------------------ */
body.guide {
  --ink: var(--g-ink); --ink-soft: var(--g-ink-2); --ink-faint: var(--g-ink-3);
  --paper: var(--g-paper); --surface: var(--g-paper); --line: var(--g-rule); --line-strong: var(--g-rule-strong);
  --favourable: var(--g-good); --favourable-wash: var(--g-wash);
  --governing: var(--g-ink); --governing-wash: var(--g-wash);
  --halt: var(--g-bad); --halt-wash: var(--g-wash);
  --radius: 3px;
  --sans: var(--g-sans);
  --mono: var(--g-sans);
}
body.guide .eyebrow { font-family: var(--g-sans); font-size: 0.9rem; letter-spacing: 0; text-transform: none; color: var(--g-ink-2); font-weight: 600; }
body.guide .lede { font-family: var(--g-serif); color: var(--g-ink-2); font-size: 1.25rem; }
body.guide th { font-family: var(--g-sans); font-size: 0.88rem; letter-spacing: 0; text-transform: none; color: var(--g-ink-2); font-weight: 600; }
body.guide td, body.guide table { font-family: var(--g-sans); }
body.guide .band-unit, body.guide .band-end, body.guide .evidence, body.guide code, body.guide .tag, body.guide small, body.guide .band-label, body.guide .notice-title, body.guide legend, body.guide label, body.guide button, body.guide input, body.guide select { font-family: var(--g-sans); letter-spacing: 0; text-transform: none; }
body.guide .band-end b { font-family: var(--g-serif); font-size: 1.5rem; }
body.guide .band-end .cap, body.guide .band-diagram .cap { text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
body.guide .band-track { background: linear-gradient(90deg, var(--g-rule-strong), var(--g-ink)); }
body.guide .btn { font-family: var(--g-sans); font-weight: 600; border-radius: 3px; background: var(--g-ink); color: var(--g-paper); border: 1px solid transparent; padding: 0.7rem 1.1rem; text-transform: none; letter-spacing: 0; font-size: 1rem; }
body.guide .btn:hover { opacity: 0.9; }
body.guide .btn-ghost { background: transparent; color: var(--g-ink); border-color: var(--g-rule-strong); }
body.guide .card { border-radius: 3px; border: 1px solid var(--g-rule); background: var(--g-paper); }
body.guide .card-link:hover { border-color: var(--g-ink-3); }
body.guide .notice { border-radius: 0; background: var(--g-wash); border-left: 3px solid var(--g-ink); }
body.guide .notice-title { font-weight: 600; font-size: 1rem; color: var(--g-ink); }
body.guide .notice-halt { border-left-color: var(--g-bad); }
body.guide .notice-halt .notice-title { color: var(--g-bad); }
body.guide .tag { text-transform: none; letter-spacing: 0; font-size: 0.85rem; border-radius: 3px; }
body.guide .bluf { border: 1px solid var(--g-rule); background: var(--g-paper); }
body.guide .bluf h2 { font-family: var(--g-serif); text-transform: none; letter-spacing: 0; font-size: 1.3rem; color: var(--g-ink); }

/* Section fronts (/best/, /compare/)                                     */
.g-hub { list-style: none; padding: 0; margin: 1rem 0 0; }
.g-hubitem { display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--g-rule); align-items: start; }
@media (max-width: 560px) { .g-hubitem { grid-template-columns: 6rem 1fr; gap: 0.9rem; } }
.g-hubitem.g-hubitem-text { grid-template-columns: 1fr; }
.g-bar.over .g-bar-track i { border-right: 3px dotted var(--g-ink-3); }
.g-bar.over .g-bar-val { white-space: normal; }
.g-cats { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 1rem 0 0.4rem; font-family: var(--g-sans); }
.g-cats a { text-decoration: none; color: var(--g-ink); border-bottom: 2px solid var(--g-ink); padding-bottom: 1px; font-weight: 600; }
.g-cats-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.6rem; margin-top: 1.2rem; }
.g-cats-tiles a { border: 1px solid var(--g-rule-strong); border-radius: 4px; padding: 0.7rem 0.85rem; display: block; }
.g-cats-tiles a b { display: block; font-size: 1.05rem; }
.g-cats-tiles a small { color: var(--g-ink-3); font-weight: 400; }
.g-method { margin-top: 0.9rem; }
.g-hubphoto { display: grid; place-items: center; background: #fff; border: 1px solid var(--g-rule); aspect-ratio: 1 / 1; padding: 0.6rem; }
.g-hubphoto img { max-width: 100%; height: auto; object-fit: contain; }
.g-hubitem h2 { font-size: 1.45rem; margin: 0 0 0.35rem; }
.g-hubitem h2 a { color: var(--g-ink); text-decoration: none; }
.g-hubitem h2 a:hover { text-decoration: underline; }
.g-hubdek { margin: 0 0 0.4rem; color: var(--g-ink-2); font-size: 1.02rem; }
.g-hubanswer { margin: 0; font-size: 1.02rem; }

/* A table wider than the column: break out to the page width, centred        */
.g-breakout { width: min(64rem, 100vw - 2.5rem); margin-left: calc(50% - min(32rem, 50vw - 1.25rem)); }

.g-sources { font-family: var(--g-sans); font-size: 0.9rem; padding-left: 1.3rem; }
.g-sources li { margin: 0 0 0.35rem; }

/* Stacked table labels on phones: sentence case, quiet                    */
body.guide table td[data-label]::before { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--g-ink-3); font-family: var(--g-sans); }

/* Affiliate disclosure, above the first product link                       */
.g-disclosure { font-family: var(--g-sans); font-size: 0.85rem; color: var(--g-ink-3); margin: 0.8rem 0 0; }
.g-disclosure a { color: var(--g-ink-3); }
.g-buyline a[rel~=noopener]:not(.g-buy) { color: var(--g-ink-2); font-size: 0.95rem; }

/* Adjust this plan                                                        */
.g-adjust { border: 1px solid var(--g-rule-strong); padding: 1rem 1.2rem; margin: 1.5rem 0; font-family: var(--g-sans); }
.g-adjust p { font-family: var(--g-serif); }
.g-adjust-loads { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0.2rem 0 0.8rem; font-size: 0.95rem; }
.g-adjust-loads label { display: inline-flex; align-items: center; gap: 0.4rem; }
.g-adjust input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin: 0; }
.g-bars { position: relative; font-family: var(--g-sans); font-size: 0.85rem; }
.g-bar { display: grid; grid-template-columns: minmax(5.5rem, 11rem) minmax(0, 1fr) 7rem; gap: 0.6rem; align-items: center; padding: 0.18rem 0; }
.g-bar-val { font-size: 0.9rem; line-height: 1.2; }
@media (max-width: 480px) { .g-bar { grid-template-columns: minmax(4.5rem, 6.5rem) minmax(0, 1fr) 5.5rem; } .g-bar-name { white-space: normal; overflow: visible; text-overflow: clip; font-size: 0.85rem; line-height: 1.15; } }
.g-bar-name { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--g-ink-3); }
.g-bar.pick .g-bar-name { color: var(--g-ink); font-weight: 600; }
.g-bar-track { position: relative; height: 1.15rem; min-width: 0; }
.g-bar-track i { display: block; height: 100%; background: currentColor; opacity: 0.42; }
.g-bar.pick .g-bar-track i { opacity: 0.9; }
.g-bar.short .g-bar-track i { opacity: 0.16; }
.g-bar.pick.short .g-bar-track i { opacity: 0.32; }
.g-bar-val { font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-bar.pick .g-bar-val { font-weight: 600; }
.g-bar.none .g-bar-val { color: var(--g-ink-3); }
.g-bars-head { padding-bottom: 0.3rem; }
.g-bars-head .g-bar-track { height: auto; min-height: 1.3rem; }
.g-bars-head b { display: block; width: max-content; font-weight: 600; line-height: 1.25; }
.g-bars-line { display: none; }
.g-bar-track::after { content: ""; position: absolute; top: -0.2rem; bottom: -0.2rem; left: var(--house, 0); border-left: 2px dashed currentColor; opacity: 0.85; }
.g-bars-head .g-bar-track::after, .g-bar.none .g-bar-track::after { top: 0; bottom: 0; }
.g-tested { border-left: 3px solid var(--g-rule-strong); padding-left: 0.7rem; }
.g-adjust input[type="number"] { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--g-rule-strong); border-radius: 3px; background: var(--g-paper); color: var(--g-ink); width: 7.5rem; }
.g-adjust-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.g-adjust select { font: inherit; padding: 0.45rem 0.6rem; border: 1px solid var(--g-rule-strong); border-radius: 3px; background: var(--g-paper); color: var(--g-ink); }
.g-adjust button { font: inherit; font-weight: 600; padding: 0.5rem 1rem; border-radius: 3px; border: 1px solid var(--g-ink); background: var(--g-ink); color: var(--g-paper); cursor: pointer; }
.g-adjust-out { margin-top: 0.8rem; font-family: var(--g-serif); }
.g-adjust-out ul { padding-left: 1.2rem; }
.g-adjust-out li { margin: 0 0 0.35rem; }
.g-claimed { color: var(--g-ink-3); }

/* product thumbnail in the side-by-side table (compare pages) */
.g-table img.g-thumb{width:72px;height:72px;object-fit:contain;vertical-align:middle;margin-right:.5rem;background:#fff;border-radius:6px}
@media (max-width:640px){.g-table img.g-thumb{width:48px;height:48px}}

.g-glancetable a.g-buy-sm{font-size:.85rem;padding:.4rem .7rem;white-space:nowrap}
/* model-page photo gallery: one row, swipes sideways on a phone, first photo in the first screen */
.g-gallery{margin:.6rem 0 .6rem}
.g-gallery ul{display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory;list-style:none;margin:0;padding:0 0 .35rem}
.g-gallery li{flex:0 0 auto;scroll-snap-align:start;background:#fff;border:1px solid var(--g-rule);display:grid;place-items:center;width:96px;height:96px;padding:.25rem;box-sizing:border-box}
.g-gallery img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.g-gallery li:first-child{width:120px;height:120px}
.g-gallery figcaption{font-family:var(--g-sans);font-size:.75rem;color:var(--g-ink-3);margin-top:.2rem}
@media (min-width:760px){.g-gallery li{width:170px;height:170px}.g-gallery li:first-child{width:220px;height:220px}}
/* model page: yearly refill cost line in the first screen */
.g-refill{font-family:var(--g-sans);font-size:.9rem;margin:.4rem 0;padding:.4rem .7rem;background:var(--g-wash);border-left:3px solid var(--g-rule-strong)}

.g-answer-thumb{float:right;width:88px;height:88px;object-fit:contain;background:#fff;border:1px solid var(--g-rule);margin:.2rem 0 .4rem .7rem;padding:.2rem}
@media (min-width:760px){.g-answer-thumb{display:none}}
/* pick table: the thumbnail sits above the name so it adds no column width */
.g-glancetable img.g-thumb{display:block;width:48px;height:48px;margin:0 0 .25rem}

/* wave C: quick picks under the headline on lineup and list pages (first phone screen) */
.g-quick{list-style:none;margin:.5rem 0 .9rem;padding:.6rem .8rem;border-left:3px solid currentColor;font-size:.95rem;line-height:1.45}
.g-quick li{margin:.15rem 0}

/* /best/automatic-litter-box/ (hand-built 2026-10-01): one row per pick on the first phone screen */
.g-alb-picks{list-style:none;margin:.6rem 0 .8rem;padding:0;border-top:1px solid var(--g-rule)}
.g-alb-pick{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:.1rem .65rem;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--g-rule);margin:0}
.g-alb-thumb{width:96px;height:96px;object-fit:contain;background:#fff;border:1px solid var(--g-rule);padding:.15rem}
body.guide .g-alb-body p{margin:0;line-height:1.25}
body.guide p.g-alb-date{font-family:var(--g-sans);font-size:.82rem;color:var(--g-ink-3);margin:-.4rem 0 .9rem}
.g-alb-house{font-family:var(--g-sans);font-size:.78rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--g-ink-2)}
.g-alb-name{font-weight:700;font-size:1.05rem}
.g-alb-why{font-family:var(--g-sans);font-size:.82rem;color:var(--g-ink-2)}
.g-alb-pick a.g-buy-sm{font-size:.9rem;padding:.45rem .7rem;white-space:nowrap}
.g-alb-rules{padding-left:1.3rem}.g-alb-rules li{margin:.45rem 0}
.g-alb-card{border-top:1px solid var(--g-rule);padding-top:.4rem;margin-top:1.2rem}
.g-alb-card h3{margin-bottom:.1rem}
.g-alb-for{font-family:var(--g-sans);font-size:.85rem;color:var(--g-ink-2);margin:.1rem 0 .6rem}
details.g-alb-q{border-top:1px solid var(--g-rule);padding:.75rem 0}
details.g-alb-q:last-of-type{border-bottom:1px solid var(--g-rule)}
.g-alb-badge{display:flex;align-items:center;justify-content:center;text-align:center;background:var(--g-wash);font-family:var(--g-sans);font-size:.78rem;font-weight:700;line-height:1.1;color:var(--g-ink-2)}
.g-alb-off{font-family:var(--g-sans);font-size:.95rem;font-weight:700;text-align:right;white-space:nowrap;color:var(--g-ink)}.g-alb-off small{font-weight:400;color:var(--g-ink-2)}
details.g-alb-q p{margin:.6rem 0 0}

/* /best/roomba-alternatives/ (2026-10-03): photo card grid + all-sans preview. Scoped to body.ra-page only. */
body.guide.ra-page .g-answer { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 40em; }
.ra-wide .g-section { max-width: 44rem; }
.ra-wide h2 { margin: 2.2rem 0 .6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ra-grid { list-style: none; margin: .8rem 0 1rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.ra-grid-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.ra-grid-4 { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.rr-facts { display: block; margin-bottom: .45rem; color: var(--g-ink); }
.rr-facts > span { display: flex; gap: .6rem; }
.rr-facts b { flex: none; width: 3.7rem; font-weight: 600; color: var(--g-ink-2); }
.ra-card { display: flex; flex-direction: column; border: 1px solid var(--g-rule); border-radius: 10px; padding: 1rem; background: #fff; scroll-margin-top: 1rem; }
.ra-card p { margin: 0; max-width: none; }
.ra-photo { display: block; margin: .3rem 0 .7rem; }
.ra-photo img { width: 100%; height: 13rem; object-fit: contain; display: block; }
.ra-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--g-ink-2); }
.ra-name { font-size: 1.15rem; font-weight: 800; line-height: 1.2; margin: .15rem 0 .35rem !important; }
.ra-name a { color: var(--g-ink); }
.ra-why { font-size: .92rem; line-height: 1.45; color: var(--g-ink-2); flex: 1; }
.ra-buy { margin-top: .8rem !important; }
.ra-buy .g-buy { display: block; text-align: center; }
.ra-instead { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--g-ink-2); padding-bottom: .6rem; border-bottom: 1px solid var(--g-rule); }
.ra-instead img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.ra-save { display: inline-block; align-self: flex-start; margin-bottom: .1rem !important; font-size: .95rem; font-weight: 800; color: #fff; background: var(--g-good, #0f6e78); border-radius: 6px; padding: .2rem .55rem; }
.ra-save.ra-keep { background: var(--g-wash, #eef2f5); color: var(--g-ink); }
@media (max-width: 40rem) {
  .ra-card { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: .85rem; align-items: start; padding: .85rem; }
  .ra-instead { grid-column: 1 / -1; grid-row: 1; margin-bottom: .6rem !important; }
  .ra-photo { grid-column: 1; grid-row: 2 / span 3; margin: 0; }
  .ra-photo img { height: 6.5rem; }
  .ra-save, .ra-label { grid-column: 2; grid-row: 2; justify-self: start; }
  .ra-name { grid-column: 2; grid-row: 3; font-size: 1.05rem; }
  .ra-why { grid-column: 2; grid-row: 4; font-size: .88rem; }
  .ra-buy { grid-column: 1 / -1; grid-row: 5; }
}
/* decision pages (2026-10-03): the lead pick's photo card under the answer */
.ra-lead { display: flex; align-items: center; gap: 1.1rem; border: 1px solid var(--g-rule); border-radius: 10px; padding: .9rem 1rem; margin: .6rem 0 1.2rem; background: #fff; max-width: 40rem; }
.ra-lead-photo { flex: none; }
.ra-lead-photo img { width: 9rem; height: 9rem; object-fit: contain; display: block; }
.ra-lead-body { min-width: 0; }
.ra-lead-body p { margin: 0; }
.ra-lead .g-answer-buy { margin: .6rem 0 0; }
@media (max-width: 40rem) { .ra-lead { gap: .8rem; padding: .75rem; } .ra-lead-photo img { width: 6.5rem; height: 6.5rem; } }

/* compare pages: three picks by role, side by side on the first screen (W-724) */
.g-rolepicks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0 1.1rem; }
.g-rolepicks .ra-card { padding: .8rem; }
.g-rolepicks .ra-photo { margin: 0 0 .5rem; }
.g-rolepicks .ra-photo img { height: 8.5rem; }
.g-rolepicks .ra-name { font-size: 1.05rem; }
.g-rolepicks .ra-why { font-size: .88rem; }
.g-rolepicks .ra-buy .g-buy { white-space: normal; font-size: .92rem; padding: .6rem .5rem; }
.g-rolepicks .ra-buy .g-note { display: block; text-align: center; margin: .35rem 0 0; font-size: .78rem; }
@media (max-width: 40rem) { .g-rolepicks { grid-template-columns: minmax(0, 1fr); } .g-rolepicks .ra-photo img { height: 6.5rem; } }
.g-h2-small { font-size: 1.15rem; margin: 1.2rem 0 0; line-height: 1.25; }
/* pick-card labels read as plain title-case names, not eyebrows */
.g-rolepicks .ra-label { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; color: var(--g-ink); }
@media (max-width: 40rem) {
  .g-rolepicks .ra-card { padding: .7rem; }
  .g-rolepicks .ra-why { font-size: .84rem; line-height: 1.35; }
  .g-rolepicks .ra-photo img { height: 5.5rem; }
  .g-rolepicks { margin: .6rem 0 .8rem; gap: .6rem; }
}
@media (min-width: 40.01rem) { .g-rolepicks .ra-buy { min-height: 7.4rem; } }
