/* KeoPicks, on the KeoPrints brand kit's handmade layer:
   paper index cards, faint keo-purple ruled lines, an ember header rule,
   ember hand marks (Kalam) for the one thing to look at, purple masking tape
   on real product photos. Square corners everywhere. No glows, no pills,
   no tiny caps labels, no status dots. */

:root {
    --paper: #F3EFE6;
    --card: #FCFAF5;
    --well: #FFFFFF;
    --ink: #0D0718;
    --ink-2: #322E3A;
    --muted: #59565E;
    --line: #D8D1C6;
    --line-strong: #B9B0A2;
    --rule: rgba(88, 48, 162, 0.13);
    --purple: #5830A2;
    --purple-dark: #46247F;
    --tape: rgba(88, 48, 162, 0.5);
    --ember: #D36216;
    --ember-dark: #A84C0E;
    --good: #2D6E40;
    --bad: #A3271E;
    --ground: #0D0718;
    --on-ground: #F3EFE6;  /* text on the always-dark header and banner, both themes */
    --field: #FFFFFF;      /* inputs and small panels */
    --photo: #FFFFFF;      /* product photo wells: photos are shot on white */

    --font-display: "Raleway", "Helvetica Neue", sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --font-hand: "Kalam", "Comic Neue", cursive;

    --r: 2px;
    --lift: 0 1px 0 rgba(13, 7, 24, 0.05), 0 10px 22px -16px rgba(46, 30, 10, 0.45);

    /* Names older templates still use inline */
    --primary-color: var(--purple);
    --primary-hover: var(--purple-dark);
    --secondary-color: var(--ember-dark);
    --background-color: var(--paper);
    --text-color: var(--ink);
    --text-muted: var(--muted);
    --card-bg: var(--card);
    --border-color: var(--line);
    --bg-card: var(--card);
    --bg-body: var(--paper);
    --bg-color: var(--card);
    --purple-ink: var(--purple);
    --ember-ink: var(--ember-dark);
    --ember-hover: var(--ember);
    --hairline: var(--line);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ico { display: inline-block; vertical-align: -0.125em; flex-shrink: 0; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--paper); }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
::selection { background: var(--purple); color: var(--paper); }
a { color: var(--purple); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-feature-settings: "lnum" 1; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; font-weight: 800; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.text-muted { color: var(--muted); }
.sr-only { position: absolute; left: -9999px; }
.sr-only:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; min-height: 44px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header: the one dark strip, like the channel banner */
header.site-header { background: var(--ground); color: var(--on-ground); border-bottom: 4px solid var(--ember); }
.site-nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-ground); }
.brand img { height: 26px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-links a { display: block; white-space: nowrap; color: #CBC9CF; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 20px 0 18px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--on-ground); }
.nav-links a[aria-current="page"] { color: var(--on-ground); border-bottom-color: var(--on-ground); }
.nav-search { position: relative; }
.nav-search input { width: 210px; height: 36px; border: 1px solid #3F3650; background: #140E20; color: var(--on-ground); padding: 0 12px 0 34px; font: inherit; font-size: 0.9rem; border-radius: var(--r); }
.nav-search input::placeholder { color: #908C97; }
.nav-search input:focus { outline: none; border-color: var(--on-ground); }
.nav-search .ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: #938C97; pointer-events: none; }
.nav-account { display: flex; align-items: center; gap: 16px; }
.nav-account a, .nav-logout button { color: #CBC9CF; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    display: inline-flex; align-items: center; min-height: 44px; }
.nav-account a:hover, .nav-logout button:hover { color: var(--on-ground); }
.nav-logout { margin: 0; }
.nav-logout button { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }

/* Buttons: rectangles, no pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r); border: 2px solid var(--ink); font: 700 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .12s ease, color .12s ease, border-color .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--purple); border-color: var(--purple); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-buy { background: var(--ember); border-color: var(--ember); color: var(--ink); height: 52px; padding: 0 26px; font-size: 1.05rem; width: 100%; }
.btn-buy:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nav-account .btn-primary { background: var(--on-ground); border-color: var(--on-ground); color: var(--ground); }
.nav-account .btn-primary:hover { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 0.85rem; }
@media (max-width: 600px) { .btn-sm { height: 40px; } }

/* Index card */
.card { position: relative; background-color: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--lift); }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--ember); }
.tape { position: absolute; z-index: 3; width: 96px; height: 24px; background: var(--tape); top: -11px; left: 22px; transform: rotate(-4deg); clip-path: polygon(3% 0, 97% 6%, 100% 48%, 96% 100%, 2% 94%, 0 52%); pointer-events: none; }
.tape.r { left: auto; right: 26px; transform: rotate(5deg); }

/* Footer */
footer.site-footer { margin-top: 96px; border-top: 2px solid var(--ink); padding: 36px 0 56px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; max-width: 640px; color: var(--ink-2); }
.footer-brand img { height: 28px; filter: invert(1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-fine { margin-top: 24px; color: var(--muted); font-size: 0.82rem; }
.flash { margin: 16px 0 0; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--purple); font-size: 0.92rem; }

/* Sections */
.section { margin-top: 84px; }
.section-head { margin-bottom: 24px; max-width: 70ch; }
.section-head h2 { font-size: 1.8rem; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head .section-link { display: inline-block; margin-top: 8px; font-weight: 700; }

/* Prices */
.price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-now { font: 800 1.3rem/1 var(--font-display); font-feature-settings: "lnum" 1, "tnum" 1; color: var(--ink); }
.price-block.lg .price-now { font-size: 2.5rem; }
.price-was { font: 500 0.95rem/1 var(--font-body); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--ember); text-decoration-thickness: 2px; }
.price-block.lg .price-was { font-size: 1.15rem; }
.price-tag { font: 700 1.1rem/1 var(--font-hand); color: var(--ember-dark); transform: rotate(-3deg); display: inline-block; }
.price-block.lg .price-tag { font-size: 1.55rem; }
.price-none { color: var(--muted); font-size: 0.92rem; }
.price-checked { color: var(--muted); font-size: 0.82rem; margin-top: 8px; }
.avail-badge { font-size: 0.82rem; font-weight: 700; color: var(--ember-dark); }
.avail-discontinued { color: var(--muted); }
.affiliate-note { color: var(--muted); font-size: 0.8rem; margin-top: 10px; }
.affiliate-note a { color: var(--muted); }

/* Scores and issues: words, not badges */
.score { display: inline-flex; align-items: baseline; gap: 3px; font: 800 1.35rem/1 var(--font-display); font-feature-settings: "lnum" 1, "tnum" 1; color: var(--ink); }
.score small { font: 600 0.8rem var(--font-body); color: var(--muted); }
.score.lg { font-size: 2.3rem; }
.issue-count-badge { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-decoration: none; position: relative; z-index: 2; }
.issue-count-badge.some { color: var(--ember-dark); }
.issue-count-badge.serious { color: var(--bad); }
.issue-count-badge:hover { text-decoration: underline; }
.badge { display: inline-block; padding: 1px 7px; border: 1px solid currentColor; border-radius: var(--r); font-size: 0.75rem; font-weight: 700; }
.badge-severity-low { color: var(--good); }
.badge-severity-medium { color: var(--ember-dark); }
.badge-severity-high, .badge-severity-critical { color: var(--bad); }
.badge-severity-critical { background: rgba(163, 39, 30, 0.08); }
.badge-status-open { color: var(--ember-dark); }
.badge-status-investigating { color: var(--purple); }
.badge-status-resolved { color: var(--good); }
.badge-status-closed { color: var(--muted); }
.issue-card { display: block; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.issue-card:hover { border-color: var(--line-strong); }
.issue-title-link { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.issue-title-link:hover { text-decoration: underline; }
.issue-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; }
.issue-stat { color: var(--muted); font-size: 0.85rem; }
.comment-card, .workaround-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.vote-btn { background: var(--card); border: 2px solid var(--ink); color: var(--ink); border-radius: var(--r); height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; font-weight: 700; }
.vote-btn:disabled { opacity: .5; cursor: not-allowed; }
.vote-btn.active-up { background: var(--good); border-color: var(--good); color: var(--paper); }
.vote-btn.active-down { background: var(--bad); border-color: var(--bad); color: var(--paper); }

/* Home */
.home-hero { padding: 56px 0 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero-pick { position: relative; display: block; padding: 12px 12px 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--lift); transform: rotate(1.4deg); text-decoration: none; color: var(--ink); max-width: 400px; justify-self: end; width: 100%; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.hero-pick:hover { transform: rotate(0); color: var(--ink); }
.hero-pick .well { aspect-ratio: 5 / 4; border: 1px solid var(--line); }
.hero-pick .note { position: absolute; z-index: 3; left: -18px; top: 26px; font: 700 1.25rem/1.1 var(--font-hand); color: var(--ember-dark); transform: rotate(-8deg); background: var(--paper); padding: 4px 8px; max-width: 150px; }
.hero-pick .pick-body { padding: 12px 4px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero-pick .pick-name { font-weight: 700; font-size: 1.05rem; }
.home-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 17ch; }
.home-hero h1 em { font-style: normal; color: var(--ember-dark); }
.home-hero .lede { color: var(--ink-2); font-size: 1.15rem; margin-top: 14px; max-width: 54ch; }
.channel-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-2); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.channel-line img { height: 20px; filter: invert(1); }
.channel-line:hover { text-decoration: underline; }
.jobs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 40px; align-items: start; }
.job { padding: 30px 26px 26px; }
.job h2 { font-size: 1.45rem; }
.job p { color: var(--muted); margin-top: 6px; }
.job-fix { transform: rotate(0.6deg); margin-top: 10px; }
.job form { margin-top: 20px; display: flex; gap: 10px; }
.job input[type="search"], .job select, .filters input[type="search"], .filters select { flex: 1; min-width: 0; height: 46px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--field); color: var(--ink); padding: 0 14px; font: inherit; }
.job select, .filters select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2307180E' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.job input::placeholder, .filters input::placeholder { color: var(--muted); }
.job input:focus, .job select:focus, .filters input:focus, .filters select:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; }
.quick a { color: var(--ink); font-weight: 700; font-size: 0.92rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 2px; }
.quick a:hover { text-decoration-color: var(--ember); }
.issue-mini { margin-top: 18px; display: grid; gap: 10px; }
.issue-mini a { color: var(--ink); text-decoration: none; font-size: 0.92rem; display: flex; justify-content: space-between; gap: 12px; }
.issue-mini a span { color: var(--muted); white-space: nowrap; }
.issue-mini a:hover { text-decoration: underline; }

/* Deals: real photos taped down */
.deal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; }
.deal { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: var(--lift); padding: 10px 10px 14px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.deal:nth-child(odd) { transform: rotate(-0.8deg); }
.deal:nth-child(even) { transform: rotate(0.7deg); }
.deal:hover { transform: rotate(0) translateY(-3px); color: var(--ink); }
.deal .well { aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.deal-body { padding: 12px 4px 0; display: grid; gap: 6px; }
.deal-name { font-weight: 700; font-size: 1rem; }
.deal-save { position: absolute; z-index: 2; right: 14px; top: 18px; font: 700 1.3rem/1 var(--font-hand); color: var(--ember-dark); transform: rotate(-6deg); }

/* Ranked list */
.rank-list { list-style: none; border-top: 2px solid var(--ink); max-width: 980px; }
.rank-list li + li { border-top: 1px solid var(--line); }
.rank-row { display: grid; grid-template-columns: 48px 72px 1fr auto auto; align-items: center; gap: 20px; padding: 14px 6px; text-decoration: none; color: var(--ink); }
.rank-row:hover { background: var(--card); color: var(--ink); }
.rank-pos { font: 700 1.6rem/1 var(--font-hand); color: var(--ember-dark); text-align: center; }
.rank-row .well { width: 72px; height: 54px; border: 1px solid var(--line); }
.rank-name { font-weight: 700; }
.rank-name small { display: block; color: var(--muted); font-weight: 500; font-size: 0.85rem; margin-top: 2px; }
.empty-note { color: var(--ink-2); padding: 20px 22px; background: var(--card); border: 1px solid var(--line); max-width: 760px; }
.empty-note a { font-weight: 700; }

/* Channel videos */
.video-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; align-items: start; }
.video-card { text-decoration: none; color: var(--ink); display: grid; gap: 10px; }
.video-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground); border: 1px solid var(--ink); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.video-card:hover .thumb img { transform: scale(1.03); }
.video-card .play { position: absolute; left: 0; bottom: 0; height: 34px; padding: 0 12px; background: var(--ember); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; }
.video-card .vt { font-weight: 700; }

/* Product image wells */
.well { background: var(--photo); display: block; position: relative; overflow: hidden; }
.well img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }

