/* SupplementsWay — styles (2026-10-23 restyle: ink / white / grey, red→orange accent).
   Tokens first; every colour below comes from them.
   The brand gradient is UI chrome only (button, logo, active indicators, focus). It never marks a verdict.
   Verdict colours carry meaning on their own scale: green likely, slate-blue might, ochre mixed,
   grey not proven / too vague, muted brick unlikely. */

:root {
  color-scheme: light;

  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #f3f3f4;
  --surface-3: #e8e8eb;
  --ink: #0b0b0c;
  --ink-2: #4a4a52;
  --ink-3: #6e6e77;
  --line: #e4e4e7;
  --line-strong: #cbcbd1;
  --rail: #e1e1e5;

  /* brand: red -> orange. Solid stops for places a gradient cannot go (SVG strokes, outlines, text). */
  --red: #e5322d;
  --orange: #f97316;
  --grad: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%);
  --grad-diag: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  --brand: #e2461f;
  --brand-ink: #b8360f;
  --brand-soft: #fdeee7;
  --on-brand: #ffffff;
  --focus: #e8501f;
  /* (2026-10-29) the reading guide: the box around the section being read, its entry, the brace. UI chrome, never a verdict */
  --reading: #e2461f;
  --reading-soft: #fdeee7;
  /* (2026-10-30) the wordmark "Supplements" + "Way": "Way" a little lighter. Light backgrounds #8A9099, dark #9AA1AA
     (the extension and the Android app use the same two values) */
  --brand-way: #8A9099;

  /* hero: inky in both themes */
  --hero-bg: #0b0b0c;
  --hero-ink: #f4f4f5;
  --hero-ink-2: #a1a1aa;
  --hero-line: rgba(255, 255, 255, 0.09);

  /* verdict scale (semantic, independent of the brand) */
  --v-well: #17794c;
  --v-promising: #3a6596;
  --v-mixed: #8a6a12;
  --v-insufficient: #5f5f68;
  --v-unsupported: #9c423b;
  --v-contradicted: #9c423b;
  --v-nottestable: #6e6e77;
  --v-unchecked: #6e6e77;

  /* chart polarity: helped / did not help / mixed / neutral */
  --pos: #2f6a96;
  --neg: #b0574d;
  --mix: #b08b2a;
  --neu: #b4b4bc;

  /* study-design ramp, strongest first: ink to pale grey */
  --d1: #18181b;
  --d2: #3f3f46;
  --d3: #6b6b74;
  --d4: #9a9aa3;
  --d5: #c3c3ca;
  --d6: #e1e1e5;

  --chart-line: #18181b;
  --chart-area: #18181b;

  /* ingredient illustrations (2026-10-24): grey fills under inky lines; the accent is the brand gradient */
  --art-bg: #f3f3f4;
  --art-fill: #d9d9de;
  --art-fill-2: #f7f7f8;
  --art-dot: rgba(11, 11, 12, 0.07);

  --caution-bg: #fbf7ec;
  --caution-line: #e6d6a8;
  --caution-ink: #4f3c0b;
  --mock-bg: #fde68a;
  --mock-ink: #3b2a00;
  --err-bg: #fbeeec;
  --err-ink: #7a1e16;
  --marker: #0b0b0c;
  --tip-bg: #0b0b0c;
  --tip-ink: #ffffff;
  --shadow: 0 1px 0 rgba(11, 11, 12, 0.03);
  --shadow-lift: 0 1px 2px rgba(11, 11, 12, 0.05), 0 12px 32px -12px rgba(11, 11, 12, 0.18);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --r-field: 6px;
  --r-card: 6px;
  --r-pill: 999px;

  --font-sans: Geist, "Geist Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0b0c; --surface: #131315; --surface-2: #19191c; --surface-3: #242428;
    --ink: #f4f4f5; --ink-2: #b3b3bb; --ink-3: #8b8b94; --line: #232327; --line-strong: #37373d; --rail: #1e1e22;
    --brand: #fb6a3a; --brand-ink: #ff8a5c; --brand-soft: #2a1610; --on-brand: #ffffff; --focus: #ff7a45;
    --reading: #fb6a3a; --reading-soft: #2a1610; --brand-way: #9AA1AA;
    --hero-bg: #0b0b0c; --hero-line: rgba(255, 255, 255, 0.07);
    --v-well: #5fc493; --v-promising: #8fb2dc; --v-mixed: #d4b45e; --v-insufficient: #a1a1aa;
    --v-unsupported: #e0948c; --v-contradicted: #e0948c; --v-nottestable: #9a9aa3; --v-unchecked: #9a9aa3;
    --pos: #74a9d6; --neg: #d98a80; --mix: #d1ae55; --neu: #55555d;
    --d1: #f4f4f5; --d2: #c9c9cf; --d3: #9a9aa3; --d4: #6e6e77; --d5: #4a4a51; --d6: #303035;
    --chart-line: #e4e4e7; --chart-area: #e4e4e7;
    --art-bg: #19191c; --art-fill: #3a3a41; --art-fill-2: #232328; --art-dot: rgba(255, 255, 255, 0.06);
    --caution-bg: #1f1b10; --caution-line: #5c4c1f; --caution-ink: #ead9a6;
    --mock-bg: #f5c542; --mock-ink: #241a00; --err-bg: #2b1513; --err-ink: #f4c3bd;
    --marker: #f4f4f5; --tip-bg: #f4f4f5; --tip-ink: #0b0b0c;
    --shadow: none;
    --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c; --surface: #131315; --surface-2: #19191c; --surface-3: #242428;
  --ink: #f4f4f5; --ink-2: #b3b3bb; --ink-3: #8b8b94; --line: #232327; --line-strong: #37373d; --rail: #1e1e22;
  --brand: #fb6a3a; --brand-ink: #ff8a5c; --brand-soft: #2a1610; --on-brand: #ffffff; --focus: #ff7a45;
  --reading: #fb6a3a; --reading-soft: #2a1610; --brand-way: #9AA1AA;
  --hero-bg: #0b0b0c; --hero-line: rgba(255, 255, 255, 0.07);
  --v-well: #5fc493; --v-promising: #8fb2dc; --v-mixed: #d4b45e; --v-insufficient: #a1a1aa;
  --v-unsupported: #e0948c; --v-contradicted: #e0948c; --v-nottestable: #9a9aa3; --v-unchecked: #9a9aa3;
  --pos: #74a9d6; --neg: #d98a80; --mix: #d1ae55; --neu: #55555d;
  --d1: #f4f4f5; --d2: #c9c9cf; --d3: #9a9aa3; --d4: #6e6e77; --d5: #4a4a51; --d6: #303035;
  --chart-line: #e4e4e7; --chart-area: #e4e4e7;
  --art-bg: #19191c; --art-fill: #3a3a41; --art-fill-2: #232328; --art-dot: rgba(255, 255, 255, 0.06);
  --caution-bg: #1f1b10; --caution-line: #5c4c1f; --caution-ink: #ead9a6;
  --mock-bg: #f5c542; --mock-ink: #241a00; --err-bg: #2b1513; --err-ink: #f4c3bd;
  --marker: #f4f4f5; --tip-bg: #f4f4f5; --tip-ink: #0b0b0c;
  --shadow: none;
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.7);
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrap { width: 100%; max-width: 66rem; margin-inline: auto; padding-inline: var(--s4); }
@media (min-width: 48rem) { .wrap { padding-inline: var(--s6); } }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { max-width: 100%; }
a { color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--orange) 28%, transparent); }

.ic {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.ic .dash { stroke-dasharray: 2.4 2.6; }
.ic.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* small uppercase monospace label, used for eyebrows, field labels and strip labels */
.eyebrow, .field label, .examples-label, .car-label, .claim-says, .lens-title, .legend-details summary,
.trend-head, .self-banner, .nav-tag, table.data thead th {
  font-family: var(--font-mono);
}

/* ---------- mock banner ---------- */

.mock-banner {
  position: sticky; top: 0; z-index: 50;
  background: var(--mock-bg); color: var(--mock-ink);
  padding: var(--s2) var(--s4); font-size: 0.8125rem; line-height: 1.35;
  border-bottom: 2px solid var(--mock-ink); text-align: center;
}
.mock-banner strong { font-size: 0.9375rem; display: block; }
.mock-banner.is-replay { position: static; background: var(--surface-3); color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.mock-tag {
  display: inline-block; background: var(--mock-bg); color: var(--mock-ink);
  border: 1.5px solid var(--mock-ink); border-radius: var(--s1); padding: 1px var(--s2);
  font-size: 0.75rem; font-weight: 700;
}

/* ---------- header + hero (inky in both themes) ---------- */

.top { background: var(--hero-bg); color: var(--hero-ink); position: relative; isolation: isolate; overflow: hidden; }
.top::before {           /* faint red→orange glow behind the headline */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -14rem; width: min(64rem, 140vw); height: 30rem; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(229, 50, 45, 0.20), rgba(249, 115, 22, 0.08) 55%, transparent 100%);
}
.top::after {            /* a fine dot grid outside the rails, like engineering paper */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0, transparent 22%, transparent 78%, #000 100%);
}
.top .wrap { border-inline: 1px solid var(--hero-line); background: var(--hero-bg); }
.top .wrap.hero { background: transparent; }

.site-header { border-bottom: 1px solid var(--hero-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 3.75rem; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--hero-ink); text-decoration: none; }
.brand-mark { width: 1.75rem; height: 1.75rem; flex: none; }
.brand-name { font-size: 1.0625rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--hero-ink); }
.brand-way { color: var(--brand-way); }            /* same font and weight as the name: only the colour changes */
.top, .site-footer { --brand-way: #9AA1AA; }        /* inky in both themes: the dark value */
.nav-right { display: flex; align-items: center; gap: var(--s2); }
.top .btn-icon { background: transparent; color: var(--hero-ink); border-color: rgba(255, 255, 255, 0.18); }
.top .btn-icon:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.34); }

