/* Group website. Use spacing, fill and text to distinguish sections and actions. */
a, a:is(:hover, :focus-visible, :active, :visited) {
  text-decoration: none !important;
}

.footer-stripes,
.supply-plate,
.reg-mark,
.rule-draw,
hr,
[aria-hidden="true"]:is(.h-px, [class~="h-[1px]"]),
:is(i, span, svg, img):is([class^="ri-arrow-"], [class*=" ri-arrow-"], [class^="ri-share-box-"], [class*=" ri-share-box-"], [class*="chevron"]) {
  display: none !important;
}
[aria-hidden="true"]:has(> :only-child:is([class^="ri-arrow-"], [class*=" ri-arrow-"], [class^="ri-share-box-"], [class*=" ri-share-box-"])) {
  display: none !important;
}
.link-row::before { content: none !important; }
.link-row:is(:hover, :focus-visible) { padding-left: 0; }

.supply-warm-ground {
  background-image: linear-gradient(to right, oklch(var(--band-navy)), oklch(var(--band-slate)) 42%, oklch(var(--band-copper))) !important;
}
.quality-warm-ground {
  background-image: linear-gradient(to right, oklch(var(--primary-950)), oklch(var(--primary-900)) 42%, oklch(var(--band-slate))) !important;
}
.pane, .pane-quiet { box-shadow: none; }

/* Card frames, table structure, input boundaries and keyboard focus stay legible. */
:is(main, header, footer, [role="navigation"], [role="dialog"]) :is(.border-t, .border-y):not(table, table *, .border),
:is(main, header, footer):is(.border-t, .border-y):not(.border) {
  border-top-color: transparent !important;
}
:is(main, header, footer, [role="navigation"], [role="dialog"]) :is(.border-b, .border-y):not(table, table *, .border),
:is(main, header, footer):is(.border-b, .border-y):not(.border) {
  border-bottom-color: transparent !important;
}
:is(main, header, footer) .divide-y:not(table, table *) > :not([hidden]) ~ :not([hidden]) {
  border-block-color: transparent !important;
}

/* The native selectors keep their accessible name, existing focus and behaviour. */
select { appearance: none; background-image: none !important; }
header :has(> #site-language-select-menu)::after,
header :has(> #site-language-select-inline)::after { content: none !important; }
header div:has(> label[for="site-language-select-menu"]) { display: none !important; }

/* Keep one native picker in the top bar. Its globe and label share a centred face. */
header .site-header-actions > div:has(#site-language-select-inline) > div > i { display: none !important; }
header .site-header-actions > div:has(#site-language-select-inline) > div > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  width: max-content;
  max-width: 100%;
}
header #site-language-select-inline { opacity: 0 !important; }
@media (min-width: 768px) {
  html { --header-language-name: "English"; }
  html[lang="de"] { --header-language-name: "Deutsch"; }
  html[lang="es"] { --header-language-name: "Español"; }
  html[lang="fr"] { --header-language-name: "Français"; }
  html[lang="ja"] { --header-language-name: "日本語"; }
  html[lang="ru"] { --header-language-name: "Русский"; }
  header .site-header-actions > div:has(#site-language-select-inline) > div > span { gap: .5rem; }
  header .site-header-actions > div:has(#site-language-select-inline) > div > span > span { font-size: 0; }
  header .site-header-actions > div:has(#site-language-select-inline) > div > span > span::after {
    content: var(--header-language-name);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.15;
  }
}
button[aria-expanded] > span:has(> [class*="ri-arrow-down-s-"]) {
  transform: none !important;
}
button[aria-expanded] > span:has(> [class*="ri-arrow-down-s-"])::before { content: "+"; }
button[aria-expanded="true"] > span:has(> [class*="ri-arrow-down-s-"])::before { content: "−"; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* Preserve real minus signs, measurements, part labels and engineering diagrams. */
