:root {
  --ink: #ffffff;
  --ink-2: #f5f5f3;
  --ink-3: #e9e9e6;
  --paper: #ffffff;
  --paper-high: #ffffff;
  --paper-inset: #f0f0ed;
  --whey: #ffffff;
  --signal: #d71913;
  --signal-bright: #b5120d;
  --sale: #d71913;
  --sale-wash: #fff0ef;
  --water: #ffffff;
  --protein: #111111;
  --carb: #d71913;
  --fat: #858581;
  --text-1: #111111;
  --text-2: #333331;
  --text-3: #5d5d59;
  --text-muted: #6b6b67;
  --line: #d2d2ce;
  --line-soft: #e6e6e2;
  --line-strong: #8c8c87;
  --control: #f0f0ed;
  --focus: #d71913;
  --z-modal-backdrop: 40;
  --z-modal: 50;
  --radius-sm: 0;
  --radius-md: 0;
  --space: 4px;
  --font-interface: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-data: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --power-slant: oblique 10deg;
  font-family: var(--font-interface);
  color: var(--text-1);
  background: var(--ink);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; min-width: 320px; background: var(--ink); }
.is-loading { overflow: hidden; }
.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
input:focus-visible, select:focus-visible { outline: 0; }

main { overflow: hidden; }
.site-header { padding: 0 clamp(18px, 4vw, 64px); color: #fff; background: #111; }
.site-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-wordmark { font: 900 13px var(--font-data); letter-spacing: .12em; }
.site-nav > div { display: flex; align-items: stretch; color: #c8c8c4; font-size: 11px; font-weight: 800; }
.site-nav > div a { min-height: 38px; padding: 0 14px; display: grid; place-items: center; border-left: 1px solid #464644; }
.site-nav > div a:last-child { border-right: 1px solid #464644; }
.site-nav a:hover { color: #ff665f; background: #1b1b1a; }
.section-eyebrow { margin: 0 0 18px; color: #ff665f; font: 900 11px var(--font-data); letter-spacing: .12em; text-transform: uppercase; }
.seo-fallback-section { padding: 48px clamp(18px, 4vw, 64px); color: var(--text-1); background: #fff; }
.seo-fallback-section h2 { margin: 0; font-size: 32px; }
.seo-fallback-section p { max-width: 760px; line-height: 1.8; }
.deal-strip { height: 72px; display: flex; align-items: stretch; overflow: hidden; border-top: 1px solid #ff665f; color: #fff; background: var(--signal); }
.deal-strip h3 { position: relative; z-index: 2; width: clamp(92px, 9vw, 132px); flex: 0 0 auto; margin: 0; display: grid; place-items: center; border-right: 2px solid rgba(255,255,255,.72); color: #fff; background: var(--signal); font-family: var(--font-display); font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.deal-viewport { min-width: 0; flex: 1; overflow: hidden; }
.deal-track { width: max-content; min-width: 100%; height: 100%; display: flex; animation: deal-ticker 28s linear infinite; will-change: transform; }
.deal-run { height: 100%; display: flex; align-items: stretch; }
.deal-ticker-item { min-width: max-content; height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 13px; border: 0; color: #fff; background: transparent; cursor: pointer; text-align: left; }
.deal-run[aria-hidden="true"] .deal-ticker-item { cursor: default; }
.deal-ticker-item:hover, .deal-ticker-item:focus-visible { background: rgba(0,0,0,.18); }
.deal-ticker-copy { display: flex; align-items: baseline; gap: 9px; }
.deal-ticker-copy b { font-size: 13px; font-weight: 900; white-space: nowrap; }
.deal-ticker-copy small { color: rgba(255,255,255,.82); font: 800 12px var(--font-data); white-space: nowrap; }
.deal-ticker-item > i { width: 2px; height: 30px; margin-left: 7px; transform: skewX(-10deg); background: rgba(255,255,255,.54); }
.deal-strip:hover .deal-track, .deal-strip:focus-within .deal-track { animation-play-state: paused; }
.deal-empty { margin: auto 20px; font-size: 13px; font-weight: 700; }
@keyframes deal-ticker { to { transform: translateX(-50%); } }

.brand-mark { position: relative; width: 112px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #080808; background: #fff; }
.brand-mark img, .brand-mark svg { position: absolute; inset: 5px 7px; width: calc(100% - 14px); height: calc(100% - 10px); object-fit: contain; }
.brand-mark.has-asset img { opacity: 0; }
.brand-mark.has-asset.is-loaded img { opacity: 1; }
.brand-mark svg { fill: currentColor; }
.brand-mark.has-asset.is-loaded .brand-fallback { visibility: hidden; }
.brand-mark.is-fallback img { display: none; }
.brand-mark.has-dark-fill.is-loaded { background: #0b0b0b; }
.brand-fallback { padding: 0 7px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 900; font-style: var(--power-slant); letter-spacing: -.035em; white-space: nowrap; }
.brand-mark--myprotein { color: #003942; }
.brand-mark--fixit img { inset: 2px 6px; width: calc(100% - 12px); height: calc(100% - 4px); }
.brand-mark--izmo img, .brand-mark--naturecan img { inset-inline: 5px; width: calc(100% - 10px); }
.brand-mark--be-legend img, .brand-mark--limitest img, .brand-mark--muscletech img { inset-block: 7px; height: calc(100% - 14px); }
.brand-mark:not(.is-loaded) { place-items: center start; color: var(--text-1); background: transparent; }
.deal-strip .brand-mark:not(.is-loaded) { color: #fff; }
.brand-mark--table:not(.is-loaded), .brand-mark--detail:not(.is-loaded) { color: #111; background: #fff; }
.brand-mark--table:not(.is-loaded) .brand-fallback, .brand-mark--detail:not(.is-loaded) .brand-fallback { color: #111; }
.brand-mark--ticker { width: 104px; height: 30px; }
.brand-mark--detail { width: 154px; height: 46px; }

.static-data-error { padding: 20px clamp(18px, 4vw, 64px); background: var(--paper-high); color: var(--text-1); border-bottom: 2px solid var(--signal); }
.static-data-error h2 { font-size: 18px; }
.compare-section { padding: 48px clamp(18px, 4vw, 64px) 88px; background: var(--paper-high); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; gap: 10px; }
.section-title h1, .section-title h2 { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.section-title h1 span, .section-title h2 span { margin-left: 10px; color: var(--signal-bright); font: 800 13px var(--font-data); letter-spacing: 0; white-space: nowrap; }
.compare-stats { margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.compare-stats > div { min-height: 82px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-stats dt { color: var(--text-muted); font-size: 10px; font-weight: 800; }
.compare-stats dd { margin: 10px 0 0; font: 900 24px/1 var(--font-data); }
.compare-stats dd small { margin-left: 5px; color: var(--text-muted); font-size: 10px; }
.compare-stats dd.is-date { font-size: 12px; line-height: 1.35; }
.compare-stats dd.is-date small { display: block; margin: 4px 0 0; }
.info-disclosure { position: relative; flex: 0 0 auto; }
.info-disclosure[open] { z-index: 60; }
.info-disclosure[open]::before { content: ""; position: fixed; z-index: 1; inset: 0; background: rgba(17,17,17,.28); }
.info-disclosure summary { width: 28px; height: 28px; display: grid; place-items: center; list-style: none; border: 0; color: var(--text-muted); background: transparent; cursor: pointer; }
.info-disclosure summary::-webkit-details-marker { display: none; }
.info-disclosure summary span { width: 18px; height: 18px; display: grid; place-items: center; }
.info-disclosure summary svg { width: 18px; height: 18px; stroke-width: 1.5; }
.info-disclosure summary:hover, .info-disclosure[open] summary { color: var(--text-2); background: transparent; }
.info-disclosure[open] summary { position: relative; z-index: 0; }
.info-disclosure summary:focus-visible { border-radius: 50%; outline: 2px solid var(--focus); outline-offset: 0; }
.info-disclosure:not([open]) .info-panel { display: none; }
.info-panel { position: fixed; z-index: 2; top: 50%; left: 50%; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 64px); padding: 20px; overflow-y: auto; transform: translate(-50%, -50%); border: 1px solid rgba(17,17,17,.12); border-radius: 12px; color: var(--text-2); background: #fff; box-shadow: 0 20px 60px rgba(17,17,17,.18); font-size: 13px; font-weight: 600; line-height: 1.75; }
.info-panel p { margin: 0; }
.info-panel p + p { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.control-deck { padding: 12px; background: var(--ink-2); border: 1px solid var(--line-strong); }
.searchbox { height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); }
.searchbox:focus-within { border-color: var(--line); background: var(--sale-wash); }
.searchbox svg { width: 16px; }
.searchbox input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text-1); background: transparent; font-size: 13px; font-weight: 700; }
.searchbox input::placeholder { color: var(--text-muted); }
.searchbox button { height: 34px; min-width: 68px; padding: 0 16px; border: 0; color: #fff; background: var(--signal); cursor: pointer; white-space: nowrap; font: 800 13px var(--font-interface); }
.searchbox button:hover { background: var(--signal-bright); }
.searchbox button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.searchbox button:disabled { color: var(--text-muted); background: var(--ink-3); cursor: default; }
.table-settings { margin-top: 10px; border-top: 1px solid var(--line); }
.settings-line { min-height: 48px; display: flex; align-items: center; overflow-x: auto; scrollbar-width: thin; }
.settings-line + .settings-line { border-top: 1px solid var(--line); }
.settings-line > :nth-child(2) { margin-left: 10px; }
.settings-line > :last-child { margin-right: 10px; }
.setting-label { position: sticky; left: 0; z-index: 1; width: 78px; min-width: 78px; align-self: stretch; padding: 0 12px; display: flex; align-items: center; box-sizing: border-box; border-right: 1px solid var(--line); color: var(--text-muted); background: var(--ink-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.filter-set, .sort-set { gap: 2px; }
.metric-switch { display: flex; gap: 2px; }
.filter-set button, .sort-set button, .metric-switch button { height: 38px; padding: 0 11px; border: 0; background: transparent; color: var(--text-3); cursor: pointer; font: 700 12px/1 var(--font-interface); }
.filter-set button:hover, .sort-set button:hover { color: var(--text-1); background: var(--ink-3); }
.filter-set button.active, .sort-set button.active { color: #fff; background: var(--signal); }
.filter-set .sale-filter { margin-right: 8px; border: 1px solid var(--signal); color: var(--signal-bright); }
.filter-set .sale-filter:hover { border-color: var(--signal); color: var(--signal-bright); background: var(--sale-wash); }
.filter-set .sale-filter.active { border-color: var(--signal); color: #fff; background: var(--signal); }
.shipping-settings { gap: 6px; }
.shipping-settings select, .shipping-settings input { height: 32px; border: 1px solid var(--line-strong); border-radius: 0; outline: 0; color: var(--text-1); background: #fff; font: 800 12px var(--font-interface); }
.shipping-settings select { max-width: 136px; padding: 0 26px 0 8px; cursor: pointer; }
.shipping-settings input { width: 108px; padding: 0 8px; font-family: var(--font-data); }
.shipping-settings select:focus-visible, .shipping-settings input:focus-visible { border-color: var(--line-strong); outline: 0; background: var(--sale-wash); }
.shipping-settings button { min-width: 56px; height: 32px; padding: 0 10px; flex: 0 0 56px; border: 1px solid #111; color: #fff; background: #111; font-size: 11px; font-weight: 900; white-space: nowrap; writing-mode: horizontal-tb; cursor: pointer; }
.shipping-settings button:hover:not(:disabled), .shipping-settings button:focus-visible { border-color: var(--signal); background: var(--signal); }
.shipping-settings button:disabled { border-color: var(--line); color: var(--text-muted); background: var(--ink-3); cursor: default; }

.table-shell { width: 100%; overflow-x: auto; border: 1px solid #111; background: #fff; }
table { width: max-content; min-width: 100%; border-collapse: collapse; table-layout: auto; }
th { height: 58px; padding: 0 12px; border-bottom: 2px solid #111; color: #fff; background: #111; text-align: left; white-space: nowrap; font-size: 12px; font-weight: 900; line-height: 1.5; }
th:first-child, td:first-child { width: 64px; padding-left: 12px; }
th:nth-child(2) { min-width: 240px; }
th small { font-size: 11px; color: #c9c9c5; font-weight: 600; }
td { height: 94px; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.product-row:not([data-open]) { cursor: default; }
.product-row { cursor: pointer; transition: background .16s ease; }
.product-row.is-alt { background: var(--ink-2); }
.product-row:hover { background: var(--ink-3); }
.product-row:active { background: var(--sale-wash); }
.product-row:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--focus); outline-offset: -2px; }
tbody tr:last-child td { border-bottom: 0; }
.table-rank { width: 40px; height: 42px; display: grid; grid-template-rows: 1fr 1fr; place-items: center start; color: var(--text-3); font: 800 12px var(--font-data); }
.table-rank b { align-self: end; }
.table-rank i { align-self: start; color: var(--signal-bright); font: 900 15px/1 var(--font-interface); }
.product-label { max-width: 300px; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; }
.product-label small { display: -webkit-box; overflow: hidden; color: var(--text-2); font-size: 12px; font-weight: 600; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.type-stamp { padding: 4px 6px; border: 1px solid #111; color: #111; font: 800 12px var(--font-data); letter-spacing: .04em; }
.amount { margin-left: 7px; color: var(--text-3); font: 600 13px var(--font-data); }
.price-cell strong { display: block; color: var(--text-1); white-space: nowrap; font: 900 23px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.price-cell strong small { color: var(--text-3); font-size: 11px; }
.price-cell { min-width: 210px; }
.shipping-status { margin-top: 7px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.shipping-status > span:last-child { color: var(--text-3); font: 700 11px var(--font-data); }
.shipping-badge { padding: 3px 6px; border: 1px solid #111; color: #fff; background: #111; font-size: 10px; font-weight: 900; line-height: 1.2; }
.shipping-badge.is-paid { border-color: var(--signal); background: var(--signal); }
.shipping-badge.is-unknown { border-color: var(--signal); color: var(--signal-bright); background: var(--sale-wash); }
.shipping-badge.is-unsupported { border-color: #111; color: #111; background: #fff; text-decoration: line-through; }
.shipping-badge.is-pending { border-color: var(--line-strong); color: var(--text-3); background: var(--ink-2); }
.protein-cell span { display: block; margin-top: 5px; color: var(--text-3); white-space: nowrap; font: 600 11px var(--font-data); }
.deal-badge { display: inline-block; padding: 5px 7px; color: var(--paper); background: var(--sale); white-space: nowrap; font-size: 11px; font-weight: 800; }
.deal-cell small { display: block; margin-top: 5px; color: var(--signal-bright); font: 700 12px var(--font-data); }
.no-deal { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.nutrition-cell { min-width: 96px; }
.nutrition-cell strong { color: var(--text-1); font: 900 25px/1 var(--font-data); font-variant-numeric: tabular-nums; }
.rating { min-width: 54px; display: flex; flex-direction: column; gap: 6px; color: var(--text-1); font: 800 17px var(--font-data); }
.rating i { position: relative; display: block; width: 48px; height: 3px; background: var(--line); }
.rating i::after { content: ""; display: block; width: var(--fill); height: 100%; background: var(--signal); }
.pending { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.reviews strong { color: var(--text-1); font: 800 17px var(--font-data); }
.reviews span { margin-left: 3px; color: var(--text-muted); font-size: 11px; }
.purchase-cell { min-width: 156px; }
.purchase-cell a { min-height: 36px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--signal); color: #fff; background: var(--signal); font-size: 11px; font-weight: 900; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.purchase-cell a:hover { border-color: var(--signal-bright); background: var(--signal-bright); }
.purchase-cell a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.purchase-cell svg { width: 12px; height: 12px; }
.empty { height: 180px; text-align: center; color: var(--text-3); }
.record-toggle { width: 100%; min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #111; border-top: 0; color: #fff; background: #111; cursor: pointer; transition: color .16s ease, background .16s ease; }
summary.record-toggle { list-style: none; }
summary.record-toggle::-webkit-details-marker { display: none; }
[data-record-list]:not([open]) .record-label-open,
[data-record-list][open] .record-label-closed { display: none; }
.record-toggle:hover { background: #2b2b29; }
.record-toggle:active { background: var(--signal); }
.record-toggle span { font-size: 13px; font-weight: 900; }
.record-toggle b { margin-left: 4px; color: #ff665f; font-size: 16px; line-height: 1; }

.methodology-section, .faq-section { padding: clamp(76px, 9vw, 132px) clamp(18px, 6vw, 96px); }
.methodology-section { color: #fff; background: #111; }
.methodology-section h2, .faq-section h2 { max-width: 950px; margin: 0; font-family: var(--font-display); font-size: clamp(34px, 5vw, 66px); font-weight: 900; line-height: 1.08; letter-spacing: -.055em; }
.method-lead { max-width: 760px; margin: 24px 0 0; color: #c8c8c4; font-size: 14px; font-weight: 600; line-height: 1.9; }
.method-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #555552; border-left: 1px solid #555552; }
.method-grid article { min-height: 320px; padding: clamp(24px, 3vw, 42px); border-right: 1px solid #555552; border-bottom: 1px solid #555552; }
.method-grid article > b { color: #ff665f; font: 900 13px var(--font-data); }
.method-grid h3 { margin: 46px 0 0; font-size: 22px; font-weight: 900; }
.method-grid p { margin: 18px 0 0; color: #c8c8c4; font-size: 13px; font-weight: 600; line-height: 1.85; }
.method-grid code { margin-top: 28px; padding-top: 16px; display: block; border-top: 1px solid #3b3b39; color: #ff817b; font: 700 11px/1.6 var(--font-data); }
.faq-section { color: var(--text-1); background: #fff; }
.faq-section .section-eyebrow { color: var(--signal); }
.faq-list { max-width: 1120px; margin-top: 48px; border-top: 2px solid #111; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { position: relative; padding: 26px 60px 26px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 900; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--signal); font: 900 24px var(--font-data); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 820px; margin: -5px 0 28px; color: var(--text-2); font-size: 14px; font-weight: 600; line-height: 1.9; }
.site-footer { padding: 36px clamp(18px, 4vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px; border-top: 1px solid #444441; color: #fff; background: #111; }
.site-footer b { font: 900 12px var(--font-data); letter-spacing: .1em; }
.site-footer p { max-width: 760px; margin: 0; color: #a7a7a3; font-size: 11px; font-weight: 600; line-height: 1.7; }
.site-footer a { color: #ff817b; font-size: 11px; font-weight: 900; white-space: nowrap; }

.drawer-backdrop { position: fixed; inset: 0; z-index: var(--z-modal-backdrop); border: 0; background: rgba(0,0,0,.54); cursor: pointer; animation: drawer-fade .18s ease-out both; }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: var(--z-modal); width: min(920px, 100%); overflow-y: auto; color: var(--text-1); background: #fff; border-left: 1px solid #111; box-shadow: -28px 0 80px rgba(0,0,0,.24); animation: drawer-in .22s cubic-bezier(.165,.84,.44,1) both; }
.drawer-toolbar { position: sticky; top: 0; z-index: 1; min-height: 60px; padding: 0 20px 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #111; color: #fff; background: #111; }
.drawer-toolbar > span { color: #d9d9d5; font-size: 12px; font-weight: 900; }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #666; color: #fff; background: #111; cursor: pointer; }
.drawer-close:hover { border-color: var(--signal-bright); background: var(--signal); }
.drawer-close svg { width: 18px; height: 18px; }
@keyframes drawer-fade { from { opacity: 0; } }
@keyframes drawer-in { from { transform: translateX(28px); opacity: .7; } }
.inline-detail { min-width: 0; padding: 28px 32px 40px; color: var(--text-1); background: #fff; }
.inline-detail h3 { margin: 0; color: var(--text-1); font-size: 15px; font-weight: 900; }
.inline-detail-head { padding-bottom: 24px; border-bottom: 1px solid var(--line-strong); }
.inline-detail-head > div { min-width: 280px; display: flex; align-items: center; gap: 16px; }
.inline-detail-head > div > span { max-width: 320px; color: var(--text-2); font-size: 13px; font-weight: 700; line-height: 1.5; }
.inline-detail dt, .inline-flavor-list dt { color: var(--text-muted); font-size: 11px; font-weight: 700; }
.inline-nutrition { padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.inline-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.nutrition-values { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #111; background: var(--ink-2); }
.nutrition-values span { min-height: 80px; padding: 16px; border-right: 1px solid var(--line); font: 700 13px var(--font-data); }
.nutrition-values span:last-child { border-right: 0; }
.nutrition-values b { color: var(--text-1); font-size: 23px; }
.nutrition-values small { margin-top: 7px; display: block; color: var(--text-muted); font-size: 11px; }
.inline-deal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.inline-deal b { color: var(--signal); font-size: 11px; }
.inline-deal span { color: var(--text-2); font-size: 12px; }
.inline-offers { padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.inline-offers > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.inline-offers > div:first-child span { color: var(--text-muted); font-size: 11px; }
.offer-list { margin: 14px 0 0; padding: 0; list-style: none; }
.offer-list:not(.is-expanded) .offer-row:nth-child(n+5) { display: none; }
.offer-row { min-width: 0; padding: 20px 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 240px 160px; align-items: center; gap: 14px 12px; }
.offer-row + .offer-row { margin-top: 8px; }
.offer-rank { display: flex; align-items: baseline; color: var(--text-muted); font: 800 11px var(--font-data); }
.offer-rank b { color: var(--text-1); font-size: 24px; line-height: 1; }
.offer-row:first-child .offer-rank b { color: var(--signal); }
.offer-merchant { min-width: 0; }
.offer-merchant h4 { margin: 0; color: var(--text-1); font-size: 14px; }
.offer-variant { margin-top: 4px; display: block; overflow: hidden; color: var(--text-3); font-size: 10px; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.offer-merchant p { margin: 5px 0 0; color: var(--text-muted); font-size: 10px; line-height: 1.5; }
.offer-stock { color: var(--text-3); font-size: 10px; }
.offer-stock.is-in { color: #176b43; }
.offer-stock.is-out { color: var(--signal); }
.offer-prices { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.offer-prices div { min-width: 0; }
.offer-prices dd { margin: 4px 0 0; color: var(--text-1); font: 900 17px var(--font-data); }
.offer-row .inline-deal { grid-column: 2 / -1; }
.offer-row-actions a { width: 100%; min-height: 40px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; background: var(--signal); font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.offer-row-actions a:hover { background: var(--signal-bright); }
.offer-row-actions svg { width: 13px; height: 13px; }
.offer-toggle { width: 100%; min-height: 44px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; color: var(--text-3); background: transparent; cursor: pointer; }
.offer-toggle:hover { color: var(--signal); }
.offer-toggle:focus-visible { outline: 0; text-decoration: underline; text-underline-offset: 4px; }
.offer-toggle span { font-size: 12px; font-weight: 900; }
.offer-toggle b { color: var(--signal); font-size: 15px; }
.inline-flavors { padding-top: 26px; }
.inline-flavors > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.inline-flavors > div:first-child span { color: var(--text-muted); font: 700 12px var(--font-data); }
.inline-flavor-list { margin-top: 14px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inline-flavor-list article { min-height: 138px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 174px; gap: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.inline-flavor-list h4 { margin: 0; color: var(--text-1); font-size: 14px; }
.inline-flavor-list p { margin: 7px 0 0; color: var(--text-3); font-size: 12px; line-height: 1.6; }
.inline-flavor-list article > div > span { margin-top: 9px; }
.inline-flavor-list article > div > span { display: block; color: var(--text-muted); font-size: 11px; }
.inline-flavor-list dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inline-flavor-list dd { margin: 5px 0 0; color: var(--text-2); font: 800 13px var(--font-data); }

.trend-section { padding: 76px clamp(18px, 4vw, 64px); color: var(--text-1); background: var(--paper-high); border-top: 6px solid var(--signal); }
.section-title.inverse h2 span { color: var(--text-3); }
.metric-switch { padding: 3px; border: 1px solid var(--line-strong); background: var(--ink-2); }
.metric-switch button { color: var(--text-3); }
.metric-switch button:hover { color: var(--text-1); background: var(--ink-3); }
.metric-switch button.active { color: #fff; background: var(--signal); }
.chart-shell { min-height: 320px; padding: 12px 24px 8px; border: 1px solid #111; background: #fff; overflow: hidden; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 5px; min-height: 44px; padding-bottom: 8px; }
.chart-key { height: 30px; padding: 0 9px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); color: var(--text-3); background: #fff; cursor: pointer; font: 700 12px var(--font-data); letter-spacing: .025em; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.chart-key:hover { color: var(--text-1); border-color: var(--line-strong); background: var(--ink-2); }
.chart-key.is-selected { color: var(--text-1); border-color: var(--series); background: var(--ink-2); }
.chart-key i { width: 13px; height: 3px; background: var(--series); }
.chart-key span { color: var(--text-muted); }
.chart-viewport { width: 100%; overflow: hidden; }
.chart-plot { position: relative; min-height: 250px; }
.chart-price-card { position: absolute; z-index: 2; top: 0; left: 0; width: min(286px, calc(100% - 24px)); padding: 10px 12px; border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(17,17,17,.96); opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .12s ease, transform .12s ease; }
.chart-price-card.is-active { opacity: 1; transform: translateY(0); }
.chart-price-card header { padding-bottom: 7px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.18); }
.chart-price-card header strong { color: #ff665f; font: 900 13px var(--font-data); font-variant-numeric: tabular-nums; }
.chart-price-card header small { overflow: hidden; color: #a9a9a5; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 700; }
.chart-price-card > div { padding-top: 6px; display: grid; gap: 4px; }
.chart-price-card > div > span { min-width: 0; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.chart-price-card > div i { width: 12px; height: 3px; background: var(--series); }
.chart-price-card > div em { overflow: hidden; color: #d7d7d3; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-style: normal; font-weight: 700; }
.chart-price-card > div b { color: #fff; white-space: nowrap; font: 900 13px var(--font-data); font-variant-numeric: tabular-nums; }
.chart-price-card > div small { margin-left: 2px; color: #a9a9a5; font-size: 9px; font-weight: 700; }
.price-chart { width: 100%; height: 250px; display: block; overflow: visible; cursor: crosshair; touch-action: pan-y; user-select: none; }
.price-chart.is-scrubbing { cursor: ew-resize; }
.grid line { stroke: #ddddda; stroke-width: 1; }
.grid text { fill: #575753; text-anchor: end; font: 600 12px var(--font-data); }
.x-axis line { stroke: #e7e7e4; stroke-width: 1; stroke-dasharray: 2 5; }
.x-axis text { fill: #575753; font: 700 12px var(--font-data); font-variant-numeric: tabular-nums; }
.chart-series { transition: opacity .2s ease; }
.chart-series.is-muted { opacity: .42; }
.chart-series.is-highlighted { opacity: 1; }
.chart-series path { fill: none; stroke: var(--series); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.chart-series.is-highlighted .chart-visible-path { stroke-width: 2.75; }
.chart-series circle { fill: #fff; stroke: var(--series); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart-series.is-highlighted .chart-visible-point { stroke-width: 2.5; }
.chart-series .chart-hit-line { stroke: transparent; stroke-width: 18; pointer-events: stroke; cursor: pointer; }
.chart-series .chart-hit-point { fill: transparent; stroke: none; pointer-events: all; cursor: pointer; }
.chart-series:focus { outline: none; }
.chart-series:focus-visible .chart-visible-path { stroke-width: 4; }
.chart-series:focus-visible .chart-visible-point { stroke-width: 3.5; }
.chart-scrubber { opacity: 0; pointer-events: none; transition: opacity .1s ease; }
.chart-scrubber.is-active { opacity: 1; }
.chart-scrubber > line { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.chart-scrubber circle { fill: #fff; stroke: var(--series); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-empty { min-height: 240px; display: grid; place-content: center; gap: 7px; color: var(--text-muted); text-align: center; }
.chart-empty b { color: var(--text-1); font-size: 15px; }
.chart-empty span { font-size: 12px; }

.sales-section { padding: 76px clamp(18px, 4vw, 64px) 96px; background: var(--paper-high); border-top: 6px solid #111; }
.sales-title { margin-bottom: 20px; }
.sales-title > div > p { margin: 9px 0 0; color: var(--text-3); font-size: 13px; font-weight: 600; }
.sales-section .deal-strip { border-top: 0; }
.sale-archive { padding: 28px 32px 36px; background: var(--paper-inset); }
.sale-archive-controls { min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sale-search { min-width: 240px; flex: 1 1 320px; }
.sale-period-filter { display: flex; align-items: center; gap: 4px; }
.sale-period-filter select { height: 36px; padding: 0 28px 0 10px; border: 0; border-radius: 0; color: var(--text-2); background: var(--paper-high); cursor: pointer; font-size: 12px; font-weight: 800; }
.sale-period-filter select:hover { background: var(--ink-2); }
.sale-period-filter select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.sale-status-filter { display: flex; align-items: center; gap: 2px; }
.sale-status-filter button { height: 36px; padding: 0 12px; border: 0; color: var(--text-3); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.sale-status-filter button:hover { color: var(--text-1); background: var(--paper-high); }
.sale-status-filter button.active { color: #fff; background: #111; }
.sale-result-count { min-width: 44px; color: var(--text-muted); text-align: right; font: 800 12px var(--font-data); white-space: nowrap; }
.sale-calendar-head { margin: 30px 40px 10px 112px; display: grid; grid-template-columns: .8fr 1.25fr 1.3fr 1fr 72px; gap: 18px; color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.sale-month-group { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 24px; }
.sale-month-group + .sale-month-group { margin-top: 28px; }
.sale-month { padding-top: 11px; }
.sale-month h3 { margin: 0; display: grid; color: var(--text-1); font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.sale-month h3 span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.sale-month h3 b { margin-top: 2px; font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.sale-month > span { margin-top: 8px; display: block; color: var(--text-muted); font: 700 10px var(--font-data); }
.sale-month-events { min-width: 0; }
.sale-calendar-row { width: 100%; min-height: 82px; padding: 15px 16px; display: grid; grid-template-columns: .8fr 1.25fr 1.3fr 1fr 72px 20px; align-items: center; gap: 18px; border: 0; color: var(--text-1); background: var(--paper-high); cursor: pointer; text-align: left; text-decoration: none; transition: background .16s ease, color .16s ease; }
.sale-calendar-row[hidden], .sale-month-group[hidden] { display: none !important; }
.sale-calendar-row + .sale-calendar-row { margin-top: 2px; }
.sale-calendar-row:hover { background: var(--sale-wash); }
.sale-calendar-row:focus-visible { position: relative; z-index: 1; outline-offset: -2px; }
.sale-brand { min-width: 0; display: flex; align-items: center; }
.sale-brand .brand-mark { max-width: 100%; }
.sale-name, .sale-target { min-width: 0; display: grid; gap: 4px; }
.sale-name b, .sale-target b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 900; }
.sale-name small, .sale-target small { overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 600; }
.sale-period { color: var(--text-3); font: 700 11px/1.55 var(--font-data); font-variant-numeric: tabular-nums; }
.sale-status { min-height: 25px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; justify-self: start; color: var(--text-3); background: var(--control); font-size: 10px; font-weight: 900; white-space: nowrap; }
.sale-status.is-ongoing { color: #fff; background: var(--signal); }
.sale-status.is-upcoming { color: #fff; background: #111; }
.sale-row-arrow { display: grid; place-items: center; color: var(--text-muted); }
.sale-row-arrow svg { width: 17px; height: 17px; }
.sale-calendar-row:hover .sale-row-arrow { color: var(--signal); }
.sale-calendar-empty { min-height: 180px; place-content: center; justify-items: center; gap: 7px; color: var(--text-muted); text-align: center; }
.sale-calendar-empty:not([hidden]) { display: grid; }
.sale-calendar-empty b { color: var(--text-1); font-size: 14px; }
.sale-calendar-empty span { font-size: 12px; }

.deal-strip h3,
.section-title h1,
.section-title h2,
.brand-fallback,
.price-cell strong,
.nutrition-cell strong,
.rating,
.reviews strong { font-style: var(--power-slant); }
.fatal { min-height: 100vh; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; }
.fatal > span { width: 64px; height: 64px; display: grid; place-items: center; color: var(--signal); background: var(--ink); }
.fatal h1 { margin: 24px 0 8px; }
.fatal p { color: var(--text-3); }
.fatal button { padding: 10px 18px; border: 0; color: #fff; background: var(--signal); cursor: pointer; font-weight: 800; }

.app-frame, .app-content { min-height: 100vh; }
.app-content[aria-hidden="true"] { visibility: hidden; }
.initial-loader { position: fixed; inset: 0; z-index: 100; overflow: hidden; background: #f5f3ee; opacity: 1; transition: opacity .22s ease-out; }
.initial-loader.is-complete { opacity: 0; pointer-events: none; }
.initial-shell { min-height: 100vh; padding: clamp(24px, 5vw, 72px); background: #f5f3ee; }
.initial-heading { display: grid; gap: 18px; max-width: 1180px; margin: 0 auto 30px; }
.initial-kicker, .initial-title, .initial-controls, .initial-table > div { background: linear-gradient(90deg, #e3e0d8 25%, #eeece6 50%, #e3e0d8 75%); background-size: 200% 100%; animation: initial-shimmer 1.2s linear infinite; }
.initial-kicker { width: 120px; height: 14px; }
.initial-title { width: min(520px, 80vw); height: 52px; }
.initial-controls { width: 100%; height: 76px; }
.initial-table { display: grid; max-width: 1180px; margin: auto; border: 1px solid #d9d5ca; background: #fff; }
.initial-table > div { height: 68px; border-bottom: 1px solid #e5e1d8; }
.initial-table > div:last-child { border-bottom: 0; }
.initial-status { position: absolute; right: clamp(24px, 5vw, 72px); bottom: clamp(24px, 5vw, 72px); min-width: 260px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border-left: 4px solid var(--signal); color: #fff; background: #111; }
.initial-status > span:last-child { display: grid; gap: 2px; }
.initial-status b { font-size: 13px; font-weight: 900; }
.initial-status small { color: #c9c9c5; font-size: 11px; font-weight: 600; }
.initial-spinner { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #555; border-top-color: #ff665f; border-radius: 50%; animation: initial-spin .72s linear infinite; }
@keyframes initial-shimmer { to { background-position: -200% 0; } }
@keyframes initial-spin { to { transform: rotate(1turn); } }

.detail-loading { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 32px; text-align: center; }
.detail-loading b { font-size: 1.1rem; }
.detail-loading span { color: var(--text-3); }
.detail-loading button { border: 1px solid currentColor; padding: 10px 16px; background: transparent; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.chart-loading { opacity: .78; }

@media (prefers-reduced-motion: reduce) {
  .initial-loader { transition: none; }
  .initial-kicker, .initial-title, .initial-controls, .initial-table > div, .initial-spinner { animation: none; }
}

@media (max-width: 1080px) {
  .setting-label { width: 72px; min-width: 72px; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 16px; }
  .site-nav { min-height: 60px; gap: 8px; }
  .site-wordmark { flex: 0 0 auto; font-size: 11px; }
  .site-nav > div { min-width: 0; flex: 1; overflow-x: auto; white-space: nowrap; scrollbar-width: none; font-size: 10px; }
  .site-nav > div::-webkit-scrollbar { display: none; }
  .site-nav > div a { min-height: 34px; padding: 0 6px; }
  .compare-stats { grid-template-columns: 1fr 1fr; }
  .compare-stats > div { min-height: 72px; padding: 12px; }
  .compare-stats dd { font-size: 21px; }
  .methodology-section, .faq-section { padding: 76px 16px; }
  .method-grid { margin-top: 34px; display: block; border-bottom: 0; }
  .method-grid article { min-height: 0; padding: 28px 22px; }
  .method-grid h3 { margin-top: 28px; font-size: 19px; }
  .faq-list { margin-top: 34px; }
  .faq-list summary { padding-block: 22px; font-size: 15px; line-height: 1.6; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; }
  .initial-status { right: 16px; bottom: 16px; left: 16px; min-width: 0; }
  .deal-strip { height: 62px; }
  .deal-strip h3 { width: 76px; font-size: 14px; }
  .deal-ticker-item { padding: 0 14px; gap: 9px; }
  .deal-ticker-item > i { height: 24px; margin-left: 3px; }
  .deal-ticker-copy { gap: 7px; }
  .deal-ticker-copy b { font-size: 12px; }
  .brand-mark--ticker { width: 88px; height: 28px; }
  .compare-section { padding: 36px 16px 60px; }
  .trend-section { padding: 56px 16px; }
  .sales-section { padding: 56px 16px 64px; }
  .sale-archive { padding: 22px 14px 28px; }
  .sale-archive-controls { align-items: stretch; flex-wrap: wrap; }
  .sale-search { min-width: 100%; }
  .sale-search input { font-size: 16px; }
  .sale-period-filter { width: 100%; }
  .sale-period-filter select { min-width: 0; flex: 1; font-size: 16px; }
  .sale-status-filter { max-width: calc(100% - 54px); overflow-x: auto; scrollbar-width: none; }
  .sale-status-filter::-webkit-scrollbar { display: none; }
  .sale-status-filter button { flex: 0 0 auto; }
  .sale-result-count { margin-left: auto; align-self: center; }
  .sale-calendar-head { display: none; }
  .sale-calendar { margin-top: 28px; }
  .sale-month-group { display: block; }
  .sale-month-group + .sale-month-group { margin-top: 30px; }
  .sale-month { padding: 0 2px 9px; display: flex; align-items: end; justify-content: space-between; }
  .sale-month h3 { display: flex; align-items: baseline; gap: 6px; }
  .sale-month h3 b { font-size: 21px; }
  .sale-month > span { margin: 0 0 2px; }
  .sale-calendar-row { min-height: 0; padding: 16px 14px; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 7px 10px; }
  .sale-brand { grid-column: 1; grid-row: 1; }
  .sale-status { grid-column: 2; grid-row: 1; }
  .sale-row-arrow { grid-column: 3; grid-row: 1; }
  .sale-name { grid-column: 1 / -1; grid-row: 2; margin-top: 7px; }
  .sale-target { grid-column: 1 / -1; grid-row: 3; margin-top: 5px; }
  .sale-period { grid-column: 1 / -1; grid-row: 4; margin-top: 7px; color: var(--text-muted); }
  .sale-name b, .sale-target b, .sale-name small, .sale-target small { white-space: normal; }
  .section-title { display: block; }
  .info-panel { top: 50%; right: auto; left: 50%; width: calc(100vw - 32px); max-height: calc(100dvh - 48px); }
  .control-deck { padding: 10px; }
  .searchbox input, .shipping-settings select, .shipping-settings input { font-size: 16px; }
  .searchbox { padding-right: 6px; }
  .searchbox button { min-width: 64px; padding-inline: 14px; }
  .shipping-settings select[data-destination-country] { width: 86px; flex: 0 0 86px; }
  .shipping-settings input[data-destination-postal] { width: 98px; flex: 0 0 98px; }
  .shipping-settings select[data-shipping-filter] { width: 136px; flex: 0 0 136px; }
  .table-settings { margin-top: 8px; }
  .settings-line { min-height: 46px; }
  .setting-label { width: 64px; min-width: 64px; padding-inline: 8px; }
  .filter-set button, .sort-set button { flex: 0 0 auto; }
  .drawer { width: 100%; border-left: 0; }
  .drawer-toolbar { padding-inline: 16px; }
  .inline-detail { min-width: 0; padding: 22px 18px 30px; }
  .inline-detail-head > div { min-width: 0; }
  .inline-detail-head > div > span { max-width: none; }
  .inline-section-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .nutrition-values { grid-template-columns: 1fr 1fr; }
  .nutrition-values span:nth-child(2) { border-right: 0; }
  .nutrition-values span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .inline-offers > div:first-child { align-items: flex-start; flex-direction: column; gap: 4px; }
  .offer-row { grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 12px 10px; }
  .offer-rank { grid-column: 1; grid-row: 1; }
  .offer-merchant { grid-column: 2; grid-row: 1; }
  .offer-stock { grid-column: 2; grid-row: 2; justify-self: start; }
  .offer-prices, .offer-row-actions, .offer-row .inline-deal { width: 100%; min-width: 0; grid-column: 1 / -1; }
  .offer-prices { gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offer-prices dd { overflow-wrap: anywhere; }
  .offer-row-actions a { width: 100%; min-width: 0; max-width: 100%; }
  .inline-flavor-list { grid-template-columns: 1fr; }
  .inline-flavor-list article { grid-template-columns: 1fr; }
  .trend-section .section-title { display: flex; align-items: end; gap: 12px; }
  .trend-section .section-title h2 { white-space: nowrap; }
  .chart-shell { min-height: 260px; padding: 10px 8px 0; }
  .chart-legend { min-height: 38px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chart-legend::-webkit-scrollbar { display: none; }
  .chart-key { flex: 0 0 auto; }
  .chart-plot { width: 100%; min-height: 250px; }
  .chart-price-card { width: min(250px, calc(100% - 16px)); padding: 10px 12px; }
  .price-chart { height: 250px; touch-action: pan-y; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .deal-viewport { overflow-x: auto; }
  .deal-track { animation: none !important; transform: none !important; }
  .deal-run[aria-hidden="true"] { display: none; }
}

/* Article-page styles. Appended to `src/style.css` at build time, so the
   design tokens, header and footer come from the app's own stylesheet and the
   chrome cannot drift; everything below is long-form reading only.

   Brand tone: market-terminal density. Square corners, hairline rules,
   heavy display weights, red reserved for signal — never decoration. */

/* `src/style.css` sets `main { overflow: hidden }` for the app's ticker; that
   would turn main into a scroll container and break the sticky contents rail. */
.article-page main { overflow: visible; }
/* The app clips its own header overflow with `main { overflow: hidden }`;
   an article page keeps main scrollable for the sticky contents rail, so the
   nav links get their own scroller instead of widening the page. */
.article-page .site-nav > div { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.article-page .site-nav > div::-webkit-scrollbar { display: none; }
/* Every band of the page — breadcrumb, header, body, footer link — is capped
   at the same measure and centred, so the column sits in the middle of a wide
   screen instead of hugging the left edge. */
.article-page { --article-width: 1180px; }

/* A short article (or the index with one entry) should still pin the footer
   to the bottom of the viewport. */
.article-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
.article-page main { flex: 1 0 auto; }

/* One line, always: the trail never wraps, and a long article title is
   ellipsised instead of pushing a lone separator onto its own row. */
.article-breadcrumb { max-width: var(--article-width); margin-inline: auto; padding: 18px clamp(18px, 4vw, 64px) 0; }
.article-breadcrumb ol { margin: 0; padding: 0; display: flex; align-items: center; list-style: none; color: var(--text-muted); font: 700 11px/1.6 var(--font-data); }
.article-breadcrumb li { flex: 0 0 auto; display: flex; align-items: center; }
/* Only the current page shrinks; the ancestor links keep their full label
   instead of collapsing and overlapping each other. */
.article-breadcrumb li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.article-breadcrumb li + li::before { content: "/"; flex: 0 0 auto; margin: 0 9px; color: var(--line-strong); }
.article-breadcrumb a { flex: 0 0 auto; white-space: nowrap; }
.article-breadcrumb a:hover { color: var(--signal-bright); text-decoration: underline; text-underline-offset: 3px; }
.article-breadcrumb span { min-width: 0; overflow: hidden; color: var(--text-2); text-overflow: ellipsis; white-space: nowrap; }

.article { max-width: var(--article-width); margin-inline: auto; padding: 24px clamp(18px, 4vw, 64px) 96px; }
.article-head { padding-bottom: 28px; border-bottom: 2px solid var(--text-1); }
.article-head h1 { max-width: 20em; margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; line-height: 1.22; letter-spacing: -.035em; }
.article-lead { max-width: 46em; margin: 20px 0 0; color: var(--text-2); font-size: 15px; font-weight: 600; line-height: 1.9; }

.article-meta { margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-meta > div { min-height: 66px; padding: 11px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-meta dt { color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.article-meta dd { margin: 8px 0 0; font: 800 14px/1.3 var(--font-data); }

.article-layout { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 252px; gap: 56px; align-items: start; }
  .article-toc { position: sticky; top: 24px; order: 2; }
}

/* Contents rail */
.article-toc { padding: 16px 0 0; border-top: 2px solid var(--text-1); }
.article-toc h2 { margin: 0 0 12px; color: var(--text-muted); font: 900 10px var(--font-data); letter-spacing: .12em; text-transform: uppercase; }
.article-toc ol { margin: 0; padding: 0; max-height: min(64vh, 720px); overflow-y: auto; list-style: none; counter-reset: toc; }
.article-toc li { border-bottom: 1px solid var(--line-soft); }
.article-toc a { display: block; padding: 9px 0; color: var(--text-2); font-size: 12px; font-weight: 700; line-height: 1.5; }
.article-toc a:hover { color: var(--signal-bright); }
.article-toc .is-h3 a { padding-left: 14px; color: var(--text-muted); font-size: 11px; }
.article-toc .is-h3 { border-bottom-color: transparent; }

/* Body */
.article-body { max-width: 44em; color: var(--text-1); font-size: 16px; font-weight: 500; line-height: 2; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.6em; }
.article-body strong { font-weight: 800; }
/* Citation lists print raw URLs; `anywhere` keeps a long one from widening
   the page on a phone. */
.article-body a { color: var(--signal-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.article-body a:hover { background: var(--sale-wash); }

.article-body h2 { margin: 2.8em 0 1.1em; padding-top: 14px; border-top: 2px solid var(--text-1); font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 27px); font-weight: 900; line-height: 1.4; letter-spacing: -.02em; }
.article-body h3 { margin: 2.4em 0 .9em; padding-left: 11px; border-left: 3px solid var(--signal); font-size: 17px; font-weight: 800; line-height: 1.5; }
.article-body h4 { margin: 2em 0 .8em; color: var(--text-2); font-size: 14px; font-weight: 800; }
.article-body :is(h2, h3, h4):target { scroll-margin-top: 20px; }

.heading-anchor { margin-left: .5em; color: var(--line-strong); font-size: .62em; font-weight: 700; text-decoration: none; opacity: 0; transition: opacity .12s ease; }
:is(h2, h3):hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.article-body .heading-anchor:hover { background: transparent; }

.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.35em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--text-muted); font-weight: 800; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul > li { position: relative; padding-left: 1.35em; }
.article-body ul > li::before { content: ""; position: absolute; top: .85em; left: 0; width: 8px; height: 2px; background: var(--signal); }

.article-body blockquote { margin: 0 0 1.6em; padding: 4px 0 4px 18px; border-left: 2px solid var(--line-strong); color: var(--text-2); font-size: 15px; }
.article-body hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }

/* Formulas and code read as terminal output, not as decoration. */
.article-body pre { margin: 0 0 1.8em; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--line); background: var(--paper-inset); font: 600 13px/1.9 var(--font-data); tab-size: 2; }
.article-body pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.article-body code { padding: 2px 5px; border: 1px solid var(--line-soft); background: var(--paper-inset); font-family: var(--font-data); font-size: .88em; font-weight: 700; }

/* Data tables: dense, hairline-ruled, horizontally scrollable on narrow
   screens. `role="region"` + `tabindex` keeps the scroll keyboard-reachable.
   `src/style.css` styles the app's product table through bare `table`, `th`
   and `td` selectors — fixed 94px rows, a 64px first column, a 240px second
   one — so an article table has to reset that geometry, not inherit it. */
.article-table { margin: 0 0 2em; overflow-x: auto; border: 1px solid var(--line-strong); background: var(--paper); scrollbar-width: thin; }
.article-table:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.article-table table { width: max-content; min-width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; white-space: nowrap; }
.article-table :is(th, td) { width: auto; min-width: 0; height: auto; padding: 9px 14px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
.article-table :is(th, td):first-child { width: auto; padding-left: 14px; }
.article-table :is(th, td):last-child { border-right: 0; }
.article-table thead th { position: sticky; top: 0; border-bottom: 1px solid var(--text-1); color: #fff; background: var(--text-1); font: 800 11px/1.5 var(--font-data); letter-spacing: .02em; white-space: nowrap; }
.article-table td { font-weight: 600; font-variant-numeric: tabular-nums; }
.article-table td[style*="right"] { font-family: var(--font-data); font-weight: 700; }
.article-table tbody tr:nth-child(even) { background: #fafaf8; }
.article-table tbody tr:hover { background: var(--sale-wash); }
.article-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.article-table strong { font-weight: 900; }

.article-back { margin: 64px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.article-back a:hover { color: var(--signal-bright); }

/* Index page */
.article-index { max-width: var(--article-width); margin-inline: auto; padding: 24px clamp(18px, 4vw, 64px) 96px; }
.article-index h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.035em; }
.article-list { max-width: 900px; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.article-list li { border-bottom: 1px solid var(--line); }
.article-list a { display: block; padding: 22px 4px; }
.article-list a:hover { background: var(--paper-inset); }
.article-list b i { display: inline-block; margin-right: 10px; padding: 3px 7px; border: 1px solid var(--signal); color: var(--signal-bright); font: 800 11px var(--font-data); font-style: normal; letter-spacing: .04em; vertical-align: middle; }
.article-list b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 900; line-height: 1.5; letter-spacing: -.02em; }
.article-list a:hover b { color: var(--signal-bright); }
.article-list p { max-width: 46em; margin: 10px 0 0; color: var(--text-2); font-size: 13px; font-weight: 600; line-height: 1.8; }
.article-list small { display: block; margin-top: 12px; color: var(--text-muted); font: 800 11px var(--font-data); }
.article-empty { margin: 36px 0 0; color: var(--text-muted); font-size: 13px; font-weight: 700; }

@media (max-width: 640px) {
  /* No room for the article title in the trail — the H1 sits right below it. */
  .article-breadcrumb li:last-child { display: none; }
  .article-body { font-size: 15px; line-height: 1.95; }
  .article-meta > div { min-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .heading-anchor { transition: none; }
}

@media print {
  .site-header, .site-footer, .article-toc, .article-breadcrumb, .article-back, .heading-anchor { display: none; }
  .article-body { max-width: none; font-size: 11pt; line-height: 1.7; }
  .article-table { overflow: visible; }
  .article-table table { white-space: normal; }
}
