/* =============================================================================
   NTXV — THEME A appearance layer ("dark frame, light desk", owner decision
   2026-11-09, chosen on sight from the three-lights preview)

   One stylesheet, loaded LAST in the operations shell (index.html), switched
   on by one attribute on <html>:
       <html data-ntxv-skin="theme-a">
   Remove that attribute (or this <link>) and the app is exactly as before —
   Ivory Ledger in the operations shell, Soft Clay on the sign-in page. This
   layer supersedes the neon skin in the admin document only; the public home
   page (home.html) keeps its own neon layer and is untouched.

   HOW IT WINS — the same mechanism assets/theme-neon.css proved: Ivory Ledger
   draws almost every colour from its --il-* tokens declared on .shell, and
   re-points the base skin's variables there. Section 1 re-declares those
   tokens on the same element at higher specificity, so the whole ledger
   re-colours in one move. The places the tokens cannot express — the dark
   sidebar (Ivory Ledger section 14 paints it with literals), the primary
   button, the status chips, the work-board state tints, the documents — are
   answered one by one below, mirroring the selector sets the neon layer and
   Ivory Ledger section 14 already established.

   THE LOOK (owner-approved preview, "NTXV Admin — Three Lights", theme A)
   - A near-black frame: sidebar and bars #0B110B, lit only by the neon
     brand green #35F06A in marker positions.
   - A light desk: #F6F7F1 ground, white cards, green-ink text order
     #182418 / #46543F / #7C8A72, hairlines #E1E7DA.
   - The neon appears ONLY as: the brand mark, the current-menu marker,
     live/active dots, the primary button's edge, the user disc's letters,
     focus rings on the dark frame. Never a working-area fill, never body
     text. On the light desk, text-level green is the deep #0E7A33 (the
     neon itself is 1.9:1 on white and cannot carry text).
   - Meaning colours keep their meaning: Ivory Ledger's warning and urgent
     tokens are deliberately NOT re-pointed, and destructive actions keep
     their red. Status chips take the four approved families by meaning.

   TYPOGRAPHY: Theme A uses the shared NTXV typeface for display and
   body text through Ivory Ledger's --il-serif and --il-sans tokens.

   DERIVED VALUES (not in the approved token list; each is the nearest
   in-family step, listed so a reviewer can strike them individually):
   - #EDF2E4 — panel/inset ground (the base --panel step below the desk).
   - #8A9A80 — hint text (--il-ink-4 / --ops-hint step below --ink-3).
   - #EAF0E2 — soft hairline (--il-rule-soft step above --line).
   - #0A5C29 — deep link green (--il-forest-deep / --ops-link-strong).
   Everything else in this file is an approved token value, verbatim.

   LOGO HOUSE RULE KEPT: this layer never sets logo dimensions, filters,
   imagery or asset URLs, and never paints behind the brand block.
   Appearance only: no layout, no wording, no logic.

   Redeploy note 2026-11-09: no functional change — committed to refresh
   the production deployment after the PR #240 merge served a stale
   index.html.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   0. PALETTE — the approved Theme A tokens, verbatim from the spec package
      (THEME-A-GLOBAL.md, from the owner-approved preview).
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"] {
  --ta-bg: #F6F7F1;
  --ta-card: #FFFFFF;
  --ta-ink: #182418;
  --ta-ink-2: #46543F;
  --ta-ink-3: #7C8A72;
  --ta-line: #E1E7DA;
  --ta-rail: #0B110B;
  --ta-rail-step: #182618;
  --ta-rail-active: #1A2B1A;
  --ta-rail-ink: #EDF3E4;
  --ta-rail-ink-2: #A9BBA0;
  --ta-rail-line: #22331F;
  --ta-bar: #0B110B;
  --ta-bar-ink: #EDF3E4;
  --ta-bar-line: #22331F;
  --ta-field-bg: #16211A;
  --ta-field-line: #2A3D28;
  --ta-field-ink: #000;
  --ta-btn-bg: #16241A;
  --ta-btn-line: #35F06A;
  --ta-btn-ink: #EAF7E9;
  --ta-accent: #35F06A;
  --ta-accent-deep: #0E7A33;
  --ta-marker: #35F06A;
  --ta-brand-mark: #35F06A;
  --ta-row-current: #EFF5E6;
  --ta-row-edge: transparent;
  --ta-live-num: #182418;
  --ta-user-disc: #1E2E1E;
  --ta-user-disc-ink: #35F06A;
  --ta-card-shadow: 0 1px 2px rgba(24,36,24,.05);
  --ta-key-shadow: 0 1px 2px rgba(24,36,24,.05);
  --ta-display: var(--ntxv-ui-font, system-ui, sans-serif);
  --ta-chip-booked-bg: #E7EEE0;
  --ta-chip-booked-ink: #33452E;
  --ta-chip-transit-bg: #D8F6E1;
  --ta-chip-transit-ink: #0E5C2A;
  --ta-chip-terminal-bg: #F7E8C8;
  --ta-chip-terminal-ink: #6B4E12;
  --ta-chip-delivered-bg: #E9EFE0;
  --ta-chip-delivered-ink: #3E5238;
}

/* Only the operations shell and the sign-in page take the desk ground. The
   public website, the customer portal and the phone's own home screen share
   this document and are left exactly as they are. */