.hero { padding-block: var(--s7) var(--s6); text-align: center; }
@media (min-width: 48rem) { .hero { padding-block: var(--s8) var(--s7); } }
.hero .eyebrow { justify-content: center; color: #ff9a6a; }
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.75rem); line-height: 1.06; letter-spacing: -0.015em;
  margin: var(--s4) auto 0; max-width: 15ch; color: var(--hero-ink); text-wrap: balance;
}
.hero-sub { color: var(--hero-ink-2); font-size: 1rem; line-height: 1.55; margin: var(--s4) auto 0; max-width: 36rem; text-wrap: pretty; }
@media (min-width: 48rem) { .hero-sub { font-size: 1.0625rem; } }

.hero-panel { padding-bottom: var(--s6); position: relative; }
@media (min-width: 48rem) { .hero-panel { padding-bottom: var(--s7); } }
.hero-panel::after {     /* gradient hairline closing the hero */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--orange) 70%, transparent);
  opacity: 0.85;
}

/* eyebrow: — LABEL — with a short gradient tick */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 1.25rem; height: 1px; background: var(--grad); flex: none; }
.eyebrow::after { background: linear-gradient(90deg, var(--orange), var(--red)); }

/* ---------- buttons and fields ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 2.75rem; padding: 0 var(--s4);
  border: 1px solid var(--line-strong); border-radius: var(--r-field);
  background: var(--surface); color: var(--ink);
  font-weight: 500; line-height: 1.2;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-primary {
  position: relative; min-width: 9rem;
  background: var(--grad-diag); border: 0; color: var(--on-brand);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(11, 11, 12, 0.2), 0 6px 18px -10px rgba(229, 50, 45, 0.55);
}
.btn-primary:hover { background: var(--grad-diag); filter: brightness(1.06) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 1px 2px rgba(11, 11, 12, 0.2), 0 10px 26px -10px rgba(229, 50, 45, 0.8); }
.btn-primary:active { filter: brightness(0.96); }
.btn-icon { width: 2.5rem; min-height: 2.5rem; padding: 0; flex: none; border-color: var(--line); }
.btn-small { min-height: 2.25rem; padding: 0 var(--s3); font-size: 0.8125rem; }
.btn-quiet { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); background: transparent; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.input-card {
  padding: var(--s4); text-align: left; color: var(--ink);
  border-color: transparent; box-shadow: var(--shadow-lift);
  max-width: 50rem; margin-inline: auto;
}
:root[data-theme="dark"] .input-card { border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .input-card { border-color: var(--line-strong); } }
@media (min-width: 48rem) { .input-card { padding: var(--s5); } }
.field { display: block; margin-bottom: var(--s4); }
.field label { display: block; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--s2); color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--ink-3); text-transform: none; letter-spacing: 0; font-family: var(--font-sans); font-size: 0.75rem; }
textarea, input[type="text"] {
  width: 100%; background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-field);
  padding: 10px var(--s3); min-height: 2.75rem; line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 7rem; }
textarea:hover, input[type="text"]:hover { border-color: var(--ink-3); }
textarea::placeholder, input::placeholder { color: var(--ink-3); }
textarea:focus-visible, input:focus-visible {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent);
}
.field-error { background: var(--err-bg); color: var(--err-ink); border-radius: var(--r-field); padding: var(--s2) var(--s3); margin-bottom: var(--s3); font-size: 0.875rem; }

.input-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s3); }
.input-row .field { flex: 1 1 14rem; margin-bottom: 0; }
.input-row .btn-primary { flex: 0 0 auto; }
@media (max-width: 30rem) { .input-row .btn-primary { flex: 1 1 100%; } }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin: var(--s4) calc(-1 * var(--s4)) 0; padding: var(--s3) var(--s4) 0; border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .examples { margin-inline: calc(-1 * var(--s5)); padding-inline: var(--s5); margin-top: var(--s5); padding-top: var(--s4); } }
.examples-label { color: var(--ink-3); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.examples-list { display: flex; flex-wrap: wrap; gap: 6px; }
.example-chip {
  min-height: 2rem; padding: 0 var(--s3);
  border: 1px solid var(--line); border-radius: var(--r-field);
  background: var(--surface-2); font-size: 0.8125rem; font-weight: 500; color: var(--ink-2);
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.example-chip:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }

/* ---------- results scaffolding ---------- */

.page { border-inline: 1px solid var(--rail); }
#results { padding-top: var(--s6); padding-bottom: var(--s2); counter-reset: sec; }
.section {
  margin-top: var(--s7); padding-top: var(--s6);
  margin-inline: calc(-1 * var(--s4)); padding-inline: var(--s4);
  border-top: 1px solid var(--line);
  counter-increment: sec;
}
@media (min-width: 48rem) { .section { margin-inline: calc(-1 * var(--s6)); padding-inline: var(--s6); } }
#results > .section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.section-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem); line-height: 1.12; letter-spacing: -0.01em;
}
.section-title::before {
  content: counter(sec, decimal-leading-zero);
  display: block; width: max-content; margin-bottom: var(--s3);
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; line-height: 1;
  padding-bottom: 6px; border-bottom: 1px solid transparent;
  border-image: var(--grad) 1;
  color: var(--ink-2);
}
.section-sub { color: var(--ink-2); font-size: 0.9375rem; margin-top: var(--s2); max-width: 42rem; }

.empty { padding: var(--s2) 0 var(--s6); }
.empty-list { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
@media (min-width: 48rem) { .empty-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.empty-list li { display: grid; gap: var(--s3); align-content: start; padding: var(--s5); color: var(--ink-2); font-size: 0.875rem; }
.empty-list li + li { border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .empty-list li + li { border-top: 0; border-left: 1px solid var(--line); } }
.empty-list strong { color: var(--ink); font-weight: 600; }
.empty-ic { flex: none; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: var(--r-field); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); position: relative; }
.empty-ic::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; background: var(--grad); border-radius: 2px; }
.empty-ic .ic { width: 1.15rem; height: 1.15rem; }
.note { color: var(--ink-2); font-size: 0.8125rem; }

/* ---------- loading and error states ---------- */

.loading { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) 0; color: var(--ink-2); font-size: 0.875rem; }
.loading .ic { color: var(--brand); }
.card > .loadbox { padding: 0 var(--s4); }
.skeleton { display: grid; gap: var(--s2); padding-bottom: var(--s3); }
.skeleton i {
  display: block; height: 0.7rem; border-radius: 3px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.skeleton i:nth-child(1) { width: 70%; }
.skeleton i:nth-child(2) { width: 92%; }
.skeleton i:nth-child(3) { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.errbox {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s2) var(--s3);
  background: var(--err-bg); color: var(--err-ink);
  border: 1px solid color-mix(in srgb, var(--err-ink) 25%, transparent);
  border-radius: var(--r-field); padding: var(--s3) var(--s4); font-size: 0.875rem;
}
.errbox .ic { margin-top: 2px; }
.errbox-text { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; }
.errbox-kind { display: inline-block; font-family: var(--font-mono); font-weight: 600; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 3px; padding: 0 6px; margin-right: var(--s2); }
.errbox .btn { background: transparent; color: inherit; border-color: currentColor; }
.errbox-hint { display: block; margin-top: var(--s1); opacity: 0.9; }

/* ---------- product summary ---------- */

.product { padding-bottom: var(--s2); }
.product-name {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.1; letter-spacing: -0.012em;
  overflow-wrap: anywhere; max-width: 46rem;
}
.product-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.fact { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-field); padding: 2px 10px; }
.fact .ic { color: var(--ink-3); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.ing-chip {
  display: inline-flex; align-items: flex-start; gap: var(--s2);
  max-width: 100%; padding: 8px var(--s3) 8px 10px;
  border: 1px solid var(--line); border-radius: var(--r-field);
  background: var(--surface); text-align: left; line-height: 1.25;
}
.ing-chip .ic { margin-top: 0.1em; color: var(--ink); }
.ing-chip-name { font-weight: 600; overflow-wrap: anywhere; }
.ing-chip-meta { display: block; font-size: 0.75rem; color: var(--ink-3); overflow-wrap: anywhere; margin-top: 1px; }
.ing-chip.is-unresolved { border-style: dashed; border-color: var(--line-strong); background: transparent; color: var(--ink-3); }
.ing-chip.is-unresolved .ic, .ing-chip.is-unresolved .ing-chip-meta { color: var(--ink-3); }
.ing-chip.is-pending { border-style: dashed; background: transparent; }
.ing-note { flex-basis: 100%; background: var(--surface-2); border-left: 2px solid var(--line-strong); border-radius: 0 var(--r-field) var(--r-field) 0; padding: var(--s2) var(--s3); font-size: 0.8125rem; color: var(--ink-2); }

/* at a glance: each claim with its answer */
.glance { margin-top: var(--s4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.glance li + li { border-top: 1px solid var(--line); }
.glance-link { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--s3); padding: 12px var(--s4); text-decoration: none; min-height: 3.25rem; transition: background-color 0.15s; }
.glance-link::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-diag); opacity: 0; transition: opacity 0.15s; }
.glance-link:hover { background: var(--surface-2); }
.glance-link:hover::before { opacity: 1; }
.glance-text { font-weight: 500; font-size: 0.9375rem; line-height: 1.35; min-width: 0; flex: 1 1 12rem; overflow-wrap: anywhere; }

