/* Coffee-Review.com comparison pages, loaded after style.css: the editorial pair pages (/compare/<slug>/,
   matchups.pair_body), the hub /compare/ with its desk (matchups.chooser, matchups.js) and measurement sections
   (comparisons.comparison_page), and the model database under /gear/catalog/ (equipment_index.py), which also loads
   pages.css. The section heads, bands, photo frames, labels, buttons, cards, jump bar, buy bar, photo band, sources
   and the base tables (.data-table, .compare-table, .meter) are style.css components. Every color, font and size
   comes from the :root tokens in style.css; a meter's fill is an inline --v on the generated markup. */

/* ---------- Pair page: the espresso hero ---------- */
/* The opening band (page tone 'dark' sets the breadcrumb bar on espresso above it). From 64rem two columns: the copy
   over "Where they differ" beside the face-off over the note. Below 64rem both wrappers give way and their four parts
   stack: the copy, the face-off with the buttons, the note, then the table. */
.cmp-hero{padding-block:clamp(1rem, .5rem + 2vw, 3rem) clamp(2.5rem, 1.75rem + 2.4vw, 4.5rem)}
.cmp-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
.cmp-left,.cmp-right{display:contents}
.cmp-grid .differ{order:1}
@media (min-width:64rem){
 .cmp-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(3rem, 5vw, 5rem);align-items:start}
 .cmp-left,.cmp-right{display:block}
}
.cmp-hero h1{margin-top:.375rem;font-size:var(--t-h1)}
.cmp-hero h1 .vs{color:var(--accent-on-dark)}
.cmp-hero .sl-dateline{margin-top:.5rem}
.cmp-hero .verdict-line{margin-top:.75rem;color:var(--on-dark);font:500 var(--t-lead)/1.45 var(--font);letter-spacing:-.005em}
@media (min-width:44rem){
 .cmp-hero h1{margin-top:.5rem}
 .cmp-hero .sl-dateline{margin-top:.75rem}
 .cmp-hero .verdict-line{margin-top:1rem}
}
.cmp-summary{display:block;max-width:30rem;margin-top:1rem;color:var(--on-dark-muted);font:400 var(--t-sm)/1.55 var(--font)}
@media (min-width:64rem){.cmp-summary{margin-top:1.25rem}}

/* The face-off (matchups.faceoff): both photos under their "Best for" tabs, the "vs" disc on their seam, then the
   names. Below 44rem each Amazon button takes a row beside the model's short name, so its label stays on one line;
   from 44rem the first sentence of each pick follows the name and each button fills its column, level with the other.
   The disc's top is half a tile's height: a tile is half the face-off's width (100cqw) less half the gap, 5:4 tall. */
.faceoff{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"t1 t2" "n1 n2" "s1 s2" "b1 b1" "b2 b2";column-gap:.75rem;container-type:inline-size}
.fo-tile{display:block;min-width:0}
.fo-tile.fo-1{grid-area:t1}
.fo-tile.fo-2{grid-area:t2}
.fo-name.fo-1{grid-area:n1}
.fo-name.fo-2{grid-area:n2}
.fo-score.fo-1{grid-area:s1}
.fo-score.fo-2{grid-area:s2}
.fo-for.fo-1{grid-area:f1}
.fo-for.fo-2{grid-area:f2}
.fo-buy.fo-1{grid-area:b1}
.fo-buy.fo-2{grid-area:b2}
.fo-tile .type-panel{justify-content:flex-end}
.fo-tile .tp-name{display:none}
.faceoff .vs-disc{top:calc((100cqw - .75rem) / 2 * 1.25 / 2);width:2.75rem;height:2.75rem;color:var(--accent-on-dark)}
.fo-name{margin-top:.5rem;font-size:1.0625rem;line-height:1.15;letter-spacing:-.02em}
.fo-name a{color:var(--on-dark);text-decoration:none}
.fo-name a:hover{text-decoration:underline;text-decoration-thickness:2px}
.fo-score{justify-self:start;margin-top:.5rem}
.fo-for{display:none}
.fo-buy{display:flex;align-items:center;justify-content:space-between;gap:.75rem 1rem;min-width:0;padding-block:.5rem;border-top:1px solid var(--dark-rule)}
.fo-buy.fo-1{margin-top:.625rem}
.fo-buyname{min-width:0;color:var(--on-dark);font:700 var(--t-ui)/1.25 var(--font);letter-spacing:-.01em}
.fo-buy .buy-btn{flex:0 1 auto;max-width:100%;min-height:2.75rem;padding:.5rem 1rem;font-size:var(--t-ui);white-space:normal;text-align:center}
@media (min-width:44rem){
 .faceoff{grid-template-areas:"t1 t2" "n1 n2" "s1 s2" "f1 f2" "b1 b2";grid-template-rows:auto auto auto 1fr auto;column-gap:1.5rem}
 .fo-score{margin-top:.75rem}
 .faceoff .vs-disc{top:calc((100cqw - 1.5rem) / 2 * 1.25 / 2);width:3.25rem;height:3.25rem;font-size:var(--t-ui)}
 .fo-tile .tp-name{display:block}
 .fo-tile .type-panel{justify-content:space-between;padding-top:3.25rem}
 .fo-name{margin-top:1rem;font-size:1.5rem}
 .fo-for{display:block;margin-top:.375rem;color:var(--on-dark-muted);font-size:var(--t-ui);line-height:1.45}
 .fo-buy{display:block;padding:1rem 0 0;border:0}
 .fo-buy.fo-1{margin-top:0}
 .fo-buyname{display:none}
 .fo-buy .buy-btn{width:100%;min-height:3.25rem;padding:.75rem 1.125rem;font-size:1rem;white-space:normal}
}
/* Tablets: the face-off spans the page, so its photos turn square to keep the buttons near the first screen. */
@media (min-width:44rem) and (max-width:63.99rem){
 .fo-tile .ph{aspect-ratio:1}
 .faceoff .vs-disc{top:calc((100cqw - 1.5rem) / 4)}
}
/* From 64rem to the full 80rem page the face-off has half the hero, so its tiles sit closer and its buttons take a
   smaller label, which keeps "Check price on Amazon" on one line down to 64rem. */
