/* cncbrake.com
   Drawing-office look: cool paper, drafting ink, one layout-blue drawing sheet,
   signal yellow for the workpiece and the primary action.
   Type: Sofia Sans + Sofia Sans Condensed (DIN-style lettering, self-hosted, OFL). */

@font-face {
  font-family: "Sofia Sans";
  src: url("fonts/sofia-sans-latin.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sofia Sans Condensed";
  src: url("fonts/sofia-sans-condensed-latin.woff2") format("woff2");
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f5f5;
  --surface: #ffffff;
  --well: #e8ecee;
  --ink: #101922;
  --ink-2: #44515e;
  --ink-3: #535f6b;
  --rule: #c8d0d6;
  --rule-soft: #dde3e7;
  --blue: #1b3fb5;
  --blue-deep: #142f86;
  --blue-sheet: #16378c;
  --blue-tint: #e9eefb;
  --yellow: #ffc21a;
  --yellow-deep: #eaa800;
  --yellow-tint: #fff5d1;
  --pass: #0f6e3c;
  --pass-bg: #e4f3ea;
  --warn: #855000;
  --warn-bg: #fdf0d3;
  --fail: #b3261e;
  --fail-bg: #fbe9e7;
  --plate: #07090c;
  --focus: #1b3fb5;
  --max-w: 1220px;
  --gutter: clamp(1rem, 3vw, 1.75rem);
  --font-text: "Sofia Sans", "Bahnschrift", "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  --font-cond: "Sofia Sans Condensed", "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --notch: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-deep);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-cond);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

[hidden] {
  display: none !important;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  background: var(--ink);
  color: #ffffff;
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  inset-block-start: 0.5rem;
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Utility strip and header ---------- */

.util-bar {
  background: var(--ink);
  color: #c5ced6;
  font-family: var(--font-cond);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.util-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.util-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

/* YouTube subscribe: the familiar red pill, so nobody has to guess what it does. */
.yt-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.5rem 1.4rem 0.5rem 1.2rem;
  border-radius: 999px;
  background: #e60000;
  color: #ffffff;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.yt-btn::before {
  content: "";
  border-block: 0.38rem solid transparent;
  border-inline-start: 0.62rem solid #ffffff;
}

.yt-btn:hover {
  background: #b80000;
  color: #ffffff;
}

.yt-btn--bar {
  min-height: 1.5rem;
  padding: 0.1rem 0.8rem 0.1rem 0.65rem;
  gap: 0.4rem;
  font-size: 0.8125rem;
}

/* Slot for YouTube's own Subscribe button. The red link above is the fallback
   until (or unless) YouTube's script has drawn the real one. */
.yt-sub {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
}

.yt-sub--full {
  min-height: 3rem;
}

.yt-sub.is-live > .yt-btn {
  display: none;
}

.yt-btn--bar::before {
  border-block-width: 0.28rem;
  border-inline-start-width: 0.46rem;
}

@media (max-width: 640px) {
  .util-label {
    visibility: hidden;
  }
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.15rem;
}

.lang-switch a {
  color: #c5ced6;
  font-weight: 600;
  padding: 0 0.5rem;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lang-switch a:hover {
  color: #ffffff;
}

.lang-switch a[aria-current="page"] {
  color: var(--ink);
  background: var(--yellow);
}

.site-header {
  background: var(--surface);
  border-block-end: 1px solid var(--rule);
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-inner > * {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header.is-measuring * {
  transition: none !important;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
}

.site-logo:hover {
  color: var(--ink);
}

.site-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.site-logo .tld {
  color: var(--ink-3);
  font-weight: 500;
}

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.menu-button:hover {
  background: var(--well);
}

.menu-icon {
  display: inline-block;
  inline-size: 1.15em;
  block-size: 1.15em;
  background-color: currentColor;
  mask: var(--icon-menu) no-repeat center / contain;
}

.site-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  box-shadow: 6px 6px 0 rgba(16, 25, 34, 0.14);
  position: fixed;
  inset: auto;
  inset-block-start: 5.5rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: var(--gutter);
  inline-size: min(85dvw, 20rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin-block-start: 0.4rem;
  overflow: auto;
}

@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) {
    display: none;
  }
}

.site-menu:is(:popover-open, .\:popover-open) {
  display: block;
}

.site-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.site-menu a:hover {
  background: var(--well);
}

.site-menu a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--blue);
  color: var(--blue-deep);
}

