/* ==========================================================================
   WEIKE / RESEARCH REGISTER
   A flat, typographic procurement register. No bottle photography.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #f1ede4;
  --paper-2: #e7e1d5;
  --paper-3: #ddd6c8;
  --surface: #faf7ef;
  --ink: #141618;
  --ink-2: #2d3132;
  --muted: #6c6a62;
  --muted-2: #918b7f;
  --line: #cbc3b4;
  --line-dark: #9e9688;
  --rust: #a33b2b;
  --rust-deep: #7c291e;
  --rust-soft: #efdcd6;
  --cobalt: #203b6e;
  --cobalt-soft: #dfe4ee;
  --font-display: "Archivo Black", "Arial Black", "Segoe UI", sans-serif;
  --font-sans: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  --container: 1280px;
  --head-h: 80px;
  --gutter: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 30px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--rust); color: var(--paper); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .55em;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.03;
}
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.1em; }
li { margin: .28em 0; }
strong { font-weight: 600; }
small { font-size: .8rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code, .mono { font-family: var(--font-mono); font-size: .84em; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  transform: translateY(-150%);
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; font-family: var(--font-mono); font-size: 11px;
}
.skip-link:focus { transform: translateY(0); color: var(--paper); }

.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }
.container--narrow { width: min(calc(100% - 56px), 880px); margin-inline: auto; }

/* ---------- type & links ---------- */
.page-kicker, .section-label, .hero-kicker, .hero-meta, .record-topline,
.tool-panel__head, .status-stamp, .lot-note, .rail-note, .footer-kicker,
.compliance-strip, .index-count, .index-chip, .page-hero__stats span,
.hero-stat span, .family-row__no, .family-row__count, .record-row__no,
.record-row__family, .record-row__cas, .record-row__price small,
.note-row__no, .method__no, .plate-head, .plate-row span, .plate-foot,
.record-fact span, .record-cell span, .fact-cell span, .lot-meta dt,
.sheet-nav span, .pack-table th, .case-table th, .select-cell__top label,
.quick-calc label, .quick-calc__out span, .field label, .result-grid span,
.ruler__head, .ruler__ticks, .form-field label, .footer-col h3,
.footer-bottom, .search-dialog__label, .search-dialog__foot,
.record-supplier + *, .index-group__count, .record-card__foot,
.spec-band__kicker, .record-actions .btn {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .065em;
}