@media (min-width:64rem) and (max-width:79.99rem){
 .faceoff{column-gap:1rem}
 .faceoff .vs-disc{top:calc((100cqw - 1rem) / 2 * 1.25 / 2)}
 .fo-buy .buy-btn{gap:.5rem;padding-inline:.625rem;font-size:var(--t-ui)}
}
/* Under the face-off: the US model numbers and the listing caveat, then the photo credits on a line of their own. */
.cmp-note{color:var(--on-dark-muted);font:400 var(--t-sm)/1.5 var(--font)}
.cmp-note .credit{display:block;margin-top:.375rem}
@media (min-width:64rem){.cmp-note{margin-top:1.5rem}}

/* "Where they differ" (matchups.differ_table), on espresso: up to three rows that set the models apart, labels muted
   and values bold, between dark hairlines. On phones it follows the note, under the buttons. */
.differ{padding-top:1.25rem;border-top:1px solid var(--dark-rule)}
@media (max-width:63.99rem){.differ{margin-top:.5rem}}
@media (min-width:64rem){.differ{margin-top:2.25rem;max-width:34rem}}
.differ-title{color:var(--accent-on-dark);font:700 var(--t-xs)/1.2 var(--font);letter-spacing:.09em;text-transform:uppercase}
.differ-table{margin-top:.875rem;color:var(--on-dark)}
.differ-table thead th{position:static;padding:0 .75rem .5rem 0;border-bottom:1px solid var(--dark-rule);background:transparent;color:var(--on-dark-muted);font:700 var(--t-2xs)/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase;vertical-align:bottom}
.differ-table tbody th{width:34%;padding:.75rem .75rem .75rem 0;border-bottom:1px solid var(--dark-rule);color:var(--on-dark-muted);font:500 var(--t-ui)/1.35 var(--font)}
.differ-table td{width:33%;padding:.75rem .75rem .75rem 0;border-bottom:1px solid var(--dark-rule);color:var(--on-dark);font:700 var(--t-ui)/1.35 var(--font)}
@media (max-width:43.99rem){
 .differ-table tbody th{width:28%;font-size:var(--t-sm)}
 .differ-table td{width:36%}
}

/* ---------- Pair page: the short answer ---------- */
/* On the stone band: the question beside the answer from 64rem, then a white card per model under a 4px ink rule,
   its thumbnail beside its tab, name and pick, then its Amazon button, level with the other card's, and its page. */
