/* ==================================================================================================================
   Metal Craft Engineering, round D2 (C2, 15 Nov 2026): clear grounds. The owner: "make sure all the elements dont have
   any bg except where necessary like captions to photo an such and make it truly end to end". Linked right after
   d1-bg.css. Nothing here edits style.css, theme.css or a component sheet: each rule clears a fill those sheets paint,
   with one more attribute selector (html:not([data-bg="live"])) than the rule it replaces, never !important.
   - Every rule sits under html:not([data-bg="live"]), so the preview's "Background: Live" switch brings the old fills back.
   - Screen only, and off under forced colours and "more contrast" (the strings are off there too; the old plates stay).
   - A fill is cleared with background-color / --fill only, so the images other sheets lay in the same box (the board
     grain, the drafting grid, the strings' still tiles in d1-bg.css) are left exactly as they are.
   - A box keeps its shape by its own edge: the cut-corner plates keep --edge (one where they had none: --line, the
     palette's own hairline), the photo cards keep their --rim. No new colours, no shadows, no tints on boxes.
   KEPT on purpose (necessary): the header bar (frosted, 90% steel + blur, below), dropdown and phone menus, form fields
   and the enquiry form's own card, chips and captions on photographs, photo mats under pictures, the photo and
   certificate viewers, the PDF embed's page, buttons and their hovers, focus rings, the matrix hosts (M2's), the Forge
   stage and the hero (frozen), the preview panel, the skip link, and the two row-highlight states (a target row and the
   chosen division's rows: a fading accent tint that carries meaning). Full list with reasons: d2/CLEAR-READY.txt.
   SPEED (coordinator 14:10, owner: "the page is lagging on startup"): no :is()/:where() LIST sits at a selector's right-hand end. Blink
   files a rule under the class, tag or id at its right-hand end; a rule that ends in :is(a,b,...) is tested against every
   element on every style recalc, which cost about 60 ms of style work on the home page. So each list is written out as
   plain selectors (same elements, same values; computed styles identical, d2/CLEAR-READY.txt 14:3x). Keep it that way.
   ================================================================================================================== */