/* ---------- verdict chip + meter ---------- */

.vchip {
  --c: var(--v-insufficient);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 8px; border-radius: var(--r-field);
  background: color-mix(in srgb, var(--c) 10%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 26%, transparent);
  color: var(--c); font-size: 0.8125rem; font-weight: 600; line-height: 1.25; white-space: nowrap;
}
[data-v="well_supported"]    { --c: var(--v-well); --vc: var(--v-well); }
[data-v="promising_limited"] { --c: var(--v-promising); --vc: var(--v-promising); }
[data-v="mixed"]             { --c: var(--v-mixed); --vc: var(--v-mixed); }
[data-v="unsupported"]       { --c: var(--v-unsupported); --vc: var(--v-unsupported); }
[data-v="contradicted"]      { --c: var(--v-contradicted); --vc: var(--v-contradicted); }
[data-v="insufficient"]      { --c: var(--v-insufficient); --vc: var(--v-insufficient); }
[data-v="not_testable"]      { --c: var(--v-nottestable); --vc: var(--v-nottestable); }
.vchip[data-v="unchecked"]   { --c: var(--v-unchecked); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; }
.vchip[data-v="insufficient"], .vchip[data-v="not_testable"] { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.vchip-lg { font-size: 0.875rem; padding: 4px 12px 4px 9px; }
/* (2026-10-28) a verdict that more studies could still move: dashed outline + "So far" note, never the solid final look */
.vchip.is-sofar { box-shadow: none; outline: 1px dashed color-mix(in srgb, var(--c) 55%, transparent); outline-offset: -1px; }
.vchip-note { font-weight: 500; color: var(--ink-2); padding-left: 6px; margin-left: 2px; border-left: 1px solid var(--line-strong); }

.meter { display: inline-flex; gap: 3px; align-items: center; }
.meter i { display: block; width: 14px; height: 4px; border-radius: 1px; background: var(--surface-3); }
.meter i.on { background: var(--vc, var(--ink-3)); }
.meter-lg i { width: 22px; height: 5px; }

.legend-details { margin-top: var(--s4); font-size: 0.8125rem; }
.legend-details summary { cursor: pointer; color: var(--ink-2); min-height: 2.5rem; display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.legend-details summary:hover { color: var(--ink); }
.verdict-key { display: grid; gap: var(--s2); padding: var(--s2) 0; }
.verdict-key li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
.verdict-key .vchip { min-width: 9.5rem; }
.verdict-key .vk-line { color: var(--ink-2); flex: 1 1 14rem; }

/* ---------- claim block ---------- */

.claim { margin-top: var(--s6); scroll-margin-top: var(--s4); }
.claim + .claim { padding-top: var(--s6); border-top: 1px dashed var(--line-strong); }
.claim-says { font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.claim-text { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; letter-spacing: -0.005em; margin-top: 6px; overflow-wrap: anywhere; max-width: 46rem; }
.answer {
  position: relative;
  margin-top: var(--s4); padding: var(--s4) var(--s4) var(--s4) calc(var(--s4) + 3px);
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 46rem; overflow: hidden;
}
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vc, var(--line-strong)); }
.answer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); }
.answer-name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.1; font-weight: 400; letter-spacing: -0.01em; color: var(--vc); }
.answer-name .ic { width: 1.375rem; height: 1.375rem; stroke-width: 2; }
.answer-name.is-pending { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); }
.answer-name.is-pending .ic { width: 1.1rem; height: 1.1rem; color: var(--brand); }
.answer-sub { margin-top: var(--s2); font-size: 0.9375rem; line-height: 1.55; color: var(--ink); }
.answer-more { margin-top: var(--s1); font-size: 0.8125rem; color: var(--ink-2); }
.claim-note { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s3); font-size: 0.8125rem; color: var(--ink-2); max-width: 46rem; }
.claim-note .ic { margin-top: 0.15em; color: var(--ink-3); }

/* ---------- carousel ---------- */

.car { margin-top: var(--s4); }
.car-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 2.25rem; margin-bottom: var(--s3); }
.car-label { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.car-count { white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-left: auto; }
.car-btns { display: none; gap: 0; }
@media (hover: hover) and (pointer: fine) { .car-btns { display: inline-flex; } }
.car-btn {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 0; background: var(--surface); color: var(--ink);
  transition: border-color 0.15s, background-color 0.15s;
}
.car-btn:first-child { border-radius: var(--r-field) 0 0 var(--r-field); }
.car-btn:last-child { border-radius: 0 var(--r-field) var(--r-field) 0; margin-left: -1px; }
.car-btn:hover:not([disabled]) { background: var(--surface-2); border-color: var(--ink-3); position: relative; z-index: 1; }
.car-btn[disabled] { opacity: 0.35; cursor: default; }
.car.all-fit .car-count, .car.all-fit .car-btns { display: none; }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min(86%, 27rem), 1fr);
  gap: var(--s3); align-items: start;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--s4);
  margin-inline: calc(-1 * var(--s4)); padding: 2px var(--s4) var(--s3);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
@media (min-width: 48rem) { .car-track { margin-inline: calc(-1 * var(--s6)); padding-inline: var(--s6); scroll-padding-inline: var(--s6); } }
.car-track > * { scroll-snap-align: start; }
.car-track.is-single { grid-auto-columns: 100%; }
.car-track:focus-visible { outline-offset: -2px; }
@media (min-width: 62rem) { .car-track.is-single { grid-auto-columns: minmax(0, 46rem); } }

/* ---------- evidence card ---------- */

.vcard {
  position: relative; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden;
}
.vcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--vc, var(--line-strong)); }
.vc-head { padding: var(--s4) var(--s4) var(--s3); border-bottom: 1px solid var(--line); }
.vc-title { font-size: 1rem; line-height: 1.35; font-weight: 500; overflow-wrap: break-word; hyphens: auto; }
.vc-ing { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.125rem, 0.9rem + 0.9vw, 1.5rem); overflow-wrap: break-word; hyphens: auto; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }
.vc-arrow { color: var(--ink-3); font-weight: 400; }
.vc-out { color: var(--ink-2); font-weight: 400; }
.vc-meta { font-size: 0.8125rem; color: var(--ink-3); margin-top: 2px; }
.vc-body { padding: var(--s4); }