.answer{display:grid;gap:1.25rem}
.answer h2{margin-top:.5rem;font-size:var(--t-h2)}
.answer-body{color:var(--ink);font-size:var(--t-lead);line-height:1.55}
@media (min-width:64rem){.answer{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:5rem}}
.choose{display:grid;gap:1rem;margin-top:2.5rem}
@media (min-width:44rem){.choose{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}}
.choose-card{display:grid;grid-template-columns:4.75rem minmax(0,1fr);grid-template-rows:auto auto 1fr;align-content:start;column-gap:1rem;padding:1.25rem;border-top:4px solid var(--ink);background:var(--paper)}
.choose-card>.ph{grid-row:1/4;align-self:start}
.choose-card>.label{justify-self:start}
.choose-card h3{margin-top:.625rem;font-size:1.3125rem;line-height:1.15}
.choose-card p{margin-top:.5rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.choose-card .buy-btn{grid-column:1/-1;margin-top:1.25rem}
.choose-card .quiet-link{grid-column:1/-1;justify-self:start;margin-top:.875rem}
.choose-card .type-panel{justify-content:center;padding:.375rem}
.choose-card .tp-name,.choose-card .tp-cap{display:none}
.choose-card .tp-big{font-size:1.25rem}

/* ---------- Pair page: the spec sheet ---------- */
/* Its head: the key to the bold rows beside the "Show only differences" button (page.js), which hides the rows whose
   values match and any group left empty. Then the spec table (comparisons.spec_table): the models with their
   thumbnails in the header row, which sticks under the jump bar, groups under accent captions, a source number after
   each label and a zero-based meter under each measured value. */
.sheet-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1.5rem}
.legend{display:flex;align-items:center;gap:.625rem;color:var(--ink-2);font:500 var(--t-sm)/1.35 var(--font)}
.legend::before{content:"";flex:none;width:3px;height:1.125rem;background:var(--accent)}
.sheet-head .sl-action{min-height:2.75rem;padding:.5rem 1rem;font-size:var(--t-sm)}
.only-diff tbody:not(:has(tr.differs)){display:none}
.spec-table thead th{padding-top:1.25rem}
.spec-table tbody th[scope=row]{width:34%}
.compare-table .compare-corner{color:var(--muted);font:600 var(--t-xs)/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase}
.spec-table sup.src+sup.src{margin-left:.125em}
/* The Spec Score rows (matchups.score_rows, and the desk's row from matchups.js): the score in heavy figures over a
   zero-based bar, each criterion's weight in muted type beside its label, the label of the total linked to the
   methodology page. */
.compare-table .cell-score{font-weight:800;font-size:1.125rem;letter-spacing:-.02em}
.compare-table .score-bar{max-width:15rem;margin-top:.5625rem}
.compare-table tbody th small{color:var(--muted);font-size:var(--t-sm);font-weight:500}
.compare-table tbody th a{color:inherit;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:.2em}
.sheet-notes{display:grid;gap:.375rem;margin-top:1.25rem}
/* Both models on Amazon: on stone, each name over its button; from 64rem the title beside the two. */
.buy-strip{display:grid;gap:1rem;margin-top:2rem;padding:1.25rem;background:var(--panel)}
.buy-strip>p{color:var(--ink);font:800 1.125rem/1.25 var(--font);letter-spacing:-.015em}
.buy-strip-row{display:grid;gap:1rem}
.buy-strip-row span{display:block;margin-bottom:.375rem;color:var(--ink-2);font:700 var(--t-sm)/1.2 var(--font)}
@media (min-width:44rem){.buy-strip-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:64rem){.buy-strip{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:center;gap:2rem;padding:1.5rem 2rem}}

/* ---------- Pair page: the grinder tests ---------- */
/* A card per independent test on stone under a 4px ink rule: the publisher and the model, the observation, the
   method below a hairline and the review's link, level across the two cards. */
.bench{display:grid;gap:1.5rem}
@media (min-width:64rem){.bench{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}}
.bench article{display:flex;flex-direction:column;padding:1.5rem;border-top:4px solid var(--ink);background:var(--panel)}
.bench .pub{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.375rem 1rem}
.bench .pub b{font:800 1.25rem/1.1 var(--font);letter-spacing:-.02em}
.bench .pub span{color:var(--muted);font:600 var(--t-xs)/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase}
.bench .obs{margin-top:1rem;color:var(--ink);font-size:var(--t-body);line-height:1.55}
.bench .method{flex:1 0 auto;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--rule);color:var(--muted);font-size:var(--t-sm);line-height:1.55}
.bench .method b{color:var(--ink-2)}
.bench .quiet-link{align-self:flex-start;margin-top:1rem}
.bench-note{margin-top:1.25rem}

/* ---------- Pair page: after the photo band ---------- */
/* The guides for the choice, two by two, beside the other matchups and the onward links from 64rem; the section's
   photo credits sit under both, pulled up into the gap. */
.after-split{display:grid;gap:var(--sp-section)}
@media (min-width:64rem){.after-split{grid-template-columns:minmax(0,2fr) minmax(0,1fr);column-gap:4.5rem}.after-split--one{grid-template-columns:minmax(0,1fr)}}
.link-list{display:grid;gap:1.125rem;margin-top:2.25rem;padding-top:1.5rem;border-top:1px solid var(--rule)}
.sec-head+.link-list{margin-top:0;padding-top:0;border-top:0}
.link-list .text-link{display:inline;line-height:1.6}
.page-credits{grid-column:1/-1;max-width:60rem;margin-top:calc(var(--sp-section) * -1 + 1.5rem)}
/* The photo band's pull quote is the answer's first sentence; a long one is set smaller (matchups.LONG_QUOTE). */
.photo-band blockquote.pq-long{font-size:clamp(1.25rem, 1.05rem + 1vw, 1.875rem);line-height:1.18}

