/* ==========================================================================
   GTDI Supply — components.css (v2 "Institutional blue", A27)
   Page components on Direction A's class API + the A21 merges from Directions B and C + P0 fixes.
   NO color literals: every color is a var(--…) from tokens.css (checked by tools/check_css.py).
   Sections: 1 prototype bar · 2 page heads & block content · 3 home · 4 category (compare panel,
   pricing strip, examples, cards, comparison table) · 5 product record · 6 private price panel ·
   7 quote builder · 8 portal · 9 forms pages · 10 result pages · 11 auth · 12 guides & policies ·
   13 touch targets & print.
   Textures (grids, glows) always sit on ::before layers so text keeps a solid, measurable background.
   ========================================================================== */

/* ---------- 1. Prototype bar (development stub only; GTDI_ENV=local-prototype + ?devbar=1) ---------- */
.proto-bar { background: var(--proto-bg); color: var(--proto-fg); font: 500 .875rem/1.45 var(--font-sans); }
.proto-bar__row { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; padding-block: .4375rem; }
.proto-bar__note { margin: 0; }
.proto-bar strong { color: var(--on-dark); letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; font-weight: 700; margin-right: .375rem; }
.proto-bar__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin-left: auto; }
.proto-bar__nav ul { display: flex; flex-wrap: wrap; gap: .125rem .75rem; list-style: none; }
.proto-bar a { color: var(--on-dark); display: inline-flex; min-height: 24px; align-items: center; }
.proto-bar [aria-current="true"] { text-decoration-thickness: 2px; font-weight: 700; }
.proto-bar :focus-visible { outline-color: var(--on-dark); box-shadow: none; }
.proto-bar__short { display: none; }
@media (max-width: 640px) {
  .proto-bar__row { font-size: .8125rem; flex-wrap: nowrap; gap: .75rem; padding-block: .3125rem; }
  .proto-bar__long, .proto-bar__label { display: none; }
  .proto-bar__short { display: inline; }
  .proto-bar__note { flex: none; }
  .proto-bar__nav { margin-left: 0; min-width: 0; }
  .proto-bar__nav ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
}

/* ---------- 2. Page heads and block content ---------- */
/* Head band: warm paper with a faint documentation grid (texture on ::before; text on solid paper). */
.page-hero { position: relative; isolation: isolate; background: var(--paper-100); border-bottom: 1px solid var(--line-soft); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid-on-paper) 1px, transparent 1px), linear-gradient(90deg, var(--grid-on-paper) 1px, transparent 1px);
  background-size: 2rem 2rem; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, var(--surface) 85%); mask-image: linear-gradient(100deg, transparent 30%, var(--surface) 85%); }
.page-head { padding-block: clamp(1rem, .5rem + 2vw, 2.25rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-head .overline { margin-bottom: .75rem; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-top: 1.25rem; }
.page-head .chip--sourcing { margin-bottom: 1rem; }
.page-head--aside { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--grid-gap); align-items: center; }
.page-head--aside .page-head__copy { grid-column: 1 / span 8; }
.page-head--art { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-5) clamp(1.5rem, 4vw, 4rem); align-items: center; padding-bottom: clamp(2rem, 1rem + 2.5vw, 3rem); }
.page-head__art { min-width: 0; justify-self: end; width: 100%; max-width: 34rem; }
.page-art { position: relative; }
.page-art .pa { width: 100%; height: auto; }
.page-art .pa-cap { left: auto; right: 0; bottom: 0; }
.page-art--monogram { max-width: 28rem; margin-left: auto; }
.page-art--accounts-diagram { padding: 1rem 0; }
/* Category pages: the "Pricing on this page" card sits inside the head band, under the H1 + render. */
.page-hero--strip .page-head { padding-bottom: clamp(1.25rem, .75rem + 1.5vw, 2rem); }
.page-head__strip { position: relative; padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-head--portal { padding-block: clamp(1rem, .5rem + 1.5vw, 1.75rem) var(--s-5); }
.page-head--portal .lead { font-size: var(--fs-body); }
.page-head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem 2rem; }
@media (max-width: 1080px) { .page-head--aside .page-head__copy, .page-head--aside > .gate-card { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .page-head--art { grid-template-columns: 1fr; }
  .page-head__art { justify-self: start; max-width: 26rem; }
  .page-art--monogram { max-width: 22rem; margin-left: 0; }
}
@media (max-width: 560px) { .page-head__art { max-width: 100%; } .page-art--accounts-diagram { padding: 0; } }

/* Block content inside a reading column */
.entry--prose > * { max-width: var(--measure); }
.entry--prose > * + * { margin-top: 1.125rem; }
.entry--prose > h2 { margin-top: 3rem; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.entry--prose > h3 { margin-top: 2.25rem; font-size: 1.25rem; }
.entry--prose > h2 + *, .entry--prose > h3 + * { margin-top: .875rem; }
.entry--prose > ul, .entry--prose > ol, .entry ul.is-style-plain { padding-left: 1.25rem; }
.entry--prose li + li { margin-top: .375rem; }
.entry--prose li::marker { color: var(--brass-700); }
.entry--prose > ul.wp-block-list, .entry--prose > ol.wp-block-list { padding-left: 1.25rem; }
.entry--prose > blockquote, .entry blockquote.is-style-note { margin-inline: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--brass-500); border-radius: 0 var(--r-2) var(--r-2) 0; background: var(--paper-100); color: var(--ink-800); font-size: var(--fs-body-sm); }
.entry--prose > blockquote p { margin: 0; }
.entry--prose > figure, .entry--prose > .wp-block-table, .entry--prose > .table-wrap { max-width: none; }
/* Content tables (inc/enhance.php adds data-label + roles): on narrow phones each row stacks as a
   labelled record — the row header first, then each cell under its column label. */
@media (max-width: 480px) {
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack tbody th, .table--stack tbody td { display: block; width: 100%; }
  .table--stack caption { display: block; }
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .table--stack tbody tr { padding: .875rem 0 1rem; border-bottom: 1px solid var(--line-cool); }
  .table--stack tbody tr:first-child { border-top: 2px solid var(--rule); }
  .table--stack tbody tr:last-child { border-bottom: 2px solid var(--rule); }
  .table--stack tbody th, .table--stack tbody td, .table--stack tbody:last-child tr:last-child > * { padding: .25rem 0; border: 0; }
  .table--stack tbody th { font-weight: 600; font-size: var(--fs-body-sm); }
  .table--stack td[data-label]::before { content: attr(data-label); display: block; margin: .5rem 0 .125rem; font: 600 var(--fs-overline)/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); }
}
.entry--prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-table); }
.entry--prose table th, .entry--prose table td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--line-cool); }
.entry--prose table thead th { font: 600 .8125rem/1.3 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); }
.entry--prose table tbody tr:last-child > * { border-bottom: 2px solid var(--rule); }
.wp-block-table { position: relative; overflow-x: auto; margin: 0; }
.entry .is-style-lead, .entry p.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-700); max-width: var(--measure-lead); }
.entry .is-style-note, .entry p.note-line { font-size: var(--fs-body-sm); color: var(--ink-700); }
.entry .sources { font-size: var(--fs-meta); color: var(--ink-700); }
.entry .sources li + li { margin-top: .375rem; }
.entry .ph--decision, .ph--decision { border-color: var(--proof-line); background: var(--proof-bg); color: var(--ink-900); font-size: 1em; }

/* Section groups in block content: <section class="section"><div class="container">…</div></section> */
.entry--sections > .section:first-child { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.entry--sections > .section:first-child.section--alt, .entry--sections > .section:first-child.band { padding-top: var(--section-y); }
.entry .container > * + * { margin-top: 1.125rem; }
.entry .container > .sec-head + *, .entry .container > .sec-split + * { margin-top: var(--s-6); }
.entry .container > p, .entry .container > ul:not([class]), .entry .container > ol:not([class]) { max-width: var(--measure); }
.entry .container > ul.wp-block-list, .entry .container > ol.wp-block-list, .entry .sec-body ul.wp-block-list, .entry .sec-body ol.wp-block-list, .entry .card ul.wp-block-list, .entry .card ol.wp-block-list { padding-left: 1.25rem; max-width: var(--measure); }
.entry .sec-body > * + * { margin-top: 1rem; }
.entry .sec-body > p { max-width: var(--measure); }
.entry .sec-body li + li, .entry .card li + li { margin-top: .375rem; }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
/* inline-block, not flex: labels mix text and placeholder spans ("Talk to us ([OWNER PHONE])") and flex gap split them apart. */
.entry .wp-block-button__link { display: inline-block; text-align: center; min-height: 50px; padding: .875rem 1.5rem; border: 1.5px solid var(--navy-700); border-radius: var(--r-2); background: var(--navy-700); color: var(--on-dark); font: 600 1rem/1.35 var(--font-sans); text-decoration: none; box-shadow: var(--shadow-1); transition: background-color .15s, border-color .15s, box-shadow .15s; }
.entry .wp-block-button__link:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--on-dark); box-shadow: var(--shadow-2); }
.entry .is-style-secondary .wp-block-button__link { background: var(--surface); color: var(--navy-700); box-shadow: none; }
.entry .is-style-secondary .wp-block-button__link:hover { background: var(--blue-50); color: var(--navy-800); }
.entry .band .wp-block-button__link { background: var(--surface); color: var(--navy-900); border-color: var(--surface); }
.entry .band .wp-block-button__link:hover { background: var(--blue-100); border-color: var(--blue-100); color: var(--navy-900); }
.entry .band .is-style-secondary .wp-block-button__link { background: transparent; color: var(--on-dark); border-color: var(--on-dark-outline); }
.entry .band .is-style-secondary .wp-block-button__link:hover { background: var(--on-dark-hover); color: var(--on-dark); }
.entry .wp-block-group.panel > * + * { margin-top: .875rem; }

/* Two-column content blocks */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols > * { margin: 0 !important; min-width: 0; }
@media (max-width: 900px) { .cols, .cols--3 { grid-template-columns: 1fr; } }
.card.card--content { padding: clamp(1.375rem, 1rem + 1vw, 2rem); }
.card--content h3, .card--content h2 { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.1875rem; letter-spacing: -0.012em; font-weight: 600; }
.card--content > * + * { margin-top: .75rem; }
.card--content p, .card--content li { font-size: var(--fs-body-sm); color: var(--ink-800); }
.card--accent { position: relative; border-top: 0; }
.card--accent::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: var(--r-3) var(--r-3) 0 0; background: var(--navy-900); }

/* Ticks list (A's pillar list) */
.ticks { list-style: none; border-top: 2px solid var(--navy-900); padding: 0 !important; }
.ticks li { position: relative; padding: .875rem 0 .875rem 1.875rem; border-bottom: 1px solid var(--line-soft); line-height: 1.5; font-size: var(--fs-body-sm); color: var(--ink-800); margin: 0 !important; }
.ticks li::before { content: ""; position: absolute; left: .25rem; top: 1.2rem; width: .75rem; height: .45rem; border-left: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700); transform: rotate(-45deg); }
.ticks--no li::before { width: .75rem; height: 0; top: 1.5rem; border-left: 0; border-bottom: 2px solid var(--ink-500); transform: none; } /* "We don't" lists: a neutral dash */
.ticks--compact { margin-block: .5rem 1.5rem; max-width: 36rem; }
.ticks--compact li { padding-block: .5rem; }
.ticks--compact li::before { top: .9rem; }
.ticks--inline { display: flex; flex-wrap: wrap; gap: 0 1.5rem; border-top: 0; }
.ticks--inline li { border-bottom: 0; padding-block: .25rem; }
.ticks--inline li::before { top: .7rem; }

/* Numbered "how to compare" list (category, glove program) */
.compare { position: relative; background: var(--paper-100); border-block: 1px solid var(--line-soft); padding-block: clamp(2.5rem, 1.75rem + 2.5vw, 4rem); }
.compare__head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.compare__head h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); }
.compare__source { max-width: var(--measure); font-size: var(--fs-meta); color: var(--ink-600); }
.compare-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem var(--grid-gap); counter-reset: cmp; padding: 0 !important; margin: 0; }
.compare-list > li { position: relative; margin: 0 !important; counter-increment: cmp; max-width: none !important; padding: 1.25rem 1.25rem 1.375rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.compare-list h3 { font-size: 1.0625rem; line-height: 1.35; margin-bottom: .5rem; display: grid; gap: .5rem; }
.compare-list h3::before { content: counter(cmp, decimal-leading-zero); font: 600 .9375rem/1 var(--font-display); color: var(--brass-700); font-feature-settings: "lnum"; }
.compare-list p { margin: 0; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--ink-700); }
.compare-list p + p { margin-top: .625rem; }
.compare-list .link-arrow { font-size: .9375rem; }
.compare-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .compare-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .compare-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .compare-list, .compare-list--3 { grid-template-columns: 1fr; gap: .875rem; } }