@media screen {
  html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"]:has(#app > .shell),
  html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"]:has(#app > .shell) body,
  html[data-ntxv-skin="theme-a"]:has(#app > .login),
  html[data-ntxv-skin="theme-a"]:has(#app > .login) body {
    background: var(--ta-bg) !important;
    color-scheme: light;
  }
}

/* -----------------------------------------------------------------------------
   1. OPERATIONS SHELL — re-point the Ivory Ledger tokens (and through them
      the base skin's variables) at Theme A. Warning/urgent tokens are NOT
      re-pointed: they keep Ivory Ledger's light-tuned meaning values.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell {
  --il-paper: var(--ta-bg);
  --il-paper-deep: #EDF2E4;
  --il-paper-card: var(--ta-card);
  --il-ink: var(--ta-ink);
  --il-ink-2: var(--ta-ink-2);
  --il-ink-3: var(--ta-ink-3);
  --il-ink-4: #8A9A80;
  --il-rule: var(--ta-line);
  --il-rule-soft: #EAF0E2;
  --il-forest: var(--ta-accent-deep);
  --il-forest-deep: #0A5C29;
  --il-forest-tint: var(--ta-chip-transit-bg);
  --il-brass: var(--ta-accent);
  --il-brass-deep: var(--ta-accent-deep);
  --il-brass-tint: var(--ta-row-current);
  --il-serif: var(--ta-display);
  --il-sans: var(--ta-display);
  --il-panel-shadow: var(--ta-card-shadow);

  --ops-ink: var(--ta-ink);
  --ops-ink-2: var(--ta-ink-2);
  --ops-ink-3: var(--ta-ink-3);
  --ops-hint: #8A9A80;
  --ops-line: var(--ta-line);
  --ops-link: var(--ta-accent-deep);
  --ops-link-strong: #0A5C29;
  --ops-good: var(--ta-accent-deep);
  --navy: var(--ta-ink);
  --navy2: var(--ta-ink-2);
  --panel: #EDF2E4;
  --line: var(--ta-line);
  --muted: var(--ta-ink-3);
  --blue: var(--ta-accent-deep);
  --teal: var(--ta-accent-deep);
  --amber: #A96F14;

  background: var(--ta-bg);
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell ::selection {
  background: var(--ta-chip-transit-bg);
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :focus-visible {
  outline: 2px solid var(--ta-accent-deep);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   2. BUTTONS — primary takes the approved button tokens (dark fill, one
      neon edge, pale ink). Secondary is white with a hairline. Destructive
      keeps its meaning colour (mirrors the neon layer's own guard).
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(.primary, button.primary, .wb-send-bar .primary) {
  background: var(--ta-btn-bg);
  border: 1px solid var(--ta-btn-line);
  color: var(--ta-btn-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(.primary, button.primary):hover {
  background: var(--ta-user-disc);
  border-color: var(--ta-btn-line);
  color: var(--ta-btn-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .primary.danger:hover {
  background: var(--il-urgent);
  border-color: var(--il-urgent);
  color: #fff;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .primary.coming-soon {
  background: var(--il-ink-4);
  border-color: var(--il-ink-3);
  color: #fff;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(.ghost, .icon-btn, .header-bell, button.secondary, .btn-secondary, .secondary, .brv-off-btn, .brv-clear, .brv-readcn, .eq-tabs button, .drop-evidence-check, .linkish, button:not([class])) {
  background: var(--ta-card);
  border-color: var(--ta-line);
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(.ghost, .icon-btn, .header-bell, button.secondary, .btn-secondary, .secondary, .brv-off-btn, .brv-clear, .brv-readcn, .eq-tabs button, .drop-evidence-check, .linkish, button:not([class])):hover {
  border-color: var(--ta-accent-deep);
  color: var(--ta-ink);
}
/* The page-top strip: Back is a secondary button; Help takes the primary. */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .page-top button.back.nav-back {
  background: var(--ta-card) !important;
  border: 1px solid var(--ta-line) !important;
  color: var(--ta-ink-2) !important;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .page-top button.back.nav-back::before {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .page-top button.back.nav-back:hover {
  background: var(--ta-card) !important;
  border-color: var(--ta-accent-deep) !important;
  color: var(--ta-ink) !important;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .page-top .help-fab {
  background: var(--ta-btn-bg);
  border: 1px solid var(--ta-btn-line);
  color: var(--ta-btn-ink);
  box-shadow: none;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .page-top .help-fab:hover {
  background: var(--ta-user-disc);
}
/* The user disc: dark ground, neon letters (approved --user-disc pair). */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-avatar {
  background: var(--ta-user-disc);
  color: var(--ta-user-disc-ink);
  box-shadow: 0 0 0 1px var(--ta-rail-line), 0 0 0 3px var(--ta-bg), 0 0 0 4px var(--ta-accent-deep);
}

/* -----------------------------------------------------------------------------
   3. STATUS CHIPS — the four approved families, mapped by meaning onto the
      app's tag groups (the neon layer's section 6 groups): not started =
      booked family, moving = transit, waiting/holding = terminal, done =
      delivered. The cancelled/overdue group is NOT recoloured — it keeps
      Ivory Ledger's urgent meaning colours.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .tag:is(.booking, .qte-sent, .hlth-prospect, .acct-prospect, .inv-sent, .qte-new) {
  color: var(--ta-chip-booked-ink);
  background: var(--ta-chip-booked-bg);
  border-left-color: var(--ta-chip-booked-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .tag:is(.transit) {
  color: var(--ta-chip-transit-ink);
  background: var(--ta-chip-transit-bg);
  border-left-color: var(--ta-chip-transit-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .tag:is(.customs, .inv-partial, .qte-preparing, .doc-pending, .hlth-watch) {
  color: var(--ta-chip-terminal-ink);
  background: var(--ta-chip-terminal-bg);
  border-left-color: var(--ta-chip-terminal-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .tag:is(.delivery, .delivered, .inv-paid, .doc-available, .qte-approved, .acct-active, .hlth-good, .inv-draft, .acct-inactive, .qte-lost) {
  color: var(--ta-chip-delivered-ink);
  background: var(--ta-chip-delivered-bg);
  border-left-color: var(--ta-chip-delivered-ink);
}
/* Booked RV state tags and Container Register location chips. brv-warn and
   brv-unknown keep their meaning colours and are not answered here. */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .brv-tag {
  background: var(--ta-chip-booked-bg);
  color: var(--ta-chip-booked-ink);
  border-color: var(--ta-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-status {
  background: var(--ta-chip-booked-bg);
  color: var(--ta-chip-booked-ink);
  border: 1px solid var(--ta-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-status:is(.eq-customer, .eq-yard) {
  background: var(--ta-chip-delivered-bg);
  color: var(--ta-chip-delivered-ink);
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-status.eq-terminal {
  background: var(--ta-chip-terminal-bg);
  color: var(--ta-chip-terminal-ink);
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-status:is(.eq-transit) {
  background: var(--ta-chip-transit-bg);
  color: var(--ta-chip-transit-ink);
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-status:is(.eq-unknown) {
  background: var(--ta-chip-terminal-bg);
  color: var(--ta-chip-terminal-ink);
  border-color: var(--ta-rail-ink-2);
}

/* -----------------------------------------------------------------------------
   4. FILTERS, TABS AND FORMS — desk fields are white with hairline borders
      (the spec's forms rule); focus is a deep-green ring on the desk. The
      dark-frame fields live in the sidebar and are answered in section 6.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .filters button {
  color: var(--ta-ink-3);
  background: transparent;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .filters button:hover {
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .filters button.active {
  color: var(--ta-accent-deep);
  border-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-tabs button.eq-selected,
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-tabs button.active {
  background: var(--ta-chip-transit-bg);
  border-color: var(--ta-accent-deep);
  color: var(--ta-chip-transit-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .eq-tabs button b {
  color: inherit;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(input, select, textarea, .search, .ctl, .wb-search, .eq-toolbar input, .field input, .field select, .field textarea, .bk-hunt-field input) {
  background: var(--ta-card) !important;
  border: 1px solid var(--ta-line) !important;
  color: var(--ta-ink) !important;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(input, textarea)::placeholder {
  color: var(--ta-ink-3) !important;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(input, select, textarea):focus {
  border-color: var(--ta-accent-deep) !important;
  outline: 1px solid var(--ta-accent-deep);
  box-shadow: none;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell select option {
  background: var(--ta-card);
  color: var(--ta-ink);
}

/* -----------------------------------------------------------------------------
   5. TABLES AND THE WORK BOARD — header labels and numbers already follow
      the section 1 tokens; the current row is the approved tint with no
      neon edge. Ivory Ledger section 12 paints the work-board move states
      with literal forest tints; they are answered with the chip families.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .data-table tr.selected,
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .data-table tr[aria-selected="true"] {
  background: var(--ta-row-current);
  box-shadow: inset 0 0 0 1px var(--ta-row-edge);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-moves {
  background: var(--ta-chip-delivered-bg);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move[data-state="assigned"] {
  background: var(--ta-chip-booked-bg);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move:is([data-state="picked_up"], [data-state="in_transit"]) {
  background: var(--ta-chip-transit-bg);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move[data-state="dropped"] {
  background: var(--ta-chip-delivered-bg);
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move[data-state="dropped"] :is(.wb-box, .wb-live, .wb-undo) {
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move .wb-pill {
  background: var(--ta-card);
  border: 1px solid var(--ta-rail-ink-2);
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move .wb-bar {
  background: var(--ta-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move .wb-bar i {
  background: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move:not([data-shut]) .wb-route > div:first-child::after {
  border-left-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move .wb-route > div::before {
  border-color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .wb-move :is(.wb-copy:hover, .wb-copy:focus-visible, .wb-undo .back:not(.danger):hover) {
  background: var(--ta-row-current);
}

/* -----------------------------------------------------------------------------
   6. SIDEBAR — the dark frame. Mirrors Ivory Ledger section 14 (the forest
      menu) selector for selector, in the --rail* family; the sidebar search
      is a field on the dark frame and takes the --field-* family. Comes
      late in the file for the same reason section 14 comes last in Ivory
      Ledger: it re-points every sidebar rule above.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side {
  background: var(--ta-rail);
  color: var(--ta-rail-ink);
  border-right: 1px solid var(--ta-rail-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .brand {
  color: var(--ta-rail-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .brand-sub {
  color: var(--ta-brand-mark);
  border-bottom-color: var(--ta-rail-ink);
  box-shadow: 0 1px 0 0 var(--ta-brand-mark);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side-search input {
  background: var(--ta-field-bg);
  border-color: var(--ta-field-line);
  caret-color: var(--ta-field-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side-search input,
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side-search input::placeholder {
  color: var(--ta-field-ink) !important;
  -webkit-text-fill-color: var(--ta-field-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side-search input:focus {
  outline-color: var(--ta-accent);
  border-color: var(--ta-accent);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .side-search button {
  background: var(--ta-accent);
  border-color: var(--ta-accent);
  color: var(--ta-rail);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .side-search button:hover {
  background: var(--ta-accent-deep);
  border-color: var(--ta-accent-deep);
  color: #fff;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav-label {
  color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button {
  color: var(--ta-rail-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button:hover {
  background: var(--ta-rail-step);
  color: #FFFFFF;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button.active {
  background: var(--ta-rail-active);
  border-left-color: var(--ta-marker);
  color: #FFFFFF;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav-badge {
  background: var(--ta-rail-step);
  color: var(--ta-rail-ink);
  border-color: var(--ta-rail-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini {
  border-top-color: var(--ta-rail-line);
  color: var(--ta-rail-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini-text span,
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini span {
  color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side :focus-visible {
  outline: 2px solid var(--ta-accent);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   7. DOCUMENTS AND PRINT — white paper, the spec's document rules. The
      document surfaces are coloured through one base variable,
      --document-green (styles.css): the brand rule/badge, table-head band
      and total banner take it as their fill. Theme A re-points it at the
      rail colour, sets the band text to the rail ink, and puts the single
      permitted neon stroke under the document header. Status pills on
      paper become bordered labels in chip ink. These rules are keyed to
      the skin only — print previews use the document palette even when
      the app theme falls back (the neon layer's section 0 pattern).
   ----------------------------------------------------------------------------- */
@media screen {
  html[data-ntxv-skin="theme-a"] #app > .print-shell {
    background: var(--ta-bg);
  }
  html[data-ntxv-skin="theme-a"] .print-shell .print-bar button {
    background-color: var(--ta-card) !important;
    border: 1px solid var(--ta-line) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: var(--ta-ink) !important;
  }
  html[data-ntxv-skin="theme-a"] .print-shell .print-bar button.primary {
    background-color: var(--ta-btn-bg) !important;
    border-color: var(--ta-btn-line) !important;
    color: var(--ta-btn-ink) !important;
  }
  html[data-ntxv-skin="theme-a"] .print-shell .print-bar button:focus-visible {
    outline-color: var(--ta-accent-deep) !important;
  }
  html[data-ntxv-skin="theme-a"] .inv-print {
    box-shadow: var(--ta-key-shadow);
  }
}
html[data-ntxv-skin="theme-a"] :is(.inv-print, .pdf-document-container) {
  /* Dark green, the same as the PDF the customer receives (owner, 2026-11-13:
     "make all black here on green ... dark green"). */
  --document-green: #07552F;
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"] :is(.inv-print, .pdf-document-container) :is(.doc-brand-rule, .doc-brand-badge, .inv-table thead th, .pdf-total-banner) {
  color: var(--ta-bar-ink);
}
html[data-ntxv-skin="theme-a"] :is(.inv-print, .pdf-document-container) .inv-head {
  border-bottom-color: var(--ta-accent);
}
html[data-ntxv-skin="theme-a"] :is(.inv-print, .pdf-document-container) .pdf-card-pill {
  background: #fff;
  border: 1px solid var(--ta-chip-transit-ink);
  color: var(--ta-chip-transit-ink);
}

/* -----------------------------------------------------------------------------
   8. SIGN-IN PAGE — the same language as the desk: light ground, a white
      card, the primary button in the approved tokens. Keyed to the skin
      only, as the neon layer's section 9 was.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"] .login {
  background: var(--ta-bg);
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] .login :is(h1, h2) {
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"] .login .eyebrow {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] .login .network-line i {
  background: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] .login .login-card {
  background: var(--ta-card);
  border: 1px solid var(--ta-line);
  box-shadow: var(--ta-card-shadow);
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] .login .login-card input {
  background: var(--ta-card);
  border: 1px solid var(--ta-line);
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"] .login .login-card input:focus {
  border-color: var(--ta-accent-deep);
  outline: 1px solid var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] .login .login-card .submit {
  background: var(--ta-btn-bg);
  border: 1px solid var(--ta-btn-line);
  color: var(--ta-btn-ink);
}
html[data-ntxv-skin="theme-a"] .login .login-card .submit:hover {
  background: var(--ta-user-disc);
}
html[data-ntxv-skin="theme-a"] .login :is(.back.nav-back, .demo-actions button) {
  background: var(--ta-card);
  border: 1px solid var(--ta-line);
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] .login :is(.back.nav-back, .demo-actions button):hover {
  border-color: var(--ta-accent-deep);
  color: var(--ta-ink);
}


/* -----------------------------------------------------------------------------
   8.1 SIGN-IN PAGE — THE PARTS SECTION 8 DID NOT REACH (added 2026-11-09 on
   the owner's "same colours global" word). The sign-in view keeps the
   fallback theme (soft-clay.js: sign-in retains main's fallback), and that
   layer paints with !important: the card (its card list names .login-card),
   every button, and button.submit in its blue. Section 8's plain rules lose
   to those. Three base rules were never answered at all: the headline's blue
   span, the intro copy and the network line in pale navy-era colours
   (unreadable on the desk ground), and the card wrap's navy veil. This
   section answers all of them in the theme's own tokens, using !important
   only where the fallback layer uses it.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"] .login .login-card {
  background-color: var(--ta-card) !important;
  box-shadow: var(--ta-card-shadow) !important;
}
html[data-ntxv-skin="theme-a"] .login .login-card .submit {
  background: var(--ta-btn-bg) !important;
  border: 1px solid var(--ta-btn-line) !important;
  color: var(--ta-btn-ink) !important;
  box-shadow: none !important;
}
html[data-ntxv-skin="theme-a"] .login .login-card .submit:hover {
  background: var(--ta-user-disc) !important;
}
html[data-ntxv-skin="theme-a"] .login .login-card :is(.back.nav-back, .demo-actions button) {
  background: var(--ta-card) !important;
  border: 1px solid var(--ta-line) !important;
  color: var(--ta-ink-2) !important;
  box-shadow: none !important;
}
html[data-ntxv-skin="theme-a"] .login .login-card input {
  box-shadow: none !important;
}
html[data-ntxv-skin="theme-a"] .login h1 span {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] .login-copy p {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] .login .network-line {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] .login-card-wrap {
  background: transparent;
}
html[data-ntxv-skin="theme-a"] .login .hint a {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] .login .login-note {
  background: var(--ta-bg);
  border-color: var(--ta-line);
  border-left-color: var(--ta-accent-deep);
  color: var(--ta-ink-2);
}

/* -----------------------------------------------------------------------------
   9. MOTION AND PRINT
   ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html[data-ntxv-skin="theme-a"] * {
    transition: none !important;
  }
}
/* Paper copies stay black-on-white: the theme loader already drops the
   operations shell out of Ivory Ledger while printing, and every shell rule
   above is keyed to Ivory Ledger, so they all fall away. What stays on
   paper is the document palette of section 7 — the rail header band, the
   one neon rule under it, bordered status labels — by design. */
/* -----------------------------------------------------------------------------
   10. CUSTOMER PORTAL — the same language, on the portal's own surface.
       Added 2026-11-09 under the owner's "global" word, after sections 1–9
       covered the operations shell, documents and sign-in.

       WHERE THE PORTAL LIVES: portalChrome() in app.js renders every
       customer view (overview, Containers, Documents, Quotes, Invoices,
       Delivery proof, Messages, Company — plus the customer-role detail
       views for shipments, invoices, quotes, PODs and tracking) as
       <section class="portal"> in this same document. It is NOT the
       operations shell: soft-clay.js's effectiveTheme() deliberately
       keeps portal views on the fallback theme, so today the portal is
       painted by the Soft Clay layer — pale blue-grey ground (#e8eef7),
       clay pill buttons, clay card shadows, a light-blue bar. This
       section answers that layer the way section 1 answers Ivory Ledger:
       it re-points the variables the portal draws from and answers the
       literals one by one. It is keyed to the skin only, like sections 7
       and 8 — the portal renders under the skin whatever the saved theme
       preference is, and no .portal element ever appears in the shell.

       The scope root is section.portal, never the bare .portal class:
       the brand logo image itself carries a "portal" class
       (.ntxv-logo.portal), and this layer never paints the brand block.

       VALUES: the approved tokens via the --ta-* variables of section 0,
       plus this file's four documented derived values (#EDF2E4 panel,
       #8A9A80 hint, #EAF0E2 soft hairline, #0A5C29 deep link). Meaning
       colours keep their meaning, as everywhere in this file: the base
       skin's problem pair (#B03636 on #FFE4E4) for cancelled / overdue /
       expired / review states, Soft Clay's danger text (#A82733) and its
       validation triple (#C0392B / #FFF6F5 / #9C1C13) are kept verbatim,
       and --ops-good / --ops-warn / --red / --amber / --teal are NOT
       re-pointed.

       GEOMETRY NOTE (flagged, as in the driver layer): Soft Clay forces
       pill buttons (border-radius 999px) and 24px card radii with
       !important. Those are geometry, not colour, so they are left
       standing; Theme A here is frame, surfaces, ink, chips and buttons
       in the approved colours and shadows. If the owner wants the
       portal's radii squared up too, that is a separate word.
   ----------------------------------------------------------------------------- */

/* The page ground behind the portal (the section itself is the surface;
   this only keeps the body from showing clay blue at the edges). */
html[data-ntxv-skin="theme-a"] body:has(#app > section.portal) {
  background: var(--ta-bg);
}

/* 10.0 The portal's variable palette — the same re-point section 1 makes
   on the shell, made on the portal root. Soft Clay re-points these same
   variables on .portal today (--navy, --blue, --ops-ink/-2/-3); this
   file loads last and outranks it, so the portal's ops-variable rules in
   styles.css (text order, links, placeholders, field values) all follow. */
html[data-ntxv-skin="theme-a"] section.portal {
  --navy: var(--ta-rail);
  --navy2: var(--ta-rail-step);
  --blue: var(--ta-accent-deep);
  --ink: var(--ta-ink);
  --muted: var(--ta-ink-3);
  --panel: #EDF2E4;
  --line: var(--ta-line);
  --ops-ink: var(--ta-ink);
  --ops-ink-2: var(--ta-ink-2);
  --ops-ink-3: var(--ta-ink-3);
  --ops-hint: #8A9A80;
  --ops-line: var(--ta-line);
  --ops-link: var(--ta-accent-deep);
  --ops-link-strong: #0A5C29;
  background: var(--ta-bg);
  color: var(--ta-ink);
  font-family: var(--ta-display);
}
html[data-ntxv-skin="theme-a"] section.portal ::selection {
  background: var(--ta-chip-transit-bg);
}

/* 10.1 The bar — the dark frame. The brand block keeps its own rules
   (this layer never paints it, dims it or puts a fill behind it); the
   nav buttons lose Soft Clay's pill fill and read as frame items, the
   active one on the rail-active step, like the shell's current menu. */
html[data-ntxv-skin="theme-a"] section.portal .portal-bar {
  background: var(--ta-bar);
  color: var(--ta-bar-ink);
}
html[data-ntxv-skin="theme-a"] section.portal .portal-bar .brand-sub {
  color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .portal-nav {
  color: var(--ta-rail-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .portal-nav button {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--ta-rail-ink-2) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .portal-nav button:hover {
  border-color: transparent !important;
  color: var(--ta-rail-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .portal-nav button.active {
  background-color: var(--ta-rail-active) !important;
  box-shadow: none !important;
  color: var(--ta-rail-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .portal-nav .nav-badge {
  background: var(--ta-rail-step);
  border-color: var(--ta-rail-line);
  color: var(--ta-rail-ink);
}

/* 10.2 Buttons on the desk — Soft Clay forces every button to a clay
   pill with !important, so the desk's buttons are re-answered with
   !important in the approved treatments: secondary in white with a
   hairline, primary in the button tokens (its 1px neon edge included,
   exactly as section 2), back actions back to text links, danger and
   disabled states keeping their meanings. */
html[data-ntxv-skin="theme-a"] section.portal :is(button, [role="button"]):where(:not(.brand)) {
  background-color: var(--ta-card) !important;
  border-color: var(--ta-line) !important;
  box-shadow: var(--ta-key-shadow) !important;
  color: var(--ta-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button, [role="button"]):where(:not(.brand)):hover {
  border-color: var(--ta-accent-deep) !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button.primary, .primary) {
  background-color: var(--ta-btn-bg) !important;
  border: 1px solid var(--ta-btn-line) !important;
  box-shadow: var(--ta-key-shadow) !important;
  color: var(--ta-btn-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button.primary, .primary):hover {
  background-color: var(--ta-user-disc) !important;
}
html[data-ntxv-skin="theme-a"] section.portal button.back {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: var(--ta-accent-deep) !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button.danger, button.delete, .danger-button) {
  color: #A82733 !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button:disabled, [role="button"][aria-disabled="true"]) {
  color: var(--ta-ink-3) !important;
}
html[data-ntxv-skin="theme-a"] section.portal :is(button, [role="button"]):focus-visible {
  outline: 2px solid var(--ta-accent-deep) !important;
  outline-offset: 2px;
}
/* The secondary tab row under the content: the current view reads as
   the selected row, not as a blue link. */
html[data-ntxv-skin="theme-a"] section.portal .portal-secondary {
  border-top-color: var(--ta-line);
}
html[data-ntxv-skin="theme-a"] section.portal .portal-secondary button.active {
  background-color: var(--ta-row-current) !important;
  box-shadow: none !important;
  color: var(--ta-ink) !important;
}

/* 10.3 Desk surfaces — cards back to white on the desk ground, with the
   card shadow token instead of the clay dual shadow. Inset panels (the
   billing snapshot, document rows, notes) take the derived panel step.
   Status-form keeps its accent edge, recoloured to the deep accent. */
html[data-ntxv-skin="theme-a"] section.portal :is(.section, .table-wrap, .shipment-card, .portal-stat, .card, .status-form) {
  background-color: var(--ta-card) !important;
  border-color: var(--ta-line);
  box-shadow: var(--ta-card-shadow) !important;
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"] section.portal .status-form {
  border-left-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .billing-snapshot > div {
  background: #EDF2E4;
  border-color: var(--ta-line);
  border-left-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .billing-snapshot > div.overdue {
  background: #FFF8F7;
  border-left-color: #B03636;
}
html[data-ntxv-skin="theme-a"] section.portal .doc {
  background: #EDF2E4;
}
html[data-ntxv-skin="theme-a"] section.portal .doc::before {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .doc.doc-open::before {
  color: var(--ta-chip-terminal-ink);
}
html[data-ntxv-skin="theme-a"] section.portal .note {
  background: #EDF2E4;
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .msg {
  background: var(--ta-card);
  border-color: var(--ta-line);
  border-left-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .msg.unread {
  background: var(--ta-row-current);
}
html[data-ntxv-skin="theme-a"] section.portal .notif {
  border-color: var(--ta-line);
  border-left-color: var(--ta-ink-3);
}
html[data-ntxv-skin="theme-a"] section.portal .notif:hover {
  background: var(--ta-bg);
}
html[data-ntxv-skin="theme-a"] section.portal .notif.unread {
  background: var(--ta-row-current);
  border-color: var(--ta-line);
}
html[data-ntxv-skin="theme-a"] section.portal .notif.sev-info {
  border-left-color: var(--ta-accent-deep);
}

/* 10.4 Tables — header labels in ink-3 on the panel step, hairline
   rules, the current-row tint on hover, amounts at full ink. */
html[data-ntxv-skin="theme-a"] section.portal .data-table th {
  background: #EDF2E4;
  border-bottom-color: var(--ta-line);
  color: var(--ta-ink-3);
}
html[data-ntxv-skin="theme-a"] section.portal .data-table td {
  border-bottom-color: #EAF0E2;
}
html[data-ntxv-skin="theme-a"] section.portal .data-table tr:hover {
  background: var(--ta-row-current);
}
html[data-ntxv-skin="theme-a"] section.portal .data-table :is(td.amount, th.amount) {
  color: var(--ta-ink);
}

/* 10.5 Status chips — Soft Clay flattens every chip to its own surface
   with !important; the families are re-answered with !important in the
   four approved families, mapped by meaning exactly as section 3 maps
   them in the shell. Problem states (cancelled, overdue, expired,
   under review, on hold, at risk) keep the base skin's problem pair —
   a warning must not read as go, and red keeps its meaning. */
html[data-ntxv-skin="theme-a"] section.portal .tag {
  background-color: var(--ta-row-current) !important;
  box-shadow: none !important;
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .tag:is(.booking, .qte-sent, .hlth-prospect, .acct-prospect, .inv-sent, .qte-new, .svc-rail) {
  background-color: var(--ta-chip-booked-bg) !important;
  color: var(--ta-chip-booked-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .tag:is(.transit, .svc-ocean) {
  background-color: var(--ta-chip-transit-bg) !important;
  color: var(--ta-chip-transit-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .tag:is(.customs, .inv-partial, .qte-preparing, .doc-pending, .hlth-watch, .svc-trucking) {
  background-color: var(--ta-chip-terminal-bg) !important;
  color: var(--ta-chip-terminal-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .tag:is(.delivery, .delivered, .inv-paid, .doc-available, .qte-approved, .acct-active, .hlth-good, .inv-draft, .acct-inactive, .qte-lost, .svc-customs) {
  background-color: var(--ta-chip-delivered-bg) !important;
  color: var(--ta-chip-delivered-ink) !important;
}
html[data-ntxv-skin="theme-a"] section.portal .tag:is(.cancelled, .inv-overdue, .qte-expired, .doc-review, .acct-on-hold, .hlth-at-risk) {
  background-color: #FFE4E4 !important;
  color: #B03636 !important;
}

/* 10.6 Forms — the quote-request form and the message composer are
   .status-form surfaces: white fields, hairline borders, ink text, the
   deep accent on focus. Soft Clay's recessed clay fields are answered
   without !important (its input rules carry none). Its validation
   guard is re-asserted verbatim so an invalid field still reads as
   invalid over the white field. Placeholder colour follows the
   re-pointed --ops-hint through the base rules, as in the shell. */
html[data-ntxv-skin="theme-a"] section.portal :is(input, select, textarea) {
  background-color: var(--ta-card);
  border-color: var(--ta-line);
  box-shadow: none;
  color: var(--ta-ink);
}
html[data-ntxv-skin="theme-a"] section.portal :is(input, select, textarea):focus {
  border-color: var(--ta-accent-deep);
  outline-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal :is(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #C0392B;
  background-color: #FFF6F5;
  color: #9C1C13;
}

/* 10.7 Labels and secondary text — the literals the base skin leaves
   in blue-greys, set to the ink order. Links and back actions already
   follow --ops-link / --ops-link-strong, re-pointed in 10.0. */
html[data-ntxv-skin="theme-a"] section.portal .eyebrow {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .mono {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .section-head h2 small {
  color: var(--ta-ink-3);
}
html[data-ntxv-skin="theme-a"] section.portal .welcome p {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .shipment-card p {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .route-mini {
  color: var(--ta-accent-deep);
}
html[data-ntxv-skin="theme-a"] section.portal .info-list div {
  border-bottom-color: var(--ta-line);
}
html[data-ntxv-skin="theme-a"] section.portal .msg-role,
html[data-ntxv-skin="theme-a"] section.portal .msg-time {
  color: var(--ta-ink-3);
}
html[data-ntxv-skin="theme-a"] section.portal .msg p {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .notif-kind,
html[data-ntxv-skin="theme-a"] section.portal .notif-body span {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .prototype-note {
  color: var(--ta-ink-2);
}
html[data-ntxv-skin="theme-a"] section.portal .chart-empty {
  color: var(--ta-ink-2);
}

/* -----------------------------------------------------------------------------
   9. DRIVER-GREEN MENU — owner decision 2026-11-11 ("make on menu same green",
      with a photo of the driver app beside the admin menu). The sidebar takes
      the driver app's own greens (assets/driver-route-first.css): the dark
      work-order card #124638 as the ground, the stepper/RV teal #15756B for
      the current item, the mint #D9F1E3 / #E9F5F2 for labels, marker and the
      Find button. Comes last, so it re-points section 6 selector for selector
      and nothing else: the top bar, the desk, the portal and the documents
      keep Theme A exactly as before. Appearance only.
   ----------------------------------------------------------------------------- */
html[data-ntxv-skin="theme-a"] {
  --dg-ground: #124638;
  --dg-step: #185747;
  --dg-active: #15756B;
  --dg-line: #1F5C4C;
  --dg-ink: #F4FFFB;
  --dg-ink-2: #A9D3C6;
  --dg-mint: #D9F1E3;
  --dg-mint-ground: #E9F5F2;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side {
  background: var(--dg-ground);
  color: var(--dg-ink);
  border-right: 1px solid var(--dg-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .brand {
  color: var(--dg-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .brand-sub {
  color: var(--dg-mint);
  border-bottom-color: var(--dg-ink);
  box-shadow: 0 1px 0 0 var(--dg-mint);
}
/* The search box itself stays as Theme A draws it (a light field with dark text):
   only its focus ring and the Find button take the driver greens. */
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side-search input:focus {
  outline-color: var(--dg-mint);
  border-color: var(--dg-mint);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .side-search button {
  background: var(--dg-mint-ground);
  border-color: var(--dg-mint-ground);
  color: var(--dg-ground);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side .side-search button:hover {
  background: var(--dg-active);
  border-color: var(--dg-active);
  color: #FFFFFF;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav-label {
  color: var(--dg-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button {
  color: var(--dg-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button:hover {
  background: var(--dg-step);
  color: #FFFFFF;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav button.active {
  background: var(--dg-active);
  border-left-color: var(--dg-mint);
  color: #FFFFFF;
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .nav-badge {
  background: var(--dg-step);
  color: var(--dg-ink);
  border-color: var(--dg-line);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini {
  border-top-color: var(--dg-line);
  color: var(--dg-ink);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini-text span,
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .user-mini span {
  color: var(--dg-ink-2);
}
html[data-ntxv-skin="theme-a"][data-ntxv-theme="ivory-ledger"] .shell .side :focus-visible {
  outline: 2px solid var(--dg-mint);
  outline-offset: 2px;
}