/* ---------- The hub, /compare/ ---------- */
/* Its light hero: the kicker, H1, lead and the links to the measurement sections, beside the extraction photograph
   from 64rem (components.figure; build.HUB_PHOTO_SIZES). The photograph bleeds to the screen edges on phones, where its
   credit is left to /about/. */
.page-hero{padding-block:clamp(1.25rem, .9rem + 1.6vw, 3rem) clamp(2.5rem, 1.75rem + 2.4vw, 4rem)}
.hub-top{padding-bottom:0}
.hub-hero{display:grid;gap:1.75rem}
.hub-head h1{margin-top:.5rem;font-size:var(--t-h1)}
.hub-head .lead{max-width:38rem;margin-top:1rem}
.hub-photo{margin-inline:calc(var(--gutter) * -1)}
.hub-photo>.credit{display:none}
@media (min-width:44rem){.hub-photo{margin-inline:0}.hub-photo>.credit{display:block;margin-top:.5rem}}
@media (min-width:64rem){.hub-hero{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center;gap:clamp(3rem, 5vw, 5rem)}}
.lab-jump{display:flex;flex-wrap:wrap;gap:.75rem 1.75rem;margin-top:1.75rem}
.lab-jump a{padding-bottom:.125rem;border-bottom:2px solid var(--accent);color:var(--ink);font:700 var(--t-ui)/1.3 var(--font);text-decoration:none}
.lab-jump a:hover{color:var(--accent-strong)}

/* The desk's form (matchups.chooser) on a stone panel under a 4px ink rule, each label over its select, then the
   outline submit button: one column on phones, two from 44rem, one row from 64rem. It is in the page from the start
   in its default state, so nothing moves when matchups.js runs; it is js-only. The status line under it stays empty
   unless the catalog fails to load. */
.matchup-chooser{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;padding:1.25rem;border-top:4px solid var(--ink);background:var(--panel);color:var(--ink)}
@media (min-width:44rem){.matchup-chooser{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;padding:1.5rem}}
@media (min-width:64rem){.matchup-chooser{grid-template-columns:minmax(10rem,.8fr) repeat(2,minmax(0,1.2fr)) auto;gap:1.25rem}}
.matchup-chooser label{display:grid;gap:.375rem;min-width:0;color:var(--ink-2);font:600 var(--t-sm)/1.3 var(--font)}
.matchup-chooser select{display:block;width:100%;min-width:0}
.matchup-chooser button{width:100%}
@media (min-width:64rem){.matchup-chooser button{width:auto}}
.matchup-status{color:var(--ink-2);font:400 var(--t-sm)/1.5 var(--font)}
.matchup-status:not(:empty){margin-top:1rem}
/* matchups.js scrolls these into view when a link opens the desk on a model or a pair. The output takes focus only
   so assistive technology lands on the new table; it is not a control, so no ring. */
#head-to-head,#catalog-comparison{scroll-margin-top:1rem}
#catalog-comparison:focus{outline:none}
/* The comparison's margins stay inside the output, so the output itself does not move when a comparison arrives. */
#catalog-comparison{display:flow-root}
/* A tool opened by its address renders its output after the first paint: the desk's comparison for #left=A&right=B
   and the database search's matches for ?q= or ?type=. Until it does, the desk-pending or search-pending mark that an
   inline script puts on the root (matchups.py, equipment_index.py) hides what follows the output, keeping its size,
   so nothing visible moves when the output arrives. The empty output or status line says what is loading. */
.desk-pending #catalog-comparison~*,.desk-pending #head-to-head~*,.desk-pending body>footer,
.search-pending .catalog-results~*,.search-pending body>footer{visibility:hidden}
.desk-pending #catalog-comparison:empty::before{content:"Loading the comparison\2026";color:var(--muted);font-size:var(--t-sm)}
.search-pending .catalog-status:empty::before{content:"Searching the model database\2026";color:var(--muted);font-weight:400}
/* The in-depth comparisons under the desk: head-to-head cards (components.vs_card), their credits and the database. */
.desk-pairs-title{margin-top:clamp(3rem, 2.25rem + 2.5vw, 4.5rem);margin-bottom:1.5rem;padding-top:1rem;border-top:1px solid var(--rule);font-size:var(--t-h3);line-height:1.15}
.desk-credit{margin-top:clamp(1.5rem, 1rem + 1vw, 2.25rem)}
.desk-catalog{display:inline-block;margin-top:1.25rem}

/* The desk's comparison (matchups.js), in the spec sheet's look: the pair's name and the link to its in-depth page,
   the table with each model's Amazon link in its footer row, the notes and the commission line, then a card per model
   under a 4px ink rule with its full-width Amazon button. */
