/* Shared tokens and component styles. Responsive rules retain cascade order. */
.editorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0 48px; }
.editorial-card { display:flex; flex-direction:column; padding:26px 0; border-top:2px solid var(--ink); color:var(--ink); }
.editorial-card h3 { font-size:1.6rem; line-height:1.16; margin:14px 0; }
.editorial-card p { color:var(--muted); margin:0 0 22px; }
.editorial-card-link { margin-top:auto; color:var(--blue); font-weight:600; }
.editorial-card:hover h3 { color:var(--red); }
.editorial-head { max-width:960px; padding:30px 0; }
.editorial-head h1 { font-size:clamp(2.4rem,5vw,4.2rem); line-height:1.05; max-width:850px; margin:15px 0 24px; }
.editorial-deck { font-size:1.15rem; line-height:1.7; max-width:76ch; }
.editorial-jumps { display:flex; flex-wrap:wrap; gap:12px 24px; border-block:1px solid var(--line); padding:18px 0; margin-bottom:36px; }
.editorial-matrix { overflow:auto; margin:20px 0 48px; }
.editorial-matrix table { width:100%; min-width:560px; table-layout:fixed; }
.editorial-matrix .rank-column { width:4.5rem; }
.table-rank { font-size:1.25rem; font-weight:700; font-variant-numeric:tabular-nums; color:var(--red); }
.rank-number { color:var(--red); font-variant-numeric:tabular-nums; }
.rank-distinction { font-weight:600; color:var(--muted); margin:12px 0; }
.editorial-review { max-width:72ch; }
.editorial-review p { margin:20px 0; line-height:1.75; }
.rank-back { font-size:.875rem; margin-top:18px; }
.rank-navigation { padding-left:1.5rem; }
.editorial-pick { scroll-margin-top:24px; }
.editorial-matrix caption { text-align:left; color:var(--muted); padding-bottom:12px; }
.editorial-matrix td,.editorial-matrix th { vertical-align:top; white-space:normal; overflow-wrap:anywhere; }
.editorial-body { display:grid; grid-template-columns:minmax(0,760px) minmax(200px,1fr); gap:64px; }
.editorial-body article>section { margin-bottom:44px; }
.editorial-body li { margin-bottom:12px; }
.editorial-pick { border-top:2px solid var(--ink); padding:28px 0; margin-top:28px; }
.editorial-pick h3 { font-size:2rem; line-height:1.15; margin:10px 0; }
.editorial-pick dl>div { margin:20px 0; }
.editorial-pick dt { font-weight:700; }
.editorial-pick dd { margin:5px 0 0; }
.editorial-price { font-weight:600; }
.editorial-pick summary { cursor:pointer; padding:12px 0; color:var(--blue); }
.editorial-sources { font-size:.875rem; padding-left:20px; overflow-wrap:anywhere; }
.editorial-sources span { color:var(--muted); }
.editorial-aside { align-self:start; border-top:2px solid var(--line); padding-top:18px; }
.editorial-aside h2 { font-size:1.35rem; }
.editorial-aside ul { padding-left:18px; font-size:.95rem; }
.editorial-principle { padding:36px; background:var(--surface); border:1px solid var(--line); margin:44px 0; max-width:100%; }
.editorial-principle p { max-width:75ch; }
@media(max-width:900px) { .editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .editorial-body { gap:32px; grid-template-columns:minmax(0,1fr); } }
@media(max-width:560px) { .editorial-grid { grid-template-columns:minmax(0,1fr); gap:0; } .editorial-principle { padding:24px; } }
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-display: optional;
}

@font-face {
  font-family: Condensed;
  src: url('/assets/roboto-condensed-latin-variable.woff2') format('woff2');
  font-weight: 400 700;
  font-display: optional;
}

:root {
  --red: #c9291c;
  --dark-red: #ae2015;
  --pale: #f5f5f5;
  --blue: #22618a;
  --green: #176748;
  --font: Inter,Arial,sans-serif;
  --heading: Condensed,'Arial Narrow',sans-serif;
  --space: 8px;
  --ink: #24272b;
  --muted: #626970;
  --surface: #fafaf8;
  --line: #e0e2df;
  --profile-rule: #e0e2df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button, input, select {
  font: inherit;
}

