/* ============================================================================
   honeycomb_dark.css  —  BeatlesAnswers.org HOUSE STYLE  ·  "Honeycomb" (dark)
   ----------------------------------------------------------------------------
   STATUS: CREATED, NOT YET WIRED. No page links this file today. It is the
   dark companion to honeycomb.css, authored ahead of the planned light/dark
   switch so that turning dark mode on later is a two-line change, not a
   restyle.

   EVERY rule is scoped under  html[data-theme="dark"]  so the file is INERT
   unless that attribute is present. That means you may safely <link> it on
   every page now (it does nothing until toggled), and it OUT-RANKS
   honeycomb.css when active because html[data-theme="dark"] … is a more
   specific selector than honeycomb.css's :root / element.class rules —
   load order is irrelevant.

   HOW TO TURN IT ON (future):
     1. Add to each page <head>, AFTER honeycomb.css:
          <link rel="stylesheet" href="../css/honeycomb_dark.css">
     2. Activate per visitor with a toggle that sets the attribute:
          document.documentElement.setAttribute('data-theme','dark');
        (persist the choice; remove the attribute for light.)
     OR auto-follow the OS by adding this block (kept commented so the
     file stays inert until you opt in):

        // @media (prefers-color-scheme: dark) {
        //   :root:not([data-theme="light"]) { ...mirror the tokens below... }
        // }

   The component overrides below mirror honeycomb.css 1:1 — only the values
   differ (dark glass, gold-on-brown type). Keep the two files in structural
   lockstep when you edit either.
   ============================================================================ */


/* ---- 1. DARK HONEYCOMB TOKENS --------------------------------------------- */
html[data-theme="dark"]{
  color-scheme:dark;

  --honey-dark:#3a2e1d;
  --honey-amber:#e3a945;
  --honey-gold:#f2b84b;
  --honey-cream:#fffcf4;

  --bg:#1a130b;
  --paper:rgba(66,52,33,.55);
  --ink:#f3ead7;
  --ink-soft:#c6b491;
  --rule:rgba(242,184,75,.22);
  --rule-soft:rgba(242,184,75,.12);
  --link:#e8b75a;
  --link-visited:#cdb27e;
  --accent:#e3a945;
  --accent-text:#e3a945;         /* v1.296a: same as --accent in dark (already passes) */
  --accent-soft:rgba(227,169,69,.16);

  --font:'Plus Jakarta Sans','Inter',system-ui,sans-serif;
  --font-headline:'Fraunces','Source Serif 4',Georgia,serif;

  --shadow-sm:0 2px 10px rgba(0,0,0,.35);
  --shadow-md:0 8px 26px rgba(0,0,0,.45);
  --shadow-lg:0 22px 48px rgba(0,0,0,.55);
  /* surface tokens (v1.352d): dark keeps its own panel + card rules below;
     these only re-point the shared tokens honeycomb.css §3/§7/§8 read, so
     the light skin's inset highlight never reaches a dark card. */
  --panel:var(--paper);
  --card-shadow:var(--shadow-sm);
  --card-shadow-hover:var(--shadow-md);
}