#catalog-comparison .matchup-context{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--rule)}
#catalog-comparison .matchup-context>h2{font-size:var(--t-h3);line-height:1.15}
#catalog-comparison .matchup-context>p{max-width:46rem;margin-top:.625rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
#catalog-comparison .matchup-context>p:not(.sl-disclosure) a{color:var(--ink);font-weight:700;text-decoration-color:var(--accent);text-decoration-thickness:2px}
#catalog-comparison .matchup-context>p.sl-disclosure{color:var(--muted);font-size:var(--t-xs)}
#catalog-comparison .matchup-context>.table-scroll{margin-top:1.5rem}
.table-scroll{max-width:100%;overflow-x:auto}
.matchup-table tr>:first-child{width:27%}
.matchup-table thead th{top:0}
.matchup-table p{margin:0}
.matchup-table p+p{margin-top:.45rem}
.matchup-table .buy-inline{text-align:left}
.matchup-picks{display:grid;gap:1rem;margin-top:1.5rem}
@media (min-width:44rem){.matchup-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}}
.matchup-picks article{display:flex;flex-direction:column;min-width:0;padding:1.25rem;border-top:4px solid var(--ink);background:var(--panel)}
.matchup-picks h3{font-size:1.3125rem;line-height:1.15}
.matchup-picks .buy-btn{margin-top:1rem}
.matchup-picks .buy-region,.matchup-picks .buy-none{margin-top:.5rem}
.matchup-picks .score-chip{align-self:flex-start;margin-top:.625rem}
#catalog-comparison .matchup-context>p.score-key{margin-top:.5rem}
.matchup-picks article>p:last-child{margin-top:auto;padding-top:.875rem;font:600 var(--t-sm)/1.35 var(--font)}
.matchup-picks article>p:last-child a{color:var(--ink-2);text-decoration-color:var(--rule);text-underline-offset:.25em}
.matchup-picks article>p:last-child a:hover{color:var(--ink);text-decoration-color:var(--ink)}

/* ---------- The hub's measurement sections ---------- */
/* comparisons.comparison_page: GearLab's machine timings with the cup-fit check, the grinder table on the stone band
   and the review index. The tables name each model with its thumbnail; the cappuccino meters share a five-minute
   scale. From 44rem a table scrolls sideways in its region only if it must; below 44rem it stacks like the others. */
.lab-table-wrap{max-width:100%;overflow-x:auto}
.lab-table thead th{top:0}
.lab-table th small{color:var(--muted);font-weight:500}
.lab-table.compare-cols-3 tbody>tr>*{vertical-align:middle}
.lab-table tbody th{width:36%}
.lab-table .th-model a{color:var(--ink);text-decoration:none}
.lab-table .th-model a:hover{text-decoration:underline;text-decoration-thickness:2px}
.lab-table td b{font-weight:800;font-size:1.125rem;letter-spacing:-.02em}
.lab-caption{max-width:46rem;margin-top:1.25rem}
.lab-cite{margin-top:1rem;color:var(--ink-2);font:400 var(--t-sm)/1.6 var(--font)}
.lab-cite a:not(.text-link){color:var(--ink);font-weight:600;text-decoration-color:var(--rule)}
.lab-cite a:not(.text-link):hover{text-decoration-color:var(--ink)}
.lab-cite .text-link{display:inline-block}
/* Will your cup fit? (cup-fit.js): a stone panel under a 4px ink rule with the height field, its outline button and
   the result, a line per machine. */
.lab-fit{max-width:44rem;margin-top:2.5rem;padding:1.25rem;border-top:4px solid var(--ink);background:var(--panel)}
@media (min-width:44rem){.lab-fit{padding:1.5rem 1.75rem}}
.lab-fit h3{font-size:var(--t-h3);line-height:1.15}
.lab-fit p{margin-top:.375rem;color:var(--ink-2);font-size:var(--t-ui);line-height:1.5}
.lab-fit label{display:block;margin-top:1.125rem;color:var(--ink-2);font:600 var(--t-sm)/1.3 var(--font)}
.lab-fit div{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.375rem}
.lab-fit input{width:8rem}
.lab-fit output{display:block;margin-top:1rem;color:var(--ink);font:600 var(--t-ui)/1.65 var(--font);white-space:pre-line}
.lab-fit output:empty{margin:0}
/* The review index: a ruled row per model, its page beside the count of independent sources; two columns from 64rem. */
.lab-index{display:grid;border-top:1px solid var(--rule)}
.lab-index li{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--rule)}
.lab-index a{color:var(--ink);font:700 1.0625rem/1.3 var(--font);text-decoration:none}
.lab-index a:hover{text-decoration:underline;text-decoration-thickness:2px}
.lab-index span{flex:none;color:var(--muted);font:500 var(--t-sm)/1.3 var(--font);text-align:right}
@media (min-width:64rem){.lab-index{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3rem;border-top:0}.lab-index li:nth-child(-n+2){border-top:1px solid var(--rule)}}

