/* Pet Graded, v2 "collar tag" system.
   Layout concept: a marine studio-backdrop band (the same blue as the photos) opens the page; results hang
   from a ring as tennis-ball ID tags; every breakdown is set like the Guaranteed Analysis panel on a food bag. */
:root {
  --ground: #F2F5F7;
  --surface: #FFFFFF;
  --ink: #0F1B2D;
  --muted: #4A5868;
  --line: #D5DDE4;
  --soft: #E8EEF2;
  --marine: #023E66;        /* studio backdrop: hero band, footer, primary buttons */
  --marine-ink: #EAF3FA;    /* text on marine */
  --marine-muted: #A9C3D6;
  --link: #0B5A8F;
  --ball: #D8F04B;          /* the one accent: ID tags, grade marks, primary CTA on marine */
  --on-ball: #0F1B2D;
  --steel-1: #F4F6F8; --steel-2: #A9B2BC; --steel-3: #6E7883;
  --good: #1B6E4A; --warn: #8A5300; --crit: #B0231B;
  --good-bg: #E2F1E9; --warn-bg: #FAEFD9; --crit-bg: #FBE5E2;
  --shadow: 0 1px 1px rgba(2, 62, 102, .06), 0 10px 28px -14px rgba(2, 62, 102, .35);
  --f-sans: "Sofia Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-stamp: "Sofia Sans Extra Condensed", "Sofia Sans", "Arial Narrow", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-s: 8px; --r-m: 14px;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0A1520; --surface: #11202E; --ink: #E7EEF4; --muted: #9DB0C1; --line: #22364A; --soft: #172A3B;
    --marine: #023354; --marine-ink: #EAF3FA; --marine-muted: #A9C3D6; --link: #8CCBF5;
    --good: #5CCB93; --warn: #E9AD57; --crit: #F28A80; --good-bg: #13301F; --warn-bg: #33260E; --crit-bg: #3A1A17;
    --shadow: 0 1px 1px rgba(0,0,0,.3), 0 12px 30px -16px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0A1520; --surface: #11202E; --ink: #E7EEF4; --muted: #9DB0C1; --line: #22364A; --soft: #172A3B;
  --marine: #023354; --marine-ink: #EAF3FA; --marine-muted: #A9C3D6; --link: #8CCBF5;
  --good: #5CCB93; --warn: #E9AD57; --crit: #F28A80; --good-bg: #13301F; --warn-bg: #33260E; --crit-bg: #3A1A17;
  --shadow: 0 1px 1px rgba(0,0,0,.3), 0 12px 30px -16px rgba(0,0,0,.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
a, button, input, select, summary, label { touch-action: manipulation; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ball); color: var(--on-ball); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.band :focus-visible, footer :focus-visible { outline-color: var(--ball); }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ball); color: var(--on-ball); padding: 8px 14px; border-radius: var(--r-s); z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0; }
.num, dd, td { font-variant-numeric: tabular-nums; }