.ev > * + * { margin-top: var(--s3); }
.ev-verdict { display: grid; gap: 6px; }
.ev-vrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); }
.ev-headline { font-size: 0.9375rem; line-height: 1.45; font-weight: 600; }
.ev-why { font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.ev-basenote { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.ev-basenote svg { flex: 0 0 auto; margin-top: 3px; width: 14px; height: 14px; }
/* (2026-10-28) "still reading N more studies" under a verdict, and the idle card further along a carousel */
.ev-more { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.ev-more svg { flex: 0 0 auto; width: 14px; height: 14px; }
.ev-idle { display: grid; place-items: start; padding: var(--s2) 0; }

.cov-badge {
  display: flex; align-items: flex-start; gap: var(--s2);
  background: var(--caution-bg); color: var(--caution-ink); border: 1px solid var(--caution-line);
  border-radius: var(--r-field); padding: var(--s2) var(--s3); font-size: 0.8125rem; font-weight: 500; line-height: 1.4;
}
.cov-badge .ic { margin-top: 1px; }
.caution {
  display: flex; gap: var(--s3); background: var(--caution-bg); color: var(--caution-ink);
  border: 1px solid var(--caution-line); border-radius: var(--r-field); padding: var(--s3) var(--s4);
}
.caution .ic { margin-top: 3px; }
.caution h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 2px; }
.caution p { font-size: 0.8125rem; }
.rx-notice { margin: var(--s3) 0; }
.rx-notice .rx-names { margin-top: var(--s1, 4px); font-weight: 600; }
.vague-ctx { font-size: 0.8125rem; color: var(--ink-2, inherit); margin: var(--s2) 0; }

.lenses { display: grid; grid-template-columns: minmax(0, 1fr); }
.car-single .lenses { gap: 0 var(--s6); }
@media (min-width: 48rem) { .car-single .lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .car-single .lens-wide { grid-column: 1 / -1; } }
.lens { padding: var(--s4) 0 var(--s3); border-top: 1px solid var(--line); min-width: 0; }
.lens-title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; color: var(--ink); }
.lens-sub { color: var(--ink-3); font-size: 0.75rem; margin: 2px 0 var(--s2); }
.lens-title + :not(.lens-sub) { margin-top: var(--s2); }
.lens-empty { color: var(--ink-2); font-size: 0.8125rem; padding: var(--s1) 0; }
.lens-fail { color: var(--err-ink); background: var(--err-bg); border-radius: var(--r-field); padding: var(--s2) var(--s3); font-size: 0.8125rem; }
.matched { font-size: 0.75rem; color: var(--ink-3); padding-top: var(--s2); border-top: 1px solid var(--line); }

/* ---------- SVG bars (every segment has a tooltip) ---------- */

.hbar { display: block; width: 100%; overflow: visible; }
.hbar .hb-bg { fill: var(--surface-3); }
.hbar .hb-seg { transition: opacity 0.12s; cursor: default; }
.hbar:hover .hb-seg:not(.is-tipped) { opacity: 0.45; }
.d-meta_analysis { fill: var(--d1); background: var(--d1); }
.d-trial { fill: var(--d2); background: var(--d2); }
.d-observational { fill: var(--d3); background: var(--d3); }
.d-review { fill: var(--d4); background: var(--d4); }
.d-preclinical { fill: var(--d5); background: var(--d5); }
.d-other { fill: var(--d6); background: var(--d6); }
.hb-seg.pos, .hb-seg.p-positive { fill: var(--pos); }
.hb-seg.neg, .hb-seg.p-negative { fill: var(--neg); }
.hb-seg.neu, .hb-seg.p-neutral { fill: var(--neu); }
.hb-seg.p-mixed { fill: var(--mix); }
.hb-seg.p-rest, .hb-seg.bl-rest { fill: transparent; }
.hb-seg.bl-fill { fill: var(--d2); }
.reads-strip { margin-bottom: var(--s2); }
.hb-seg.st-supports { fill: var(--v-well); }
.hb-seg.st-contradicts { fill: var(--v-contradicted); }
.hb-seg.st-qualifies { fill: var(--v-mixed); }
.hb-seg.st-unrelated { fill: var(--neu); }
.hb-seg.st-ungrounded { fill: var(--surface-3); }

.legend { display: grid; gap: 1px; margin-top: var(--s2); }
.legend li { display: grid; grid-template-columns: 0.625rem minmax(0, 1fr) auto 2.5rem; align-items: center; gap: var(--s2); font-size: 0.8125rem; min-height: 1.45rem; }
.legend li.is-zero { color: var(--ink-3); }
.sw { width: 0.625rem; height: 0.625rem; border-radius: 2px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
.legend .lg-n { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.legend .lg-p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; }

.ladder-key { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); font-size: 0.75rem; color: var(--ink-2); margin-bottom: var(--s2); }
.ladder-key span { display: inline-flex; align-items: center; gap: 5px; }
.seg { display: inline-block; width: 0.625rem; height: 0.625rem; border-radius: 2px; }
.seg-pos { background: var(--pos); } .seg-neg { background: var(--neg); } .seg-neu { background: var(--neu); }
.ladder { display: grid; gap: 7px; }
.lad-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 2.75rem; gap: var(--s2); align-items: center; }
.lad-label { font-size: 0.8125rem; font-weight: 500; line-height: 1.2; }
.lad-row[data-s="low"] .lad-label, .lad-row[data-s="minimal"] .lad-label, .lad-row[data-s="unknown"] .lad-label { font-weight: 400; color: var(--ink-2); }
.lad-row[data-s="low"] .hbar, .lad-row[data-s="minimal"] .hbar, .lad-row[data-s="unknown"] .hbar { opacity: 0.75; }
.lad-n { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.8125rem; }
.lad-none { font-size: 0.75rem; color: var(--ink-3); }
.lad-total { margin-top: var(--s2); font-size: 0.75rem; color: var(--ink-3); }

/* studies read: a hairline tab strip; the selected cell gets the brand underline */
.reads-note { margin-bottom: var(--s2); }
.read-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-field); overflow: hidden; background: var(--surface);
}
.read-tile {
  --c: var(--v-insufficient);
  position: relative;
  display: grid; justify-items: start; gap: 0; padding: 7px var(--s2) 9px;
  border: 0; border-radius: 0; background: var(--surface); text-align: left; min-height: 3.25rem;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
  transition: background-color 0.15s;
}
.read-tile:hover:not([disabled]) { background: var(--surface-2); }
.read-tile .rt-top { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; color: var(--c); }
.read-tile .rt-label { font-size: 0.6875rem; font-weight: 500; color: var(--ink-2); line-height: 1.25; }
.read-tile[aria-pressed="true"] { background: var(--surface-2); }
.read-tile[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); }
.read-tile[disabled] { opacity: 0.45; cursor: default; }
.read-tile[data-st="supports"] { --c: var(--v-well); }
.read-tile[data-st="contradicts"] { --c: var(--v-contradicted); }
.read-tile[data-st="qualifies"] { --c: var(--v-mixed); }
.read-tile[data-st="unrelated"] { --c: var(--ink-3); }
.read-tile[data-st="ungrounded"] { --c: var(--ink-3); }
.read-tile[data-st="ungrounded"] .rt-label { font-style: italic; }
.read-panel { margin-top: var(--s3); display: grid; gap: var(--s3); justify-items: start; }
.ev-item { border-left: 2px solid var(--line-strong); padding-left: var(--s3); }
.ev-item[data-st="supports"] { border-left-color: var(--v-well); }
.ev-item[data-st="contradicts"] { border-left-color: var(--v-contradicted); }
.ev-item[data-st="qualifies"] { border-left-color: var(--v-mixed); }
.ev-item blockquote { font-size: 0.875rem; line-height: 1.55; overflow-wrap: anywhere; margin-bottom: 4px; }
.ev-title { font-weight: 500; font-size: 0.75rem; line-height: 1.4; color: var(--ink-2); overflow-wrap: anywhere; }
.ev-meta { display: block; font-size: 0.75rem; color: var(--ink-3); }
.verified, .unverified { display: flex; align-items: center; gap: 5px; font-size: 0.6875rem; margin-top: 2px; }
.verified { color: var(--v-well); font-weight: 600; }
.unverified { color: var(--ink-3); }