@media screen and (forced-colors:none){@media not all and (prefers-contrast:more){

/* 1. Grounds: every section, steel band, drafting-grid section, page-head wash, plain CTA and the footer turn clear.
   (The Forge pages paint every section after the hero with the board, style.css 27.) S2's canvas is alpha only and the
   board and its grain come from body, one continuous layer, so a cleared ground also drops its own grain (theme.css 10
   lays it on .sec--alt and .ftr): its tile would restart at the box edge and cover the strings. Those image rules use
   :where() for the html part, so they tie with theme.css and lose to d1-bg.css's still tiles (no WebGL, no scripts). */
html:not([data-bg="live"]) main:not(.forge~main)>.sec:not(.d1-mx),html:not([data-bg="live"]) main:not(.forge~main)>.sec--alt:not(.d1-mx),html:not([data-bg="live"]) main:not(.forge~main)>.sec--grid:not(.d1-mx),html:not([data-bg="live"]) main:not(.forge~main)>.cta:not(.d1-mx),html:not([data-bg="live"]) main:not(.forge~main)>.page-head:not(.page-head--media):not(.d1-mx),
html:not([data-bg="live"]) .ftr:not(.forge~.ftr){background-color:transparent}
:where(html:not([data-bg="live"])) .sec--alt:not(.forge~main>.hero~*),:where(html:not([data-bg="live"])) .ftr:not(.forge~.ftr){background-image:none}
/* Forge pages: the fixed stage sits behind main, and only S2's .d1-ground (shown under html.d1-on / .d1-still) hides it below
   the hero, so their sections and footer keep style.css's board until then. After: no fill and no grain of their own
   (d1-bg.css 21 lays grain on them under html.js and out-ranks S2's clear rule; .d1-ground carries board, grain and tile). */
html:is(.d1-on,.d1-still):not([data-bg="live"]) .forge~main>.hero~:not(.d1-mx),html:is(.d1-on,.d1-still):not([data-bg="live"]) .forge~.ftr{background-color:transparent}
html:is(.d1-on,.d1-still):not([data-bg="live"]) .forge~main>:where(.hero~*),html:is(.d1-on,.d1-still):not([data-bg="live"]) :where(.forge~.ftr){background-image:none}
/* Drafting grid OFF in the new look (owner, D2 07:0x: "i can see some lines above the pg in many pages like a faint grey fix
   that too ... bg"): the page heads' sheet grid (theme.css 246) and the .sec--grid sections' grid read as stray grey lines
   over the strings. Live keeps them (theme.css untouched). */
html:not([data-bg="live"]) .page-head:not(.page-head--media) h1::before{background:none}
html:not([data-bg="live"]) main>.sec.sec--grid,
html:is(.d1-on,.d1-still):not([data-bg="live"]) .forge~main>.sec--grid{background-image:none}
html:not([data-bg="live"]) .page-head:not(.page-head--media)::before{background-color:transparent}

/* 2. Plates, cards, panels and windows: the fill goes, the edge stays (or is added from --line where the plate had none). */
html:not([data-bg="live"]) .cap,html:not([data-bg="live"]) .pitem{background-color:transparent}
html:not([data-bg="live"]) .panel,html:not([data-bg="live"]) .facts-card,html:not([data-bg="live"]) .pmap-card,html:not([data-bg="live"]) .pmap-panel,html:not([data-bg="live"]) .pmap-mini,html:not([data-bg="live"]) .res-card,html:not([data-bg="live"]) .ptab-disc,html:not([data-bg="live"]) .rd-claim,html:not([data-bg="live"]) .rd-quick-plate{--fill:transparent}
/* scrollwin.css is linked in the body (after this file) as html.js .win: one more class here. */
html:not([data-bg="live"]).js .win{--fill:transparent}
html:not([data-bg="live"]) .rd-fields,html:not([data-bg="live"]) .rd-org .rd-field,html:not([data-bg="live"]) .rd-cert-card,html:not([data-bg="live"]) .pdf-frame,html:not([data-bg="live"]) .pdf-plate{--fill:transparent;--edge:var(--line-2)}
/* Without a fill, a --line edge (1.28:1) is fainter than a strand crossing it and the box dissolves into the field: the boxes
   that lost a fill take the next hairline token, --line-2 (1.58:1; the map, resource and RDSO plates already use it).
   Same specificity as the rule each replaces, so focus, :target and hover edges (all more specific) still win. */
:where(html:not([data-bg="live"]) .cap),:where(html:not([data-bg="live"]) .pitem){--rim:var(--line-2)}
:where(html:not([data-bg="live"])) .panel,:where(html:not([data-bg="live"])) .facts-card{--edge:var(--line-2)}
html:not([data-bg="live"]).js .win{--edge:var(--line-2)}
/* A hovered logo cell: the steel block becomes the plates' own 5% hover tint (style.css --plate-hover). */
html:not([data-bg="live"]) .logos a:hover,html:not([data-bg="live"]) .logos a.touch-hover{background-color:var(--plate-hover)}

/* 3. Grey type over the strings (coordinator rulings 1, 8 and 10): every --txt-2 and --txt-3 text that can sit over the
   strings, in main and the footer, carries a 2 px board outline: solid board-coloured text-shadows at 1 and 2 px, then three
   soft ones. Invisible on the board; where a strand passes by a glyph it stops 2 px short of the letter, so no mask shape
   round the text. Ink, H1 and H2 hold their contrast without it (ruling 10). Not on filled buttons or pressed toggles (their
   text sits on the fill), on photographs (tiles, chips), dark islands (video head, viewer), the matrix bands, the hero (M2's
   caps) or inside the enquiry form (its card is a fill). text-shadow inherits, so the footer takes it once on .ftr, and the
   reset after it keeps it off those filled things wherever they sit inside a matched element.
   Text-shadow, not -webkit-text-stroke with paint-order (ruling 10's other candidate): no measurable paint or raster
   difference on real pages, and paint-order on HTML text only arrived in Chromium 123 while @supports cannot tell (it is
   true from SVG), so an older engine would paint the stroke OVER the letters and erase them (d2/CLEAR-READY.txt, 06:15). */
html:not([data-bg="live"]) main .dim:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .cap-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .stat p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .meta:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .facts dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .car-count:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .info dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-approx:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .ptab-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-org-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-field dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-quick-k:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pdf-plate-s:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .eyebrow:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .lede:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .crumbs:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .stat-u:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .cap p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .ticks li:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos b:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logo-also:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pitem p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .faq-i p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rowi p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rowi.seg-off h3:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rowi.seg-off .rowi-t:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .facts dd:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .panel p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .car-cap:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .car-slide>figcaption:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .prose p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .prose li:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .prose code:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-card-t:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-pl-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-h:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-where:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-y:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-who:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-mini-txt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-claim li:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-claim-check p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .rd-cert-text p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .res-ic:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .res-line:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .res-note:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .ptab:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .seg-tab:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .filters button:not([aria-pressed="true"]):not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .pmap-switch button:not([aria-pressed="true"]):not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) .ftr{text-shadow:2px 0 0 var(--bg),-2px 0 0 var(--bg),0 2px 0 var(--bg),0 -2px 0 var(--bg),1px 1px 0 var(--bg),-1px 1px 0 var(--bg),1px -1px 0 var(--bg),-1px -1px 0 var(--bg),1px 0 0 var(--bg),-1px 0 0 var(--bg),0 1px 0 var(--bg),0 -1px 0 var(--bg),0 0 1px var(--bg),0 0 2px var(--bg),0 0 4px var(--bg)}
html:not([data-bg="live"]) main .btn,html:not([data-bg="live"]) main .tile,html:not([data-bg="live"]) main .chip,html:not([data-bg="live"]) main .page-head--media,html:not([data-bg="live"]) main .photo-viewer,html:not([data-bg="live"]) main .d1-mx--band,html:not([data-bg="live"]) main .hero,html:not([data-bg="live"]) main .form,html:not([data-bg="live"]) main [aria-pressed="true"],html:not([data-bg="live"]) .ftr .btn,html:not([data-bg="live"]) .ftr .tile,html:not([data-bg="live"]) .ftr .chip,html:not([data-bg="live"]) .ftr .page-head--media,html:not([data-bg="live"]) .ftr .photo-viewer,html:not([data-bg="live"]) .ftr .d1-mx--band,html:not([data-bg="live"]) .ftr .hero,html:not([data-bg="live"]) .ftr .form,html:not([data-bg="live"]) .ftr [aria-pressed="true"]{text-shadow:none}
/* The --txt-3 labels inside boxes whose text moves over the strings (scroll windows, card carousels, logo strips) take the
   next palette text token, --txt-2 (coordinator ruling 8's fallback, 03:42: strands 3 px out stayed under 4.5:1 there). */
html:not([data-bg="live"]) main .win-scroll .dim:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .cap-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .stat p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .meta:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .facts dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .car-count:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .info dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .pmap-approx:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .ptab-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .rd-org-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .rd-field dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .rd-quick-k:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .win-scroll .pdf-plate-s:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .dim:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .cap-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .stat p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .meta:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .facts dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .car-count:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .info dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .pmap-approx:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .ptab-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .rd-org-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .rd-field dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .rd-quick-k:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .carousel .pdf-plate-s:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .dim:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .cap-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .stat p:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .meta:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .facts dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .car-count:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .info dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .pmap-approx:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .ptab-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .rd-org-n:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .rd-field dt:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .rd-quick-k:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *),
html:not([data-bg="live"]) main .logos .pdf-plate-s:not(:is(.btn,.tile,.page-head--media,.photo-viewer,.d1-mx--band,.hero,.form) *){color:var(--txt-2)}
/* Focus (coordinator ruling 9 m-1): the red focus ring never sits directly on a red strand. While an element in main or the
   footer shows its focus ring, a board-coloured shadow lies behind it, 2 px wider than the ring (outline-offset 3 + 2 px),
   board on the board, so it shows no shape. :where() keeps it at zero specificity: anything that draws its own box-shadow
   (seg tabs, fields) keeps it. Not in the hero, dark islands, the matrix bands or the enquiry form, where --bg is not the
   ground under the element, and not on a scroll window's scroller (its focus is the window's own edge, which a shadow from
   inside would cover). */