button, a, input, select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #256eaa;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  overflow-wrap: anywhere;
  font-family: var(--heading);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.025em;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.65rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.skip {
  position: fixed;
  top: -100px;
  background: #fff;
  padding: 10px;
  z-index: 999;
}

.skip:focus {
  top: 8px;
}

.mast-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
}

.mast {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 1px 8px #0000000c;
}

.brand {
  font: 700 2rem/1 var(--heading);
  letter-spacing: -.055em;
  color: var(--red);
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand span {
  font-size: 1.1rem;
  margin-left: 2px;
  letter-spacing: -.04em;
}

.primary {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}

.primary a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.primary a[aria-current=page] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.mast-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn, .button {
  border: 1px solid var(--line);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.4;
  text-decoration: none;
}

.btn:hover, .button:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--dark-red);
  color: white;
}

.menu-toggle {
  display: none;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 20px 0;
}

.breadcrumbs span:not(:last-child)::after, .breadcrumbs a::after {
  content: ' /';
  color: #aaa;
  margin-left: 10px;
}

.page-top {
  margin-bottom: 28px;
}

.page-top p {
  color: #555;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 9px;
}

.byline {
  font-size: 0.8125rem;
  color: #686868;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0;
}

.byline a {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 34px;
}

.main-column {
  min-width: 0;
}

.side-box {
  border-top: 3px solid var(--red);
  padding: 17px 0;
  margin-bottom: 28px;
}

.side-box h3 {
  font-size: 1.5rem;
}

.side-box p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.side-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-links a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.875rem;
}

.home-intro {
  padding: 36px 0 24px;
}

.home-intro h1 {
  max-width: 850px;
  margin-bottom: 14px;
}

.home-intro p {
  color: #555;
}

.searchbox {
  display: flex;
  border: 1px solid #bababa;
  max-width: 790px;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  margin: 22px 0 12px;
}

.searchbox input {
  border: 0;
  min-width: 0;
  flex: 1;
  padding: 14px 17px;
  font-size: 1rem;
  outline-offset: -4px;
}

.searchbox button {
  border-radius: 0;
  padding: 12px 24px;
}

.popular {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  margin-bottom: 10px;
}

.popular strong {
  color: #666;
}

.image-credit {
  font-size: 0.6875rem;
  color: #777;
  margin-top: 6px;
}

.section-heading {
  border-bottom: 1px solid var(--line);
  margin: 33px 0 19px;
  padding-bottom: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.section-heading h2 {
  font-size: 2rem;
  margin: 0;
}

.section-heading a {
  font-size: 0.875rem;
}

.quick-list {
  border-top: 1px solid var(--line);
}

.quick-row {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr) max-content;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.quick-row:hover {
  background: #fafafa;
  text-decoration: none;
}

.quick-row .rank {
  color: #777;
  font-family: var(--heading);
  font-size: 1.75rem;
}

.quick-row h3 {
  font: 600 1rem/1.4 var(--font);
  letter-spacing: 0;
  margin: 0 0 4px;
}

.quick-row p {
  font-size: 0.8125rem;
  color: #666;
  margin: 0;
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 5px 10px;
  font-family: var(--heading);
  font-size: 1.625rem;
  font-weight: 700;
  min-width: 62px;
  white-space: nowrap;
}

.score-label {
  font-size: 0.6875rem;
  line-height: 1.3;
  color: #666;
  text-align: center;
  margin-top: 4px;
}

.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 12px 0 45px;
}

.home-bottom p {
  font-size: 0.9375rem;
}

.notice {
  border: 1px solid #a4bdd2;
  border-left: 4px solid #3773a0;
  padding: 12px 16px;
  margin: 20px 0;
  color: #3a5469;
  font-size: 0.875rem;
  line-height: 1.6;
  background: #f7fafc;
}

.notice a {
  font-weight: 600;
}

.toolbar {
  border: 1px solid var(--line);
  background: #f7f7f7;
  padding: 17px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 20px 0 0;
  border-radius: 5px 5px 0 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 145px;
  flex: 1;
}