.site-header.is-wide .menu-button {
  display: none;
}

.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: stretch;
  gap: 0.25rem;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-wide .site-menu::backdrop {
  display: none;
}

.site-header.is-wide .site-menu a {
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  padding: 0 0.8rem;
  font-size: 0.975rem;
}

.site-header.is-wide .site-menu a:hover {
  background: transparent;
  box-shadow: inset 0 -3px 0 var(--rule);
}

.site-header.is-wide .site-menu a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--blue);
}

@media (forced-colors: active) {
  .site-menu a[aria-current="page"],
  .lang-switch a[aria-current="page"] {
    outline: 2px solid Highlight;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--well);
  color: var(--ink);
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.btn-primary:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
}

.btn-primary:focus-visible {
  clip-path: none;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Page head ---------- */

main {
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem) 4.5rem;
}

.doc-head {
  display: grid;
  gap: 1rem 3rem;
  margin-block-end: clamp(1.5rem, 3vw, 2.25rem);
}

.doc-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 750;
  line-height: 1;
  max-width: 22ch;
}

.doc-lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.125rem;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .doc-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
  }

  .doc-head > .breadcrumbs,
  .doc-head > .meta-strip {
    grid-column: 1 / -1;
  }
}

.breadcrumbs {
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.breadcrumbs a {
  color: var(--ink-2);
}

.breadcrumbs .sep {
  margin-inline: 0.4rem;
}

/* Title-block strip: the document facts, lettered like a drawing title block. */
.meta-strip {
  display: grid;
  margin: 0;
  border-block: 1.5px solid var(--ink);
  font-family: var(--font-cond);
}

.meta-strip > div {
  padding: 0.45rem 0 0.5rem;
  border-block-end: 1px solid var(--rule);
}

.meta-strip > div:last-child {
  border-block-end: 0;
}

@media (min-width: 720px) {
  .meta-strip {
    display: flex;
  }

  .meta-strip > div {
    flex: 1 1 auto;
    padding: 0.5rem 1.25rem 0.55rem 0;
    margin-inline-end: 1.25rem;
    border-block-end: 0;
    border-inline-end: 1px solid var(--rule);
  }

  .meta-strip > div:last-child {
    border-inline-end: 0;
    margin-inline-end: 0;
  }
}

.meta-strip dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.meta-strip dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.section {
  margin-block-start: clamp(3rem, 6vw, 4.5rem);
}

.sec-head {
  display: grid;
  gap: 0.5rem;
  margin-block-end: 1.25rem;
}

.sec-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
}

.sec-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--ink-2);
}

/* ---------- Calculator bench ---------- */

.bench-title {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  margin-block-end: 0.75rem;
}

.bench-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "inputs" "result" "sheet";
}

@media (min-width: 940px) {
  .bench-grid {
    grid-template-columns: minmax(0, 23.5rem) minmax(0, 1fr);
    grid-template-areas:
      "inputs sheet"
      "result result";
    gap: 1.5rem;
  }
}