:where(html:not([data-bg="live"]) main :focus-visible:not(.win-scroll,:is(.hero,.page-head--media,.d1-mx--band,.photo-viewer,.form) *)),:where(html:not([data-bg="live"]) .ftr :focus-visible){box-shadow:0 0 0 7px var(--bg)}

/* 4. The header bar keeps a surface (menu legibility): the steel band at 90% with a blur, so the strings pass faintly under
   it. Drawn on ::before, because a backdrop-filter on .hdr itself would trap the fixed phone menu inside the bar. The bar's
   box, border and height are unchanged. */
html:not([data-bg="live"]) .hdr,html:not([data-bg="live"]) .hdr.scrolled,html:not([data-bg="live"]) body.menu-open .hdr{background-color:transparent;background-image:none}
html:not([data-bg="live"]) .hdr::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:color-mix(in srgb,var(--bg-2) 90%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}

/* 5. Lines (owner, 15 Nov 13:1x: "keep only the necessary grey lines remove all else and make them black"). Full table of
   kept and removed lines: d2/CLEAR-READY.txt (13:xx section).
   a) Every line that stays is ink (--txt, #141518), 1 px: the three hairline tokens resolve to ink inside the header, main
      and the footer, so plate edges and chamfers (--edge), card rims (--rim), field borders, button and tab outlines, the
      header's bottom edge, register/table/facts rows and link underlines all turn ink from their own rules. The dark
      islands (video head, photo tiles and chips, viewer, matrix bands) set their own tokens and are untouched; the preview
      panel is outside these three. A hovered field keeps the ink edge (its 62% hover tint would read lighter than rest). */