.field.wide {
  flex: 2;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
}

.field input, .field select {
  padding: 10px 12px;
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #fff;
  width: 100%;
  height: 43px;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #666;
}

.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

th {
  padding: 12px;
  background: #f1f1f1;
  border-bottom: 1px solid #c9c9c9;
  color: #505050;
  font-size: 0.75rem;
  white-space: nowrap;
}

td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fafafa;
}

.rank-cell {
  font: 700 1.5625rem var(--heading);
  color: #777;
  width: 40px;
}

.name-cell {
  min-width: 260px;
}

.name-cell a {
  font-weight: 600;
  color: var(--ink);
}

.name-cell small {
  display: block;
  line-height: 1.5;
  color: #666;
  margin-top: 5px;
  max-width: 390px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.format-label {
  font-size: 0.75rem;
  display: inline-block;
  background: #f1f1f1;
  padding: 3px 7px;
  border-radius: 3px;
  max-width: 125px;
}

.compare-check {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.page-controls {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 0.8125rem;
}

.page-controls>div {
  display: flex;
  gap: 8px;
}

.table-explainer {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.7;
  margin: 20px 0 35px;
}

.empty-state {
  padding: 35px;
  text-align: center;
  color: #666;
  border: 1px solid var(--line);
}

.article-layout {
  display: grid;
}

.toc {
  position: sticky;
  top: 90px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding: 5px 0 10px 18px;
}

.toc p {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 0;
  font-size: 0.8125rem;
  color: #666;
}

.article-title {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.article-photo {
  width: 100%;
  max-height: 290px;
  object-fit: cover;
  border-radius: 7px;
  margin: 12px 0;
}

.article p {
  line-height: 1.8;
}

.article h2 {
  margin-top: 35px;
  font-size: 2.375rem;
  scroll-margin-top: 95px;
}

.article h3 {
  font-size: 1.6875rem;
  margin-top: 24px;
}

.article ul {
  padding-left: 22px;
}

.article li {
  margin: 7px 0;
}

.article a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-list {
  margin-top: 25px;
}

.product-block {
  margin-bottom: 42px;
  scroll-margin-top: 90px;
}

.product-block h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-size: 2.3125rem;
}

.product-block .product-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
}

.product-number {
  font: 700 1.25rem var(--heading);
  padding: 2px 10px;
  background: var(--red);
  color: #fff;
  border-radius: 3px;
}

.product-body {
  display: grid;
  grid-template-columns: minmax(0,1fr) 225px;
  gap: 22px;
}

.product-body.has-image {
  grid-template-columns: 220px minmax(0,1fr);
}

.product-image {
  height: 220px;
  width: 100%;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  background: white;
}

.product-name {
  font: 700 1.75rem/1.15 var(--heading);
  color: #191919;
  margin: 0 0 7px;
  display: block;
}

.product-price {
  font-size: 1rem;
  font-weight: 600;
  margin: 8px 0;
}

.product-summary {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.product-meta {
  border-top: 1px solid var(--line);
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
}

.product-meta div {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.product-meta span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #666;
  display: block;
}

.product-meta strong {
  font-size: 0.8125rem;
  display: block;
  margin-top: 3px;
}

.verdict {
  background: #f4f4f4;
  border-radius: 4px;
  padding: 20px;
  margin: 20px 0;
}

.verdict h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.verdict p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.pros-cons h3 {
  font: 700 0.8125rem var(--font);
  letter-spacing: .02em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--green);
  padding-bottom: 8px;
}

.pros-cons .cons h3 {
  border-color: #a9543e;
}

.pros-cons ul {
  padding-left: 19px;
  font-size: 0.875rem;
  line-height: 1.7;
}

.pros-cons li {
  margin-bottom: 8px;
}

.source-note {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.6;
  margin-top: 18px;
}

.inline-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.fact-table td:first-child {
  font-weight: 600;
  color: #555;
  width: 40%;
}

.fact-table td {
  font-size: 0.875rem;
  padding: 12px;
}

.compare-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  box-shadow: 0 -2px 12px #0002;
  z-index: 60;
  padding: 12px 0;
}