.bench-inputs {
  grid-area: inputs;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
  padding: 1.1rem 1.25rem 1.25rem;
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.calc-fieldset {
  min-inline-size: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.calc-fieldset legend,
.field > label {
  display: block;
  padding: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.calc-fieldset legend {
  margin-block-end: 0.5rem;
}

.step {
  display: inline-block;
  min-width: 1.5em;
  margin-inline-end: 0.35rem;
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--blue);
}

.mat-table-radios {
  display: grid;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
}

.radio-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem 0.65rem;
  padding: 0.55rem 0.75rem;
  border-block-end: 1px solid var(--rule-soft);
}

.radio-row:last-child {
  border-block-end: 0;
}

.radio-row input[type="radio"] {
  accent-color: var(--blue);
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.radio-row label {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
}

/* whole row is the hit target */
.radio-row label::after {
  content: "";
  position: absolute;
  inset: 0;
}

.radio-row:has(input:checked) {
  background: var(--blue-tint);
  box-shadow: inset 3px 0 0 var(--blue);
}

.radio-row:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.radio-spec {
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: end;
}

.rfq-box .radio-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.rfq-box .radio-spec {
  grid-column: 2;
  text-align: start;
  font-family: var(--font-text);
  font-size: 0.9375rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.hint {
  display: block;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.35;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  font: inherit;
  font-size: max(1rem, 1em);
  padding: 0.55rem 0.75rem;
  min-height: 3rem;
  border: 1.5px solid var(--ink-3);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink);
}

input[disabled] {
  background: var(--well);
  color: var(--ink-3);
  border-color: var(--rule);
}

/* Tabular figures only where numbers are compared or change in place. */
.bench-inputs input[type="number"],
.chart-wrap table,
.table-wrapper td,
.ledger td,
.kpis dd,
.force-value,
.sheet-block dd {
  font-variant-numeric: tabular-nums;
}

.bench-inputs input[type="number"] {
  font-family: var(--font-cond);
  font-size: 1.375rem;
  font-weight: 650;
}

textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-block-start: 0.2rem;
}

.chip-btn {
  flex: 1 0 auto;
  min-height: 2.25rem;
  min-width: 2.1rem;
  padding: 0.2rem 0.35rem;
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}

.chip-btn:hover {
  border-color: var(--ink);
}

.chip-btn[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1rem;
  align-items: end;
}

/* The drawing sheet: the one loud surface on the site. */
.sheet {
  grid-area: sheet;
  min-width: 0;
  margin: 0;
  background-color: var(--blue-sheet);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}

.sheet svg {
  display: block;
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
}

.sheet svg text {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  fill: #ffffff;
}

.sheet svg text.is-over {
  fill: var(--yellow);
}

.sheet svg .dw-small {
  font-size: 14px;
  font-weight: 500;
  fill: #c9d6f7;
}

.sheet-block {
  background: var(--blue-sheet);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block-start: 1px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-cond);
}

.sheet-block > div {
  padding: 0.55rem 0.9rem 0.65rem;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.28);
  min-width: 0;
}

.sheet-block > div:last-child {
  border-inline-end: 0;
}

.sheet-block dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #c9d6f7;
  line-height: 1.25;
}

.sheet-block dd {
  margin: 0.1rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Result band */
.result {
  grid-area: result;
  min-width: 0;
  display: grid;
  gap: 1.5rem 2.25rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
  padding: 1.25rem;
}

@media (min-width: 940px) {
  .result {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
    padding: 1.4rem 1.5rem 1.5rem;
  }
}

.result h3 {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}

.force-value {
  margin: 0.15rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75rem;
  font-family: var(--font-cond);
  line-height: 1;
}

#out-total {
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.force-kn {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink-2);
}

.verdict-strip {
  padding: 0.55rem 0.75rem;
  border-inline-start: 4px solid;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.verdict-strip + .verdict-strip {
  margin-block-start: 0.5rem;
}

.verdict-ok {
  background: var(--pass-bg);
  border-color: var(--pass);
  color: #0a4d2a;
}

.verdict-warn {
  background: var(--warn-bg);
  border-color: var(--warn);
  color: #5f3a00;
}

.verdict-over {
  background: var(--fail-bg);
  border-color: var(--fail);
  color: #7d1a14;
}

/* Force scale: one track, three machine limits. */
.gauge {
  position: relative;
  padding-block: 1.6rem 1.5rem;
  font-family: var(--font-cond);
}

.gauge-track {
  position: relative;
  height: 1.125rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(11.1111% - 1px), var(--rule) calc(11.1111% - 1px) 11.1111%),
    var(--well);
  border: 1px solid var(--ink-3);
  overflow: hidden;
}

.load-fill {
  height: 100%;
  width: 42%;
  background: var(--ink);
}

.load-fill[data-state="warn"] {
  background: var(--warn);
}

.load-fill[data-state="over"] {
  background: var(--fail);
}

@media (prefers-reduced-motion: no-preference) {
  .load-fill {
    transition: width 0.18s ease-out;
  }
}

.gauge-tick {
  position: absolute;
  inset-inline-start: var(--at);
  inset-block: 1.25rem 1.15rem;
  width: 2px;
  margin-inline-start: -1px;
  background: var(--ink);
}