/* ---------- 3. Home ---------- */
/* Hero: serif statement left; navy stage right (full-bleed) with the product still life and the record. */
.hero { position: relative; overflow-x: clip; isolation: isolate; background: var(--surface); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
.hero__copy { grid-column: 1 / span 7; align-self: start; padding-block: clamp(3rem, 1.5rem + 4.5vw, 6rem) clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-right: clamp(1rem, 3vw, 3.5rem); }
.hero__title { color: var(--navy-900); }
.hero__title > span { display: block; }
.hero__sub { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); max-width: 54ch; color: var(--ink-700); }
.hero .wp-block-buttons, .hero .btn-row { margin-top: clamp(1.75rem, 1rem + 2vw, 2.5rem); }
.hero .wp-block-button__link { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.facts { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(2.5rem, 1.5rem + 3vw, 3.25rem) !important; padding: 0 !important; border-top: 1px solid var(--line); max-width: 34rem !important; }
.facts li { position: relative; display: block; padding: .9375rem 0 .9375rem 2.75rem; border-bottom: 1px solid var(--line-soft); font: 600 1rem/1.4 var(--font-sans); color: var(--ink-800); margin: 0 !important; }
.facts li::before { content: ""; position: absolute; left: 0; top: .75rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brass-100); }
.facts li::after { content: ""; position: absolute; left: .5625rem; top: 1.25rem; width: .625rem; height: .35rem; border-left: 2px solid var(--brass-700); border-bottom: 2px solid var(--brass-700); transform: rotate(-45deg); }
.hero__specimen { grid-column: 8 / -1; position: relative; padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); padding-left: clamp(1.25rem, 3vw, 3rem); }
.hero__specimen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: calc((100vw - min(100vw - 2 * var(--page-gutter), var(--container))) / -2); z-index: -1;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse 60% 42% at 50% 30%, var(--glow-on-dark), var(--glow-clear) 72%),
    linear-gradient(var(--grid-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-on-dark) 1px, transparent 1px);
  background-size: auto, 2rem 2rem, 2rem 2rem; border-bottom-left-radius: var(--r-4); }
.entry .hero .container > * + * { margin-top: 0; }

.specimen { margin: 0; width: 100%; position: relative; }
.specimen__stage { position: relative; width: 86%; margin: 0 auto -2rem; }
.specimen__stage .pa { width: 100%; height: auto; }
.specimen__stage .pa-st-sh { stop-color: var(--shadow-art); }
.pa-cap--dark { left: -4%; top: 0; bottom: auto; background: transparent; border-color: var(--on-dark-line); color: var(--on-dark-2); }
.record { position: relative; z-index: 1; background: var(--surface); border-radius: var(--r-3); box-shadow: var(--shadow-3); }
.record__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; padding: .875rem 1.375rem; border-bottom: 1px solid var(--line-cool); }
.record__docs { display: flex; gap: .875rem; flex-wrap: wrap; font-size: .875rem; }
.record__docs a { display: inline-flex; align-items: center; gap: .3rem; min-height: 28px; font-weight: 500; }
.record__title { padding: 1.125rem 1.375rem 1rem; }
.record__title p:first-child { font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--navy-900); margin: 0 0 .25rem; }
.record__title p:first-child a { color: inherit; text-decoration: none; }
.record__title p:first-child a:hover { color: var(--navy-700); text-decoration: underline; }
.record__title p + p { font-size: var(--fs-meta); color: var(--ink-600); margin: 0; }
.record__band { display: grid; gap: .375rem; padding: .8125rem 1.375rem .875rem; border-top: 1px solid var(--line-cool); }
.record__band:first-of-type { border-top: 2px solid var(--navy-900); }
.record__band .spec > div { grid-template-columns: 7.75rem 1fr; padding: .3125rem 0; }
.record__band .spec > div:first-child { padding-top: 0; }
.record__band .spec dt, .record__band .spec dd { font-size: .9375rem; }
.specimen figcaption { position: relative; z-index: 1; margin-top: 1rem; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--on-dark-2); display: flex; gap: .5rem; align-items: flex-start; }
.specimen figcaption .icon { width: 1rem; height: 1rem; margin-top: .2rem; color: var(--brass-300); }
@media (max-width: 1080px) {
  .hero__copy, .hero__specimen { grid-column: 1 / -1; }
  .hero__copy { padding-right: 0; padding-bottom: 2.5rem; }
  .hero__specimen { margin-inline: calc(-1 * var(--page-gutter)); padding: 2rem var(--page-gutter) 2.5rem; }
  .hero__specimen::before { right: 0; border-radius: 0; }
  .specimen { max-width: 36rem; margin-inline: auto; }
}

@media (max-width: 560px) {
  .record__band .spec > div { grid-template-columns: 6.75rem 1fr; gap: .75rem; }
  .record__top, .record__title, .record__band { padding-inline: 1rem; }
  .specimen__stage { margin: 0 -.25rem -1.5rem; }
}

/* Trust band (A26 section "Established, documented, accountable") */
.trust-band { padding-block: var(--section-y-tight); }
.trust-band .sec-head { margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.trust-band__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--grid-gap); padding: 0 !important; margin: 0; max-width: none !important; }
.trust-band__item { display: flex; flex-direction: column; gap: .5rem; margin: 0 !important; padding: 1.5rem 1.375rem 1.625rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.trust-band__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .5rem; border-radius: 50%; background: var(--navy-900); color: var(--brass-300); box-shadow: 0 0 0 4px var(--brass-100); }
.trust-band__icon .icon { width: 1.375rem; height: 1.375rem; }
.trust-band__item > strong { font: 600 1.0625rem/1.35 var(--font-sans); color: var(--ink-900); letter-spacing: -0.01em; }
.trust-band__item > span:last-child { font-size: var(--fs-body-sm); line-height: 1.55; color: var(--ink-700); }
@media (max-width: 1180px) { .trust-band__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .trust-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust-band__list { grid-template-columns: 1fr; gap: .75rem; } .trust-band__item { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding: 1.125rem 1.125rem 1.25rem; } .trust-band__icon { margin-bottom: 0; width: 2.5rem; height: 2.5rem; } .trust-band__item > strong { flex: 1 1 0; } .trust-band__item > span:last-child { flex-basis: 100%; } }

/* What you get (pillars with subgrid-aligned rows) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 1rem + 2vw, 3rem); row-gap: 0; margin-top: 0 !important; }
.pillar { display: grid; grid-row: span 3; grid-template-rows: subgrid; margin: 0 !important; }
.pillar__icon { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy-900); margin-bottom: 1.5rem; }
.pillar__icon .icon { width: 1.5rem; height: 1.5rem; }
.pillar h3 { font-size: var(--fs-h3); margin-bottom: 1rem; align-self: end; }
.pillar p { position: relative; font-size: var(--fs-body-sm); color: var(--ink-800); line-height: 1.65; margin: 0; padding-top: 1.125rem; border-top: 1px solid var(--line); max-width: none; }
.pillar p::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--brass-500); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } .pillar { grid-row: auto; grid-template-rows: auto; } .pillar + .pillar { margin-top: var(--s-7) !important; } }

/* Who we serve: icon cards */
.segments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.segment { position: relative; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.625rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); box-shadow: var(--shadow-1); margin: 0 !important; }
.segment__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem; border-radius: 50%; background: var(--blue-50); color: var(--navy-900); }
.segment__icon .icon { width: 1.375rem; height: 1.375rem; }
.segment h3 { font-size: 1.1875rem; margin-bottom: .5rem; }
.segment p { color: var(--ink-700); margin: 0; max-width: 46ch; font-size: var(--fs-body-sm); line-height: 1.55; }
.segment p + p { margin-top: auto; padding-top: .875rem; }
.segment .link-arrow { font-size: .9375rem; }
@media (max-width: 720px) { .segments { grid-template-columns: 1fr; gap: .75rem; } }
@media (max-width: 560px) {
  .segment { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .875rem; align-items: center; padding: 1.125rem 1.125rem 1.25rem; }
  .segment__icon { margin-bottom: 0; }
  .segment h3 { margin-bottom: 0; }
  .segment > p { grid-column: 1 / -1; margin-top: .625rem; }
  .segment p + p { padding-top: .5rem; }
}

/* Category cards (home, products overview) — illustrated */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); list-style: none; padding: 0 !important; max-width: none !important; }
.cats > li { margin: 0 !important; }
.cat { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .2s, border-color .2s; }
.cat:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.cat__art { position: relative; aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(ellipse 72% 70% at 50% 42%, var(--surface) 0 30%, var(--paper-50) 52%, var(--paper-100)); }
.cat__art .pa { width: 100%; height: 100%; padding: 4% 6% 8%; }
.cat .ph-media { aspect-ratio: 3 / 2; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
.cat__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.125rem 1.25rem 1.375rem; flex: 1; }
.cat__body > * { margin: 0 !important; }
.cat h3 { font-size: 1.125rem; }
.cat p { color: var(--ink-700); font-size: var(--fs-body-sm); line-height: 1.5; }
.cat .link-arrow { margin-top: auto !important; padding-top: .375rem; }
.cat .chip { align-self: flex-start; }
.cat--request { background: var(--paper-50); border-style: dashed; border-color: var(--line-strong); box-shadow: none; }
.cat--request .cat__art { background: radial-gradient(ellipse 72% 70% at 50% 42%, var(--paper-50) 0 30%, var(--paper-100) 60%, var(--paper-200)); }
.cats-note { margin-top: 1.75rem !important; }
@media (max-width: 1180px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cats { grid-template-columns: 1fr; gap: .875rem; }
  .cat { display: grid; grid-template-columns: 7.5rem 1fr; }
  .cat__art { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line-soft); display: grid; align-content: start; }
  .cat__art .pa { height: auto; padding: 18% 4% 8%; }
  .cat__art .pa-cap { display: none; }
  .cat .ph-media { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line-soft); }
  .cat .ph-media__label { padding: .375rem; }
  .cat .ph-media__label > span { display: none; }
  .cat__body { padding: 1rem 1.125rem 1.125rem; gap: .375rem; }
}

/* Navy bands (Glove Program, CTA bands): depth from a glow and a faint grid on ::before. */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--on-dark-2); padding-block: var(--section-y); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 50% 70% at 85% 20%, var(--glow-on-dark), var(--glow-clear) 70%),
    linear-gradient(var(--grid-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--grid-on-dark) 1px, transparent 1px);
  background-size: auto, 2.5rem 2.5rem, 2.5rem 2.5rem; }
.band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(to right, var(--brass-300), var(--brass-500) 35%, transparent 80%); }
.band h2, .band h3 { color: var(--on-dark); }
.band .overline { color: var(--brass-300); }
.band a:not(.wp-block-button__link):not(.btn) { color: var(--on-dark); }
.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--grid-gap); align-items: start; }
.band__copy { grid-column: 1 / span 5; margin: 0 !important; }
.band__copy > * + * { margin-top: 1.25rem; }
.band__copy p { color: var(--on-dark-2); max-width: 46ch; }
.band__copy p.lead, .band .is-style-lead { color: var(--on-dark-2); }
/* CTA band copy: beat `.entry p.lead` (ink on white) — dark text on navy failed contrast. */
.entry .band .container > p, .entry .band .container > p.lead, .band .container > p { color: var(--on-dark-2); }
.sku-sheet { grid-column: 7 / -1; margin: 0 !important; padding: 1.75rem 2rem 1.25rem; border: 1px solid var(--on-dark-line); border-radius: var(--r-3); background: var(--navy-900); position: relative; }
.sku-sheet::before { content: ""; position: absolute; left: 2rem; top: -1px; width: 4rem; height: 3px; background: var(--brass-300); }
.sku-sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; flex-wrap: wrap; padding: 0 0 1rem; border-bottom: 1px solid var(--on-dark-line); }
.sku-sheet h3 { color: var(--on-dark); font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -0.005em; }
.sku-sheet__head p { margin: 0; color: var(--on-dark-3); font-weight: 500; font-size: .875rem; }
.sku-sheet dl { margin: 0; }
.sku-sheet dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .9375rem 0; border-bottom: 1px solid var(--on-dark-line-soft); }
.sku-sheet dl > div:last-child { border-bottom: 0; }
.sku-sheet dt { color: var(--on-dark); font-weight: 600; }
.sku-sheet dd { margin: 0; color: var(--on-dark-2); font-size: var(--fs-body-sm); }
.sizes { display: flex; flex-wrap: wrap; gap: .375rem; list-style: none; padding: 0; }
.sizes li { min-width: 2.75rem; padding: .25rem .5rem; text-align: center; border: 1px solid var(--on-dark-chip-line); border-radius: var(--r-1); font: 600 .875rem/1.3 var(--font-sans); color: var(--on-dark); }
@media (max-width: 1080px) { .band__copy, .sku-sheet { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sku-sheet { padding: 1.5rem 1.25rem 1rem; } .sku-sheet::before { left: 1.25rem; } .sku-sheet dl > div { grid-template-columns: 1fr; gap: .25rem; } }

/* How accounts work (home), suppliers, contact band */
.accounts-foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; margin-top: var(--s-7) !important; padding: 1.25rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--paper-100); }
.accounts-foot p { max-width: 62ch; font-size: var(--fs-body-sm); color: var(--ink-700); margin: 0; }
.supply { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--grid-gap); align-items: start; background: var(--paper-100); border: 1px solid var(--line-soft); border-radius: var(--r-3); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem) clamp(1.25rem, .5rem + 3vw, 3.5rem); margin-top: 0 !important; overflow: hidden; }
.supply::before { content: ""; position: absolute; left: clamp(1.25rem, .5rem + 3vw, 3.5rem); top: 0; width: 4rem; height: 3px; background: var(--brass-500); }
.supply__head { grid-column: 1 / span 4; margin: 0 !important; }
.supply__head .overline { margin-bottom: .75rem; }
.supply__body { grid-column: 5 / -1; display: grid; gap: var(--s-5); justify-items: start; margin: 0 !important; }
.supply__body > * { margin: 0 !important; }
.supply__body p { color: var(--ink-800); max-width: 56ch; }
@media (max-width: 960px) { .supply__head, .supply__body { grid-column: 1 / -1; } }
.splitter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); list-style: none; padding: 0 !important; max-width: none !important; }
.splitter > * { position: relative; margin: 0 !important; display: flex; flex-direction: column; gap: .625rem; padding: 1.625rem 1.5rem 1.625rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.splitter > *::before { content: ""; position: absolute; left: 1.5rem; top: -1px; width: 3rem; height: 3px; background: var(--navy-900); }
.splitter > * > * { margin: 0 !important; }
.splitter h3 { font-size: 1.1875rem; }
.splitter p { font-size: var(--fs-body-sm); color: var(--ink-700); }
.splitter .wp-block-buttons, .splitter .btn-row { margin-top: auto !important; padding-top: .5rem; }
@media (max-width: 900px) { .splitter { grid-template-columns: 1fr; } }
.contact-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; font-weight: 500; }
.contact-line .icon { color: var(--brass-700); width: 1rem; height: 1rem; }
.band .contact-line .icon { color: var(--brass-300); }
.contact-band__line { margin-top: var(--s-6) !important; }

