@font-face {
  font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2");
  font-style: normal; font-weight: 100 1000; font-display: swap;
}
@font-face {
  font-family: "Newsreader"; src: url("fonts/newsreader-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Newsreader"; src: url("fonts/newsreader-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Newsreader"; src: url("fonts/newsreader-500-italic.woff2") format("woff2");
  font-style: italic; font-weight: 500; font-display: swap;
}
:root {
  --bg: #ffffff;
  --paper: #f5f2eb;
  --paper-deep: #ebe6da;
  --dark: #14191d;
  --ink: #161b1f;
  --muted: #59626a;
  --line: #dbd5c9;
  --line-dark: #2a333b;
  --accent: #d99216;
  --link: #144d6e;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
button, input { font: inherit; }
button, summary, input[type=range], input[type=checkbox] { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
h1, h2 { font-family: var(--serif); color: var(--ink); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(40px, 3.9vw, 58px); line-height: 1.03; letter-spacing: -.028em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.022em; }
h3 { font-family: var(--sans); color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.28; letter-spacing: -.012em; }
.eyebrow {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
figcaption, .affiliate, .meta-line, .fit-footnote { font-size: 14px; color: var(--muted); }
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; padding: 10px; background: #fff; z-index: 10; }

/* Navigation & Footer */
.mast, .foot { background: var(--dark); color: #f4f1ea; }
.mast-inner, .foot-inner { display: flex; align-items: center; }
.mast-inner { min-height: 64px; justify-content: space-between; gap: 20px; }
.wordmark {
  display: inline-flex; flex: none; align-items: center; gap: 11px;
  color: inherit; text-decoration: none; font-weight: 700;
  letter-spacing: -.03em; font-size: 21px; line-height: 1;
}
.bench-mark {
  display: inline-block; width: 22px; height: 15px; color: var(--accent);
  border-top: 4px solid; position: relative;
}
.bench-mark::before { content: ""; position: absolute; inset: 2px 2px 0; border-inline: 3px solid; }
.mast nav, .mast .menu-list { display: flex; gap: 26px; flex-wrap: wrap; }
.mast nav a, .menu-list a, .mobmenu summary {
  color: #dcd7cc; font-size: 15px; font-weight: 500; text-decoration: none;
}
.mast nav a:hover, .mast a[aria-current=page], .menu-list a:hover {
  color: #fff; text-decoration: underline; text-underline-offset: 6px;
}
.mobmenu { display: none; }

/* Buttons & Links */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 12px 26px; background: var(--dark); color: #fff; font-size: 15px;
  font-weight: 650; text-decoration: none; border-radius: 2px; border: 1px solid var(--dark);
  transition: background-color .15s ease;
}
.button:hover { background: #26313a; border-color: #26313a; }
.button-secondary { background: transparent; color: var(--ink); border-color: #8f98a0; }
.button-secondary:hover { background: var(--paper-deep); border-color: var(--ink); }
.text-link, .quiet-link {
  font-size: 15px; font-weight: 650; display: inline-block; padding-block: 4px;
}

/* Editorial Cover Hero */
.hero-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.product {
  padding-block: 52px 48px; display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.15fr);
  column-gap: clamp(32px, 5vw, 72px); align-items: center;
}
.product-copy { display: grid; gap: 18px; }
.product-lead { font-size: 19px; line-height: 1.48; color: #2b3238; max-width: 44ch; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line); padding-block: 14px; gap: 12px;
}
.hero-stats dt { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.hero-stats dd { font-size: 16px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.hero-plate { min-width: 0; }
.hero-plate picture { display: block; }
.hero-plate img { width: 100%; height: auto; display: block; }
.hero-plate figcaption { margin-top: 10px; text-align: right; }

/* Sub-navigation */
.page-links { border-bottom: 1px solid var(--line); background: #fff; }
.page-links nav { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; }
.page-links a {
  display: block; padding: 14px 0; color: var(--muted); font-weight: 600;
  font-size: 14px; text-decoration: none;
}
.page-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Sections & Editorial Layouts */
.section { padding-block: 68px; }
.section + .section { border-top: 1px solid var(--line); }
.paper-band { background: var(--paper); border-block: 1px solid var(--line); }
.paper-band + .section { border-top: 0; }
.section-intro { max-width: 62ch; margin-bottom: 34px; }
.section-intro p { margin-top: 10px; color: var(--muted); font-size: 18px; }

/* 3-Column Horizontal Trio Grid (breaks 2-column monotony!) */
.trio-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trio-col { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; }
.trio-col + .trio-col { padding: 28px; border-left: 1px solid var(--line); }
.trio-col:last-child { padding-right: 0; }
.trio-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent);
}
.trio-col h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.trio-col p { color: #2b3238; font-size: 15px; line-height: 1.55; }
.trio-col ul { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--muted); }

/* Editorial Magazine Split */
.editorial-split {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5.5vw, 84px); align-items: start;
}
.split-lead p { margin-top: 14px; color: var(--muted); max-width: 38ch; }
.split-lead figure { margin-top: 24px; }
.split-lead figure img { border: 1px solid var(--line); width: 100%; height: auto; }
.split-lead figcaption { margin-top: 8px; }
.split-body { min-width: 0; display: grid; gap: 28px; }
.split-body > p { max-width: 64ch; }

/* Open 2-column typographic split */
.rule-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.rule-col { padding: 24px 26px 24px 0; }
.rule-col + .rule-col { padding: 24px 0 24px 26px; border-left: 1px solid var(--line); }
.rule-col h3 { margin-bottom: 10px; }
.rule-col ul, .plain-list {
  margin: 10px 0 0; padding-left: 18px; display: grid; gap: 9px; color: #2b3238;
}
.step-list { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 12px; }
.editorial-note {
  border-left: 2px solid var(--accent); padding: 2px 0 2px 16px;
  font-size: 15px; color: #2d343a; max-width: 64ch;
}

/* Tables */
.table-wrap { overflow-x: auto; }
table {
  border-collapse: collapse; width: 100%; text-align: left;
  font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums;
}
th, td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
thead th {
  border-bottom: 2px solid var(--ink); font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); font-weight: 700;
}
tbody th { font-weight: 650; color: var(--ink); }
.comparison-label { display: none; }

@media (max-width: 640px) {
  .comparison-table { display: block; }
  .comparison-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .comparison-table tbody, .comparison-table tr { display: block; }
  .comparison-table tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .comparison-table tr:last-child { border-bottom: 1px solid var(--line); }
  .comparison-table th, .comparison-table td { padding: 3px 0; border: 0; }
  .comparison-table tbody th { display: block; font-size: 17px; margin-bottom: 5px; }
  .comparison-table td {
    display: grid; grid-template-columns: minmax(90px, .46fr) minmax(0, 1fr); gap: 10px;
  }
  .comparison-label { display: block; color: var(--muted); font-weight: 650; }
}

/* Dark Contrast Band */
.dark-band { background: var(--dark); color: #ece8de; padding-block: 72px; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .eyebrow { color: var(--accent); }
.dark-band p, .dark-band li, .dark-band dt { color: #b5bec5; }
.dark-band a { color: #f0b62f; }
.dark-band .rule-cols { border-color: var(--line-dark); }
.dark-band .rule-col + .rule-col { border-color: var(--line-dark); }
.spec-list > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: 18px; padding-block: 11px; border-bottom: 1px solid var(--line);
}
.spec-list > div:first-child { border-top: 1px solid var(--line); }
.dark-band .spec-list > div { border-color: var(--line-dark); }
.spec-list dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.dark-band .spec-list dd { color: #fff; }

/* Compact Tabbed Reference (SEO DOM intact, compact UX!) */
.tabs-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.tab-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 4px; border-bottom: 1px solid var(--line); max-width: 100%; scrollbar-width: none; -ms-overflow-style: none; }
.tab-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  border: 0; background: transparent; color: var(--muted); white-space: nowrap; flex: none;
  padding: 12px 16px; font-size: 15px; font-weight: 650;
  border-bottom: 2px solid transparent; margin-bottom: -1px; min-height: 44px;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab-short { display: none; }
.tabs-shell.is-tabbed .tab-panel[hidden] { display: none; }
.tab-panel + .tab-panel { margin-top: 28px; }
.tabs-shell.is-tabbed .tab-panel + .tab-panel { margin-top: 0; }

/* Engineering Studio */
.studio-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4.5vw, 60px); align-items: start;
}
.studio-controls { display: grid; gap: 18px; }
.studio-panel {
  background: var(--dark); color: #ece8de; padding: 30px 32px; border-radius: 2px;
}
.studio-panel .eyebrow { color: var(--accent); margin-bottom: 6px; }
.studio-panel .studio-num {
  font-family: var(--serif); font-size: clamp(42px, 3.8vw, 56px); font-weight: 500;
  letter-spacing: -.03em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums;
}
.studio-panel .studio-sub { font-size: 15px; color: #b5bec5; margin-top: 8px; }
.studio-panel a { color: var(--accent); }
.studio-divider { border: 0; border-top: 1px solid var(--line-dark); margin: 20px 0; }
.measurement, .plan-labels, .range-labels {
  display: flex; justify-content: space-between; align-items: center;
}
.measurement { font-weight: 700; }
.measurement output { font-variant-numeric: tabular-nums; color: var(--ink); font-size: 18px; }
input[type=range] { display: block; width: 100%; margin: 6px 0 0; height: 44px; accent-color: var(--dark); }
.fit-toggle {
  display: flex; align-items: center; gap: 10px; font-size: 15px;
  font-weight: 600; min-height: 44px;
}
.fit-toggle input { width: 18px; height: 18px; flex: none; }
.range-labels, .plan-labels { font-size: 13px; color: var(--muted); }
.stock-plan { margin-block: 16px 4px; }
.track {
  height: 14px; display: grid; place-items: center;
  border-bottom: 1px solid #59626a; position: relative;
}
.stock-extent { width: var(--board, 37.5%); height: 6px; align-self: end; background: var(--accent); }
.head-marker { position: absolute; height: 16px; border-left: 2px solid #fff; left: 50%; }
.studio-panel .plan-labels { color: #9ea8b0; margin-top: 4px; }
.calc-inputs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-top: 10px;
}
.calc-inputs label { font-size: 12px; font-weight: 650; color: var(--muted); display: grid; gap: 6px; }
.calc-inputs input {
  width: 100%; min-height: 44px; padding: 6px 10px; background: #fff;
  border: 1px solid #b8b2a6; border-radius: 2px; font-weight: 700; color: var(--ink);
}
.blueprint-wrap { border-top: 1px solid var(--line); padding-top: 20px; }
.blueprint-svg { width: 100%; height: auto; display: block; margin-top: 10px; }
.print-link {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 2px;
  padding: 6px 14px; font-size: 13px; font-weight: 650; min-height: 40px; margin-top: 8px;
}
.print-link:hover { border-color: var(--ink); }

/* FAQ Accordion */
.answer-list details { border-bottom: 1px solid var(--line); }
.answer-list details:first-child { border-top: 1px solid var(--line); }
.answer-list summary {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; padding: 17px 0; font-weight: 650; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
.answer-list summary::after { content: "+"; color: var(--muted); font-weight: 500; font-size: 20px; }
.answer-list details[open] summary::after { content: "−"; color: var(--ink); }
.answer-list p { margin: 0 24px 18px 0; color: #2b3238; }

/* Closing CTA & Directory */
.closing-band {
  background: var(--paper); border-top: 1px solid var(--line); padding-block: 56px;
}
.closing-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.closing-inner p { margin-top: 6px; color: var(--muted); max-width: 56ch; }
.manual-link-box {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding-block: 36px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.aside-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-inner { padding-block: 30px; gap: 24px; flex-wrap: wrap; }
.foot .wordmark { font-size: 20px; }
.foot p, .foot .top, .foot p a { color: #b5bec5; font-size: 14px; }
.foot .top { margin-left: auto; }

/* Subpages */
.breadcrumb { padding: 22px 0 12px; display: flex; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.support-cover {
  padding: 8px 0 42px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr);
  gap: clamp(32px, 5.5vw, 76px); align-items: center;
}
.support-cover p { margin: 14px 0 18px; max-width: 52ch; }
.selector-photo img { width: 100%; height: auto; border: 1px solid var(--line); }
.feed-speeds {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 26px 0; background: var(--dark); color: #ece8de;
  font-variant-numeric: tabular-nums;
}
.feed-speeds > div { padding-inline: clamp(16px, 3vw, 32px); }
.feed-speeds > div + div { border-left: 1px solid var(--line-dark); }
.feed-speeds dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent); }
.feed-speeds dd { font-size: 14px; color: #b5bec5; }
.feed-speeds dd + dd { margin-top: 8px; font-size: 16px; font-weight: 650; color: #fff; }
.feed-speeds strong { display: block; font-family: var(--serif); color: #fff; font-size: 48px; font-weight: 500; line-height: 1.05; margin-top: 10px; }
.manual-chapters { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.manual-chapters li { border-bottom: 1px solid var(--line); }
.manual-chapters a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; gap: 15px; font-weight: 600;
}
.manual-chapters a span:last-child { flex: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.parts-list article {
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4.5vw, 60px); align-items: center; padding: 24px 0; border-top: 1px solid var(--line);
}
.parts-list article:last-child { border-bottom: 1px solid var(--line); }
.parts-list article img { width: min(100%, 240px); height: auto; justify-self: center; border: 1px solid var(--line); }
.parts-list p { margin: 8px 0 10px; color: #2b3238; }
.part-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.part-title span { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.part-links { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.quiet-inline { font-size: 14px; color: var(--muted); }

@media (min-width: 761px) {
  .parts-list .part-text > div { grid-column: 2; }
}

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .product, .editorial-split, .studio-grid, .support-cover { grid-template-columns: 1fr; gap: 28px; }
  .trio-grid { grid-template-columns: 1fr; }
  .trio-col, .trio-col + .trio-col { padding: 22px 0; border-left: 0; }
  .trio-col + .trio-col { border-top: 1px solid var(--line); }
  .rule-cols { grid-template-columns: 1fr; }
  .rule-col, .rule-col + .rule-col { padding: 20px 0; border-left: 0; }
  .rule-col + .rule-col { border-top: 1px solid var(--line); }
  .dark-band .rule-col + .rule-col { border-color: var(--line-dark); }
  .calc-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .mast-inner { min-height: 56px; position: relative; }
  .mast nav { display: none; }
  .mobmenu { display: block; }
  .mobmenu summary { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 10px; min-height: 44px; }
  .burger { border-block: 2px solid; height: 10px; width: 16px; display: inline-block; }
  .mast .menu-list {
    display: grid; gap: 0; min-width: 200px; position: absolute; z-index: 5;
    right: 0; top: 54px; padding: 8px 16px; background: var(--dark); border: 1px solid var(--line-dark);
  }
  .menu-list a { padding: 11px 0; }
  .product { padding-block: 28px 32px; gap: 24px; }
  .section { padding-block: 44px; }
  .dark-band { padding-block: 48px; }
  .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .tab-btn { padding-inline: 8px; }
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .spec-list > div { grid-template-columns: 1fr; gap: 3px; }
  .parts-list article { grid-template-columns: 1fr; gap: 14px; }
  .parts-list article img { justify-self: start; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot .top { margin-left: 0; }
}
@media (max-width: 480px) {
  .tab-btn { padding: 10px 11px; font-size: 14px; }
}

.author-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.author-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.author-meta h3 { margin: 0 0 4px; font-size: 20px; }
.author-role { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.author-meta p { margin: 0 0 10px; }
.author-links { margin: 0; font-size: 15px; }
@media (max-width: 560px) {
  .author-card { grid-template-columns: 1fr; gap: 14px; }
  .author-avatar { width: 88px; height: 88px; }
}
@media print {
  .mast, .page-links, .foot, .print-link, .cta-row, .affiliate, .affiliate-disclosure, .closing-band { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .studio-panel { background: #fff; color: #000; border: 1px solid #000; }
  .printing-layout main > :not(#shop-fit),
  .printing-layout .studio-grid > :not(.studio-controls),
  .printing-layout .studio-controls > :not(.blueprint-wrap) { display: none; }
  .printing-layout #shop-fit { padding: 0; border: 0; background: #fff; }
  .printing-layout .studio-grid { display: block; }
  .printing-layout .blueprint-wrap { width: min(100%, 7in); margin-inline: auto; }
}

/* Rig Spec Desk extensions */
.affiliate-disclosure { font-size: 14px; color: var(--muted); margin-top: 2px; }
.diagram-frame {
  border: 1px solid var(--line); background: #fff; padding: 12px;
}
.diagram-frame img { width: 100%; height: auto; display: block; }
.select-field {
  width: 100%; min-height: 44px; padding: 8px 12px; background: #fff;
  border: 1px solid #b8b2a6; border-radius: 2px; font: inherit; font-weight: 600; color: var(--ink);
}
.select-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.select-grid label, .check-row label {
  font-size: 13px; font-weight: 650; color: var(--muted); display: grid; gap: 6px;
}
.check-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px;
  padding: 14px; background: var(--paper); border: 1px solid var(--line);
}
.check-item {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); cursor: pointer;
}
.check-item input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--dark); }
.status-pill {
  display: inline-block; padding: 2px 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; border-radius: 2px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); white-space: nowrap;
}
.status-pill--ok { background: #e8f1eb; border-color: #b7d2bf; color: #194a2a; }
.status-pill--caution { background: #fdf3dc; border-color: #e6c678; color: #7a4e05; }
.status-pill--excluded { background: #fbeaea; border-color: #e0b3b3; color: #7c1f1f; }
.status-pill--gap { background: #eef1f4; border-color: #c8cfd6; color: #434c54; }
.studio-note { font-size: 13px; color: #b5bec5; line-height: 1.5; margin-top: 10px; }
@media (max-width: 760px) {
  .select-grid, .check-grid { grid-template-columns: 1fr; }
}

.affiliate-disclosure:empty {
  display: none;
}

.studio-grid > *,
.select-grid,
.select-field,
.check-grid,
.check-item {
  min-width: 0;
  max-width: 100%;
}

.select-field select,
.measurement input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-list li {
  gap: 0.75rem;
  flex-wrap: wrap;
}

.spec-list strong {
  overflow-wrap: anywhere;
}

@media (min-width: 761px) {
  .comparison-table td.comparison-label {
    display: table-cell;
    font-weight: 600;
    color: var(--ink);
  }
}

.spec-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.studio-panel .spec-list li {
  border-bottom-color: var(--line-dark);
}

.studio-panel .spec-list li:last-child,
.trio-col .spec-list li:last-child {
  border-bottom: 0;
}

.studio-panel .part-title {
  color: #e4dfd5;
}

.rule-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .rule-cols {
    grid-template-columns: 1fr;
  }
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.fit-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.fit-toggle button {
  padding: 0.55rem 0.75rem;
  text-align: left;
  line-height: 1.3;
}

@media (max-width: 520px) {
  .fit-toggle {
    grid-template-columns: 1fr;
  }
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