.gauge-tick b {
  position: absolute;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.gauge-tick.tick-up b {
  inset-block-end: calc(100% + 2px);
  inset-inline-end: 0;
}

.gauge-tick.tick-down b {
  inset-block-start: calc(100% + 2px);
  inset-inline-start: 0;
}

.gauge-zero {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--ink-3);
}

.fit-list {
  display: grid;
  margin-block-start: 0.5rem;
  border-block-start: 1px solid var(--rule);
}

.fit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-block-end: 1px solid var(--rule-soft);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.fit-name {
  font-weight: 700;
  margin-inline-end: 0.4rem;
}

.fit-spec {
  color: var(--ink-2);
}

.status-tag {
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

.tag-pass {
  background: var(--pass-bg);
  color: var(--pass);
}

.tag-warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.tag-fail {
  background: var(--fail);
  color: #ffffff;
}

.kpis {
  margin: 0 0 1.1rem;
  display: grid;
}

.kpis > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 1rem;
  padding: 0.4rem 0;
  border-block-end: 1px solid var(--rule-soft);
}

.kpis dt {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.3;
}

.kpis dd {
  margin: 0;
  font-family: var(--font-cond);
  font-size: 1.125rem;
  font-weight: 650;
  margin-inline-start: auto;
  white-space: nowrap;
}

/* ---------- Bending force chart ---------- */

.chart-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
}

.chart-wrap table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-family: var(--font-cond);
  font-size: 1.0625rem;
}

.chart-wrap th,
.chart-wrap td {
  padding: 0;
  text-align: center;
  border: 1px solid var(--rule-soft);
}

.chart-wrap thead th,
.chart-wrap tbody th {
  padding: 0.45rem 0.6rem;
  font-weight: 700;
  background: var(--well);
  white-space: nowrap;
}

.chart-wrap thead th:first-child {
  font-weight: 500;
  color: var(--ink-2);
  text-align: start;
}

.chart-wrap tbody th {
  text-align: start;
}

.chart-wrap td button {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.3rem 0.4rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.chart-wrap td button:hover {
  background: var(--blue-tint);
}

.chart-wrap td.is-rec button {
  font-weight: 800;
}

.chart-wrap td.is-over button {
  color: var(--ink-3);
  background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(16, 25, 34, 0.09) 5px 6px);
}

.chart-wrap td.is-sel button {
  background: var(--blue);
  color: #ffffff;
}

.chart-wrap td.is-na {
  background: var(--paper);
}

.chart-cap {
  margin: 0.6rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  max-width: 90ch;
}

/* ---------- Tables ---------- */

.table-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-block-end: 0.5rem;
}

.diff-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.diff-toggle input {
  accent-color: var(--blue);
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(640px, 86vh);
  container-type: inline-size;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
}

.table-wrapper table {
  inline-size: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.975rem;
  line-height: 1.4;
}

.table-wrapper caption {
  text-align: start;
  font-family: var(--font-cond);
  font-weight: 650;
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  border-block-end: 1px solid var(--rule);
}

.table-wrapper th,
.table-wrapper td {
  padding: 0.7rem 1rem;
  text-align: start;
  vertical-align: top;
  border-block-end: 1px solid var(--rule-soft);
}

.table-wrapper thead th {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--well);
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-block-end: 1.5px solid var(--ink);
}

.table-wrapper tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--surface);
  font-weight: 700;
  box-shadow: inset -1px 0 0 var(--rule-soft);
}

.table-wrapper tbody tr:last-child > * {
  border-block-end: 0;
}

.cell-line {
  display: block;
}

.cell-line + .cell-line {
  color: var(--ink-2);
}

.table-wrapper.show-diff tbody tr:not(.is-diff) td,
.table-wrapper.show-diff tbody tr:not(.is-diff) th {
  color: var(--ink-3);
}

.table-wrapper.show-diff tbody tr:not(.is-diff) .cell-line {
  color: inherit;
}

.table-wrapper.show-diff tbody tr.is-diff td {
  background: var(--yellow-tint);
}

.table-wrapper.show-diff tbody tr.is-diff th {
  background: var(--yellow-tint);
  box-shadow: inset 4px 0 0 var(--yellow-deep);
}