/* trend */
.trend-head { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--s1); color: var(--ink-2); }
.trend-head .ic { color: var(--ink-3); }
.spark { display: block; width: 100%; height: auto; overflow: visible; }
.spark text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.spark .axis { stroke: var(--line-strong); stroke-width: 1; }
.spark .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.spark .ln { fill: none; stroke: var(--chart-line); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.spark .ln-part { fill: none; stroke: var(--chart-line); stroke-width: 1.75; stroke-dasharray: 3 4; stroke-linecap: round; }
.spark .area { fill: var(--chart-area); opacity: 0.07; }
.spark .hit, .hist .hit { fill: transparent; }
.spark .pt-guide { stroke: var(--ink-3); stroke-width: 1; opacity: 0; }
.spark .dot { fill: var(--chart-line); }
.spark .dot-part { fill: var(--surface); stroke: var(--chart-line); stroke-width: 1.75; }
.spark .pt.is-tipped .dot { fill: var(--brand); }
.spark .pt.is-tipped .pt-guide { opacity: 0.6; }
.spark .pt.is-tipped circle { r: 4.5px; }
.spark-key { font-size: 0.6875rem; color: var(--ink-3); margin-top: 2px; }

details.vals, details.explain { margin-top: var(--s1); font-size: 0.75rem; }
details.vals summary, details.explain summary { cursor: pointer; color: var(--ink-3); min-height: 2rem; display: inline-flex; align-items: center; gap: 6px; }
details.vals summary:hover, details.explain summary:hover { color: var(--ink); }
.glossary { display: grid; gap: 6px; padding: 2px 0 var(--s2); }
.glossary dt { font-weight: 600; color: var(--ink); }
.glossary dd { color: var(--ink-2); }
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--r-field); }
table.data { width: 100%; border-collapse: collapse; font-size: 0.75rem; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 6px var(--s3); text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { background: var(--surface-2); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ---------- research rows ---------- */

.res-row { margin-top: var(--s6); }
.res-row + .res-row { padding-top: var(--s5); border-top: 1px dashed var(--line-strong); }
.row-title { font-family: var(--font-serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.005em; }
.res-row > div > .note { margin-top: var(--s1); }

/* ---------- community ---------- */

.self-banner { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.self-banner .ic { color: var(--ink-3); }
.ccard::before { background: var(--line-strong); }
.comm-body > * + * { margin-top: var(--s3); }
.comm-summary { display: grid; gap: 6px; }
.comm-summary li { display: flex; gap: var(--s2); align-items: flex-start; font-size: 0.875rem; line-height: 1.5; }
.comm-summary .ic { margin-top: 0.2em; color: var(--ink-3); }
.hist { display: block; width: 100%; height: auto; overflow: visible; margin-top: var(--s2); }
.hist text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.hist .bar { fill: var(--d4); }
.hist .bar.in-marker { fill: var(--d1); }
.hist .hbin.is-tipped .bar { fill: var(--brand); }
.hist .axis { stroke: var(--line-strong); stroke-width: 1; }
.hist .mk { stroke: var(--marker); stroke-width: 2; }
.hist .mk-halo { stroke: var(--surface); stroke-width: 5; }
.hist .mk-halo-text { stroke: var(--surface); stroke-width: 4; paint-order: stroke; fill: var(--ink); font-size: 11px; font-weight: 600; }
.switch { display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.25rem; font-size: 0.75rem; color: var(--ink-2); cursor: pointer; margin-top: var(--s1); }
.switch input { width: 1rem; height: 1rem; accent-color: var(--brand); margin: 0; }
.pol-list { display: grid; gap: 6px; }
.pol-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 5rem; gap: var(--s2); align-items: center; font-size: 0.8125rem; }
.pol-label { font-weight: 500; }
.pol-val { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.pol-val span { color: var(--ink-3); }
.asp-list { display: grid; gap: var(--s2); }
.asp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px var(--s3); align-items: baseline; font-size: 0.8125rem; }
.asp-name { font-weight: 500; }
.asp-n { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 0.75rem; }
.asp-row .hbar { grid-column: 1 / -1; }
.bar-list { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr) 3rem; gap: var(--s2); align-items: center; font-size: 0.8125rem; }
.bar-row .bl-name { overflow-wrap: anywhere; }
.bar-row .bl-n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.quote-cols { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
.quote-col h5 { font-size: 0.8125rem; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.quote-col h5 .ic { color: var(--c); }
.quote-col[data-p="positive"] { --c: var(--pos); }
.quote-col[data-p="negative"] { --c: var(--neg); }
.qcard { border-left: 2px solid var(--c); padding: 2px 0 2px var(--s3); margin-bottom: var(--s2); }
.qcard p { font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.qcard small { display: block; color: var(--ink-3); font-size: 0.6875rem; }

/* ---------- tooltip ---------- */

.sl-tip {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  max-width: 15rem; padding: 6px 9px; border-radius: 4px;
  background: var(--tip-bg); color: var(--tip-ink);
  font-size: 0.75rem; font-weight: 500; line-height: 1.35; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* ---------- data and coverage (checker page; was the footer until 2026-10-27) ---------- */

.coverage {
  margin-inline: calc(-1 * var(--s4)); padding: var(--s6) var(--s4) var(--s7);
  border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); position: relative;
}
@media (min-width: 48rem) { .coverage { margin-inline: calc(-1 * var(--s6)); padding-inline: var(--s6); } }
.coverage::before { content: ""; position: absolute; left: 0; top: -1px; width: 4rem; height: 1px; background: var(--grad); }
.coverage-title { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.coverage dl { display: grid; gap: var(--s2); margin-top: var(--s4); }
.coverage dl > div { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: var(--s3); }
.coverage dt { font-weight: 500; color: var(--ink); }
.coverage dd { font-variant-numeric: tabular-nums; }
@media (max-width: 34rem) { .coverage dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------- site shell (2026-10-27): skip link, nav + mobile menu, page heads, content pages, footer ----------
   Shared by index.html and the content pages (solutions, how-it-works, about, contact). Same tokens as the checker;
   the brand gradient stays UI chrome only (active link, tiles, step numbers, hairlines). */

a.btn { text-decoration: none; }

.skip-link {
  position: absolute; left: var(--s4); top: 0; z-index: 60; transform: translateY(-130%);
  background: var(--surface); color: var(--ink); padding: var(--s2) var(--s3);
  border-radius: var(--r-field); box-shadow: var(--shadow-lift); font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: translateY(var(--s2)); }
#checker:focus { outline: none; }

/* nav */
.nav { flex-wrap: wrap; column-gap: var(--s4); }
.brand:focus-visible { outline-offset: 4px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 var(--s3);
  border-radius: var(--r-field); color: var(--hero-ink-2); text-decoration: none; white-space: nowrap;
  font-size: 0.875rem; font-weight: 500; transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover { color: var(--hero-ink); background: rgba(255, 255, 255, 0.06); }
.nav-links a[aria-current="page"] { color: var(--hero-ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: calc(-0.625rem - 1px); height: 2px;
  background: var(--grad); border-radius: 2px;
}
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.site-header.is-open .nav-toggle .i-menu { display: none; }
.site-header.is-open .nav-toggle .i-close { display: block; }

/* narrow screens: links fold under one menu button (site.js); without scripts they stay listed */
@media (max-width: 51.99rem) {
  .nav-toggle { display: inline-flex; }
  .nav-right { margin-left: auto; }
  .nav-links {
    order: 3; flex-basis: calc(100% + 2 * var(--s4)); flex-direction: column; align-items: stretch; gap: 0;
    margin: 0 calc(-1 * var(--s4)); padding: var(--s1) 0 var(--s3); border-top: 1px solid var(--hero-line);
  }
  .js .nav-links { display: none; }
  .js .site-header.is-open .nav-links { display: flex; }
  .nav-links a { min-height: 2.875rem; padding: 0 var(--s4); border-radius: 0; font-size: 0.9375rem; }
  .nav-links a[aria-current="page"]::after { left: 0; right: auto; top: 0.75rem; bottom: 0.75rem; width: 2px; height: auto; }
}
@media (min-width: 48rem) and (max-width: 51.99rem) {
  .nav-links { flex-basis: calc(100% + 2 * var(--s6)); margin-inline: calc(-1 * var(--s6)); }
  .nav-links a { padding-inline: var(--s6); }
}

/* page heads (content pages): left-aligned, inky like the checker hero */
.top-page::before { left: 22%; }
.top .wrap.page-head { background: transparent; }
.page-head { position: relative; padding-block: var(--s7) var(--s6); }
@media (min-width: 48rem) { .page-head { padding-block: var(--s8) var(--s7); } }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--red), var(--orange) 40%, transparent 90%); opacity: 0.85;
}
.page-head .eyebrow { color: #ff9a6a; }
.page-head .eyebrow::after { display: none; }
.page-title {
  font-family: var(--font-serif); font-weight: 400; color: var(--hero-ink);
  font-size: clamp(2.125rem, 1.3rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -0.015em;
  margin-top: var(--s4); max-width: 18ch; text-wrap: balance;
}
.page-lead { color: var(--hero-ink-2); font-size: 1rem; line-height: 1.6; margin-top: var(--s4); max-width: 40rem; text-wrap: pretty; }
@media (min-width: 48rem) { .page-lead { font-size: 1.0625rem; } }

/* content blocks: full-width rules between the rails */
.blk { margin-inline: calc(-1 * var(--s4)); padding: var(--s7) var(--s4); border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .blk { margin-inline: calc(-1 * var(--s6)); padding: var(--s8) var(--s6); } }
.site-page > .blk:first-child { border-top: 0; }
.blk-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance;
}
.blk-sub { color: var(--ink-2); margin-top: var(--s2); max-width: 40rem; }
.prose { max-width: 42rem; margin-top: var(--s4); }
.prose p { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.prose p + p { margin-top: var(--s3); }
@media (min-width: 56rem) {
  .blk-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s6); align-items: start; }
  .blk-split .prose { margin-top: 0.4rem; }
}
.prose-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.text-link {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--brand-ink); }

/* icon tile: the checker's empty-state icon box, one size up */
.tile {
  flex: none; position: relative; width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-field); background: var(--surface); color: var(--ink);
}
.tile::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -1px; height: 2px; background: var(--grad); border-radius: 2px; }
.tile .ic { width: 1.25rem; height: 1.25rem; }

/* solutions: one ruled row per audience */
.aud-list { margin-inline: calc(-1 * var(--s4)); }
@media (min-width: 48rem) { .aud-list { margin-inline: calc(-1 * var(--s6)); } }
.aud { display: grid; gap: var(--s5) var(--s7); padding: var(--s7) var(--s4); border-bottom: 1px solid var(--line); }
@media (min-width: 48rem) { .aud { padding: var(--s7) var(--s6); } }
@media (min-width: 56rem) {
  .aud { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .aud-get { padding-top: calc(2.5rem + var(--s4)); }
}
.aud-name {
  font-family: var(--font-serif); font-weight: 400; margin-top: var(--s4);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance;
}
.aud-tag { margin-top: var(--s2); font-size: 1rem; font-weight: 600; color: var(--ink); }
.aud-body { margin-top: var(--s2); color: var(--ink-2); max-width: 32rem; line-height: 1.65; }
.feat-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s1) var(--s4); }
@media (min-width: 48rem) { .feat-list { padding-inline: var(--s5); } }
.feat-list li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; line-height: 1.5; }
.feat-list li + li { border-top: 1px solid var(--line); }
.feat-list .ic { margin-top: 0.2em; width: 1.05rem; height: 1.05rem; stroke-width: 2.2; color: var(--brand); }
.soon {
  display: flex; gap: var(--s3); align-items: flex-start; max-width: 46rem; margin-top: var(--s6);
  padding: var(--s4) var(--s5); border: 1px dashed var(--line-strong); border-radius: var(--r-card); color: var(--ink-2);
}
.soon .ic { margin-top: 0.1em; width: 1.25rem; height: 1.25rem; color: var(--ink); }
.soon strong { color: var(--ink); font-weight: 600; }

/* closing call to action */
.cta-band {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6);
  margin: var(--s7) calc(-1 * var(--s4)) 0; padding: var(--s6) var(--s4) var(--s7); border-top: 1px solid var(--line);
}
@media (min-width: 48rem) { .cta-band { margin-inline: calc(-1 * var(--s6)); padding: var(--s7) var(--s6) var(--s8); } }
.cta-band::before { content: ""; position: absolute; left: 0; top: -1px; width: 4rem; height: 1px; background: var(--grad); }
.blk + .cta-band { margin-top: 0; }
.cta-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; }
.cta-sub { color: var(--ink-2); margin-top: var(--s2); max-width: 34rem; }
@media (max-width: 30rem) { .cta-band .btn-primary { flex: 1 1 100%; } }