html:not([data-bg="live"]) body>.hdr,html:not([data-bg="live"]) main,html:not([data-bg="live"]) body>.ftr{--line:var(--txt);--line-2:var(--txt);--line-3:var(--txt);--field-edge-hover:var(--txt)}
html:not([data-bg="live"]) main .rd-claim li::before{background:var(--txt)}
html:not([data-bg="live"]) main summary::after{border-color:var(--txt)}
/* b) Decorative lines go: section, band, call-to-action, page-head and footer boundaries; the footer's base rule; tick-list
      and FAQ separators; stat dividers; the logo grid; the process-step rules; the frames round photographs and the About
      carousel; heading rules (resource groups, map state headings, map panel head); separators between paragraphs or
      stacked panels; underlines under a button or an image link. Colour only (transparent), so no box moves. */
html:not([data-bg="live"]) .page-head,
html:not([data-bg="live"]) .sec--line,
html:not([data-bg="live"]) .sec--alt,
html:not([data-bg="live"]) .cta,
html:not([data-bg="live"]) .proc,
html:not([data-bg="live"]) .faq,
html:not([data-bg="live"]) .stats,
html:not([data-bg="live"]) .logos,
html:not([data-bg="live"]) .pmap-all,
html:not([data-bg="live"]) .rd-claim-check,
html:not([data-bg="live"]) .rd-cert-text p.rd-proves,
html:not([data-bg="live"]) body>.ftr,
html:not([data-bg="live"]) .ftr-base,
html:not([data-bg="live"]) .ticks li,
html:not([data-bg="live"]) .logos>a,
html:not([data-bg="live"]) .logos>div,
html:not([data-bg="live"]) .logos>span,
html:not([data-bg="live"]) .stat+.stat,
html:not([data-bg="live"]) .faq-i,
html:not([data-bg="live"]) .ticks,
html:not([data-bg="live"]) .car-track,
html:not([data-bg="live"]) .pmap-st-h,
html:not([data-bg="live"]) .pmap-pl-head,
html:not([data-bg="live"]) main.calm .win .panel,
html:not([data-bg="live"]).js .win--narrow:not(.win--fits) .panel,
html:not([data-bg="live"]):not(.js) .seg-panel+.seg-panel,html:not([data-bg="live"]):not(.js) .ptabs>.ptab-panel+.ptab-panel,
html:not([data-bg="live"]) .prose .btn,html:not([data-bg="live"]) .prose .rd-thumb a{border-color:transparent}
html:not([data-bg="live"]) .res-gh::after{background:none}
html:not([data-bg="live"]) .feature-media,html:not([data-bg="live"]) .proc-media,html:not([data-bg="live"]) .media-pair>picture{--rim:transparent}
}}
