/* Well & Tap stylesheet. Source: src/styles/. */

/* ---- fonts.css ---- */
/* Self-hosted fonts (Google Fonts, SIL Open Font License). Latin subset only. */
@font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('/fonts/merriweather-normal-700-900.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/public-sans-italic-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/public-sans-normal-400-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/roboto-mono-normal-400-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- global.css ---- */
:root {
  --paper: #ffffff;
  --panel: #f0f0f0;
  --plate: #ffffff;
  --ink: #1b1b1b;
  --ink-2: #3d4551;
  --ink-3: #565c65;
  --rule: #dfe1e2;
  --cobalt: #005ea2;
  --cobalt-dark: #1a4480;
  --cobalt-deep: #162e51;
  --cobalt-lighter: #d9e8f6;
  --cobalt-lightest: #eff6fb;
  --aqua: #00bde3;
  --cyan-lightest: #e7f6f8;
  --link: #005ea2;
  --brass: #ffbe2e;
  --brass-hi: #ffd574;
  --brass-ink: #936f38;
  --brass-line: #e5a000;
  --alarm: #d83933;
  --alarm-bg: #f8e1de;
  --clear: #008817;
  --clear-bg: #ecf3ec;
  --warn-bg: #faf3d1;

  --display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius: 4px;
  --wrap: 1240px;
  --measure: 44rem;
  --gutter: clamp(16px, 3vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--body);
  font-feature-settings: 'tnum' 0;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-weight: 900; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem); margin-top: 2.2em; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.2rem; margin-top: 1.8em; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num, .mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.muted { color: var(--ink-3); }
.small { font-size: 0.88rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { background: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 86px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.55rem; color: var(--cobalt-deep); }
.brand-name .amp { color: var(--cobalt); }
.brand-tag { font-size: 0.86rem; font-weight: 600; color: var(--ink-3); margin-top: 0.1rem; }
.head-search { position: relative; width: min(24rem, 40vw); }
.head-search form { display: flex; }
.head-search input[type=search] { font: 400 0.98rem var(--body); letter-spacing: 0; border: 1px solid var(--ink-3); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); padding: 0.55rem 0.7rem; }
.head-search button { background: var(--cobalt); color: #fff; border: 0; border-radius: 0 var(--radius) var(--radius) 0; padding: 0 0.9rem; font: 700 0.95rem var(--body); cursor: pointer; }
.head-search button:hover { background: var(--cobalt-dark); }
.search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 50; max-height: 70vh; overflow: auto; }
.search-results:empty { display: none; }
.search-results a { display: block; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.search-results a:hover, .search-results a:focus { background: var(--cobalt-lightest); }
.search-results .sr-k { display: block; font-size: 0.72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.navbar { background: var(--cobalt-deep); position: sticky; top: 0; z-index: 40; }
.navbar .wrap { display: flex; align-items: stretch; justify-content: space-between; }
.nav ul { display: flex; align-items: stretch; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; display: flex; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.95rem 1rem; border-bottom: 4px solid transparent; }
.nav a:hover { background: var(--cobalt-dark); }
.nav a[aria-current] { border-bottom-color: var(--brass); }
.nav a.nav-cta { background: var(--brass); color: var(--ink); margin: 0.45rem 0 0.45rem 0.5rem; padding: 0.5rem 0.9rem; border-radius: var(--radius); border: 0; align-self: center; }
.nav a.nav-cta:hover { background: var(--brass-hi); }
.nav-toggle { display: none; background: var(--cobalt); color: #fff; border: 0; border-radius: var(--radius); padding: 0.55rem 0.9rem; font: 700 0.95rem var(--body); margin: 0.5rem 0; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .navbar .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; padding-bottom: 0.6rem; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav li { display: block; }
  .nav a { display: block; }
  .nav a { border-bottom: 1px solid #2c4b7a; padding: 0.85rem 0.2rem; }
  .nav a[aria-current] { border-bottom-color: #2c4b7a; background: var(--cobalt-dark); padding-left: 0.6rem; border-radius: var(--radius); }
  .nav a.nav-cta { margin: 0.8rem 0 0; text-align: center; }
  .head-search { display: none; }
  .site-head .wrap { min-height: 72px; }
}

/* Reference components */
.summary-box { background: var(--cyan-lightest); border: 1px solid #99deea; border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.2rem 0 1.8rem; }
.summary-box h2, .summary-box h3 { margin-top: 0; font-size: 1.15rem; font-family: var(--body); }
.summary-box > :last-child { margin-bottom: 0; }
.alert { position: relative; border: 1px solid #a9c7e8; background: #f1f6fb; border-radius: 6px; padding: 0.9rem 1rem 0.9rem 2.9rem; margin: 1.2rem 0; }
.alert::before { content: 'i'; position: absolute; left: 0.95rem; top: 0.95rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--cobalt); color: #fff; font: 800 0.8rem/1.35rem var(--body); text-align: center; }
.alert.warn { border-color: #e6cf8a; background: #fdf8e6; }
.alert.warn::before { content: '!'; background: var(--brass-line); color: #1b1b1b; }
.alert.error { border-color: #efb0aa; background: #fdf0ee; }
.alert.error::before { content: '!'; background: var(--alarm); }
.alert.success { border-color: #a7d3ae; background: #eef7ef; }
.alert.success::before { content: '¹3'; background: var(--clear); }
.alert > :last-child { margin-bottom: 0; }
.tag { display: inline-block; padding: 0.12rem 0.45rem; border-radius: 2px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; background: var(--ink-3); color: #fff; white-space: nowrap; }
.tag.health { background: var(--alarm); }
.tag.aesthetic { background: var(--cobalt); }
.tag.both { background: #8b4513; }
.tag.cert { background: var(--clear); }
.tag.tested { background: var(--cobalt); }
.tag.claimed { background: var(--panel); color: var(--ink-2); border: 1px solid var(--rule); }
.grade { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font: 800 1rem var(--body); color: #fff; background: var(--ink-3); flex: none; }
.grade.lg { width: 3.4rem; height: 3.4rem; font-size: 1.7rem; }
.grade.A { background: #00a91c; } .grade.B { background: #538200; } .grade.C { background: #b38c00; } .grade.D { background: #e66f0e; } .grade.F { background: #d83933; }
.grade.na { background: var(--rule); color: var(--ink-3); font-size: 0.7rem; }
.sidenav { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.sidenav li { border-top: 1px solid var(--rule); margin: 0; }
.sidenav a { display: block; padding: 0.55rem 0.9rem; color: var(--ink-2); text-decoration: none; }
.sidenav a:hover { background: var(--panel); color: var(--cobalt); }
.sidenav a[aria-current] { color: var(--cobalt-deep); font-weight: 700; background: var(--cobalt-lightest); }
.ref-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding-bottom: 4rem; align-items: start; }
.ref-layout > nav { position: sticky; top: 64px; }
@media (max-width: 960px) { .ref-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .ref-layout > nav { position: static; order: 2; } }
.data-table th { font-family: var(--body); }
.data-table tbody tr:nth-child(even) { background: #f7f9fa; }
.page-title { padding: 1.4rem 0 0.4rem; }
.page-title .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 48rem; font-family: var(--body); }

/* Buttons and inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--brass); color: var(--ink); border: 0; border-radius: var(--radius);
  font: 700 1rem var(--body); padding: 0.75rem 1.2rem; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brass-hi); color: var(--ink); }
.btn.white { background: #fff; }
.btn.primary { background: var(--cobalt); color: #fff; }
.btn.primary:hover { background: var(--cobalt-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 2px var(--cobalt); }
.btn.outline:hover { background: var(--cobalt-lightest); color: var(--cobalt-dark); }
.btn.big { font-size: 1.08rem; padding: 1rem 1.4rem; }
.btn.ghost { background: transparent; border: 1.5px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
input[type=text], input[type=search] {
  font: 500 1.05rem var(--mono); letter-spacing: 0.02em;
  padding: 0.7rem 0.85rem; border: 1px solid var(--ink-3); border-radius: var(--radius);
  background: var(--plate); color: var(--ink); width: 100%;
}

/* Breadcrumbs */
.crumbs { font-size: 0.86rem; color: var(--ink-3); margin: 1.4rem 0 0.8rem; }
.crumbs a { color: var(--ink-3); }
.crumbs span[aria-hidden] { margin: 0 0.4rem; }

/* Article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; align-items: start; padding-bottom: 4rem; }
.article-body { max-width: var(--measure); }
.article-body > p:first-of-type { font-size: 1.14rem; color: var(--ink-2); }
.article-body img { border-radius: var(--radius); }
.article-aside { position: sticky; top: 1.5rem; font-size: 0.92rem; }
.article-aside h2 { font-size: 1rem; margin: 0 0 0.6rem; }
.article-aside ol { padding-left: 1.1rem; }
.byline { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.9rem; color: var(--ink-3); margin: 0.2rem 0 1.8rem; }
.verdict { border: 1px solid #a9c7e8; background: #f1f6fb; border-radius: 6px; padding: 0.95rem 1.15rem; margin: 0 0 2rem; font-size: 1.08rem; }
.verdict strong { display: block; font-family: var(--body); font-size: 0.95rem; color: var(--cobalt); margin-bottom: 0.2rem; }
@media (max-width: 960px) {
  .article { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-aside { position: static; order: -1; margin-bottom: 1rem; }
  .article-aside .toc { display: none; }
}

/* Tables */
.table-scroll { overflow-x: auto; margin: 1.4rem 0 1.8rem; border: 1px solid var(--ink-3); border-radius: 0; background: var(--plate); }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.62rem 0.8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink-3); }
th { font-family: var(--body); font-weight: 700; font-size: 0.86rem; background: var(--panel); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-family: var(--mono); font-size: 0.84rem; white-space: nowrap; }

/* Callouts */
.callout { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.callout > :last-child { margin-bottom: 0; }
.callout.warn { background: var(--alarm-bg); border-color: #e2b7b1; }
.callout.good { background: var(--clear-bg); border-color: #b4d5c9; }

/* FAQ */
.faq details { border-top: 1px solid var(--rule); padding: 0.9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--cobalt); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0.6rem 0 0; }

/* Footer */
.site-foot { background: var(--cobalt-deep); color: #c9d5f2; margin-top: 4rem; padding: 3rem 0 2rem; font-size: 0.92rem; }
.site-foot a { color: #e9eff0; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h2 { color: #fff; font-size: 0.98rem; margin: 0 0 0.7rem; font-family: var(--body); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 0.45rem; }
.site-foot .fine { border-top: 1px solid #243a73; margin-top: 2.2rem; padding-top: 1.2rem; color: #9fb0d9; font-size: 0.84rem; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Markdown tables inside articles: scroll instead of overflowing the column */
.article-body > table { display: block; max-width: 100%; overflow-x: auto; background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); margin: 1.4rem 0 1.8rem; }
.article-body > table th { white-space: normal; }
.article-body > table td:first-child { font-weight: 600; min-width: 7rem; }

/* ---- report.css ---- */
/* Gauge: shared by server pages and the ZIP lookup script */
.gauge { padding: 0.6rem 0 1.25rem; }
.gauge + .gauge { border-top: 1px dashed var(--rule); }
.g-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.1rem 0.8rem; margin-bottom: 0.45rem; }
.g-read { margin-left: auto; }
.g-label { font-weight: 650; }
.g-label a { color: var(--ink); }
.g-sub { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.g-read { font-size: 0.86rem; white-space: nowrap; }
.g-read small { font-size: 0.72rem; color: var(--ink-3); }
.g-max { color: var(--ink-3); font-size: 0.76rem; }
.g-track {
  position: relative; height: 16px; border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--rule) calc(10% - 1px) 10%) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 calc(2% - 1px), #d6dfde calc(2% - 1px) 2%) bottom / 100% 3px no-repeat,
    var(--panel);
}
.g-maxbar { position: absolute; left: 0; top: 5px; bottom: 5px; width: var(--m); background: repeating-linear-gradient(90deg, var(--ink-3) 0 2px, transparent 2px 4px); opacity: 0.45; }
.g-fill { position: absolute; left: 0; top: 3px; bottom: 3px; width: var(--v); background: var(--ink); border-radius: 0 2px 2px 0; }
.gauge.over .g-fill { background: var(--alarm); }
.gauge.over .g-read { color: var(--alarm); font-weight: 600; }
.gauge.nd .g-read { color: var(--clear); }
.g-limit { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--brass-line); }
.g-limit span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 1px; font-size: 0.62rem; color: var(--brass-ink); white-space: nowrap; }

/* Report card */
.report { color: var(--ink); background: var(--plate); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--cobalt); overflow: hidden; }
.report-head { padding: 1rem 1.2rem 0.85rem; border-bottom: 1.5px solid var(--ink); display: grid; gap: 0.25rem; }
.report-head .r-name { font-family: var(--display); font-variation-settings: 'wdth' 110; font-weight: 780; font-size: 1.2rem; line-height: 1.15; }
.report-head .r-meta { font-size: 0.8rem; color: var(--ink-3); }
.report-status { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 0.9rem; margin-top: 0.3rem; }
.report-status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.report-status.over { color: var(--alarm); }
.report-status.some { color: var(--brass-ink); }
.report-status.clean { color: var(--clear); }
.report-body { padding: 0.5rem 1.2rem 0.8rem; }
.report-foot { border-top: 1px solid var(--rule); padding: 0.7rem 1.2rem; font-size: 0.8rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.report-foot a { font-weight: 600; }
.report-other { font-size: 0.88rem; color: var(--ink-2); padding: 0.4rem 0 0.2rem; }

/* ---- components.css ---- */
/* Component and page styles. Moved out of the .astro files so the site ships one stylesheet. */

/* components/PickTable.astro */
.picks td { vertical-align: middle; }
.pk-label { font-size: 0.86rem; color: var(--ink-2); }
.pk-sys { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; }
.pk-sys:hover strong { color: var(--cobalt); text-decoration: underline; }
.pk-sys img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.pk-btn { display: inline-block; background: var(--brass); color: var(--ink); font-weight: 750; font-size: 0.84rem; padding: 0.45rem 0.7rem; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.pk-btn:hover { background: var(--brass-hi); color: var(--ink); }
@media (max-width: 560px) {
  .picks .flow, .picks .pk-label { display: none; }
  .picks thead th:first-child { display: none; }
  .picks td, .picks th { padding: 0.55rem 0.5rem; }
}

/* components/ProductPlate.astro */
.plate { background: var(--plate); border: 2px solid var(--cobalt); border-radius: var(--radius); margin: 1.8rem 0; overflow: hidden; box-shadow: 0 10px 30px rgba(23,71,214,0.12); }
.plate-top { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: baseline; padding: 0.85rem 1.1rem; background: var(--cobalt); color: #fff; }
.plate-award { grid-column: 1 / -1; justify-self: start; font: 800 0.8rem var(--body); color: var(--ink); background: var(--brass); padding: 0.18rem 0.55rem; border-radius: 4px; margin-bottom: 0.35rem; }
.plate-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; display: flex; align-items: center; gap: 0.6rem; }
.plate-name .grade { border: 2px solid #fff; }
.plate-price { font-size: 1rem; font-weight: 600; color: #fff; white-space: nowrap; }
.plate-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; padding: 1rem 1.1rem 0.4rem; align-items: start; }
.plate-imgwrap { width: 150px; height: 190px; border-radius: 6px; background: radial-gradient(circle at 50% 60%, #dfe8ff, #eef3ff 70%); display: grid; place-items: center; padding: 10px; }
.plate-img { width: 100%; height: 100%; object-fit: contain; }
.plate-specs { display: grid; grid-template-columns: 7rem minmax(0, 1fr); margin: 0; font-size: 0.9rem; }
.plate-specs dt { color: var(--ink-3); padding: 0.32rem 0; border-bottom: 1px dotted var(--rule); }
.plate-specs dd { margin: 0; padding: 0.32rem 0; border-bottom: 1px dotted var(--rule); }
.plate-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; padding: 0.9rem 1.1rem 1.1rem; }
@media (max-width: 560px) {
  .plate-body { grid-template-columns: minmax(0, 1fr); }
  .plate-imgwrap { width: 100%; height: 200px; }
  .plate-specs { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .plate-top { grid-template-columns: minmax(0, 1fr); }
}

/* components/RefPage.astro */
.nav-h { font-weight: 700; margin: 1.2rem 0 0.5rem; font-size: 0.95rem; }
.ref-main { max-width: 52rem; padding-top: 0.6rem; }
.ref-main h1 { margin-top: 0.4rem; }
.ref-body table { display: block; overflow-x: auto; border: 1px solid var(--ink-3); margin: 1.2rem 0 1.6rem; }
.rs { display: flex; align-items: center; gap: 0.5rem; }
.rs img { width: 36px; height: 36px; object-fit: contain; }
.buy { display: inline-block; background: var(--brass); color: var(--ink); font-weight: 700; font-size: 0.82rem; padding: 0.4rem 0.65rem; border-radius: var(--radius); text-decoration: none; white-space: nowrap; }
.srcs { padding-left: 1.2rem; word-break: break-word; }
.data-table td { vertical-align: middle; }

/* components/ZipLookup.astro */
.zipform { max-width: 30rem; }
.zip-label { display: block; font-weight: 650; margin-bottom: 0.4rem; }
.zip-row { display: flex; gap: 0.6rem; }
.zip-row input { flex: 1; min-width: 0; }
.zip-row .btn { white-space: nowrap; }
.zip-msg { min-height: 1.4em; margin: 0.5rem 0 0; color: var(--ink-2); }
.zip-results:not(:empty) { display: grid; gap: 1.6rem; margin-top: 1.2rem; }
@media (max-width: 420px) { .zip-row { flex-direction: column; } }

/* layouts/Article.astro */
.disclosure { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
.aside-look { margin-top: 1.8rem; background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; }
.aside-form { display: flex; gap: 0.5rem; }
.aside-form input { font-size: 1rem; padding: 0.55rem 0.7rem; }
.aside-form .btn { padding: 0.55rem 0.8rem; white-space: nowrap; }
.aside-form input { min-width: 0; }
.sources { padding-left: 1.2rem; word-break: break-word; }
.toppick { background: #fff; border: 2px solid var(--cobalt); border-radius: 12px; padding: 1rem; display: grid; gap: 0.4rem; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(23,71,214,0.12); }
.tp-label { justify-self: start; background: var(--brass); font-weight: 800; font-size: 0.76rem; padding: 0.15rem 0.5rem; border-radius: 4px; }
.toppick img { width: 100%; height: 170px; object-fit: contain; background: radial-gradient(circle at 50% 60%, #dfe8ff, #f3f6ff 70%); border-radius: 8px; padding: 8px; }
.tp-name { font-family: var(--display); font-variation-settings: 'wdth' 110; font-size: 1.15rem; line-height: 1.15; }
.tp-price { color: var(--ink-2); font-size: 0.9rem; }
.buybar { display: none; }
@media (max-width: 960px) {
  .toppick { display: none; }
  .buybar { display: flex; align-items: center; gap: 0.7rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 2px solid var(--cobalt); padding: 0.55rem 12px calc(0.55rem + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(11,31,77,0.15); }
  .buybar img { width: 44px; height: 44px; object-fit: contain; }
  .bb-text { flex: 1; min-width: 0; font-size: 0.86rem; line-height: 1.25; }
  .bb-text strong { white-space: nowrap; }
  .bb-k { display: block; font-size: 0.72rem; color: var(--ink-3); }
  .buybar .btn { padding: 0.65rem 0.9rem; white-space: nowrap; }
  .site-foot { padding-bottom: 5rem; }
}
@media (max-width: 960px) { .aside-look { display: none; } }

/* pages/best/index.astro */
.sec-list { list-style: none; padding: 0; } .sec-list li { border-top: 1px solid var(--rule); padding: 1rem 0 0.2rem; } .sec-list p { margin: 0.3rem 0 0; }

/* pages/compare-tool/index.astro */
.pickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 0.8rem; }
.pickers label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.9rem; }
.pickers label { min-width: 0; }
.pickers select { width: 100%; min-width: 0; font: 400 0.95rem var(--body); padding: 0.55rem; border: 1px solid var(--ink-3); border-radius: var(--radius); background: #fff; }
.diy { display: flex; gap: 0.5rem; align-items: center; font-size: 0.95rem; margin-bottom: 0.5rem; }
.cmp-wrap table { min-width: 640px; }
.cmp-wrap th[scope=row] { width: 11rem; background: #f7f9fa; white-space: normal; font-size: 0.88rem; }
.cmp-wrap thead th { vertical-align: bottom; white-space: normal; background: #fff; }
.cmp-wrap .cmp-head { display: grid; gap: 0.4rem; text-decoration: none; font-family: var(--display); font-size: 1.05rem; color: var(--cobalt); }
.cmp-wrap .cmp-head img { width: 120px; height: 120px; object-fit: contain; }
.cmp-wrap .cmp-cat { display: block; font-size: 0.78rem; font-weight: 400; color: var(--ink-3); }
.cmp-wrap tr.sec th { background: var(--cobalt-deep); color: #fff; font-size: 0.85rem; }
.cmp-wrap .win { background: var(--clear-bg); color: var(--clear); font-weight: 700; padding: 0.1rem 0.35rem; border-radius: 2px; }
.cmp-wrap tr.big .grade { width: 2.6rem; height: 2.6rem; font-size: 1.3rem; }
.cmp-wrap tr.buyrow td { padding-top: 1rem; padding-bottom: 1rem; }
@media (max-width: 760px) { .pickers { grid-template-columns: 1fr 1fr; } }

/* pages/compare/index.astro */
.sec-list { list-style: none; padding: 0; } .sec-list li { border-top: 1px solid var(--rule); padding: 1rem 0 0.2rem; } .sec-list p { margin: 0.3rem 0 0; }

/* pages/contaminants/[slug].astro */
.glance { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0 0 1rem; }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; }
.tx { width: 100%; background: #fff; border: 1px solid #99deea; font-size: 0.92rem; }
.eff { font-weight: 700; } .eff.high { color: var(--clear); } .eff.moderate { color: var(--brass-ink); } .eff.low { color: var(--alarm); }
@media (max-width: 560px) { .glance { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } .glance dd { margin-bottom: 0.5rem; } }

/* pages/embed/pfas.astro */
body.embed { padding: 16px; background: var(--paper); }
  body.embed h1 { font-size: 1.5rem; margin: 0 0 0.3rem; }
  .credit { margin-top: 1rem; color: var(--ink-3); }

/* pages/filters/[id].astro */
.rec { font-size: 0.8rem; color: var(--ink-3); margin: 0.6rem 0 0.2rem; }
.ds-head h1 { margin-bottom: 0.4rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 50rem; }
.ds-top { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 2rem; margin: 1rem 0 2rem; align-items: stretch; }
.ds-img { background: radial-gradient(circle at 50% 55%, #e6f0fb, #f5f9fd 70%); border: 1px solid var(--rule); display: grid; place-items: center; padding: 1.2rem; min-height: 320px; }
.ds-img img { max-height: 340px; width: auto; object-fit: contain; }
.ds-card { border: 2px solid var(--cobalt); padding: 1.2rem; display: grid; gap: 0.8rem; align-content: start; background: #fff; }
.ds-grade { display: flex; gap: 0.8rem; align-items: center; }
.ds-grade div { display: grid; }
.ds-price { display: grid; }
.ds-price .num { font-size: 2rem; font-weight: 600; }
.ds-ten { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 0.5rem 0; }
.ds-card .btn { width: 100%; }
.ds-body { margin-top: 1rem; }
.ds-main h2:first-child { margin-top: 0; }
.spec th { width: 12rem; background: #f7f9fa; white-space: normal; }
tr.total td { border-top: 2px solid var(--ink-3); }
.sources { padding-left: 1.2rem; word-break: break-word; }
.buybar-ds { display: none; }
@media (max-width: 860px) {
  .ds-top { grid-template-columns: minmax(0, 1fr); }
  .ds-img { min-height: 240px; }
  .buybar-ds { display: flex; align-items: center; gap: 0.7rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 2px solid var(--cobalt); padding: 0.55rem 12px calc(0.55rem + env(safe-area-inset-bottom)); }
  .buybar-ds img { width: 40px; height: 40px; object-fit: contain; }
  .buybar-ds span { flex: 1; min-width: 0; font-size: 0.9rem; }
  .site-foot { padding-bottom: 5rem; }
}

/* pages/filters/index.astro */
.finder { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 5rem; }
.facets { position: sticky; top: 64px; max-height: calc(100vh - 80px); overflow: auto; border: 1px solid var(--rule); padding: 0.9rem 1rem; background: #fff; font-size: 0.92rem; }
.fc-toggle { display: none !important; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.7rem; }
.linkbtn { background: none; border: 0; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.fc-search input { font: 400 0.95rem var(--body); letter-spacing: 0; padding: 0.5rem 0.6rem; }
fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0.9rem 0 0; padding: 0.8rem 0 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 0.45rem; float: left; width: 100%; }
fieldset label { display: flex; gap: 0.5rem; align-items: center; padding: 0.18rem 0; clear: both; cursor: pointer; }
fieldset input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--cobalt); }
.fc-strict { margin-top: 0.4rem; padding-top: 0.4rem !important; border-top: 1px dashed var(--rule); }
select { font: 400 0.95rem var(--body); padding: 0.45rem 0.5rem; border: 1px solid var(--ink-3); border-radius: var(--radius); background: #fff; width: 100%; }
.res-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.res-count { margin: 0; font-size: 1.05rem; }
.sort { display: flex; gap: 0.5rem; align-items: center; font-size: 0.92rem; white-space: nowrap; }
.sort select { width: auto; }
.finder-table { margin-top: 0.8rem; }
.finder-table td { vertical-align: middle; }
.cmp-col { width: 2.4rem; text-align: center; }
.cmp input { width: 1.15rem; height: 1.15rem; accent-color: var(--cobalt); }
.sys-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.sys-link img, .noimg { width: 48px; height: 48px; object-fit: contain; flex: none; }
.sys-link strong { display: block; color: var(--link); }
.sys-link:hover strong { text-decoration: underline; }
.sys-cat { display: block; font-size: 0.8rem; color: var(--ink-3); }
.cert-cell { max-width: 14rem; }
.buy { display: inline-block; background: var(--brass); color: var(--ink); font-weight: 700; font-size: 0.84rem; padding: 0.45rem 0.7rem; border-radius: var(--radius); text-decoration: none; white-space: nowrap; }
.buy:hover { background: var(--brass-hi); color: var(--ink); }
.tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--cobalt-deep); color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,0.2); }
.tray-in { display: flex; align-items: center; gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem; flex-wrap: wrap; }
.tray-names { flex: 1; min-width: 0; color: #c9d5f2; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-clear { color: #fff; }
@media (max-width: 960px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .facets { position: static; max-height: none; }
  .fc-toggle { display: flex !important; width: 100%; }
  .facets:not(.open) fieldset, .facets:not(.open) .fc-head { display: none; }
  .facets.open .fc-toggle { margin-bottom: 0.8rem; }
}
@media (max-width: 700px) {
  .finder-table { border: 0; overflow: visible; }
  .finder-table table, .finder-table tbody { display: block; }
  .finder-table thead { display: none; }
  .finder-table tr { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.2rem 0.6rem; border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 0.8rem; padding: 0.6rem; background: #fff; }
  .finder-table tr[hidden] { display: none; }
  .finder-table td { border: 0; padding: 0.15rem 0; }
  .finder-table td.cmp-col { grid-row: 1; }
  .finder-table td.sys-cell { grid-column: 2; grid-row: 1; }
  .finder-table td:nth-child(3) { grid-column: 3; grid-row: 1; }
  .finder-table td.n, .finder-table td.cert-cell { grid-column: 2 / 4; text-align: left; font-family: var(--body); font-size: 0.88rem; }
  .finder-table td[data-label]::before { content: attr(data-label) ': '; color: var(--ink-3); }
  .finder-table td:last-child { grid-column: 2 / 4; }
  .tray-names { display: none; }
}

/* pages/guides/index.astro */
.sec-list { list-style: none; padding: 0; } .sec-list li { border-top: 1px solid var(--rule); padding: 1rem 0 0.2rem; } .sec-list p { margin: 0.3rem 0 0; }

/* pages/index.astro */
.hero { background: linear-gradient(120deg, var(--cobalt-deep) 0%, var(--cobalt-dark) 55%, var(--cobalt) 100%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-top: 2.8rem; padding-bottom: 2.8rem; }
.hero-callout { background: #fff; padding: 2rem 2rem 1.6rem; border-top: 8px solid var(--brass); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.hero-callout h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 0.7rem; }
.hero-callout > p { color: var(--ink-2); font-size: 1.05rem; }
.hero-search { display: grid; gap: 0.6rem; margin: 1.2rem 0 0.4rem; }
.hero-search label { font-weight: 700; }
.hs-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem; }
.hero-search select { font: 400 1rem var(--body); padding: 0.7rem; border: 1px solid var(--ink-3); border-radius: var(--radius); background: #fff; }
.hero-alt { margin-top: 0.8rem; color: var(--ink-3); }
.hero-stage { position: relative; height: 440px; }
.prod { position: absolute; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0,0,0,0.45)); }
.p-main { height: 420px; width: auto; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; }
.p-back { height: 300px; width: auto; left: 0; top: 110px; z-index: 1; }
.p-front { height: 190px; width: auto; right: 0; bottom: 0; z-index: 3; }
.glance-band { background: var(--cobalt-lightest); border-bottom: 1px solid var(--cobalt-lighter); }
.glance-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.glance-row div { display: grid; }
.glance-row strong { font-size: 1.8rem; color: var(--cobalt-deep); line-height: 1.1; }
.glance-row span { font-size: 0.9rem; color: var(--ink-2); }
.sec { padding-top: 2.8rem; padding-bottom: 1rem; }
.sec h2 { margin-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.start { border: 1px solid var(--rule); border-top: 6px solid var(--cobalt); padding: 1.1rem 1.2rem 1.2rem; }
.start h3 { margin-top: 0; font-family: var(--display); font-size: 1.25rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { margin: 0; }
.chips a { display: inline-block; border: 1px solid var(--cobalt); color: var(--cobalt); padding: 0.3rem 0.6rem; border-radius: 999px; font-size: 0.86rem; text-decoration: none; font-weight: 600; }
.chips a:hover { background: var(--cobalt); color: #fff; }
.src-btn { display: grid; border: 1px solid var(--rule); padding: 0.8rem 1rem; margin-top: 0.6rem; text-decoration: none; color: var(--ink); background: var(--cobalt-lightest); }
.src-btn strong { color: var(--cobalt); font-size: 1.05rem; }
.src-btn span { font-size: 0.86rem; color: var(--ink-2); }
.src-btn:hover { border-color: var(--cobalt); }
.plain { padding-left: 1.1rem; margin: 0; }
.top-table td { vertical-align: middle; }
.tsys { display: flex; align-items: center; gap: 0.6rem; }
.tsys img { width: 44px; height: 44px; object-fit: contain; }
.buy { display: inline-block; background: var(--brass); color: var(--ink); font-weight: 700; font-size: 0.84rem; padding: 0.45rem 0.7rem; border-radius: var(--radius); text-decoration: none; white-space: nowrap; }
.buy:hover { background: var(--brass-hi); }
.band-grey { background: var(--panel); margin-top: 2rem; padding-bottom: 2.2rem; }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.ctile { background: #fff; border: 1px solid var(--rule); padding: 0.9rem 1rem; display: grid; gap: 0.35rem; text-decoration: none; color: var(--ink); align-content: start; }
.ctile strong { font-family: var(--display); color: var(--cobalt); font-size: 1.1rem; }
.ctile:hover { border-color: var(--cobalt); box-shadow: 0 4px 14px rgba(0,94,162,0.15); }
.ctile .tag { justify-self: start; }
.band-navy { background: var(--cobalt-deep); color: #dfe8f5; padding: 3rem 0; margin-top: 2.5rem; }
.band-navy h2 { color: #fff; margin-top: 0; }
.band-navy a { color: #fff; }
.pfas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.pf-form { background: #fff; color: var(--ink); padding: 1.1rem 1.2rem; margin: 1rem 0; }
.pf-form a { color: var(--link); }
.glist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.glist li { border-top: 1px solid var(--rule); padding: 0.9rem 0; display: grid; gap: 0.25rem; align-content: start; }
@media (max-width: 960px) {
  .hero-grid, .pfas-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { display: none; }
  .starts, .glist { grid-template-columns: minmax(0, 1fr); }
  .cgrid, .glance-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-callout { padding: 1.3rem 1.1rem; }
  .hs-row { grid-template-columns: minmax(0, 1fr); }
}

/* pages/pfas/[state]/[system].astro */
.sys { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 3rem; align-items: start; padding-bottom: 3rem; }
.sys-main { max-width: var(--measure); }
.sys-side { position: sticky; top: 1.5rem; }
.lede { font-size: 1.18rem; color: var(--ink-2); }
.peers { padding-left: 1.1rem; }
.zips { word-spacing: 0.4em; line-height: 1.9; }
.report-inline { display: none; }
@media (max-width: 980px) { .sys { grid-template-columns: minmax(0, 1fr); gap: 0; } .sys-side { display: none; } .report-inline { display: block; margin: 1.2rem 0 0.5rem; } }

/* pages/pfas/[state]/index.astro */
.lede { font-size: 1.12rem; color: var(--ink-2); }
.st-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.st-look { background: var(--plate); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.st-filter { max-width: 24rem; font-family: var(--body); font-size: 1rem; letter-spacing: 0; }
.tag { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 3px; font-weight: 600; font-size: 0.78rem; white-space: nowrap; }
.tag.over { background: var(--alarm-bg); color: var(--alarm); }
.tag.some { background: #f1e6cf; color: var(--brass-ink); }
.tag.clean { background: var(--clear-bg); color: var(--clear); }
@media (max-width: 860px) { .st-top { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

/* pages/pfas/index.astro */
.look-hero { background: var(--panel); border-bottom: 1px solid var(--rule); padding: 3rem 0 3.2rem; }
.look-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }
.facts p { border-top: 1.5px solid var(--ink); padding-top: 0.8rem; margin-bottom: 1.3rem; }
.facts .big { display: block; font-size: 2.3rem; font-weight: 600; line-height: 1.1; margin-bottom: 0.2rem; }
.narrow { max-width: 52rem; }
.embed-code { background: var(--ink); color: #e9eff0; padding: 1rem; border-radius: var(--radius); overflow-x: auto; font: 0.78rem/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; }
@media (max-width: 860px) { .look-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .look-hero { padding-top: 2rem; } }

/* pages/reviews/index.astro */
.sec-list { list-style: none; padding: 0; } .sec-list li { border-top: 1px solid var(--rule); padding: 1rem 0 0.2rem; } .sec-list p { margin: 0.3rem 0 0; }

/* pages/tools/index.astro */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tool { border: 1px solid var(--ink-3); padding: 1.2rem 1.4rem; min-width: 0; }
.grid2 label { min-width: 0; }
.grid2 input[type=number], .grid2 select { width: 100%; min-width: 0; }
.result { overflow-x: auto; }
.tool h2 { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1rem; margin: 1rem 0; }
.grid2 label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.grid2 label:has(input[type=checkbox]) { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.grid2 input[type=number], .grid2 select { font: 400 1rem var(--body); padding: 0.5rem; border: 1px solid var(--ink-3); border-radius: var(--radius); background: #fff; }
.result { background: var(--cyan-lightest); border: 1px solid #99deea; padding: 1rem 1.2rem; }
.result .big-n { font-size: 1.1rem; margin: 0 0 0.4rem; }
.result .big-n strong { font-size: 2rem; }
.result table { width: 100%; background: #fff; margin: 0.6rem 0; }
@media (max-width: 900px) { .tools, .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* pages/treatment/[slug].astro */
.glance { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0; }
.glance dt { font-weight: 700; }
.glance dd { margin: 0; }
@media (max-width: 560px) { .glance { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } .glance dd { margin-bottom: 0.5rem; } }

/* components/SectionIndex.astro */
.sec-index { padding-bottom: 4rem; max-width: 60rem; }
.sec-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.sec-list li { display: flex; gap: 1.2rem; align-items: flex-start; border-top: 1px solid var(--rule); padding: 1.2rem 0; margin: 0; }
.sec-list li img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.sec-list h2 { font-size: 1.25rem; margin: 0 0 0.3rem; }
.sec-list h2 a { text-decoration: none; }
.sec-list h2 a:hover { text-decoration: underline; }
.sec-list p { margin: 0 0 0.3rem; }

/* Cite box on PFAS pages */
.cite { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; padding: 0.7rem 0.9rem; font-family: var(--mono); font-size: 0.8rem; word-break: break-word; }