/* how it works: a numbered sequence joined by a rail */
.steps { display: grid; max-width: 54rem; margin-top: var(--s6); }
.step { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 var(--s4); padding-bottom: var(--s6); }
@media (min-width: 48rem) { .step { gap: 0 var(--s5); padding-bottom: var(--s7); } }
.step::before { content: ""; position: absolute; left: calc(1.375rem - 0.5px); top: 3.25rem; bottom: 0.5rem; width: 1px; background: var(--line-strong); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-n {
  position: relative; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-field); background: var(--surface);
  font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.step-n::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--grad); border-radius: 2px; }
.step-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; padding-top: 0.55rem; }
.step-main p { color: var(--ink-2); margin-top: var(--s2); max-width: 42rem; line-height: 1.65; }
.design-key, .scale-list { margin-top: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.design-key li + li, .scale-list li + li { border-top: 1px solid var(--line); }
.design-key li { display: flex; gap: var(--s3); align-items: flex-start; padding: 10px var(--s4); font-size: 0.875rem; color: var(--ink-2); }
.design-key strong { color: var(--ink); font-weight: 600; }
.sw { flex: none; width: 0.75rem; height: 0.75rem; margin-top: 0.3em; border-radius: 2px; }
.sw-d1 { background: var(--d1); } .sw-d2 { background: var(--d2); } .sw-d3 { background: var(--d3); }
.sw-d4 { background: var(--d4); } .sw-d5 { background: var(--d5); }
.scale-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); align-items: center; padding: var(--s3) var(--s4); }
@media (min-width: 40rem) { .scale-list li { grid-template-columns: 10.5rem 7rem minmax(0, 1fr); gap: var(--s3); } }
.scale-list .vchip { justify-self: start; }
.scale-text { font-size: 0.875rem; color: var(--ink-2); }

.limits { display: grid; margin-top: var(--s5); border-top: 1px solid var(--line); }
@media (min-width: 48rem) { .limits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); } }
.limits li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) 0; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; }
.limits .ic { margin-top: 0.2em; color: var(--ink-3); }
.limits strong { color: var(--ink); font-weight: 600; }
.callout {
  display: flex; gap: var(--s3); align-items: flex-start; max-width: 54rem; margin-top: var(--s6); padding: var(--s4) var(--s5);
  background: var(--caution-bg); border: 1px solid var(--caution-line); border-radius: var(--r-card); color: var(--caution-ink); font-weight: 500;
}
.callout .ic { margin-top: 0.1em; width: 1.25rem; height: 1.25rem; }

/* about: principles as ruled cells */
.cells {
  display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
@media (min-width: 40rem) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .cells { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cells li {
  display: grid; gap: var(--s2); align-content: start; padding: var(--s5);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: -1px 0 0 -1px;
}
.cell-title { margin-top: var(--s2); font-size: 1rem; font-weight: 600; }
.cells p { color: var(--ink-2); font-size: 0.875rem; line-height: 1.55; }

/* contact */
.contact-grid { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s8); }
@media (min-width: 52rem) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .contact-help { padding-top: calc(var(--s6) + 1px); }   /* first heading level with the card's */
}
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); box-shadow: var(--shadow); }
@media (min-width: 48rem) { .contact-card { padding: var(--s6); } }
.contact-list { margin-top: var(--s3); }
.contact-item { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4) 0; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-item > div { min-width: 0; }
.contact-label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.contact-value {
  display: inline-block; margin-top: var(--s1); font-size: 1.25rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
}
.contact-value:hover { color: var(--brand-ink); }
.contact-item address { margin-top: var(--s1); font-style: normal; line-height: 1.6; }
.contact-btn { margin-top: var(--s3); }
.help-list { margin-top: var(--s4); border-top: 1px solid var(--line); }
.help-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.help-list h3 { font-size: 1rem; font-weight: 600; }
.help-list p { margin-top: var(--s1); color: var(--ink-2); }
.help-note { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s4); }
.help-note .ic { margin-top: 0.15em; }

/* checker page: pointers under the empty state */
.empty-more { margin-top: var(--s4); font-size: 0.875rem; color: var(--ink-2); }
.empty-more a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }

/* footer: inky in both themes, closing the page like the hero opens it */
.site-footer { background: var(--hero-bg); color: var(--hero-ink-2); font-size: 0.875rem; border-top: 1px solid var(--hero-line); }
.site-footer .wrap { border-inline: 1px solid var(--hero-line); }
.foot { position: relative; padding-top: var(--s7); }
.foot::before { content: ""; position: absolute; left: -1px; top: -1px; width: 4rem; height: 1px; background: var(--grad); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.foot-brand, .foot-note { grid-column: 1 / -1; }   /* narrow: Product and Company side by side between them */
@media (min-width: 60rem) {
  .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.5fr); gap: var(--s6); }
  .foot-brand, .foot-note { grid-column: auto; }
}
.foot-brand .brand { display: inline-flex; }
.foot-about { margin-top: var(--s3); max-width: 21rem; line-height: 1.55; }
.foot-h { margin-bottom: var(--s3); font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hero-ink); }
.foot-col ul { display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding: 4px 0; color: var(--hero-ink-2); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--hero-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .disclaimer { max-width: 24rem; color: var(--hero-ink); line-height: 1.55; }
.foot-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s5);
  margin: var(--s7) calc(-1 * var(--s4)) 0; padding: var(--s4) var(--s4) var(--s5);
  border-top: 1px solid var(--hero-line); font-size: 0.8125rem;
}
@media (min-width: 48rem) { .foot-bar { margin-inline: calc(-1 * var(--s6)); padding-inline: var(--s6); } }
.powered { color: var(--hero-ink); font-weight: 500; text-decoration: none; }
.powered:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .skeleton i { background: var(--surface-2); }
}
@media (forced-colors: active) {
  .vchip, .read-tile, .ing-chip, .vcard { border: 1px solid CanvasText; }
  .meter i.on { background: CanvasText; }
  .btn-primary { border: 1px solid ButtonText; }
  .rd-sec.is-reading::after { border-color: Highlight; }
  .rd-link[aria-current="true"]::before { background: Highlight; forced-color-adjust: none; }
  .rd-brace path { stroke: Highlight; }
}

/* ---------- progressive disclosure (2026-10-23): compact rows that open on request ---------- */

.crows { display: grid; gap: var(--s2); margin-top: var(--s4); max-width: 46rem; }
.dz { position: relative; }
.dz-btn {
  display: flex; align-items: center; gap: var(--s3); width: 100%; text-align: left;
  padding: 12px var(--s3) 12px var(--s4); min-height: 3.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  color: var(--ink); font: inherit; cursor: pointer; transition: background-color 0.15s, border-color 0.15s;
}
.dz-btn:hover { background: var(--surface-2); border-color: var(--line-strong); }
.dz-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--s3); flex: 1 1 auto; min-width: 0; }
.dz-chev { flex: none; display: inline-flex; color: var(--ink-3); transition: transform 0.15s; }
.dz.is-open > .dz-btn .dz-chev { transform: rotate(180deg); }
.dz.is-open > .dz-btn { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.dz-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card); background: var(--surface); padding: var(--s3) var(--s4) var(--s4); min-width: 0; }
.crow > .dz-btn { position: relative; overflow: hidden; }
.crow > .dz-btn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--vc, var(--line-strong)); }
.crow-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 14rem; }
.crow-head { font-family: var(--font-serif); font-weight: 400; font-size: 1.125rem; line-height: 1.3; overflow-wrap: anywhere; }
.crow-sub { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.crow-sub:empty { display: none; }
.crow-chip { flex: none; }
.claim.crow { margin-top: 0; }
.claim.crow + .claim.crow { padding-top: 0; border-top: 0; }
.phrases { display: grid; gap: 4px; margin: 6px 0 var(--s2); font-size: 0.875rem; color: var(--ink-2); }
.phrases li { overflow-wrap: anywhere; }
.vague-line { padding: 10px var(--s4); border: 1px dashed var(--line-strong); border-radius: var(--r-card); background: transparent; }
.vague-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s3); }
.vague-text { font-size: 0.875rem; color: var(--ink-2); }
.inactive-line { margin-top: var(--s3); font-size: 0.8125rem; color: var(--ink-3); overflow-wrap: anywhere; }
.inactive-k { color: var(--ink-2); font-weight: 500; }
.tag-med { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; vertical-align: 1px; color: var(--brand-ink); background: var(--brand-soft); }
.lazy { margin-top: var(--s3); }
.lazy-btn { gap: 6px; }
.lazy-btn .ic { transition: transform 0.15s; }
.lazy-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.lazy-panel { margin-top: var(--s2); }
.sec-dz > .dz-btn { padding-top: var(--s4); padding-bottom: var(--s4); }
.sec-dz .section-title { margin: 0; }
.sec-dz .section-sub { margin-top: 2px; }
.sec-dz > .dz-body { display: grid; gap: var(--s2); }
.irow > .dz-btn, .orow > .dz-btn { min-height: 3rem; padding-top: 10px; padding-bottom: 10px; }
.irow .crow-head { font-size: 1.0625rem; }
.orow { margin-top: var(--s2); }
.orow > .dz-body { padding: var(--s2); }