/* Printer list */
.page-head { padding: 44px 0 4px; max-width: 70ch; }
.page-head h1 { font-size: clamp(2.1rem, 3.8vw, 3rem); }
.page-head p { color: var(--ink-2); margin-top: 10px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 10px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.filters input[type="search"] { flex: 0 1 240px; height: 40px; }
.filters select { flex: 0 0 auto; height: 40px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; cursor: pointer; padding: 0 6px; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.filters .sort { margin-left: auto; }
.result-line { color: var(--muted); font-size: 0.9rem; margin-bottom: 22px; }
.result-line a { margin-left: 12px; font-weight: 700; }
.printer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 28px 22px; }
.printer-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--lift); transition: border-color .15s ease; }
.printer-card:hover { border-color: var(--ink); }
.printer-card .well { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); }
.printer-card.is-discontinued .well img { opacity: .5; filter: grayscale(1); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card-brand { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.card-name { font-size: 1.25rem; line-height: 1.15; }
.card-name a { color: var(--ink); text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-specs { font: 500 0.8rem/1.55 var(--font-mono); color: var(--ink-2); }
.card-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.compare-toggle { position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.compare-toggle input { accent-color: var(--ink); width: 14px; height: 14px; }
#compare-banner { visibility: hidden; position: fixed; left: 50%; bottom: -100px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 18px; background: var(--ink); color: var(--paper); border-top: 4px solid var(--ember); box-shadow: 0 16px 30px -12px rgba(13, 7, 24, .6); transition: bottom .3s cubic-bezier(.16, 1, .3, 1); font-weight: 700; }
#compare-banner .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* Printer detail */
.crumbs { padding-top: 26px; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; margin-top: 22px; align-items: start; }
.product-photo { position: relative; padding: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--lift); transform: rotate(-0.6deg); }
.product-photo .well { aspect-ratio: 1 / 1; border: 1px solid var(--line); }
.product.is-discontinued .well img { opacity: .55; filter: grayscale(1); }
.buybox { display: grid; gap: 20px; }
.buybox .card-brand { font-size: 0.95rem; }
.buybox h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-top: 2px; }
.score-line { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.score-line p { color: var(--ink-2); font-size: 0.95rem; }
.buy-panel { padding: 24px 20px 20px; display: grid; gap: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.facts dt { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.facts dd { font: 500 0.92rem/1.35 var(--font-mono); margin-top: 2px; }
.product-desc { color: var(--ink-2); font-size: 1.02rem; max-width: 62ch; }
.detail-nav { position: sticky; top: 0; z-index: 40; margin-top: 64px; background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.detail-nav ul { list-style: none; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.detail-nav ul::-webkit-scrollbar { display: none; }
/* Phone: the section links scroll sideways; fade the right edge so it's obvious there's more. */
@media (max-width: 760px) {
    .detail-nav ul { gap: 22px; padding-right: 36px;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
                mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
}
.detail-nav a { display: block; padding: 14px 0 11px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.detail-nav a:hover { border-bottom-color: var(--ember); color: var(--ink); }
.detail-section { padding-top: 52px; scroll-margin-top: 70px; }
#price-alert, [id^="review-"], [id^="comment-"] { scroll-margin-top: 90px; }
.detail-section > h2 { font-size: 1.7rem; margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.detail-section > h2 small { color: var(--muted); font: 600 0.95rem var(--font-body); }
.section-actions { display: flex; gap: 10px; margin-left: auto; }
.spec-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec-group { padding: 24px 20px 20px; }
.spec-group h3 { font-size: 1.05rem; margin-bottom: 14px; }
.spec-group dl { display: grid; gap: 14px; }
.spec-group dt { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.spec-group dd { font: 500 1rem/1.35 var(--font-mono); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground); max-width: 900px; border: 1px solid var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { color: var(--muted); margin-top: 10px; font-size: 0.92rem; }

/* Reviews */
.reviews-grid { display: grid; gap: 18px; max-width: 900px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; box-shadow: var(--lift); }
.review-header { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.review-author-wrap { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 38px; height: 38px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); }
.review-author-info { display: flex; flex-direction: column; }
.review-author { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.review-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; font-weight: 400; }
.review-score { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
@media (max-width: 600px) { .review-score { align-items: flex-start; width: 100%; } }
.review-date { color: var(--muted); font-size: 0.85rem; }
.review-rating { display: flex; align-items: center; gap: 1px; }
.star { color: var(--line); font-size: 0.95rem; }
.star.filled { color: var(--ember); }
.review-title { font-size: 1.2rem; margin: 12px 0 8px; }
.review-text { color: var(--ink-2); }

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 700; color: var(--ink); }
.form-input, input.form-input, textarea.form-input, select.form-input { width: 100%; padding: 0.7rem 0.9rem; border-radius: var(--r); border: 2px solid var(--ink); background: var(--field); color: var(--ink); font: inherit; font-size: 1rem; }
.form-input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.form-input::placeholder { color: var(--muted); }
.form-error { color: var(--bad); font-size: 0.875rem; margin-top: 0.4rem; }
.radio-group div { display: flex; align-items: center; }
.radio-group input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); margin-right: 0.3rem; }
.toggle-switch input[type="checkbox"] { width: 1.3rem; height: 1.3rem; accent-color: var(--ink); cursor: pointer; }
.category-group { background: var(--card); padding: 1.1rem; border-radius: var(--r); border: 1px solid var(--line); }
.category-group .form-group { margin-bottom: 0.7rem; display: flex; align-items: center; justify-content: space-between; }
.category-group .form-group label { margin-bottom: 0; font-size: 0.9rem; font-weight: 600; }
.in-depth-input { width: 4rem; padding: 0.4rem; text-align: center; }
.auth-card { background: var(--card); padding: 2.25rem; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--lift); border-top: 3px solid var(--ember); width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.auth-card .auth-sub { color: var(--ink-2); margin-bottom: 1.4rem; }
.auth-field { margin-bottom: 1.1rem; }
.auth-field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.92rem; }
.auth-field input { width: 100%; background: var(--field); border: 2px solid var(--ink); color: var(--ink); padding: 0.7rem 0.9rem; border-radius: var(--r); font: inherit; }
.auth-field input:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.auth-field small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.4rem; }
.auth-field small ul { margin-left: 1rem; }
.auth-error { color: var(--bad); font-size: 0.85rem; margin-top: 0.4rem; }
.auth-submit { width: 100%; }

/* Content pages */
.prose-page { max-width: 700px; margin: 3rem auto 0; }
.prose-page h1 { font-size: clamp(2.1rem, 3.8vw, 2.8rem); margin-bottom: 0.7rem; }
.prose-page .lede { color: var(--ink-2); font-size: 1.15rem; margin-bottom: 2rem; }
.prose-page h2 { font-size: 1.35rem; margin: 2.3rem 0 0.7rem; }
.prose-page p, .prose-page li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose-page p { margin-bottom: 1rem; }
.prose-page ul, .prose-page ol { margin: 0 0 1rem 1.3rem; }
.prose-page code, .prose-page .formula { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0.1rem 0.4rem; font-family: var(--font-mono); font-size: 0.95rem; }
.prose-page .formula { display: block; padding: 1rem; margin: 1rem 0; overflow-x: auto; }
.prose-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.draft-flag { background: color-mix(in srgb, var(--ember) 10%, var(--card)); border: 1px solid var(--ember); color: var(--ink); padding: 0.75rem 1rem; font-size: 0.9rem; margin-bottom: 2rem; }
.hub-table { width: 100%; max-width: 860px; border-collapse: collapse; margin-top: 1rem; }
.hub-table thead th { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--ink); color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.hub-table td { padding: 10px 8px; }
.hub-table tbody tr:nth-child(odd) td { background: var(--card); }
.hub-table td:nth-child(2), .hub-table td:nth-child(3) { font-family: var(--font-mono); }
.hub-table a { color: var(--ink); font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
    .nav-search { display: none; }
    .hero-top { grid-template-columns: 1fr; gap: 36px; }
    .hero-pick { justify-self: start; max-width: 360px; margin-left: 18px; }
    .deal-row { grid-template-columns: repeat(2, 1fr); }
    .product { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 28px; }
    .product-photo { transform: none; }
    .spec-groups { grid-template-columns: 1fr 1fr; }
    .video-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .container { padding: 0 16px; }
    .site-nav { height: auto; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; }
    .nav-links { order: 3; width: 100%; gap: 18px; overflow-x: auto; flex: none; scrollbar-width: none; }
    .nav-links a { padding: 10px 0; }
    .nav-account { margin-left: auto; }
    .jobs { grid-template-columns: 1fr; gap: 26px; }
    .job-fix { transform: none; margin-top: 0; }
    .video-row, .spec-groups { grid-template-columns: 1fr; }
    .rank-row { grid-template-columns: 34px 60px 1fr auto; gap: 12px; }
    .rank-row .well { width: 60px; height: 46px; }
    .rank-row .price-block { display: none; }
    .filters input[type="search"] { flex: 1 1 100%; }
    .filters .sort { margin-left: 0; }
    .detail-section > h2 .section-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
    .deal-row { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
    .deal-save { font-size: 1.05rem; right: 10px; top: 14px; }
    .job { padding: 24px 18px 20px; }
    .job form { flex-direction: column; }
    .job form input[type="search"], .job form select { flex: 0 0 46px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

html, body { overflow-x: clip; }

/* Known issues */
.narrow { max-width: 860px; }
.head-actions { margin-top: 18px; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 8px 0 22px; flex-wrap: wrap; }
.tabs a { padding: 10px 0; color: var(--ink-2); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); border-color: var(--ember); }
.section-note { color: var(--muted); font-size: 0.92rem; max-width: 68ch; margin: -4px 0 16px; }
.issue-sum { margin: 8px 0 0; color: var(--ink-2); font-size: 0.94rem; line-height: 1.55; max-width: 72ch; }
.issue-main { padding: 26px 28px 24px; margin: 18px 0 32px; }
.issue-main h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin: 14px 0 8px; }
.issue-byline { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.issue-body { font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); max-width: 68ch; white-space: pre-wrap; }
.fix-note { margin: 22px 0; padding: 14px 18px; background: var(--field); border: 1px solid var(--line); border-left: 3px solid var(--good); }
.fix-note h2, .issue-sources h2 { font-size: 1rem; margin: 0 0 6px; }
.fix-note p { margin: 0; line-height: 1.6; }
.issue-sources { margin: 0 0 22px; }
.issue-sources ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 0.9rem; }
.issue-sources li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 640px) { .issue-sources ol { columns: 1; } .issue-main { padding: 20px 18px; } }
.build-stamp { font-family: var(--font-mono, monospace); opacity: .75; }

/* Scoreboard (printer page) */
.scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.sb-cell { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 0; text-decoration: none; color: var(--ink); }
.sb-cell + .sb-cell { border-left: 1px solid var(--line); padding-left: 16px; }
.sb-cell:hover .sb-label { color: var(--ember-dark); }
.sb-label { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.sb-num { font: 800 2.1rem/1.05 var(--font-display); font-feature-settings: "lnum"; letter-spacing: -0.01em; }
.sb-num small { font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-left: 2px; }
.sb-num.muted { font-size: 1.15rem; line-height: 2.1rem; color: var(--muted); font-weight: 700; }
.sb-num.bad { color: var(--bad); }
.sb-sub { font-size: 0.85rem; color: var(--muted); }
.sb-sub b { color: var(--ink); }
.card-scores { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.board-more { margin-top: 14px; font-weight: 700; }
.rank-name em.bad { font-style: normal; color: var(--bad); }

/* Reviewer roundup */
.press-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 920px; }
.press-item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.press-score b { display: block; font: 800 1.9rem/1 var(--font-display); font-feature-settings: "lnum"; }
.press-score small { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.press-score .muted { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.press-head { margin: 0 0 4px; font-weight: 700; }
.press-head a { color: var(--ink); }
.press-head span { color: var(--muted); font-weight: 500; }
.press-verdict, .keo-verdict { margin: 0; color: var(--ink-2); line-height: 1.6; max-width: 68ch; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin-top: 10px; max-width: 760px; }
.pc ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--ink-2); }
.pc li { padding: 3px 0 3px 20px; position: relative; line-height: 1.45; }
.pc .pros li::before { content: "+"; position: absolute; left: 2px; font-weight: 800; color: var(--good); }
.pc .cons li::before { content: "\2212"; position: absolute; left: 2px; font-weight: 800; color: var(--bad); }

/* KeoPrints box */
.keo-box { padding: 22px; margin-bottom: 14px; max-width: 980px; }
.keo-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.keo-thumb { position: relative; display: block; border: 1px solid var(--line); background: var(--ink); }
.keo-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.keo-meta { margin: 0 0 6px; font: 700 1.2rem/1.2 var(--font-hand); color: var(--purple); }
.keo-meta b { color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; }
.keo-disclosure { margin: 12px 0 0; font-size: 0.82rem; color: var(--muted); }

/* Price chart */
.price-summary { color: var(--ink-2); max-width: 72ch; margin: -4px 0 14px; }
.price-summary .good { color: var(--good); }
.pchart { position: relative; margin: 0; max-width: 880px; background: var(--card); border: 1px solid var(--line); padding: 14px 14px 6px; }
.pchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pchart .grid { stroke: var(--line); stroke-width: 1; }
.pchart .ylab, .pchart .xlab { font: 500 11px var(--font-mono, monospace); fill: var(--muted); }
.pchart path { fill: none; stroke-linejoin: round; }
.pchart path.paid { stroke: var(--ember); stroke-width: 2.5; }
.pchart path.reg { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 4; }
.pchart circle.low { fill: var(--card); stroke: var(--good); stroke-width: 2.5; }
.pchart .xhair { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.pchart .hover circle { fill: var(--ember); stroke: var(--card); stroke-width: 2; }
.pchart-legend { display: flex; gap: 18px; font-size: 0.82rem; color: var(--ink-2); margin-bottom: 6px; }
.pchart-legend .sw { display: inline-block; width: 18px; height: 0; border-top: 3px solid var(--ember); vertical-align: middle; margin-right: 6px; }
.pchart-legend .sw.reg { border-top: 2px dashed var(--line-strong); }
.pchart-tip { position: absolute; top: 34px; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 0.82rem; padding: 6px 10px; pointer-events: none; white-space: nowrap; line-height: 1.35; }
.pchart-tip s { opacity: .7; }

@media (max-width: 760px) {
    .scoreboard { grid-template-columns: 1fr 1fr; }
    .scoreboard:not(.four) .sb-cell:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
    .press-item { grid-template-columns: 64px 1fr; gap: 14px; }
    .pc, .keo-grid { grid-template-columns: 1fr; }
    .pchart { padding: 10px 8px 4px; }
}
.keo-thumb .play { position: absolute; left: 0; bottom: 0; height: 34px; padding: 0 12px; background: var(--ember); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; text-decoration: none; }

/* ---------- Progressive disclosure: vital first, depth on tap ---------- */
.keyline { margin: 6px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.short { margin: 0; display: grid; gap: 10px; padding: 14px 0 2px; }
.short > div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: baseline; }
.short dt { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.short dd { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.short dd a { font-weight: 600; white-space: nowrap; }
.price-context { margin: 8px 0 12px; font-size: 0.9rem; color: var(--ink-2); }
.price-context .good, .good { color: var(--good); }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.sec-link { font-size: 0.9rem; font-weight: 600; }
.sec-link.muted, .muted { color: var(--muted); font-weight: 500; }
.more { margin-top: 12px; font-weight: 700; }

/* Severity: a word, colored, no badge box */
.sev { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.01em; }
.sev-low { color: var(--good); }
.sev-medium { color: var(--ember-dark); }
.sev-high, .sev-critical { color: var(--bad); }
.fixed { font-size: 0.78rem; font-weight: 700; color: var(--good); margin-left: 6px; }

/* Expandable rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 920px; }
.row { border-bottom: 1px solid var(--line); }
.row > details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto 18px; gap: 14px; align-items: baseline; padding: 13px 4px; }
.row > details > summary::-webkit-details-marker { display: none; }
.row > details > summary:hover { background: var(--card); }
.row > details > summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.row-title { font-weight: 700; line-height: 1.35; }
.row-sub { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.9rem; margin-top: 2px; }
.row-meta { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.row-caret { color: var(--muted); transition: transform .2s cubic-bezier(.16, 1, .3, 1); align-self: center; }
.row > details[open] .row-caret { transform: rotate(180deg); }
.row > details[open] .row-sub { display: none; }
.row-score { font: 800 1.35rem/1 var(--font-display); font-feature-settings: "lnum"; min-width: 2.2em; }
.row-score .muted { font: 600 0.8rem var(--font-body); }
.row-body { padding: 0 4px 16px; max-width: 72ch; }
.row-body p { margin: 0 0 8px; line-height: 1.6; color: var(--ink-2); }
.row-body .fix { color: var(--ink); }
.row-foot { font-size: 0.85rem; color: var(--muted); }
.row-foot a { font-weight: 600; }
.rows .sev { padding-top: 2px; min-width: 4.6em; }
.sev { margin-right: 4px; }
.rows .sev { margin-right: 0; }

/* KeoPrints box (compact) */
.keo-box .keo-verdict { font-size: 1.02rem; }
.keo-more { margin-top: 10px; }
.keo-more summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--purple); list-style: none; }
.keo-more summary::-webkit-details-marker { display: none; }
.keo-more[open] summary .ico { transform: rotate(180deg); }
.keo-more .video-frame { margin-top: 14px; max-width: 640px; }
.keo-disclosure { margin: 12px 0 0; }

/* Specs: one clean table */
.spec-table { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; max-width: 920px; border-top: 2px solid var(--ink); }
.spec-table > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: 0.85rem; font-weight: 700; color: var(--ink-2); }
.spec-table dd { margin: 0; font-family: var(--font-mono); font-size: 0.88rem; }

@media (max-width: 760px) {
    .short > div { grid-template-columns: 1fr; gap: 2px; }
    .row > details > summary { grid-template-columns: auto 1fr 18px; }
    .row > details > summary .row-meta { display: none; }
    .spec-table { grid-template-columns: 1fr; }
    .spec-table > div { grid-template-columns: 120px 1fr; }
}

/* Compact home hero */
.home-hero.compact { padding: 44px 0 8px; max-width: 900px; }
.home-hero.compact .lede { margin: 12px 0 22px; }
.hero-search { display: flex; gap: 10px; max-width: 640px; }
.hero-search input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 2px solid var(--ink); background: var(--field); font-size: 1rem; border-radius: var(--r); }
.hero-search .btn { height: 50px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: 0.92rem; font-weight: 600; }
.hero-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.hero-links a:hover { text-decoration-color: var(--ember); }
.hero-sep { width: 1px; background: var(--line-strong); }
#board { margin-top: 36px; }

/* Printer list as ranked rows */
.plist { border-top: 2px solid var(--ink); }
.plist-head, .prow { display: grid; grid-template-columns: minmax(0, 1fr) 128px 92px 80px 120px 150px; gap: 16px; align-items: center; }
.plist-head { padding: 10px 6px; font-size: 0.78rem; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.prow { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.prow:hover { background: var(--card); }
.prow-main { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--ink); text-decoration: none; }
.prow-main .well { flex: 0 0 88px; width: 88px; height: 66px; border: 1px solid var(--line); }
.prow-name { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.25; min-width: 0; }
.prow-name small { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.prow-name .prow-key { font-weight: 500; margin-top: 3px; }
.prow-main:hover .prow-name { text-decoration: underline; text-underline-offset: 3px; }
.prow-cell { font-size: 0.9rem; }
.prow-cell .bad { color: var(--bad); font-weight: 600; }
.prow-score b { font: 800 1.25rem/1 var(--font-display); font-feature-settings: "lnum"; }
.prow-score small { margin-left: 6px; color: var(--muted); font-size: 0.78rem; }
.prow .price-block { flex-wrap: wrap; gap: 2px 8px; }
.prow .price-now { font-size: 1.1rem; }
.prow-compare { display: flex; justify-content: center; }
.prow-compare input { width: 18px; height: 18px; accent-color: var(--purple); }
.prow.is-discontinued .prow-name { opacity: .7; }
.kp-dark .prow.is-discontinued .prow-name { opacity: .85; }
@media (max-width: 820px) {
    .plist-head { display: none; }
    .prow { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; padding: 14px 4px; }
    .prow-main { grid-column: 1 / -1; padding-right: 36px; }
    .prow-main .well { flex-basis: 72px; width: 72px; height: 54px; }
    .prow-compare { position: absolute; right: 4px; top: 16px; }
    .prow .price-was { display: none; }
    .prow-cell { font-size: 0.85rem; }
    .prow-cell::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
}

.filter-box > summary { display: none; }
@media (max-width: 760px) {
    .filter-box > summary { display: block; cursor: pointer; font-weight: 700; padding: 12px 0; border-top: 2px solid var(--ink); list-style: none; }
    .filter-box > summary::-webkit-details-marker { display: none; }
    .filter-box > summary::after { content: "+"; float: right; font-weight: 800; }
    .filter-box[open] > summary::after { content: "\2212"; }
    .product-photo { width: 100%; max-width: 320px; margin: 0 auto; }
    .product-photo .well { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) { .filter-box .filters { border-top: 0; margin-top: 0; } }

/* Verdict words (Rotten Tomatoes-style plain English) */
.tone-good { color: var(--good); }
.tone-ok { color: var(--ink); }
.tone-meh { color: var(--ember-dark); }
.tone-bad { color: var(--bad); }
.tone-none { color: var(--muted); font-weight: 600; }
.verdict-cell { display: flex; flex-direction: column; align-items: flex-end; min-width: 150px; text-align: right; }
.verdict-cell b { font: 800 1.35rem/1.1 var(--font-display); }
.verdict-cell small { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.prow-verdict { display: flex; flex-direction: column; }
.prow-verdict b { font-weight: 800; font-size: 0.98rem; }
.prow-verdict small { font-size: 0.76rem; color: var(--muted); }

/* Scoreboard with 4 cells */
.scoreboard.four { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
.sb-word { font: 800 1.7rem/1.25 var(--font-display); }
.sb-word.tone-none { font-size: 1.05rem; line-height: 2.1rem; }
.pick-flag { margin: 8px 0 0; }
.pick-flag a { font: 700 1.15rem/1.2 var(--font-hand); color: var(--purple); text-decoration: none; }
.pick-flag a::before { content: ""; display: inline-block; width: 28px; height: 10px; background: rgba(140, 108, 210, .55); transform: rotate(-4deg); margin-right: 8px; vertical-align: middle; }

/* One-tap owner rating */
.own-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.taps { display: flex; gap: 4px; }
.taps button { min-width: 38px; height: 44px; border: 1px solid var(--line-strong); background: var(--field); font: 700 0.85rem var(--font-body); color: var(--ink); cursor: pointer; border-radius: var(--r); }
.taps button:hover, .taps button:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Rate page */
.rate-form { max-width: 620px; display: grid; gap: 26px; margin-top: 8px; }
.rate-form fieldset { border: 0; padding: 0; margin: 0; }
.rate-form legend { font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.scale { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.scale-btn, .yn-btn { position: relative; }
.scale-btn input, .yn-btn input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale-btn span, .yn-btn span { display: flex; align-items: center; justify-content: center; height: 48px; border: 2px solid var(--line-strong); background: var(--field); font: 800 1.05rem var(--font-body); border-radius: var(--r); }
.scale-btn input:checked + span, .yn-btn input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.scale-btn input:focus-visible + span, .yn-btn input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 280px; }
.rate-extra { display: grid; gap: 10px; }
.rate-extra select, .rate-extra input, .rate-email input { height: 46px; padding: 0 12px; border: 2px solid var(--ink); background: var(--field); font-size: 1rem; border-radius: var(--r); width: 100%; }
.rate-email label { font-weight: 800; display: block; margin-bottom: 6px; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--bad); font-weight: 600; font-size: 0.9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Price alert */
.alert-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; }
.alert-form label { margin-right: 4px; }
.money-in { display: inline-flex; align-items: center; height: 44px; box-sizing: border-box; border: 2px solid var(--ink); background: var(--field); padding-left: 12px; border-radius: var(--r); font-weight: 700; }
.money-in input { width: 84px; height: 100%; border: 0; background: transparent; font: 700 1rem var(--font-body); padding: 0 10px 0 4px; }
.alert-form input[type=email] { height: 44px; box-sizing: border-box; padding: 0 12px; border: 2px solid var(--ink); background: var(--field); width: 260px; max-width: 100%; border-radius: var(--r); font: 500 1rem var(--font-body); }
.alert-form .btn { height: 44px; box-sizing: border-box; }
.alert-form .hp { position: absolute; }
@media (max-width: 600px) {
  .alert-form { display: grid; grid-template-columns: auto 1fr; }
  .alert-form label { grid-column: 1 / -1; }
  .alert-form input[type=email] { width: 100%; }
  .alert-form .btn { grid-column: 1 / -1; width: 100%; }
}

/* KeoPicks */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pick { position: relative; padding: 20px 20px 16px; display: flex; flex-direction: column; }
.pick-cat { margin: 0 0 10px; font: 700 1.2rem/1.2 var(--font-hand); color: var(--purple); }
.pick-main { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.pick-main .well { flex: 0 0 96px; width: 96px; height: 72px; border: 1px solid var(--line); }
.pick-name { font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.pick-main:hover .pick-name { text-decoration: underline; text-underline-offset: 3px; }
.pick-why { margin: 12px 0 10px; color: var(--ink-2); font-size: 0.93rem; line-height: 1.55; flex: 1; }
.pick-meta { margin: 0; }
.pick-alts { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); display: grid; gap: 8px; }
.draft-note { margin: 10px 0 0; font-size: 0.75rem; font-weight: 700; color: var(--ember-dark); }
@media (max-width: 960px) { .picks { grid-template-columns: 1fr 1fr; } .scoreboard.four { grid-template-columns: 1fr 1fr; } .scoreboard.four .sb-cell:nth-child(3) { border-left: 0; padding-left: 0; } .scoreboard.four .sb-cell:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .picks { grid-template-columns: 1fr; } .scale { grid-template-columns: repeat(5, 1fr); } .verdict-cell { min-width: 0; } .rank-row .verdict-cell small { display: none; } .taps button { width: 27px; } }
.review-quick { margin: 4px 0 8px; font-size: 0.9rem; color: var(--ink-2); }

@media (max-width: 640px) {
    .picks:not(.full) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 2px 14px; margin: 0 -16px; padding-left: 16px; scrollbar-width: thin; }
    .picks:not(.full) .pick { flex: 0 0 82%; scroll-snap-align: start; }
    .hero-sep { display: none; }
    .hero-links a:last-child { flex-basis: 100%; }
}
@media (max-width: 640px) {
    .rank-row { grid-template-columns: 28px 1fr auto; gap: 10px; }
    .rank-row .well { display: none; }
    .verdict-cell b { font-size: 1rem; }
    .rank-pos { font-size: 1.3rem; }
}
.replaced { margin: 8px 0 0; padding: 8px 12px; background: var(--field); border: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.prow-name .prow-newer { color: var(--ember-dark); font-weight: 700; order: 3; margin-top: 3px; }
.replaces { margin: 6px 0 0; font-size: 0.9rem; color: var(--muted); }
.older { margin-top: 14px; max-width: 920px; }
.older > summary { cursor: pointer; font-weight: 700; font-size: 0.92rem; color: var(--ink-2); padding: 8px 0; list-style: none; }
.older > summary::-webkit-details-marker { display: none; }
.older[open] > summary .ico { transform: rotate(180deg); }
.older .rows { border-top-width: 1px; }

/* Up and coming */
.uplist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.uprow { display: grid; grid-template-columns: minmax(0, 1fr) 170px 130px 130px 160px; gap: 16px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.uprow:hover { background: var(--card); }
.uprow-main { display: flex; align-items: center; gap: 16px; min-width: 0; color: var(--ink); text-decoration: none; }
.uprow-main .well { flex: 0 0 88px; width: 88px; height: 66px; border: 1px solid var(--line); }
.uprow-main:hover .prow-name { text-decoration: underline; text-underline-offset: 3px; }
.uprow-cell { display: flex; flex-direction: column; font-size: 0.88rem; line-height: 1.3; }
.uprow-cell b { font-weight: 800; }
.uprow-cell small { font-size: 0.76rem; color: var(--muted); }
.uprow-cell::before { content: attr(data-label); font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.sent-positive { color: var(--good); }
.sent-mixed { color: var(--ember-dark); }
.sent-skeptical { color: var(--bad); }
.sent-none { color: var(--muted); }
.upcoming-flag { margin: 6px 0 0; font-weight: 700; color: var(--ink-2); }
.upboard { grid-template-columns: repeat(4, 1fr); margin: 0; }
.upboard > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 0; }
.upboard > div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.upboard dt { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.upboard dd { margin: 0; display: flex; flex-direction: column; }
.upboard dd b { font: 800 1.05rem/1.25 var(--font-display); }
.upboard dd small { font-size: 0.8rem; color: var(--muted); }
.price-lg { margin: 0 0 4px; font-size: 1rem; }
.price-lg b { font: 800 1.8rem/1.1 var(--font-display); }
@media (max-width: 820px) {
    .uprow { grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px 4px; }
    .uprow-main { grid-column: 1 / -1; }
    .uprow-main .well { flex-basis: 72px; width: 72px; height: 54px; }
    .upboard { grid-template-columns: 1fr 1fr; }
    .upboard > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Prices / homepage price cards */
.deal-note { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.deal-save.is-low { color: var(--good); }
.any-alert-form { display: grid; grid-template-columns: 2fr 1fr 1.4fr auto; gap: 14px; align-items: end; padding: 18px; max-width: 980px; }
.any-alert-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; font-weight: 700; color: var(--ink-2); min-width: 0; }
.any-alert-form > * { min-width: 0; }
.any-alert-form select, .any-alert-form input { width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;  font: inherit; font-weight: 500; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.any-alert-form .btn { height: 44px; }
@media (max-width: 820px) { .any-alert-form { grid-template-columns: 1fr; } }

/* Grouped lists with "Show N more" */
.pgroup { margin-top: 34px; }
.pgroup:first-of-type { margin-top: 10px; }
.pgroup-head h2 { font-size: 1.45rem; }
.pgroup-head h2 small { font-size: 0.9rem; color: var(--muted); font-weight: 700; margin-left: 6px; }
.pgroup-head p { color: var(--muted); margin: 4px 0 12px; font-size: 0.92rem; }
.pgroup-retired > summary { list-style: none; cursor: pointer; }
.pgroup-retired > summary::-webkit-details-marker { display: none; }
.pgroup-retired > summary .pgroup-head h2::after { content: " +"; color: var(--ember-dark); }
.pgroup-retired[open] > summary .pgroup-head h2::after { content: " −"; }
details.more > summary { list-style: none; cursor: pointer; display: inline-block; margin: 12px 0 0; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); font-weight: 700; color: var(--ink); background: var(--card); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary:hover { border-color: var(--ink); }
details.more .more-close, details.more[open] .more-open { display: none; }
details.more[open] .more-close { display: inline; }
details.more[open] > summary { order: 2; }
details.more[open] { display: flex; flex-direction: column; align-items: flex-start; }
details.more[open] > .plist, details.more[open] > ol { width: 100%; border-top: 0; }
.more-cards { margin-top: 30px; width: 100%; }

/* One row layout everywhere: Printers (default), buy-the-dips, coming soon, picks */
.plist-head, .prow { grid-template-columns: minmax(0, 1fr) 128px 92px 80px 120px 150px 86px; }
.prow-buy { grid-template-columns: minmax(0, 1fr) 120px 150px 120px 150px 86px; }
.prow-coming { grid-template-columns: minmax(0, 1fr) 170px 140px 140px 170px; }
.prow-pick { grid-template-columns: 150px minmax(0, 1fr) 110px 150px 86px; align-items: start; }
.prow-pick .prow-cell { padding-top: 22px; }
.pick-job { font: 700 1.05rem/1.25 var(--font-hand); color: var(--purple); }
.pick-cell { flex-direction: column; align-items: flex-start; gap: 6px; }
.pick-link { display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.pick-link .well { flex: 0 0 88px; width: 88px; height: 66px; border: 1px solid var(--line); }
.pick-link:hover .prow-name { text-decoration: underline; text-underline-offset: 3px; }
.pick-why { margin: 0; font-size: 0.88rem; color: var(--ink-2); max-width: 62ch; }
.pick-alts { margin: 2px 0 0; padding-left: 18px; font-size: 0.84rem; color: var(--muted); }
.prow-cell small { display: block; font-size: 0.76rem; color: var(--muted); }
.prow-cell .good { color: var(--good); }

/* Compare toggle + tray */
.prow-compare { display: flex; justify-content: flex-end; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--muted); cursor: pointer; user-select: none; padding: 6px 8px; border: 1px solid transparent; border-radius: var(--r); }
.cmp-toggle input { width: 16px; height: 16px; accent-color: var(--purple); margin: 0; }
.cmp-toggle:hover, .cmp-toggle.on { color: var(--purple); border-color: var(--line); background: var(--card); }
.cmp-toggle input:disabled + span { opacity: .4; }
.detail-cmp { margin: 8px 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.cmp-tray { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; max-width: calc(100vw - 32px); background: var(--ground); color: var(--paper); border-radius: var(--r); box-shadow: var(--lift); }
.cmp-tray[hidden] { display: none; }
.cmp-tray-names { font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cmp-tray .btn.is-disabled { opacity: .55; cursor: default; }
.cmp-clear { background: none; border: 0; color: var(--paper); opacity: .8; font: inherit; font-size: 0.85rem; cursor: pointer; text-decoration: underline; }
body.has-cmp-tray .site-footer { padding-bottom: 80px; }

@media (max-width: 820px) {
    .prow-buy, .prow-coming { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 12px; }
    .prow-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .prow-pick .pick-job, .prow-pick .pick-cell { grid-column: 1 / -1; padding-top: 0; }
    .prow-pick .prow-cell { padding-top: 0; }
    .prow-compare { position: absolute; right: 2px; top: 10px; }
    .prow-compare .cmp-toggle span { display: none; }
    .prow { position: relative; }
    .prow-main { padding-right: 34px; }
    .cmp-tray { left: 16px; right: 16px; transform: none; }
    /* Phone card for the standard printer row: name, then verdict + price, then the three counts */
    .prow-std { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "main main main" "verdict verdict price" "rev own iss"; gap: 12px 12px; padding: 16px 4px; }
    .prow-std .prow-main { grid-area: main; }
    .prow-std .prow-verdict { grid-area: verdict; }
    .prow-std .prow-rev { grid-area: rev; }
    .prow-std .prow-own { grid-area: own; }
    .prow-std .prow-iss { grid-area: iss; }
    .prow-std .prow-price { grid-area: price; justify-self: end; text-align: right; display: flex; flex-direction: column; align-items: flex-end; min-width: 0; }
    .prow-std .prow-price .price-block { justify-content: flex-end; }
    .prow-std .prow-price .mini-curve { width: 120px; height: auto; }
    .prow-std { align-items: start; }
    .prow-std .prow-score small { display: inline; margin-left: 4px; }
    .prow-std .prow-score small::before { content: "("; } .prow-std .prow-score small::after { content: ")"; }
}

/* Dip chart: weekly bars hanging from the highest tracked price */
:root { --dip-low: #2D6E40; --dip-below: #8DB89A; --dip-avg: #C9C1B3; --dip-above: #E9A877; --dip-high: #C2571A; }
.dipchart { position: relative; margin: 0; max-width: 880px; background: var(--card); border: 1px solid var(--line); padding: 14px 16px 12px; }
.dip-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.dip-peak { font: 700 0.8rem var(--font-mono, monospace); color: var(--ink-2); }
.dip-scroll { overflow-x: auto; }
.dip-svg { display: block; width: 100%; min-width: 420px; height: 160px; overflow: visible; }
.dip-top { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dip { fill: var(--dip-avg); }
.dip.t-low { fill: var(--dip-low); }
.dip.t-below { fill: var(--dip-below); }
.dip.t-above { fill: var(--dip-above); }
.dip.t-high { fill: var(--dip-high); }
.dip.now { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dip-svg .dip:hover { opacity: .75; }
.dip-month { font: 500 11px var(--font-mono, monospace); fill: var(--muted); }
.dip-key { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.78rem; color: var(--ink-2); }
.dip-key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; background: var(--dip-avg); }
.dip-key i.t-low { background: var(--dip-low); } .dip-key i.t-below { background: var(--dip-below); }
.dip-key i.t-above { background: var(--dip-above); } .dip-key i.t-high { background: var(--dip-high); }
.dip-key i.t-now { background: transparent; outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.dip-cap { font-size: 0.85rem; color: var(--ink-2); margin-top: 8px; }
.dip-tip { position: absolute; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: 0.8rem; padding: 6px 10px; pointer-events: none; white-space: nowrap; line-height: 1.35; z-index: 3; }
.mini-dips { display: block; margin-top: 9px; overflow: visible; }
.mini-dips .dip-top { stroke-width: 1; }
.mini-dips .dip.now { stroke-width: 1; }
.mini-flat { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--muted); }
.mini-dips { max-width: 100%; height: auto; }

/* ---------- Rewards: owner photos, Spools, giveaways ---------- */
.container.narrow { max-width: 760px; }
.crumb { font-size: .85rem; margin-bottom: 6px; }
.fine { font-size: .82rem; color: var(--ink-2); margin-top: 10px; }
.incentive-note { margin: 0 0 14px; }
.tag { display: inline-block; font: 700 .7rem/1 var(--font-body); letter-spacing: .02em; padding: 4px 7px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.tag-verified { background: var(--good); border-color: var(--good); color: var(--paper); }
.tag-give { border-color: var(--ember); color: var(--ink); }
.verify-grid { display: grid; grid-template-columns: minmax(180px, 220px) 1fr; gap: 24px; align-items: center; margin: 8px 0 20px; }
.verify-code { background: #F6E27A; color: var(--ink); padding: 18px; transform: rotate(-2deg); box-shadow: 0 6px 14px rgba(13, 7, 24,.18); text-align: center; }
.verify-code span, .verify-code small { display: block; font-size: .78rem; }
.verify-code strong { display: block; font: 800 2rem/1.2 var(--font-mono, monospace); letter-spacing: .04em; margin: 6px 0; }
.verify-steps { padding-left: 20px; display: grid; gap: 8px; }
.verify-form { display: grid; gap: 8px; max-width: 520px; }
.verify-form label { font-weight: 700; font-size: .9rem; margin-top: 6px; }
.verify-form .opt { font-weight: 400; color: var(--ink-2); }
.verify-form input[type=file] { width: 100%; max-width: 100%; box-sizing: border-box; }
.verify-form input[type=text], .verify-form input[type=file] { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--field); }
.verify-form .btn { justify-self: start; margin-top: 8px; }
.verify-done { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.verify-done img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.verify-state { font-weight: 800; }
.verify-state.ok { color: var(--good); }
.verify-state.bad { color: var(--bad); margin-bottom: 12px; }
.owner-wall { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.owner-wall figure { margin: 0; }
.owner-wall img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); display: block; }
.owner-wall figcaption { font-size: .8rem; margin-top: 5px; color: var(--ink-2); overflow-wrap: anywhere; }
.owner-wall figcaption b { color: var(--ink); }
.spool-me, .spool-give { margin-top: 10px; }
.spool-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.spool-table { width: 100%; border-collapse: collapse; }
.spool-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.spool-table td:last-child { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; padding-left: 12px; white-space: nowrap; }
.spool-sub { font-size: 1.05rem; margin: 22px 0 10px; }
.badge-list { list-style: none; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.badge, .badge-row li { display: inline-block; font: 700 .75rem/1 var(--font-body); padding: 5px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); margin-right: 6px; }
.badge-row { list-style: none; padding: 0; margin: 8px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.leaderboard { padding-left: 24px; display: grid; gap: 2px; }
.leaderboard li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.leaderboard li span { display: inline-block; min-width: 60%; overflow-wrap: anywhere; }
.leaderboard li b { float: right; font-variant-numeric: tabular-nums; }
.leaderboard.small li { padding: 5px 0; font-size: .9rem; }
.garage { grid-column: 1 / -1; background: var(--card-bg); padding: 2rem 2.5rem; border: 1px solid var(--border-color); }
.garage h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.garage h2 small { font-size: .95rem; }
.garage-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.garage-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.give-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.give-state { font-weight: 800; font-size: .8rem; grid-row: span 2; }
.give-title { font-weight: 700; }
.give-prize { grid-column: 2; font-size: .9rem; color: var(--ink-2); }
.give-when { grid-column: 3; grid-row: 1; font-size: .85rem; }
.rules { font-size: .92rem; }
@media (max-width: 720px) {
  .verify-grid, .verify-done, .spool-grid { grid-template-columns: 1fr; }
  .verify-code { max-width: 240px; }
  .garage { padding: 1.25rem; }
  .give-row { grid-template-columns: 1fr; } .give-state, .give-when, .give-prize { grid-column: 1; grid-row: auto; }
}

/* ---------- Home banner ---------- */
.banner { position: relative; margin: 20px 0 6px; border-radius: 10px; overflow: hidden; background: var(--ground, #140E20); color: var(--on-ground); }
.banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-track:focus-visible { box-shadow: inset 0 0 0 3px var(--ember); }
.banner-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 24px;
  min-height: 210px; padding: 26px 32px 46px; text-decoration: none; color: inherit; position: relative; }
.banner-slide:hover .banner-cta { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.banner-copy { display: grid; gap: 8px; align-content: center; min-width: 0; }
.banner-eyebrow { font: 700 .74rem/1 var(--font-mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.banner-title { font-size: clamp(1.4rem, 3.2vw, 2.15rem); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.banner-text { color: #CDC9D3; max-width: 52ch; font-size: .98rem; }
.banner-cta { justify-self: start; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; padding: 9px 16px; border: 2px solid var(--on-ground); border-radius: var(--r); font-weight: 700; font-size: .9rem; transition: background-color .12s, color .12s, border-color .12s; }
.banner-art { justify-self: end; width: 100%; max-width: 280px; aspect-ratio: 4/3; border-radius: 8px; background: #F3EFE6; display: grid; place-items: center; overflow: hidden; position: relative; }
.banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.banner-mark { background: radial-gradient(circle at 30% 30%, var(--purple) 0 28%, transparent 29%), radial-gradient(circle at 70% 65%, var(--ember) 0 22%, transparent 23%), #1B1329; }
.k-drop .banner-eyebrow, .k-rate .banner-eyebrow { color: #957CC4; }
.banner-controls { position: absolute; left: 32px; bottom: 14px; display: flex; align-items: center; gap: 12px; }
.banner-dots { display: flex; gap: 0; }
.banner-dots button, .banner-pause { background: none; border: 0; padding: 20px 4px; min-height: 44px; cursor: pointer; color: var(--on-ground); }
.banner-pause { padding: 13px 13px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.banner-dots span { display: block; width: 22px; height: 4px; border-radius: 2px; background: rgba(243,239,230,.3); overflow: hidden; position: relative; }
.banner-dots [aria-selected="true"] span::after { content: ""; position: absolute; inset: 0; background: var(--on-ground); transform-origin: left; animation: banner-fill 7s linear forwards; animation-play-state: var(--banner-run, running); }
.banner.is-paused .banner-dots [aria-selected="true"] span::after { animation: none; transform: none; }
.banner-pause svg { fill: currentColor; display: block; opacity: .8; }
.banner.is-paused .banner-pause svg rect:last-child { display: none; }
.banner.is-paused .banner-pause svg rect:first-child { width: 0; }
.banner.is-paused .banner-pause svg { clip-path: polygon(15% 5%, 95% 50%, 15% 95%); background: currentColor; }
.banner-dots button:focus-visible, .banner-pause:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 3px; }
@keyframes banner-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .banner-dots [aria-selected="true"] span::after { animation: none; transform: none; } }
@media (max-width: 640px) {
  .banner-slide { grid-template-columns: 1fr; padding: 20px 18px 46px; min-height: 0; gap: 14px; }
  .banner-art { justify-self: stretch; max-width: none; width: 100%; aspect-ratio: auto; height: 150px; order: -1; }
  .banner-mark { display: none; }
  .banner-controls { left: 18px; }
}

/* ---------- Price curve vs median (replaces dip bars) ---------- */
:root { --cv-up: #D2483C; --cv-down: #3E9B5C; }
.curvechart { margin: 0; }
.curve-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; margin-bottom: 8px; font-size: .95rem; }
.curve-now.below { color: var(--cv-down); } .curve-now.above { color: var(--cv-up); }
.curve-key { font-size: .8rem; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.curve-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-left: 6px; }
.k-up { background: var(--cv-up); } .k-down { background: var(--cv-down); }
.curve-wrap { position: relative; }
.curve-svg { display: block; width: 100%; height: auto; }
.curve-sm { display: none; }
@media (max-width: 640px) { .curve-lg { display: none; } .curve-sm { display: block; } .curvechart { padding: 12px 10px 10px; } }
.cv-up { fill: var(--cv-up); } .cv-down { fill: var(--cv-down); }
.cv-med { stroke: var(--ink); stroke-width: 2.5; }
.cv-line { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: .5; }
.cv-grid { stroke: var(--line); stroke-dasharray: 2 4; }
.cv-axis { font: 10px var(--font-mono, monospace); fill: var(--ink-2); }
.cv-tag { fill: var(--ink); } .cv-tag-t { font: 600 11px var(--font-mono, monospace); fill: var(--paper); }
.cv-peak { font: 600 12px var(--font-mono, monospace); fill: var(--cv-up); }
.cv-now { fill: var(--card); stroke-width: 2.5; stroke: var(--ink); } .cv-now.below { stroke: var(--cv-down); } .cv-now.above { stroke: var(--cv-up); }
.cv-hit { fill: transparent; cursor: crosshair; }
.cv-hit:hover { fill: color-mix(in srgb, var(--ink) 7%, transparent); }
.curve-tip { position: absolute; top: 4px; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-size: .8rem; padding: 5px 9px; border-radius: 4px; white-space: nowrap; pointer-events: none; }
.mini-curve { display: block; margin-top: 9px; overflow: visible; }
.mini-curve .cv-med { stroke-width: 1.5; }
.mini-curve .cv-now { stroke-width: 1.5; }

.price-note { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin: 4px 0 2px; }

/* Compare page on phones: label column stays pinned, printers scroll sideways at a readable width */
@media (max-width: 640px) {
    .cmp-grid { min-width: 0; }
}
.cmp-swipe { display: none; }
@media (max-width: 640px) {
    .cmp-swipe { display: block; margin: 0 0 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
}

/* Phone: 10 rating taps share the row evenly instead of pushing the page wider. */
@media (max-width: 640px) {
    .taps { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); width: 100%; }
    .taps button { min-width: 0; }
    .verify-grid { grid-template-columns: 1fr; }
}

/* Feedback page */
.feedback-form { display: grid; gap: 18px; max-width: 620px; margin-top: 8px; }
.feedback-form .field { display: grid; gap: 6px; }
.feedback-form label { font-weight: 700; }
.feedback-form select, .feedback-form textarea, .feedback-form input[type=email] { font: inherit; width: 100%; max-width: 100%; box-sizing: border-box;
    padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--paper); color: var(--ink); min-height: 44px; }
.feedback-form button { justify-self: start; min-height: 44px; }

/* Spools disclosure on each review */
.tag-spools { border-color: var(--line-strong); color: var(--ink-2); }

/* Phone: buy bar that appears once the price box has scrolled away */
.sticky-buy { display: none; }
@media (max-width: 760px) {
    .sticky-buy:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--paper); border-top: 1px solid var(--line-strong); box-shadow: 0 -6px 18px rgba(13, 7, 24, 0.12); }
    .sticky-buy-name { display: grid; font-size: 0.85rem; line-height: 1.25; min-width: 0; }
    .sticky-buy-name b { font-size: 1.05rem; }
    .sticky-buy-name small { color: var(--good); font-weight: 700; }
    .sticky-buy .btn { min-height: 44px; white-space: nowrap; }
}

/* Guide pages: best-of, head-to-heads, deals */
.guide .page-head .updated { color: var(--muted, #716F76); font-size: 0.9rem; margin: 4px 0 10px; }
.guide .answer { font-size: 1.1rem; line-height: 1.55; max-width: 70ch; }
.guide-table-wrap { overflow-x: auto; margin: 18px 0 8px; -webkit-overflow-scrolling: touch; }
.guide-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--paper); }
.guide-table th, .guide-table td { padding: 12px 10px; border-bottom: 1px solid var(--line, #DDD6CB); text-align: left; vertical-align: middle; }
.guide-table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); border-bottom: 2px solid var(--line-strong); }
.guide-table th[scope="row"] { font-weight: 700; }
.guide-table .role { display: block; font-size: 0.75rem; font-weight: 700; color: var(--purple-ink, #46247F); text-transform: uppercase; letter-spacing: 0.04em; }
.vs-table { min-width: 520px; }
.vs-table thead th { text-align: center; text-transform: none; font-size: 1rem; letter-spacing: 0; }
.vs-table thead img { object-fit: contain; }
.vs-table td { width: 40%; }
.vs-summary { margin: 10px 0 0; padding-left: 1.2em; line-height: 1.6; max-width: 70ch; }
.pick { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 20px; margin: 18px 0; }
.pick-photo img { width: 100%; height: auto; object-fit: contain; }
.pick h2 { margin: 2px 0 6px; font-size: 1.35rem; }
.pick-role { margin: 0; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ember-dark); }
.pick-stats { margin: 0 0 6px; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 12px; }
.btn.btn-sm.btn-buy { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.best-grid { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.best-card { padding: 18px; }
.best-card h2 { font-size: 1.15rem; margin: 0 0 8px; }
.link-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.vs-list { columns: 2 280px; line-height: 2.2; padding-left: 1.2em; }
.proof-strip { list-style: none; padding: 0; margin: 10px 0 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9rem; color: var(--ink-2); }
.proof-strip b { color: var(--ink); }
@media (max-width: 640px) {
    .pick { grid-template-columns: 1fr; }
    .pick-photo { max-width: 220px; margin: 0 auto; }
}

.alt-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.alt-card { padding: 16px; }
.alt-name { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.alt-name img { object-fit: contain; background: var(--photo); border-radius: 6px; }
.guide .btn-buy, .alt-card .btn-buy { width: auto; }
.guide-table .btn-buy, .alt-card .btn-buy, .pick .btn-buy { height: auto; min-height: 44px; padding: 8px 14px; font-size: 0.9rem; }
@media (max-width: 640px) {
    .vs-table { min-width: 0; font-size: 0.9rem; table-layout: fixed; }
    .vs-table th, .vs-table td { padding: 9px 6px; overflow-wrap: anywhere; }
    .vs-table th[scope="row"] { width: 30%; font-size: 0.8rem; }
    .vs-table td { width: 35%; }
    .vs-table thead img { width: 64px; height: 64px; }
    .vs-table .btn-buy { white-space: normal; font-size: 0.8rem; padding: 8px; }
    .guide-table:not(.vs-table) { min-width: 0; font-size: 0.9rem; }
    .guide-table:not(.vs-table) th, .guide-table:not(.vs-table) td { padding: 9px 6px; }
    .guide-table:not(.vs-table) .btn-buy { white-space: normal; font-size: 0.78rem; padding: 7px 8px; text-align: center; }
}

@media (max-width: 640px) {
    .cta-long { display: none; }
    .guide-table .col-own { display: none; }
    .guide-table:not(.vs-table) .btn-buy { white-space: nowrap; font-size: 0.9rem; }
}
@media (max-width: 760px) { body:has(.sticky-buy) .site-footer, body:has(.sticky-buy) footer { padding-bottom: 96px; } }

/* Deals table becomes a card list on phones */
@media (max-width: 600px) {
  .deals-table, .deals-table tbody { display: block; width: 100%; min-width: 0; }
  .deals-table thead { display: none; }
  .deals-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .guide-table.deals-table th[scope=row], .guide-table.deals-table td { padding: 0; border: 0; grid-column: 1; text-align: left; }
  .deals-table th[scope=row] { font-size: 1.02rem; }
  .deals-table td:nth-child(2), .deals-table td:nth-child(3), .deals-table td:nth-child(4) { font-size: 0.9rem; }
  .deals-table td br { display: none; }
  .deals-table td small { margin-left: 6px; }
  .guide-table.deals-table td:last-child { grid-column: 2; grid-row: 1 / span 4; justify-self: end; }
}

/* Every dropdown draws its own arrow. Safari ignores padding and height on native selects, which left
   them 22px tall and out of line with the inputs beside them. */
select:not([multiple]) { -webkit-appearance: none; appearance: none; min-height: 44px; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2307180E' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.filters select:not([multiple]) { min-height: 40px; }

/* Head-to-head header: photo and name line up with the column under them */
.vs-table thead th { text-align: left; }
.vs-table thead a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ---- Polish pass (Nov 2026): fewer ornaments, steadier numbers, honest feedback ---- */
/* No tilted cards or tape: content sits straight. (The handwritten price notes stay.) */
.tape { display: none; }
.hero-pick, .hero-pick:hover, .job-fix, .deal:nth-child(odd), .deal:nth-child(even), .product-photo, .verify-code { transform: none; }
.deal:hover { transform: translateY(-2px); }
/* Numbers line up in columns */
.prow-score b, .prow-cell, .guide-table td, .vs-table td, .price-block, .proof-strip b, .sb-score, .kp-score, table td { font-variant-numeric: tabular-nums lining-nums; }
/* Home headline: the second clause gets its own line, the first never orphans a word */
.home-hero h1 { max-width: none; }
.home-hero h1 em { display: block; }
/* Small supporting text was hard to read */
.prow-cell small, .prow-score small, .uprow-cell small { font-size: 0.8rem; color: var(--ink-2); }
/* Helpful button */
.helpful-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--muted); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.helpful-btn:hover { border-color: var(--ink); color: var(--ink); }
.helpful-btn.is-on { background: color-mix(in srgb, var(--purple) 10%, transparent); border-color: var(--purple); color: var(--purple); }

/* Motion: quick, ease-out, no bounce. Press feedback on every button. */
.btn, .helpful-btn, .vote-btn, .cmp-toggle, button { transition-property: background-color, color, border-color, transform, box-shadow; transition-duration: .15s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
.btn:active, .helpful-btn:active, .vote-btn:active:not(:disabled), .cmp-toggle:active, button:active:not(:disabled) { transform: scale(0.97); transition-duration: .08s; }
@keyframes kp-pulse { 0% { box-shadow: 0 0 0 0 rgba(88, 48, 162, .45); } 100% { box-shadow: 0 0 0 10px rgba(88, 48, 162, 0); } }
.kp-pulse { animation: kp-pulse .45s cubic-bezier(.2, .8, .2, 1); }
/* Working state: the label fades and a small spinner shows; clicks are ignored */
@keyframes kp-spin { to { transform: rotate(360deg); } }
.is-busy { position: relative; pointer-events: none; color: transparent !important; }
.is-busy > * { visibility: hidden; }
.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--ink) transparent var(--ink) transparent; animation: kp-spin .7s linear infinite; }
.btn-primary.is-busy::after, .btn-buy.is-busy::after { border-color: var(--paper) transparent var(--paper) transparent; }
/* Compare tray slides up from the bottom when it appears */
@keyframes kp-rise { from { transform: translateY(100%); } to { transform: none; } }
#cmp-tray:not([hidden]) { animation: kp-rise .2s cubic-bezier(.2, .8, .2, 1); }
/* Expanding sections open quickly */
@keyframes kp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
details[open] > :not(summary) { animation: kp-in .18s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .kp-pulse, #cmp-tray:not([hidden]), details[open] > :not(summary) { animation: none; }
  .btn:active, .helpful-btn:active, .vote-btn:active, .cmp-toggle:active, button:active { transform: none; }
}

/* Backgrounds with a little depth: faint paper grain on the page, a faint blueprint grid on the dark banner. */
body { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.banner { background-image: linear-gradient(rgba(243, 239, 230, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 230, .045) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }

/* Best-of index: same table look as Printers, Prices and Coming soon */
.blist-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) 130px; }
.blist-go { justify-self: end; }
.blist-name { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.blist-name b { font-size: 1.05rem; }
.blist-name:hover b { text-decoration: underline; text-underline-offset: 3px; }
.blist-name small { color: var(--ink-2); font-size: 0.82rem; }
.blist-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blist-pick { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.blist-pick .well { flex: 0 0 56px; width: 56px; height: 42px; border: 1px solid var(--line); }
.blist-pick b { display: block; font-size: 0.95rem; }
.blist-pick small { display: block; font-size: 0.8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.blist-pick:hover b { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .blist-row { grid-template-columns: 1fr; gap: 10px; }
  .blist-picks { grid-template-columns: 1fr; gap: 10px; }
  .blist-go { justify-self: start; }
}
.vslist .blist-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .vslist .blist-picks { grid-template-columns: 1fr; } }

/* Guide tables (deals, best-of lists, head-to-heads) match the printer tables everywhere else */
.guide-table { background: transparent; border-top: 2px solid var(--ink); }
.guide-table thead th { font-size: 0.78rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.guide-table th[scope="row"] a { color: var(--ink); text-decoration: none; font-weight: 700; }
.guide-table th[scope="row"] a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gt-printer { display: flex; align-items: center; gap: 12px; }
.gt-printer .well { flex: 0 0 56px; width: 56px; height: 42px; border: 1px solid var(--line); }
.gt-printer small { display: block; font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.btn-buy { gap: 0.3em; }

/* Printer page: owner ratings shown one by one until there are enough for an average */
.owner-tally { margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--ember-ink); background: var(--paper-2, rgba(13,7,24,0.03)); font-size: 0.92rem; max-width: 68ch; }

/* Click-to-play video: a local still image until pressed (no YouTube request before that) */
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; display: block; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; transition: opacity 0.15s; }
.yt-facade:hover img, .yt-facade:focus-visible img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 52px; margin: -26px 0 0 -38px; border-radius: 14px; background: var(--ember); box-shadow: 0 2px 10px rgba(13, 7, 24, 0.35); }
.yt-play::after { content: ""; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.yt-facade:hover .yt-play, .yt-facade:focus-visible .yt-play { background: #A84C0E; }
.yt-note { position: absolute; right: 10px; bottom: 8px; font-size: 0.75rem; color: #fff; background: rgba(13, 7, 24, 0.65); padding: 2px 8px; border-radius: 4px; }
.yt-facade:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

/* Signup: Terms checkbox (clickwrap) */
.agree-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.4; cursor: pointer; }
.agree-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ember); }

/* Consider-instead cards: the compare link is a full-size tap target (WCAG 2.2 target size) */
.alt-compare { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 0; }
.vs-full { display: inline-flex; align-items: center; min-height: 32px; }

/* ---- Nov 2026: error pages, share, password toggle, phone menu hint, chart draw-in ---- */
.errpage { padding: 56px 0 72px; max-width: 720px; }
.err-code { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: .12em; color: var(--muted); margin: 0 0 6px; }
.err-search { display: flex; gap: 10px; margin: 24px 0 18px; }
.err-search input { flex: 1; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--field); font: inherit; }
.err-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.err-links a { display: inline-block; padding: 10px 0; font-weight: 600; }

.share-btn { min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; background: none; border: 0; color: var(--purple); font: inherit; font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .15s cubic-bezier(.2, .8, .2, 1); }
.share-btn:hover { color: var(--purple-dark); }
.share-btn.is-done { color: var(--good); text-decoration: none; }
.share-line { margin: 4px 0 0; }
.share-line .share-btn { margin-left: 0; padding-left: 0; }

.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 64px !important; box-sizing: border-box; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); min-height: 44px; min-width: 52px; padding: 0 8px; background: none; border: 0; color: var(--purple); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.pw-toggle:active { transform: translateY(-50%); }

@media (max-width: 1020px) {
    /* The menu scrolls sideways on smaller screens: fade the right edge so it's clear there's more. */
    .nav-links { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); padding-right: 28px; }
}

.flash { animation: kp-in .22s cubic-bezier(.2, .8, .2, 1); }

/* Price chart draw-in (JS adds .will-draw only when motion is allowed). Line eases in over ~0.7s, the areas fade in
   behind it, and today's dot lands last with a small overshoot. */
.curve-svg.will-draw .cv-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.curve-svg.will-draw .cv-up, .curve-svg.will-draw .cv-down { opacity: 0; }
.curve-svg.will-draw .cv-now { opacity: 0; transform-box: fill-box; transform-origin: center; }
.curve-svg.is-drawn .cv-line { animation: cv-draw .7s cubic-bezier(.65, 0, .35, 1) forwards; }
.curve-svg.is-drawn .cv-up, .curve-svg.is-drawn .cv-down { animation: cv-fade .45s ease-out .3s forwards; }
.curve-svg.is-drawn .cv-now { animation: cv-land .32s cubic-bezier(.34, 1.56, .64, 1) .68s forwards; }
@keyframes cv-draw { to { stroke-dashoffset: 0; } }
@keyframes cv-fade { to { opacity: 1; } }
@keyframes cv-land { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }

/* Owner reviews lead the printer page (user-driven first); past the first five, the rest fold away. */
.more-reviews { margin-top: 16px; }
.more-reviews > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); background: var(--card); font-weight: 600; cursor: pointer; list-style: none; }
.more-reviews > summary::-webkit-details-marker { display: none; }
.more-reviews[open] > summary { margin-bottom: 16px; }

/* ---------------- Dark mode ----------------
   Follows the device setting unless the visitor picks Light or Dark in the footer (stored per browser as
   data-theme on <html>). The accents swap roles on black: text accents (links, handwriting, warnings) go warm
   orange, solid fills (header rule, card tops, video play tags) go purple. Buy buttons and stars stay orange. Contrast checked: body text 16:1,
   muted 7.6:1, orange text 8.8:1, white on the purple buy button 5.4:1. */
:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #0F0C15; --card: #18141F; --field: #1F1A28; --well: #1F1A28; --photo: #F4F2EE;
    --ink: #F1EDE6; --ink-2: #D3CDD9; --muted: #A6A0AE;
    --line: #332C3E; --line-strong: #544A63; --rule: rgba(242, 154, 78, 0.09);
    --purple: #F29A4E; --purple-dark: #F7B57D;          /* text accents: orange on black */
    --ember: #6D45C6; --ember-dark: #EFA567;            /* fills: purple; small text accents stay warm */
    --tape: rgba(124, 88, 214, 0.55);
    --good: #62C281; --bad: #F2786C; --ground: #07050B;
    --lift: 0 1px 0 rgba(0, 0, 0, 0.4), 0 12px 24px -14px rgba(0, 0, 0, 0.8);
    --dip-low: #62C281; --dip-below: #3F7A52; --dip-avg: #4A4357; --dip-above: #A8673A; --dip-high: #F29A4E;
    --cv-up: #D8574A; --cv-down: #3E9B5C;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --paper: #0F0C15; --card: #18141F; --field: #1F1A28; --well: #1F1A28; --photo: #F4F2EE;
        --ink: #F1EDE6; --ink-2: #D3CDD9; --muted: #A6A0AE;
        --line: #332C3E; --line-strong: #544A63; --rule: rgba(242, 154, 78, 0.09);
        --purple: #F29A4E; --purple-dark: #F7B57D;
        --ember: #6D45C6; --ember-dark: #EFA567;
        --tape: rgba(124, 88, 214, 0.55);
        --good: #62C281; --bad: #F2786C; --ground: #07050B;
        --lift: 0 1px 0 rgba(0, 0, 0, 0.4), 0 12px 24px -14px rgba(0, 0, 0, 0.8);
        --dip-low: #62C281; --dip-below: #3F7A52; --dip-avg: #4A4357; --dip-above: #A8673A; --dip-high: #F29A4E;
        --cv-up: #D8574A; --cv-down: #3E9B5C;
    }
}
/* The rules that differ beyond colour tokens. .kp-dark is set on <html> by the head script whenever dark is in effect. */
.kp-dark .footer-brand img { filter: none; }
/* Keo's call: Buy buttons and rating stars stay orange in both themes (orange = buy). Dark text on this orange: 5.9:1. */
.kp-dark .star.filled { color: #E8772A; }
.kp-dark .video-card .play, .kp-dark .keo-thumb .play, .kp-dark .banner-slide:hover .banner-cta { color: #FFFFFF; }
.kp-dark body { background-image: none; }

/* Theme picker in the footer */
.theme-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 20px 0 0; font-size: 0.85rem; }
.theme-pick span { margin-right: 6px; }
.theme-pick button { min-height: 44px; padding: 0 12px; background: none; border: 1px solid var(--line); color: var(--ink-2); font: inherit; font-size: 0.85rem; cursor: pointer; }
.theme-pick button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); font-weight: 700; }

/* ---------------- Tactile buttons (Nov 2026, approved from the button study) ----------------
   One light source, straight above. A raised button = a 1px top light (inset), a hard bottom edge in a darker
   shade of its own colour (its thickness), and a soft shadow tinted warm. Hover lifts 1px; press sinks onto the
   edge in ~2 frames (34ms); release springs back over 0.22s. Only the Buy button glows, and only on hover/focus.
   Colours, sizes, corners and the 44px minimum are unchanged. Reduce-motion: no movement (global rule above). */
:root { --btn-top: rgba(255, 255, 255, .14); --btn-top-ember: rgba(255, 255, 255, .30); --btn-edge-ink: #000000;
        --btn-edge-ember: #A84C0E; --btn-shadow: rgba(46, 30, 10, .38); --btn-shadow-ember: rgba(168, 76, 14, .45);
        --btn-glow: rgba(211, 98, 22, .40); --btn-focus: var(--ink); }
:root[data-theme="dark"] { --btn-top: rgba(255, 255, 255, .55); --btn-top-ember: rgba(255, 255, 255, .34); --btn-edge-ink: #8C8496;
        --btn-edge-ember: #9A440C; --btn-shadow: rgba(0, 0, 0, .7); --btn-shadow-ember: rgba(0, 0, 0, .65); --btn-glow: rgba(224, 107, 28, .55); --btn-focus: #F29A4E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
        --btn-top: rgba(255, 255, 255, .55); --btn-top-ember: rgba(255, 255, 255, .34); --btn-edge-ink: #8C8496;
        --btn-edge-ember: #9A440C; --btn-shadow: rgba(0, 0, 0, .7); --btn-shadow-ember: rgba(0, 0, 0, .65); --btn-glow: rgba(224, 107, 28, .55); --btn-focus: #F29A4E; } }

.btn { --lift: 3px; --edge: var(--btn-edge-ink); --top: var(--btn-top); --amb: var(--btn-shadow); --halo: 0 0 0 transparent;
       -webkit-tap-highlight-color: transparent;
       box-shadow: inset 0 1px 0 var(--top), 0 var(--lift) 0 var(--edge), 0 calc(var(--lift) + 4px) 10px -4px var(--amb), var(--halo);
       transition: transform .22s cubic-bezier(.3, .7, .4, 1), box-shadow .22s cubic-bezier(.3, .7, .4, 1), filter .22s cubic-bezier(.3, .7, .4, 1), background-color .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); --lift: 4px; filter: brightness(1.05); }
.btn:active { transform: translateY(2px); --lift: 1px; filter: none; transition-duration: .034s; }
.btn:focus-visible { outline: 3px solid var(--btn-focus); outline-offset: 4px; }
.btn-sm { --lift: 2px; }
.btn-sm:hover { --lift: 3px; }
.btn-sm:active { --lift: 1px; transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; filter: saturate(.3) opacity(.55); transform: none; --lift: 1px; }

.btn-primary, .btn-primary:hover { background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 92%, #fff), var(--ink)); border-color: var(--ink); color: var(--paper); }

.btn-secondary { background: var(--field); --top: transparent; --amb: transparent; --edge: var(--ink); }
.btn-secondary:hover { background: var(--card); color: var(--ink); filter: none; }

.btn-buy { --lift: 4px; --edge: var(--btn-edge-ember); --top: var(--btn-top-ember); --amb: var(--btn-shadow-ember);
           background: linear-gradient(to bottom, color-mix(in srgb, var(--ember) 88%, #fff), var(--ember)); }
.btn-buy:hover, .btn-buy:focus-visible { --lift: 5px; --halo: 0 0 22px -2px var(--btn-glow);
           background: linear-gradient(to bottom, color-mix(in srgb, var(--ember) 88%, #fff), var(--ember)); border-color: var(--ember); color: var(--ink); }
.btn-buy:active { --lift: 1px; --halo: 0 0 0 transparent; }
.kp-dark .btn-buy { --ember: #E06B1C; background: linear-gradient(to bottom, color-mix(in srgb, #E06B1C 88%, #fff), #E06B1C); color: #0D0718; }
.kp-dark .btn-buy:hover, .kp-dark .btn-buy:focus-visible { background: linear-gradient(to bottom, color-mix(in srgb, #E06B1C 88%, #fff), #E06B1C); border-color: #E06B1C; color: #0D0718; }
.btn-buy.is-busy::after { border-color: #0D0718 transparent #0D0718 transparent; }

/* The sign-up button sits on the always-dark header: same press, no shadow (it would vanish on the dark bar). */
.nav-account .btn-primary, .nav-account .btn-primary:hover { background: var(--on-ground); border-color: var(--on-ground); color: var(--ground); --amb: transparent; --edge: #8C8496; --top: transparent; }

/* One-tap rating keys: small keycaps that press down. */
.taps button { box-shadow: 0 3px 0 var(--line-strong); transform: translateY(0); border-radius: 3px;
               transition: transform .22s cubic-bezier(.3, .7, .4, 1), box-shadow .22s cubic-bezier(.3, .7, .4, 1), background-color .12s, color .12s, border-color .12s; }
.taps button:hover { background: var(--field); color: var(--ink); border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 0 var(--line-strong); }
.taps button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line-strong); transition-duration: .034s; }
.taps button:focus-visible { background: var(--field); color: var(--ink); outline: 3px solid var(--btn-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active, .taps button:hover, .taps button:active { transform: none; } }

/* Best-of split hero: the answer on the left, the #1 pick big on the right (only when there's a clear winner;
   see guides.best_page). Photos are shot on white, so in light mode they multiply into the paper; in dark mode
   they sit on the light photo panel like everywhere else. */
.best-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 8px 32px; align-items: center; }
@media (max-width: 760px) { .best-hero { grid-template-columns: 1fr; } }
.best-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.best-chips li { padding: 6px 10px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }
.best-hero-photo { position: relative; margin: 0; display: grid; place-items: center; min-height: 260px; padding: 28px 0 8px;
                   background: radial-gradient(55% 50% at 50% 60%, color-mix(in srgb, var(--card) 85%, transparent), transparent 72%); }
.best-hero-photo { justify-items: center; width: 100%; max-width: none; justify-self: stretch; }
.best-hero-photo > a { display: block; width: min(100%, 340px); margin-inline: auto; line-height: 0; }
.best-hero-photo img { width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.035); }  /* lifts #F7F7F7 studio grey to white so the multiply leaves no box */
.kp-dark .best-hero-photo img { mix-blend-mode: normal; filter: none; background: var(--photo); padding: 14px; border-radius: 4px; }
.kp-dark .best-hero-photo > a { width: min(100%, 300px); }
.best-hero-num { position: absolute; left: 2%; bottom: 0; font: 900 clamp(4.5rem, 10vw, 7rem)/1 var(--font-display); color: var(--ink); opacity: .08; pointer-events: none; }
.kp-dark .best-hero-num { opacity: .12; }
.best-hero-note { position: absolute; right: 2%; top: 4px; z-index: 2; margin: 0; text-align: right; transform: rotate(4deg);
                  font: 700 1.15rem/1.15 var(--font-hand); }
.best-hero-note a { color: var(--purple); text-decoration: none; }
@media (max-width: 760px) { .best-hero-photo { min-height: 0; padding-top: 30px; } .best-hero-photo > a, .kp-dark .best-hero-photo > a { width: min(62%, 240px); } }

/* ---------- Answer-first (Nov 2026): every page opens with the answer to the question people came with ---------- */
.answer-line { font-size: 1.15rem; line-height: 1.45; color: var(--ink); font-weight: 600; max-width: 62ch; margin-top: 10px; text-wrap: pretty; }

/* Head-to-head: both printers side by side under the answer, each with what it wins on. */
.vs-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 18px; align-items: start; margin: 18px 0 28px; }
.vs-mark { align-self: center; font: 900 1.6rem/1 var(--font-display); color: var(--muted); padding-bottom: 60px; }
.vs-side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.vs-side-photo { display: block; width: min(100%, 220px); line-height: 0; }
.vs-side-photo img { width: 100%; height: auto; mix-blend-mode: multiply; filter: brightness(1.035); }
.kp-dark .vs-side-photo img { mix-blend-mode: normal; filter: none; background: var(--photo); padding: 10px; border-radius: 4px; }
.vs-side-name { font-size: 1.1rem; margin: 6px 0 0; }
.vs-side-name a { color: var(--ink); text-decoration: none; }
.vs-side-facts { margin: 0; color: var(--ink-2); }
.vs-side-wins { margin: 4px 0 0; padding: 8px 10px; border-top: 3px solid var(--good); background: var(--card); font-size: .9rem; max-width: 30ch; }
.vs-side-wins span { display: block; font: 700 .72rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--good); margin-bottom: 2px; }
.vs-side-wins.none { border-top-color: var(--line); color: var(--muted); }
@media (max-width: 560px) { .vs-hero { gap: 0 8px; } .vs-mark { font-size: 1.1rem; } .vs-side-name { font-size: .95rem; } .vs-side-wins { font-size: .82rem; padding: 6px 7px; } }

/* Lead card: the one thing a list page answers first (best deal now, most-confirmed issue). */
.lead-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: center; margin: 18px 0 28px; padding: 18px;
             background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ember); }
.lead-card-photo { display: block; line-height: 0; }
.lead-card-photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: contain; mix-blend-mode: multiply; }
.kp-dark .lead-card-photo img { mix-blend-mode: normal; background: var(--photo); padding: 8px; border-radius: 4px; }
.lead-card-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.lead-card-eyebrow { margin: 0; font: 700 .74rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-dark); }
.lead-card h2 { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.lead-card h2 a { color: var(--ink); text-decoration: none; }
.lead-card-facts, .lead-card-why { margin: 0; color: var(--ink-2); }
.lead-card-facts s { color: var(--muted); }
.lead-card .btn { margin-top: 8px; }
@media (max-width: 640px) { .lead-card { grid-template-columns: 1fr; } .lead-card-photo { width: min(60%, 200px); } }

/* Add-ons (multicolor units, filament dryers) */
.gear-tabs { margin-top: 14px; }
.gear-note { color: var(--ink-2); margin: 6px 0 18px; }
.works-with-h { font-size: 1rem; margin: 18px 0 8px; }
.works-with { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.works-with a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.works-with img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.kp-dark .works-with img { mix-blend-mode: normal; background: var(--photo); border-radius: 3px; }

/* Compare tool: one row per fact so values line up across printers. */
.cmp-wrap { overflow-x: auto; border-top: 2px solid var(--ink); margin-top: 8px; }
.cmp-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cmp-grid th, .cmp-grid td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-grid tbody th { width: 150px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.cmp-grid td { font-size: .95rem; }
.cmp-corner { width: 150px; }
.cmp-grid thead th { position: relative; vertical-align: bottom; padding-top: 14px; }
.cmp-head { display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; }
.cmp-head small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.cmp-name { font: 800 1.15rem/1.15 var(--font-display); }
.cmp-photo { display: block; width: 120px; height: 120px; margin-bottom: 8px; line-height: 0; }
.cmp-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kp-dark .cmp-photo img { mix-blend-mode: normal; background: var(--photo); border-radius: 4px; padding: 6px; }
.cmp-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cmp-remove:hover { color: var(--bad); border-color: var(--bad); }
.cmp-sec th { padding-top: 22px; font: 700 .74rem/1.2 var(--font-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.cmp-buy td { padding-bottom: 16px; }
.cmp-more { margin: 14px 0 0; font-weight: 600; }
@media (max-width: 700px) {
    .cmp-grid { table-layout: auto; width: max-content; }
    .cmp-grid th, .cmp-grid td { padding: 9px 8px; font-size: .88rem; }
    .cmp-grid tbody th, .cmp-corner { position: sticky; left: 0; z-index: 2; width: 82px; min-width: 82px; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
    .cmp-grid td, .cmp-grid thead th { min-width: 136px; max-width: 180px; }
    .cmp-name { font-size: 1rem; }
    .cmp-photo { width: 88px; height: 88px; }
}
.cmp-grid .cmp-sec th { position: static; width: auto; box-shadow: none; background: none; }
.empty-state { padding: 40px 24px; text-align: center; background: var(--card); border: 1px solid var(--line); }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { color: var(--ink-2); margin: 0 0 18px; }

.sep-ph { display: none; }
/* Add-on lists on phones: one card per unit, price on the right (same pattern as the deals table). */
@media (max-width: 700px) {
  .gear-table, .gear-table tbody { display: block; width: 100%; min-width: 0; }
  .gear-table thead { display: none; }
  .gear-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .guide-table.gear-table th[scope=row], .guide-table.gear-table td { padding: 0; border: 0; grid-column: 1; text-align: left; }
  .gear-table td small { font-size: .85rem; }
  .gear-table td br { display: none; }
  .gear-table .sep-ph { display: inline; }
  .guide-table.gear-table td:last-child { grid-column: 2; grid-row: 1 / span 4; justify-self: end; }
  .gear-table .gww::before { content: "Works with: "; color: var(--muted); }
  .cmp-n2 .cmp-grid { width: 100%; table-layout: fixed; }
  .cmp-n2 .cmp-grid td, .cmp-n2 .cmp-grid thead th { min-width: 0; max-width: none; }
}

/* Known issues hub: a scannable list, not a stack of badge cards. */
.hub-h { margin: 32px 0 4px; }
.hub-sub { color: var(--ink-2); margin: 0 0 12px; max-width: 62ch; }
.hub-issues { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.hub-issues li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.hub-issue-title { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; line-height: 1.3; }
.hub-issue-title:hover { text-decoration: underline; }
.hub-issue-meta { font-size: .88rem; color: var(--ink-2); }
.hub-issue-meta a { color: var(--ink-2); }
.hub-table th[scope=row] { font-weight: 600; text-align: left; }
.hub-table tbody th { padding: 10px 8px; }
.hub-table tbody tr:nth-child(odd) th { background: var(--card); }
.hub-find { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.hub-find label { font-weight: 700; font-size: .9rem; }
.hub-find-row { display: flex; gap: 8px; }
.hub-find select { appearance: auto; -webkit-appearance: menulist; flex: 1; min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong, var(--ink)); background: var(--card); color: var(--ink); font: inherit; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } }
.cmp-grid .btn { white-space: normal; max-width: 100%; text-align: center; }
@media (max-width: 700px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .tabs a { white-space: nowrap; } }

/* ---- Tiles (Nov 2026 format; docs/DESIGN_RULES.md) ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--lift);
        transition: transform .22s cubic-bezier(.3,.7,.4,1), box-shadow .22s cubic-bezier(.3,.7,.4,1); }
.tile::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--ember); z-index: 2; }
@media (hover: hover) { .tile:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(13,7,24,.05), 0 22px 34px -18px rgba(46,30,10,.55); } }
.tile:active { transform: translateY(-1px) scale(.97); transition-duration: .07s; }
.tile-photo { position: relative; display: block; aspect-ratio: 4 / 5; background: #FFFFFF; color: #0D0718; text-decoration: none; overflow: hidden; }
.tile-photo img { position: absolute; left: 4px; right: 4px; top: 20px; bottom: 74px; width: calc(100% - 8px); height: calc(100% - 94px); object-fit: contain; }
.tile-name { position: absolute; top: 12px; left: 14px; right: 40px; z-index: 1; font: 800 26px/1.08 var(--font-display); letter-spacing: -.02em; color: #0D0718;
             text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #fff, 0 0 14px #fff, 0 0 14px #fff; }
.tile-name span { display: block; white-space: nowrap; }
.tile-rank { position: absolute; top: -14px; right: -14px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
             background: #0D0718; color: #F3EFE6; border: 3px solid var(--ember); font: 800 19px var(--font-display); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.tile-rib { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 3fr 2fr; border-top: 3px solid var(--ember); }
.tile-rib > span { display: flex; flex-direction: column; padding: 8px 12px 9px; line-height: 1.15; }
.rib-own { background: #E8E1F1; color: #0D0718; }
.rib-press { background: var(--card); color: var(--ink-2); border-left: 1px solid var(--line); }
.tile-rib b { font: 800 26px/1 var(--font-display); }
.rib-press b { font-size: 20px; color: var(--muted); }
.tile-rib b.rib-none { font-size: 15px; line-height: 1.3; }
.tile-rib small { font-size: 12px; opacity: .85; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; flex-wrap: wrap; }
.tile-foot .price-block { margin: 0; flex-wrap: nowrap; }
.tile-foot .sp { flex: 1; }
.badge-off { display: inline-block; padding: 1px 7px; border: 1px solid currentColor; border-radius: var(--r); font-size: .75rem; font-weight: 700; color: var(--good); white-space: nowrap; }
.tile-foot .cmp-toggle { position: relative; z-index: 2; }
.tile-foot .cmp-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tile-foot .cmp-toggle input { width: 22px; height: 22px; margin: 0; cursor: pointer; accent-color: var(--purple); }
.tile.is-discontinued .tile-photo img { opacity: .5; filter: grayscale(1); }
:root[data-theme="dark"] .rib-own { background: #2E2540; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rib-own { background: #2E2540; color: var(--ink); } }
@media (max-width: 720px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile-name { font-size: 17px; top: 8px; left: 9px; right: 26px; }
  .tile-rank { width: 34px; height: 34px; font-size: 15px; top: -10px; right: -8px; border-width: 2px; }
  .tile-rib small { display: none; } .tile-rib b { font-size: 20px; } .rib-press b { font-size: 16px; } .tile-rib > span { padding: 6px 8px; }
  .tile-photo img { top: 44px; bottom: 58px; height: calc(100% - 102px); }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .tile:hover, .tile:active { transform: none; } }

/* ---- Printer page (Nov 2026 format) ---- */
.pd-head { padding: 8px 0 0; }
.pd-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.pd-answer { font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--font-display); color: var(--ink-2); margin-top: 10px; max-width: 40ch; }
.pd-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; align-items: start; margin: 26px 0 8px; }
.pd-photo { padding: 0; overflow: hidden; background: #FFFFFF; }
.pd-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; }
.pd-photo-actions { display: flex; gap: 16px; align-items: center; padding: 10px 14px; margin: 0; background: var(--card); border-top: 1px solid var(--line); font-size: .9rem; }
.pd-card { padding: 24px; }
.pd-score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-num { font: 800 clamp(3.4rem, 7vw, 4.6rem)/.9 var(--font-display); color: var(--ink); }
.pd-from { color: var(--muted); font-size: 1rem; }
.pd-progress { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pd-track { flex: 1; height: 8px; background: var(--line); border-radius: 1px; overflow: hidden; }
.pd-track i { display: block; height: 100%; background: var(--purple); }
.pd-count { font: 600 .82rem var(--font-mono); color: var(--muted); }
.pd-small { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.pd-people { display: flex; gap: 4px; color: var(--line-strong); }
.pd-people .on { color: var(--purple); }
.pd-owners { margin: 10px 0 0; color: var(--ink-2); }
.pd-owners b { font-family: var(--font-display); color: var(--ink); }
.pd-taps { margin-top: 14px; }
.pd-taps > span:first-child { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.pd-divider { border-top: 1px dashed var(--line-strong); margin: 20px 0 16px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price .price-block { margin: 0; }
.pd-card .btn-buy { margin-top: 14px; }
.pd-rate { width: 100%; margin-top: 14px; justify-content: center; }
.press-fold { scroll-margin-top: 70px; margin: 36px 0 8px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .9rem; color: var(--muted); }
.press-fold > summary { cursor: pointer; list-style: none; }
.press-fold > summary::-webkit-details-marker { display: none; }
.press-fold > summary b { color: var(--ink-2); }
.press-fold .press-open { color: var(--purple); font-weight: 700; }
.press-fold[open] .press-open { display: none; }
.press-fold .press-body { margin-top: 12px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.spec-tile { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.spec-tile .ico { color: var(--purple); }
.spec-tile b { font: 800 1.15rem/1.2 var(--font-display); color: var(--ink); }
.spec-tile > span { font-size: .82rem; color: var(--muted); }
.spec-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spec-line .ico { width: 18px; height: 18px; }
.was-model { color: var(--muted); text-decoration: line-through; }
.spec-dots { display: inline-flex; gap: 3px; }
.spec-dots i { width: 13px; height: 13px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,.25); }

/* ---- Lead card, chips, flow, head to head (Nov 2026 format) ---- */
.lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); padding: 0; overflow: hidden; margin: 22px 0 8px; }
.lead-photo { background: #FFFFFF; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.lead-photo img { width: 100%; height: auto; max-height: 380px; object-fit: contain; aspect-ratio: 1 / 1; }
.lead-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lead-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.lead-body h2 a { color: var(--ink); text-decoration: none; }
.lead-eyebrow { font: 600 .75rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark); margin: 0; }
.lead-owners { margin: 0; }
.lead-body .btn-buy { width: 100%; max-width: 360px; }
.lead-body .affiliate-note { margin: 0; }
.lead-watch { margin-top: 4px; }
.chip-row { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 7px 12px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.chip-row li a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.chip-row .ico { color: var(--purple); flex: none; }
.chip-row li.chip-label { border: 0; background: none; padding-left: 0; color: var(--muted); font-weight: 500; }
.flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.flow-step { flex: 1 1 180px; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.flow-step .ico { color: var(--purple); }
.flow-step > span { font-size: .85rem; color: var(--muted); }
.flow-ar { align-self: center; color: var(--line-strong); flex: none; }
@media (max-width: 720px) { .flow-ar { display: none; } }
.vs-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; margin: 22px 0 6px; }
.vs-card { padding: 0; overflow: hidden; }
.vs-photo { position: relative; display: block; aspect-ratio: 16 / 11; background: #FFFFFF; color: #0D0718; text-decoration: none; }
.vs-photo img { position: absolute; inset: 14px 14px 6px; width: calc(100% - 28px); height: calc(100% - 20px); object-fit: contain; }
.vs-photo .tile-name { font-size: clamp(22px, 3vw, 32px); top: 16px; left: 20px; }
.vs-buy { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); }
.vs-buy .affiliate-note { margin: 0; }
.cmp-head { display: grid; grid-template-columns: 1fr 140px 1fr; gap: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 800 1.05rem var(--font-display); }
.cmp-head span:first-child { text-align: right; }
.cmp-row { display: grid; grid-template-columns: 1fr 140px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmp-side { display: flex; align-items: center; gap: 10px; }
.cmp-side.l { flex-direction: row-reverse; }
.cmp-side.l .cmp-bar { justify-content: flex-end; }
.cmp-bar { flex: 1; display: flex; height: 14px; }
.cmp-bar i { display: block; height: 100%; background: var(--line-strong); border-radius: 1px; }
.cmp-side.win .cmp-bar i { background: var(--purple); }
.cmp-val { font: 800 1.25rem var(--font-display); white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.cmp-side:not(.win) .cmp-val { color: var(--muted); }
.cmp-val small { font: 600 .85rem var(--font-body, inherit); }
.cmp-val .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ember-dark); display: inline-block; }
.cmp-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-weight: 700; font-size: .85rem; }
.cmp-mid .ico { color: var(--muted); }
.vs-diffs { margin-top: 6px; }
.vs-diff { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.vs-diff span { color: var(--muted); font-size: .9rem; }
.vs-same { justify-content: center; margin-top: 18px; }
@media (max-width: 720px) { .cmp-head, .cmp-row { grid-template-columns: 1fr 84px 1fr; gap: 8px; } .cmp-val { font-size: 1rem; } .vs-diff { grid-template-columns: 96px 1fr 1fr; } }
.tile-foot { position: relative; padding-right: 48px; }
.tile-foot .cmp-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); margin: 0; }
.tile-foot .price-block { flex-wrap: wrap; row-gap: 2px; }
.lead-kp { display:flex; align-items:baseline; gap:8px; margin:4px 0 6px; font-weight:600; }
.lead-kp-num { font-size:1.6rem; font-weight:800; line-height:1; }
.lead-kp small { font-weight:400; color:var(--muted, #6b6b6b); }
.cmp-mid .cmp-note { display:block; font-size:.7rem; color:var(--muted, #6b6b6b); line-height:1.1; }
/* Best-of tiles: the rank circle carries the KeoPicks score the list is ranked by. */
.tile-rank-kp { width: 58px; height: 58px; top: -18px; right: -16px; flex-direction: column; line-height: 1; font-size: 20px; }
.tile-rank-kp small { font: 700 10px var(--font-display); letter-spacing: .04em; opacity: .75; margin-bottom: 2px; }
@media (max-width: 640px) {
  .tile-rank-kp { width: 46px; height: 46px; top: -12px; right: -8px; font-size: 16px; }
  .tile-rank-kp small { font-size: 9px; }
}
/* Home: coming-soon tiles and Keo's pick tiles */
.tile-coming .rib-own b, .tile-coming .rib-ship { font-size: 15px; line-height: 1.15; }
.badge-soft { font: 600 12px var(--font-body, inherit); padding: 2px 8px; border-radius: 6px; border: 1px solid currentColor; opacity: .75; white-space: nowrap; }
.pick-tile { display: flex; flex-direction: column; gap: 6px; }
.pick-tile .tile { flex: 1; }
.pick-job { margin: 0; font: 700 12px var(--font-display, inherit); letter-spacing: .06em; text-transform: uppercase; }
.pick-job a { color: inherit; text-decoration: none; }
.pick-job a:hover { text-decoration: underline; }
.pick-job { min-height: 2.5em; display: flex; align-items: flex-end; line-height: 1.2; }