/* ---------- The comparison table ---------- */
/* .compare-table: the spec sheets, the desk's table (matchups.js) and the lab tables. style.css draws the table, the
   bold differing rows beside their accent rule and the receding others. The desk's footer row (tr.buy-row) holds each
   model's Amazon link under a strong rule; it is never marked differs, so in a table with a .table-key its label
   recedes like the other rows'. In the table layout the rule is the collapsed border between two cells, and the upper
   cell's border wins a tie, so the last body row's cells carry the strong color too. */
@media (min-width:44rem){
 .compare-table tfoot>tr>*{border-top:1px solid var(--rule-strong)}
 .compare-table:has(tfoot) tbody>tr:last-child>*{border-bottom-color:var(--rule-strong)}
}
/* Below 44rem the table stacks. The column names form a header row that sticks under the jump bar (at the top of the
   screen on /compare/, which has none) while the table scrolls past, so no wrapper may scroll. Each row shows its
   label across the full width, then each value under its column's name, and a differing row keeps its accent rule in
   the gutter. That layout changes the display of the table elements, which drops their native table semantics in some
   browsers, so every element states its role. Words wrap between words; overflow-wrap only splits a single token that
   is wider than its column. */
@media (max-width:43.99rem){
 .table-scroll,.lab-table-wrap{overflow:visible}
 .compare-table,.compare-table caption,.compare-table thead,.compare-table tbody,.compare-table tfoot{display:block}
 .compare-table tr{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
 .compare-table.compare-cols-3 tr{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:.75rem}
 .compare-table thead{position:sticky;top:var(--jump-h);z-index:4;border-bottom:2px solid var(--ink);background:var(--paper)}
 .band .compare-table thead{background:var(--band)}
 .lab-table thead,.matchup-table thead{top:0}
 .compare-table thead th{position:static;align-self:end;padding:.625rem 0;border:0}
 /* The corner header leaves the view but not the accessibility tree: with display:none, every column header would
    sit one cell to the left of its values. */
 .compare-table .compare-corner{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .compare-table tr.grp{display:block}
 .compare-table tr.grp th{display:block;padding:1.5rem 0 .5rem}
 .compare-table tbody th[scope=row],.compare-table tfoot th{grid-column:1/-1;width:auto;padding:.875rem 0 .25rem;border:0;font-size:var(--t-sm)}
 .compare-table td{padding:0 0 .875rem;border:0;font-size:var(--t-ui);overflow-wrap:break-word}
 .compare-table tbody tr:not(.grp),.compare-table tfoot tr{border-bottom:1px solid var(--rule)}
 /* The footer row is laid out like the body rows. Its strong rule covers the last body row's hairline. */
 .compare-table tfoot{margin-top:-1px;border-top:1px solid var(--rule-strong)}
 .compare-table tr.differs::before{content:"";position:absolute;left:-.6875rem;top:.875rem;bottom:.875rem;width:3px;background:var(--accent)}
 .compare-table tr.differs>th{box-shadow:none}
 .compare-table .th-model{gap:.625rem;font-size:var(--t-ui)}
 .lab-table tbody th[scope=row]{padding-bottom:.5rem}
 .lab-table td b{font-size:1rem}
 .matchup-table tr>:first-child{width:auto}
 /* A link in a row that the browser scrolls to on focus stops below the stuck header, not under it. */
 .compare-table tbody a,.compare-table tfoot a{scroll-margin-top:9rem}
}

/* ---------- The model database (equipment_index.py): /gear/catalog/ and the maker pages ---------- */
/* The hub, under its page head (components.page_head): the search panel, a stone card under a 4px ink rule that is in
   the page from the start (js-only), its label, field and equipment select in one row from 44rem and stacked on phones;
   the role=status line, empty until the reader searches; the matches (catalog-search.js), a ruled list two to a row
   from 44rem and three from 64rem, each the model's name in ink over its kind, then its Amazon link (.buy-inline); the
   totals, two big figures; the makers, a grid of cells between hairlines, two on phones, three from 44rem and four from
   64rem; then the note on the record sources. */
.catalog-hub,.catalog-body{padding-bottom:var(--sp-section)}
.catalog-search{display:grid;gap:.625rem;padding:1.125rem clamp(1rem, .5rem + 2vw, 1.5rem) 1.25rem;border-top:4px solid var(--ink);background:var(--panel)}
.catalog-search label{color:var(--ink);font:800 1.125rem/1.25 var(--font);letter-spacing:-.015em}
.catalog-search input,.catalog-search select{width:100%;min-width:0}
@media (min-width:44rem){.catalog-search{grid-template-columns:auto minmax(0,1fr) minmax(0,15rem);align-items:center;column-gap:1.25rem;padding-block:1.25rem}}
.catalog-status{margin-top:1.25rem;color:var(--ink);font:600 var(--t-sm)/1.5 var(--font)}
.catalog-results{display:grid;margin-top:.625rem;border-top:1px solid var(--rule)}
.catalog-results:empty{display:none}
.catalog-results li{display:flex;flex-direction:column;align-items:flex-start;padding:.875rem 0 .75rem;border-bottom:1px solid var(--rule)}
.catalog-match{display:block;color:var(--ink);text-decoration:none}
.catalog-match strong{display:block;font:700 1.0625rem/1.3 var(--font);letter-spacing:-.01em}
.catalog-match:hover strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.2em}
.catalog-match span{display:block;margin-top:.125rem;color:var(--muted);font:500 var(--t-sm)/1.4 var(--font)}
.catalog-results .buy-inline{margin-top:.25rem}
@media (min-width:44rem){.catalog-results{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2.5rem}}
@media (min-width:64rem){.catalog-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
.catalog-totals{display:flex;flex-wrap:wrap;margin-top:clamp(2.25rem, 1.75rem + 2vw, 3.5rem)}
.catalog-totals>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;padding-right:clamp(1.5rem, 1rem + 2vw, 3rem)}
.catalog-totals>div+div{padding-left:clamp(1.5rem, 1rem + 2vw, 3rem);border-left:1px solid var(--rule)}
.catalog-totals dd{color:var(--ink);font:800 var(--t-stat)/1 var(--font);letter-spacing:-.045em}
.catalog-totals dt{margin-top:.5rem;color:var(--ink-2);font:600 var(--t-sm)/1.3 var(--font)}
.catalog-makers{margin-top:clamp(2.75rem, 2rem + 2.6vw, 4.5rem)}
.catalog-brands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--rule);border-left:1px solid var(--rule)}
.catalog-brands li{border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.catalog-brands a{display:block;height:100%;padding:.875rem 1rem 1rem;color:var(--ink);text-decoration:none;transition:background-color .15s}
.catalog-brands a:hover{background:var(--panel)}
.catalog-brands strong{display:block;font:700 1.0625rem/1.25 var(--font);letter-spacing:-.01em}
.catalog-brands a:hover strong{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.18em}
.catalog-brands span{display:block;margin-top:.25rem;color:var(--muted);font:500 var(--t-sm)/1.3 var(--font)}
@media (min-width:44rem){.catalog-brands{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:64rem){.catalog-brands{grid-template-columns:repeat(4,minmax(0,1fr))}}
.catalog-note{max-width:48rem;margin-top:clamp(2.75rem, 2rem + 2.6vw, 4.5rem);padding-top:1.125rem;border-top:1px solid var(--rule)}
.catalog-note h2{font-size:var(--t-h3);line-height:1.15}
.catalog-note p{margin-top:.75rem;color:var(--ink-2);font:400 var(--t-ui)/1.6 var(--font)}
.catalog-note .catalog-feeds{color:var(--muted);font-size:var(--t-sm)}
.catalog-note a{color:var(--ink-2);text-decoration-color:var(--sep);text-underline-offset:.2em}
.catalog-note a:hover{color:var(--ink);text-decoration-color:currentColor}
/* A maker page, under its page head: the sourced maker notes (makers.json) in the reading column, the note on Amazon
   search results, then a card per record under a strong rule: its kind as a kicker, its name, its links and its Amazon
   button (across the column on phones, as wide as its label from 44rem) with the regional note, beside its
   specifications in ruled rows, label then value, and its sources. The card that the address names (#<id>, which the
   search, the comparison desk and the lookup link) is tinted. Maker pages show no photographs. */
.maker-notes{margin-bottom:2.5rem}
.maker-notes .maker-updated{color:var(--muted);font-size:var(--t-sm)}
.maker-notes .sl-sources h2{margin:0;padding:0;border:0;font-size:1.125rem}
.maker-notes .sl-sources ul{margin-top:.5rem;padding-left:1.25rem;list-style:disc;font-size:var(--t-sm);line-height:1.7}
.maker-spotlight,.maker-tools{margin-block:1.5rem 2.25rem;padding:1.25rem 1.5rem;border-top:4px solid var(--ink);background:var(--panel)}
.maker-tools{margin-top:3rem;margin-bottom:0;border-top-width:1px}
.maker-spotlight h2,.maker-tools h2{font-size:var(--t-h3);line-height:1.2}
.maker-spotlight-list{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:.875rem}
.maker-spotlight-list a{color:var(--ink);font:600 var(--t-ui)/1.45 var(--font);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:.22em}
.maker-spotlight-list a:hover{color:var(--accent-strong)}
.catalog-makers--featured .sec-sub{margin-top:.375rem;color:var(--ink-2);font-size:var(--t-ui)}
.catalog-amazon{max-width:46rem;margin-bottom:1.5rem}
.catalog-row{display:grid;gap:1.25rem;padding:1.5rem 0 1.75rem;border-top:1px solid var(--rule-strong);scroll-margin-top:1rem}
.catalog-row:target{margin-inline:-.75rem;padding-inline:.75rem;border-top-color:var(--accent);background:var(--accent-soft)}
.catalog-row h2{margin-top:.5rem;font-size:1.375rem;line-height:1.15;letter-spacing:-.02em;overflow-wrap:break-word}
.catalog-links{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;margin-top:.625rem}
.catalog-links a{color:var(--ink-2);font:600 var(--t-sm)/1.5 var(--font);text-decoration:underline;text-decoration-color:var(--sep);text-underline-offset:.25em}
.catalog-links a:hover{color:var(--ink);text-decoration-color:currentColor}
.catalog-row .buy-btn{display:flex;width:100%;margin-top:1.125rem}
.catalog-row .buy-region,.catalog-row .buy-none{margin-top:.5rem}
.catalog-specs dl{border-top:1px solid var(--rule)}
.catalog-specs dl div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:1rem;padding:.5625rem 0;border-bottom:1px solid var(--rule)}
.catalog-specs dt{color:var(--muted);font:500 var(--t-sm)/1.45 var(--font)}
.catalog-specs dd{color:var(--ink);font:600 var(--t-ui)/1.4 var(--font);overflow-wrap:anywhere}
.catalog-source{margin-top:.75rem;color:var(--muted);font:400 var(--t-xs)/1.55 var(--font)}
.catalog-source a{color:var(--ink-2);text-decoration-color:var(--sep)}
.catalog-source a:hover{color:var(--ink);text-decoration-color:currentColor}
@media (min-width:44rem){
 .catalog-row{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(2rem, 4vw, 4rem)}
 .catalog-row .buy-btn{display:inline-flex;width:auto}
 .catalog-specs dl{border-top:0}
 .catalog-specs dl div{grid-template-columns:minmax(0,13rem) minmax(0,1fr);gap:1.5rem}
 .catalog-specs dl div:first-child{padding-top:.25rem}
}

/* Spec Score chips in search results and maker rows, plus the Highest Spec Scores board on /gear/catalog/. */
.catalog-results .score-chip{display:flex;margin-top:.5rem}
.catalog-row .row-score{display:flex;flex-wrap:wrap;margin:.5rem 0 0}
.score-key{max-width:46rem;margin-top:.5rem;margin-bottom:1.5rem}
.catalog-amazon+.score-key{margin-top:-.75rem}
.score-board{margin:clamp(2.75rem, 2rem + 2.6vw, 4.5rem) 0 0;padding-top:1rem;border-top:4px solid var(--ink);scroll-margin-top:1rem}
.score-board-head h2{margin:.5rem 0 .75rem;font-size:clamp(1.75rem,1.45rem + 1vw,2.25rem);line-height:1.12}
.score-board-head>p:not(.kicker){max-width:46rem;margin:0;color:var(--ink-2);font-size:var(--t-ui);line-height:1.55}
.score-board-head p.score-key{margin-top:.625rem;margin-bottom:0}
.score-board-grid{display:grid;gap:2.5rem;margin-top:2rem}
@media (min-width:64rem){.score-board-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:3.5rem;align-items:start}}
.score-leaders h3{margin:0 0 .25rem;font-size:var(--t-h3);line-height:1.15}
.score-leaders .data-table thead th{position:static;padding-top:.5rem}
.score-leaders .data-table th,.score-leaders .data-table td{vertical-align:middle}
.score-leaders .lead-rank{width:2.25rem;padding-right:.5rem;color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
.score-leaders tbody th[scope=row]{padding-left:0}
.score-leaders tbody th a{color:var(--ink);font-weight:700;text-decoration:none}
.score-leaders tbody th a:hover{text-decoration:underline;text-decoration-thickness:2px}
.score-leaders .lead-score{width:8.5rem}
.score-leaders .lead-score b{font-size:1.125rem;font-weight:800;letter-spacing:-.02em}
.score-leaders .lead-score .score-bar{margin-top:.375rem}
.score-leaders .lead-cover{width:5.5rem;padding-right:0;color:var(--muted);text-align:right}
.score-leaders thead th:last-child{padding-right:0;text-align:right}
@media(max-width:520px){.score-leaders .lead-score{width:5.5rem}.score-leaders .lead-cover{width:4.25rem}}