/* ---------- 4. Category pages ---------- */
.cat-head h1 { margin: 0; }
.chip--sourcing { margin-bottom: .25rem; }
/* Pricing on this page — beside the H1 (no art) or as a strip under the head band (with art). */
.gate-card { position: relative; grid-column: 9 / -1; border: 1px solid var(--line); border-radius: var(--r-3); padding: 1.375rem 1.5rem 1.5rem; background: var(--surface); box-shadow: var(--shadow-2); }
.gate-card::before { content: ""; position: absolute; left: 1.5rem; top: -1px; width: 3rem; height: 3px; background: var(--navy-900); }
.gate-card__title { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.125rem; letter-spacing: -0.012em; margin: .75rem 0 0; font-weight: 600; }
.gate-card > h2:first-child { margin-top: 0; }
.gate-card p { font-size: var(--fs-body-sm); color: var(--ink-700); line-height: 1.5; margin: .5rem 0 1rem; }
.gate-card .btn-row { gap: .5rem 1.25rem; margin-top: .75rem; }
.gate-card__signin { margin: .875rem 0 0 !important; font-size: var(--fs-meta) !important; }
@media (max-width: 1080px) { .gate-card { max-width: 36rem; } }
.page-head__strip .gate-card { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.page-head__strip .gate-card::before { left: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.page-head__strip .gate-card > * { grid-column: 1; }
.page-head__strip .gate-card > .chip { justify-self: start; }
.page-head__strip .gate-card p { margin-bottom: 0; max-width: 64ch; }
.page-head__strip .gate-card .btn-row { grid-column: 2; grid-row: 1 / span 3; margin: 0; justify-content: flex-end; }
.page-head__strip .gate-card .gate-card__signin { grid-column: 2; grid-row: 4; justify-self: end; }
@media (max-width: 860px) {
  .page-head__strip .gate-card { grid-template-columns: 1fr; }
  .page-head__strip .gate-card .btn-row, .page-head__strip .gate-card .gate-card__signin { grid-column: 1; grid-row: auto; justify-self: start; justify-content: flex-start; margin-top: 1rem; }
}

/* Representative products listing (cards + side panel) */
.examples .toolbar, .listing .toolbar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: var(--grid-gap); position: relative; }
.examples .toolbar::after, .listing .toolbar::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 4rem; height: 2px; background: var(--brass-500); }
.toolbar h2 { font-family: var(--font-display); color: var(--navy-900); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -0.012em; }
.toolbar h2 span { font: 400 1rem/1 var(--font-sans); color: var(--ink-600); letter-spacing: 0; }
.toolbar__note { display: inline-flex; align-items: center; gap: .375rem; margin: 0; font-size: var(--fs-body-sm); color: var(--ink-700); }
.toolbar__right { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.toolbar__right label { font-size: .9375rem; color: var(--ink-700); white-space: nowrap; }
.toolbar .select { min-height: 42px; padding-block: .4rem; font-size: .9375rem; width: auto; min-width: 0; max-width: 100%; }
.examples__grid { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); gap: var(--grid-gap); align-items: start; }
.side-panel { padding: 1.375rem 1.5rem 1.5rem; background: var(--paper-50); }
.side-panel h2 { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.0625rem; letter-spacing: -0.01em; display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .5rem; font-weight: 600; }
.side-panel h2 .icon { color: var(--navy-700); margin-top: .1rem; }
.side-panel p { font-size: var(--fs-body-sm); color: var(--ink-700); line-height: 1.5; margin-bottom: 1rem; }
@media (max-width: 1080px) { .examples__grid { grid-template-columns: 1fr; } .side-panel { max-width: 36rem; } }

.pgrid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: 0; padding: 0 !important; max-width: none !important; margin: 0; }
.pgrid > li { display: grid; grid-row: span 11; grid-template-rows: subgrid; margin: 0 0 var(--grid-gap) !important; }
.pcard { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.pcard .pa-fig, .pcard .ph-media, .pcard img.media { border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
.pcard .pa-fig .pa { padding: 5% 7% 11%; }
.pcard .ph-media, .pcard img.media { aspect-ratio: 16 / 9; }
.pcard .ph-media__label { font-size: var(--fs-overline); }
.pcard__head { padding: 1.125rem 1.375rem .875rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.pcard__label { margin: 0; }
.pcard__title { font: 600 1.125rem/1.35 var(--font-display); color: var(--navy-900); letter-spacing: -0.008em; text-wrap: pretty; }
.pcard__title a { color: var(--navy-900); text-decoration: none; }
.pcard__title a:hover { color: var(--navy-700); text-decoration: underline; }
.pcard__maker { margin: 0; font-size: var(--fs-meta); color: var(--ink-600); }
.attr { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .55rem; border: 1px solid var(--line); border-radius: var(--r-1); font: 500 .8125rem/1.4 var(--font-sans); color: var(--ink-800); background: var(--paper-50); }
.attr .icon { width: .95rem; height: .95rem; color: var(--navy-700); }
.pcard__specs { display: grid; grid-row: span 6; grid-template-rows: subgrid; margin: 0 1.375rem; border-top: 2px solid var(--navy-900); }
.pcard__specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line-cool); }
.pcard__specs dt { font-size: var(--fs-table); color: var(--ink-600); }
.pcard__specs dd { margin: 0; font-size: var(--fs-table); font-weight: 600; color: var(--ink-900); text-align: right; font-feature-settings: "kern", "tnum"; }
.pcard__specs dd .muted { font-weight: 400; }
.pcard__specs dd.na { color: var(--ink-500); font-weight: 400; }
.pcard__links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .875rem 1.375rem; font-size: var(--fs-meta); }
.pcard__docs { list-style: none; display: flex; gap: .25rem .875rem; flex-wrap: wrap; }
.pcard__docs a { display: inline-flex; gap: .3rem; align-items: center; min-height: 28px; color: var(--ink-800); text-decoration-color: var(--line-strong); }
.pcard__docs a:hover { color: var(--navy-700); text-decoration-color: currentColor; }
.pcard__docs .icon { width: 1rem; height: 1rem; color: var(--ink-600); }
/* A36 (A29 F-02): a chemotherapy drug list is never linked without its claim status — on its own line, body size. */
.pcard__claim, .record__claim, .doc__claim { display: block; font-size: 1rem; font-weight: 400; line-height: 1.4; color: var(--ink-700); }
.doc__claim { margin: .125rem 0 0; }
.pcard__view { font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; min-height: 28px; }
.pcard__view .icon { width: 1rem; height: 1rem; }
.pcard__price { display: grid; gap: .625rem; padding: 1rem 1.375rem 1.375rem; border-top: 1px solid var(--line-soft); background: var(--paper-100); align-content: start; }
.pcard__price .chip { justify-self: start; }
.pcard__signin { font-size: var(--fs-meta); }
@media (max-width: 1239px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: minmax(0, 1fr); } .pcard .ph-media { aspect-ratio: 16 / 7; } }

/* Comparison table (Direction B) */
.compare-examples .rec-head { margin-bottom: .75rem; }
.table--compare { min-width: 56rem; }
.table--compare tbody th a { font-weight: 600; text-decoration: none; color: var(--ink-900); }
.table--compare tbody th a:hover { color: var(--navy-700); text-decoration: underline; }
.table--compare tbody th .m { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-600); }
.table--compare tbody th { min-width: 13rem; max-width: 17rem; }
.swatch { display: inline-block; width: .875rem; height: .875rem; border-radius: 50%; border: 1px solid var(--swatch-edge); flex: none; vertical-align: -0.1em; margin-right: .375rem; background: var(--swatch-other-a); }
.swatch--blue { background: var(--swatch-blue); }
.swatch--black { background: var(--swatch-black); }
.swatch--white { background: var(--swatch-white); }
.swatch--clear { background: var(--swatch-clear); }
.swatch--other { background: linear-gradient(135deg, var(--swatch-other-a) 50%, var(--swatch-other-b) 50%); }

/* ---------- 5. Product record ---------- */
.pdp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); padding-block: .75rem var(--section-y); }
.pdp > * { grid-column: 1 / span 8; min-width: 0; }
.pdp__head { grid-row: 1; }
.pdp__facts { grid-row: 2; margin-top: calc(-1 * clamp(1rem, .75rem + 1vw, 1.75rem)); }
.pdp__facts > * + * { margin-top: .75rem; }
.pdp__rail { grid-column: 9 / span 4; grid-row: 1 / span 3; align-self: start; display: grid; gap: 1rem; }
.pdp--public .pdp__rail { position: sticky; top: 1rem; }
.pdp--public .pdp__media { grid-column: 1 / span 4; grid-row: 3; }
.pdp--public .pdp__identity { grid-column: 5 / span 4; grid-row: 3; }
.pdp__onpage { grid-row: 3; }
.pdp--portal .pdp__media { grid-column: 1 / span 3; grid-row: 4; }
.pdp--portal .pdp__identity { grid-column: 4 / span 5; grid-row: 4; }
.pdp--portal .pdp__quote { grid-column: 1 / -1; grid-row: 5; }
.pdp--portal .pdp__rail--price { grid-row: 1 / span 4; }
.pdp--portal .pdp__specs, .pdp--portal div.pdp__pack, .pdp--portal .pdp__docs, .pdp--portal .pdp__claims, .pdp--portal .pdp__related, .pdp--portal .pdp__legend { grid-column: 1 / span 8; }
.pdp--portal .pdp__help { grid-column: 9 / span 4; grid-row: 6 / span 3; align-self: start; display: grid; gap: 1rem; }
.pdp__head h1 { margin: .75rem 0 .5rem; max-width: 24ch; font-size: clamp(2rem, 1.4rem + 2vw, 2.875rem); }
.pdp__head .pdp__pack { display: block; margin-top: .625rem; font: 500 clamp(1rem, .95rem + .3vw, 1.1875rem)/1.4 var(--font-sans); letter-spacing: -0.006em; color: var(--ink-700); }
.pdp__maker { margin: 0 0 .5rem; color: var(--ink-700); }
.pdp__label { margin: 0 0 1rem; font-size: var(--fs-body-sm); color: var(--ink-700); }
.pdp__item { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin: 0; }
.pdp__doc { display: inline-flex; align-items: center; gap: .375rem; font-size: var(--fs-meta); color: var(--firm-fg); font-weight: 600; }
.keyfacts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.keyfacts .attr { font-size: .875rem; padding: .3rem .7rem; background: var(--surface); }
.onpage { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp--public .onpage { margin-top: 1.25rem; }
/* Wraps instead of scrolling: a sideways-scrolling row hid its last items on phones with no cue. */
.onpage ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.75rem; padding: 0; }
.onpage a { display: inline-flex; align-items: center; min-height: 46px; white-space: nowrap; color: var(--ink-800); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.onpage a:hover { color: var(--navy-700); text-decoration: underline; }
.gallery { margin: 0; }
.gallery .ph-media { aspect-ratio: 1 / 1; }
.gallery .pa-fig { box-shadow: var(--shadow-1); }
.identity { margin: 0; border-top: 2px solid var(--navy-900); }
.identity > div { display: grid; grid-template-columns: 10rem 1fr; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--line-cool); }
.identity dt { font-size: var(--fs-meta); color: var(--ink-600); }
.identity dd { margin: 0; font-size: var(--fs-body-sm); font-weight: 500; color: var(--ink-900); min-width: 0; overflow-wrap: anywhere; }
.identity dd .link-ext { word-break: break-all; }
.identity .k { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .625rem; }
.identity .k strong { font-size: 1.0625rem; letter-spacing: .02em; }
.identity .k .link-ext { font-size: .875rem; font-weight: 600; }
.doc-state { display: inline-flex; gap: .375rem; align-items: flex-start; color: var(--firm-fg); }
.doc-state .icon { width: 1.05rem; height: 1.05rem; margin-top: .1rem; }
.doc-state--pending { color: var(--ind-fg); }
.record-section { min-width: 0; }
.rec-head { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: .375rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.rec-head h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); }
.rec-head h3 { font-size: 1.125rem; }
.rec-head p { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-700); }

