/* SHIVAS THEME 2026 (23 Nov 2026). One look for every page, loaded LAST on every page (after v39.css and any style
   block that follows it).
   Owner's brief (23 Nov 2026): a consistent, better theme with a very obvious distinction between things:
   - sections: white, tinted and dark bands on the home and division pages; on inner pages every section is a panel;
   - companies: one colour each, everywhere: navy galvanizing, amber wire drawing, teal SHIVAS Reinplast, red
     SHIVAS Products India (cards, the company switcher, product pages, article topics, footer);
   - content types: products, 3D models (dark viewer cards with a 3D badge), calculators (amber-topped tool cards),
     articles (topic-coloured paper cards) and photos (framed, with a camera mark) each look like themselves.
   Hooks: <body data-pt="home|app|hub|item|post|calc|page" data-div="hdg|wire|rein|frp"> on every page.
   SPECIFICITY: v39.css "V52 look" forces 2 px corners and no shadows on every element with an ID-weight selector.
   That rule stays (it keeps old effects in the division apps quiet), so every rule here starts with :root:not(#_)
   (ID weight, matches always) and dark-mode rules with :root:not(#_)[data-theme="dark"], one step heavier.
   Brand colours, Archivo headings and Noto Sans text stay. Text contrast is AA in both themes (tools/a11y.cjs). */

/* ============================== 0. TOKENS ============================== */
:root{
  --s-hdg:#1f4e79; --s-wire:#9a5a00; --s-rein:#0e7c86; --s-frp:#d61f1f; --s-amber:#e8a317;
  --s-hdg-x:#1f4e79; --s-wire-x:#8a5000; --s-rein-x:#0a6e78; --s-frp-x:#b81818;   /* the same colours as text */
  --s-hdg-t:#e6eef8; --s-wire-t:#fbefdc; --s-rein-t:#ddf1f2; --s-frp-t:#fbe4e4;   /* tints */
  --s-page:#edf2f7; --s-band:#e4ecf5; --s-card:#ffffff; --s-soft:#f5f8fb;
  --s-line:#d0dae6; --s-line2:#b9c7d6; --s-ink:#13202c; --s-mut:#4a5d70;
  --s-dark:#0d1f31; --s-dark2:#14304b; --s-on-dark:#e9eff5; --s-on-dark2:#bfd0e0;
  --s-sh:0 1px 2px rgba(13,31,49,.06),0 10px 24px -14px rgba(13,31,49,.28);
  --s-sh-h:0 2px 6px rgba(13,31,49,.08),0 22px 40px -18px rgba(13,31,49,.42);
  --div:var(--s-hdg); --div-x:var(--s-hdg-x); --div-t:var(--s-hdg-t);
  /* icons: own simple line drawings on a 24 px grid, used as masks so they take the text colour */
  --i-start:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8l4 4-4 4'/%3E%3C/svg%3E");
  --i-layers:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8l9 5 9-5z'/%3E%3Cpath d='M3 13l9 5 9-5'/%3E%3C/svg%3E");
  --i-cube:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 3.5 7v10l8.5 4.5 8.5-4.5V7z'/%3E%3Cpath d='M3.5 7 12 11.5 20.5 7M12 11.5v10'/%3E%3C/svg%3E");
  --i-calc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2.5' width='14' height='19' rx='2'/%3E%3Cpath d='M8.5 6.5h7M8.5 11h.01M12 11h.01M15.5 11h.01M8.5 14.5h.01M12 14.5h.01M15.5 14.5h.01M8.5 18h7'/%3E%3C/svg%3E");
  --i-camera:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7.5h3.5l2-3h6l2 3h3.5v12h-17z'/%3E%3Ccircle cx='12' cy='13' r='3.6'/%3E%3C/svg%3E");
  --i-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h8.5l4 4v15H6z'/%3E%3Cpath d='M14 2.5V7h4.5M9 12h6.5M9 16h6.5'/%3E%3C/svg%3E");
  --i-steps:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='2.2'/%3E%3Ccircle cx='12' cy='12' r='2.2'/%3E%3Ccircle cx='19' cy='12' r='2.2'/%3E%3Cpath d='M7.2 12h2.6M14.2 12h2.6'/%3E%3C/svg%3E");
  --i-building:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V9l7-5 7 5v12M10 21v-5h4v5'/%3E%3C/svg%3E");
  --i-chat:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4.5h16v11.5H9.5L4 20.5z'/%3E%3Cpath d='M8 9h8M8 12.2h5'/%3E%3C/svg%3E");
  --i-grid:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='7' height='7' rx='1.2'/%3E%3Crect x='13.5' y='3.5' width='7' height='7' rx='1.2'/%3E%3Crect x='3.5' y='13.5' width='7' height='7' rx='1.2'/%3E%3Crect x='13.5' y='13.5' width='7' height='7' rx='1.2'/%3E%3C/svg%3E");
  --i-play:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M10 8.3v7.4l6-3.7z'/%3E%3C/svg%3E");
  --i-flame:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5c.6 3.6 5.5 5.6 5.5 11a5.5 5.5 0 0 1-11 0c0-3 1.6-4.5 2.3-6.6 1.5 1.3 2.2 2.8 2.2 4.6'/%3E%3C/svg%3E");
  --i-factory:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V10.5l5.5 3v-3l5.5 3V6.5l7 3.5v11z'/%3E%3Cpath d='M7 17.5h2M12 17.5h2M17 17.5h1'/%3E%3C/svg%3E");
  --i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.8l7.5 2.9v6c0 4.8-3.3 8-7.5 9.5-4.2-1.5-7.5-4.7-7.5-9.5v-6z'/%3E%3Cpath d='M8.8 12l2.2 2.2 4.2-4.2'/%3E%3C/svg%3E");
  --i-drop:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6.5 7.2 6.5 11.5a6.5 6.5 0 0 1-13 0C5.5 10.2 12 3 12 3z'/%3E%3C/svg%3E");
  --i-list:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11M4.5 6h.01M4.5 12h.01M4.5 18h.01'/%3E%3C/svg%3E");
}
[data-div="hdg"]{--div:var(--s-hdg);--div-x:var(--s-hdg-x);--div-t:var(--s-hdg-t)}
[data-div="wire"]{--div:var(--s-wire);--div-x:var(--s-wire-x);--div-t:var(--s-wire-t)}
[data-div="rein"]{--div:var(--s-rein);--div-x:var(--s-rein-x);--div-t:var(--s-rein-t)}
[data-div="frp"]{--div:var(--s-frp);--div-x:var(--s-frp-x);--div-t:var(--s-frp-t)}
:root[data-theme="dark"]{
  --s-hdg-x:#9cc4ec; --s-wire-x:#ffc35a; --s-rein-x:#6fd8df; --s-frp-x:#ff9292;
  --s-hdg-t:#13263b; --s-wire-t:#2a2312; --s-rein-t:#0f2a2e; --s-frp-t:#2c1618;
  --s-page:#08121c; --s-band:#0f1d2c; --s-card:#122436; --s-soft:#0f1e2e;
  --s-line:#263d55; --s-line2:#35506b; --s-ink:#e9eff5; --s-mut:#a9bbcc;
  --s-dark:#050d16; --s-dark2:#0f2438;
  --s-sh:0 1px 2px rgba(0,0,0,.35),0 10px 24px -14px rgba(0,0,0,.6);
  --s-sh-h:0 2px 6px rgba(0,0,0,.4),0 22px 40px -18px rgba(0,0,0,.75);
}