@container (width < 600px) {
  .table-wrapper {
    max-block-size: none;
  }

  .table-wrapper table,
  .table-wrapper thead,
  .table-wrapper tbody,
  .table-wrapper tr,
  .table-wrapper th,
  .table-wrapper td {
    display: block;
  }

  .table-wrapper caption {
    display: block;
  }

  .table-wrapper thead {
    display: none;
  }

  .table-wrapper tbody th {
    position: static;
    background: var(--well);
    box-shadow: none;
    border-block: 1.5px solid var(--ink);
    padding-block: 0.5rem;
  }

  .table-wrapper tbody tr:first-child th {
    border-block-start: 0;
  }

  .table-wrapper td {
    padding-block: 0.55rem;
  }

  .table-wrapper tbody tr:last-child td:not(:last-child) {
    border-block-end: 1px solid var(--rule-soft);
  }

  .table-wrapper td::before {
    display: block;
    font-family: var(--font-cond);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-3);
  }

  .table-wrapper td:nth-child(2)::before { content: var(--label-2, ""); }
  .table-wrapper td:nth-child(3)::before { content: var(--label-3, ""); }
  .table-wrapper td:nth-child(4)::before { content: var(--label-4, ""); }
  .table-wrapper td:nth-child(5)::before { content: var(--label-5, ""); }

  .table-wrapper.show-diff tbody tr.is-diff th {
    background: var(--yellow);
  }
}

/* ---------- Documentation directory (home) ---------- */

.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 2rem 1.5rem;
}

.dir-item {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.dir-item a.dir-plate {
  display: block;
  background: var(--plate);
}

.dir-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.dir-item h3 {
  font-size: 1.375rem;
  line-height: 1.12;
  margin-block-end: 0.4rem;
}

.dir-item h3 a {
  color: var(--ink);
  text-decoration-color: var(--rule);
}

.dir-item h3 a:hover {
  color: var(--blue-deep);
  text-decoration-color: currentColor;
}

.dir-item p {
  margin: 0;
  font-size: 0.975rem;
  color: var(--ink-2);
}

/* ---------- Article layout ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1000px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 20.5rem;
    gap: 3.5rem;
  }
}

.prose-col {
  min-width: 0;
}

.prose-col > section[id^="sec-"] > h2 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  margin-block: 2.75rem 0.9rem;
  padding-block-start: 0.9rem;
  border-block-start: 1.5px solid var(--ink);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.clause {
  font-weight: 500;
  color: var(--blue);
}

.prose-col p,
.prose-col ul,
.prose-col ol {
  max-width: 68ch;
}

.prose-col ul,
.prose-col ol {
  padding-inline-start: 1.25rem;
  margin-block: 0 1.1rem;
}

.prose-col li {
  margin-block-end: 0.45rem;
}

.prose-col li::marker {
  color: var(--ink-3);
}

.verdict-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.4rem;
}

.verdict-col {
  padding-inline-start: 1rem;
  border-inline-start: 4px solid var(--pass);
}

.verdict-col.is-skip {
  border-inline-start-color: var(--fail);
}

.verdict-col h2 {
  font-size: 1.25rem;
  margin-block-end: 0.5rem;
}

.verdict-col ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  font-size: 1rem;
}

.verdict-col li:last-child {
  margin-block-end: 0;
}

.spec-figure {
  margin: 1.75rem 0 0;
}

.spec-figure .plate {
  background: var(--plate);
  display: flex;
  justify-content: center;
}

.spec-figure .fig-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 32rem;
  background: #000000;
}

.spec-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 32rem;
  height: auto;
}

.spec-figure figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.9rem;
  padding-block-start: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.fig-no {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.fig-credit {
  grid-column: 2;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.prose-col > .section,
.prose-col > .rfq-box {
  margin-block-start: 3rem;
}

/* Rail */
.rail {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

/* The spec sheet scrolls away; the contents list and the offer stay in view. */
.rail-sticky {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1000px) {
  .article-layout > .rail {
    align-self: stretch;
    align-content: start;
    grid-template-rows: auto 1fr;
  }

  .rail-sticky {
    position: sticky;
    inset-block-start: 5.25rem;
    align-self: start;
  }
}

@media (max-width: 999px) {
  .rail-sticky .btn {
    display: none;
  }
}

.datasheet-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.datasheet-title {
  font-size: 1.25rem;
}

.datasheet-img {
  display: block;
  width: 100%;
  height: auto;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.ledger th,
.ledger td {
  padding: 0.4rem 0;
  border-block-end: 1px solid var(--rule-soft);
  vertical-align: baseline;
}

.ledger th {
  text-align: start;
  font-weight: 500;
  color: var(--ink-2);
  padding-inline-end: 0.75rem;
}

.ledger td {
  text-align: end;
  font-weight: 700;
}

.ds-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-3);
}

.rail-toc h2 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  margin-block-end: 0.5rem;
  color: var(--ink-2);
}