/* Thickness drawing tied to the spec rows (Direction B, redrawn in A's line style) */
.spec-layout--fig { display: grid; grid-template-columns: minmax(14rem, 16.5rem) minmax(0, 1fr); gap: var(--grid-gap); align-items: start; }
.thick-fig { margin: 0; padding: 1.125rem 1.125rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--paper-100); }
.thick-fig__art { position: relative; }
.thick-fig__svg { display: block; width: 50%; height: auto; overflow: visible; }
.thick-fig__glove { fill: var(--surface); stroke: var(--navy-900); stroke-width: 2.5; stroke-linejoin: round; }
.thick-fig__rim, .thick-fig__crease { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; }
.thick-fig__lead { fill: none; stroke: var(--navy-700); stroke-width: 1.75; stroke-dasharray: 4 3; }
.thick-fig__end { fill: var(--navy-700); }
.thick-fig__pt circle { fill: var(--navy-700); }
.thick-fig__pt path { stroke: var(--on-dark); stroke-width: 2; stroke-linecap: round; }
.thick-fig__labels { list-style: none; position: absolute; inset: 0 0 0 50%; padding: 0; margin: 0; }
.thick-fig__label { position: absolute; left: .375rem; transform: translateY(-50%); display: flex; align-items: flex-start; gap: .375rem; margin: 0; }
.thick-fig__text { display: grid; line-height: 1.2; }
.thick-fig__loc { font-size: .8125rem; font-weight: 600; color: var(--ink-900); }
.thick-fig__val { font-size: var(--fs-overline); color: var(--ink-700); font-feature-settings: "tnum"; }
.thick-fig__cap { margin-top: .75rem; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--ink-700); }
.ref { display: inline-grid; place-items: center; width: 1.375rem; height: 1.375rem; flex: none; border-radius: 50%; background: var(--navy-700); color: var(--on-dark); font: 700 .75rem/1 var(--font-sans); font-feature-settings: "tnum"; margin-right: .375rem; vertical-align: .05em; }
.thick-fig--generic { max-width: 22rem; }
.entry .thick-fig { margin-block: 1.5rem; }
@media (max-width: 760px) { .spec-layout--fig { grid-template-columns: 1fr; } .thick-fig { max-width: 22rem; } }

/* Spec table: Attribute | Value | Basis */
.table--spec tbody th { width: 34%; }
.table--spec td.basis { color: var(--ink-600); width: 32%; }
.table--spec .grp th { padding-top: 1.5rem; padding-bottom: .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-700); border-bottom: 1px solid var(--navy-900); background: transparent !important; }
.table--spec tbody:first-of-type .grp th { padding-top: .875rem; }
.basis-inline { display: none; }
.val-strong { font-weight: 600; }
.val-muted { color: var(--ink-600); font-style: normal; }
.val-flag { display: inline-flex; align-items: center; gap: .375rem; font-weight: 600; }
.val-flag .icon { width: 1rem; height: 1rem; color: var(--ink-600); }
@media (max-width: 760px) {
  .table--spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--spec td.basis { display: none; }
  .basis-inline { display: block; margin-top: .125rem; font-size: .8125rem; color: var(--ink-600); font-weight: 400; }
  .table--spec tbody th { width: 42%; }
}

/* Packaging (Direction C "Differs" tag + A's emphasis row) */
.table--pack { min-width: 30rem; }
.table--pack-portal { min-width: 46rem; }
.table--pack th:first-child, .table--pack td:first-child { min-width: 6.5rem; }
.table--pack .is-differs > * { background: var(--paper-100); }
.table--pack .is-differs strong { font-weight: 700; color: var(--ink-900); }
.table--pack tr.is-differs > th:first-child { background: var(--paper-100); box-shadow: inset 3px 0 0 var(--brass-500), inset -1px 0 0 var(--line-cool); padding-left: .75rem; }
.table--pack .size { font-weight: 600; }
.pack-facts { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--grid-gap); }
.pack-facts > div { border-top: 1px solid var(--line); padding-top: .75rem; display: grid; grid-template-columns: 1fr; gap: .125rem; }
.pack-facts dt { font-size: var(--fs-meta); color: var(--ink-600); }
.pack-facts dd { margin: 0; font-weight: 600; font-feature-settings: "kern", "tnum"; }
.pack-facts dd span { display: block; font-weight: 400; font-size: var(--fs-meta); color: var(--ink-600); }
.pack-rules { margin-top: 1.25rem; }
@media (max-width: 760px) { .pack-facts { grid-template-columns: 1fr; gap: .75rem; } }

/* Documents register */
.docs { list-style: none; border-top: 2px solid var(--rule); padding: 0; margin: 0; }
.doc { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: center; padding: .9375rem 0; border-bottom: 1px solid var(--line-cool); }
.doc:last-child { border-bottom: 2px solid var(--rule); }
.doc__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--r-2); color: var(--navy-900); background: var(--blue-50); border: 1px solid var(--blue-100); }
.doc__title { margin: 0; font-weight: 600; }
.doc__name { font-weight: 400; color: var(--ink-700); }
.doc__meta { margin: 0; font-size: var(--fs-meta); color: var(--ink-600); }
.doc__action { display: inline-flex; align-items: center; gap: .375rem; min-height: 40px; max-width: 100%; font-weight: 600; text-align: right; }
/* A36: a long host name ("opens products.halyardhealth.com") or source title wraps instead of widening the page at 320 px. */
.doc__title, .doc__meta, .doc__action { overflow-wrap: anywhere; }
.doc__status { display: inline-flex; align-items: center; gap: .375rem; font-size: var(--fs-meta); color: var(--ink-700); font-weight: 500; text-align: right; }
.doc__status .icon { width: 1rem; height: 1rem; color: var(--ink-600); }
.doc--na .doc__icon { color: var(--ink-500); background: var(--surface); border-style: dashed; border-color: var(--line-strong); }
.docs-note { margin-top: 1rem; }
.docs-foot { margin: .75rem 0 0; font-size: var(--fs-meta); color: var(--firm-fg); font-weight: 600; }
@media (max-width: 760px) { .doc { grid-template-columns: 2.75rem minmax(0, 1fr); } .doc > :last-child { grid-column: 2; justify-self: start; text-align: left; } }

/* Claims */
.claims { margin: 0; border-top: 2px solid var(--navy-900); }
.claims > div { display: grid; grid-template-columns: minmax(12rem, 34%) 1fr; gap: .5rem 1.25rem; padding: .9375rem 0; border-bottom: 1px solid var(--line-cool); }
.claims dt { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; font-size: var(--fs-body-sm); }
.claims dt .icon { color: var(--navy-700); margin-top: .1rem; width: 1.1rem; height: 1.1rem; }
.claims dd { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-800); max-width: var(--measure); }
@media (max-width: 640px) { .claims > div { grid-template-columns: 1fr; } }

.guide-links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; padding: 0; margin: 0; }
.pdp__learn { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.pdp__learn .rec-head h2 { font-size: 1.375rem; }

/* Public pricing block on representative product pages (gate) */
.gatebox { overflow: hidden; box-shadow: var(--shadow-2); border-color: var(--line); }
.gatebox .card__head { background: var(--paper-100); }
.gatebox__body { display: grid; gap: .75rem; justify-items: start; }
.gatebox__body .btn { justify-self: stretch; }
.gatebox__help { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-700); }
.gatebox__links { display: grid; gap: .25rem; margin: .25rem 0 0; font-size: var(--fs-meta); }
.gatebox__foot { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .875rem clamp(1.25rem, 1rem + 1vw, 1.875rem); background: var(--paper-100); border-top: 1px solid var(--line-soft); font-size: var(--fs-body-sm); color: var(--ink-700); }
.gatebox__foot .icon { color: var(--navy-700); width: 1rem; height: 1rem; margin-top: .15rem; }
.help-card__title { font-family: var(--font-sans); color: var(--ink-900); font-size: 1rem; letter-spacing: -0.01em; margin-bottom: .375rem; font-weight: 600; }
.help-card p { font-size: var(--fs-body-sm); color: var(--ink-700); }
.more-examples .sec-head { margin-bottom: var(--s-6); }

@media (max-width: 1080px) {
  .pdp > *, .pdp--public .pdp__media, .pdp--public .pdp__identity, .pdp--portal .pdp__media, .pdp--portal .pdp__identity, .pdp__rail, .pdp--portal .pdp__help, .pdp--portal .pdp__quote,
  .pdp--portal .pdp__specs, .pdp--portal div.pdp__pack, .pdp--portal .pdp__docs, .pdp--portal .pdp__claims, .pdp--portal .pdp__related, .pdp--portal .pdp__legend, .pdp--portal .pdp__rail--price, .pdp__facts, .pdp__onpage { grid-column: 1 / -1; grid-row: auto; }
  .pdp__facts { margin-top: 0; }
  .pdp--public .pdp__rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .pdp__media { max-width: 28rem; }
  .pdp--portal .pdp__media { max-width: 18rem; }
}
@media (max-width: 760px) {
  .pdp { row-gap: 1.5rem; }
  .pdp--public .pdp__rail { grid-template-columns: 1fr; }
  .identity > div { grid-template-columns: 8.5rem 1fr; }
  .pdp--portal .pdp__media { max-width: 14rem; }
}

/* ---------- 6. Private price panel (C-PRICE) — first viewport, desktop and phone (P0 #1) ---------- */
.pricebox { position: relative; overflow: hidden; box-shadow: var(--shadow-2); border-color: var(--line); }
.pricebox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--navy-900); }
.pricebox__head { align-items: center; background: var(--paper-100); padding-top: 1.25rem; }
.pricebox .chip > span, .card__head .chip > span { white-space: normal; } /* long state labels wrap inside the panel instead of being cut off */
.pricebox__main { padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.25rem; display: grid; gap: .625rem; }
.price__main { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .625rem; }
.price__amt { font: 600 var(--fs-price)/1 var(--font-sans); letter-spacing: -0.03em; color: var(--navy-900); font-feature-settings: "kern", "tnum"; }
.price__unit { font-size: 1.0625rem; color: var(--ink-800); }
.price__alt { margin: 0; padding-top: .75rem; border-top: 1px solid var(--line-cool); font-size: var(--fs-body-sm); color: var(--ink-800); display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline; }
.price__alt strong { font-feature-settings: "kern", "tnum"; font-size: 1.125rem; }
.price__sizes { color: var(--ink-600); font-size: var(--fs-meta); }
.price__exceptions { list-style: none; display: grid; gap: .375rem; margin: 0; padding: .7rem .875rem; border-radius: var(--r-2); background: var(--paper-100); font-size: var(--fs-body-sm); line-height: 1.45; font-feature-settings: "kern", "tnum"; }
.pricebox__state-line { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-700); }
.pricebox__state-line--lg { font: 600 1.25rem/1.35 var(--font-sans); color: var(--ink-900); }
.pricebox__staff { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-800); }
.pricebox__terms { padding: 0 clamp(1.25rem, 1rem + 1vw, 1.875rem); }
.pricebox__terms > div { grid-template-columns: 8.5rem 1fr; padding: .5rem 0; }
.pricebox__tax { margin: 0; padding: .5rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1rem; font-size: var(--fs-meta); color: var(--ink-600); }
.pricebox__section { padding: 1rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.125rem; border-top: 1px solid var(--line-soft); }
.pricebox__section h3 { margin-bottom: .5rem; }
.avail__line { margin: 0 0 .75rem; font-weight: 500; font-size: var(--fs-body-sm); }
.avail { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr)); gap: .375rem; padding: 0; margin: 0 0 .5rem; }
.avail li { display: grid; gap: .125rem; padding: .5rem .5rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }
.avail .sz { font: 600 1rem/1.2 var(--font-sans); color: var(--ink-900); }
.avail .st { display: inline-flex; align-items: center; gap: .25rem; font-size: var(--fs-overline); font-weight: 600; line-height: 1.2; }
.avail .st .icon { width: .875rem; height: .875rem; }
.avail .ok { border-color: var(--firm-line); background: var(--firm-bg); }
.avail .ok .st { color: var(--firm-fg); }
.avail .tbc { border-color: var(--ind-line); border-style: dashed; background: var(--ind-bg); }
.avail .tbc .st { color: var(--ind-fg); }
.avail .na { border-color: var(--exp-line); background: var(--exp-bg); }
.avail .na .st { color: var(--exp-fg); }
.pricebox__cta { display: grid; gap: .5rem; justify-items: start; padding: 1rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.125rem; border-top: 1px solid var(--line-soft); }
.pricebox__cta .btn { justify-self: stretch; }
.pricebox__foot { display: flex; gap: .625rem; align-items: flex-start; margin: 0; padding: .875rem clamp(1.25rem, 1rem + 1vw, 1.875rem); background: var(--paper-100); border-top: 1px solid var(--line-soft); font-size: var(--fs-body-sm); color: var(--ink-700); }
.pricebox__foot .icon { color: var(--navy-700); margin-top: .15rem; width: 1rem; height: 1rem; }
.tag--synthetic { font-size: .6875rem; }

