/* PORTAL LOOK V4 (Lane C, 30-Oct-2026) — the customer portal in the moss / warm-canvas look from the
   approved mocks (syntra-ux-pack/ux-mock-pack/portal-site-v4*.png, portal-asset-v4-phone.png).

   OFF BY DEFAULT. Every rule in this file is scoped under html[data-look="new"], and the two look
   sheets (this one and /brand/look-v4.css, which carries the tokens, the reset and the keyframes)
   are linked `disabled` and switched on by the page's look-state script only when the look is
   "new". Under the default look ("classic") neither sheet is fetched, nothing here matches, and
   the page renders exactly as it did before this file existed.

   RESKIN ONLY. This file selects the ids and classes portal.html already has and draws them
   differently: no markup of the page changes, no payload, no new read. Colour arrives through the
   BRIDGE below, which re-points the page's own variable names (--purple, --ink, --rail-bg …) at the
   look's tokens, so every rule of the page that already reads a variable changes with one stroke;
   the rules after it handle shape (20px cards, 12px controls), type, spacing and the few literal
   colours the page carries. Where the page says a status, the word stays beside the colour.

   MOTION: transform and opacity only; the one pulse sits on a pseudo-element; nothing moves under
   data-motion="off" or prefers-reduced-motion; data-motion="calm" keeps the fades only. */

/* ── 1. BRIDGE — the page's own names, pointed at the look's tokens ─────────────────────────── */
html[data-look="new"] {
  --ink: var(--text);
  --bg: var(--canvas);
  --muted-2: var(--muted);
  --line-soft: var(--line);
  --line-strong: var(--line-2);
  /* --purple is this page's historic name for its ONE accent (see the :root note in portal.html). */
  --purple: var(--moss);
  --purple-deep: var(--moss-deep);
  --purple-soft: var(--moss-tint);
  /* The shell goes light: the mock's top bar is the surface, not a dark slab. */
  --topbar: var(--surface);
  --rail-bg: var(--canvas);
  --rail-text: var(--text-2);
  --rail-muted: var(--muted);
  --rail-line: var(--line);
  --rail-active: var(--moss-tint);
  --rail-hover: var(--hover);
  --mint: var(--moss);
  /* This page has always called its RED --warn (a naming wart kept for history); the look's --warn
     is its amber. The page's red keeps its name and takes the look's red. */
  --warn: var(--bad);
  --warn-soft: var(--bad-soft);
  /* Amber text: the look's --warn-text, made for amber words (the page defines no --warn-text, so
     nothing shadows it). The tint stays a literal: the look's --warn-soft is shadowed by the red
     re-pointing above, so it cannot be read by name here. */
  --amber: var(--warn-text);
  --amber-soft: #faf0da;
  /* "Due soon" keeps its blue: the family status set has one, and the map pins, legend and mix bar
     are painted with it inline by the page. */
  --blue: var(--info);
  --blue-soft: rgba(43,108,176,.12);
  /* The fourth state (not yet assessed) stays a grey unlike any status, on the warm canvas. */
  --unknown: var(--faint);
  --unknown-stripe: var(--stone);
  --unknown-border: var(--faint);
}
html[data-look="new"][data-theme="dark"] {
  /* Said again for dark: the look's own dark block (:root[data-theme="dark"]) outranks the bridge
     above and would hand this page its amber as the page's red. */
  --warn: var(--bad);
  --warn-soft: var(--bad-soft);
  /* --amber and --blue follow --warn-text and --info, which carry their own dark values. */
  --amber-soft: rgba(227,178,91,.14);
  --blue-soft: rgba(138,184,236,.16);
}

/* ── 2. BASE ───────────────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] body { background: var(--canvas); color: var(--text); font-family: var(--sans); }
html[data-look="new"] h1 { font-size: 28px; font-weight: 600; letter-spacing: -.022em; }
html[data-look="new"] h2 { font-size: 20px; font-weight: 600; letter-spacing: -.022em; margin: 0 0 12px; }
html[data-look="new"] h2.pgt { font-size: 28px; }
html[data-look="new"] .muted { color: var(--muted); font-size: 14px; }
html[data-look="new"] a { color: var(--moss); }
/* The look's reset zeroes every padding; a list the page builds without a class keeps its indent. */
html[data-look="new"] .view ul:not([class]), html[data-look="new"] .view ol:not([class]) { padding-left: 22px; }
html[data-look="new"] .view, html[data-look="new"] .signin { animation: syFadeIn var(--dur-fade) var(--ease) both; }