.rail-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  border-block-start: 1px solid var(--rule);
}

.rail-toc li {
  counter-increment: toc;
  border-block-end: 1px solid var(--rule-soft);
}

.rail-toc a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--ink);
  text-decoration: none;
}

.rail-toc a::before {
  content: counter(toc);
  font-family: var(--font-cond);
  font-weight: 600;
  color: var(--blue);
}

.rail-toc a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

/* ---------- Request form ---------- */

.rfq-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.rfq-box > h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-block-end: 0.5rem;
}

.rfq-intro {
  max-width: 72ch;
  color: var(--ink-2);
  margin-block-end: 1.5rem;
}

.lead-form {
  display: grid;
  gap: 1.25rem;
  max-width: 54rem;
}

.lead-form .grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  align-items: start;
  gap: 1.25rem;
}

/* Real sign-up counter, filled by app.js from /api/stats.php */
.proof {
  margin: 0;
  padding-inline-start: 0.75rem;
  border-inline-start: 3px solid var(--yellow-deep);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-consent {
  margin: 0;
  max-width: 60ch;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.lead-row {
  display: grid;
  gap: 0.9rem;
  align-items: end;
}

@media (min-width: 620px) {
  .lead-row {
    grid-template-columns: minmax(0, 26rem) auto;
  }
}

.lead-row .btn {
  min-width: 12rem;
}

.error-msg {
  display: none;
  color: var(--fail);
  font-size: 0.9375rem;
  font-weight: 600;
  align-items: center;
  gap: 0.35rem;
}

.err-icon {
  display: inline-flex;
  flex-shrink: 0;
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: var(--fail);
  background-color: var(--fail-bg);
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) + .error-msg {
  display: flex;
}

.form-status {
  display: none;
  padding: 0.75rem 1rem;
  border-inline-start: 4px solid;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-ok {
  background: var(--pass-bg);
  border-color: var(--pass);
  color: #0a4d2a;
}

.form-status.is-err {
  background: var(--fail-bg);
  border-color: var(--fail);
  color: #7d1a14;
}

/* ---------- FAQ ---------- */

.accordion details {
  border-block-end: 1px solid var(--rule);
}

.accordion details:first-of-type {
  border-block-start: 1.5px solid var(--ink);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  font-family: var(--font-cond);
  font-size: 1.3125rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex-shrink: 0;
  margin-block-start: 0.05em;
  background-color: var(--blue);
  mask: var(--icon-chevron) no-repeat center / contain;
}

.accordion details[open] > summary::after {
  rotate: 180deg;
}

.accordion summary:hover {
  color: var(--blue-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::after {
    transition: rotate 0.18s ease;
  }

  .accordion details::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
    transition: block-size, content-visibility, display;
    transition-duration: 0.22s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }

  .accordion details:not([open])::details-content {
    block-size: 0;
  }
}

.accordion-body {
  padding-block-end: 1.25rem;
  max-width: 76ch;
  color: var(--ink-2);
}

.accordion-body p {
  margin: 0;
}

/* ---------- Who runs this site ---------- */

.about-band {
  background: var(--surface);
  border-block-start: 1px solid var(--rule);
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.about-inner {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: start;
}

@media (min-width: 700px) {
  .about-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.about-face {
  display: block;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-block-end: 0.6rem;
}

.about-text p {
  max-width: 68ch;
  margin-block-end: 0.75rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b8c2cb;
  padding-block: 3rem 6rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 2rem 3rem;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 650;
  margin-block-end: 0.6rem;
}

.site-footer p {
  margin: 0;
  max-width: 44ch;
}

.site-footer a {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-block-end: 0.35rem;
}

.site-footer .partner-note {
  max-width: none;
  margin-block-start: 2rem;
  padding-block-start: 1.1rem;
  border-block-start: 1px solid #33414f;
  color: #ffffff;
  font-weight: 600;
}

@media (pointer: coarse) {
  .chip-btn {
    min-height: 2.75rem;
  }

  .chart-wrap td button {
    min-height: 2.75rem;
  }
}

/* ---------- Ask a question (floating) ---------- */

.ask {
  position: fixed;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 0.6rem;
  pointer-events: none;
}

.ask > * {
  pointer-events: auto;
}

.ask-avatar {
  display: block;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: #ffffff;
  object-fit: cover;
  overflow: hidden;
}

.ask-avatar--mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ask-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  padding: 0.25rem 1.2rem 0.25rem 0.25rem;
  border: 0;
  border-radius: 2rem;
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 25, 34, 0.3);
}

.ask-launcher:hover {
  background: var(--blue-deep);
}

.ask-launcher-label {
  display: grid;
  text-align: start;
  line-height: 1.2;
}

.ask-launcher-label small {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #c5ced6;
}

.ask-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ask-chip {
  min-height: 2.25rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.ask-chip:hover {
  border-color: var(--ink);
}

.ask-chip[aria-pressed="true"] {
  background: var(--blue-tint);
  border-color: var(--blue);
  color: var(--blue-deep);
}

.ask.is-open .ask-launcher {
  display: none;
}

@media (max-width: 560px) {
  .ask-launcher {
    padding: 0.25rem;
  }

  .ask-launcher-label {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
}

.ask-x {
  position: relative;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.ask-x::before,
.ask-x::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 22%;
  width: 56%;
  height: 2px;
  background: currentColor;
  rotate: 45deg;
}

.ask-x::after {
  rotate: -45deg;
}

.ask-teaser {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  max-width: min(19rem, calc(100vw - 2rem));
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(16, 25, 34, 0.14);
}

.ask-teaser-open {
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
}

.ask-teaser-open:hover {
  color: var(--blue-deep);
}

.ask-panel {
  width: min(23rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(16, 25, 34, 0.16);
}

.ask-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 0.75rem 0.9rem 1rem;
  background: var(--ink);
  color: #ffffff;
}

.ask-head h2 {
  font-size: 1.375rem;
}

.ask-head p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #c5ced6;
}

.ask-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.ask-step {
  display: grid;
  gap: 0.9rem;
}

.ask-form textarea {
  min-height: 4.5rem;
}

.ask-context {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ink-2);
}

.ask-context b {
  font-weight: 600;
  color: var(--ink);
}


.ask-recap {
  margin: 0;
  padding: 0.6rem 0.75rem;
  background: var(--well);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.ask-recap b {
  font-weight: 600;
  color: var(--ink);
}

.ask-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.ask-done {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--pass-bg);
  border-inline-start: 4px solid var(--pass);
  color: #0a4d2a;
  font-weight: 600;
}

/* ---------- Consent strip (bottom-left, clears floating #ask) ---------- */

.cnc-consent {
  position: fixed;
  inset-block-end: 1rem;
  inset-inline-start: 1rem;
  z-index: 55;
  display: grid;
  gap: 0.65rem;
  max-width: min(26rem, calc(100vw - 6.75rem));
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: #e4eaef;
  border: 1.5px solid #2b3b4c;
  box-shadow: 6px 6px 0 rgba(16, 25, 34, 0.22);
  font-size: 0.875rem;
  line-height: 1.4;
}

.cnc-consent p {
  margin: 0;
}

.cnc-consent a {
  color: var(--yellow);
}

.cnc-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cnc-consent-btn {
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  font: inherit;
  font-weight: 700;
  border: 1px solid #485868;
  border-radius: 2px;
  cursor: pointer;
}

.cnc-consent-reject {
  background: transparent;
  color: #e4eaef;
}

.cnc-consent-reject:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.cnc-consent-accept {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.cnc-consent-accept:hover {
  background: var(--yellow-deep);
  border-color: var(--yellow-deep);
}

@media print {
  .site-header,
  .util-bar,
  .site-footer,
  .rfq-box,
  .ask,
  .cnc-consent,
  .btn {
    display: none !important;
  }

  body {
    background: #ffffff;
  }
}