/* buttons: one pill shape everywhere */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 1rem/1 var(--f-sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-ball { background: var(--ball); color: var(--on-ball); }
.btn-marine { background: var(--marine); color: var(--marine-ink); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .btn-ball:hover { background: #E6FA6C; } .btn-marine:hover { background: #035388; } .btn-line:hover { background: color-mix(in srgb, currentColor 10%, transparent); } }

/* header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--surface); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.035em; line-height: 1; }
.logo svg { width: 30px; height: 40px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 13px; border-radius: 999px; font-weight: 600; font-size: 1rem; }
.nav a[aria-current="page"] { background: var(--soft); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--soft); } }
.theme-btn { border: 1px solid var(--line); background: transparent; color: var(--ink); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.theme-btn svg { width: 18px; height: 18px; }
@media (max-width: 680px) { .nav a.hide-sm { display: none; } }
@media (max-width: 420px) { .nav a { padding: 9px 9px; font-size: .95rem; } .logo { font-size: 1.25rem; } .top .wrap { gap: 8px; } }

/* marine band (hero) */
.band { background: var(--marine); color: var(--marine-ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: end; gap: 24px; min-height: 0; }
.hero-copy { padding-block: 64px 72px; display: grid; gap: 22px; align-content: center; align-self: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.035em; }
.hero .sub { font-size: 1.2rem; color: var(--marine-muted); max-width: 30em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; align-self: end; }
.hero-photo img { width: 100%; aspect-ratio: 952 / 868; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%); }
.hero-photo .hang { position: absolute; left: -4%; bottom: 8%; text-decoration: none; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 40px 8px; }
  .hero-photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
  .hero-photo .hang { left: 1%; bottom: 3%; }
  .hero-photo .tag { width: 128px; padding: 16px 10px 10px; }
  .hero-photo .tag-num { font-size: 2.3rem; }
  .hero-photo .tag-unit { font-size: .78rem; }
}

/* the collar tag (result display) */
.hang { display: grid; justify-items: center; transform-origin: 50% 0; text-decoration: none; }
.hang .ring { width: 30px; height: 30px; border-radius: 50%; border: 4px solid var(--steel-2); border-top-color: var(--steel-1); border-left-color: var(--steel-3); margin-bottom: -16px; position: relative; z-index: 1; }
.tag { position: relative; width: 196px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #EFFF96 0, var(--ball) 46%, #B9D32F 100%); color: var(--on-ball);
  display: grid; place-content: center; text-align: center; padding: 22px 18px 16px; box-shadow: inset 0 -5px 0 rgba(15, 27, 45, .12), inset 0 2px 0 rgba(255,255,255,.55), 0 14px 26px -12px rgba(2, 25, 45, .6); }
.tag::before { content: ""; position: absolute; top: 12px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--hole, var(--ground)); box-shadow: inset 0 2px 2px rgba(0,0,0,.35); }
.band .tag::before { --hole: var(--marine); }
.tag-num { font: 800 3.5rem/0.95 var(--f-stamp); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(15,27,45,.25); white-space: nowrap; }
.tag-unit { margin-top: 6px; font: 700 0.98rem/1.15 var(--f-stamp); letter-spacing: 0.02em; text-transform: uppercase; }
.tag.sm { width: 150px; padding: 18px 12px 12px; }
.tag.sm .tag-num { font-size: 2.7rem; }
.tag.photo { width: 220px; padding: 0; overflow: hidden; border: 7px solid var(--ball); background: var(--ball); display: block; }
.tag.photo picture { display: block; width: 100%; height: 100%; }
.tag.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tag.photo::before { z-index: 1; top: 8px; }
.tag[data-level="1"] { background: radial-gradient(circle at 34% 28%, #FFE3A6 0, #F2B640 50%, #D0961E 100%); }
.tag[data-level="2"], .tag[data-level="3"] { background: radial-gradient(circle at 34% 28%, #FFB3A8 0, #EC5C4C 50%, #C8372A 100%); color: #FFFFFF; }
.tag[data-level="2"] .tag-num, .tag[data-level="3"] .tag-num { text-shadow: 0 -1px 0 rgba(0,0,0,.25); }
@media (prefers-reduced-motion: no-preference) {
  .hang.swing { animation: swing 1.6s var(--ease-out) both; }
  .hang.jingle { animation: jingle 520ms var(--ease-out); }
}
@keyframes swing { 0% { transform: rotate(-16deg); } 22% { transform: rotate(10deg); } 44% { transform: rotate(-5deg); } 66% { transform: rotate(2.5deg); } 84% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
@keyframes jingle { 0% { transform: rotate(0); } 25% { transform: rotate(5deg); } 55% { transform: rotate(-3deg); } 80% { transform: rotate(1deg); } 100% { transform: rotate(0); } }

/* Guaranteed Analysis panel (breakdowns) */
.analysis { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; padding: 12px 16px 14px; width: 100%; }
.analysis-h { font-size: 1.35rem; font-weight: 900; letter-spacing: -0.015em; text-transform: none; padding-bottom: 6px; border-bottom: 7px solid var(--ink); }
.analysis dl { margin: 0; }
.analysis dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 6px 0; border-bottom: 1px solid var(--ink); }
.analysis dl div:first-child { border-bottom-width: 3px; }
.analysis dt { font-weight: 600; }
.analysis dd { margin: 0; font-weight: 800; text-align: right; }
.analysis .foot { padding-top: 10px; font-size: .92rem; color: var(--muted); display: grid; gap: 6px; }

/* tool pages */
.crumbs { font-size: .95rem; color: var(--muted); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.tool-head { padding-block: 12px 28px; display: grid; gap: 14px; }
.tool-head .lede { font-size: 1.15rem; color: var(--muted); max-width: 42em; }
.tool { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 880px) { .tool { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label { font-weight: 700; font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 460px) { .row2 { grid-template-columns: 1fr; } }
input[type="number"], select { width: 100%; font: 600 1.1rem/1.2 var(--f-sans); color: var(--ink); background: var(--ground); border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 11px 12px; min-height: 48px; font-variant-numeric: tabular-nums; transition: border-color 160ms ease; }
input[type="number"]:focus, select:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
input[type="range"] { width: 100%; accent-color: var(--link); min-height: 32px; }
.unit { display: flex; gap: 8px; align-items: stretch; }
.unit input { flex: 1; min-width: 0; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; padding: 3px; gap: 2px; background: var(--ground); }
.seg button { border: 0; background: transparent; color: var(--muted); font: 700 .95rem var(--f-sans); padding: 0 14px; min-height: 38px; min-width: 44px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--marine); color: var(--marine-ink); }
.result { display: grid; justify-items: center; gap: 4px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 86px); }
.result .tags { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.result .analysis { margin-top: 18px; }
@media (max-width: 880px) { .result { position: static; } }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 13px; font-weight: 700; font-size: .95rem; }
.s-good { background: var(--good-bg); color: var(--good); }
.s-warn { background: var(--warn-bg); color: var(--warn); }
.s-crit { background: var(--crit-bg); color: var(--crit); }
.callout { border: 2px solid var(--crit); background: var(--crit-bg); padding: 14px 18px; border-radius: var(--r-m); display: grid; gap: 4px; }
.callout strong { font-weight: 800; color: var(--crit); }
.phone { font-weight: 800; white-space: nowrap; user-select: all; }

/* content */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: 56px 24px; }
@media (max-width: 980px) { .content { grid-template-columns: 1fr; gap: 40px; } }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose h2 { margin-top: 22px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.prose code { font: 600 .92em var(--f-sans); background: var(--soft); padding: 2px 7px; border-radius: 6px; }
.tbl { overflow-x: auto; border: 2px solid var(--ink); border-radius: 4px; background: var(--surface); }
.tbl table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.tbl th, .tbl td { padding: 8px 12px; text-align: left; white-space: nowrap; }
.tbl th { font-weight: 800; border-bottom: 5px solid var(--ink); }
.tbl tbody tr + tr td { border-top: 1px solid var(--line); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 16px; color: var(--muted); }
.sources { font-size: .95rem; color: var(--muted); }
.sources ol { padding-left: 1.2em; display: grid; gap: 4px; margin: 6px 0 0; }
aside.side { display: grid; gap: 18px; align-content: start; }
.side figure { margin: 0; border-radius: var(--r-m); overflow: hidden; }
.side .more { display: grid; gap: 4px; }
.side .more h2 { font-size: 1.15rem; margin-bottom: 6px; }
.side .more a { color: var(--ink); font-weight: 700; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.side .more a span { color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .side .more a:hover { color: var(--link); } }

/* home: question groups (bento of three) */
.section { padding-block: 72px; }
.section > .wrap > h2 { margin-bottom: 28px; max-width: 22ch; }
.groups { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: grid; align-content: start; }
.group.feed { grid-row: span 2; display: flex; flex-direction: column; }
.group.feed picture { flex: 1 1 auto; position: relative; min-height: 300px; }
.group.feed picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.group img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.group.feed img { aspect-ratio: auto; object-fit: cover; }
.group .in { padding: 20px 22px 14px; display: grid; gap: 2px; }
.group h3 { margin-bottom: 8px; }
.qlink { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.12rem; line-height: 1.25; }
.qlink small { font-weight: 600; font-size: .85rem; color: var(--muted); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .qlink:hover { color: var(--link); } }
@media (max-width: 820px) { .groups { grid-template-columns: 1fr; } .group.feed { grid-row: auto; } .group.feed picture { min-height: 0; aspect-ratio: 16 / 10; } }

/* home: grades preview */
.grades .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.grades .copy { display: grid; gap: 16px; max-width: 34em; }
.grades .copy p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 820px) { .grades .wrap { grid-template-columns: 1fr; gap: 32px; } }
.maker { border-top: 1px solid var(--line); }
.maker .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 820px; }
.maker p { font-size: 1.2rem; line-height: 1.55; }
.maker .sig { color: var(--muted); font-size: 1rem; margin-top: 8px; }
@media (max-width: 560px) { .maker .wrap { grid-template-columns: 1fr; } .maker .hang { justify-self: start; } }

/* calculators index */
.index-groups { display: grid; gap: 40px; padding-bottom: 24px; }
.index-group { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.index-group img { border-radius: var(--r-m); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.index-group .links { display: grid; }
.index-group h2 { margin-bottom: 8px; }
@media (max-width: 720px) { .index-group { grid-template-columns: 1fr; gap: 16px; } .index-group img { aspect-ratio: 16 / 9; } }

/* ads */
.ad { margin-block: 40px; display: grid; gap: 6px; justify-items: center; }
.ad .ad-l { font-size: .75rem; color: var(--muted); }
.ad ins { display: block; width: 100%; min-height: 280px; }
.ad.side-ad ins { min-height: 600px; width: 300px; }
@media (max-width: 980px) { .ad.side-ad { display: none; } }

/* footer */
footer { margin-top: 72px; background: var(--marine); color: var(--marine-ink); }
footer .wrap { padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 20px; }
footer .logo { color: var(--marine-ink); }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer .cols a { color: var(--marine-ink); text-decoration: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { footer .cols a:hover { text-decoration: underline; } }
footer .fine { font-size: .92rem; color: var(--marine-muted); max-width: 72ch; }
.privacy-link { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--marine-ink); font: 600 1rem var(--f-sans); cursor: pointer; }
.privacy-link svg { width: 30px; height: 14px; }

/* consent */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.consent .in { max-width: 760px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; }
.consent .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { min-height: 44px; }
.consent label { display: flex; gap: 10px; align-items: center; }

/* 404 */
.lost { padding-block: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 640px) { .lost { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; } }

/* ---------- grades ---------- */
.gtag { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--on-ball);
  background: radial-gradient(circle at 34% 28%, #EFFF96 0, var(--ball) 46%, #B9D32F 100%); box-shadow: inset 0 -3px 0 rgba(15,27,45,.12), 0 6px 14px -8px rgba(2,25,45,.55); }
.gtag b { font: 800 1.45rem/0.9 var(--f-stamp); font-variant-numeric: tabular-nums; }
.gtag small { font: 800 .72rem/1 var(--f-stamp); letter-spacing: .04em; }
.gtag[data-level="1"] { background: radial-gradient(circle at 34% 28%, #FFE3A6 0, #F2B640 50%, #D0961E 100%); }
.gtag[data-level="2"] { background: radial-gradient(circle at 34% 28%, #FFB3A8 0, #EC5C4C 50%, #C8372A 100%); color: #fff; }
.grade-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.grow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; color: var(--ink); transition: border-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .grow:hover { border-color: var(--ink); } }
.grow:active { transform: scale(0.995); }
.gname { display: grid; gap: 1px; min-width: 0; }
.gname b { font-weight: 800; font-size: 1.05rem; }
.gname span { color: var(--muted); font-size: .97rem; }
.gname .gcat { color: var(--link); font-weight: 700; font-size: .85rem; }
.gnums { display: flex; gap: 16px; font-variant-numeric: tabular-nums; }
.gnums span { display: grid; text-align: right; font-weight: 800; font-size: 1rem; line-height: 1.1; }
.gnums i { font-style: normal; font-weight: 600; font-size: .75rem; color: var(--muted); }
.gnums em { font-style: normal; font-weight: 500; font-size: .75rem; color: var(--muted); }
.gunit { font-size: .88rem; color: var(--muted); text-align: right; min-width: 9.5em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .grow { grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; }
  .gnums, .gunit { grid-column: 2; justify-content: flex-start; text-align: left; min-width: 0; }
  .gnums span { text-align: left; }
}
.prod { align-items: center; }
.prod-head { display: grid; gap: 14px; align-content: start; }
.brandline { font-weight: 800; color: var(--link); font-size: 1.05rem; }
.prod-head .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.recalls { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; border: 2px solid var(--ink); border-radius: 4px; background: var(--surface); }
.recalls li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .97rem; }
.recalls li:first-child { border-top: 0; }
.rdate { font-weight: 800; font-variant-numeric: tabular-nums; }
.rded { font-weight: 800; color: var(--crit); font-variant-numeric: tabular-nums; }
.tbl th[scope="row"] { font: 700 .95rem var(--f-sans); text-transform: none; letter-spacing: 0; border-bottom: 1px solid var(--line); width: 34%; white-space: nowrap; }
.tbl tbody tr:last-child th { border-bottom: 0; }
.tbl td { white-space: normal; }
.hub { display: grid; gap: 40px; padding-bottom: 12px; }
.hub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.grades .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
main { overflow-x: clip; }
@media (max-width: 420px) { .tag.sm { width: 140px; } .tag.sm .tag-num { font-size: 2.5rem; } }
.wsava li .rdate { color: var(--good); font-size: 1.1rem; }
.wsava li .rdate.no { color: var(--warn); }
.wsava .rded { color: var(--ink); }
.gnums span { min-width: 3.4em; }
@media (min-width: 861px) { .gunit { min-width: 10.5em; text-align: right; } }
.brandline a { color: inherit; text-decoration: none; } .brandline a:hover { text-decoration: underline; }
/* v6: category picks, comparisons */
.picks { margin-top: 22px; }
.picks h2, .list-h { font-size: 1.35rem; margin: 0 0 12px; }
.list-h { margin-top: 30px; }
.pick-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pick-list li { background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.pk-l { font-family: var(--f-stamp); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; color: var(--link); }
.pick-list a { color: var(--ink); text-decoration: none; line-height: 1.3; }
.pick-list a b { display: block; }
@media (hover: hover) and (pointer: fine) { .pick-list a:hover { color: var(--link); } }
.pk-w { color: var(--muted); font-size: .9rem; }
.prose h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.tbl.cmp td, .tbl.cmp th { vertical-align: top; }
.tbl.cmp thead th { text-align: left; }
.cmp-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin-bottom: 8px; }
.cmp-links a { display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 700; color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .cmp-links a:hover { border-color: var(--ink); } }
/* v8: search + hub spacing */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hub-tools { display: grid; gap: 16px; margin: 4px 0 52px; }
.hub-tools .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hub-tools .search { max-width: 640px; }
.search { position: relative; max-width: 560px; }
.search-in { position: relative; }
.search-in svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 56px; padding: 0 18px 0 46px; font: 600 1.05rem/1.2 var(--f-sans); color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); transition: border-color 160ms ease; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: var(--muted); font-weight: 500; }
.search input:focus { outline: none; border-color: var(--ball); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ball) 45%, transparent); }
.hero .search input { border-color: transparent; }
.search-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r-m); box-shadow: var(--shadow); max-height: min(70vh, 460px); overflow-y: auto; }
.search-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-s); cursor: pointer; }
.search-list li[aria-selected="true"] { background: var(--soft); }
.search-list a { color: inherit; text-decoration: none; display: contents; }
.search-list .sg { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 .95rem/1 var(--f-stamp); background: var(--ball); color: var(--on-ball); }
.search-list .sg[data-l="1"] { background: #F2B544; } .search-list .sg[data-l="2"] { background: #F07C6C; }
.search-list .sg.k { background: var(--soft); color: var(--muted); font-size: .7rem; }
.search-list b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-list small { color: var(--muted); font-size: .85rem; }
.search-list .none { display: block; padding: 12px; color: var(--muted); cursor: default; }
/* v9: guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 8px 0 24px; }
.guide-card { display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--surface); border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); text-decoration: none; }
.guide-card b { font-size: 1.2rem; line-height: 1.2; }
.guide-card span { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .guide-card:hover b { color: var(--link); } }
.prose ol li, .prose ul li { margin-bottom: 6px; }
.tbl-sub { display: block; font-weight: 500; font-size: .85rem; margin-top: 4px; color: var(--muted); }