/* ---------- ingredient profile (2026-10-24): stored data shown at once ---------- */

.seg-positive { background: var(--pos); } .seg-negative { background: var(--neg); } .seg-mixed { background: var(--mix); }
.profile + .profile { border-top: 1px solid var(--line); }
.pf-intro { margin-top: var(--s3); }
.pf-top { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 56rem) { .pf-top { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s6); } }
.pf-hero { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s4); align-items: start; }
@media (min-width: 36rem) { .pf-hero { grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--s5); } }
.pf-compact .pf-hero { grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s3); }
.pf-eyebrow { color: var(--ink-2); margin-bottom: var(--s2); }
.pf-eyebrow::after { display: none; }
.pf-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.875rem, 1.3rem + 2vw, 2.875rem); line-height: 1.06; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.pf-compact .pf-name { font-size: 1.375rem; line-height: 1.15; }
.pf-desc { margin-top: var(--s2); color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; max-width: 36rem; }
.pf-compact .pf-desc { font-size: 0.8125rem; margin-top: 4px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.pf-compact .pf-chips { margin-top: var(--s2); }
.fact-med { color: var(--brand-ink); background: var(--brand-soft); border-color: transparent; font-weight: 600; }
.pf-alias { margin-top: var(--s2); font-size: 0.8125rem; color: var(--ink-2); overflow-wrap: anywhere; }
.pf-alias > span:first-child { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.pf-alias + .pf-alias { margin-top: 2px; }

/* the picture: a photo, or the illustration on a dotted ground with a faint warm glow */
.art { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 60%),
    radial-gradient(var(--art-dot) 1px, transparent 1.2px) 0 0 / 9px 9px, var(--art-bg); }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art[data-kind="illustration"] { padding: 8%; }
.art-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.art-svg .a-ink, .art-svg .a-thin { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.art-svg .a-ink { stroke-width: 2.4; }
.art-svg .a-thin { stroke-width: 1.5; opacity: 0.6; }
.art-svg .a-fill, .art-svg .a-fill2, .art-svg .a-acc { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.art-svg .a-fill { fill: var(--art-fill); }
.art-svg .a-fill2 { fill: var(--art-fill-2); }
.art-svg .a-hl { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 2.8; stroke-linecap: round; }
.art-svg circle.a-hl { fill: rgba(255, 255, 255, 0.82); stroke: none; }

/* research totals + trend */
.pf-research { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); min-width: 0; }
.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); padding-bottom: var(--s3); margin-bottom: var(--s3); }
.pf-stat { display: grid; gap: 2px; padding-right: var(--s2); }
.pf-stat + .pf-stat { padding-left: var(--s3); border-left: 1px solid var(--line); }
.pf-stat b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pf-stat span { font-size: 0.75rem; line-height: 1.3; color: var(--ink-2); }
.pf-trend .spark { max-height: 9rem; }

.pf-block { margin-top: var(--s6); }
.pf-h { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; }
.pf-h4 { font-family: var(--font-serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.25; }
.pf-block .self-banner { margin-top: var(--s2); }

/* outcome cards: a grid on wide screens, a swipe row on phones */
.oc-grid { display: grid; gap: var(--s3); margin-top: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); align-items: stretch; }
@media (max-width: 40rem) {
  .oc-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--s4)); padding: 2px var(--s4) var(--s3); scroll-padding-inline: var(--s4);
    scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
  .oc-grid > * { scroll-snap-align: start; }
  .oc-grid > .loadbox, .oc-grid > .lens-empty, .oc-grid > .errbox { grid-column: auto; min-width: calc(100vw - 2 * var(--s4)); }
}
.ocard { position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); overflow: hidden; }
.ocard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--vc, var(--line-strong)); }
.oc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s2); }
.oc-rank { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; color: var(--ink-3); padding-bottom: 2px; border-bottom: 1px solid transparent; border-image: var(--grad) 1; }
.oc-name { font-family: var(--font-serif); font-weight: 400; font-size: 1.3125rem; line-height: 1.2; flex: 1 1 calc(100% - 2.5rem); min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.oc-chip { flex: none; width: 100%; }
.oc-body { margin-top: var(--s3); display: grid; gap: var(--s2); align-content: start; flex: 1; }
.oc-line { font-size: 0.875rem; line-height: 1.45; font-weight: 600; }
.oc-line.is-plain { font-weight: 500; color: var(--ink-2); }
.oc-why { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.oc-charts { display: grid; gap: var(--s2); margin-top: 2px; }
.oc-cap { font-size: 0.75rem; color: var(--ink-3); margin-bottom: 4px; line-height: 1.35; }
.oc-quote { margin: 2px 0 0; border-left: 2px solid var(--line-strong); padding: 2px 0 2px var(--s3); }
.oc-quote[data-st="supports"] { border-left-color: var(--v-well); }
.oc-quote[data-st="contradicts"] { border-left-color: var(--v-contradicted); }
.oc-quote[data-st="qualifies"] { border-left-color: var(--v-mixed); }
.oc-quote blockquote { font-size: 0.8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.oc-quote figcaption { display: grid; gap: 1px; margin-top: 4px; font-size: 0.6875rem; color: var(--ink-3); }
.oc-q-st { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink-2); }
.oc-q-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.oc-actions { margin-top: var(--s1); }
.oc-check { gap: 6px; }
.oc-note { font-size: 0.75rem; color: var(--ink-3); }
.ocard .lazy { margin-top: auto; padding-top: var(--s1); }
.ocard .lazy-panel .ev { margin-top: var(--s2); }

/* what users say */
.pf-users { margin-top: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); }
.pf-users > .vc-meta { margin: 0 0 var(--s3); }
.pf-users-grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .pf-users-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s6); } }
.tone-key { display: flex; flex-wrap: wrap; gap: 4px var(--s3); margin-top: var(--s2); font-size: 0.75rem; color: var(--ink-2); }
.tone-key li { display: inline-flex; align-items: center; gap: 5px; }
.tone-key b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* compact profiles under a label's claims */
.pf-compact-grid { display: grid; gap: var(--s3); margin-top: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.pf-rest { margin-top: var(--s5); }
.pf-compact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s4); min-width: 0; }
.pf-outs { display: grid; margin-top: var(--s3); border-top: 1px solid var(--line); }
.pf-outs li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--s2); padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.875rem; }
.pf-out-name { min-width: 0; overflow-wrap: anywhere; }
.pf-users-line { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s3); font-size: 0.8125rem; color: var(--ink-2); line-height: 1.45; }
.pf-users-line .ic { margin-top: 0.15em; color: var(--ink-3); }
.pf-compact > .lazy-btn { margin-top: var(--s3); }
.pf-compact > .lazy-btn .ic { transition: transform 0.15s; }
.pf-compact > .lazy-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.pf-more { margin-top: var(--s3); }
.pf-more .pf-block { margin-top: var(--s4); }
.pf-more .oc-grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 40rem) { .pf-more .oc-grid { grid-template-columns: none; } }

/* (2026-10-27) research box: trend 60% + study-type pie 40%, stacked when the box is narrow */
.pf-research { container-type: inline-size; }
.pf-charts { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@container (min-width: 30rem) { .pf-charts { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s5); } .pf-pie { border-left: 1px solid var(--line); padding-left: var(--s4); } }
.pie-wrap { display: grid; gap: var(--s2); }
.pie { display: block; width: 100%; max-width: 8.5rem; height: auto; margin: var(--s2) auto 0; }
.pie .slice { stroke: var(--surface); stroke-width: 1; cursor: default; }
.pie .slice.is-tipped { stroke: var(--brand); stroke-width: 1.5; }
.pie .pie-n { font-family: var(--font-serif); font-size: 15px; fill: var(--ink); }
.pf-pie .legend li { font-size: 0.75rem; min-height: 1.3rem; }
/* (2026-10-27) wide screens: research box spans the full width under the hero so trend + pie sit side by side */
@media (min-width: 56rem) { .pf-top { grid-template-columns: minmax(0, 1fr); gap: var(--s5); } }
.pf-charts .pf-trend .spark { max-height: 13rem; }