/* ---------- 7. Quote builder (Direction C arithmetic in A's form components) ---------- */
.qb { box-shadow: var(--shadow-2); }
.qb__form { padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.5rem; }
.qb .card__body { padding-top: 1rem; }
.qb__unit { display: flex; align-items: center; gap: .5rem; margin: 0 0 .375rem; font-weight: 600; font-size: 1.0625rem; color: var(--ink-900); font-feature-settings: "kern", "tnum"; }
.qb__unit .icon { color: var(--brass-700); }
.qb__form > .hint { margin-bottom: 1rem; }
.qb__form > .field-error { margin-bottom: .75rem; }
.qb__table { margin-bottom: 1rem; }
.qb__table thead th { white-space: normal; font-size: var(--fs-overline); }
.qb__table tbody th, .qb__table tbody td { vertical-align: middle; padding-block: .625rem; }
.qb__size { font: 600 1.0625rem/1.2 var(--font-sans) !important; white-space: nowrap; }
.qb__table .sub { font-size: var(--fs-overline); }
.qb__table .is-differs > * { background: var(--paper-100); }
.avail-mark { display: inline-flex; align-items: center; gap: .3rem; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.avail-mark .icon { width: .95rem; height: .95rem; }
.avail-mark--ok { color: var(--firm-fg); }
.avail-mark--tbc { color: var(--ind-fg); }
.avail-mark--na { color: var(--exp-fg); }
.qb__qty { width: 6.5rem; }
/* Visually hidden (not display:none) at table widths so every quantity field keeps its name: “XS, cases”. */
.qb__qty-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.qb__qty .input { min-height: 44px; }
.qb__gloves output { font-weight: 600; font-feature-settings: "kern", "tnum"; }
.qb__total-row { display: flex; justify-content: flex-end; padding: .875rem 0 1.25rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.25rem; }
.qb__total { margin: 0; font-size: 1rem; color: var(--ink-700); }
.qb__total-out { margin-left: .5rem; font-weight: 700; font-size: 1.25rem; color: var(--navy-900); font-feature-settings: "kern", "tnum"; }
.qb__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.25rem; align-items: start; }
.qb__fields .field { margin: 0; }
.qb__deliver-val { margin: 0; padding-top: .375rem; font-weight: 500; }
.qb__fields .field--checkbox, .qb__note { grid-column: 1 / -1; }
.qb__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.qb__fine { display: flex; gap: .5rem; align-items: flex-start; margin: 0; max-width: 46ch; font-size: var(--fs-body-sm); font-weight: 600; color: var(--ink-800); }
.qb__fine .icon { color: var(--navy-700); margin-top: .1rem; }
@media (max-width: 900px) { .qb__fields { grid-template-columns: 1fr 1fr; } .qb__deliver { grid-column: 1 / -1; } }
/* A36 (A28 B-09): the size table never widens the page. Its eight columns need about 870 px, so up to
   1100 px each size is a stacked card (tablets included); above that the table sits in a scroll
   container that only scrolls if a long label still makes it too wide. */
.qb__scroll { position: relative; max-width: 100%; overflow-x: auto; }
.qb__scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Phones and tablets: each size becomes a stacked card; the case input stays labelled ("M, cases") */
@media (max-width: 1100px) {
  .qb__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .qb__table, .qb__table tbody, .qb__table tr, .qb__table th, .qb__table td { display: block; }
  .qb__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .375rem 1rem; padding: .875rem .875rem; margin-bottom: .625rem; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); }
  .qb__table tbody tr > * { padding: 0 !important; border: 0 !important; text-align: left !important; background: transparent !important; }
  .qb__table tbody tr:last-child > * { border-bottom: 0 !important; }
  .qb__table tbody tr.is-differs { background: var(--paper-100); }
  .qb__table .qb__size { grid-column: 1; }
  .qb__table .qb__qty { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; display: grid; gap: .25rem; justify-items: end; }
  .qb__qty-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: block; font-size: var(--fs-label); font-weight: 600; color: var(--ink-700); }
  .qb__table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-600); font-weight: 400; font-size: .8125rem; }
  .qb__table .qb__gpc, .qb__table .qb__avail, .qb__table .qb__price, .qb__table .qb__p1000, .qb__table .qb__state, .qb__table .qb__gloves { grid-column: 1; font-size: .875rem; }
  .qb__table .qb__gpc .sub { display: inline; margin-left: .25rem; }
  .qb__table .qb__price { font-weight: 600; }
}
@media (max-width: 760px) {
  .qb__total-row { justify-content: flex-start; }
  .qb__fields { grid-template-columns: 1fr; }
  .qb__foot .btn { width: 100%; }
}

/* ---------- 8. Portal ---------- */
.site-main--portal { position: relative; isolation: isolate; padding-bottom: var(--section-y); background-color: var(--surface); }
/* The warm wash at the top of portal pages lives on a layer behind the content (text sits on a solid color). */
.site-main--portal::before { content: ""; position: absolute; inset: 0 0 auto; height: 22rem; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--paper-50), var(--surface)); }
.dash { padding-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; flex-wrap: wrap; }
.dash__head h1 { margin-top: .5rem; }
.status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin: clamp(1.5rem, 1rem + 1vw, 2.25rem) 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.status > div { position: relative; padding: 1rem 1.25rem 1.125rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--surface); box-shadow: var(--shadow-1); min-width: 0; }
.status > div::before { content: ""; position: absolute; left: 1.25rem; top: -1px; width: 2rem; height: 3px; background: var(--brass-500); }
.status dt { font: 600 .8125rem/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); margin-bottom: .5rem; }
.status dd { margin: 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink-900); }
.dash__note { margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
@media (max-width: 960px) { .status { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .status { grid-template-columns: 1fr; gap: .625rem; } }
.first-run { margin-bottom: var(--grid-gap); }
.first-run h2 { margin-bottom: .25rem; }
.dash__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); align-items: start; }
.dash__main { grid-column: 1 / span 8; display: grid; gap: var(--grid-gap); min-width: 0; }
.dash__side { grid-column: 9 / -1; display: grid; gap: var(--grid-gap); min-width: 0; }
@media (max-width: 1080px) { .dash__main, .dash__side { grid-column: 1 / -1; } .dash__side { margin-top: var(--grid-gap); } }
.draft-line { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: .9375rem clamp(1.25rem, 1rem + 1vw, 1.875rem); background: var(--blue-50); border-bottom: 1px solid var(--blue-100); font-weight: 600; }
.draft-line .icon { color: var(--navy-700); }
.draft-line .btn { margin-left: auto; }

/* Quote rows: state + next action + validity (Direction C merge) */
/* A36: positioned, so visually hidden (absolutely positioned) labels inside the rows scroll with the table
   instead of widening the page (900–1180 px tablet widths). */
.qtable-wrap { position: relative; overflow-x: auto; }
.qtable { font-size: var(--fs-table); }
.qtable thead th { border-top: 0; background: var(--paper-50); }
.qtable th, .qtable td { vertical-align: middle; }
.qtable tr > :first-child { padding-left: clamp(1.25rem, 1rem + 1vw, 1.875rem); }
.qtable tr > :last-child { padding-right: clamp(1.25rem, 1rem + 1vw, 1.875rem); }
.qtable tbody:last-child tr:last-child > * { border-bottom: 0; }
.qtable .qno a { font-weight: 600; white-space: nowrap; }
.qtable thead th { white-space: nowrap; }
.qtable .meta { white-space: nowrap; }
.qtable .qstate { min-width: 13rem; }
.qtable .qstate .sub { max-width: 34ch; }
.qtable:not(.qtable--full) .qstate .sub { display: none; }
.qtable .act { font-weight: 600; text-align: right; min-width: 7rem; }
.qtable .act a, .qtable .act .btn-link { white-space: nowrap; }
.qtable thead th.act { text-align: right; }
.inline-form { display: inline; margin: 0; }
.inline-form--stack { display: grid; gap: 1rem; }
@media (max-width: 860px) {
  .qtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .qtable, .qtable tbody, .qtable tr, .qtable th, .qtable td { display: block; }
  .qtable tbody tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: .375rem 1rem; padding: 1rem clamp(1.25rem, 1rem + 1vw, 1.875rem); border-bottom: 1px solid var(--line-soft); }
  .qtable tbody tr:last-child { border-bottom: 0; }
  .qtable tbody tr > * { padding: 0 !important; border: 0 !important; text-align: left !important; }
  .qtable tbody tr:hover > * { background: transparent; }
  .qtable .qno { order: 1; flex: 1 1 auto; }
  .qtable .act { order: 2; }
  .qtable .qstate { order: 3; flex: 1 1 100%; display: flex !important; flex-wrap: wrap; align-items: center; gap: .25rem .625rem; margin: .125rem 0; min-width: 0; }
  .qtable .qstate .sub { margin: 0; flex: 1 1 100%; }
  .qtable .meta { order: 4; font-size: .875rem; color: var(--ink-800); }
  .qtable td[data-label]::before { content: attr(data-label) " "; color: var(--ink-600); font-weight: 400; }
}

/* Search, category chips, recent items, notes, lists */
.search { display: grid; grid-template-columns: 1fr auto; gap: .375rem .625rem; align-items: end; }
.search__label, .search__hint { grid-column: 1 / -1; }
.search__field { position: relative; }
.search__field .icon { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--ink-600); pointer-events: none; }
.search__field .input { padding-left: 2.75rem; }
.search--catalog { max-width: 48rem; margin-bottom: 1rem; }
@media (max-width: 520px) { .search { grid-template-columns: 1fr; } .search .btn { width: 100%; } }
.cat-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; }
.cat-chips a { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: .4rem .95rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-2); color: var(--ink-900); text-decoration: none; font-weight: 500; font-size: .9375rem; background: var(--surface); }
.cat-chips a:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--blue-50); }
.cat-chips a[aria-current] { border-color: var(--navy-700); background: var(--navy-700); color: var(--on-dark); }
.cat-chips a[aria-current] .cat-chips__req { color: var(--on-dark-2); }
.cat-chips__req { color: var(--ink-600); font-weight: 400; font-size: .8125rem; }
.quote__side .rec-head h2, .card .docs-section .rec-head h2 { font-size: 1.1875rem; font-family: var(--font-sans); color: var(--ink-900); letter-spacing: -0.012em; font-weight: 600; }
.items { list-style: none; padding: 0; margin: 0; }
.item { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .25rem 1.25rem; align-items: center; padding: 1rem clamp(1.25rem, 1rem + 1vw, 1.875rem); border-bottom: 1px solid var(--line-soft); }
.item .ph-media, .item img.media, .item .pa-fig { aspect-ratio: 1; border-radius: var(--r-2); grid-row: span 2; }
.item .pa-fig .pa { padding: 10%; }
.item .ph-media__label { display: none; }
.item__name { margin: 0; font-weight: 600; line-height: 1.35; }
.item__name a { color: var(--ink-900); text-decoration: none; }
.item__name a:hover { color: var(--navy-700); text-decoration: underline; }
.item__meta { margin: 0; font-size: var(--fs-meta); color: var(--ink-600); }
.item__price { grid-column: 3; grid-row: 1 / span 2; display: grid; justify-items: end; gap: .375rem; text-align: right; }
.item__fig { font-weight: 600; font-size: 1rem; font-feature-settings: "kern", "tnum"; }
.item__fig small { font-weight: 400; color: var(--ink-600); font-size: .8125rem; }
.item__fig--muted { font-weight: 500; color: var(--ink-700); font-size: var(--fs-meta); }
.items__legend { padding: 1.125rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.375rem; background: var(--paper-100); border-radius: 0 0 var(--r-3) var(--r-3); }
.items__legend .legend-wrap__title { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); }
@media (max-width: 640px) {
  .item { grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; }
  .item .ph-media, .item .pa-fig { grid-row: span 2; align-self: start; }
  .item__price { grid-column: 1 / -1; grid-row: auto; justify-items: start; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
}
.msg { padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 1.875rem) .25rem; }
.msg--inline { padding: 0; margin: 0 0 var(--s-5); }
.msg__from { display: grid; grid-template-columns: auto 1fr; gap: 0 .75rem; align-items: center; margin: 0 0 .75rem; }
.msg__from .person__avatar { width: 2.5rem; height: 2.5rem; grid-row: span 2; border-width: 1.5px; }
.msg__from .person__avatar .icon { width: 1.125rem; height: 1.125rem; }
.msg__from span { font-size: .8125rem; color: var(--ink-600); }
.msg__body { margin: 0; padding: .9375rem 1.125rem; background: var(--paper-100); border-left: 3px solid var(--brass-500); border-radius: 0 var(--r-2) var(--r-2) 0; line-height: 1.6; font-size: var(--fs-body-sm); }
.rep { padding: 1.25rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.375rem; display: grid; gap: .875rem; }
.rep__links { list-style: none; display: grid; gap: .25rem; padding: 0; margin: 0; }
.rep__links li { display: flex; align-items: center; gap: .5rem; min-height: 32px; font-weight: 500; }
.rep__links .icon { color: var(--brass-700); width: 1.05rem; height: 1.05rem; }
.rep__cta { margin: 0; }
.report { margin: 0; padding: 0 .25rem; font-size: .9375rem; }
.report a { display: inline-flex; gap: .5rem; align-items: center; color: var(--ink-700); min-height: 32px; }
.reglist { list-style: none; padding: 0; margin: 0; }
.reglist li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .125rem .75rem; padding: .8125rem clamp(1.25rem, 1rem + 1vw, 1.875rem); border-bottom: 1px solid var(--line-soft); }
.reglist li:last-child { border-bottom: 0; }
.reglist .icon { color: var(--navy-700); margin-top: .2rem; width: 1.1rem; height: 1.1rem; }
.reglist a { font-weight: 500; }
.reglist span { grid-column: 2; font-size: var(--fs-meta); color: var(--ink-600); }
.reglist--flush li { padding-inline: 0; }
.acct-dl { margin: 0; padding: .25rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 1.25rem; }
.acct-dl > div { padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
.acct-dl > div:last-child { border-bottom: 0; }
.acct-dl dt { font: 600 .8125rem/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-600); margin-bottom: .375rem; }
.acct-dl dd { margin: 0; }
.acct-dl dd + dd { margin-top: .25rem; }
.empty { display: grid; justify-items: start; gap: 1rem; padding: 2rem clamp(1.25rem, 1rem + 1vw, 1.875rem) 2.25rem; }
.empty__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--navy-900); }
.empty__text { margin: 0; font-size: 1.0625rem; max-width: 46ch; }