/* ============================== 1. HEADER ============================== */
/* the company switcher: each company in its own colour; the one you are in is filled */
:root:not(#_) .dsw>:nth-child(1){--dc:var(--s-hdg);--dcx:var(--s-hdg-x)}
:root:not(#_) .dsw>:nth-child(2){--dc:var(--s-wire);--dcx:var(--s-wire-x)}
:root:not(#_) .dsw>:nth-child(3){--dc:var(--s-rein);--dcx:var(--s-rein-x)}
:root:not(#_) .dsw>*{position:relative;box-shadow:inset 0 -3px 0 var(--dc)!important}
:root:not(#_) .dsw>* small{color:var(--dcx)!important;opacity:1!important}
:root:not(#_) :is(.dsw>.on,.dsw>[aria-current="page"]){background:var(--dc)!important;color:#fff!important;box-shadow:none!important}
:root:not(#_) :is(.dsw>.on,.dsw>[aria-current="page"]) :is(b,small){color:#fff!important}
/* inner pages: the site bar under the header is a tinted strip, the page you are on is filled */
:root:not(#_) header.top:has(.snav){box-shadow:0 1px 0 var(--s-line),0 6px 18px -14px rgba(13,31,49,.35)}
:root:not(#_) header.top .snav{background:var(--s-soft);border-top:1px solid var(--s-line)}
:root:not(#_) header.top .snav a{border-radius:8px}
:root:not(#_) header.top .snav a[aria-current="page"]{background:var(--s-hdg)!important;color:#fff!important;border-color:var(--s-hdg)!important}
:root:not(#_)[data-theme="dark"] header.top .snav a[aria-current="page"]{background:#2f6fa8!important;border-color:#2f6fa8!important}

/* ============================== 2. BUTTONS ============================== */
/* one family, 10 px corners: amber = act (quote, send), outlined = go somewhere */
:root:not(#_) .btn{border-radius:10px!important;font-weight:700!important;transition:background .15s,border-color .15s,color .15s,transform .15s}
:root:not(#_) .btn.amber{background:var(--s-amber)!important;border-color:var(--s-amber)!important;color:#111!important}
:root:not(#_) .btn.amber:hover{filter:none;background:#f0b230!important}
:root:not(#_) .btn.line{background:var(--s-card)!important;border:1.5px solid var(--s-line2)!important;color:var(--s-ink)!important}
:root:not(#_) .btn.line:hover{border-color:var(--s-hdg)!important;color:var(--s-hdg)!important}
:root:not(#_)[data-theme="dark"] .btn.line:hover{border-color:#9cc4ec!important;color:#9cc4ec!important}
:root:not(#_) .btn:active{transform:translateY(1px)}
/* on the navy quote band and the dark article call-out, outlined buttons stay light on dark */
:root:not(#_) :is(.ask,.cta-b) .btn.line{background:transparent!important;border-color:rgba(255,255,255,.45)!important;color:#e7edf3!important}
:root:not(#_) :is(.ask,.cta-b) .btn.line:hover{border-color:#ffc35a!important;color:#ffc35a!important}
:root:not(#_) .ask a.btn.line[href^="mailto:"]{color:#8beef3!important;border-color:rgba(63,208,218,.55)!important}

/* ============================== 3. SECTION LABELS ============================== */
/* every section starts with a labelled pill and its own icon, so you know what kind of section it is */
:root:not(#_) :is(body[data-pt="home"] main>section:not(.hero):not(.hbn)>.wrap>.k,
  body[data-pt="app"] #app section>.wrap>.eyebrow:first-of-type,
  body[data-pt="app"] #app section>.wrap>div:first-child>.eyebrow:first-child){
  display:inline-flex!important;align-items:center;gap:8px;width:max-content;max-width:100%;
  padding:7px 13px 7px 10px!important;margin:0 0 12px!important;border-radius:999px!important;
  background:var(--lab-bg,var(--s-hdg-t))!important;border:1px solid var(--lab-line,#c7d7ea)!important;
  color:var(--lab-ink,var(--s-hdg-x))!important;-webkit-text-fill-color:currentColor!important;
  font:700 12.5px/1 "Noto Sans",Arial,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;
}
:root:not(#_) :is(body[data-pt="home"] main>section:not(.hero):not(.hbn)>.wrap>.k,
  body[data-pt="app"] #app section>.wrap>.eyebrow:first-of-type,
  body[data-pt="app"] #app section>.wrap>div:first-child>.eyebrow:first-child)::before{
  content:""!important;display:block!important;flex:0 0 16px;width:16px!important;height:16px!important;border-radius:0!important;
  background:currentColor!important;-webkit-mask:var(--ico,var(--i-list)) center/contain no-repeat;mask:var(--ico,var(--i-list)) center/contain no-repeat;
}
/* labels on dark bands */
:root:not(#_) :is(body[data-pt="home"] #models3d,body[data-pt="home"] #how,body[data-pt="app"] #app section.hall-sec){--lab-bg:rgba(255,255,255,.08);--lab-line:rgba(255,255,255,.2);--lab-ink:#ffc35a}
/* labels in the company colour on the wire drawing and Reinplast pages */
:root:not(#_) #app[data-page="wire"] section:not(.hall-sec){--lab-bg:var(--s-wire-t);--lab-line:#ead2a8;--lab-ink:var(--s-wire-x)}
:root:not(#_) #app[data-brand="rein"] section:not(.hall-sec){--lab-bg:var(--s-rein-t);--lab-line:#b5dfe2;--lab-ink:var(--s-rein-x)}
:root:not(#_)[data-theme="dark"] body{--lab-line:#2b4a6b}
:root:not(#_)[data-theme="dark"] #app[data-page="wire"] section:not(.hall-sec){--lab-line:#4a3a14}
:root:not(#_)[data-theme="dark"] #app[data-brand="rein"] section:not(.hall-sec){--lab-line:#1d4a50}
/* section titles: bigger and heavier, so the start of a section is never missed */
:root:not(#_) :is(body[data-pt="home"] main>section:not(.hero):not(.hbn)>.wrap>h2,body[data-pt="app"] #app section>.wrap>h2){font-size:clamp(28px,3.3vw,42px)!important;letter-spacing:-.02em!important;line-height:1.1!important}
/* section icons */
:root:not(#_) body[data-pt="home"] #go{--ico:var(--i-start)}
:root:not(#_) body[data-pt="home"] #what{--ico:var(--i-layers)}
:root:not(#_) body[data-pt="home"] #models3d{--ico:var(--i-cube)}
:root:not(#_) body[data-pt="home"] #calc{--ico:var(--i-calc)}
:root:not(#_) body[data-pt="home"] #photos{--ico:var(--i-camera)}
:root:not(#_) body[data-pt="home"] #how{--ico:var(--i-steps)}
:root:not(#_) body[data-pt="home"] #articles{--ico:var(--i-doc)}
:root:not(#_) body[data-pt="home"] #group{--ico:var(--i-building)}
:root:not(#_) body[data-pt="home"] #enquire{--ico:var(--i-chat)}
:root:not(#_) body[data-pt="app"] :is(#dip,#wire,#hdg-machines,#hdg-fume,#hdg-flux,#wire-machines,#wire-takeup,#wire-coating,#rein-machines,#rein-fume,#rein-water){--ico:var(--i-play)}
:root:not(#_) body[data-pt="app"] #kettle{--ico:var(--i-flame)}
:root:not(#_) body[data-pt="app"] :is(#plants,#rein-lines,#rein-plants){--ico:var(--i-factory)}
:root:not(#_) body[data-pt="app"] :is(#hall,#rein-3d){--ico:var(--i-cube)}
:root:not(#_) body[data-pt="app"] :is(#range,#rein-range){--ico:var(--i-grid)}
:root:not(#_) body[data-pt="app"] :is(#tools,#rein-calc){--ico:var(--i-calc)}
:root:not(#_) body[data-pt="app"] #standards{--ico:var(--i-shield)}
:root:not(#_) body[data-pt="app"] #rein-loop{--ico:var(--i-drop)}
:root:not(#_) body[data-pt="app"] #enquire{--ico:var(--i-chat)}

/* ============================== 4. HOME PAGE ============================== */
:root:not(#_) body[data-pt="home"]{background:#fff}
:root:not(#_) body[data-pt="home"] main>section:not(.hero):not(.hbn){border-top:1px solid var(--s-line);border-bottom:0;padding:clamp(56px,6.5vw,96px) 0}
/* bands: white, tinted and dark take turns, and two dark bands never touch */
:root:not(#_) body[data-pt="home"] :is(#go,#calc,#articles){background:var(--s-band)!important}
:root:not(#_) body[data-pt="home"] :is(#what,#photos,#group){background:#fff!important}
:root:not(#_) body[data-pt="home"] #models3d{background:linear-gradient(180deg,#0f2338 0%,var(--s-dark) 100%)!important;color:var(--s-on-dark);border-top:0!important}
:root:not(#_) body[data-pt="home"] #how{border-top:0!important}
:root:not(#_) body[data-pt="home"] #enquire{background:linear-gradient(180deg,var(--s-band),#dfe8f3)!important}
:root:not(#_) body[data-pt="home"] #models3d h2{color:#fff!important}
:root:not(#_) body[data-pt="home"] #models3d .sub{color:var(--s-on-dark2)!important}
/* "see all" links become clear buttons */
:root:not(#_) body[data-pt="home"] .more{margin:26px 0 0!important}
:root:not(#_) body[data-pt="home"] .more a{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 18px;border-radius:10px;border:1.5px solid var(--s-hdg);
  background:#fff;color:var(--s-hdg)!important;font:700 15px/1.2 "Noto Sans",Arial,sans-serif;text-decoration:none!important;transition:background .15s,color .15s}
:root:not(#_) body[data-pt="home"] .more a:hover{background:var(--s-hdg);color:#fff!important}
:root:not(#_) body[data-pt="home"] #models3d .more a{background:transparent;border-color:#ffc35a;color:#ffc35a!important}
:root:not(#_) body[data-pt="home"] #models3d .more a:hover{background:#ffc35a;color:#111!important}

/* 4a. company cards: a solid colour per company, so the four businesses never look alike */
:root:not(#_) body[data-pt="home"] #what .dv-g{--dc:var(--s-hdg);--dct:var(--s-hdg-t)}
:root:not(#_) body[data-pt="home"] #what .dv-w{--dc:var(--s-wire);--dct:var(--s-wire-t)}
:root:not(#_) body[data-pt="home"] #what .dv-r{--dc:var(--s-rein);--dct:var(--s-rein-t)}
:root:not(#_) body[data-pt="home"] #what .dv-p{--dc:var(--s-frp);--dct:var(--s-frp-t)}
:root:not(#_) body[data-pt="home"] #what .dvs{gap:22px!important}
:root:not(#_) body[data-pt="home"] #what .dv{border:1px solid var(--s-line)!important;border-radius:16px!important;box-shadow:var(--s-sh)!important;background:var(--s-card)}
:root:not(#_) body[data-pt="home"] #what .dv:hover{box-shadow:var(--s-sh-h)!important;transform:translateY(-3px)}
:root:not(#_) body[data-pt="home"] #what .dv-ph{position:relative;border-bottom:6px solid var(--dc)}
:root:not(#_) body[data-pt="home"] #what .dv-b{border-top:0!important;border-left:0!important;padding:22px 24px 24px!important;gap:12px!important}
:root:not(#_) body[data-pt="home"] #what .dv-b>.k{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;padding:6px 12px!important;border-radius:8px!important;
  background:var(--dc)!important;color:#fff!important;font:700 12px/1.2 "Noto Sans",Arial,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase}
:root:not(#_) body[data-pt="home"] #what .dv h3{font-size:clamp(23px,2.2vw,28px)!important}
:root:not(#_) body[data-pt="home"] #what .dv h3 a:hover{color:var(--dc)}
:root:not(#_) body[data-pt="home"] #what .dv-l{border-top:2px solid var(--dct)!important}
:root:not(#_) body[data-pt="home"] #what .dv-l a{position:relative;padding:11px 0 11px 18px!important;border-bottom-color:var(--s-line)!important}
:root:not(#_) body[data-pt="home"] #what .dv-l a::before{content:"";position:absolute;left:0;top:17px;width:8px;height:8px;border-radius:2px;background:var(--dc)}
:root:not(#_) body[data-pt="home"] #what .dv-l a:hover b{color:var(--dc)!important}
:root:not(#_) body[data-pt="home"] #what .dv .go{display:inline-flex!important;align-items:center;gap:8px;justify-self:start;margin-top:6px;min-height:46px;padding:0 18px;border-radius:10px!important;
  background:var(--dc)!important;color:#fff!important;font-weight:700;text-decoration:none!important}
:root:not(#_) body[data-pt="home"] #what .dv .go:hover{filter:brightness(1.12)}

/* 4b. start-here tiles: white cards on the tinted band */
:root:not(#_) body[data-pt="home"] #go .v37-quick a{background:var(--s-card)!important;border:1px solid var(--s-line)!important;box-shadow:var(--s-sh)!important;border-radius:12px!important}
:root:not(#_) body[data-pt="home"] #go .v37-quick a:hover{border-color:var(--s-hdg)!important;box-shadow:var(--s-sh-h)!important}
:root:not(#_) body[data-pt="home"] #go .v37-calc{border-radius:12px!important;box-shadow:var(--s-sh-h)!important}

/* 4c. 3D model cards: dark viewer cards with a 3D badge */
:root:not(#_) body[data-pt="home"] #models3d .m3c{position:relative;background:var(--s-dark2)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:14px!important;color:var(--s-on-dark)!important;box-shadow:0 18px 40px -22px rgba(0,0,0,.8)!important}
:root:not(#_) body[data-pt="home"] #models3d .m3c:hover{border-color:#ffc35a!important;box-shadow:0 24px 44px -20px rgba(0,0,0,.9)!important}
:root:not(#_) body[data-pt="home"] #models3d .m3c::before{content:"3D";position:absolute;z-index:2;top:12px;left:12px;padding:5px 9px;border-radius:7px;background:#ffc35a;color:#111;font:800 12px/1 Archivo,"Noto Sans",sans-serif;letter-spacing:.04em}
:root:not(#_) body[data-pt="home"] #models3d .m3p{background:#0a1826!important}
:root:not(#_) body[data-pt="home"] #models3d .m3b b{color:#fff!important}
:root:not(#_) body[data-pt="home"] #models3d .m3b span{color:var(--s-on-dark2)!important}
:root:not(#_) body[data-pt="home"] #models3d .m3b em{color:#ffc35a!important;font-weight:700}

/* 4d. calculator cards: tool cards with an amber top bar and a navy number */
:root:not(#_) body[data-pt="home"] #calc .cl a{position:relative;background:var(--s-card)!important;border:1px solid var(--s-line)!important;border-top:5px solid var(--s-amber)!important;border-radius:12px!important;box-shadow:var(--s-sh)!important}
:root:not(#_) body[data-pt="home"] #calc .cl a:hover{box-shadow:var(--s-sh-h)!important;border-color:var(--s-line2)!important;border-top-color:var(--s-amber)!important}
:root:not(#_) body[data-pt="home"] #calc .cl i{border-radius:9px!important}

/* 4e. photos: a frame and a camera mark, so a photo never reads as a product card */
:root:not(#_) body[data-pt="home"] #photos .phs{gap:12px!important}
:root:not(#_) body[data-pt="home"] #photos .ph{border-radius:12px!important;box-shadow:var(--s-sh)!important}
:root:not(#_) body[data-pt="home"] #photos .ph::before{content:"";position:absolute;z-index:2;top:10px;right:10px;width:30px;height:30px;border-radius:8px;background:rgba(5,12,20,.55)}
:root:not(#_) body[data-pt="home"] #photos .ph::after{content:"";position:absolute;z-index:3;top:16px;right:16px;width:18px;height:18px;background:#fff;-webkit-mask:var(--i-camera) center/contain no-repeat;mask:var(--i-camera) center/contain no-repeat}

/* 4f. article cards: paper cards with a topic tag */
:root:not(#_) body[data-pt="home"] #articles .ar{background:var(--s-card)!important;border:1px solid var(--s-line)!important;border-radius:12px!important;box-shadow:var(--s-sh)!important}
:root:not(#_) body[data-pt="home"] #articles .ar:hover{box-shadow:var(--s-sh-h)!important;border-color:var(--s-line2)!important}
:root:not(#_) body[data-pt="home"] #articles .ar-b small{display:inline-block;width:max-content;max-width:100%;padding:4px 9px;border-radius:6px!important;background:var(--s-hdg-t);color:var(--s-hdg-x)!important;font-weight:700;letter-spacing:.02em}

/* 4g. the three companies, each with its colour on the edge; the contact boxes lift */
:root:not(#_) body[data-pt="home"] #group .grp a{background:var(--s-soft)!important;border:1px solid var(--s-line)!important;border-radius:12px!important}
:root:not(#_) body[data-pt="home"] #group .grp a:nth-child(1){border-left:5px solid var(--s-rein)!important}
:root:not(#_) body[data-pt="home"] #group .grp a:nth-child(2){border-left:5px solid var(--s-hdg)!important}
:root:not(#_) body[data-pt="home"] #group .grp a:nth-child(3){border-left:5px solid var(--s-frp)!important}
:root:not(#_) body[data-pt="home"] #group .grp img{border-radius:6px!important}
:root:not(#_) body[data-pt="home"] #enquire :is(.pp,form.q,.q){border-radius:12px!important;box-shadow:var(--s-sh)!important}

/* ============================== 5. INNER PAGES: every section is a panel ============================== */
:root:not(#_) body:is([data-pt="item"],[data-pt="post"],[data-pt="calc"],[data-pt="hub"],[data-pt="page"]){background:var(--s-page)!important}
:root:not(#_) body:is([data-pt="item"],[data-pt="calc"],[data-pt="hub"],[data-pt="page"]) main>section.sec:not(.pu-ask){
  background:var(--s-card);border:1px solid var(--s-line);border-radius:16px!important;box-shadow:var(--s-sh)!important;
  padding:clamp(18px,2.6vw,34px)!important;margin-top:22px!important;
}
/* section titles carry a short bar in the page's company colour */
:root:not(#_) body:is([data-pt="item"],[data-pt="calc"],[data-pt="hub"],[data-pt="page"]) main>section.sec>h2{display:flex;align-items:center;gap:12px}
:root:not(#_) body:is([data-pt="item"],[data-pt="calc"],[data-pt="hub"],[data-pt="page"]) main>section.sec>h2::before{content:"";flex:0 0 6px;width:6px;height:.95em;border-radius:3px;background:var(--div)}
/* the quote band stays navy, with the company colour on its edge */
:root:not(#_) body[data-pt="item"] main>section.ask{border-left:8px solid var(--div)!important;border-radius:16px!important;margin-top:22px}
/* cards inside panels sit on the soft tone, so panels and cards never merge */
:root:not(#_) body:is([data-pt="item"],[data-pt="calc"],[data-pt="page"]) main>section.sec :is(.bens>article,.how){background:var(--s-soft);border-radius:10px!important}
/* calculator panes and placeholders get their corners back */
:root:not(#_) :is(.cx-pane,.cx-ph,.cx-ask,.cx-in,.cx-tw,.cx-nav a,.cx-key>div,.zfd){border-radius:12px!important}
:root:not(#_) .cx-pane{box-shadow:var(--s-sh)!important}
:root:not(#_) :is(.fld input,.fld select,.cx-adv-t,.cx-mg .seg){border-radius:8px!important}

/* 5a. product pages: the hero says which company and what it is */
:root:not(#_) body[data-pt="item"] .hero{background:var(--s-card);border:1px solid var(--s-line);border-top:6px solid var(--div);border-radius:16px!important;box-shadow:var(--s-sh)!important;padding:clamp(18px,2.6vw,34px)!important;margin-top:14px}
:root:not(#_) :is(body[data-pt="item"] .hero .k,body[data-pt="calc"] .hero .k,body[data-pt="post"] .post-h>.k){display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:6px 11px;border-radius:8px!important;
  background:var(--div)!important;color:#fff!important;font-weight:700!important;letter-spacing:.06em!important}
:root:not(#_) body[data-pt="item"] .hero .shot{border-radius:12px!important;overflow:hidden}
:root:not(#_) body[data-pt="item"] .facts{background:transparent!important;border:0!important;box-shadow:none!important;gap:12px!important;margin-top:18px}
:root:not(#_) body[data-pt="item"] .facts>div{background:var(--div-t);border:1px solid color-mix(in srgb,var(--div) 25%,transparent);border-left:5px solid var(--div);border-radius:12px!important;padding:14px 16px}
:root:not(#_) body[data-pt="item"] .facts>div b{color:var(--div-x)!important}
:root:not(#_) body[data-pt="item"] .onpage a{background:var(--s-card)!important;border:1px solid var(--s-line)!important;border-radius:9px!important;color:var(--s-ink)!important}
:root:not(#_) body[data-pt="item"] .onpage a:hover{border-color:var(--div)!important;color:var(--div-x)!important}

/* hub, calculator and plain pages: the title area is a panel too, topped with the page's colour */
:root:not(#_) body:is([data-pt="hub"],[data-pt="page"],[data-pt="calc"]) main>section.hero{background:var(--s-card);border:1px solid var(--s-line);border-top:6px solid var(--div);border-radius:16px!important;box-shadow:var(--s-sh)!important;padding:clamp(18px,2.6vw,34px)!important;margin-top:14px}
:root:not(#_) body:is([data-pt="hub"],[data-pt="page"]) main>section.hero .k{color:var(--div-x)!important;font-weight:700!important}

/* 5b. product cards everywhere: the company colour on top and in the tag line */
:root:not(#_) .mini[data-div]{--dc:var(--s-hdg);--dcx:var(--s-hdg-x)}
:root:not(#_) .mini[data-div="wire"]{--dc:var(--s-wire);--dcx:var(--s-wire-x)}
:root:not(#_) .mini[data-div="rein"]{--dc:var(--s-rein);--dcx:var(--s-rein-x)}
:root:not(#_) .mini[data-div]{border:1px solid var(--s-line)!important;border-top:5px solid var(--dc)!important;border-radius:12px!important;background:var(--s-card)!important;box-shadow:var(--s-sh)!important;transition:box-shadow .2s,transform .2s,border-color .2s}
:root:not(#_) .mini[data-div]:hover{box-shadow:var(--s-sh-h)!important;transform:translateY(-2px)}
:root:not(#_) .mini[data-div]>span:last-child{color:var(--dcx)!important;font-weight:700!important}
:root:not(#_) .mini[data-div] .mph{border-radius:8px!important;overflow:hidden}

/* ============================== 6. ARTICLES ============================== */
/* topic colours follow the company that owns the subject: galvanizing navy, wire amber, effluent, fume and tanks teal */
:root:not(#_) :is(.bcard,.bfeat){--tc:var(--s-hdg);--tcx:var(--s-hdg-x);--tct:var(--s-hdg-t)}
:root:not(#_) .bcard:is([data-cat="Wire drawing"],[data-cat="Wire lines"],[data-cat="Wire quality"]){--tc:var(--s-wire);--tcx:var(--s-wire-x);--tct:var(--s-wire-t)}
:root:not(#_) .bcard:is([data-cat="Effluent"],[data-cat="Fume control"],[data-cat="Tanks and FRP"]){--tc:var(--s-rein);--tcx:var(--s-rein-x);--tct:var(--s-rein-t)}
:root:not(#_) .bcard{border:1px solid var(--s-line)!important;border-top:5px solid var(--tc)!important;border-radius:12px!important;background:var(--s-card)!important;box-shadow:var(--s-sh)!important;transition:box-shadow .2s,transform .2s}
:root:not(#_) .bcard:hover{box-shadow:var(--s-sh-h)!important;transform:translateY(-2px)}
:root:not(#_) .bcard .bc-k{display:inline-block;width:max-content;max-width:100%;padding:4px 9px;border-radius:6px!important;background:var(--tct);color:var(--tcx)!important;font-weight:700!important}
:root:not(#_) .bfeat{border:1px solid var(--s-line)!important;border-top:6px solid var(--s-rein)!important;border-radius:16px!important;box-shadow:var(--s-sh-h)!important;overflow:hidden}
/* the reading page is paper on the page tone */
:root:not(#_) body[data-pt="post"] article.post{background:var(--s-card);border:1px solid var(--s-line);border-top:6px solid var(--div);border-radius:16px!important;box-shadow:var(--s-sh)!important;padding:clamp(20px,4vw,52px)!important;margin-top:14px}
:root:not(#_) body[data-pt="post"] main>section.sec{margin-top:30px}
:root:not(#_) body[data-pt="post"] :is(.cta-b,.note-b,.author,figure.drawing){border-radius:12px!important}

/* ============================== 7. 3D MODELS PAGE ============================== */
/* the same dark viewer cards as the home page, with a 3D badge */
:root:not(#_) body[data-pt="hub"] article.m3{position:relative;background:var(--s-dark2)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:14px!important;overflow:hidden;color:var(--s-on-dark);box-shadow:0 18px 40px -24px rgba(5,13,22,.8)!important}
:root:not(#_) body[data-pt="hub"] article.m3::before{content:"3D";position:absolute;z-index:2;top:12px;left:12px;padding:5px 9px;border-radius:7px;background:#ffc35a;color:#111;font:800 12px/1 Archivo,"Noto Sans",sans-serif;letter-spacing:.04em}
:root:not(#_) body[data-pt="hub"] article.m3 .m3-b :is(h2,h3){color:#fff!important}
:root:not(#_) body[data-pt="hub"] article.m3 .m3-b :is(p,li){color:var(--s-on-dark2)!important}
:root:not(#_) body[data-pt="hub"] article.m3 .m3-b>.k{color:#ffc35a!important}
:root:not(#_) body[data-pt="hub"] article.m3 .m3-f{background:#0a1826}
:root:not(#_) body[data-pt="hub"] article.m3:hover{border-color:#ffc35a!important}
/* gallery and hub tiles get their corners back */
:root:not(#_) body[data-pt="hub"] :is(.gr,.gt,.gp-link,.flt,.flt .seg button,.bgrid>*){border-radius:10px!important}

/* ============================== 8. DIVISION PAGES ============================== */
/* page by page the sections take turns: white, tinted, dark; a line marks every seam */
:root:not(#_) body[data-pt="app"] #app main section{border-top:1px solid var(--s-line)}
:root:not(#_) body[data-pt="app"] #app section.hall-sec{background:linear-gradient(180deg,#0f2338,var(--s-dark))!important;color:var(--s-on-dark)}
:root:not(#_) body[data-pt="app"] #app section.hall-sec h2{color:#fff!important}
/* V86 (owner, 25 Nov 2026): the 3D models in groups of like models, each with its heading and its own strip */
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-grp{margin-top:34px}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-grp:first-of-type{margin-top:18px}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-grp>h3{margin:0 0 4px;color:#fff!important;font:700 clamp(19px,2vw,23px)/1.2 Archivo,"Noto Sans",sans-serif;display:flex;align-items:center;gap:10px}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-grp>h3::before{content:"";width:6px;height:22px;border-radius:3px;background:#ffc35a}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-grp>p.sub{margin:0 0 12px}
:root:not(#_) body[data-pt="app"] #app section.hall-sec :is(.lede,p.sub,.hall-note){color:var(--s-on-dark2)!important}
:root:not(#_) #app[data-page="hdg"] :is(#plants,#hdg-machines,#hdg-flux,#tools){background:#fff!important}
:root:not(#_) #app[data-page="hdg"] :is(#kettle,#hdg-fume,#range,#standards){background:var(--s-band)!important}
:root:not(#_) #app[data-page="wire"] :is(#plants,#wire-takeup,#tools){background:var(--s-band)!important}
:root:not(#_) #app[data-page="wire"] :is(#wire-machines,#wire-coating){background:#fff!important}
:root:not(#_) #app[data-brand="rein"] :is(#rein-lines,#rein-plants,#rein-fume,#rein-range){background:#fff!important}
:root:not(#_) #app[data-brand="rein"] :is(#rein-machines,#rein-loop,#rein-water,#rein-calc){background:var(--s-band)!important}
/* the 3D model list beside the viewer: dark cards on the dark band, the chosen model marked in amber */
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card{background:var(--s-dark2)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:10px!important;color:var(--s-on-dark)!important}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card[aria-pressed="true"]{border-color:#ffc35a!important;box-shadow:inset 4px 0 0 #ffc35a!important}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card:hover{border-color:rgba(255,195,90,.7)!important}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card b{color:#fff!important}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card :is(small,p){color:var(--s-on-dark2)!important}
:root:not(#_) body[data-pt="app"] #app section.hall-sec .hall-card .hc-open{color:#ffc35a!important}
/* cards in the division apps get the site's corners and lift */
:root:not(#_) body[data-pt="app"] #app :is(.card,.st,.calc-band,.tool,.cx-app){border-radius:12px!important}
:root:not(#_) body[data-pt="app"] #app :is(.card,.st,.calc-band){box-shadow:var(--s-sh)!important}

/* ============================== 9. FOOTER ============================== */
:root:not(#_) :is(footer.foot,footer.v31-foot){border-top:6px solid var(--s-amber)}
:root:not(#_) :is(footer.foot,footer.v31-foot) h4{display:flex;align-items:center;gap:8px}
:root:not(#_) :is(footer.foot,footer.v31-foot) .fcols>div:is(:nth-child(1),:nth-child(2),:nth-child(3)) h4::before{content:"";flex:0 0 10px;width:10px;height:10px;border-radius:3px;background:#6fa3d6}
:root:not(#_) :is(footer.foot,footer.v31-foot) .fcols>div:nth-child(2) h4::before{background:#ffc35a}
:root:not(#_) :is(footer.foot,footer.v31-foot) .fcols>div:nth-child(3) h4::before{background:#3fc1ca}

/* ============================== 10. DARK MODE ============================== */
:root:not(#_)[data-theme="dark"] body[data-pt="home"]{background:var(--s-page)}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] :is(#what,#photos,#group){background:var(--s-page)!important}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] :is(#go,#calc,#articles,#enquire){background:var(--s-band)!important}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] :is(#go .v37-quick a,#calc .cl a,#articles .ar,#what .dv){background:var(--s-card)!important}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] #group .grp a{background:var(--s-soft)!important}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] .more a{background:transparent;color:#9cc4ec!important;border-color:#9cc4ec}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] .more a:hover{background:#9cc4ec;color:#08121c!important}
:root:not(#_)[data-theme="dark"] body[data-pt="home"] #models3d .more a{color:#ffc35a!important;border-color:#ffc35a}
:root:not(#_)[data-theme="dark"] #app[data-page="hdg"] :is(#plants,#hdg-machines,#hdg-flux,#tools),
:root:not(#_)[data-theme="dark"] #app[data-page="wire"] :is(#wire-machines,#wire-coating),
:root:not(#_)[data-theme="dark"] #app[data-brand="rein"] :is(#rein-lines,#rein-plants,#rein-fume,#rein-range){background:var(--s-page)!important}
:root:not(#_)[data-theme="dark"] #app[data-page="hdg"] :is(#kettle,#hdg-fume,#range,#standards),
:root:not(#_)[data-theme="dark"] #app[data-page="wire"] :is(#plants,#wire-takeup,#tools),
:root:not(#_)[data-theme="dark"] #app[data-brand="rein"] :is(#rein-machines,#rein-loop,#rein-water,#rein-calc){background:var(--s-band)!important}

/* contrast on the new surfaces: the about page's teal labels on the page tone, links in dark Reinplast panels */
:root:not(#_):not([data-theme="dark"]) body[data-pt="page"] .ab-eye{color:var(--s-rein-x)!important}
:root:not(#_)[data-theme="dark"][data-brand="rein"] main{--acc:#3fc1ca}

/* ============================== 11. PHONES AND MOTION ============================== */
@media (max-width:640px){
  :root:not(#_) :is(body[data-pt="item"],body[data-pt="calc"],body[data-pt="hub"],body[data-pt="page"]) main>section.sec:not(.pu-ask),
  :root:not(#_) body[data-pt="item"] .hero,:root:not(#_) body[data-pt="post"] article.post{border-radius:12px!important;padding:16px!important}
  :root:not(#_) :is(body[data-pt="home"] main>section:not(.hero):not(.hbn)>.wrap>.k,body[data-pt="app"] #app section>.wrap>.eyebrow:first-of-type,body[data-pt="app"] #app section>.wrap>div:first-child>.eyebrow:first-child){font-size:11.5px!important}
  :root:not(#_) body[data-pt="home"] #what .dv-b{padding:18px!important}
}
@media (prefers-reduced-motion:reduce){
  :root:not(#_) :is(body[data-pt="home"] #what .dv,.mini[data-div],.bcard):hover{transform:none}
}

/* ============================== 12. ARTICLES AT THE FOOT OF EVERY PAGE (23 Nov 2026) ============================== */
:root:not(#_) .rel-more{margin:16px 0 0}
:root:not(#_) .rel-more a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;border:1.5px solid var(--s-line2);background:var(--s-card);color:var(--s-ink);font-weight:700;text-decoration:none}
:root:not(#_) .rel-more a:hover{border-color:var(--s-hdg);color:var(--s-hdg)}
:root:not(#_) body[data-pt="app"] #read{background:var(--s-band)!important;--ico:var(--i-doc)}
:root:not(#_) body[data-pt="app"] #read .rdl{margin-top:22px}
:root:not(#_) .rdl a{border-radius:10px!important;box-shadow:var(--s-sh)!important}
:root:not(#_)[data-theme="dark"] body[data-pt="app"] #read{background:var(--s-band)!important}

/* ============================== 13. UNDER EVERY ANIMATION (24 Nov 2026) ==============================
   Owner: "this part under all the animation looks weird", then "remove the colour key altogether" (24 Nov 2026).
   One row of controls (previous, pause and next joined into one control, the modes, zoom and full screen) and the
   readouts as tiles that wrap, two columns on phones. There is no colour key under the drawings any more.
   The drawing stays on a dark stage in both themes, so these colours are fixed. */
:root:not(#_) #app .xp-stage>:is(.xp-ctl,.xp-hud){background:#0f1d2c;border-top:1px solid #23405c}
:root:not(#_) #app .xp-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px}
:root:not(#_) #app .xp-ctl .xp-tr{order:1;display:inline-flex;flex:0 0 auto;border:1px solid #2d4860;border-radius:10px!important;overflow:hidden;background:#152b42}
:root:not(#_) #app .xp-ctl .seg{order:2}
:root:not(#_) #app .xp-ctl .seg:empty{display:none}
:root:not(#_) #app .xp-ctl .seg{display:flex;flex-wrap:wrap;gap:6px;overflow:visible}
:root:not(#_) #app .xp-ctl .seg button{flex:0 1 auto;min-height:38px;padding:0 12px;border:1px solid #2d4860;border-radius:8px!important;background:#152b42;color:#c9d5e1;font:600 12.5px/1.2 var(--f-body)}
:root:not(#_) #app .xp-ctl .seg button:hover{border-color:#ffc35a;color:#fff}
:root:not(#_) #app .xp-ctl .seg button[aria-pressed="true"]{background:#e8a317;border-color:#e8a317;color:#111}
:root:not(#_) #app .xp-ctl .sp{order:3;display:block;flex:1 1 0;min-width:0}
:root:not(#_) #app .xp-ctl>.ib{order:4}
:root:not(#_) #app .xp-ctl .ib{width:auto;height:40px;min-width:40px;padding:0 11px;border:1px solid #2d4860;border-radius:10px!important;background:#152b42;color:#e7edf3;font-size:15px;line-height:1;font-variant-emoji:text}
:root:not(#_) #app .xp-ctl .xp-tr .ib{width:48px;padding:0;border:0;border-radius:0!important;background:transparent}
:root:not(#_) #app .xp-ctl .xp-tr .ib+.ib{border-left:1px solid #2d4860}
:root:not(#_) #app .xp-ctl .ib:hover{color:#ffc35a;border-color:#ffc35a}
:root:not(#_) #app .xp-ctl .xp-tr .ib:hover{background:#1c3756}
:root:not(#_) #app .xp-hud{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:10px 12px 12px;overflow:visible;background:#0f1d2c}
:root:not(#_) #app .xp-hud div{min-width:0;padding:8px 11px;background:#152b42;border:1px solid #23405c;border-radius:8px!important}
:root:not(#_) #app .xp-hud span{color:#9fb3c6;letter-spacing:.08em}
:root:not(#_) #app .xp-hud b{color:#f2f6fa;font-weight:600;font-size:14px;line-height:1.3;margin-top:3px;overflow-wrap:anywhere}
/* while a drawing is full screen the page's menu rows and back-to-top button stay out of its way (they showed on top) */
:root:not(#_).xpfull :is(.nav,.v40-sb,.v42sub,.totop,.dock){visibility:hidden!important}
/* full screen on a phone held upright turns the drawing sideways: only the drawing and a column of buttons (anything
   else in that row, such as the readouts, squeezed the drawing to nothing) */
:root:not(#_) #app .xp.full.rot :is(.xp-hud,.xp-rngs,.xp-ctl .sp){display:none!important}
:root:not(#_) #app .xp.full.rot .xp-ctl{flex:0 0 auto;flex-direction:column;flex-wrap:nowrap;padding:0;border:0;background:transparent;gap:8px}
:root:not(#_) #app .xp.full.rot .xp-ctl .seg{flex:0 0 auto;flex-direction:column;flex-wrap:nowrap}
:root:not(#_) #app .xp.full.rot .xp-ctl .xp-tr{flex-direction:column}
:root:not(#_) #app .xp.full.rot .xp-ctl .xp-tr .ib{width:44px}
:root:not(#_) #app .xp.full.rot .xp-ctl .xp-tr .ib+.ib{border-left:0;border-top:1px solid #2d4860}
@media (max-width:760px){
  :root:not(#_) #app .xp-ctl{padding:8px 10px;gap:6px}
  :root:not(#_) #app .xp-ctl .seg{order:0;flex:1 1 100%}
  :root:not(#_) #app .xp-ctl .ib{height:44px;min-width:44px}
  :root:not(#_) #app .xp-ctl .xp-tr .ib{width:46px}
  :root:not(#_) #app .ln .xp-ctl .ln-now{flex:1 1 100%}
  :root:not(#_) #app .xp-hud{grid-template-columns:1fr 1fr;gap:6px;padding:8px 10px 10px}
  :root:not(#_) #app .xp-hud div{padding:6px 9px}
  :root:not(#_) #app .xp-hud div:last-child:nth-child(odd){grid-column:1/-1}
  :root:not(#_) #app .xp-hud b{font-size:13px}
}

/* ============================== 14. THE DIP LINE PLAYS BY ITSELF (25 Nov 2026) ==============================
   Owner: the galvanizing dip line runs on its own and loops. A Pause button sits beside the hint under the steps. */
:root:not(#_) #dip .v55-row{display:flex;align-items:center;gap:12px;margin-top:10px}
:root:not(#_) #dip .v55-row .v53-hint{margin:0;flex:1 1 auto;min-width:0}
:root:not(#_) #dip .v55-play{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;min-width:96px;padding:0 14px;border:1px solid #2d4860;border-radius:10px!important;background:#152b42;color:#e7edf3;font:600 14px/1 "Noto Sans",Arial,sans-serif;cursor:pointer}
:root:not(#_) #dip .v55-play:hover{color:#ffc35a;border-color:#ffc35a}
:root:not(#_) #dip .v55-play:focus-visible{outline:2px solid #ffc35a;outline-offset:2px}
:root:not(#_) #dip .v55-play span{font-size:12px;font-variant-emoji:text}
@media (max-width:760px){:root:not(#_) #dip .v55-play{height:44px}}