.compare-dock[hidden] {
  display: none;
}

.compare-dock .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.compare-dock strong {
  font-size: 0.875rem;
}

.compare-dock small {
  display: block;
  font-size: 0.75rem;
  color: #ccc;
}

.compare-dock .btn {
  border-color: #555;
  background: #333;
  color: #fff;
}

.compare-dock .btn-red {
  background: var(--red);
}

.compare-dock .dock-actions {
  display: flex;
  gap: 9px;
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
  margin: 24px 0;
}

.finder {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.finder h3 {
  font-size: 1.4375rem;
}

.finder p {
  font-size: 0.875rem;
  color: #666;
}

.search-results a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.search-results h2 {
  font-size: 1.4375rem;
  color: #222;
}

.search-results p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.search-results .eyebrow {
  font-size: 0.6875rem;
}

.footer {
  margin-top: 60px;
  background: #f1f1f1;
  border-top: 1px solid #ddd;
  padding: 33px 0 35px;
}

.footer-top {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer p {
  font-size: 0.8125rem;
  line-height: 1.8;
  max-width: 630px;
  color: #666;
}

.footer nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.footer a {
  font-size: 0.8125rem;
}

.footer .brand {
  font-size: 1.75rem;
}

.copyright {
  font-size: 0.75rem;
}

.has-dock {
  padding-bottom: var(--dock-clearance, 85px);
}

.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  z-index: 90;
  font-size: 0.875rem;
  max-width: 360px;
}

.toast:empty {
  display: none;
}

.rank-overview {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  margin: 25px 0;
}

.rank-overview>div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.rank-overview>div:last-child {
  border: 0;
}

.rank-overview strong {
  font: 700 2.25rem var(--heading);
  display: block;
}

.rank-overview span {
  font-size: 0.8125rem;
  color: #666;
}

.data-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.muted {
  color: #666;
}

@media(min-width:1500px) {
  .wrap {
    max-width: 1240px;
  }
}

@media(max-width:1050px) {
  .primary {
    gap: 14px;
  }

  .mast {
    gap: 18px;
  }

  .primary a {
    font-size: 0.8125rem;
  }

  .content-grid {
    grid-template-columns: minmax(0,1fr) 225px;
    gap: 24px;
  }

  .mast-actions .search-link {
    display: none;
  }
}

@media(max-width:800px) {
  .primary {
    display: none;
  }

  .primary.is-open {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 18px 24px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 12px #0001;
    gap: 15px;
  }

  .primary.is-open a {
    font-size: 1rem;
  }

  .mast-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .toc {
    position: static;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    white-space: normal;
    padding: 0 0 14px;
    margin-bottom: 20px;
  }

  .toc p {
    display: none;
  }

  .toc a {
    padding: 0;
  }

  .article-title {
    margin-left: 0;
  }

  .product-body.has-image {
    grid-template-columns: 190px minmax(0,1fr);
  }

  .wrap {
    padding: 0 20px;
  }
}

@media(max-width:560px) {
  body {
    font-size: 1rem;
  }

  .wrap {
    padding: 0 16px;
  }

  .brand {
    font-size: 1.625rem;
  }

  .brand span {
    font-size: 0.875rem;
  }

  .mast-actions {
    gap: 6px;
  }

  .mast-actions .btn {
    font-size: 0.75rem;
  }

  .mast-actions .search-link {
    display: none;
  }

  .breadcrumbs {
    font-size: 0.75rem;
    padding: 16px 0;
  }

  .home-intro {
    padding: 25px 0 14px;
  }

  h1 {
    letter-spacing: -.02em;
  }

  .searchbox {
    margin: 17px 0 10px;
  }

  .searchbox input {
    font-size: 0.875rem;
    padding: 12px;
    min-width: 0;
  }

  .searchbox button {
    padding: 10px 15px;
    font-size: 0.8125rem;
  }

  .popular {
    gap: 9px 14px;
    font-size: 0.75rem;
  }

  .image-credit {
    font-size: 0.6875rem;
  }

  .sidebar {
    display: block;
  }

  .home-bottom {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading {
    margin-top: 27px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-heading a {
    font-size: 0.75rem;
  }

  .quick-row {
    grid-template-columns: max-content minmax(0,1fr) max-content;
    gap: 10px;
  }

  .quick-row h3 {
    font-size: 0.875rem;
  }

  .quick-row p {
    font-size: 0.75rem;
  }

  .score {
    font-size: 1.4375rem;
    min-width: 58px;
  }

  .byline {
    font-size: 0.75rem;
    flex-direction: column;
    gap: 3px;
    margin: 12px 0;
  }

  .toolbar {
    gap: 10px;
  }

  .results-bar {
    flex-wrap: wrap;
    gap: 5px;
  }

  .name-cell {
    min-width: 210px;
  }

  .name-cell small {
    max-width: 250px;
  }

  td {
    padding: 13px 10px;
  }

  .table-scroll .score {
    font-size: 1.4375rem;
  }

  .table-explainer {
    font-size: 0.75rem;
  }

  .page-controls {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-block h2 {
    font-size: 1.9375rem;
  }

  .product-body, .product-body.has-image {
    display: block;
  }

  .product-image {
    max-width: 280px;
    margin: 0 auto 20px;
    height: 230px;
  }

  .product-name {
    font-size: 1.75rem;
  }

  .product-summary {
    font-size: 0.9375rem;
  }

  .product-meta {
    grid-template-columns: 1fr 1fr;
  }

  .product-meta div {
    padding: 9px;
  }

  .product-meta span {
    font-size: 0.625rem;
  }

  .product-meta strong {
    font-size: 0.75rem;
  }

  .pros-cons {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article h2 {
    font-size: 2rem;
  }

  .article-photo {
    max-height: 210px;
  }

  .rank-overview>div {
    padding: 12px;
  }

  .rank-overview strong {
    font-size: 1.875rem;
  }

  .rank-overview span {
    font-size: 0.6875rem;
  }

  .finder-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    display: block;
  }

  .footer nav {
    gap: 12px;
  }

  .footer {
    margin-top: 40px;
    padding-bottom: 25px;
  }

  .compare-dock .wrap {
    gap: 10px;
  }

  .compare-dock .btn {
    font-size: 0.75rem;
    padding: 9px;
  }

  .compare-dock strong {
    font-size: 0.75rem;
  }

  .compare-dock .dock-actions {
    gap: 6px;
  }

  .toast {
    right: 16px;
    left: 16px;
    font-size: 0.8125rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .mast-wrap, .compare-dock, .footer, .toc, .toolbar, .page-controls, .inline-actions {
    display: none;
  }

  body {
    font-size: 0.75rem;
  }

  .wrap {
    max-width: none;
  }

  .article-layout, .content-grid {
    display: block;
  }

  .table-scroll {
    overflow: visible;
  }

  a {
    color: #000;
  }

  .sidebar {
    display: none;
  }
}

body[data-category="software"] main:has(.product-list)>.page-top, body[data-category="equipment"] main:has(.product-list)>.page-top, main:has(.product-list)>.notice {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

main:has(.product-list)>.breadcrumbs {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-layout {
  grid-template-columns: 150px minmax(0,800px);
  gap: 28px;
  justify-content: center;
}

.product-list {
  min-width: 0;
}

.product-heading h2 {
  font-size: 2.5rem;
}

.product-block {
  border-top: 3px solid var(--red);
  padding-top: 22px;
}

@media(max-width:800px) {
  .article-layout {
    display: block;
  }

  .product-heading h2 {
    font-size: 2.125rem;
  }
}

@media(max-width:560px) {
  .product-heading h2 {
    font-size: 1.875rem;
  }
}

body {
  background: var(--surface);
  color: var(--ink);
}

.mast-wrap {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.mast {
  border-radius: 0;
  min-height: 76px;
  padding: 16px 24px;
  max-width: 1240px;
  margin: auto;
}

.section-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.section-nav .wrap {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.section-nav a {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(2rem,4.5vw,3.5rem);
  line-height: 1.08;
  max-width: 900px;
}

.home-intro {
  padding-top: 36px;
  padding-bottom: 20px;
}

.home-intro p, .page-top p {
  font-size: 1.0625rem;
  max-width: 760px;
  line-height: 1.65;
}

.score {
  background: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.btn, .compare-check {
  min-height: 44px;
  align-items: center;
}

.field input, .field select {
  min-height: 44px;
  font-size: 1rem;
}

.name-cell a {
  font-size: 1rem;
}

.name-cell small {
  font-size: 0.875rem;
}

.results-bar {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 16px 0;
}

[data-ranking]>button {
  margin-bottom: 16px;
}

.breadcrumbs {
  overflow-wrap: anywhere;
}

.page-top {
  padding-top: 8px;
}

.category-paths {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  margin: 20px 0 32px;
}

.category-paths>a {
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.category-paths>a:last-child {
  border: 0;
}

.category-paths>a:hover {
  background: #f2f3ef;
  text-decoration: none;
}

.category-index {
  font-size: 0.875rem;
  color: #a63829;
  font-weight: 700;
}

.category-paths h2 {
  font-size: 1.75rem;
  margin: 18px 0 10px;
}

.category-paths p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}

.category-count {
  font-size: 0.875rem;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-toggle {
  display: none;
}

@media(max-width:900px) {
  .category-paths {
    grid-template-columns: 1fr 1fr;
  }

  .category-paths>a {
    border-bottom: 1px solid var(--line);
  }

  .category-paths>a:nth-child(even) {
    border-right: 0;
  }
}

.comparison-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Reserve the comparison workspace while category data loads. Empty-state
   choices remain inside this region, so loading cannot move them below it. */
#comparison {
  min-height: 70vh;
  min-height: 70svh;
}

.comparison-controls .compare-check {
  display: flex;
  gap: 8px;
  width: auto;
  white-space: normal;
  flex: 1 1 100%;
  font-size: 0.875rem;
}

.comparison-controls .compare-check input {
  width: 18px;
  height: 18px;
  flex: none;
}

.comparison-grid {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow-wrap: anywhere;
}

.comparison-names, .comparison-field>div {
  display: grid;
  grid-template-columns: repeat(var(--items),minmax(0,1fr));
}

.comparison-names {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  border-bottom: 2px solid var(--line);
}

.comparison-names>div {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 700;
}

.comparison-names .btn {
  align-self: flex-start;
  font-size: 0.875rem;
}

.comparison-field {
  border-bottom: 1px solid var(--line);
}

.comparison-field h2 {
  font: 600 0.875rem Inter,sans-serif;
  margin: 0;
  padding: 10px 16px;
  background: #f2f3f0;
}

.comparison-field p {
  padding: 16px;
  margin: 0;
  font-size: 0.9375rem;
  border-right: 1px solid var(--line);
}

.pair-selectors {
  display: none;
}

.selection-chip {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 8px 12px;
  font-size: 0.8125rem;
  cursor: pointer;
  max-width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-selection] {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media(min-width:561px) {
  [data-column] {
    order: initial!important;
  }
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #215aa6;
  outline-offset: 3px;
}

@media(max-width:800px) {
  .mast {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .primary.is-open {
    top: 100%;
    left: 0;
    right: 0;
  }

  .mast-wrap {
    position: relative;
  }

  .section-nav .wrap {
    gap: 8px 20px;
  }

  .brand {
    font-size: 1.625rem;
  }

  .mast-actions {
    gap: 8px;
  }

  .mast-actions .btn {
    font-size: 0.875rem;
    padding: 8px;
  }

  .brand span {
    display: none;
  }
}

@media(max-width:560px) {
  .category-paths {
    grid-template-columns: 1fr;
  }

  .category-paths>a {
    padding: 20px;
    border-right: 0;
  }

  .category-paths h2 {
    margin: 8px 0;
    font-size: 1.625rem;
  }

  .category-paths p {
    margin-bottom: 14px;
  }

  .filter-toggle {
    display: inline-flex;
    margin-bottom: 12px;
  }

  [data-ranking] .toolbar {
    display: none;
  }

  [data-ranking] .toolbar.filters-open {
    display: flex;
  }

  .comparison-names, .comparison-field>div {
    grid-template-columns: repeat(min(var(--items),2),minmax(0,1fr));
  }

  .comparison-grid .pair-hidden {
    display: none;
  }

  .comparison-names>div, .comparison-field p {
    padding: 12px;
    font-size: 0.875rem;
  }

  .pair-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }

  .pair-selectors label {
    min-width: 0;
    font-size: 0.875rem;
  }

  .pair-selectors select {
    width: 100%;
    min-height: 44px;
  }

  .selection-chip {
    max-width: 150px;
  }

  .compare-dock small {
    display: none;
  }

  .mast {
    gap: 8px;
  }

  .mast-actions {
    margin-left: auto;
  }

  .mast-actions .btn {
    padding: 8px 10px;
  }

  .home-intro {
    padding-top: 24px;
  }

  .home-intro p, .page-top p {
    font-size: 1rem;
  }

  .section-nav a {
    font-size: 0.8125rem;
  }

  .section-nav .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 10px;
    padding-bottom: 10px;
  }

  [data-ranking] .table-scroll {
    overflow: visible;
  }

  [data-ranking] table, [data-ranking] tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  [data-ranking] thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  [data-ranking] tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 8px;
  }

  [data-ranking] td {
    display: block;
    border: 0;
    padding: 0;
    min-width: 0;
    text-align: left;
  }

  [data-ranking] td.name-cell {
    grid-column: 1/-1;
    grid-row: 2;
    min-width: 0;
  }

  [data-ranking] .name-cell small {
    max-width: none;
    line-height: 1.5;
  }

  [data-ranking] td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 3px;
  }

  [data-ranking] td:last-child {
    grid-column: 1/-1;
  }

  [data-ranking] .rank-cell {
    grid-column: 1/-1;
    font-weight: 700;
  }

  [data-ranking] .rank-cell:before {
    display: inline!important;
    margin-right: 6px;
  }

  .field {
    min-width: 0;
    flex: 1 1 130px;
  }

  .field.wide {
    flex-basis: 100%;
  }

  .toolbar {
    padding: 12px;
    max-width: 100%;
  }

  .field select, .field input {
    width: 100%;
    min-width: 0;
  }

  .compare-dock .wrap {
    flex-wrap: wrap;
  }

  .has-dock {
    padding-bottom: var(--dock-clearance, 130px);
  }
}

.program-facts {
  margin: 24px 0;
}

.program-facts>div {
  padding: 16px 0;
  border-bottom: 1px solid var(--profile-rule);
}

.program-facts dt {
  font-weight: 650;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.program-facts dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.program-facts dd a {
  font-size: 0.875rem;
  white-space: nowrap;
}

.sort-heading {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 10px 0;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
}

th[aria-sort="ascending"] .sort-heading::after {
  content: ' ↑';
}

th[aria-sort="descending"] .sort-heading::after {
  content: ' ↓';
}

@media(min-width:561px) {
  [data-ranking] .table-scroll {
    overflow: visible;
  }

  [data-ranking] thead {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f4f4f1;
  }
}

.image-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #f1f2ee;
  border: 1px solid #d8ddd5;
  color: #555;
  font-size: 0.9375rem;
  text-align: center;
  max-width: 100%;
}

.fact-provenance {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #525252;
  font-weight: 400;
}

.article {
  min-width: 0;
}

.fact-table {
  width: 100%;
  table-layout: fixed;
}

.fact-table th, .fact-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.copyright {
  color: #595959;
}

.table-explainer a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.fact-provenance a, .side-box > a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

[hidden] {
  display: none !important;
}

.featured-brand{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 20px}.featured-wordmark{font-size:1.5rem;font-weight:800;letter-spacing:.08em}.featured-badge{display:inline-block;padding:5px 10px;border-radius:4px;background:#244ce0;color:#fff;font-size:.875rem;font-weight:700;margin:6px 0 6px 10px}.ranking-logo{vertical-align:middle;margin-right:6px}.featured-brand .featured-badge{margin-left:0}