/* Catalog listing (portal): filters + rows */
.listing { padding-block: clamp(1rem, .5rem + 1vw, 1.5rem) 0; }
.listing__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); grid-template-areas: "filters bar" "filters main"; column-gap: var(--grid-gap); align-items: start; }
.listing__bar { grid-area: bar; min-width: 0; }
.filters { grid-area: filters; min-width: 0; padding: 0 1.25rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); box-shadow: var(--shadow-1); }
.listing__main { grid-area: main; min-width: 0; display: grid; gap: var(--grid-gap); }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; padding-block: 1rem .75rem; border-bottom: 1px solid var(--line); }
.filters__head h2 { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.125rem; letter-spacing: -0.012em; font-weight: 600; }
.filters__head a { font-size: .875rem; }
.facet { border: 0; border-bottom: 1px solid var(--line-soft); margin: 0; padding: 1rem 0 1.125rem; min-width: 0; }
.facet:last-of-type { border-bottom: 0; }
.facet legend { float: left; width: 100%; padding: 0; margin-bottom: .5rem; font-weight: 600; font-size: .9375rem; color: var(--ink-900); }
.facet legend + * { clear: both; }
.facet .hint { clear: both; font-size: var(--fs-meta); margin-bottom: .5rem; }
.opts { display: grid; gap: 0; }
.opt { min-height: 36px; font-size: .9375rem; color: var(--ink-800); }
.opt__note { display: block; font-size: .8125rem; color: var(--ink-600); }
.opts-2 { grid-template-columns: 1fr 1fr; column-gap: .75rem; }
.sizechips { display: flex; flex-wrap: wrap; gap: .375rem; }
.sizechip { position: relative; display: inline-flex; }
.sizechip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.sizechip span { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.25rem; padding: 0 .5rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-2); font-weight: 600; font-size: .875rem; color: var(--ink-800); background: var(--surface); }
.sizechip input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--on-dark); }
.sizechip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-halo); }
.filters__actions { padding: .25rem 0 1.25rem; }
.js .filters__actions [data-filter-apply] { display: none; }
.keyline { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .75rem 0 0; font-size: .875rem; color: var(--ink-600); }
.filters-toggle { display: none !important; }
@media (max-width: 960px) {
  .listing__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "filters" "main"; }
  .js .filters-toggle { display: inline-flex !important; }
  .js .filters:not(.is-open) { display: none; }
  .filters { padding: 0 1rem; margin-bottom: 1.25rem; }
  .filters__head { border-bottom: 0; padding-block: .75rem; }
  .js .filters__actions [data-filter-apply] { display: inline-flex; }
}
@media (max-width: 640px) { .toolbar__right { width: 100%; } .toolbar__right .select { flex: 1 1 0; width: 0; } }
.crows { list-style: none; padding: 0; margin: 0; display: grid; gap: .875rem; }
.crow { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(13rem, 16rem); gap: 1rem 1.375rem; padding: 1.125rem 1.375rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-1); transition: box-shadow .2s, border-color .2s; }
.crow:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.crow .ph-media, .crow img.media, .crow .pa-fig { aspect-ratio: 1; align-self: start; }
.crow .ph-media__label { display: none; }
.crow__title { font: 600 1.125rem/1.35 var(--font-display); color: var(--navy-900); letter-spacing: -0.008em; }
.crow__title a { color: var(--navy-900); text-decoration: none; }
.crow__title a:hover { color: var(--navy-700); text-decoration: underline; }
.crow__maker { margin: .25rem 0 .625rem; font-size: var(--fs-meta); color: var(--ink-600); }
.crow__facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; font-size: var(--fs-table); }
.crow__facts > div { display: flex; gap: .375rem; min-width: 0; max-width: 100%; }
.crow__facts dt { color: var(--ink-600); white-space: nowrap; }
.crow__facts dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 47.99em) { .crow__facts dt { white-space: normal; } }
.crow__facts dd { margin: 0; font-weight: 600; font-feature-settings: "kern", "tnum"; }
.crow__claims { display: flex; flex-wrap: wrap; gap: .375rem; margin: .625rem 0 0; }
.crow__price { display: grid; gap: .5rem; align-content: start; justify-items: start; padding-left: 1.375rem; border-left: 1px solid var(--line-soft); }
.crow__fig { margin: 0; font-size: var(--fs-body-sm); color: var(--ink-800); }
.crow__fig strong { font-size: 1.25rem; font-feature-settings: "kern", "tnum"; color: var(--navy-900); }
.crow__fig--muted { color: var(--ink-700); }
.crow__avail { display: inline-flex; align-items: center; gap: .375rem; margin: 0; font-size: .8125rem; color: var(--firm-fg); font-weight: 600; }
.crow__staff { margin: 0; font-size: var(--fs-meta); color: var(--ink-600); }
.crow__cta { margin-top: .25rem; }
@media (max-width: 1080px) { .crow { grid-template-columns: 5.5rem minmax(0, 1fr); } .crow__price { grid-column: 1 / -1; padding: .875rem 0 0; border-left: 0; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; } .crow__cta { margin: 0 0 0 auto; } }
@media (max-width: 520px) { .crow { grid-template-columns: 4.25rem minmax(0, 1fr); padding: 1rem; } .crow__cta { margin: 0; width: 100%; } }
.need-else h2 { font-size: 1.125rem; font-family: var(--font-sans); color: var(--ink-900); font-weight: 600; }
.need-else p { font-size: var(--fs-body-sm); color: var(--ink-700); margin: 0 0 .5rem; }
.catalog-legend { padding: 1.25rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--paper-50); }

/* Tabs (quote requests) */
.tabs { margin-bottom: var(--grid-gap); border-bottom: 1px solid var(--line); }
.tabs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 .25rem; padding: 0; margin: 0; }
.tabs a { display: inline-flex; align-items: center; gap: .25rem; min-height: 50px; padding: 0 1rem; color: var(--ink-800); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--navy-700); text-decoration: underline; }
.tabs a[aria-current] { color: var(--navy-900); font-weight: 600; border-bottom-color: var(--brass-500); }
.tabs__n { color: var(--ink-600); font-weight: 400; }

/* Quote detail */
.quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--s-6); padding-top: .75rem; align-items: start; }
.quote__main { grid-column: 1 / span 8; min-width: 0; }
.quote__side { grid-column: 9 / -1; display: grid; gap: var(--grid-gap); min-width: 0; position: sticky; top: 1rem; }
.quote__head { margin-bottom: var(--s-5); }
.quote__head h1 { margin: .5rem 0 .5rem; }
.quote__meta { margin: 0; color: var(--ink-700); font-size: var(--fs-body-sm); }
.quote__valid { color: var(--ink-900); }
.quote__synthetic { margin: .625rem 0 0; font-size: var(--fs-meta); color: var(--ink-600); }
.quote-lines { margin-bottom: var(--s-5); }
.ltable { font-size: var(--fs-table); }
.ltable--void tbody td, .ltable--void tbody th { color: var(--ink-600); }
.ltable--void tbody td.num { text-decoration: line-through; text-decoration-color: var(--line-strong); }
.ltable__product a { font-weight: 600; }
.ltable__pack { min-width: 12rem; }
.ltable__qty .input { min-height: 44px; }
/* Visually hidden (not display:none) at table widths so each quantity keeps its name: “<product>, S, Cases”. */
.ltable__qty-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltable__total { font-weight: 600; }
.ltable .is-unavailable > * { background: var(--paper-100); }
.sub--warn { color: var(--ind-fg) !important; font-weight: 600 !important; }
.line-marker { margin: 0 0 .75rem; }
.quote-summary { margin: 0 0 var(--s-5); padding: 1.125rem 1.375rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--paper-100); }
.spec--summary > div { grid-template-columns: minmax(10rem, 40%) 1fr; }
.spec--summary .spec__total { border-top: 2px solid var(--rule); }
.spec--summary .spec__total dt, .spec--summary .spec__total dd { font-weight: 700; color: var(--ink-900); font-size: 1rem; }
.quote-form .form-group { margin-top: var(--s-6); }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.quote-fields > legend { grid-column: 1 / -1; }
.quote-fields .field { margin-bottom: 1.25rem; }
.quote-fields .field:has(textarea), .quote-fields .field--checkbox { grid-column: 1 / -1; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-start; margin: var(--s-5) 0 var(--s-3); }
.confirm { display: inline-block; }
.confirm > summary { list-style: none; }
.confirm > summary::-webkit-details-marker { display: none; }
.confirm[open] { display: block; flex: 1 1 100%; }
.confirm[open] > summary { margin-bottom: .75rem; }
.confirm__body { display: grid; gap: 1rem; max-width: 40rem; padding: 1.25rem 1.375rem; border: 1px solid var(--line); border-left: 4px solid var(--navy-700); border-radius: var(--r-3); background: var(--surface); box-shadow: var(--shadow-2); }
.confirm__body p { margin: 0; font-size: var(--fs-body-sm); max-width: var(--measure); }
.confirm--accept .confirm__body { border-left-color: var(--firm-line); }
.quote__prev { margin: var(--s-4) 0 0; font-size: var(--fs-body-sm); }
.quote__prev a { display: inline-block; padding-block: .25rem; }
.status-card__chip { margin: 0 0 .625rem; }
.status-card__explain { margin: 0 0 .75rem; font-size: var(--fs-body-sm); color: var(--ink-800); }
.status-card__valid { display: flex; gap: .5rem; align-items: center; margin: 0 0 .75rem; font-weight: 600; font-size: var(--fs-body-sm); }
.status-card__valid .icon { color: var(--brass-700); }
.status-card__next { display: grid; gap: .25rem; margin: 0; padding-top: .75rem; border-top: 1px solid var(--line-soft); font-weight: 600; }
@media (max-width: 1080px) { .quote__main, .quote__side { grid-column: 1 / -1; } .quote__side { position: static; } }
@media (max-width: 760px) {
  .ltable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ltable, .ltable tbody, .ltable tr, .ltable th, .ltable td { display: block; }
  .ltable tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .375rem 1rem; padding: .875rem 0; border-bottom: 1px solid var(--line-soft); }
  .ltable tbody tr > * { padding: 0 !important; border: 0 !important; text-align: left !important; }
  .ltable tbody tr:last-child { border-bottom: 2px solid var(--rule); }
  .ltable .ltable__product { grid-column: 1 / -1; }
  .ltable td[data-label]::before { content: attr(data-label) ": "; display: block; font-size: var(--fs-overline); color: var(--ink-600); font-weight: 400; }
  .ltable .ltable__pack { min-width: 0; grid-column: 1 / -1; }
  .ltable__qty-label { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: block; font-size: var(--fs-overline); color: var(--ink-600); }
  .ltable .ltable__state { grid-column: 1 / -1; }
  .quote-fields { grid-template-columns: 1fr; }
}

/* Documents page, account page */
.doc-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: .75rem 1rem; align-items: end; margin-bottom: var(--grid-gap); padding: 1.25rem 1.375rem; border: 1px solid var(--line-soft); border-radius: var(--r-3); background: var(--paper-100); }
.doc-filter .field { margin: 0; }
.doc-filter__actions { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 760px) { .doc-filter { grid-template-columns: 1fr; } }
.docs-grid { display: grid; gap: var(--grid-gap); }
.docs-grid .docs-section + .docs-section { margin-top: 1.5rem; }
.acct { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: start; }
.acct__main { grid-column: 1 / span 7; display: grid; gap: var(--grid-gap); min-width: 0; }
.acct__side { grid-column: 8 / -1; display: grid; gap: var(--grid-gap); min-width: 0; }
.gtdi-form--compact .form-submit .btn { min-height: 44px; font-size: 1rem; padding: .625rem 1.125rem; }
@media (max-width: 1080px) { .acct__main, .acct__side { grid-column: 1 / -1; } }