/* ---------- reading guide (2026-10-29): which section is being read, with two or more ingredients on the page ----------
   app.js navMount. The section under the reading line gets a coloured box (its ::after; app.js reads these insets to place
   the brace tips). The guide lists the sections: a chip bar at the top of the results that sticks once the header and
   intro are scrolled away; from 90rem, where the page leaves room beside the 66rem column, a sticky side list with a curly
   brace (SVG) from the active entry to the box. The active entry is marked by colour, a marker and a heavier weight. */

#results > .rd-wrap:first-child + .section { margin-top: 0; padding-top: 0; border-top: 0; }
.rd-sec { position: relative; }
/* focused only to move screen readers there (the results heading after Analyse, a section picked in the guide) */
#results [tabindex="-1"]:focus { outline: none; }
.rd-sec::after {
  content: ""; position: absolute; inset: 6px 6px -14px; z-index: 1; pointer-events: none;
  border: 2px solid transparent; border-radius: var(--r-card); transition: border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 48rem) { .rd-sec::after { inset: 12px 12px -20px; } }
.pf-compact.rd-sec::after { inset: -5px; border-radius: calc(var(--r-card) + 4px); }
.rd-sec.is-reading::after { border-color: var(--reading); box-shadow: 0 0 0 4px var(--reading-soft); }

/* phones and narrower screens: a chip bar */
.rd-wrap {
  position: sticky; top: var(--rd-top, 0px); z-index: 20;
  margin: calc(-1 * var(--s6)) calc(-1 * var(--s4)) var(--s5);
  background: var(--bg); border-bottom: 1px solid var(--line);
}
@media (min-width: 48rem) { .rd-wrap { margin-inline: calc(-1 * var(--s6)); } }
.rd-title { display: none; }
.rd-scroll {
  position: relative; display: flex; align-items: center; gap: 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: var(--s2) var(--s4);
}
.rd-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 48rem) { .rd-scroll { padding-inline: var(--s6); } }
.rd-list { display: flex; gap: 6px; flex: none; }
.rd-group { flex: none; align-self: stretch; width: 1px; margin: 6px 4px; background: var(--line-strong); }
.rd-group span {                                  /* a divider on the bar; the words stay for screen readers */
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.rd-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  min-height: 2.25rem; padding: 0 var(--s3); border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; line-height: 1.25; text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.rd-link:hover { color: var(--ink); border-color: var(--line-strong); }
.rd-link.is-small { font-size: 0.75rem; color: var(--ink-3); background: transparent; }
.rd-sub { display: none; }
.rd-link[aria-current="true"] { color: var(--ink); font-weight: 650; border-color: var(--reading); background: var(--reading-soft); }
.rd-link[aria-current="true"]::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--reading); }
.rd-brace { display: none; }

/* wide screens: a sticky list in the room left of the page, and the brace */
@media (min-width: 90rem) {
  #results.has-rd { position: relative; }
  .rd-wrap {
    position: absolute; top: var(--s6); bottom: 0; right: calc(100% + var(--s6) + 1.5rem); width: 9.5rem;
    margin: 0; background: none; border: 0; z-index: 2;
  }
  .rd-nav {
    position: sticky; top: calc(var(--rd-top, 0px) + var(--s5));
    max-height: calc(100vh - var(--rd-top, 0px) - 2 * var(--s5)); overflow-y: auto; scrollbar-width: thin;
  }
  .rd-title {
    display: block; padding: 0 0 var(--s2) var(--s3); margin-bottom: var(--s1); border-bottom: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
  }
  .rd-scroll { display: block; overflow: visible; padding: 0; }
  .rd-list { display: grid; gap: 1px; }
  .rd-group { width: auto; margin: var(--s3) 0 var(--s1); background: none; padding-left: var(--s3); }
  .rd-group span {
    position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal;
    font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3);
  }
  .rd-link {
    display: block; white-space: normal; overflow-wrap: anywhere; min-height: 0;
    padding: 5px var(--s2) 5px var(--s3); border: 0; border-radius: var(--r-field); background: transparent; line-height: 1.3;
  }
  .rd-link:hover { background: var(--surface-2); }
  .rd-link.is-small { padding-block: 3px; background: transparent; }
  .rd-sub { display: block; margin-top: 1px; font-size: 0.6875rem; font-weight: 400; color: var(--ink-3); }
  .rd-link[aria-current="true"] { background: var(--reading-soft); }
  .rd-link[aria-current="true"]::before { position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; height: auto; border-radius: 2px; }
  .rd-brace { display: block; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; overflow: visible; }
  .rd-brace path { fill: none; stroke: var(--reading); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
}
/* keyboard focus never lands under the sticky chip bar */
@media (max-width: 89.99rem) { :root:has(#results.has-rd) { scroll-padding-top: 4rem; } }

/* ===================== (2026-10-29) /panel: the checker inside the Chrome extension =====================
   No site header, nav or hero. A slim bar (logo, "Read this page again", theme), what was read from the open tab, the
   label text folded away, the results, a slim footer. Works from 400 px (the old side panel, a narrow drawer) up to the
   in-page drawer's 1000-1500 px: from 48rem the results column, the cards, charts and the reading guide (chip bar, or the
   side list from 90rem) are the website's own, measured on the panel's width.
   (2026-10-29, extension 0.2.0) html.sl-drawer = inside the in-page drawer (theme.js, ?host=drawer): the drawer's header
   has the name, "Read this page again", the theme and Close, so the panel's bar is not shown. */
html.sl-panel { overscroll-behavior: contain; }          /* scrolling past the end never moves the shop page under the drawer */
html.sl-panel body { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.sl-panel.sl-drawer .pn-bar { display: none; }
.sl-panel.sl-drawer .pn-top .pn-source { margin-top: 0; }
.sl-panel .pn-top { padding: var(--s3) var(--s4) var(--s2); border-bottom: 1px solid var(--line); background: var(--surface); }
.sl-panel .pn-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.sl-panel .pn-bar .brand, .sl-panel .pn-bar .brand-name { color: var(--ink); }
.sl-panel .pn-bar .brand-mark { width: 1.5rem; height: 1.5rem; }
.sl-panel .pn-bar .brand-name { font-size: 0.9375rem; }
.sl-panel .pn-actions { display: flex; align-items: center; gap: var(--s2); }
.sl-panel .pn-actions .btn-icon { width: 2.25rem; min-height: 2.25rem; }
.sl-panel .pn-reread { min-height: 2.25rem; padding: 0 var(--s3); font-size: 0.8125rem; }
.sl-panel .pn-source { margin-top: var(--s3); }
.sl-panel .pn-source p { margin: 0; }
.sl-panel .pn-from { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.sl-panel .pn-name { margin-top: 2px; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sl-panel .pn-note { margin-top: 4px; font-size: 0.75rem; line-height: 1.45; color: var(--ink-2); }
.sl-panel .pn-state { display: flex; align-items: flex-start; gap: var(--s2); font-size: 0.875rem; line-height: 1.45; color: var(--ink); }
.sl-panel .pn-state .ic { flex: none; width: 1.125rem; height: 1.125rem; margin-top: 1px; color: var(--ink-2); }
.sl-panel .pn-edit { margin-top: var(--s3); }
.sl-panel .pn-edit > summary { cursor: pointer; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); padding: var(--s1) 0; list-style-position: inside; }
.sl-panel .pn-edit > summary:hover { color: var(--ink); }
.sl-panel .pn-edit[open] > summary { margin-bottom: var(--s2); }
.sl-panel .pn-edit .input-card { padding: var(--s3); box-shadow: none; }
.sl-panel .pn-edit .input-row { flex-wrap: wrap; }
.sl-panel .pn-edit .input-row .btn-primary { width: 100%; }
.sl-panel .pn-page { flex: 1 0 auto; border-inline: 0; padding-block: var(--s2) var(--s5); }   /* the site's 66rem column */
.sl-panel .sl-slot { display: block; min-height: 3.5rem; margin: var(--s3) 0; border: 1px dashed var(--line-strong); border-radius: var(--r-card); }
.sl-panel .sl-slot[hidden] { display: none; }
.sl-panel .pn-foot { padding: var(--s3) var(--s4) var(--s4); border-top: 1px solid var(--line); background: var(--surface); font-size: 0.75rem; line-height: 1.5; color: var(--ink-2); }
.sl-panel .pn-foot p + p { margin-top: var(--s1); }
.sl-panel .pn-foot .powered { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.sl-panel .pn-foot .powered:hover { color: var(--ink); }
@media (max-width: 47.99rem) { .sl-panel .product-name { font-size: 1.25rem; line-height: 1.3; overflow-wrap: anywhere; } }
/* a wide panel: the top bar and the footer line up with the results column */
@media (min-width: 48rem) {
  .sl-panel .pn-top, .sl-panel .pn-foot { padding-inline: max(var(--s6), calc((100% - 66rem) / 2 + var(--s6))); }
}
.sl-panel .product { padding-top: var(--s2); }
