/* ==========================================================================
   Product data sheets (inc/datasheet*.php, datasheet.js)

   Two voices: IBM Plex Sans for claims, Lilex for anything measurable or
   stamped (standards, model codes, units, § clause numbers, FIG numbers).
   Everything is flat KDL: white surfaces, 1px hairlines, 4px radius.
   ========================================================================== */

/* IBM Plex Sans Condensed 700, Latin subset (SIL OFL 1.1): category H1s. */
@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/ibm-plex-sans-condensed-700.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2122;
}

/* Category H1 (/products/ and the family pages that list products): the
   condensed cut echoes the UPTON wordmark. Leaf data sheets keep 44px. */
.page-header--category .page-header__title {
  font-family: "IBM Plex Sans Condensed", var(--kdl-font-sans);
  font-size: clamp(3.25rem, 2.5rem + 5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 0.98;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   The spec voice
   -------------------------------------------------------------------------- */
.datasheet .spec,
.downloads .spec,
.quote-plate .spec {
  color: var(--kdl-text-strong);
  font-family: var(--kdl-font-mono);
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: nowrap;
}
a .spec,
a.spec {
  color: inherit;
}

/* --------------------------------------------------------------------------
   Clauses: red Lilex § numbers on the prose sections (screen readers skip
   them: alt text ""), a ¶ button that copies the section link, and a
   copper flash on the rule of the section you arrive at.
   -------------------------------------------------------------------------- */
.datasheet {
  counter-reset: clause;
}
.datasheet > h2:not(.datasheet-signoff) {
  counter-increment: clause;
}
.datasheet > h2:not(.datasheet-signoff)::before {
  color: var(--kdl-accent-600);
  content: "§" counter(clause, decimal-leading-zero);
  content: "§" counter(clause, decimal-leading-zero) / "";
  display: block;
  font: 500 0.8125rem / 1.2 var(--kdl-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin-bottom: 0.45em;
}

.datasheet-anchor {
  align-items: center;
  background: none;
  border: 0;
  border-radius: var(--kdl-radius-sm);
  color: var(--kdl-text-muted);
  cursor: pointer;
  display: inline-flex;
  font: 400 1rem / 1 var(--kdl-font-mono);
  height: 1.75em;
  justify-content: center;
  margin-left: 0.2em;
  padding: 0;
  position: relative;
  vertical-align: 0.05em;
  width: 1.75em;
}
.datasheet-anchor:hover {
  color: var(--kdl-copper-700);
}
.datasheet-anchor.is-copied::after {
  background: var(--kdl-gray-800);
  border-radius: 2px;
  color: var(--kdl-gray-50);
  content: "Link copied";
  content: "Link copied" / "";
  font: 500 11px / 1 var(--kdl-font-mono);
  left: 100%;
  letter-spacing: 0.08em;
  margin-left: 6px;
  padding: 5px 7px;
  position: absolute;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .datasheet-anchor {
    opacity: 0;
    transition: opacity var(--kdl-dur-fast) var(--kdl-ease-standard);
  }
  h2:hover > .datasheet-anchor,
  .datasheet-anchor:focus-visible,
  .datasheet-anchor.is-copied {
    opacity: 1;
  }
}
@media (pointer: coarse) {
  .datasheet-anchor {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .datasheet > h2:target:not(:first-child),
  .datasheet > h2:target:not(:first-child) + *,
  .datasheet > div:has(> h2:target) {
    animation: datasheet-arrive 2.4s var(--kdl-ease-decel) 1;
  }
}
@keyframes datasheet-arrive {
  0%,
  30% {
    border-top-color: var(--kdl-copper-500);
    box-shadow: inset 0 1px 0 var(--kdl-copper-500);
  }
  100% {
    border-top-color: var(--kdl-border-default);
    box-shadow: inset 0 1px 0 transparent;
  }
}

/* The shared closing boilerplate: an unnumbered, quiet sign-off. */
.datasheet > h2.datasheet-signoff {
  color: var(--kdl-text-muted);
  font-size: 0.9375rem;
  letter-spacing: 0;
}
.datasheet > p.datasheet-signoff {
  color: var(--kdl-gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Figures and the lightbox
   -------------------------------------------------------------------------- */
.entry-content > .datasheet-figure,
.datasheet-photos > .datasheet-figure,
.datasheet-figure {
  margin: 0 0 1.25em;
  max-width: min(100%, var(--datasheet-fig-w, 26rem));
}
.datasheet-figure__zoom {
  appearance: none;
  background: var(--kdl-surface-raised);
  border: 1px solid var(--kdl-border-subtle);
  border-radius: var(--kdl-radius-sm);
  color: inherit;
  cursor: zoom-in;
  display: block;
  font: inherit;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}
.datasheet-figure__img {
  display: block;
  height: auto;
  width: 100%;
}
.datasheet-figure__enlarge {
  align-items: center;
  background: var(--kdl-surface-base);
  border: 1px solid var(--kdl-border-default);
  border-radius: var(--kdl-radius-sm);
  bottom: 8px;
  color: var(--kdl-text-default);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 8px;
  transition: border-color var(--kdl-dur-base) var(--kdl-ease-standard), color var(--kdl-dur-base) var(--kdl-ease-standard);
  width: 32px;
}
.datasheet-figure__zoom:hover .datasheet-figure__enlarge,
.datasheet-figure__zoom:focus-visible .datasheet-figure__enlarge {
  border-color: var(--kdl-copper-500);
  color: var(--kdl-copper-700);
}
.datasheet-figure__zoom:focus-visible {
  outline: 2px solid var(--kdl-copper-500);
  outline-offset: 2px;
}
.datasheet-figure__caption {
  color: var(--kdl-text-default);
  font: 500 var(--kdl-fs-caption) / 1.45 var(--kdl-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  margin-top: var(--kdl-space-2);
  text-transform: uppercase;
}
.datasheet-figure__no {
  color: var(--kdl-text-strong);
}
.datasheet-figure__sep {
  color: var(--kdl-text-muted);
}

.datasheet-lightbox {
  background: transparent;
  border: 0;
  color: var(--kdl-gray-50);
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: 100%;
}
.datasheet-lightbox::backdrop {
  background: rgba(10, 13, 17, 0.92);
}
.datasheet-lightbox__inner {
  box-sizing: border-box;
  display: grid;
  gap: var(--kdl-space-3);
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  padding: var(--kdl-space-3) var(--kdl-space-3) var(--kdl-space-5);
}
.datasheet-lightbox__bar {
  align-items: center;
  display: flex;
  gap: var(--kdl-space-3);
  justify-content: space-between;
}
.datasheet-lightbox__caption {
  color: var(--kdl-gray-100);
  font: 500 var(--kdl-fs-caption) / 1.4 var(--kdl-font-mono);
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}
.datasheet-lightbox__close {
  align-items: center;
  background: var(--kdl-gray-800);
  border: 1px solid var(--kdl-gray-500);
  border-radius: var(--kdl-radius-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.datasheet-lightbox__close:hover {
  border-color: var(--kdl-copper-300);
}
.datasheet-lightbox__close:focus-visible {
  outline: 2px solid var(--kdl-copper-300);
  outline-offset: 2px;
}
.datasheet-lightbox__stage {
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
}
.datasheet-lightbox__img {
  background: var(--kdl-gray-800);
  border-radius: 2px;
  height: auto;
  max-height: calc(100dvh - 96px);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}
html:has(dialog[open].datasheet-lightbox) {
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .datasheet-lightbox[open] .datasheet-lightbox__stage {
    animation: datasheet-lightbox-in 240ms var(--kdl-ease-decel);
  }
}
@keyframes datasheet-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}

/* --------------------------------------------------------------------------
   Register sections: Processes, Wear parts, Photos, Spare parts. Like
   Downloads, the heading sits in the rail and the content beside it.
   -------------------------------------------------------------------------- */
:is(.process-register, .wear-parts, .datasheet-photos, .spare-parts) {
  clear: both;
  margin: var(--upton-block-gap) 0 0;
}
:is(.process-register, .wear-parts, .datasheet-photos, .spare-parts) > h2 {
  color: var(--kdl-text-strong);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}
@media (min-width: 1000px) {
  .entry-content:has(> h2) > :is(.process-register, .wear-parts, .datasheet-photos, .spare-parts) {
    align-items: start;
    border-top: 1px solid var(--kdl-border-default);
    column-gap: var(--upton-rail-gap);
    display: grid;
    grid-column: rail-start / text-end;
    grid-template-columns: subgrid;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .entry-content:has(> h2) > :is(.process-register, .wear-parts, .datasheet-photos, .spare-parts) > * {
    grid-column: text;
  }
  .entry-content:has(> h2) > :is(.process-register, .wear-parts, .datasheet-photos, .spare-parts) > h2 {
    grid-column: rail;
    margin: 0;
  }
}

/* Flat stamps: Lilex caps, 1px hairline, a copper KDL notch (§3.2) and a
   heat stripe that runs out along the bottom edge on hover and focus. */
.process-register__list,
.wear-parts__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--kdl-space-2);
  list-style: none;
  margin: 0;
  max-width: var(--upton-measure);
  padding: 0;
}
.process-register__list li,
.wear-parts__list li {
  margin: 0;
}
.process-stamp,
.wear-parts__part {
  align-items: center;
  background: var(--kdl-surface-base);
  border: 1px solid color-mix(in oklab, var(--heat-c) calc(var(--heat) * 100%), var(--kdl-border-default));
  border-radius: 2px;
  color: var(--kdl-text-strong);
  display: inline-flex;
  font: 500 var(--kdl-fs-caption) / 1.2 var(--kdl-font-mono);
  gap: 0.6em;
  letter-spacing: 0.1em;
  min-height: 36px;
  overflow: hidden;
  padding: 8px 12px 9px 16px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: --heat var(--upton-heat-cool) var(--upton-heat-cool-ease);
}
.process-stamp::before,
.wear-parts__part::before {
  background: var(--kdl-copper-500);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 0;
  width: 8px;
}
.process-stamp::after,
.wear-parts__part::after {
  background: var(--heat-c);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(var(--heat-len));
  transform-origin: left center;
}
.process-stamp:focus-visible,
.wear-parts__part:focus-visible {
  --heat: 1;
  transition-duration: var(--upton-heat-rise);
  transition-timing-function: var(--upton-heat-rise-ease);
}
@media (hover: hover) {
  .process-stamp:hover,
  .wear-parts__part:hover {
    --heat: 1;
    color: var(--kdl-text-strong);
    transition-duration: var(--upton-heat-rise);
    transition-timing-function: var(--upton-heat-rise-ease);
  }
}
@media (pointer: coarse) {
  .process-stamp,
  .wear-parts__part {
    min-height: 44px;
  }
}
.wear-parts__part {
  font-family: var(--kdl-font-sans);
  font-size: var(--kdl-fs-small);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.wear-parts__lede {
  margin: 0 0 var(--kdl-space-3);
  max-width: var(--upton-measure);
}
.wear-parts__more {
  margin: var(--kdl-space-3) 0 0;
}
.wear-parts__more a {
  color: var(--kdl-text-strong);
  font-weight: 600;
  text-decoration-color: var(--kdl-copper-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.wear-parts__more a::after {
  content: " →";
  content: " →" / "";
}

/* --------------------------------------------------------------------------
   The end of the sheet: Furnace + Salt card.
   -------------------------------------------------------------------------- */
.datasheet > .family-card {
  margin-top: var(--upton-block-gap);
}

/* --------------------------------------------------------------------------
   The frame and the work-order plate
   -------------------------------------------------------------------------- */
.datasheet-frame {
  container: datasheet / inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.quote-plate {
  align-content: start;
  background: var(--kdl-surface-base);
  border: 1px solid var(--kdl-border-default);
  border-radius: var(--kdl-radius-sm);
  color: var(--kdl-text-default);
  display: grid;
  font-size: var(--kdl-fs-small);
  gap: var(--kdl-space-4);
  line-height: 1.4;
  margin-top: var(--upton-block-gap);
  max-width: var(--upton-measure);
  padding: var(--kdl-space-5);
}
@media (min-width: 1000px) {
  .datasheet-frame:has(> .datasheet > h2) > .quote-plate {
    margin-left: calc(var(--upton-rail) + var(--upton-rail-gap));
  }
}
.quote-plate__head {
  display: grid;
  gap: var(--kdl-space-2);
}
.quote-plate__label {
  color: var(--kdl-text-muted);
  font: 500 var(--kdl-fs-eyebrow) / 1.35 var(--kdl-font-mono);
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}
.quote-plate__model {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--kdl-space-3);
  margin: 0;
}
.quote-plate__model dt {
  color: var(--kdl-text-muted);
  font: 500 var(--kdl-fs-eyebrow) / 1.3 var(--kdl-font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote-plate__model dd {
  color: var(--kdl-text-strong);
  font: 500 1rem / 1.3 var(--kdl-font-mono);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.quote-plate__quote {
  justify-content: flex-start;
}
.quote-plate__actions {
  display: grid;
  gap: var(--kdl-space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.quote-plate__actions > li {
  margin: 0;
}
.quote-plate__act {
  align-items: flex-start;
  color: var(--kdl-text-strong);
  display: flex;
  font-weight: 500;
  gap: var(--kdl-space-2);
  margin: 0;
  min-height: 32px;
  padding: 6px 0;
  text-decoration: none;
}
a.quote-plate__act:hover,
a.quote-plate__act:focus-visible {
  color: var(--kdl-text-strong);
  text-decoration: underline;
  text-decoration-color: var(--kdl-copper-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.quote-plate__icon {
  color: var(--kdl-gray-500);
  flex: none;
  margin-top: 1px;
}
a.quote-plate__act:hover .quote-plate__icon {
  color: var(--kdl-copper-500);
}
.quote-plate__files {
  display: flex;
  flex-wrap: wrap;
  gap: var(--kdl-space-1) var(--kdl-space-3);
  list-style: none;
  margin: 0 0 var(--kdl-space-1);
  padding: 0 0 0 calc(16px + var(--kdl-space-2));
}
.quote-plate__files li {
  margin: 0;
}
.quote-plate__files a {
  color: var(--kdl-text-strong);
  display: inline-block;
  padding: 2px 0;
  text-decoration: underline;
  text-decoration-color: var(--kdl-border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.quote-plate__files a:hover,
.quote-plate__files a:focus-visible {
  text-decoration-color: var(--kdl-copper-500);
}
@media (pointer: coarse) {
  .quote-plate__act,
  .quote-plate__files a {
    min-height: 44px;
  }
  .quote-plate__files a {
    align-items: center;
    display: inline-flex;
  }
}

/* The index shows only in the rail (below). */
.quote-plate__index {
  display: none;
}
.quote-plate__index-title {
  color: var(--kdl-text-muted);
  font: 500 var(--kdl-fs-eyebrow) / 1.2 var(--kdl-font-mono);
  letter-spacing: 0.12em;
  margin: 0 0 var(--kdl-space-2);
  text-transform: uppercase;
}
.quote-plate__index ol {
  box-shadow: inset 2px 0 0 var(--kdl-border-subtle);
  list-style: none;
  margin: 0;
  padding: 0;
}
.quote-plate__index li {
  margin: 0;
}
.quote-plate__index a {
  color: var(--kdl-gray-500);
  display: grid;
  font-size: 13px;
  gap: 2px;
  grid-template-columns: 22px minmax(0, 1fr);
  line-height: 1.3;
  padding: 4px 4px 4px 12px;
  text-decoration: none;
}
.quote-plate__index a:hover {
  background: var(--kdl-surface-raised);
  color: var(--kdl-text-strong);
}
.quote-plate__index a[aria-current] {
  box-shadow: inset 3px 0 0 var(--kdl-copper-500);
  color: var(--kdl-text-strong);
  font-weight: 600;
}
.datasheet-index__no {
  color: var(--kdl-text-muted);
  font: 500 11.5px / 1.5 var(--kdl-font-mono);
  font-variant-numeric: tabular-nums;
}
.quote-plate__index a[aria-current] .datasheet-index__no {
  color: var(--kdl-copper-700);
}

/* Inline, wide enough: name and model beside the quote button. */
@container datasheet (min-width: 560px) {
  .quote-plate {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .quote-plate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--kdl-space-1) var(--kdl-space-5);
    grid-column: 1 / -1;
  }
}

/* The rail: a 1240px-wide data sheet has an empty third column; the plate
   rides in it, sticky under the header. Full-width items stop at the text. */
@container datasheet (min-width: 1240px) {
  .datasheet-frame--plate:has(> .datasheet > h2) > .datasheet,
  .datasheet-frame--plate:has(> .datasheet > h2) > .quote-plate {
    grid-area: 1 / 1;
  }
  .datasheet-frame--plate:has(> .datasheet > h2) > .quote-plate {
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: var(--kdl-space-3);
    justify-self: end;
    margin: 0;
    max-height: calc(100vh - 120px - 3rem);
    max-width: none;
    padding: var(--kdl-space-4);
    position: sticky;
    top: calc(120px + 1.5rem);
    width: calc(100% - var(--upton-rail) - var(--upton-measure) - 2 * var(--upton-rail-gap));
    z-index: 1;
  }
  .datasheet-frame--plate:has(> .datasheet > h2) .quote-plate__actions {
    display: grid;
    gap: 0;
  }
  .datasheet-frame--plate:has(> .datasheet > h2) .quote-plate__quote {
    justify-content: flex-start;
    width: 100%;
  }
  .datasheet-frame--plate:has(> .datasheet > h2) .quote-plate__index {
    border-top: 1px solid var(--kdl-border-subtle);
    display: block;
    min-height: 0;
    overflow-y: auto;
    padding-top: var(--kdl-space-3);
  }
  .datasheet-frame--plate > .datasheet > :is(hr, .gallery, table, .wp-block-table, .alignwide, .alignfull) {
    grid-column: rail-start / text-end;
  }
}
.admin-bar .quote-plate {
  top: calc(152px + 1.5rem);
}

/* --------------------------------------------------------------------------
   The pocket strip (below 1000px): sticky section pills under the mobile
   bar, a 3px reading gauge along the bottom, tucked while scrolling down.
   -------------------------------------------------------------------------- */
.datasheet-pocket {
  display: none;
}
@media (max-width: 999px) {
  html:has(.datasheet-pocket) {
    scroll-padding-top: 116px;
  }
  .datasheet-pocket {
    background: var(--kdl-surface-base);
    border-bottom: 1px solid var(--kdl-border-default);
    display: block;
    margin: calc(-1 * var(--upton-page-top)) -24px var(--upton-page-top);
    position: sticky;
    top: 48px;
    z-index: 40;
  }
  .datasheet-pocket.is-tucked:not(:focus-within) {
    transform: translateY(-100%);
  }
  .datasheet-pocket__list {
    display: flex;
    gap: var(--kdl-space-2);
    list-style: none;
    margin: 0;
    overflow-x: auto;
    padding: 6px 24px;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
  }
  .datasheet-pocket__list::-webkit-scrollbar {
    display: none;
  }
  .datasheet-pocket__list li {
    flex: none;
    margin: 0;
  }
  .datasheet-pocket__pill {
    align-items: center;
    background: var(--kdl-surface-base);
    border: 1px solid var(--kdl-border-default);
    border-radius: var(--kdl-radius-pill);
    color: var(--kdl-text-default);
    display: inline-flex;
    font: 500 13px / 1.2 var(--kdl-font-sans);
    gap: 6px;
    max-width: 15rem;
    min-height: 34px;
    padding: 6px 12px;
    text-decoration: none;
    white-space: nowrap;
  }
  .datasheet-pocket__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .datasheet-pocket__no {
    color: var(--kdl-accent-600);
    font: 500 12px / 1 var(--kdl-font-mono);
    font-variant-numeric: tabular-nums;
  }
  .datasheet-pocket__pill[aria-current] {
    border-color: var(--kdl-copper-500);
    box-shadow: inset 0 0 0 1px var(--kdl-copper-500);
    color: var(--kdl-text-strong);
  }
  .datasheet-pocket::after {
    background: var(--upton-heat-bar);
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }
}
@media (max-width: 999px) and (pointer: coarse) {
  .datasheet-pocket__pill {
    min-height: 44px;
  }
}
@media (min-width: 992px) and (max-width: 999px) {
  html:has(.datasheet-pocket) {
    scroll-padding-top: 188px;
  }
  .datasheet-pocket {
    top: 120px;
  }
}
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  .datasheet-pocket {
    transition: transform var(--kdl-dur-slow) var(--kdl-ease-standard);
  }
  @supports (animation-timeline: scroll()) {
    .datasheet-pocket::after {
      animation: datasheet-gauge linear both;
      animation-timeline: scroll(root block);
    }
  }
}
@keyframes datasheet-gauge {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* --------------------------------------------------------------------------
   Forced colours and print
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .process-stamp::before,
  .process-stamp::after,
  .wear-parts__part::before,
  .wear-parts__part::after,
  .datasheet-pocket::after {
    display: none;
  }
  .process-stamp,
  .wear-parts__part,
  .datasheet-pocket__pill,
  .quote-plate {
    border: 1px solid CanvasText;
  }
  .datasheet-pocket__pill[aria-current],
  .quote-plate__index a[aria-current] {
    outline: 2px solid Highlight;
  }
}

@media print {
  .quote-plate,
  .datasheet-pocket,
  .datasheet-anchor,
  .datasheet-figure__enlarge,
  .datasheet-lightbox,
  .upton-dock {
    display: none !important;
  }
  .datasheet .spec {
    white-space: normal;
  }
  .datasheet-figure,
  .process-register {
    break-inside: avoid;
  }
}