/* ---------- 9. Forms pages (request account, contact, suppliers, portal contact) ---------- */
.site-main--form { background: var(--surface); }
.req { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--s-6); padding-block: clamp(1rem, .5rem + 2vw, 2rem) var(--section-y); align-items: start; }
.req__head { grid-column: 1 / span 7; }
.req__head h1 { margin: .5rem 0 1rem; }
.req__head .lead { margin-bottom: 1rem; }
.req__jump { display: none; }
.req__form { grid-column: 1 / span 7; }
.req__aside { grid-column: 9 / -1; grid-row: 1 / span 2; display: grid; gap: 1rem; align-self: start; position: sticky; top: 1.5rem; }
.measure-form { max-width: 40rem; }
.measure-form > h2, .contact-form > h2 { margin-bottom: var(--s-6); }
/* Suppliers: section heading in the left column, the form sheet on the right (the editorial split). */
@media (min-width: 1081px) {
  .measure-form { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--grid-gap); align-items: start; }
  .measure-form > * { grid-column: 2; max-width: 44rem; }
  .measure-form > h2 { position: relative; grid-column: 1; grid-row: 1 / span 2; max-width: 14ch; padding-top: var(--s-6); border-top: 1px solid var(--line); }
  .measure-form > h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 4rem; height: 2px; background: var(--brass-500); }
}
/* Contact: the message form beside the "Call or email" card (content classes from tools/content). */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-7) clamp(1.5rem, 4vw, 4rem); align-items: start; }
.contact-aside { position: sticky; top: 1.5rem; margin: 0 !important; }
.contact-aside .aside-card { box-shadow: var(--shadow-1); }
.contact-list { list-style: none; padding: 0 !important; display: grid; gap: .5rem; }
.contact-list li { margin: 0 !important; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--ink-800); }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; max-width: 40rem; } }
.req__talk { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); color: var(--ink-700); }
/* Request-account page: the block content supplies .req__aside (cards) and the form */
.req--page .req__body { display: contents; }
.req--page .req__body > .req__aside { grid-column: 9 / -1; grid-row: 1 / span 2; }
.req--page .req__body > .form-wrap { grid-column: 1 / span 7; grid-row: 2; max-width: 40rem; }
/* The form sheet: the form sits on a white sheet with a navy key line, over the page. */
.form-wrap { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-2); }
.form-wrap::before { content: ""; position: absolute; left: clamp(1.5rem, 1rem + 2vw, 2.5rem); top: -1px; width: 4rem; height: 3px; background: var(--navy-900); }
.form-wrap .form-group:last-of-type { margin-bottom: var(--s-6); }
.aside-card { padding: 1.375rem 1.5rem 1.5rem; }
.aside-card h2 { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.0625rem; letter-spacing: -0.01em; margin-bottom: .875rem; font-weight: 600; }
.aside-card > * + * { margin-top: .75rem; }
.aside-card p { font-size: var(--fs-body-sm); color: var(--ink-800); }
.qual { list-style: none; display: grid; gap: .625rem; padding: 0 !important; }
.qual li { position: relative; padding-left: 1.75rem; font-size: var(--fs-body-sm); line-height: 1.45; color: var(--ink-800); margin: 0 !important; }
.qual li::before { content: ""; position: absolute; left: .125rem; top: .25rem; width: .75rem; height: .45rem; border-left: 2px solid var(--firm-fg); border-bottom: 2px solid var(--firm-fg); transform: rotate(-45deg); }
.not-mean { font-size: var(--fs-meta); color: var(--ink-600); line-height: 1.5; margin: .875rem 0 0; padding-top: .875rem; border-top: 1px solid var(--line-soft); }
.arrival { display: flex; gap: .625rem; align-items: flex-start; margin: 1rem 0 0; padding: .9375rem 1.125rem; border: 1px solid var(--firm-line); border-left-width: 4px; border-radius: var(--r-2); background: var(--firm-bg); font-size: var(--fs-body-sm); }
.arrival .icon { color: var(--firm-fg); margin-top: .15rem; }
.arrival p { margin: 0; }
@media (max-width: 1080px) {
  .req__head, .req__aside, .req__form, .req--page .req__body > .req__aside, .req--page .req__body > .form-wrap { grid-column: 1 / -1; grid-row: auto; }
  .req__aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .req__jump { display: inline-flex; margin-top: .25rem; }
}
@media (max-width: 680px) { .req__aside { grid-template-columns: 1fr; } .form-wrap { padding: 1.25rem 1rem; border-radius: var(--r-2); } .form-wrap::before { left: 1rem; } }

/* ---------- 10. Result pages (received, access required, not found) ---------- */
.result { padding-block: clamp(2rem, 1.25rem + 3.5vw, 4.5rem) var(--section-y); }
.result__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--s-7); }
.result__main { grid-column: 1 / span 7; min-width: 0; }
.result__side { grid-column: 9 / -1; display: grid; gap: 1rem; align-content: start; }
.result__mark { width: 4rem; height: 4rem; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; margin-bottom: 1.5rem; box-shadow: 0 0 0 6px var(--paper-100); }
.result__mark .icon { width: 1.75rem; height: 1.75rem; }
.result__mark--ok { color: var(--firm-fg); background: var(--firm-bg); }
.result__mark--lock { color: var(--navy-900); background: var(--blue-50); }
.result__mark--muted { color: var(--ink-600); background: var(--paper-100); }
.result h1 { margin-bottom: 1rem; max-width: 22ch; }
.result__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-800); max-width: 52ch; }
.result__subhead { font-family: var(--font-sans); color: var(--ink-900); font-size: 1.1875rem; letter-spacing: -0.014em; margin: 2rem 0 .25rem; font-weight: 600; }
.result .btn-row { margin-top: 1.5rem; }
.result__body { margin-top: 1.5rem; }
.result__links { margin-top: 2rem; max-width: 36rem; }
.refno { display: inline-flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin: 0 0 1.25rem; padding: .875rem 1.125rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--paper-50); }
.refno span { font-size: var(--fs-meta); color: var(--ink-600); }
.refno strong { font: 600 1.375rem/1.2 var(--font-sans); letter-spacing: .01em; color: var(--navy-900); }
.public-list { list-style: none; border-top: 2px solid var(--rule); padding: 0; margin: 0; }
.public-list li { border-bottom: 1px solid var(--line-soft); }
.public-list a { display: grid; grid-template-columns: 1fr auto; gap: .125rem 1rem; padding: .9375rem 0; text-decoration: none; color: var(--ink-900); }
.public-list a strong { font-weight: 600; }
.public-list a span { grid-column: 1; font-size: var(--fs-body-sm); color: var(--ink-700); }
.public-list a .icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--navy-700); }
.public-list a:hover strong { color: var(--navy-700); text-decoration: underline; }
@media (max-width: 1080px) { .result__main, .result__side { grid-column: 1 / -1; } }

/* ---------- 11. Sign-in pages: form sheet + a navy aside with the monogram ---------- */
.site-main--auth { position: relative; isolation: isolate; background-color: var(--surface); }
.site-main--auth::before { content: ""; position: absolute; inset: 0 0 auto; height: 30rem; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, var(--paper-100), var(--surface)); }
.auth { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--s-6); padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) var(--section-y); align-items: start; }
.auth__main { grid-column: 1 / span 6; }
.auth__main h1 { margin: .5rem 0 1.25rem; max-width: 20ch; }
.auth__main .lead { margin-bottom: 1.25rem; }
.auth__intro { margin-bottom: 1.25rem; }
.auth__card { position: relative; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-2); }
.auth__card::before { content: ""; position: absolute; left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); top: -1px; width: 4rem; height: 3px; background: var(--navy-900); }
.auth__aside { grid-column: 8 / -1; }
.auth__aside .aside-card { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark-2); box-shadow: var(--shadow-2); }
.auth__aside .aside-card h2 { color: var(--on-dark); font: 600 1.375rem/1.25 var(--font-display); }
.auth__aside .aside-card p { color: var(--on-dark-2); }
.auth__aside .aside-card a:not(.btn) { color: var(--on-dark); }
.auth__aside .aside-card .btn--primary { background: var(--surface); color: var(--navy-900); }
.auth__aside .aside-card .btn--primary:hover { background: var(--blue-100); color: var(--navy-900); }
.auth__aside .aside-card .not-mean { color: var(--on-dark-3); border-top-color: var(--on-dark-line); }
.auth__aside .aside-card :focus-visible { outline-color: var(--on-dark); box-shadow: 0 0 0 2px var(--navy-900); }
.auth__aside .aside-card .ph { background: var(--on-dark-ph-bg); border-color: var(--on-dark-ph-line); color: var(--on-dark); }
.auth__links { margin: 1rem 0 .375rem; font-weight: 600; }
.auth__context { margin: 0 0 1.25rem; display: grid; gap: .25rem; }
.auth__context > div { display: flex; gap: .5rem; flex-wrap: wrap; }
.auth__context dt { color: var(--ink-600); }
.auth__context dd { margin: 0; font-weight: 600; }
.pw-meter { margin: .25rem 0 0; font-size: var(--fs-meta); font-weight: 600; color: var(--ink-700); }
@media (max-width: 960px) { .auth__main, .auth__aside { grid-column: 1 / -1; } }

/* ---------- 12. Guides and policies ---------- */
.guide-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); padding: 0 !important; margin: 0; max-width: none !important; }
.guide-card { margin: 0 !important; }
.guide-card article { position: relative; height: 100%; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-1); transition: box-shadow .2s, border-color .2s; }
.guide-card article::before { content: ""; position: absolute; left: 1.5rem; top: -1px; width: 3rem; height: 3px; background: var(--brass-500); }
.guide-card article:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.guide-card__n { font: 600 .9375rem/1 var(--font-display); color: var(--brass-700); font-feature-settings: "lnum"; }
.guide-card__title { font: 600 1.1875rem/1.3 var(--font-display); color: var(--navy-900); letter-spacing: -0.008em; }
.guide-card__title a { color: var(--navy-900); text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; }
.guide-card__title a:hover { color: var(--navy-700); text-decoration: underline; }
.guide-card__title a:focus-visible { outline: none; box-shadow: none; }
.guide-card article:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.guide-card p { font-size: var(--fs-body-sm); color: var(--ink-700); margin: 0; }
.guide-card .link-arrow { margin-top: auto; font-size: .9375rem; }
@media (max-width: 1080px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .guide-cards { grid-template-columns: 1fr; } }
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(2rem, 1rem + 4vw, 5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-bottom: var(--section-y); align-items: start; }
.article__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; margin: 0 0 2rem; font-size: var(--fs-meta); color: var(--ink-600); }
.article__meta .icon { width: 1rem; height: 1rem; }
.article__body { grid-column: 1; min-width: 0; }
.article__aside { grid-column: 2; display: grid; gap: 1rem; position: sticky; top: 1.5rem; }
.article__aside .guide-cards { grid-template-columns: 1fr; }
.article__aside .guide-card p { display: none; }
.article-head h1 { max-width: 28ch; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .article__aside { grid-column: 1; position: static; margin-top: var(--s-7); } }
.entry--policy { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-bottom: var(--section-y); }
.entry--policy > h3 { font-size: 1.1875rem; margin-top: 2.25rem; }
.policy-nav { margin-top: var(--s-8) !important; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.policy-nav h2 { margin-bottom: .5rem; }
.policy-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.proof-fallback { text-decoration: underline dotted var(--proof-line); text-underline-offset: .25em; }

/* ---------- 13. Touch targets and print ---------- */
/* Touch targets: compact 42 px controls are a desktop density; on phones and coarse pointers every
   button, chip link and field is at least 44 px tall (project rule; WCAG 2.5.8 needs 24). */
@media (max-width: 760px), (pointer: coarse) {
  .btn--sm, .cat-chips a, .doc__action, .radio, .opt, .toolbar .select, .draft-indicator, .site-header .menu-toggle { min-height: 44px; }
  .btn-link { display: inline-flex; align-items: center; min-height: 44px; }
  .btn { white-space: normal; text-align: center; }
}

@media print {
  .proto-bar, .pricebox__cta, .qb, .quote-actions, .confirm, .dash__side, .filters, .req__aside, .page-head__art, .specimen__stage { display: none !important; }
  .pdp > *, .quote__main { grid-column: 1 / -1 !important; }
  .page-hero, .band, .hero__specimen::before { background: none !important; }
  .chip--exp { background-image: repeating-linear-gradient(135deg, var(--hatch-exp) 0 1.5px, transparent 1.5px 6px) !important; }
}

/* Five-step process (About: how we work) */
.steps--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) and (min-width: 861px) { .steps--five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; } .steps--five .step:nth-child(3)::after { display: none; } }
@media (max-width: 860px) { .steps--five { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------------------------
 * A34 (2026-10-05) — buyer red-team and ops fixes
 * ------------------------------------------------------------------------------------------- */

/* F-22: segment chooser directly under the home hero (built from the page's own segments). */
.segnav { background: var(--surface); border-top: 1px solid var(--line-soft); padding-block: 1.25rem 1.5rem; }
.segnav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.segnav__label { margin: 0; font-size: var(--fs-overline); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brass-700); }
.segnav__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.segnav__chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .95rem; border: 1.5px solid var(--line-strong); border-radius: var(--r-2); color: var(--ink-900); text-decoration: none; font-weight: 500; font-size: .9375rem; line-height: 1.25; background: var(--surface); }
.segnav__chip .icon { width: 1.125rem; height: 1.125rem; flex: none; color: var(--navy-700); }
.segnav__chip:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--blue-50); }
@media (max-width: 640px) {
  .segnav { padding-block: 1rem 1.25rem; }
  .segnav__list { display: grid; grid-template-columns: 1fr; width: 100%; }
  .segnav__chip { width: 100%; }
}

/* F-18: requested by / issued by; F-05: print button. */
.quote__parties { margin: .375rem 0 0; color: var(--ink-700); font-size: var(--fs-body-sm); }
.quote__tools { margin: .875rem 0 0; }
/* F-04: an indicative quote's "Freight and lead time being confirmed." row. */
.spec--summary .spec__pending dd { color: var(--ind-fg); font-weight: 600; }
/* F-29: documents for this quote; F-13: the document's source beside its type. */
.quote-docs { margin: 0 0 var(--s-5); }
.doc__src { font-weight: 500; color: var(--ink-700); }