/* ---- 2. PAGE CANVAS — deep warm-brown honey ------------------------------- */
html[data-theme="dark"]{ background:#140e07; }
html[data-theme="dark"] body{
  background:radial-gradient(1200px 700px at 50% -8%, rgba(52,39,22,.55) 0%, rgba(20,14,7,0) 60%),
             linear-gradient(170deg,#241b10 0%,#1a130b 48%,#120c06 100%);
  background-attachment:fixed;
  color:var(--ink);
}
html[data-theme="dark"] .page-bg{ display:none; }


/* ---- 3. CONTENT PANEL — dark honey glass ---------------------------------- */
html[data-theme="dark"] main.container{
  background:var(--paper);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border:1px solid rgba(242,184,75,.16);
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  max-width:1080px;
}


/* ---- 4. TYPOGRAPHY — gold display, cream body ----------------------------- */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .essay-section h2,
html[data-theme="dark"] h2.section,
html[data-theme="dark"] .faq-section h2{
  font-family:var(--font-headline); color:var(--honey-gold); letter-spacing:-.01em;
}
html[data-theme="dark"] .hero h1{ font-weight:600; color:#f7d98a; }
html[data-theme="dark"] .hero .subhead{ color:var(--ink-soft); }
html[data-theme="dark"] .essay-section h2,
html[data-theme="dark"] h2.section{ border-bottom:1px solid var(--rule); }
html[data-theme="dark"] .essay p,
html[data-theme="dark"] .lead-paragraph{ font-family:var(--font); color:var(--ink); }
html[data-theme="dark"] .essay p:first-of-type::first-letter{ color:var(--honey-gold); }
html[data-theme="dark"] small,
html[data-theme="dark"] .cite{ color:var(--ink-soft); }
/* progress-report kicker headings (base.css §15) are h3s: keep them in the UI face,
   not the gold display face the rule above gives every h3 — v1.261b */
html[data-theme="dark"] .pg-leg-h,
html[data-theme="dark"] .pg-h3{ font-family:var(--font); color:var(--pg-kicker); letter-spacing:.09em; }
/* facet-group kicker headings (base.css §17) are h3s too — same exemption, v1.266c */
html[data-theme="dark"] .tag-group-h{ font-family:var(--font); color:var(--tag-kicker); letter-spacing:.12em; }


/* ---- 5. SITE HEADER / NAV — dark frosted bar ------------------------------ */
html[data-theme="dark"] header.site{
  background:rgba(26,19,11,.82);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--rule);
  box-shadow:var(--shadow-sm);
}
html[data-theme="dark"] header.site .brand{ font-family:var(--font-headline); color:#f7d98a; }   /* v1.295: matches the dark h1 (Joe) */
html[data-theme="dark"] header.site .brand:hover{ color:var(--honey-gold); }
html[data-theme="dark"] header.site .brand .glyph rect{ fill:var(--honey-amber); }
html[data-theme="dark"] header.site .brand .glyph text{ fill:#241b10; }
html[data-theme="dark"] header.site nav a{ color:var(--ink-soft); }
html[data-theme="dark"] header.site nav a:hover{ color:var(--honey-gold); }
html[data-theme="dark"] .header-search input{ background:rgba(255,255,255,.06); color:var(--ink); border-color:var(--rule); }
html[data-theme="dark"] .header-search input::placeholder{ color:var(--ink-soft); }


/* ---- 6. LINKS ------------------------------------------------------------- */
html[data-theme="dark"] a{ color:var(--link); }
html[data-theme="dark"] a:visited{ color:var(--link-visited); }
html[data-theme="dark"] a:hover{ color:#f7d98a; }


/* ---- 7. INFOBOX + TOC — darker glass -------------------------------------- */
html[data-theme="dark"] .infobox,
html[data-theme="dark"] .toc{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(242,184,75,.16);
  border-radius:16px; box-shadow:var(--shadow-sm);
}
html[data-theme="dark"] .infobox .ib-title{ background:linear-gradient(180deg,var(--honey-gold),var(--honey-amber)); color:#241b10; }
html[data-theme="dark"] .infobox th{ background:rgba(242,184,75,.08); color:var(--ink-soft); }
html[data-theme="dark"] .infobox td{ color:var(--ink); }
html[data-theme="dark"] .infobox .ib-section-h{ background:var(--accent-soft); color:var(--honey-gold); }
html[data-theme="dark"] .infobox .ib-cover,
html[data-theme="dark"] .infobox .ib-foot{ background:rgba(255,255,255,.03); color:var(--ink-soft); }
html[data-theme="dark"] .toc h4{ color:var(--ink-soft); }


/* ---- 8. CARDS / KV TABLES / FAQ / ADSENSE --------------------------------- */
html[data-theme="dark"] .card,
html[data-theme="dark"] .related a,
html[data-theme="dark"] .ig,
html[data-theme="dark"] table.kv,
html[data-theme="dark"] .faq-section .faq-item,
html[data-theme="dark"] .adsense-spot,
html[data-theme="dark"] .car-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(242,184,75,.14);
  border-radius:16px; color:var(--ink);
}
html[data-theme="dark"] table.kv th{ background:rgba(242,184,75,.08); color:var(--ink-soft); }
html[data-theme="dark"] .carousel{ border-radius:16px; }
html[data-theme="dark"] table.kv td{ color:var(--ink); }
/* homepage (v1.352e, Joe 2026-11-15): .home-hero is the homepage's one frame (base.css v1.335b);
   the modules and Test Lab tiles inside it were solid --bg, darker than the frame, so they sank
   into it. They now take this section's card recipe, as the Test Lab cards do. */
html[data-theme="dark"] .home-hero .home-modules .mod,
html[data-theme="dark"] .lab-mini{
  background:rgba(255,255,255,.05); border-color:rgba(242,184,75,.14); box-shadow:var(--card-shadow);
}
html[data-theme="dark"] .lab-mini:is(:hover,:focus-visible){ border-color:var(--accent); box-shadow:var(--card-shadow-hover); }


/* ---- 8b. COMPARISON TABLES — dark honey "7a" style ------------------------ */
html[data-theme="dark"] table.compare{ border-radius:16px; }
html[data-theme="dark"] table.compare thead th{
  background:var(--honey-dark); color:var(--honey-gold);
  font-weight:800; letter-spacing:.06em;
}
html[data-theme="dark"] table.compare tbody tr:nth-child(odd){ background:rgba(255,255,255,.04); }
html[data-theme="dark"] table.compare tbody tr:nth-child(even){ background:rgba(255,255,255,.02); }
html[data-theme="dark"] table.compare tbody td:first-child{ font-family:var(--font-headline); font-weight:600; }  /* body only — header row stays uniformly sans-serif */
html[data-theme="dark"] table.compare td{ color:var(--ink); }


/* ---- 9. DISTINCTIVE + PULL-QUOTE ------------------------------------------ */
html[data-theme="dark"] .distinctive{ background:var(--accent-soft); border-left:3px solid var(--honey-amber); border-radius:0 12px 12px 0; color:var(--ink); }
html[data-theme="dark"] .distinctive h3{ color:var(--honey-gold); font-family:var(--font); }
html[data-theme="dark"] .quote{ background:rgba(255,255,255,.04); border-left:3px solid var(--honey-amber); border-radius:12px; color:var(--ink); }
html[data-theme="dark"] .quote .cite{ color:var(--ink-soft); }


/* ---- 10. BADGES — glowing honey pill -------------------------------------- */
html[data-theme="dark"] .badge{ background:rgba(255,255,255,.05); border:1px solid var(--rule); color:var(--ink); }
html[data-theme="dark"] .badge:hover{ border-color:var(--honey-gold); color:var(--honey-gold); }
html[data-theme="dark"] .badge-affiliate{ background:linear-gradient(180deg,var(--honey-gold),var(--honey-amber)); border:1px solid var(--honey-amber); color:#241b10; border-radius:50px; font-weight:600; }
html[data-theme="dark"] .badge-affiliate:hover{ filter:brightness(1.08); color:#241b10; }


/* ---- 10b. ERROR-PAGE CTA (403/404/500/503) --------------------------------
   base.css §14 paints .error-home as #fff on var(--accent). Under the dark
   tokens --accent lightens to #e3a945, and white-on-amber falls to roughly
   2:1 — below any usable contrast floor. Dark takes the same treatment the
   affiliate pill already uses: gold ground, near-black ink. Keep the two in
   step; if one changes, change both.                                        */
html[data-theme="dark"] .error-home{ background:linear-gradient(180deg,var(--honey-gold),var(--honey-amber)); color:#241b10; }
html[data-theme="dark"] .error-home:hover{ filter:brightness(1.08); color:#241b10; }
html[data-theme="dark"] .error-code{ color:var(--honey-gold); opacity:.9; }


/* ---- 11. FAQ + FOOTNOTE HIGHLIGHT ----------------------------------------- */
html[data-theme="dark"] .faq-section .faq-item summary{ color:var(--ink); }
html[data-theme="dark"] .faq-section .faq-item summary::before{ color:var(--honey-gold); }
html[data-theme="dark"] .faq-section .faq-item p{ color:var(--ink); }
html[data-theme="dark"] .source-list li:target{ background:var(--accent-soft); }


/* ---- 12. FOOTER ----------------------------------------------------------- */
html[data-theme="dark"] footer.site{ background:rgba(20,14,7,.78); border-top:1px solid var(--rule); color:var(--ink-soft); }
html[data-theme="dark"] footer.site a{ color:var(--link); }
html[data-theme="dark"] footer.site a:hover,
html[data-theme="dark"] footer.site .legal-row a:hover{ color:var(--honey-gold); }


/* ---- VISUALISATION + RADIAL-RING TOKENS — dark overrides (added 2026-06-21) -
   Brighter facet/ring colours for legibility on the dark canvas. Scoped under
   html[data-theme="dark"] so the file stays inert in light mode. Mirrors the
   token names defined in honeycomb.css section 5. -------------------------- */
html[data-theme="dark"]{
  /* facet palette — "earth" set, dark (v1.266c, 2026-09-30) */
  --graph-facet-vocal:#eba25c;
  --graph-facet-origin:#d4a84e;
  --graph-facet-instrument:#6fbfae;
  --graph-facet-musicality:#d99abb;
  --graph-facet-structure:#8fb2d4;
  --graph-facet-length:#bfb49a;
  --graph-facet-theme:#f08a6a;
  --graph-facet-production:#a7c97a;
  --graph-facet-era:#f2c75c;
  /* tags — base.css §17 (dark elements sheet 3c) */
  --tag-bg:#2a2114; --tag-ink:#d4a84e; --tag-bg-hover:#3a2e1c;
  --tag-active-bg:#c6943a; --tag-active-ink:#241b10;
  --tag-count-ink:#b3a079; --tag-kicker:#b3a079; --tag-rule:rgba(242,184,75,.15); --tag-focus:#f2b84b;
  --graph-node-song:#f2b84b;
  --graph-node-song-ink:#140e07;
  --graph-edge:rgba(242,184,75,.22);
  --graph-label:#f3e9d6;
  --ring-story:#8a6a3e;
  --ring-tagging:#e08a52;
  --ring-quotes:#c46a3a;
  --ring-review:#c08a45;
  --ring-structure:#f2b84b;
  --ring-enrich:#d49a3b;
  --ring-draft:#b08a4e;
  --ring-track:rgba(242,184,75,.12);
  --ring-name:#b3a079;
  --ring-value:#f3e9d6;
  /* workflow-status badges, soft (default) — from elements/Beatles Answers Web Elements*.html (v1.247).
     done = Approved · wip = In review · todo = Scheduled · hold = Needs sources */
  --status-done-bg:#2a2114; --status-done-border:transparent; --status-done-ink:#f7d98a; --status-done-dot:#e3a945;
  --status-wip-bg:rgba(233,172,65,.15); --status-wip-border:transparent; --status-wip-ink:#e3a945; --status-wip-dot:#E9AC41;
  --status-todo-bg:#1e1710; --status-todo-border:rgba(242,184,75,.22); --status-todo-ink:#c6943a; --status-todo-dot:#d4a84e;
  --status-hold-bg:rgba(222,91,50,.15); --status-hold-border:transparent; --status-hold-ink:#f07a5a; --status-hold-dot:#DE5B32;
  /* under-construction notice (base.css) - dark kit sheets 12a/12b (v1.338) */
  --uc-bg:#3A2E1D; --uc-border:#C68E45; --uc-disc:#241B10; --uc-disc-ring:#C68E45; --uc-line:#E3A945; --uc-stripe:#FFFFFF; --uc-ink:#F7D98A; --uc-cone:#DE5B32;
  /* tag chips (base.css, Tags section and /tags/) - dark kit 5a small inline chip (v1.352f) */
  --tchip-bg:#2a2114; --tchip-border:rgba(242,184,75,.22); --tchip-ink:#d9cbaa; --tchip-ico:#e3a945; --tchip-cut:#1e1710;
  /* Test Lab song-card batch 3: the dark card recipe of the Test Lab cards (section 8) (v1.352f) */
  --bc-card-bg:rgba(255,255,255,.05); --bc-card-border:rgba(242,184,75,.14); --bc-tile-bg:rgba(255,255,255,.04);
  /* v1.264a: page-status badges (base.css §16) — dark sheet 3a, soft */
  --status-draft-bg:rgba(179,162,110,.12); --status-draft-border:rgba(242,184,75,.22); --status-draft-ink:#b3a079; --status-draft-dot:#8a7a4e;
  --status-system-bg:#2a2114; --status-system-border:transparent; --status-system-ink:#b3a079; --status-system-dot:#b3a079;
  /* v1.264a: homepage build badge — dark glass key, amber stage (dark ink on amber for contrast) */
  --build-key-bg:#2a2114; --build-key-border:rgba(242,184,75,.35); --build-key-ink:#b3a079; --build-key-strong:#f7d98a;
  --build-stage-bg:#e3a945; --build-stage-ink:#241b10;
  /* project progress report (base.css §15) — mirrors honeycomb.css §5 — v1.261b */
  --pg-clean-1:#c0708e; --pg-clean-2:#d48da6; --pg-clean-3:#e3adbf;
  --pg-infra:#6f5d3e;
  --pg-grid:rgba(242,184,75,.12);
  --pg-axis:#b3a079;
  --pg-bar-draft:#4b3a22;
  --pg-stage-0:#715534; --pg-stage-1:#9e743c; --pg-stage-2:#cc9641; --pg-stage-3:#f5c25f;   /* v1.352: validateOrdinal PASS on the dark panel; was #4b3a22 #7d6033 #c08a45 #f2b84b */
  --member-j:#4290dd; --member-p:#bf8636; --member-g:#a35881; --member-r:#5f6c09;   /* v1.352: validate --pairs all PASS (CVD dE 12.2) */
  --member-j-ink:#0d1420; --member-p-ink:#1a130b; --member-g-ink:#fff; --member-r-ink:#fff; --member-o:#8f7f5c; --member-o-ink:#1a130b;
  --pg-tag-dot:#1f1810; --pg-tag-ring:#f3e9d6;
  --pg-mark:#f2b84b;
  --pg-mark-soft:#b3a079;
  --pg-stat-v:#f3e9d6;
  --pg-up:#9cc47e;
  --pg-kicker:#cdb06a;
  --pg-chip-bg:rgba(242,184,75,.14);
  --pg-chip-ink:#f1dca8;
}

/* ============================================================================
   THEME SWITCH TOKENS  (dark; v1.295, 2026-10-20 — structure in base.css)
   ============================================================================ */
html[data-theme="dark"]{
  --ts-surface:#2a2114;
  --ts-raised:#43341f;
  --ts-ink:#f7d98a;
  --ts-muted:#c6b491;
  --ts-line:rgba(242,184,75,.25);
  --ts-shadow:0 1px 3px rgba(0,0,0,.6);
}

/* ---- blog index: its page-level rules pin the callout's bold lead and the
   post titles to --honey-dark, which the dark skin redefines as a dark
   brown. Found by the v1.295 corpus contrast audit. ---------------------- */
html[data-theme="dark"] .blog-callout strong,
html[data-theme="dark"] .post-card h2 a{color:var(--honey-gold)}
html[data-theme="dark"] .post-card h2 a:hover{color:var(--honey-amber)}

/* ---- Google Programmable Search (the /search/ page) in dark --------------
   Google injects its own white-box styles; these keep the box and results
   readable on the dark canvas. Scoped to dark only.                          */
html[data-theme="dark"] .gsc-control-cse,
html[data-theme="dark"] .gsc-control-cse .gsc-table-result,
html[data-theme="dark"] .gsc-webResult.gsc-result,
html[data-theme="dark"] .gsc-results .gsc-cursor-box,
html[data-theme="dark"] .gsc-above-wrapper-area{background:transparent !important;border-color:var(--rule) !important;color:var(--ink) !important}
html[data-theme="dark"] .gsc-input-box,
html[data-theme="dark"] input.gsc-input{background:#241b10 !important;border-color:var(--rule) !important;color:var(--ink) !important}
html[data-theme="dark"] .gs-result .gs-title,
html[data-theme="dark"] .gs-result .gs-title *{color:var(--link) !important}
html[data-theme="dark"] .gs-webResult .gs-snippet,
html[data-theme="dark"] .gsc-result-info,
html[data-theme="dark"] .gsc-orderby-label{color:var(--ink-soft) !important}
html[data-theme="dark"] .gs-webResult div.gs-visibleUrl{color:var(--honey-amber) !important}
html[data-theme="dark"] .gsc-results .gsc-cursor-box .gsc-cursor-page{background:transparent !important;color:var(--link) !important}
html[data-theme="dark"] .gsc-completion-container{background:#241b10 !important;color:var(--ink) !important;border-color:var(--rule) !important}
/* the results pop-up Google opens over the page (found at the v1.295 live read-back) */
html[data-theme="dark"] .gsc-results-wrapper-overlay{background:#241b10 !important;border:1px solid var(--rule) !important;box-shadow:var(--shadow-lg) !important}
html[data-theme="dark"] .gsc-modal-background-image{background-color:rgba(10,7,3,.72) !important}
html[data-theme="dark"] .gsc-tabsArea{border-color:var(--rule) !important}
html[data-theme="dark"] .gsc-tabHeader{background:transparent !important}
html[data-theme="dark"] .gsc-tabHeader.gsc-tabhActive{color:var(--link) !important;border-bottom-color:var(--link) !important}
html[data-theme="dark"] .gsc-tabHeader.gsc-tabhInactive{color:var(--ink-soft) !important}
html[data-theme="dark"] .gsc-results-close-btn{filter:invert(1) brightness(1.4) !important;opacity:.8}
html[data-theme="dark"] .gsc-selected-option-container,
html[data-theme="dark"] .gsc-option-menu{background:#2a2114 !important;color:var(--ink) !important;border-color:var(--rule) !important}
html[data-theme="dark"] .gsc-option-menu-item{color:var(--ink) !important}
html[data-theme="dark"] .gsc-option-menu-item-highlighted{background:#43341f !important}
html[data-theme="dark"] .gsc-webResult.gsc-result:hover{background:rgba(242,184,75,.06) !important}
html[data-theme="dark"] .gs-no-results-result .gs-snippet{background:transparent !important;border-color:var(--rule) !important;color:var(--ink-soft) !important}

/* ============================================================================
   RECORDS HUBS  (public: /songs/, /albums/, /singles/, /eps/; v1.357, 2026-11-20 UTC)
   ----------------------------------------------------------------------------
   Expansion rollout phase one: the four hubs adopt the Test Lab Hubs set. These rules are copied, in
   order, from the lab section's rules that style the hub markup, rescoped to html.rec-hub (all four),
   html.rec-songs (Songs) and html.rec-rel (the release hubs). The lab copies stay as the frozen
   snapshot of the original design; edit the public hubs here. Written by a one-off copy (session
   162x); not regenerated.
   ============================================================================ */
html:where(.rec-hub)[data-theme="dark"]{--lab-ramp-0:rgba(242,184,75,.045);
  --lab-ramp-1:#4b381b;
  --lab-ramp-2:#5f4520;
  --lab-ramp-3:#976b28;
  --lab-ramp-4:#d59b3d;
  --lab-ramp-5:#f5d487;
  --lab-ramp-ink:#f3ead7;
  --lab-ramp-ink-hi:#1a130b;
  --lab-kicker:#cdb06a;
  --lab-surface:rgba(66,52,33,.42);
  --lab-surface-strong:rgba(40,30,17,.92);
  --lab-chip-bg:rgba(242,184,75,.14);
  --lab-chip-ink:#f1dca8;
  --lab-seg-active-bg:#e3a945;
  --lab-seg-active-ink:#1a130b;
  --lab-ring-track:rgba(242,184,75,.16);
  --lab-ring-val:#f2b84b;
  --lab-focus:#f2b84b;
  --lab-beta-bg:#f07a5a;
  --lab-beta-ink:#1a130b;}
html:where(.rec-hub)[data-theme="dark"]{--gi-ink:#e3a945;--gi-knock:#1e1710;--gi-badge-bg:#f7d98a;--gi-badge-ink:#241b10;--gi-badge-knock:#f7d98a;--mono-ink:#241B10;--mono-j:#BC8438;--mono-p:#D4A84E;--mono-g:#E9AC41;--mono-r:#DE5B32}

/* ============================================================================
   EQUIPMENT AND PEOPLE HUBS  (public: /equipment/, /people/; v1.357, 2026-11-20 UTC)
   ----------------------------------------------------------------------------
   Expansion rollout phase one: the Equipment and People hubs adopt the Structure Expansion prototypes
   (scripts/gen_equipment_hub.py, gen_entity_pages.py). Copied, in order, from the lab section's gear-set
   rules, rescoped to html.rec-ent; those pages also carry html.rec-hub for the shared cards, icons and
   tokens of RECORDS HUBS above. One-off copy (session 162x); edit here, not in the lab section.
   ============================================================================ */
html:where(.rec-ent)[data-theme="dark"] .stat b{color:var(--honey-gold)}

/* ============================================================================
   TEST LAB  (dark; lab pages only)
   ----------------------------------------------------------------------------
   Folded in from the lab-only stylesheets on 2026-10-19 (standard_websites.md
   s11.7: lab pages use the main site CSS only). Every selector is scoped to
   :where(html.lab) (all lab pages) or :where(html.lab-<page>) (one page), so nothing
   can reach a public page. On graduation, a rule loses its scope and moves
   to its proper section.
   ============================================================================ */
/* ---- test/lab.css (all lab pages): scope :where(html.lab) ---- */
html:where(.lab)[data-theme="dark"]{
  --lab-ramp-0:rgba(242,184,75,.045);
  --lab-ramp-1:#4b381b;
  --lab-ramp-2:#5f4520;
  --lab-ramp-3:#976b28;
  --lab-ramp-4:#d59b3d;
  --lab-ramp-5:#f5d487;
  --lab-ramp-ink:#f3ead7;
  --lab-ramp-ink-hi:#1a130b;
  --lab-kicker:#cdb06a;
  --lab-surface:rgba(66,52,33,.42);
  --lab-surface-strong:rgba(40,30,17,.92);
  --lab-chip-bg:rgba(242,184,75,.14);
  --lab-chip-ink:#f1dca8;
  --lab-seg-active-bg:#e3a945;
  --lab-seg-active-ink:#1a130b;
  --lab-ring-track:rgba(242,184,75,.16);
  --lab-ring-val:#f2b84b;
  --lab-focus:#f2b84b;
  --lab-beta-bg:#f07a5a;
  --lab-beta-ink:#1a130b;
}
html:where(.lab)[data-theme="dark"] .stat b{color:var(--honey-gold)}
html:where(.lab)[data-theme="dark"] .mad-slot.is-set{color:var(--honey-gold)}
/* ---- test/insights.css (/test/insights): scope :where(html.lab-insights) ---- */
html:where(.lab-insights)[data-theme="dark"]{
  --ix-band:rgba(242,184,75,.04); --ix-band-edge:rgba(242,184,75,.14);
  --ix-edge:#c9a35e; --ix-edge-paused:#f08a6a; --ix-edge-rides:#8f7f5c;
  --ix-hm-0:rgba(242,184,75,.07); --ix-hm-1:#5a4428; --ix-hm-2:#8a6a3e; --ix-hm-3:#c08a45; --ix-hm-4:#f2b84b;
  --ix-row:rgba(242,184,75,.035); --ix-gap:rgba(242,184,75,.06);
}
/* ---- test/connection-map.css (/test/connection-map): scope :where(html.lab-cmap) ---- */
html:where(.lab-cmap)[data-theme="dark"]{
  --cm-chip-solid:#3b2d18;
  --cm-chip-ink:#f1dca8;
  --cm-canvas:rgba(30,22,12,.55);
  --cm-dim:.14;
  --cm-hot-ring:#f2b84b;
  --cm-grid:rgba(242,184,75,.12);
}
html:where(.lab-cmap)[data-theme="dark"] .ex-centre .hit{fill:var(--honey-gold);stroke:var(--honey-dark)}
html:where(.lab-cmap)[data-theme="dark"] .ex-centre text{fill:#1a130b}
html:where(.lab-cmap)[data-theme="dark"] .cs-nb .score{color:var(--honey-gold)}
html:where(.lab-cmap)[data-theme="dark"] .cm-mark{color:var(--honey-gold)}
/* ---- tag-cloud-restyle.html <style> (/test/tag-cloud-restyle): scope :where(html.lab-tagcloud) ---- */
html:where(.lab-tagcloud)[data-theme="dark"] .tr{--tag-ground:#1e1710;--tag-pill-border:rgba(242,184,75,.35);--tag-pill-ink:#c6943a;--tag-tint:16%;--tag-tint-hover:26%;--tr-legacy-on:#140e07;
  --rb-vocal:#e8a05a;--rb-origin:#c98b53;--rb-instrument:#4fc2b3;--rb-musicality:#b794e6;--rb-structure:#7aa6db;
  --rb-length:#b3ab98;--rb-theme:#e87ea3;--rb-production:#7cc475;--rb-era:#e7c668;
  /* v1.296c: text inks equal the dark facet colours (dark already passes) */
  --rb-vocal-ink:#e8a05a;--rb-origin-ink:#c98b53;--rb-instrument-ink:#4fc2b3;--rb-musicality-ink:#b794e6;--rb-structure-ink:#7aa6db;--rb-length-ink:#b3ab98;--rb-theme-ink:#e87ea3;--rb-production-ink:#7cc475;--rb-era-ink:#e7c668;}

/* ---- GEAR ICONS (elements kit sheet 5a; Structure Expansion set v2, 2026-10-27): scope :where(html.lab) ---- */
/* v1.335b 2026-11-09 (Joe): dark badges use the kit's "In circle badge" pale disc #f7d98a + ink #241b10 (was amber #e3a945 / #1e1710) */
html:where(.lab)[data-theme="dark"]{--gi-ink:#e3a945;--gi-knock:#1e1710;--gi-badge-bg:#f7d98a;--gi-badge-ink:#241b10;--gi-badge-knock:#f7d98a;--mono-ink:#241B10;--mono-j:#BC8438;--mono-p:#D4A84E;--mono-g:#E9AC41;--mono-r:#DE5B32}

/* ---- TEST LAB · TAG STYLES (/test/tag-styles, v1.363): scope :where(html.lab-tagstyles) ---- */
html:where(.lab-tagstyles)[data-theme="dark"]{--ts-ground:#1e1710;--ts-pill-border:rgba(242,184,75,.35);--ts-pill-ink:#c6943a;--ts-tint:16%;--ts-tint-hover:26%}