.page-kicker, .section-label, .hero-kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}
.hero-kicker { padding-left: 10px; border-left: 2px solid var(--rust); }
.section-label { color: var(--rust); }
.section-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head:not(:has(.section-head__copy)) {
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 40px;
}
.section-head:not(:has(.section-head__copy)) > div h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  letter-spacing: -.055em;
  line-height: .98;
}
.section-head:not(:has(.section-head__copy)) > p {
  max-width: 470px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .86rem;
}
.section-head__copy h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .98;
}
.section-head__copy p { max-width: 600px; margin: 0; color: var(--muted); font-size: .86rem; }
.section-head--center {
  display: block;
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.section-head--center .section-label { margin-bottom: 12px; }
.section-head--center .section-head__copy h2 { margin-inline: auto; }
.section-head--center .section-head__copy p { margin-inline: auto; }
.section-link {
  align-self: end;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.section-link:hover { color: var(--rust); border-color: var(--rust); }
.eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--rust);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.btn:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn--rust { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn--rust:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-dark); }
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--outline-paper { background: transparent; border-color: rgba(241,237,228,.55); color: var(--paper); }
.btn--outline-paper:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--outline-light { background: transparent; border-color: rgba(241,237,228,.55); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--wa { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--wa:hover { background: var(--rust); border-color: var(--rust); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--sm { min-height: 34px; padding: 7px 11px; font-size: 9px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .38; pointer-events: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--rust);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.text-link svg { width: 14px; height: 14px; flex: none; }
.mini-link {
  color: var(--rust);
  font-family: var(--font-mono);
  font-size: 9px;
  text-decoration: none;
  white-space: nowrap;
}
.mini-link:hover { text-decoration: underline; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge svg { width: 11px; height: 11px; }
.badge--rust, .badge--brand { border-color: var(--rust); color: var(--rust); }
.badge--muted { border-color: var(--line); color: var(--muted); }
.badge--danger { border-color: var(--rust); color: var(--rust); }
.badge--dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.badge--ink { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.dot { width: 6px; height: 6px; background: var(--rust); display: inline-block; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.xs { font-size: .68rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.mb-3 { margin-bottom: 14px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ---------- header ---------- */
.compliance-strip { background: var(--rust); color: var(--paper); font-size: 9px; }
.compliance-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 30px; padding-block: 5px;
}
.compliance-strip strong { font-weight: 500; }
.compliance-strip__right { display: flex; align-items: center; gap: 14px; }
.compliance-strip a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(241,237,228,.5); }
.compliance-strip a:hover { border-color: var(--paper); color: var(--paper); }
.masthead {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 2px solid var(--ink);
  background: rgba(241,237,228,.97);
  backdrop-filter: blur(10px);
}
.masthead__inner { display: flex; align-items: center; min-height: var(--head-h); gap: 24px; }
.wordmark { display: inline-flex; align-items: stretch; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.wordmark:hover { color: var(--ink); }
.wordmark__bar { display: block; width: 7px; min-height: 42px; background: var(--rust); flex: none; }
.wordmark__text { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.wordmark__text strong { font-family: var(--font-display); font-size: 25px; font-weight: 400; letter-spacing: -.045em; line-height: .9; }
.wordmark__text span { margin-top: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 7px; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }
.index-nav { display: flex; align-items: stretch; margin-left: auto; }
.nav-item {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 12px 10px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-item:last-child { border-right: 1px solid var(--line); }
.nav-item:hover { color: var(--rust); background: var(--paper-2); }
.nav-item[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav-no { color: var(--rust); font-size: 8px; }
.nav-item[aria-current="page"] .nav-no { color: var(--paper-2); }
.header-tools { display: flex; align-items: center; gap: 7px; margin-left: 4px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-dark); border-radius: 0;
  background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.icon-btn svg { width: 16px; height: 16px; }
.file-link {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 13px;
  border: 1px solid var(--rust); background: var(--rust); color: var(--paper);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em;
  text-decoration: none; text-transform: uppercase;
}
.file-link:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }

.mobile-index {
  display: none; position: fixed; left: 0; right: 0; top: var(--head-h); bottom: 0;
  z-index: 80; background: var(--paper); border-top: 1px solid var(--line);
  padding: 20px 28px 24px; overflow-y: auto;
}
.mobile-index.is-open { display: flex; flex-direction: column; }
.mobile-index__head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-family: var(--font-mono); font-size: 9px; color: var(--muted); letter-spacing: .06em; }
.mobile-index__links { display: flex; flex-direction: column; border-top: 1px solid var(--ink); margin-top: 12px; }
.mobile-index__links a {
  display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; text-decoration: none;
}
.mobile-index__links a:hover { color: var(--rust); }
.mobile-index__links svg { width: 16px; height: 16px; color: var(--rust); }
.mobile-index__no { color: var(--rust); font-family: var(--font-mono); font-size: 9px; font-weight: 400; letter-spacing: 0; }
.mobile-index__foot { margin-top: auto; padding-top: 22px; }
.mobile-index__foot p { max-width: 300px; color: var(--muted); font-size: .78rem; }
.mobile-index__foot .text-link { display: block; margin-top: 12px; font-size: 9px; overflow-wrap: anywhere; }

/* ---------- home masthead ---------- */
.home-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(to right, rgba(20,22,24,.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,22,24,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0;
}
.home-hero::after {
  content: ""; position: absolute; right: 28px; top: 92px; width: 64px; height: 1px; background: var(--rust);
}
.hero-meta {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 9px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 342px; gap: 54px; padding: 52px 0 38px; align-items: start; }
.hero-title {
  max-width: 880px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.065em;
  line-height: .84;
}
.hero-title span { display: block; }
.hero-title .rust { color: var(--rust); }
.hero-lede { max-width: 680px; margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.7; }
.hero-side { border-left: 1px solid var(--line-dark); padding-left: 24px; padding-top: 3px; }
.hero-side__label { margin: 0 0 12px; color: var(--rust); font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; }
.family-mini-list { border-top: 1px solid var(--ink); }
.family-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .76rem; text-decoration: none; }
.family-mini b { color: var(--rust); font-family: var(--font-mono); font-size: 9px; font-weight: 400; }
.family-mini:hover { color: var(--rust); }
.hero-side__link { display: inline-block; margin-top: 14px; color: var(--ink); font-family: var(--font-mono); font-size: 9px; letter-spacing: .05em; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.hero-side__link:hover { color: var(--rust); border-color: var(--rust); }
.hero-side__note { margin: 26px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 8px; line-height: 1.6; letter-spacing: .03em; }
.hero-query { border-top: 2px solid var(--ink); padding: 18px 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.query-box { display: flex; align-items: stretch; min-height: 54px; border: 2px solid var(--ink); background: var(--surface); }
.query-box > svg { width: 19px; height: 19px; margin: 0 0 0 15px; align-self: center; flex: none; color: var(--muted); }
.query-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; font-size: .88rem; }
.query-box input::placeholder { color: var(--muted-2); }
.query-box button { border: 0; border-left: 2px solid var(--ink); background: var(--rust); color: var(--paper); padding: 0 18px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.query-box button:hover { background: var(--ink); }
.hero-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; max-width: 360px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; }
.hero-suggestions > span { color: var(--rust); }
.hero-suggestions a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.hero-suggestions a:hover { color: var(--rust); border-color: var(--rust); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.hero-stat { padding: 13px 0 14px; border-right: 1px solid var(--line); }
.hero-stat:not(:first-child) { padding-left: 18px; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.hero-stat span { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }

/* ---------- sections ---------- */
.section { padding: 66px 0; }
.section--tight { padding: 44px 0; }
.section--flush-top { padding-top: 0; }
.section--rule { border-top: 2px solid var(--ink); }
.section--paper2 { background: var(--paper-2); }
.section--surface { background: var(--surface); }
.section-head--center .section-head__copy { max-width: 760px; }

.family-directory { border-top: 2px solid var(--ink); }
.family-row {
  display: grid; grid-template-columns: 46px minmax(0, 1.05fr) minmax(0, .95fr) 46px 20px;
  gap: 20px; align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: background 140ms ease, padding 140ms ease;
}
.family-row:hover { padding-left: 8px; background: var(--paper-2); color: var(--ink); }
.family-row__no { color: var(--rust); font-size: 9px; }
.family-row__name { font-size: 1.02rem; font-weight: 600; letter-spacing: -.025em; }
.family-row__samples { color: var(--muted); font-size: .75rem; }
.family-row__count { color: var(--rust); font-size: 9px; text-align: right; }
.family-row__arrow { color: var(--rust); font-size: 1rem; text-align: right; }

.record-list { border-top: 2px solid var(--ink); }
.record-row {
  display: grid; grid-template-columns: 48px minmax(0, 1.45fr) 90px 128px 105px 20px;
  gap: 18px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: background 140ms ease, padding 140ms ease;
}
.record-row:hover { background: var(--paper-2); padding-left: 8px; color: var(--ink); }
.record-row__no { color: var(--rust); font-size: 9px; }
.record-row__main { display: grid; gap: 2px; min-width: 0; }
.record-row__main strong { font-size: .98rem; font-weight: 600; letter-spacing: -.025em; }
.record-row__main small { overflow: hidden; color: var(--muted); font-size: .74rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.record-row__family, .record-row__cas { color: var(--muted); font-size: 8.5px; }
.record-row__price { color: var(--ink); font-size: .84rem; font-weight: 600; text-align: right; }
.record-row__price small { display: block; color: var(--muted); font-size: 7px; font-weight: 400; margin-top: 1px; }
.record-row__arrow { color: var(--rust); text-align: right; }

.note-list { border-top: 2px solid var(--ink); }
.note-row { display: grid; grid-template-columns: 58px 1fr 20px; gap: 22px; align-items: center; padding: 21px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.note-row:hover { background: var(--paper-2); padding-left: 8px; color: var(--ink); }
.note-row__no { color: var(--rust); font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.note-row__body { display: grid; gap: 4px; }
.note-row__body strong { font-size: 1.12rem; font-weight: 600; letter-spacing: -.03em; }
.note-row__body span { max-width: 760px; color: var(--muted); font-size: .78rem; }
.note-row__arrow { color: var(--rust); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.method { padding: 20px 22px 22px 0; border-right: 1px solid var(--line); }
.method:not(:first-child) { padding-left: 22px; }
.method:last-child { border-right: 0; }
.method__no { display: block; margin-bottom: 28px; color: var(--rust); font-size: 9px; }
.method h3 { margin-bottom: 8px; font-size: 1rem; letter-spacing: -.025em; }
.method p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.55; }

/* tools */
.tool-console { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.tool-panel { padding: 0 26px 26px 0; border-right: 1px solid var(--line); }
.tool-panel:last-child { border-right: 0; padding-right: 0; padding-left: 26px; }
.tool-panel__head { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink); color: var(--muted); font-size: 8px; }
.tool-panel h3 { margin: 22px 0 8px; font-size: 1.55rem; font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.tool-panel > p { max-width: 460px; color: var(--muted); font-size: .78rem; }
.mini-ledger { width: 100%; border-collapse: collapse; font-size: .7rem; margin-top: 18px; }
.mini-ledger th, .mini-ledger td { padding: 7px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.mini-ledger th { color: var(--muted); font-family: var(--font-mono); font-size: 8px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.mini-ledger td:first-child { color: var(--muted); }
.mini-ledger td { color: var(--ink-2); }
.quick-calc { margin-top: 18px; border-top: 1px solid var(--line-dark); }
.quick-calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; }
.quick-calc label { display: grid; gap: 4px; color: var(--muted); font-size: 7px; }
.quick-calc label span { color: var(--muted-2); }
.quick-calc input { width: 100%; height: 34px; border: 1px solid var(--line-dark); border-radius: 0; background: var(--surface); padding: 0 8px; font-size: .78rem; }
.quick-calc__out { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.quick-calc__out strong { color: var(--ink); font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.quick-calc__note { margin: 7px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 7px; line-height: 1.5; }

/* FAQ */
.faq-list { border-top: 2px solid var(--ink); counter-reset: faq; }
.faq-item { border-bottom: 1px solid var(--line); counter-increment: faq; }
.faq-item summary {
  display: grid; grid-template-columns: 42px 1fr 18px; gap: 10px;
  align-items: start; padding: 14px 0;
  font-size: .84rem; font-weight: 600; letter-spacing: -.015em;
  line-height: 1.4; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: counter(faq, decimal-leading-zero);
  color: var(--rust);
  font-family: var(--font-mono); font-size: 8px; font-weight: 400; letter-spacing: .03em;
  padding-top: 3px;
}
.faq-item summary::after { content: "+"; color: var(--rust); font-family: var(--font-mono); font-size: 1rem; line-height: 1; text-align: right; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 760px; margin: -2px 0 15px 52px; color: var(--muted); font-size: .8rem; line-height: 1.7; }

/* ---------- page hero ---------- */
.page-hero {
  border-bottom: 2px solid var(--ink);
  background-image: linear-gradient(to right, rgba(20,22,24,.055) 1px, transparent 1px);
  background-size: 48px 100%;
}
.page-hero__inner { padding: 30px 0 34px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.page-hero h1 { margin: 0 0 13px; font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 5.2rem); font-weight: 400; letter-spacing: -.06em; line-height: .88; text-transform: uppercase; }
.page-hero__lede { max-width: 700px; margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.65; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.page-hero__stats { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.page-hero__stats div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.page-hero__stats div:nth-child(odd) { padding-right: 12px; }
.page-hero__stats strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.page-hero__stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 7px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 14px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--rust); }
.breadcrumbs span[aria-hidden] { color: var(--line-dark); }
.breadcrumbs span:last-child { color: var(--ink); }

/* ---------- catalog ---------- */
.register-index { border-bottom: 1px solid var(--line); }
.index-console {
  position: sticky; top: var(--head-h); z-index: 40;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-dark);
  background: rgba(241,237,228,.97); backdrop-filter: blur(8px);
  padding: 12px 0 10px;
}
.index-console__row { display: flex; align-items: center; gap: 9px; }
.index-search { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 430px; height: 38px; border: 1px solid var(--line-dark); background: var(--surface); padding: 0 10px; }
.index-search:focus-within { border-color: var(--ink); }
.index-search svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.index-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .78rem; }
.index-select { height: 38px; border: 1px solid var(--line-dark); border-radius: 0; background: var(--surface); padding: 0 28px 0 10px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .03em; text-transform: uppercase; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c6a62' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.index-count { margin-left: auto; color: var(--muted); font-size: 8px; white-space: nowrap; }
.index-chips { display: flex; gap: 2px 14px; overflow-x: auto; margin-top: 8px; padding-bottom: 2px; scrollbar-width: none; }
.index-chips::-webkit-scrollbar { display: none; }
.index-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 27px; padding: 4px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 8px; white-space: nowrap; }
.index-chip span { color: var(--muted-2); font-size: 7px; }
.index-chip:hover { color: var(--ink); }
.index-chip[aria-pressed="true"] { color: var(--rust); border-color: var(--rust); }
.index-chip[aria-pressed="true"] span { color: var(--rust); }
.index-chip--reset { color: var(--ink); }
.index-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; padding: 11px 13px; border-left: 2px solid var(--rust); background: var(--paper-2); color: var(--muted); }
.index-note svg { width: 15px; height: 15px; color: var(--rust); flex: none; margin-top: 1px; }
.index-note p { margin: 0; font-size: .7rem; line-height: 1.55; }
.index-note strong { color: var(--ink); }
.index-note--bottom { margin-top: 28px; margin-bottom: 40px; }
.index-group { padding: 24px 0 2px; }
.index-group__head { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 7px; margin-bottom: 0; }
.index-group__no { color: var(--rust); font-family: var(--font-mono); font-size: 9px; }
.index-group__head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.index-group__count { color: var(--muted); font-size: 8px; }
.catalog-grid { display: block; }
.catalog-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 2fr) 100px 142px 88px 100px 18px;
  gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: background 140ms ease, padding 140ms ease;
}
.catalog-card:hover { padding-left: 8px; background: var(--paper-2); color: var(--ink); }
.row-id { color: var(--rust); font-family: var(--font-mono); font-size: 8px; }
.row-main { display: grid; gap: 2px; min-width: 0; }
.row-name { font-size: .94rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.row-tag { overflow: hidden; color: var(--muted); font-size: .67rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: none; }
.row-cat, .row-cas, .row-formats { color: var(--muted); font-family: var(--font-mono); font-size: 8px; line-height: 1.4; }
.row-cas { overflow-wrap: anywhere; }
.row-formats { text-align: right; }
.row-price { color: var(--ink); font-size: .8rem; font-weight: 600; text-align: right; }
.row-price small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 7px; font-weight: 400; margin-top: 1px; text-transform: uppercase; }
.row-arrow { color: var(--rust); text-align: right; font-size: .9rem; }
.empty-state { padding: 54px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.empty-state h3 { margin: 8px 0; font-size: 1.7rem; }
.empty-state p { color: var(--muted); font-size: .82rem; }

/* ---------- record page ---------- */
.record-head {
  border-bottom: 2px solid var(--ink);
  background-image: linear-gradient(to right, rgba(20,22,24,.055) 1px, transparent 1px);
  background-size: 48px 100%;
}
.record-head .breadcrumbs { padding-top: 22px; }
.record-topline {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 8px;
}
.record-topline span:first-child { color: var(--rust); }
.record-hero { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 52px; padding: 32px 0 30px; align-items: start; }
.record-hero h1 { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(2.9rem, 5.6vw, 5.2rem); font-weight: 400; letter-spacing: -.06em; line-height: .88; }
.record-summary { max-width: 760px; margin: 0 0 22px; color: var(--ink-2); font-size: .94rem; line-height: 1.7; }
.record-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.record-plate { background: var(--rust); color: var(--paper); border: 2px solid var(--ink); padding: 16px 16px 12px; }
.plate-head { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; color: rgba(241,237,228,.75); }
.plate-code { margin: 13px 0 14px; font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.plate-row { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(241,237,228,.24); font-size: 8px; }
.plate-row span { color: rgba(241,237,228,.7); font-size: 7px; }
.plate-row b { color: var(--paper); font-family: var(--font-mono); font-size: 8px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.plate-barcode { display: flex; align-items: stretch; gap: 3px; height: 24px; margin-top: 13px; padding-top: 10px; border-top: 1px solid rgba(241,237,228,.28); }
.plate-barcode i { display: block; height: 14px; background: var(--paper); }
.plate-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; color: rgba(241,237,228,.72); font-size: 7px; }
.record-facts { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-dark); }
.record-fact { padding: 10px 12px 11px 0; border-right: 1px solid var(--line); }
.record-fact:not(:first-child) { padding-left: 12px; }
.record-fact:last-child { border-right: 0; }
.record-fact span { display: block; color: var(--muted); font-size: 8px; }
.record-fact b { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 9px; font-weight: 400; line-height: 1.35; overflow-wrap: anywhere; }
.record-card-section { padding-top: 28px; }
.record-card { border: 1px solid var(--ink); background: var(--surface); }
.record-card__head { display: flex; justify-content: space-between; gap: 32px; align-items: start; padding: 16px 18px 13px; border-bottom: 1px solid var(--ink); }
.record-card__head h2 { margin: 3px 0 0; font-size: 1.55rem; letter-spacing: -.04em; }
.record-card__head > p { max-width: 380px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.record-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.record-cell { min-height: 76px; padding: 12px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-cell:nth-child(4n) { border-right: 0; }
.record-cell:nth-last-child(-n+4) { border-bottom: 0; }
.record-cell span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.record-cell b { display: block; color: var(--ink-2); font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
.record-supplier { margin: 0; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.6; }
.record-supplier strong { color: var(--ink); }
.record-card__foot { display: flex; justify-content: space-between; gap: 20px; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 8px; line-height: 1.5; }
.record-card__foot > span:first-child { display: flex; gap: 5px; flex: none; }
.record-card__foot > span:last-child { text-align: right; }
.record-body { padding-top: 40px; }
.record-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 44px; align-items: start; }
.record-rail { position: sticky; top: calc(var(--head-h) + 18px); }
.lot-file { border: 1px solid var(--ink); background: var(--surface); padding: 13px; }
.lot-price { display: flex; align-items: baseline; gap: 5px; margin: 4px 0 11px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lot-price strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.lot-price span { color: var(--muted); font-family: var(--font-mono); font-size: 7px; }
.lot-meta { display: grid; gap: 5px; margin: 0 0 12px; }
.lot-meta div { display: flex; justify-content: space-between; gap: 8px; }
.lot-meta dt { color: var(--muted); font-size: 7px; }
.lot-meta dd { margin: 0; color: var(--ink-2); font-family: var(--font-mono); font-size: 7px; text-align: right; }
.lot-actions { display: grid; gap: 5px; }
.lot-actions .btn { justify-content: flex-start; }
.lot-note { margin: 11px 0 0; color: var(--muted); font-size: 7px; line-height: 1.5; }
.sheet-nav { display: flex; flex-direction: column; margin-top: 17px; border-top: 1px solid var(--ink); }
.sheet-nav a { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-family: var(--font-mono); font-size: 8px; text-decoration: none; }
.sheet-nav a:hover { color: var(--rust); }
.sheet-nav span { color: var(--rust); font-size: 7px; }
.rail-note { margin: 17px 0 0; color: var(--muted); font-size: 7px; line-height: 1.55; }
.record-main { min-width: 0; }
.record-section { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.record-section:last-child { border-bottom: 0; }
.section-no { display: block; margin-bottom: 4px; color: var(--rust); font-family: var(--font-mono); font-size: 8px; }
.record-section h2 { margin-bottom: 11px; font-size: 1.65rem; font-weight: 600; letter-spacing: -.045em; }
.record-section h3 { margin: 17px 0 5px; font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.record-section p { max-width: 800px; color: var(--ink-2); font-size: .89rem; line-height: 1.75; }
.record-fineprint { color: var(--muted) !important; font-size: .74rem !important; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin: 14px 0 10px; }
.fact-cell { padding: 10px 12px; border-right: 1px solid var(--line); }
.fact-cell:last-child { border-right: 0; }
.fact-cell span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 7px; }
.fact-cell b { font-size: .76rem; font-weight: 600; }
.mechanism-note { border-left: 3px solid var(--rust); padding: 11px 14px; background: var(--paper-2); margin: 11px 0 6px; }
.mechanism-note p { margin: 0; font-size: .82rem; }
.research-list { margin: 12px 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.research-list li { position: relative; margin: 0; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .79rem; }
.research-list li::before { content: "—"; position: absolute; left: 0; color: var(--rust); }
.case-conclusion { border-left: 2px solid var(--rust); padding: 7px 0 7px 12px; color: var(--ink-2); font-size: .78rem; line-height: 1.65; }
.table-wrap { width: 100%; overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); }
.pack-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .74rem; }
.pack-table th { background: var(--ink); color: var(--paper); padding: 8px 10px; font-size: 7px; font-weight: 400; text-align: left; }
.pack-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.pack-table tr:last-child td { border-bottom: 0; }
.pack-table td:nth-child(2), .pack-table td:nth-child(3) { font-family: var(--font-mono); font-size: .72rem; }
.pack-table td:nth-child(4) { text-align: right; }
.handling-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 0 16px; border-top: 1px solid var(--ink); }
.handling-item { padding: 10px 14px 12px 0; border-bottom: 1px solid var(--line); }
.handling-item:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.handling-item strong { display: block; margin-bottom: 3px; font-family: var(--font-mono); font-size: 8px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.handling-item p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.citation-box { border: 1px solid var(--line); background: var(--paper-2); padding: 11px 13px; color: var(--ink-2); font-family: var(--font-mono); font-size: .67rem; line-height: 1.65; overflow-wrap: anywhere; }
.compliance-note { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; padding: 10px 12px; border-left: 2px solid var(--rust); background: var(--paper-2); color: var(--muted); font-size: .7rem; line-height: 1.55; }
.compliance-note svg { width: 15px; height: 15px; color: var(--rust); flex: none; margin-top: 1px; }
.compliance-note strong { color: var(--ink); }

/* ---------- compare ---------- */
.compare-console { border: 2px solid var(--ink); background: var(--surface); }
.compare-console__head { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding: 16px 18px 13px; border-bottom: 1px solid var(--line); }
.compare-console__head h2 { margin: 2px 0 0; font-size: 1.6rem; letter-spacing: -.04em; }
.status-stamp { border: 1px solid var(--line-dark); padding: 4px 7px; color: var(--muted); font-size: 7px; white-space: nowrap; }
.select-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.select-cell { padding: 10px 12px 12px; border-right: 1px solid var(--line); }
.select-cell:last-child { border-right: 0; }
.select-cell__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.select-cell__top label { color: var(--muted); font-size: 7px; }
.select-cell__top button { border: 0; background: none; color: var(--muted); padding: 0; width: 16px; height: 16px; }
.select-cell__top button:hover { color: var(--rust); }
.select-cell__top svg { width: 11px; height: 11px; }
.select-cell select { width: 100%; height: 34px; border: 1px solid var(--line-dark); border-radius: 0; background: var(--paper); padding: 0 24px 0 7px; font-family: var(--font-mono); font-size: 8px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c6a62' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
.compare-console__foot { display: flex; align-items: center; gap: 14px; padding: 9px 18px; border-top: 1px solid var(--line); }
.compare-console__foot > span { color: var(--muted); font-family: var(--font-mono); font-size: 7px; }
#compareTableWrap { margin-top: 16px; }
.table-scroll-hint { display: none; align-items: center; gap: 5px; color: var(--muted); font-family: var(--font-mono); font-size: 7px; margin-bottom: 5px; }
.table-scroll-hint svg { width: 13px; height: 13px; color: var(--rust); }
.compare-matrix-wrap { overflow-x: auto; border: 1px solid var(--ink); }
.compare-matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .72rem; }
.compare-matrix th, .compare-matrix td { padding: 9px 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-matrix th:last-child, .compare-matrix td:last-child { border-right: 0; }
.compare-matrix tr:last-child th, .compare-matrix tr:last-child td { border-bottom: 0; }
.compare-matrix thead th { background: var(--rust); color: var(--paper); font-weight: 400; }
.compare-matrix thead th:first-child { background: var(--ink); }
.compare-matrix tbody th { position: sticky; left: 0; z-index: 1; width: 150px; background: var(--paper-2); color: var(--muted); font-family: var(--font-mono); font-size: 7px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.compare-product { display: grid; gap: 2px; min-width: 170px; }
.compare-product a { color: var(--paper); font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; }
.compare-product a:hover { color: var(--paper); text-decoration: underline; }
.compare-product span { color: rgba(241,237,228,.72); font-family: var(--font-mono); font-size: 7px; }
.compare-product .badge { border-color: rgba(241,237,228,.45); color: var(--paper); margin-top: 2px; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 7px; }
.compare-legend .key { width: 8px; height: 8px; background: var(--paper-2); border: 1px solid var(--line); }
.compare-summary { margin-top: 13px; border: 1px solid var(--ink); padding: 13px 16px; background: var(--surface); }
.compare-summary h3 { margin: 0 0 4px; font-size: .9rem; letter-spacing: -.02em; }
.compare-summary p { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.compare-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.preset-list { border-top: 2px solid var(--ink); }
.preset-row { display: grid; grid-template-columns: 26px minmax(0, 1.3fr) minmax(0, 1fr) 20px; gap: 14px; align-items: center; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.preset-row:hover { padding-left: 8px; background: var(--paper-2); }
.preset-row > span { color: var(--rust); font-family: var(--font-mono); font-size: 8px; }
.preset-row strong { font-size: .82rem; font-weight: 600; letter-spacing: -.01em; }
.preset-row small { color: var(--muted); font-size: .7rem; }
.preset-row i { color: var(--rust); font-style: normal; text-align: right; }
.case-note { border-top: 2px solid var(--ink); padding: 24px 0 26px; }
.case-note__head { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; margin-bottom: 10px; }
.case-no { color: var(--rust); font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.case-note h2 { margin: 2px 0 0; font-size: 1.75rem; letter-spacing: -.045em; }
.case-note > p { max-width: 800px; color: var(--ink-2); font-size: .84rem; }
.case-table { width: 100%; border-collapse: collapse; margin: 12px 0 14px; font-size: .72rem; }
.case-table th { background: var(--paper-2); color: var(--muted); font-family: var(--font-mono); font-size: 7px; font-weight: 400; letter-spacing: .04em; text-align: left; }
.case-table th, .case-table td { padding: 7px 9px; border: 1px solid var(--line); vertical-align: top; }
.case-table td:first-child { color: var(--muted); font-family: var(--font-mono); font-size: 7px; text-transform: uppercase; }
.case-conclusion { max-width: 820px; margin: 10px 0 0; padding: 7px 0 7px 12px; border-left: 2px solid var(--rust); color: var(--ink-2); font-size: .77rem; line-height: 1.65; }

/* ---------- calculator ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: var(--surface); }
.ledger-panel { padding: 20px 22px; border-right: 1px solid var(--line); }
.ledger-panel__head, .result-sheet__head { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.ledger-panel__head h2, .result-sheet__head h2 { margin: 2px 0 0; font-size: 1.5rem; letter-spacing: -.045em; }
.field { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.field > label { color: var(--ink-2); font-family: var(--font-mono); font-size: 8px; letter-spacing: .03em; text-transform: uppercase; }
.field > label span { color: var(--muted); }
.field small { color: var(--muted); font-size: .66rem; line-height: 1.4; }
.input-shell { position: relative; display: flex; align-items: center; height: 40px; border: 1px solid var(--line-dark); background: var(--paper); }
.input-shell:focus-within { border-color: var(--ink); }
.input-shell input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: .85rem; font-weight: 500; }
.input-shell > span { padding-right: 10px; color: var(--muted); font-family: var(--font-mono); font-size: 8px; }
.input-shell--unit input { padding-right: 4px; }
.input-shell select { height: 30px; margin-right: 5px; border: 1px solid var(--line); border-radius: 0; background: var(--paper-2); padding: 0 6px; color: var(--ink); font-family: var(--font-mono); font-size: 8px; }
.ledger-note { display: flex; gap: 8px; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.ledger-note svg { width: 14px; height: 14px; color: var(--rust); flex: none; margin-top: 1px; }
.ledger-note p { margin: 0; font-size: .68rem; line-height: 1.55; }
.ledger-note strong { color: var(--ink); }
.result-sheet { padding: 20px 22px; }
.result-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 18px 0 2px; }
.result-main > span { width: 100%; color: var(--muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.result-main strong { color: var(--rust); font-family: var(--font-display); font-size: 4.6rem; font-weight: 400; letter-spacing: -.065em; line-height: .85; }
.result-main em { color: var(--muted); font-family: var(--font-mono); font-size: 10px; font-style: normal; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); margin-top: 14px; }
.result-grid > div { padding: 8px 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-grid span { display: block; color: var(--muted); font-size: 7px; }
.result-grid strong { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; }
.ruler { margin-top: 14px; }
.ruler__head { display: flex; justify-content: space-between; color: var(--muted); font-size: 7px; }
.ruler__head strong { color: var(--rust); font-weight: 500; }
.ruler__track { height: 7px; margin-top: 4px; background: var(--paper-3); }
.ruler__fill { height: 100%; width: 0; background: var(--rust); transition: width 240ms ease; }
.ruler__ticks { display: flex; justify-content: space-between; margin-top: 3px; color: var(--muted); font-size: 6px; }
.result-note { margin: 10px 0 0; color: var(--muted); font-size: .65rem; line-height: 1.5; }
.result-actions { display: grid; gap: 5px; margin-top: 13px; }
.result-disclaimer { margin: 9px 0 0; color: var(--muted-2); font-family: var(--font-mono); font-size: 6.5px; line-height: 1.5; }
.ledger-formulas { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.formula-panel { padding: 18px 22px 22px 0; border-right: 1px solid var(--line); }
.formula-panel:last-child { padding-right: 0; padding-left: 22px; border-right: 0; }
.formula-panel h3 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 8px; font-weight: 500; letter-spacing: .06em; }
.formula-intro { color: var(--muted); font-size: .72rem; }
.formula-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.formula-list li { display: grid; gap: 2px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.formula-list code { color: var(--rust); font-size: .68rem; line-height: 1.5; }
.formula-list span { color: var(--muted); font-family: var(--font-mono); font-size: 7px; text-transform: uppercase; }
.storage-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); margin-top: 24px; }
.storage-note { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.storage-note:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.storage-note strong { display: block; margin-bottom: 3px; font-family: var(--font-mono); font-size: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.storage-note p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }

/* ---------- company / utility pages ---------- */
.contact-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-grid--about { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.contact-card { border: 1px solid var(--ink); background: var(--surface); padding: 22px; }
.contact-card--dark { background: var(--rust); color: var(--paper); border-color: var(--ink); }
.contact-card--dark .section-label, .contact-card--dark .eyebrow { color: rgba(241,237,228,.7); }
.contact-card--dark h2, .contact-card--dark h3 { color: var(--paper); }
.contact-card--dark p { color: rgba(241,237,228,.78); }
.contact-card--dark .contact-list span { color: rgba(241,237,228,.6); }
.contact-card--dark .aside-note { color: rgba(241,237,228,.52); }
.contact-list { display: grid; gap: 13px; margin: 18px 0 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 9px; margin: 0; }
.contact-list svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--rust); }
.contact-card--dark .contact-list svg { color: var(--paper); }
.contact-list span { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 7px; text-transform: uppercase; letter-spacing: .04em; }
.contact-list strong, .contact-list a { display: block; color: var(--ink); font-size: .78rem; line-height: 1.45; text-decoration: none; }
.contact-card--dark .contact-list strong, .contact-card--dark .contact-list a { color: var(--paper); }
.contact-list a:hover { color: var(--rust); text-decoration: underline; }
.contact-card--dark .contact-list a:hover { color: var(--paper); }
.contact-card--dark .btn { border-color: var(--paper); }
.contact-card--dark .btn--wa { background: var(--paper); color: var(--ink); }
.contact-card--dark .btn--wa:hover { background: var(--ink); color: var(--paper); }
.contact-band { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.contact-band p { margin: 0 0 6px; color: var(--muted); font-size: .74rem; }
.quote-form { border: 2px solid var(--ink); background: var(--surface); padding: 22px; }
.quote-form h2 { margin-bottom: 4px; font-size: 1.8rem; letter-spacing: -.045em; }
.quote-form__intro { margin-bottom: 16px; color: var(--muted); font-size: .74rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-field { display: grid; gap: 4px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink-2); font-size: 8px; }
.form-field label span { color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid var(--line-dark); border-radius: 0; background: var(--paper); font-size: .78rem; }
.form-field input, .form-field select { height: 38px; padding: 0 9px; }
.form-field textarea { min-height: 100px; padding: 8px 9px; line-height: 1.5; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 0; border-color: var(--rust); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 13px; }
.form-hint { flex: 1 1 230px; margin: 0; color: var(--muted); font-size: .65rem; line-height: 1.45; }
.form-status { display: none; margin-top: 10px; padding: 8px 10px; border-left: 2px solid var(--rust); background: var(--paper-2); color: var(--ink-2); font-size: .7rem; }
.form-status.is-visible { display: block; }
.aside-actions { display: grid; gap: 5px; margin-top: 13px; }
.aside-note { margin: 11px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 7px; line-height: 1.5; }
.values-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.value-card { border-right: 1px solid var(--line); padding: 18px 20px 20px 0; }
.value-card:not(:first-child) { padding-left: 20px; }
.value-card:last-child { border-right: 0; }
.value-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-bottom: 14px; color: var(--rust); font-family: var(--font-mono); font-size: 9px; border: 1px solid var(--line-dark); }
.value-card__icon svg { width: 14px; height: 14px; }
.value-card h3 { margin-bottom: 5px; font-size: .9rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.grid-2 .value-card, .grid-3 .value-card { border: 1px solid var(--line); padding: 18px; }
.grid-2 .value-card h3, .grid-3 .value-card h3 { font-size: 1rem; }
.grid-2 .value-card p, .grid-3 .value-card p { font-size: .76rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.steps-grid--4 { grid-template-columns: repeat(4, 1fr); }
.step { padding: 16px 20px 18px 0; border-right: 1px solid var(--line); }
.step:not(:first-child) { padding-left: 20px; }
.step:last-child { border-right: 0; }
.step__num { display: block; margin-bottom: 16px; color: var(--rust); font-family: var(--font-mono); font-size: 8px; }
.step h3 { margin-bottom: 4px; font-size: .85rem; }
.step p { margin: 0; color: var(--muted); font-size: .71rem; line-height: 1.5; }
.catalog-footnote { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; padding: 11px 13px; border-left: 2px solid var(--rust); background: var(--paper-2); color: var(--muted); font-size: .7rem; line-height: 1.55; }
.catalog-footnote svg { width: 14px; height: 14px; color: var(--rust); flex: none; margin-top: 1px; }
.catalog-footnote strong { color: var(--ink); }
.content-block { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.content-block:last-child { border-bottom: 0; }
.content-block h2 { margin-bottom: 9px; font-size: 1.65rem; letter-spacing: -.045em; }
.content-block p { max-width: 820px; color: var(--ink-2); font-size: .85rem; line-height: 1.75; }
.content-block h3 { max-width: 820px; }
.content-block a { color: var(--rust); }

/* ---------- spec band / footer ---------- */
.spec-band { background: var(--rust); color: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 38px 0; }
.spec-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.spec-band__kicker { margin: 0 0 8px; color: rgba(241,237,228,.66); font-size: 8px; }
.spec-band h2 { max-width: 760px; margin: 0 0 9px; font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.8rem); font-weight: 400; letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.spec-band p { max-width: 650px; margin: 0; color: rgba(241,237,228,.78); font-size: .78rem; line-height: 1.6; }
.spec-band__actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.register-footer { border-top: 2px solid var(--ink); background: var(--paper); padding: 30px 0 18px; }
.footer-top { display: grid; grid-template-columns: 180px 1fr auto; gap: 34px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.footer-mark { display: flex; align-items: stretch; gap: 9px; }
.footer-mark .wordmark__bar { width: 6px; min-height: 34px; }
.footer-mark strong { display: block; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; letter-spacing: -.05em; line-height: 1; }
.footer-mark span { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .16em; text-transform: uppercase; }
.footer-lede { max-width: 560px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.footer-stamp { color: var(--rust); font-family: var(--font-display); font-size: 1.9rem; line-height: .85; text-align: right; }
.footer-stamp span { color: var(--muted); font-family: var(--font-mono); font-size: 7px; letter-spacing: .1em; }
.footer-columns { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 42px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.footer-col h3 { margin: 0 0 9px; color: var(--rust); font-size: 8px; font-weight: 500; }
.footer-col ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0; }
.footer-col a { color: var(--ink-2); font-size: .73rem; text-decoration: none; }
.footer-col a:hover { color: var(--rust); text-decoration: underline; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: 7px; color: var(--ink-2); font-size: .7rem; line-height: 1.45; text-decoration: none; }
.footer-contact svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--rust); }
.footer-contact a:hover { color: var(--rust); }
.footer-entity { display: grid; grid-template-columns: 1fr 1.8fr; gap: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.footer-entity p { margin: 0; color: var(--muted); font-size: .63rem; line-height: 1.6; }
.footer-entity p:first-child { color: var(--ink-2); }
.footer-entity p span[lang] { color: var(--muted-2); }
.footer-kicker { color: var(--rust); font-family: var(--font-mono); font-size: 7px; letter-spacing: .04em; text-transform: uppercase; margin-right: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 12px; color: var(--muted); font-size: 7px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--rust); }
.mobile-dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--ink); border-top: 2px solid var(--rust); padding: 4px 10px;
  opacity: 0; visibility: hidden; transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}
.mobile-dock.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-dock__grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 520px; margin: 0 auto; }
.mobile-dock a { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 42px; color: var(--paper); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.mobile-dock a:hover { color: var(--paper-2); }
.mobile-dock .is-wa { color: var(--paper); }
.mobile-dock svg { width: 14px; height: 14px; }

/* ---------- dialog / toast ---------- */
dialog { width: min(720px, calc(100% - 24px)); max-height: min(680px, calc(100dvh - 40px)); margin: 8vh auto auto; padding: 0; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); overflow: hidden; }
dialog::backdrop { background: rgba(20,22,24,.62); }
.search-dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.search-dialog__label { color: var(--rust); font-size: 8px; }
.search-dialog__close { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-dark); background: transparent; color: var(--ink); }
.search-dialog__close:hover { background: var(--ink); color: var(--paper); }
.search-dialog__close svg { width: 13px; height: 13px; }
.search-dialog__input { display: flex; align-items: center; gap: 9px; padding: 13px 14px; border-bottom: 2px solid var(--ink); }
.search-dialog__input svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search-dialog__input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.search-dialog__input kbd { border: 1px solid var(--line); padding: 2px 4px; color: var(--muted); font-family: var(--font-mono); font-size: 7px; }
.search-results { max-height: 430px; overflow-y: auto; }
.search-result { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.search-result:hover, .search-result:focus-visible { background: var(--paper-2); color: var(--ink); }
.search-result__main { min-width: 0; }
.search-result__main strong { display: block; font-size: .8rem; font-weight: 600; }
.search-result__main span { display: block; color: var(--muted); font-size: .65rem; }
.search-result__meta { color: var(--rust); font-family: var(--font-mono); font-size: 7px; white-space: nowrap; }
.search-empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: .76rem; }
.search-dialog__foot { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--paper-2); color: var(--muted); font-size: 7px; }
.search-dialog__foot kbd { border: 1px solid var(--line); padding: 1px 3px; font-family: var(--font-mono); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: calc(100% - 32px); transform: translate(-50%, 16px); padding: 8px 12px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 8px; letter-spacing: .03em; opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
kbd { font-family: var(--font-mono); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-item { padding-inline: 7px; font-size: 8px; }
  .nav-no { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .hero-title { font-size: clamp(3.7rem, 7.1vw, 6.4rem); }
  .record-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .record-row { grid-template-columns: 46px minmax(0, 1.4fr) 78px 120px 98px 18px; gap: 12px; }
}

@media (max-width: 980px) {
  :root { --head-h: 64px; }
  .container, .container--narrow { width: min(calc(100% - 36px), var(--container)); }
  .index-nav, .file-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .mobile-index { display: none; }
  .mobile-index.is-open { display: flex; }
  .compliance-strip__right span { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 38px; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line-dark); padding: 16px 0 0; }
  .family-mini-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .hero-query { grid-template-columns: 1fr; gap: 12px; }
  .hero-suggestions { max-width: none; }
  .hero-title { font-size: clamp(3.4rem, 10vw, 6.2rem); }
  .section-head { grid-template-columns: 130px 1fr; }
  .section-head:not(:has(.section-head__copy)) { grid-template-columns: 1fr; gap: 9px; }
  .section-link { grid-column: 2; justify-self: start; margin-top: 7px; }
  .record-row { grid-template-columns: 40px minmax(0, 1.4fr) 100px 80px 18px; }
  .record-row__cas { display: none; }
  .record-row__family { display: none; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method:nth-child(2) { border-right: 0; }
  .method:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tool-console { grid-template-columns: 1fr; }
  .tool-panel { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-panel:last-child { padding: 22px 0 0; border-bottom: 0; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__stats { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
  .page-hero__stats div { padding: 8px 12px 8px 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .page-hero__stats div:last-child { border-right: 0; }
  .record-hero { grid-template-columns: 1fr; gap: 22px; }
  .record-plate { max-width: 420px; }
  .record-facts { grid-template-columns: repeat(3, 1fr); }
  .record-fact:nth-child(3n) { border-right: 0; }
  .record-fact:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .record-card__head { display: block; }
  .record-card__head > p { max-width: 620px; margin-top: 6px; }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
  .record-cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .record-cell:nth-child(2n) { border-right: 0; }
  .record-cell:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .record-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .record-layout { grid-template-columns: 1fr; gap: 26px; }
  .record-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .lot-file { grid-row: span 2; }
  .sheet-nav { margin-top: 0; }
  .rail-note { margin: 0; }
  .select-grid { grid-template-columns: 1fr 1fr; }
  .select-cell:nth-child(2n) { border-right: 0; }
  .select-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ledger { grid-template-columns: 1fr; }
  .ledger-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .ledger-formulas { grid-template-columns: 1fr; }
  .formula-panel { padding: 18px 0 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .formula-panel:last-child { padding: 18px 0 0; border-bottom: 0; }
  .contact-grid, .contact-grid--about { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-lede { grid-column: 1 / -1; grid-row: 2; }
  .footer-stamp { grid-column: 2; grid-row: 1; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-entity { grid-template-columns: 1fr; gap: 8px; }
  .spec-band__inner { grid-template-columns: 1fr; }
  .spec-band__actions { justify-content: flex-start; }
  .mobile-dock { display: block; }
  body { padding-bottom: 54px; }
  .toast { bottom: 65px; }
  .record-layout, .record-body { scroll-margin-top: 80px; }
}

@media (max-width: 700px) {
  .wordmark__text strong { font-size: 22px; }
  .wordmark__text span { font-size: 6px; }
  .masthead__inner { gap: 10px; }
  .header-tools { gap: 5px; }
  .icon-btn { width: 35px; height: 35px; }
  .compliance-strip { font-size: 7px; }
  .compliance-strip__inner { min-height: 27px; }
  .hero-title { font-size: clamp(3rem, 13vw, 5.2rem); }
  .hero-lede { font-size: .88rem; }
  .hero-meta { display: block; font-size: 7px; }
  .hero-meta span { display: block; }
  .hero-meta span + span { margin-top: 2px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(2n) { border-right: 0; padding-left: 12px; }
  .hero-stat:nth-child(n+3) { border-bottom: 0; }
  .hero-stat strong { font-size: 1.5rem; }
  .query-box { min-height: 47px; }
  .query-box button { padding: 0 11px; font-size: 7px; }
  .query-box button span { display: none; }
  .quick-calc__grid { grid-template-columns: 1fr; }
  .quick-calc label { grid-template-columns: 1fr 80px; align-items: center; }
  .hero-suggestions { font-size: 7px; gap: 4px 8px; }
  .section { padding: 42px 0; }
  .section--tight { padding: 32px 0; }
  .section-head { grid-template-columns: 1fr; gap: 7px; }
  .section-head__copy h2 { font-size: 2rem; }
  .section-label { margin-bottom: 0; }
  .section-link { grid-column: 1; margin-top: 3px; }
  .family-row { grid-template-columns: 28px minmax(0, 1fr) 30px 16px; gap: 8px; padding: 11px 0; }
  .family-row__samples { display: none; }
  .family-row__name { font-size: .88rem; }
  .record-row { grid-template-columns: 28px minmax(0, 1fr) auto 14px; gap: 8px; padding: 10px 0; }
  .record-row__family, .record-row__cas { display: none; }
  .record-row__price { font-size: .74rem; }
  .record-row__main strong { font-size: .86rem; }
  .record-row__main small { white-space: normal; font-size: .62rem; }
  .note-row { grid-template-columns: 36px 1fr 14px; gap: 12px; padding: 16px 0; }
  .note-row__no { font-size: 1.3rem; }
  .note-row__body strong { font-size: .94rem; }
  .note-row__body span { font-size: .7rem; }
  .method-grid { grid-template-columns: 1fr; }
  .method { border-right: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .method:not(:first-child) { padding-left: 0; }
  .method:last-child { border-bottom: 0; }
  .method__no { margin-bottom: 8px; }
  .page-hero__inner { padding: 24px 0 26px; }
  .page-hero h1 { font-size: clamp(2.15rem, 9vw, 3.2rem); }
  .page-hero__stats { grid-template-columns: 1fr 1fr; }
  .page-hero__stats div:nth-child(2n) { border-right: 0; }
  .page-hero__stats div { border-bottom: 1px solid var(--line); }
  .page-hero__stats div:nth-child(n+3) { border-bottom: 0; }
  .index-console { top: var(--head-h); padding: 9px 0 8px; }
  .index-console__row { flex-wrap: wrap; }
  .index-search { max-width: none; flex: 1 1 100%; height: 36px; }
  .index-select { flex: 1 1 auto; height: 34px; }
  .index-count { width: 100%; margin-left: 0; }
  .index-chips { gap: 0 11px; }
  .index-group { padding-top: 18px; }
  .index-group__head { grid-template-columns: 30px 1fr auto; gap: 7px; }
  .index-group__head h2 { font-size: 1.02rem; }
  .index-group__count { font-size: 7px; }
  .catalog-card { grid-template-columns: 28px minmax(0, 1fr) auto 12px; gap: 7px; padding: 9px 0; }
  .row-id { font-size: 7px; }
  .row-name { font-size: .82rem; }
  .row-tag { display: none; }
  .row-cat, .row-cas, .row-formats { display: none; }
  .row-meta { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 6.5px; line-height: 1.4; text-transform: none; letter-spacing: 0; }
  .row-price { font-size: .7rem; }
  .row-price small { font-size: 6px; }
  .row-arrow { font-size: .8rem; }
  .index-note { margin: 14px 0; padding: 9px 10px; }
  .index-note p { font-size: .63rem; }
  .record-topline { gap: 6px 12px; font-size: 7px; }
  .record-head .breadcrumbs { padding-top: 15px; }
  .record-hero { padding: 22px 0 22px; }
  .record-hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.8rem); }
  .record-summary { font-size: .86rem; }
  .record-actions { display: grid; grid-template-columns: 1fr; }
  .record-actions .btn { width: 100%; }
  .record-plate { max-width: none; }
  .plate-code { font-size: 1.7rem; }
  .record-facts { grid-template-columns: 1fr 1fr; }
  .record-fact:nth-child(3n) { border-right: 1px solid var(--line); }
  .record-fact:nth-child(2n) { border-right: 0; }
  .record-fact:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .record-facts .record-fact:nth-child(n+5) { border-bottom: 0; }
  .record-card { border: 0; background: transparent; }
  .record-card__head { padding: 0 0 10px; border-bottom: 1px solid var(--ink); }
  .record-card__head h2 { font-size: 1.35rem; }
  .record-card__head > p { font-size: .65rem; }
  .record-grid { border: 1px solid var(--line); }
  .record-cell { padding: 9px 10px; min-height: 64px; }
  .record-cell b { font-size: 7.5px; }
  .record-card__foot { display: block; padding: 10px 0; border-top: 1px solid var(--line); font-size: 6.5px; }
  .record-card__foot > span:last-child { display: block; margin-top: 7px; text-align: left; }
  .record-rail { grid-template-columns: 1fr; }
  .lot-file { order: 0; width: 100%; }
  .sheet-nav { order: 1; display: flex; flex-wrap: wrap; gap: 0 14px; border-top: 1px solid var(--ink); margin-top: 0; padding-top: 4px; }
  .sheet-nav a { grid-template-columns: 18px 1fr; padding: 6px 0; border-bottom: 0; }
  .rail-note { order: 2; margin-top: 0; }
  .record-section h2 { font-size: 1.4rem; }
  .record-section p { font-size: .8rem; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-cell:nth-child(2n) { border-right: 0; }
  .fact-cell:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .handling-grid { grid-template-columns: 1fr; }
  .handling-item:nth-child(even) { border-left: 0; padding-left: 0; }
  .pack-table { min-width: 500px; }
  .compare-console__head { padding: 12px 13px; }
  .compare-console__head h2 { font-size: 1.3rem; }
  .select-cell { padding: 8px 9px; }
  .compare-console__foot { padding: 8px 12px; }
  .compare-console__foot > span { display: none; }
  .table-scroll-hint { display: flex; }
  .compare-matrix { min-width: 700px; }
  .compare-matrix tbody th { width: 120px; }
  .compare-buttons { display: grid; grid-template-columns: 1fr; }
  .compare-buttons .btn { width: 100%; }
  .preset-row { grid-template-columns: 22px 1fr 16px; gap: 8px; padding: 9px 0; }
  .preset-row small { display: none; }
  .preset-row i { grid-column: 3; }
  .case-note { padding: 20px 0; }
  .case-note__head { grid-template-columns: 40px 1fr; gap: 10px; }
  .case-no { font-size: 1.45rem; }
  .case-note h2 { font-size: 1.35rem; }
  .case-table { display: block; overflow-x: auto; white-space: nowrap; }
  .ledger-panel, .result-sheet { padding: 16px; }
  .result-main strong { font-size: 3.4rem; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-actions { display: grid; }
  .storage-grid { grid-template-columns: 1fr; }
  .storage-note:nth-child(even) { padding-left: 0; border-left: 0; }
  .contact-grid { gap: 18px; }
  .contact-card, .quote-form { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .form-hint { grid-column: 1 / -1; }
  .values-grid, .value-grid { grid-template-columns: 1fr; }
  .value-card, .value-card:not(:first-child) { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-card:last-child { border-bottom: 0; }
  .steps-grid, .steps-grid--4 { grid-template-columns: 1fr; }
  .step, .step:not(:first-child) { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .spec-band { padding: 30px 0; }
  .spec-band h2 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .spec-band__actions { display: grid; grid-template-columns: 1fr; }
  .spec-band__actions .btn { width: 100%; }
  .footer-top { display: block; }
  .footer-stamp { display: none; }
  .footer-lede { margin-top: 12px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-entity { display: block; }
  .footer-entity p + p { margin-top: 8px; }
  .footer-bottom { display: block; font-size: 6.5px; }
  .footer-bottom span { display: block; margin-top: 4px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 14px; }
  .search-dialog__foot { display: block; }
  .search-dialog__foot span + span { display: block; margin-top: 3px; }
  .search-dialog__input kbd { display: none; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 2.9rem; }
  .wordmark__text strong { font-size: 20px; }
  .header-tools .icon-btn { width: 33px; height: 33px; }
  .record-title { font-size: 2.5rem; }
}

@media (max-width: 340px) {
  .record-grid { grid-template-columns: 1fr; }
  .record-cell, .record-cell:nth-child(2n), .record-cell:nth-child(4n) { border-right: 0; }
  .record-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .record-cell:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .compliance-strip, .masthead, .mobile-dock, .spec-band, .register-footer, .record-rail, .record-plate, .compare-console, .record-actions, .index-console { display: none !important; }
  body { background: #fff; padding-bottom: 0; color: #000; }
  .container, .container--narrow { width: 100%; }
  .record-layout { display: block; }
  .record-card, .compare-matrix-wrap, .case-note { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