/* F-05 / G6: printed (or saved-as-PDF) quote. Screen never shows the print-only parts. */
.print-only { display: none; }
@media print {
  @page { size: letter; margin: 14mm 14mm 16mm; @bottom-right { content: "Page " counter(page) " of " counter(pages); font-size: 8pt; } }
  .print-only { display: block !important; }
  .no-print, .utility, .site-header, .footer, .skip, .crumbs, .quote__side, .quote-actions, .quote-actions + .hint, .quote__tools, .quote .notice, .quote .msg, .quote__prev, .proto-bar, #wpadminbar { display: none !important; }
  body { background: none !important; font-size: 10pt; }
  .site-main--quote .container { max-width: none; padding: 0; }
  .quote { display: block; padding: 0; }
  .quote__main { grid-column: auto; }
  .quote__head { margin-bottom: 10pt; }
  .quote__head h1 { font-size: 17pt; margin: 2pt 0 4pt; }
  .print-head { border-bottom: 2px solid var(--navy-900); padding-bottom: 10pt; margin-bottom: 12pt; }
  .print-head__brand { display: flex; justify-content: space-between; align-items: flex-end; gap: 16pt; }
  .print-head .wordmark { height: 38px; width: auto; display: block; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .print-head__co { text-align: right; }
  .print-head__co p { margin: 0; font-size: 8.5pt; color: var(--ink-700); }
  .print-head__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5pt 18pt; margin: 10pt 0 0; }
  .print-head__facts > div { break-inside: avoid; }
  .print-head__facts dt { font-size: 7.5pt; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); }
  .print-head__facts dd { margin: 0; font-size: 10pt; color: var(--ink-900); }
  .ltable { font-size: 9pt; }
  /* The line table fits the Letter text width: fixed columns, wrapping cells, no scroller. */
  .quote .ltable--priced { width: 100%; table-layout: fixed; }
  .quote .ltable--priced th:nth-child(1) { width: 30%; }
  .quote .ltable--priced th:nth-child(2) { width: 7%; }
  .quote .ltable--priced th:nth-child(3) { width: 19%; }
  .quote .ltable--priced th:nth-child(4) { width: 10%; }
  .quote .ltable--priced th:nth-child(n+5) { width: 11.33%; }
  .quote .ltable th, .quote .ltable td { padding: 4pt 4pt; overflow-wrap: anywhere; }
  .quote .ltable thead th { overflow-wrap: normal; letter-spacing: .02em; }
  .quote .ltable__pack { min-width: 0; }
  .quote .scroller { overflow: visible !important; }
  /* Portal URLs are no use on paper; the print header already names the parties. */
  .quote a[href]::after { content: none !important; }
  .quote__parties { display: none !important; }
  .ltable thead { display: table-header-group; }
  .ltable tr, .spec--summary > div, .doc { break-inside: avoid; }
  .quote-summary { background: none; border: 1px solid var(--line); padding: 8pt 10pt; break-inside: avoid; }
  .quote-docs .doc { grid-template-columns: minmax(0, 1fr); padding: 5pt 0; }
  .quote-docs .doc__icon, .quote-docs .doc__action { display: none; }
  .quote-docs a::after, .print-foot a::after, .print-head a::after { content: none !important; }
  .print-foot { margin-top: 14pt; padding-top: 8pt; border-top: 1px solid var(--line); font-size: 8.5pt; color: var(--ink-700); break-inside: avoid; }
  .print-foot p { margin: 0 0 4pt; }
  .print-foot__safety { font-weight: 600; color: var(--ink-900); }
}

/* A33 → A34: K-18 non-medical label; tags row; where manufacturer documents differ; 510(k) tie note. */
.tag--nonmed { padding: .2rem .55rem; border: 1px solid var(--ink-700); border-radius: var(--r-1); background: var(--surface); color: var(--ink-800); }
.pdp__tags, .pcard__label { display: flex; flex-wrap: wrap; gap: .375rem .5rem; margin: 0; }
.identity .k .k__tie { flex-basis: 100%; font-size: var(--fs-meta); }
.conflicts__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy-900); }
.conflicts__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .625rem; padding: .875rem 0; border-bottom: 1px solid var(--line-cool); font-size: var(--fs-body-sm); color: var(--ink-800); max-width: calc(var(--measure) + 2rem); }
.conflicts__list .icon { width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: var(--ind-line); }
.conflicts__list strong { color: var(--ink-900); }

/* ====================================================================== */
/* Wave 5 (D-020): manufacturer photos, brands, product kinds, policies     */
/* ====================================================================== */

/* Photos: white ground, soft edge; credit line under galleries. */
.media-wrap { position: relative; display: block; min-width: 0; }
.media--photo { display: block; width: 100%; height: auto; background: var(--surface); object-fit: contain; }
.media-wrap--gallery, .media-wrap--hero { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); overflow: hidden; }
.media-wrap--gallery .media--photo { aspect-ratio: 1 / 1; padding: 4%; }
.media-wrap--card .media--photo { aspect-ratio: 4 / 3; padding: 6%; }
.media-wrap--thumb .media--photo { aspect-ratio: 1 / 1; width: 3.5rem; height: 3.5rem; padding: 2px; border: 1px solid var(--line-soft); border-radius: var(--r-1); }
.media-credit { display: block; padding: .5rem .875rem; font-size: var(--fs-meta); color: var(--ink-600); border-top: 1px solid var(--line-soft); background: var(--paper-50); }
.media-credit--dark { position: absolute; left: 0; right: 0; bottom: 0; padding: .375rem .75rem; font-size: var(--fs-meta); color: var(--on-dark-2); background: var(--scrim-on-photo); border: 0; }
.pcard .media-wrap--card { border-bottom: 1px solid var(--line-soft); }
.pcard__media-link { display: block; text-decoration: none; }
.pcard__line { margin: 0; font-size: var(--fs-meta); color: var(--ink-600); }
.pcard .pa-fig { aspect-ratio: 4 / 3; }
.gallery { margin: 0; display: grid; gap: .75rem; }
.gallery__thumbs { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0; }
.gallery__thumbs li { margin: 0 !important; }
.gallery__thumbs .media--thumb { width: 4.5rem; height: 4.5rem; padding: 3px; aspect-ratio: 1 / 1; border: 1px solid var(--line-soft); border-radius: var(--r-1); background: var(--surface); object-fit: contain; }
.pdp__summary { max-width: 62ch; color: var(--ink-700); margin: 0 0 .5rem; }
.pdp__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .25rem; }
.tag--cat { padding: .2rem .6rem; border-radius: var(--r-1); background: var(--paper-100); color: var(--navy-800); text-decoration: none; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.tag--cat:hover { background: var(--paper-200, var(--paper-100)); text-decoration: underline; }
.tag--kind { padding: .2rem .55rem; border-radius: var(--r-1); background: var(--navy-900); color: var(--on-dark); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Hero specimen with the manufacturer photo. */
.specimen__stage--photo { background: var(--surface); border-radius: var(--r-3) var(--r-3) 0 0; overflow: hidden; }
.specimen__photo { display: block; }
.specimen__img { aspect-ratio: 1 / 1; padding: 6%; }
/* The record card overlaps the stage's bottom 2rem, so the hero credit sits as a pill at the top-right of the photo. */
.specimen__stage--photo .media-credit--dark { top: .75rem; right: .75rem; left: auto; bottom: auto; width: auto; max-width: calc(100% - 1.5rem); padding: .3rem .65rem; border-radius: var(--r-1); }
.specimen__cta { margin-left: .5rem; white-space: nowrap; font-weight: 600; }
.specimen figcaption a, .specimen figcaption a:visited { color: var(--on-dark); text-decoration: underline; text-underline-offset: .15em; }
.specimen figcaption a:hover, .specimen figcaption a:focus-visible { color: var(--brass-300); }
/* Copy tables (policy documents) as scroll regions: the figure scrolls, the table keeps its natural width. */
.wp-block-table.scroller { margin: 1.25rem 0 1.75rem; }
.pdp__learn > p { max-width: var(--measure); }
.wp-block-table.scroller > table { min-width: max-content; }

/* Brands band: typographic wordmarks. */
.brands-section .sec-head { margin-bottom: 1.25rem; }
.brands { list-style: none; display: flex; flex-wrap: wrap; gap: .625rem .75rem; padding: 0 !important; margin: 0; }
.brands__item { margin: 0 !important; }
.brands__link, .brands__item > .brands__mark { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .375rem 1rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); text-decoration: none; color: var(--navy-900); }
.brands__link:hover { border-color: var(--navy-700); color: var(--navy-700); text-decoration: none; box-shadow: var(--shadow-1); }
.brands__mark { font: 600 1.0625rem/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.brands__tm { font-size: var(--fs-meta); color: var(--ink-600); margin-top: 1rem !important; }
.table--brands tbody th { width: 16rem; }
.table--brands .brands__mark { font-size: 1.125rem; }

/* Home: eight product groups with photo collages. */
.cats--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat--group { position: relative; }
.cat__media-link { display: block; text-decoration: none; }
.cat__collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; aspect-ratio: 4 / 3; background: var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.cat__collage--1 { grid-template-columns: 1fr; }
.cat__collage--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cat__collage--3 .cat__cell:first-child { grid-row: span 2; }
.cat__cell { display: grid; place-items: center; background: var(--surface); min-width: 0; overflow: hidden; }
.cat__cell .media--photo { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cat__collage--empty, .cat__img--empty { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper-100); color: var(--ink-500); border-bottom: 1px solid var(--line-soft); }
.cat__collage--empty .icon, .cat__img--empty .icon { width: 2.5rem; height: 2.5rem; }
.cat__links { font-size: var(--fs-body-sm); color: var(--ink-600); }
.cat__links a { font-weight: 600; text-decoration: none; color: var(--navy-700); }
.cat__links a:hover { text-decoration: underline; }
.cat h3 a { color: var(--navy-900); text-decoration: none; }
.cat h3 a:hover { color: var(--navy-700); text-decoration: underline; }
.sec-intro { max-width: 64ch; color: var(--ink-700); margin: -.5rem 0 1.5rem !important; }

/* Products hub: grouped category cards with a product photo. */
.cats--hub { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.cat__img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--surface); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.cat__img .media--photo { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cat__img--art .pa { width: 100%; height: 100%; padding: 6% 8% 10%; }
.cat__collage--art { display: block; aspect-ratio: 4 / 3; background: var(--paper-100); border-bottom: 1px solid var(--line-soft); }
.cat__collage--art .pa { display: block; width: 100%; height: 100%; }
.cat__collage--art .pa { padding: 2% 4% 4%; }
.group-block { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.group-block .sec-head { margin-bottom: 1.25rem; }
.group-block .sec-head p { color: var(--ink-700); max-width: 64ch; }

/* Non-glove specification and pack-out tables. */
.table--attrs th[scope="row"] { width: 16rem; }
.table--pack .num { white-space: nowrap; }
.spec-sources { margin-top: 1rem; font-size: var(--fs-meta); color: var(--ink-600); max-width: none; }
.spec-sources a { color: var(--navy-700); }
.link-ext--sm { font-size: .8125rem; margin-left: .25rem; }
.caution { color: var(--ink-900); font-weight: 600; }

/* Attributed claims. */
.claims dd { display: grid; gap: .25rem; }
.claim-attr { font-size: var(--fs-meta); color: var(--ink-600); }
.claim-attr a { color: var(--navy-700); font-weight: 600; }
.claim-attr .icon { width: .875rem; height: .875rem; }

/* Editorial helpers (v4 pages). */
.steps--inline { counter-reset: step; }
.panel--side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: 1.375rem 1.5rem 1.5rem; }
.panel--side > * { margin: 0 0 .75rem !important; }
.panel--side > *:last-child { margin-bottom: 0 !important; }
.panel__contact { font-size: var(--fs-body-sm); }
.panels { align-items: stretch; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.table--copy { margin: .5rem 0 1rem; }
.table--copy tbody td, .table--copy tbody th { font-size: var(--fs-body-sm); }
.table--form tbody td:empty { min-width: 12rem; }
.entry--prose .wp-block-table { margin: 1.25rem 0 1.75rem; overflow-x: auto; }
.faq .sec-body h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.faq .sec-body h3:first-child { margin-top: 0; }
.section--hero-actions { padding-block: 0 clamp(1rem, .5rem + 1vw, 1.5rem); }
.section--hero-actions .wp-block-buttons { margin: 0; }
.card--link h3 a { text-decoration: none; color: var(--navy-900); }
.card--link h3 a:hover { color: var(--navy-700); text-decoration: underline; }
.policy-contact { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-body-sm); color: var(--ink-700); }

/* Footer: policies line and trademark line. */
.footer .footer__legal { display: grid; grid-template-columns: 1fr auto; gap: .625rem 2rem; align-items: start; }
.footer .footer__legal .footer__copy { grid-column: 1; }
.footer .footer__legal .footer__policies { grid-column: 2; grid-row: 1 / span 2; list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.25rem; padding: 0; margin: 0; }
.footer .footer__legal .footer__tm { grid-column: 1; }
@media (max-width: 900px) { .footer .footer__legal { grid-template-columns: 1fr; } .footer .footer__legal .footer__policies { grid-column: 1; grid-row: auto; justify-content: flex-start; } }
.footer__policies li { margin: 0 !important; }
.footer__plink { color: var(--on-dark-2); font-size: .875rem; text-decoration: none; }
.footer__plink:hover { color: var(--on-dark); text-decoration: underline; }
.footer__tm { font-size: .8125rem; color: var(--on-dark-3, var(--on-dark-2)); margin: 0; }
.trust-band__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
	.cats--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cats--hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.cats--home, .cats--hub { grid-template-columns: 1fr; }
	.trust-band__list { grid-template-columns: 1fr; }
	.table--attrs th[scope="row"], .table--brands tbody th { width: auto; }
	.brands__link, .brands__item > .brands__mark { min-height: 2.5rem; padding: .25rem .75rem; }
	.brands__mark { font-size: .9375rem; }
	.specimen__cta { display: block; margin: .5rem 0 0; }
}

/* Category page head: product photo instead of the render. */
.page-art--photo { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-3); overflow: hidden; max-width: 30rem; margin-left: auto; }
.page-art--photo .page-art__img { aspect-ratio: 4 / 3; padding: 5%; }
.page-art--photo .media-credit { border-top: 1px solid var(--line-soft); }
@media (max-width: 900px) { .page-art--photo { max-width: 22rem; margin: 0; } }

/* Catalog pager (gtdi-core pages the portal catalog; the theme asks for 100 per page). */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin: 1.25rem 0 0; }
.pager li { margin: 0 !important; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); color: var(--navy-900); text-decoration: none; font-weight: 600; }
.pager a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.pager a:hover { border-color: var(--navy-700); }