/* ── 3. TOP BAR ────────────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] .topbar { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); gap: 10px; padding: 0 12px; }
html[data-look="new"] .tb-brand { padding: 4px 6px; }
/* The same real mark, in the look's ink; the inline height on the SVG is the one thing !important is for. */
html[data-look="new"] .tb-mark { fill: var(--moss-ink); height: 20px !important; }
html[data-look="new"] .tb-crumb { font-size: 13.5px; }
html[data-look="new"] .tb-crumb-door { color: var(--muted); padding: 4px 6px; border-radius: 8px; }
html[data-look="new"] .tb-crumb-sep { color: var(--faint); }
html[data-look="new"] .tb-crumb-here { color: var(--text); }
html[data-look="new"] .tb-find {
  height: 36px; padding: 0 12px; border: 0; border-radius: 10px; font-size: 13.5px;
  color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
html[data-look="new"] .tb-find:hover { color: var(--text); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .tb-find-key { opacity: 1; color: var(--faint); font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line-2); letter-spacing: .04em; }
html[data-look="new"] .tb-tools { gap: 8px; }
html[data-look="new"] .tb-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--moss); color: #ffffff; font-size: 12px; }
html[data-look="new"] .tb-person-copy .who { color: var(--text); font-size: 13px; }
html[data-look="new"] .tb-person-sub { color: var(--muted); font-size: 11px; }
html[data-look="new"] .tb-ask {
  height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2);
}
html[data-look="new"] .tb-ask:hover { color: var(--text); background: var(--hover); }
html[data-look="new"] .tb-dot { position: relative; width: 8px; height: 8px; background: var(--moss-mid); }
/* The one pulse on the page: Ask Syntra's live dot, six cycles, on a pseudo-element. */
html[data-look="new"] .tb-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: syPulse var(--dur-pulse) ease-out 6; }
html[data-look="new"] .custmark { height: 30px; padding: 3px 6px; border-radius: 8px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"][data-theme="dark"] .tb-avatar { background: var(--moss-tint); color: var(--text); }

/* ── 4. RAIL (desktop) ─────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] .rail { background: var(--canvas); padding: 14px 12px 12px; }
/* The top bar already carries the mark 50px above this spot; the rail's own copy would be the
   same mark twice. The line it carried moves to the page foot, where the mock has it. */
html[data-look="new"] .rail-brand { display: none; }
html[data-look="new"] .rail-list { margin-top: 2px; }
html[data-look="new"] .tab { height: 40px; padding: 0 12px; margin-bottom: 2px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); }
html[data-look="new"] .tab:hover { background: var(--hover); color: var(--text); }
html[data-look="new"] .tab.on { background: var(--moss-tint); color: var(--moss-deep); font-weight: 600; box-shadow: inset 3px 0 0 var(--moss); }
html[data-look="new"] .shopgrp { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
html[data-look="new"] .shoplab { color: var(--muted); font-size: 11.5px; letter-spacing: .08em; padding: 0 12px 6px; }
html[data-look="new"] .rail-byline-in { color: var(--muted); font-size: 10.5px; }
html[data-look="new"] .rail-byline-in img { filter: none; opacity: .85; }
html[data-look="new"] .rail-foot { color: var(--muted); font-size: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
html[data-look="new"] .rail-signout { margin-top: 10px; padding: 6px 10px; border: 0; border-radius: 8px; font-size: 12px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .rail-signout:hover { color: var(--text); background: var(--hover); }
html[data-look="new"] .rail-signout:focus-visible, html[data-look="new"] .rail-toggle:focus-visible, html[data-look="new"] .tab:focus-visible { outline: 2px solid var(--moss); outline-offset: -3px; }
html[data-look="new"][data-theme="dark"] .tab.on { color: var(--text); }
html[data-look="new"][data-theme="dark"] .rail-byline-in img { filter: brightness(0) invert(1); opacity: .55; }

/* ── 5. STAGE, DOOR TABS, VIEW ─────────────────────────────────────────────────────────────────── */
html[data-look="new"] .stage { background: var(--canvas); }
/* Door tabs: the mock's pill row — quiet on the canvas, the open one filled with moss. */
html[data-look="new"] .door-tabs { gap: 6px; padding: 12px 20px 0; background: var(--canvas); border-bottom: 0; }
html[data-look="new"] .door-tab {
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
}
html[data-look="new"] .door-tab:hover { color: var(--text); background: var(--hover); }
html[data-look="new"] .door-tab.on { color: #ffffff; background: var(--moss); box-shadow: none; font-weight: 600; }
html[data-look="new"][data-theme="dark"] .door-tab.on { color: var(--canvas); }
html[data-look="new"] .view > .card:first-child { margin-top: 20px; }
html[data-look="new"] .view > .back { margin-top: 16px; }
html[data-look="new"] .view > .seg { margin: 0 20px 14px; }
html[data-look="new"] .staffview { margin: 16px 20px 0; padding: 12px 16px; border: 0; border-radius: var(--r-ctl); background: var(--amber-soft); color: var(--amber); box-shadow: inset 0 0 0 1px var(--line); }

/* ── 6. CARDS ──────────────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] .card { padding: 24px; margin-bottom: 16px; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .card .muted { line-height: 1.5; }
html[data-look="new"][data-theme="dark"] .card { box-shadow: inset 0 0 0 1px var(--line); }

/* ── 7. CONTROLS — buttons, fields, chips, pills ───────────────────────────────────────────────── */
html[data-look="new"] .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-ctl); font-size: 15px; font-weight: 600;
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
html[data-look="new"] .btn:hover { background: var(--hover); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .btn:disabled { opacity: .6; cursor: default; }
html[data-look="new"] .btn-primary { color: #ffffff; background: var(--moss); box-shadow: 0 1px 2px rgba(15,35,28,.2), 0 6px 16px rgba(47,75,60,.22); }
html[data-look="new"] .btn-primary:hover { background: var(--moss-deep); box-shadow: 0 1px 2px rgba(15,35,28,.2), 0 6px 16px rgba(47,75,60,.22); }
html[data-look="new"] .btn-ghost { color: var(--moss); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .kit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-ctl); font-size: 14px; font-weight: 600;
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
html[data-look="new"] .kit-btn:hover { background: var(--hover); }
html[data-look="new"] .kit-btn-primary { color: #ffffff; background: var(--moss); box-shadow: none; }
html[data-look="new"] .kit-btn-primary:hover { background: var(--moss-deep); }
/* A site card is itself the thing to open, so its button reads as the quiet second action and the
   one filled button on a screen stays the primary. */
html[data-look="new"] .sitecard .kit-btn.sitecard-open { color: var(--moss); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); margin-top: 14px; }
html[data-look="new"] .sitecard .kit-btn.sitecard-open:hover { background: var(--hover); }
html[data-look="new"][data-theme="dark"] .sitecard .kit-btn.sitecard-open { color: var(--moss); }
/* A form whose screen already has a filled head button (the site page's paper form and the
   chamber's issue form, both under "Report an issue") takes the tint, so one filled moss button
   stands per screen. Every other form's send button is its screen's primary and stays filled. */
html[data-look="new"] .view form input[type="file"] ~ .btn-primary, html[data-look="new"] #issueform form .btn-primary { color: var(--moss-deep); background: var(--moss-tint); box-shadow: none; }
html[data-look="new"] .view form input[type="file"] ~ .btn-primary:hover, html[data-look="new"] #issueform form .btn-primary:hover { background: var(--hover); box-shadow: none; }
html[data-look="new"][data-theme="dark"] .view form input[type="file"] ~ .btn-primary, html[data-look="new"][data-theme="dark"] #issueform form .btn-primary { color: var(--text); }
html[data-look="new"] .kit-search { min-height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-ctl); font-size: 14px; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .kit-search:focus { outline: none; box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] .kit-search::placeholder { color: var(--faint); }
html[data-look="new"] form label { font-size: 13px; color: var(--text-2); margin: 14px 0 6px; }
html[data-look="new"] form input, html[data-look="new"] form textarea, html[data-look="new"] form select {
  padding: 12px 14px; border: 0; border-radius: var(--r-ctl); font-size: 16px; color: var(--text);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
html[data-look="new"] form input:focus-visible, html[data-look="new"] form textarea:focus-visible, html[data-look="new"] form select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] form input[type="checkbox"] { width: 18px; height: 18px; padding: 0; box-shadow: none; accent-color: var(--moss); }
html[data-look="new"] form input[type="file"] { padding: 8px 0; background: transparent; box-shadow: none; }
html[data-look="new"] .pill { font-size: 12px; font-weight: 600; padding: 4px 10px; }
html[data-look="new"] .chips { gap: 6px; margin-top: 10px; }
html[data-look="new"] .chip { font-size: 12.5px; font-weight: 600; padding: 5px 11px; }
html[data-look="new"] .p-ok { background: var(--ok-soft); color: var(--ok); }
html[data-look="new"] .p-warn { background: var(--bad-soft); color: var(--bad); }
html[data-look="new"] .p-amber, html[data-look="new"] .indic, html[data-look="new"] .big { background: var(--amber-soft); color: var(--amber); }
html[data-look="new"] .p-blue { background: var(--blue-soft); color: var(--blue); }
html[data-look="new"] .p-mut { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .p-unk { background: transparent; color: var(--muted); border: 1.5px dashed var(--faint); }
html[data-look="new"] .chip.p-sel { color: #ffffff; background: var(--moss); box-shadow: none; }
html[data-look="new"][data-theme="dark"] .btn-primary, html[data-look="new"][data-theme="dark"] .kit-btn-primary, html[data-look="new"][data-theme="dark"] .chip.p-sel { color: var(--canvas); }
html[data-look="new"][data-theme="dark"] .btn-primary, html[data-look="new"][data-theme="dark"] .btn-primary:hover { box-shadow: none; }
html[data-look="new"] .row.tint-warn { background: var(--bad-soft); border-radius: 10px; }
html[data-look="new"] .row.tint-amber { background: var(--amber-soft); border-radius: 10px; }
html[data-look="new"] .note { border-radius: var(--r-ctl); padding: 12px 14px; font-size: 13.5px; border: 0; }
html[data-look="new"] .note-amber { background: var(--amber-soft); color: var(--amber); }
html[data-look="new"] .note-red { background: var(--bad-soft); color: var(--bad); }
html[data-look="new"] .note-ok { background: var(--ok-soft); color: var(--ok); }
html[data-look="new"] .err { color: var(--bad); }
html[data-look="new"] .back { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--moss); margin: 0 0 4px; }
html[data-look="new"] .disclose { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--moss); }
html[data-look="new"] .mini button { min-height: 44px; padding: 12px 0; font-size: 14px; border-top-color: var(--line); color: var(--text); }
html[data-look="new"] .mini button span { color: var(--muted); }
html[data-look="new"] .seg { gap: 8px; }
html[data-look="new"] .seg button { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .seg button.on { color: var(--moss-deep); background: var(--moss-tint); box-shadow: none; }
html[data-look="new"][data-theme="dark"] .seg button.on { color: var(--text); }
html[data-look="new"] .lane { border-color: var(--amber); border-radius: var(--r-ctl); }

/* ── 8. HOME — map, triage tiles, site cards ───────────────────────────────────────────────────── */
html[data-look="new"] .lmap { height: 300px; border: 0; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .lmap .leaflet-container { border-radius: 16px; background: var(--surface-2); }
html[data-look="new"] .lmap .leaflet-bar { border: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-1); }
html[data-look="new"] .lmap .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--text); background: var(--surface); border-bottom-color: var(--line); }
html[data-look="new"] .lmap .leaflet-bar a:hover { background: var(--hover); }
html[data-look="new"] .pindot, html[data-look="new"] .map .pin i, html[data-look="new"] .tl .tlm::before { border-color: var(--surface); }
html[data-look="new"] .legend { gap: 14px; margin-top: 14px; font-size: 13px; color: var(--text-2); }
html[data-look="new"] .legend i { width: 10px; height: 10px; margin-right: 6px; }
html[data-look="new"] .mapnote { color: var(--faint); font-size: 11.5px; }
html[data-look="new"] .tiles { gap: 12px; margin-bottom: 16px; }
/* The four triage tiles on one row on a desktop, as the page's own desktop rule intends (a later
   rule in the page overrides it under classic; here the row is restored). */
@media (min-width: 900px) { html[data-look="new"] .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html[data-look="new"] .tile { padding: 20px 22px 18px; border: 0; border-radius: var(--r-card); color: var(--text); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .tile:hover { background: var(--surface-2); }
html[data-look="new"] .tile b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
html[data-look="new"] .tile .t-label { font-size: 14px; font-weight: 600; margin-top: 6px; }
html[data-look="new"] .tile .t-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
html[data-look="new"] .tile.on { outline: 0; box-shadow: var(--shadow-1), inset 0 0 0 2px var(--moss); }
html[data-look="new"] .sitegrid { gap: 16px; }
html[data-look="new"] .sitecard h2 { font-size: 18px; margin-bottom: 4px; }
html[data-look="new"] .mixbar { height: 8px; border-radius: 999px; background: var(--stone); margin: 12px 0 10px; }
html[data-look="new"][data-theme="dark"] .tile { box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"][data-theme="dark"] .tile.on { box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"][data-theme="dark"] .lmap .leaflet-bar a { background: var(--surface-2); }

/* ── 9. SITE — page head, the counts, the register, the fleet tiles, the side panel ────────────── */
html[data-look="new"] .kit-head { padding: 24px 20px 0; gap: 12px 16px; }
html[data-look="new"] .kit-head-sub { padding-top: 28px; }
html[data-look="new"] .kit-head-title, html[data-look="new"] h2.pgt.kit-head-title { font-size: 28px; font-weight: 600; letter-spacing: -.022em; }
html[data-look="new"] .kit-head-title-sm { font-size: 18px; font-weight: 600; }
html[data-look="new"] .kit-head-meta { font-size: 14px; color: var(--muted); white-space: normal; }
html[data-look="new"] .kit-strip { margin: 16px 20px 0; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .kit-cell { padding: 18px 20px 16px; border-left-color: var(--line); }
html[data-look="new"] .kit-cell-n { font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
html[data-look="new"] .kit-cell-l { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
html[data-look="new"] .kit-cell-w { font-weight: 400; font-size: 12.5px; color: var(--muted); }
html[data-look="new"] .kit-note { margin-top: 12px; }
html[data-look="new"] .kit-table-wrap { margin-top: 16px; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .kit-table { font-size: 13.5px; }
html[data-look="new"] .kit-table th { padding: 14px 18px 10px; font-size: 11.5px; color: var(--muted); background: transparent; border-bottom-color: var(--line); }
html[data-look="new"] .kit-table td { height: 48px; padding: 0 18px; border-bottom-color: var(--line); }
html[data-look="new"] .kit-table tbody tr.assetrow:hover { background: var(--surface-2); }
html[data-look="new"] .kit-td-lead { color: var(--text); }
html[data-look="new"] .kit-viewtoggle { gap: 6px; margin-top: 16px; }
html[data-look="new"] .kit-viewbtn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .kit-viewbtn.on { color: var(--moss-deep); background: var(--moss-tint); box-shadow: none; font-weight: 600; }
html[data-look="new"] .kit-tiles { gap: 14px; margin-top: 12px; }
html[data-look="new"] .kit-tile { gap: 12px; padding: 18px; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .kit-tile:hover, html[data-look="new"] .kit-tile.bad:hover { background: var(--surface-2); }
html[data-look="new"] .kit-tile.bad { background: var(--surface); }
html[data-look="new"] .kit-tile.sel { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--moss); }
html[data-look="new"] .kit-tile.unk .kit-chamber { color: var(--faint); }
html[data-look="new"] .kit-chamber { width: 64px; }
html[data-look="new"] .kit-tile-name { font-size: 16px; font-weight: 600; }
html[data-look="new"] .kit-tile-meta, html[data-look="new"] .kit-tile-line { font-size: 13px; color: var(--muted); }
html[data-look="new"] .kit-panel { border-left: 0; border-radius: var(--r-card) 0 0 var(--r-card); background: var(--surface); box-shadow: var(--shadow-2); }
html[data-look="new"] .kit-panel-head { padding: 20px 20px 14px; border-bottom-color: var(--line); }
html[data-look="new"] .kit-panel-title { font-size: 17px; font-weight: 600; }
html[data-look="new"] .kit-panel-x { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; padding: 0; }
html[data-look="new"] .kit-panel-body { padding: 16px 20px; }
html[data-look="new"] .kit-panel-foot { border-top-color: var(--line); }
html[data-look="new"] .kit-pair-l { color: var(--muted); }
/* .kit-status (the chamber's one status line) is drawn in the C2 section below. */
html[data-look="new"] .kit-photos img, html[data-look="new"] .kit-photo-dead { border-radius: 12px; border-color: var(--line); }
html[data-look="new"] .budtip { border: 0; border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-2); }
html[data-look="new"] .budleg { color: var(--muted); }
/* The budget chart draws its grid and its "one accent" series with fixed values. The page's data
   colours stay its own; only the grid takes the look's hairline, and the series the page itself
   names "the ONE accent" (battery sets, bar and legend square) takes the look's one accent. */
html[data-look="new"] .card svg line[stroke="#f1f3ef"] { stroke: var(--line); }
html[data-look="new"] .card svg rect[fill="#0f5a47"] { fill: var(--moss); }
html[data-look="new"] .budleg span[style*="15, 90, 71"] { color: var(--moss); }
html[data-look="new"] .msg { border: 0; border-radius: 16px; padding: 10px 14px; background: var(--surface-2); }
html[data-look="new"] .msg-user { color: #ffffff; background: var(--moss); }
html[data-look="new"] .msg-syntra { background: var(--surface-2); }
html[data-look="new"] .warnbox { background: var(--bad-soft); border-radius: 0 12px 12px 0; }
html[data-look="new"] .cr-chip.on, html[data-look="new"] .kit-viewbtn.on { color: var(--moss-deep); background: var(--moss-tint); border-color: transparent; }
html[data-look="new"][data-theme="dark"] .kit-strip, html[data-look="new"][data-theme="dark"] .kit-table-wrap, html[data-look="new"][data-theme="dark"] .kit-tile,
html[data-look="new"][data-theme="dark"] .kit-panel { box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"][data-theme="dark"] .kit-tile.sel { box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"][data-theme="dark"] .kit-viewbtn.on, html[data-look="new"][data-theme="dark"] .cr-chip.on { color: var(--text); }
html[data-look="new"][data-theme="dark"] .msg-user { color: var(--canvas); }

/* ── 10. SIGN-IN WINDOW ────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] .signin { max-width: 480px; gap: 16px; }
html[data-look="new"] .win { border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-2); }
html[data-look="new"] .win-bar { height: 48px; padding: 0 20px; gap: 10px; color: var(--text); background: var(--surface-2); border-bottom: 1px solid var(--line); }
html[data-look="new"] .win-bar .win-mark { fill: var(--moss-ink); }
html[data-look="new"] .win-title { font-size: 13px; }
html[data-look="new"] .win-lock { color: var(--muted); }
html[data-look="new"] .win-body { padding: 28px 28px 30px; }
html[data-look="new"] .win-body h1 { font-size: 28px; margin: 0 0 8px; }
html[data-look="new"] .win-body .muted { font-size: 14.5px; }
html[data-look="new"] .win-body form input[type="email"] { height: 48px; padding: 0 14px; border-radius: var(--r-ctl); font-size: 16px; }
html[data-look="new"] .win-body form input[type="email"]:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] .win-body .btn-primary:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
html[data-look="new"] label.stay { font-size: 14px; }
html[data-look="new"] .signin-aside { color: var(--muted); font-size: 13px; }
html[data-look="new"][data-theme="dark"] .win { box-shadow: inset 0 0 0 1px var(--line); }

/* ── 11. PAGE FOOT — built by the look-state script under the flag: the mark, the display choices,
   and the line. ───────────────────────────────────────────────────────────────────────────────── */
html[data-look="new"] .pl-foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; width: 100%; max-width: 1280px;
  margin: auto auto 0; padding: 24px 20px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px;
}
html[data-look="new"] .pl-foot-mark { display: block; height: 20px; width: auto; fill: var(--moss-ink); opacity: .9; flex: none; }
html[data-look="new"] .pl-foot-line { margin-left: auto; letter-spacing: .01em; }
html[data-look="new"] .pl-ctl { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; }
html[data-look="new"] .pl-ctl-label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
html[data-look="new"] .pl-ctl-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 500; color: var(--text-2); background: transparent; cursor: pointer; }
html[data-look="new"] .pl-ctl-btn:hover { color: var(--text); background: var(--hover); }
html[data-look="new"] .pl-ctl-btn[aria-pressed="true"] { color: var(--moss-deep); background: var(--moss-tint); font-weight: 600; }
html[data-look="new"][data-theme="dark"] .pl-ctl-btn[aria-pressed="true"] { color: var(--text); }

/* ── 12. MOTION ────────────────────────────────────────────────────────────────────────────────── */
html[data-look="new"][data-motion="calm"] .tb-dot::after { animation: none; }
html[data-look="new"][data-motion="off"] *, html[data-look="new"][data-motion="off"] *::before, html[data-look="new"][data-motion="off"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html[data-look="new"] .tb-dot::after, html[data-look="new"] .view, html[data-look="new"] .signin, html[data-look="new"] .kit-panel { animation: none; }
}

/* ── 13. PHONES (the page's own breakpoint) ────────────────────────────────────────────────────── */
@media (max-width: 899px) {
  /* The bar at 390px: the mark, the finder, the person, the customer's mark and Ask, all in reach
     and nothing past the edge. */
  html[data-look="new"] .topbar { padding: 0 8px; gap: 6px; }
  html[data-look="new"] .tb-brand { padding: 4px; }
  html[data-look="new"] .tb-mark { height: 18px !important; }
  html[data-look="new"] .tb-find { height: 44px; flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; }
  html[data-look="new"] .tb-tools { gap: 6px; min-width: 0; }
  html[data-look="new"] .tb-person { padding: 3px 4px; }
  html[data-look="new"] .custmark { height: 28px; max-width: 80px; }
  html[data-look="new"] .tb-ask { height: 44px; padding: 0 10px; font-size: 13px; }
  html[data-look="new"] .rail { padding: 8px 12px; gap: 6px; background: var(--canvas); }
  html[data-look="new"] .rail-toggle { padding: 10px 14px; border: 0; border-radius: var(--r-ctl); font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface); box-shadow: var(--shadow-1); }
  html[data-look="new"] .rail-toggle-action { color: var(--moss); font-weight: 600; }
  html[data-look="new"] .rail.menu-open { padding-bottom: 14px; border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: var(--shadow-2); }
  html[data-look="new"] .tabs, html[data-look="new"] .tabgrp, html[data-look="new"] .shopgrp { gap: 6px; }
  html[data-look="new"] .shopgrp { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  html[data-look="new"] .tab { padding: 10px 14px; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  html[data-look="new"] .tab.on { color: #ffffff; background: var(--moss); box-shadow: none; }
  html[data-look="new"] .rail-signout { min-height: 44px; }
  html[data-look="new"] .door-tabs { padding: 10px 12px 0; }
  html[data-look="new"] .view > .seg { margin: 0 12px 12px; }
  html[data-look="new"] .staffview { margin: 12px 12px 0; }
  html[data-look="new"] .card { padding: 20px 18px; }
  html[data-look="new"] .tiles { gap: 10px; }
  html[data-look="new"] .tile b { font-size: 30px; }
  html[data-look="new"] .kit-head-title, html[data-look="new"] h2.pgt.kit-head-title, html[data-look="new"] h1, html[data-look="new"] h2.pgt { font-size: 24px; }
  html[data-look="new"] .kit-btn, html[data-look="new"] .kit-search, html[data-look="new"] .seg button, html[data-look="new"] .kit-viewbtn { min-height: 44px; }
  html[data-look="new"] .kit-panel { border-radius: var(--r-card) 0 0 var(--r-card); }
  html[data-look="new"] .pl-foot { padding: 20px 12px 28px; gap: 10px 16px; }
  html[data-look="new"] .win-body { padding: 24px 20px 26px; }
}
@media (max-width: 899px) {
  html[data-look="new"][data-theme="dark"] .rail-toggle { box-shadow: inset 0 0 0 1px var(--line); }
  html[data-look="new"][data-theme="dark"] .tab.on { color: var(--canvas); }
}

/* ── 14. PRINT — the look adds nothing to paper. ───────────────────────────────────────────────── */
@media print {
  html[data-look="new"] .pl-foot { display: none; }
}

/* ═══ C2. THE ASSET PAGE (one chamber), to portal-asset-v4-phone.png ═════════════════════════════
   Reskin only: the same renderChamberDetail output, selected by what it already carries. The head
   reads as the mock's eyebrow and title; the one status line is a dot and a sentence on the canvas;
   the dates strip reads as the mock's timeline; history rows carry the mock's outlined Open button;
   the action buttons sit in a grid. The battery chart is left exactly as drawn (its look is a
   paired change with pulse-field, by law); the readings chart only takes the look's surfaces for
   its fixed fills. ───────────────────────────────────────────────────────────────────────────── */

/* Head: eyebrow (what it is, where) above a large title; the one filled button beside the title. */
html[data-look="new"] .kit-head > h1.kit-head-title { order: 2; flex: 1 1 320px; font-size: 34px; line-height: 1.1; margin: 0; }
html[data-look="new"] h1.kit-head-title ~ .kit-head-meta { order: 1; flex-basis: 100%; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-look="new"] h1.kit-head-title ~ .kit-head-actions { order: 3; }

/* The one status line: a dot in the status colour, then the sentence; no band behind it. */
html[data-look="new"] .kit-status { position: relative; margin: 18px 20px 0; padding: 0 0 0 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 17px; line-height: 1.45; color: var(--text); }
html[data-look="new"] .kit-status::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--faint); }
html[data-look="new"] .kit-status strong { font-weight: 600; margin-right: 2px; }
html[data-look="new"] .kit-status.good::before { background: var(--ok); }
html[data-look="new"] .kit-status.good strong { color: var(--ok); }
html[data-look="new"] .kit-status.warn::before { background: var(--amber); }
html[data-look="new"] .kit-status.warn strong { color: var(--amber); }
html[data-look="new"] .kit-status.bad::before { background: var(--bad); }
html[data-look="new"] .kit-status.bad strong { color: var(--bad); }
html[data-look="new"] .kit-status.unk::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
html[data-look="new"] .kit-status.unk, html[data-look="new"] .kit-status.mut { color: var(--text-2); }
html[data-look="new"] .cr .cr-status { margin: 0 0 16px; font-size: 15px; }

/* The dates: the mock's timeline. Each cell is a node on a line, its dot in the cell's tone. */
html[data-look="new"] .kit-status + .kit-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 0; margin: 22px 20px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
html[data-look="new"] .kit-status + .kit-strip .kit-cell { position: relative; min-width: 0; padding: 14px 16px 0 0; border-left: 0; border-top: 2px solid var(--line); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n { font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 3px var(--canvas); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n.bad::before { background: var(--bad); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n.warn::before { background: var(--amber); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n.unk { color: var(--muted); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-n.unk::before { background: var(--canvas); box-shadow: 0 0 0 3px var(--canvas), inset 0 0 0 1.5px var(--faint); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-l { margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
html[data-look="new"] .kit-status + .kit-strip .kit-cell-w { font-size: 12.5px; color: var(--muted); }

/* The chamber's cards share one measure (the page gives only two of them side margins). */
html[data-look="new"] .view > div > .kit-head ~ .card { margin: 16px 20px 0; }
html[data-look="new"] .kit-do h2, html[data-look="new"] .kit-history h2, html[data-look="new"] .cr h2.cr-h { font-size: 20px; letter-spacing: -.022em; text-transform: none; color: var(--text); margin: 0 0 12px; }
html[data-look="new"] .cr h2.cr-h { gap: 12px; align-items: center; }

/* Condition: the band and score lead; each point taken off is a plain line. */
html[data-look="new"] .kit-condition .kit-hline b { font-size: 24px; letter-spacing: -.02em; }
html[data-look="new"] .kit-condition .kit-hmeta { font-size: 13px; margin: 8px 0 4px; }
html[data-look="new"] .kit-cond-line { font-size: 14px; color: var(--text-2); }

/* Required actions: rows, then the action buttons in a grid of outlined buttons. */
html[data-look="new"] .kit-do .row { padding: 12px 0; font-size: 15px; border-bottom-color: var(--line); }
html[data-look="new"] .kit-do .row .l b { font-size: 15px; }
html[data-look="new"] .kit-do .row .l span { font-size: 13px; }
html[data-look="new"] .kit-do .lcacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 16px; }
html[data-look="new"] .kit-do .lcacts .lcact { width: 100%; min-height: 48px; padding: 0 16px; font-size: 14.5px; }

/* History: kind and date as the eyebrow, the title and its word, Open as an outlined button. */
html[data-look="new"] .kit-hrow { padding: 14px 0; border-bottom-color: var(--line); }
html[data-look="new"] .kit-hrow-top { font-size: 12px; letter-spacing: .06em; color: var(--muted); }
html[data-look="new"] .kit-hline { gap: 12px; margin-top: 4px; font-size: 15px; }
html[data-look="new"] .kit-hmeta { font-size: 13px; margin-top: 3px; }
html[data-look="new"] .kit-hdetail { font-size: 14px; color: var(--text-2); line-height: 1.5; }
html[data-look="new"] .kit-hfix { font-size: 14px; }
html[data-look="new"] .openact { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .openact:hover { background: var(--hover); }
html[data-look="new"] .kit-photos { gap: 10px; margin-top: 10px; }
html[data-look="new"] .kit-photos img { width: 120px; height: 120px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .kit-photo-dead { min-height: 120px; min-width: 120px; border-radius: 14px; }

/* Consumables: the vertical timeline, dots on a hairline rail; overdue keeps its red word. */
html[data-look="new"] .tl { margin: 10px 0 0 6px; padding-left: 24px; border-left: 2px solid var(--line); }
html[data-look="new"] .tl .tlm { padding: 2px 0 14px; }
html[data-look="new"] .tl .tlm::before { left: -31px; top: 5px; width: 12px; height: 12px; border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--line); background: var(--moss); }
html[data-look="new"] .tl .tlm.od::before { background: var(--bad); }
html[data-look="new"] .tl .tlh { font-size: 14px; font-weight: 600; color: var(--text); }
html[data-look="new"] .tl .tli { font-size: 15px; padding-top: 6px; }
html[data-look="new"] .tl .tli span { font-size: 13px; }

/* Readings from the chamber: the range chips, the inner strip and blocks on the second surface,
   and the chart's fixed fills on the look's surfaces (missing stays hatched, never zero). */
html[data-look="new"] .cr-chip { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .cr .kit-strip { margin: 0 0 14px; border-radius: 16px; background: var(--surface-2); box-shadow: none; }
html[data-look="new"] .cr .kit-cell { padding: 14px 16px 12px; border-left-color: var(--line); }
html[data-look="new"] .cr .kit-cell-n { font-size: 22px; }
html[data-look="new"] .cr-blk { padding: 14px 16px; border: 0; border-radius: 16px; background: var(--surface-2); }
html[data-look="new"] .cr-blk h3, html[data-look="new"] .cr-sub, html[data-look="new"] .cr-cap, html[data-look="new"] .cr-gh span { color: var(--muted); }
html[data-look="new"] .cr-blk p { color: var(--text-2); }
html[data-look="new"] .cr-gh { font-size: 15px; }
html[data-look="new"] .cr-t th { color: var(--muted); border-bottom-color: var(--line); }
html[data-look="new"] .cr-t td { border-bottom-color: var(--line); }
html[data-look="new"] .cr-svg rect[fill="#fcfdfb"] { fill: var(--surface); }
html[data-look="new"] .cr-svg rect[fill="#f1f3ef"] { fill: var(--surface-2); }
html[data-look="new"] .cr-svg rect[fill="#17201e"] { fill: var(--text); }
html[data-look="new"] .cr-svg line[stroke="#b6b3c0"] { stroke: var(--faint); }
html[data-look="new"] .cr-svg line[stroke="#d9a441"] { stroke: var(--amber); }
html[data-look="new"] .cr-svg .cr-band { fill: var(--moss-alpha); }

@media (max-width: 899px) {
  html[data-look="new"] .kit-head > h1.kit-head-title { font-size: 28px; }
  html[data-look="new"] .kit-status { margin: 14px 12px 0; font-size: 16px; }
  html[data-look="new"] .kit-status + .kit-strip { margin: 18px 12px 0; }
  html[data-look="new"] .view > div > .kit-head ~ .card { margin: 14px 12px 0; }
  html[data-look="new"] .openact, html[data-look="new"] .cr-chip { min-height: 44px; }
  html[data-look="new"] .kit-photos img, html[data-look="new"] .kit-photo-dead { width: 104px; height: 104px; min-width: 104px; min-height: 104px; }
}

/* ═══ C3. GUIDANCE AND THE REGULATOR (help centre), ASK SYNTRA, "DO IT HERE" (tickets, the
   request forms, the Store) ═══════════════════════════════════════════════════════════════════
   Reskin only. The help centre is where the portal keeps what the regulator and the operations
   manual say; the mock's per-standard rings have no data behind them, so the regulatory rows and
   the guide are drawn as what they are. The Ask box keeps its exact markup and behaviour: only its
   field, its send button and the bubbles change shape. ──────────────────────────────────────── */

/* Ask Syntra: the question as a pill with the filled send button beside it; the turns as bubbles. */
html[data-look="new"] .asklist { margin: 8px 0 16px; }
html[data-look="new"] .msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
html[data-look="new"] .msg-user { border-bottom-right-radius: 6px; }
html[data-look="new"] .msg-syntra { border-bottom-left-radius: 6px; }
html[data-look="new"] .askform { gap: 10px; align-items: center; }
html[data-look="new"] .askform input { min-height: 52px; padding: 0 18px; border-radius: 999px; font-size: 16px; }
html[data-look="new"] .askform .askbtn { min-height: 52px; width: auto; padding: 0 22px; border-radius: 999px; }
html[data-look="new"] .askwait { margin: 8px 0; }

/* Tickets and every list of rows: the shared row, its word beside its colour. */
html[data-look="new"] .row { padding: 12px 0; font-size: 15px; border-bottom-color: var(--line); }
html[data-look="new"] .row .l b { font-size: 15px; }
html[data-look="new"] .row .l span { font-size: 13px; }
html[data-look="new"] .card > .btn-primary { width: auto; }

/* Help centre menu: seven rows in one card, the emergency row marked with the moss bar. */
html[data-look="new"] .helpmenu { padding: 6px 0; }
html[data-look="new"] .helptopic { min-height: 64px; padding: 16px 24px; border-top-color: var(--line); }
html[data-look="new"] .helptopic:hover, html[data-look="new"] .helptopic:focus-visible { background: var(--hover); }
html[data-look="new"] .helptopic.lead { border-left: 0; box-shadow: inset 3px 0 0 var(--moss); }
html[data-look="new"] .helptopict b { font-size: 16px; font-weight: 600; }
html[data-look="new"] .helpblurb { font-size: 14px; }
html[data-look="new"] .helpcount { font-size: 13px; color: var(--muted); }

/* A topic: the guide card and its document sections on the cards' measure; manual references as
   the mock's small source chips; the arrival steps keep their numerals and the red interlock. */
html[data-look="new"] .view > .helpsec { margin: 0 20px 16px; padding: 24px; border: 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-1); }
html[data-look="new"] .lctop { gap: 10px; margin-bottom: 14px; }
html[data-look="new"] .lctop .kit-btn { width: auto; }
html[data-look="new"] .lctoc { gap: 8px; margin: 14px 0 6px; }
html[data-look="new"] .lctoc a { padding: 7px 12px; border: 0; border-radius: 999px; font-size: 13.5px; color: var(--text-2); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .lctoc a:hover { color: var(--moss-deep); background: var(--moss-tint); border-bottom-color: transparent; }
html[data-look="new"] .lcstage { margin-top: 28px; padding-top: 20px; border-top-color: var(--line); }
html[data-look="new"] .lcstage:first-of-type { margin-top: 16px; }
html[data-look="new"] .lcstage h3 { font-size: 18px; }
html[data-look="new"] .lcstage h4 { font-size: 15px; }
html[data-look="new"] .lcstage h5 { color: var(--muted); }
html[data-look="new"] .lcrow { padding: 12px 0; border-top-color: var(--line); }
html[data-look="new"] .lchead b { font-size: 15px; }
html[data-look="new"] .lcrow p, html[data-look="new"] .lcitems li p, html[data-look="new"] .lceight li p, html[data-look="new"] .lcarr li p { font-size: 14px; color: var(--text-2); }
html[data-look="new"] .lceight li, html[data-look="new"] .lcitems li { font-size: 15px; }
html[data-look="new"] .lcsteps { font-size: 14.5px; }
html[data-look="new"] .ref.lcref, html[data-look="new"] a.lcref { font-family: inherit; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; color: var(--moss); background: var(--moss-tint); text-decoration: none; }
html[data-look="new"] .lcarr > li::before { background: var(--moss); }
html[data-look="new"] .lcarr > li.stop { border-radius: 14px; }
html[data-look="new"] .lcarr > li.stop::before { background: var(--bad); }
html[data-look="new"] .lcem { border-radius: 14px; background: var(--surface-2); }
html[data-look="new"] .lcband { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
html[data-look="new"] .lctable th { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
html[data-look="new"] .lctable td { font-size: 14px; border-bottom-color: var(--line); }
html[data-look="new"] .lccontact { font-size: 16px; }
html[data-look="new"] .lccontact a, html[data-look="new"] .lcnames a { color: var(--moss); }

/* Documents: a row per file with its size, Download as an outlined button. */
html[data-look="new"] .dl { padding: 14px 0; align-items: center; border-bottom-color: var(--line); }
/* The row's own order is title, Download, then the meta line; it reads as title, meta, button. */
html[data-look="new"] .dl .d { display: flex; flex-direction: column; align-items: flex-start; }
html[data-look="new"] .dl .d > a:first-child { order: 1; }
html[data-look="new"] .dl .d > span { order: 2; }
html[data-look="new"] .dl .d > a.dlact { order: 3; }
html[data-look="new"] .dl .d a { font-size: 15px; color: var(--text); text-decoration: none; }
html[data-look="new"] .dl .d span { font-size: 13px; }
html[data-look="new"] .dl .sz { font-weight: 500; color: var(--muted); }
html[data-look="new"] a.dlact, html[data-look="new"] .dl .d a.dlact { display: inline-flex; align-items: center; min-height: 36px; margin-top: 10px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; }
html[data-look="new"] a.dlact:hover, html[data-look="new"] .dl .d a.dlact:hover { background: var(--hover); }

/* The regulator: the honesty note keeps its red bar; each source is a row whose first action is
   the regulator's own page, drawn as the leading outlined button. */
html[data-look="new"] .warnbox { padding: 14px 16px; border-radius: 14px; border-left: 3px solid var(--bad); background: var(--bad-soft); font-size: 14px; color: var(--text-2); }
html[data-look="new"] .regstate { margin-top: 22px; font-size: 12px; color: var(--muted); }
html[data-look="new"] .reg { padding: 16px 0; border-bottom-color: var(--line); }
html[data-look="new"] .reg b { font-size: 16px; }
html[data-look="new"] .reg .who { font-size: 13px; }
html[data-look="new"] .reg p { font-size: 14px; color: var(--text-2); }
html[data-look="new"] .reg .acts { gap: 8px; margin-top: 12px; }
html[data-look="new"] .reg .acts a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; }
html[data-look="new"] .reg .acts a:first-child { color: var(--moss); }
html[data-look="new"] .reg .acts a:hover { background: var(--hover); }

/* The range specification table. */
html[data-look="new"] .cmp { font-size: 13.5px; }
html[data-look="new"] .cmp th, html[data-look="new"] .cmp td { padding: 10px 12px; border-bottom-color: var(--line); }
html[data-look="new"] .cmp thead th { color: var(--muted); letter-spacing: .06em; }
html[data-look="new"] .cmp tbody td:first-child, html[data-look="new"] .cmp tbody th:first-child { color: var(--text); }
html[data-look="new"] .cmp td.specgroup { color: var(--muted); background: var(--surface-2); }
html[data-look="new"] .cmp tbody tr:nth-child(odd) td { background: var(--surface-2); }
html[data-look="new"] .cmp td.blank { color: var(--faint); }

/* The Store: the range cards level in a row, the chosen one ringed in moss with its button
   tinted; prices large with their basis beneath; the one filled button is the send at the foot. */
html[data-look="new"] .view > .chgrid { margin: 0 20px; gap: 16px; }
html[data-look="new"] .chcard { border: 0; box-shadow: var(--shadow-1); }
html[data-look="new"] .chcard.chsel { box-shadow: var(--shadow-1), inset 0 0 0 2px var(--moss); }
html[data-look="new"] .chcard .btn.btn-primary { width: 100%; color: var(--moss-deep); background: var(--moss-tint); box-shadow: none; }
html[data-look="new"] .chcard .disclose { display: flex; margin-top: 12px; }
html[data-look="new"] .price { margin-top: 12px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
html[data-look="new"] .basis { font-size: 12.5px; color: var(--muted); }
html[data-look="new"] .ref { font-size: 13px; font-weight: 600; color: var(--text-2); }
html[data-look="new"] .spec h3 { font-size: 15px; color: var(--text); }
html[data-look="new"] .spec ul { font-size: 14px; color: var(--text-2); }
html[data-look="new"] .optrow { padding: 12px 0; align-items: center; font-size: 14.5px; border-bottom-color: var(--line); }
html[data-look="new"] .optrow .o span { font-size: 13px; }
html[data-look="new"] .optrow .op { font-weight: 600; }
html[data-look="new"] .optrow input[type="checkbox"] { width: 20px; height: 20px; margin-top: 0; accent-color: var(--moss); }
html[data-look="new"] .optrow input.pqty { width: 72px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 10px; font-size: 15px; text-align: center; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-look="new"] .optrow input.pqty:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] .card > input[type="search"] { width: 100%; min-height: 44px; margin-bottom: 8px; padding: 0 16px; border: 0; border-radius: var(--r-ctl); font-size: 15px; color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"] .card > input[type="search"]:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] .grp { margin-top: 20px; padding-top: 14px; font-size: 12px; letter-spacing: .08em; color: var(--muted); border-top-color: var(--line); }
html[data-look="new"] .wgrp { border-top-color: var(--line); }
html[data-look="new"] .qline { padding: 10px 0; font-size: 14.5px; border-bottom-color: var(--line); }
html[data-look="new"] .qline span { font-size: 13px; }
html[data-look="new"] .total { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--text); }
html[data-look="new"] .total b { font-size: 24px; letter-spacing: -.02em; }
/* The parts list's "Empty selection" carries its own inline float and size; it keeps them. */
html[data-look="new"] .btn[style*="float"] { display: inline-block; width: auto; min-height: 0; }
html[data-look="new"] .cart-storage-status { font-size: 13px; }
html[data-look="new"][data-theme="dark"] .view > .helpsec, html[data-look="new"][data-theme="dark"] .chcard { box-shadow: inset 0 0 0 1px var(--line); }
html[data-look="new"][data-theme="dark"] .chcard.chsel { box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"][data-theme="dark"] .chcard .btn.btn-primary { color: var(--text); }

@media (max-width: 899px) {
  html[data-look="new"] .view > .helpsec { margin: 0 12px 14px; padding: 20px 18px; }
  html[data-look="new"] .view > .chgrid { margin: 0 12px; }
  html[data-look="new"] .helptopic { padding: 14px 18px; }
  html[data-look="new"] .msg { max-width: 92%; }
  html[data-look="new"] .askform .askbtn { padding: 0 18px; }
  html[data-look="new"] .reg .acts a, html[data-look="new"] a.dlact, html[data-look="new"] .dl .d a.dlact { min-height: 44px; }
}

/* ═══ C4. SUPPLIED AND SERVICED (the summary), REPORTS, QUOTES AND ACCOUNT ════════════════════════
   Reskin only. The quote page's accept, question and decline controls keep their exact markup,
   ids, classes and handlers; only their shape changes here. Quotes and Account render behind the
   page's own kill switch (off in this build), so their rules wait for it. ───────────────────── */

/* Rows everywhere: the label column stacks its own lines, a Download inside it goes last, and a
   row's button wraps under it on a narrow screen. */
html[data-look="new"] .row { align-items: center; flex-wrap: wrap; }
html[data-look="new"] .row .l { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1 1 240px; }
html[data-look="new"] .row .l > a:first-child:not(.dlact) { font-size: 15px; color: var(--text); text-decoration: none; }
html[data-look="new"] .row .l > a.dlact { order: 3; margin-top: 8px; }
html[data-look="new"] .row .openact, html[data-look="new"] .row .pill { flex: none; }
html[data-look="new"] .row .qopen, html[data-look="new"] .qpdf { flex: none; width: auto; min-height: 44px; margin-top: 0; padding: 0 16px; }

/* Supplied and serviced: the kind of work as the outer heading, the site as the inner one. */
html[data-look="new"] .wgrp { margin-top: 24px; padding-top: 16px; font-size: 15px; font-weight: 600; border-top: 1px solid var(--line); }
html[data-look="new"] .wgrp.first, html[data-look="new"] .grp.first { margin-top: 4px; padding-top: 0; border-top: 0; }

/* The quote page: the head card with its exact-copy callout, the lines and their totals, the
   options on the second surface, and the answer boxes with Accept ringed in moss. */
html[data-look="new"] .qtitle { gap: 10px 14px; margin-bottom: 6px; }
html[data-look="new"] .qtitle h1 { font-size: 28px; }
html[data-look="new"] .qsubject { font-size: 16px; color: var(--text-2); }
html[data-look="new"] .qmeta { font-size: 14px; }
html[data-look="new"] .qcallout { margin: 14px 0 12px; padding: 14px 16px; gap: 12px 16px; border-radius: 14px; background: var(--surface-2); }
html[data-look="new"] .qcallout-txt { font-size: 14px; color: var(--text-2); }
html[data-look="new"] .qcallout .note { margin: 0; }
html[data-look="new"] .qasset { font-size: 14px; }
html[data-look="new"] .qamt { font-size: 15px; font-weight: 600; }
html[data-look="new"] .qoptions { margin: 16px 0 8px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--surface-2); }
html[data-look="new"] .qoptions h3 { font-size: 15px; margin-bottom: 6px; }
html[data-look="new"] .qoptions .optrow { border-bottom-color: var(--line-2); }
html[data-look="new"] .qoptions .optrow:last-child { border-bottom: 0; }
html[data-look="new"] .qoptions .optrow .o { flex: 1; font-size: 14.5px; }
html[data-look="new"] .qoptions .optrow b { font-weight: 600; white-space: nowrap; }
html[data-look="new"] .qtotals { margin-top: 12px; }
html[data-look="new"] .qsum { padding: 8px 0; font-size: 15px; }
html[data-look="new"] .qsum b { font-weight: 600; }
html[data-look="new"] .qsum.qtotal { margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--text); font-size: 17px; }
html[data-look="new"] .qsum.qtotal b { font-size: 24px; letter-spacing: -.02em; }
html[data-look="new"] .qterms { margin-top: 12px; font-size: 14px; }
html[data-look="new"] .qanswer h2 { margin-bottom: 14px; }
html[data-look="new"] .qpair { gap: 16px; margin-top: 16px; }
html[data-look="new"] .qbox { padding: 18px; border: 0; border-radius: 16px; background: var(--surface-2); }
html[data-look="new"] .qbox h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
html[data-look="new"] .qbox-accept { background: var(--surface); box-shadow: inset 0 0 0 2px var(--moss); }
html[data-look="new"] .qbox form label { margin-top: 12px; }
html[data-look="new"] .qbox form input, html[data-look="new"] .qbox form textarea, html[data-look="new"] .qbox form select { background: var(--surface); }
html[data-look="new"] .qbox .optrow { padding: 10px 0; border-bottom: 0; }
html[data-look="new"] .qaccepting { margin: 12px 0; font-size: 14px; color: var(--text-2); }
html[data-look="new"] .qbox .btn { margin-top: 10px; }
html[data-look="new"] .qkeep .kit-pairs { gap: 10px 14px; }
html[data-look="new"] .qkeep-note { font-size: 13px; border-top-color: var(--line); }

/* Account: the figures as a stat row, the ledger, and how to pay on the second surface. */
html[data-look="new"] .qstats { gap: 14px 28px; margin: 4px 0 14px; }
html[data-look="new"] .qstats .stat b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
html[data-look="new"] .qstats .stat span { font-size: 13px; color: var(--muted); }
html[data-look="new"] .qledger-wrap { margin-top: 8px; }
html[data-look="new"] .qledger { font-size: 14px; }
html[data-look="new"] .qledger th { padding: 10px 8px; color: var(--muted); border-bottom-color: var(--line-2); }
html[data-look="new"] .qledger td { padding: 12px 8px; border-bottom-color: var(--line); }
html[data-look="new"] .qinv-no b { font-size: 15px; }
html[data-look="new"] .qinv-sub { font-size: 13px; }
html[data-look="new"] .qpay { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
html[data-look="new"] .qpay p { font-size: 15px; }
html[data-look="new"] .qpay-h { margin-bottom: 6px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }

@media (max-width: 899px) {
  html[data-look="new"] .qtitle h1 { font-size: 24px; }
  html[data-look="new"] .qbox { padding: 16px; }
  html[data-look="new"] .row .qopen { width: 100%; }
}
