/* ============================================================
   KECB · LONE STAR DAYLIGHT THEME · v20260727-1
   Light theme (same family as the original — no inversion).
   Recolors the warm brown/terracotta identity to the Texas flag:
   warm-white base, deep-navy bands, brick-red actions, rust-gold star.
   Text is left untouched (already readable on a light base).
   Loads AFTER kecb-core + all patch layers. Reversible: remove the link.
   ============================================================ */
:root{
  --ls-bg:#faf7f0; --ls-surface:#ffffff; --ls-navy:#10233f; --ls-navy-2:#1a3358;
  --ls-ink:#211d18; --ls-muted:#6c665c; --ls-line:rgba(16,35,63,.16);
  --ls-red:#9c2b2b; --ls-red-deep:#7a2020; --ls-red-ink:#faf1e8; --ls-star:#c17f3e;

  --paper:var(--ls-bg); --paper-2:#f1ece1; --white:var(--ls-surface);
  --ink:var(--ls-ink); --muted:var(--ls-muted);
  --wood:var(--ls-navy); --wood-2:var(--ls-navy-2);
  --rust:var(--ls-red); --gold:var(--ls-star);
  --line:var(--ls-line);

  --library-ink:var(--ls-ink); --library-dark:var(--ls-navy); --library-cream:var(--ls-bg);
  --library-paper:var(--ls-surface); --library-muted:var(--ls-muted); --library-rule:var(--ls-line);
  --library-brown:var(--ls-star); --library-gold:var(--ls-star);
  --page-paper:var(--ls-bg); --page-wash:#f1ece1; --page-ink:var(--ls-ink);
  --page-muted:var(--ls-muted); --page-rule:var(--ls-line);
}

/* ===== per-section token families -> Lone Star (bg/accent only; text untouched) ===== */
:root{
  --audit-muted:#10233f!important;
  --audit-rust:#9c2b2b!important;
  --bar2-brown:#10233f!important;
  --bar2-copper:#10233f!important;
  --bar2-dark:#10233f!important;
  --bar2-gold:#c17f3e!important;
  --book-gold:#c17f3e!important;
  --culture-gold:#c17f3e!important;
  --culture-rust:#9c2b2b!important;
  --dt-brown:#10233f!important;
  --dt-gold:#c17f3e!important;
  --dt-rust:#9c2b2b!important;
  --eco-muted:#10233f!important;
  --eco-rust:#9c2b2b!important;
  --edu-brown:#10233f!important;
  --edu-gold:#c17f3e!important;
  --edu-rust:#9c2b2b!important;
  --exp-gold:#c17f3e!important;
  --exp-rust:#9c2b2b!important;
  --k-brown:#10233f!important;
  --k-copper:#10233f!important;
  --k-gold:#c17f3e!important;
  --k2-gold:#c17f3e!important;
  --k2-rust:#9c2b2b!important;
  --kecb-doc-accent:#10233f!important;
  --kecb-doc-muted:#10233f!important;
  --library-rust:#9c2b2b!important;
  --member-accent:#10233f!important;
  --member-accent-dark:#10233f!important;
  --member-danger:#10233f!important;
  --member-muted:#10233f!important;
  --overhaul-brown:#10233f!important;
  --overhaul-muted:#10233f!important;
  --overhaul-rust:#9c2b2b!important;
  --ref-gold:#c17f3e!important;
  --ref-rust:#9c2b2b!important;
  --sp-brown:#10233f!important;
  --sp-copper:#10233f!important;
  --sp-gold:#c17f3e!important;
  --sp-rust:#9c2b2b!important;
  --sys-gold:#c17f3e!important;
  --sys-rust:#9c2b2b!important;
  --sys-rust2:#9c2b2b!important;
  --truck-dark:#10233f!important;
  --truck-rust:#9c2b2b!important;
  --upgrade-gold:#c17f3e!important;
  --upgrade-rust:#9c2b2b!important;
}
/* hardcoded brown bands/heroes/footers/panels -> navy */
#bartender-station,
.academy-assessment-card,
.academy-at-glance article,
.academy-concept-grid article,
.academy-full-details,
.academy-full-details details,
.academy-home-hero,
.academy-lesson-hero,
.academy-link-card,
.academy-promise-panel,
.academy-rubric article,
.academy-tool-grid article,
.academy-track-hero,
.age-gate-backdrop,
.age-gate-dialog,
.artist-card-actions a,
.artist-card-visual,
.artist-complete-callout,
.artist-directory-cta,
.artist-hero,
.artist-hero-metrics div,
.artist-intent-panel,
.artist-mini-mark,
.artist-profile-mark,
.bar-academy-feature,
.bar2-home-hero,
.bar2-lesson-hero,
.bar2-lesson-hero.drink,
.bar2-lesson-hero.mastery,
.bar2-subnav,
.bar2-subnav:after,
.bar2-track-hero,
.bar2-track-hero.mastery,
.bartender-station,
.book-first-card a,
.book-resource-volume-nav a,
.book-resources-hero,
.book-resources-simple-footer,
.book-resources-simple-header,
.chapter-connect-cta,
.chapter-connected-learning,
.chapter-work-actions a,
.consultant-home-portrait,
.consulting-hero,
.culture-subnav,
.culture-subnav:after,
.directory-methodology,
.discovery-band,
.dt-directory-hero,
.dt-hero,
.dt-tool-header,
.dt-tools-hero,
.edu-cta,
.edu-hero,
.expansion-band,
.field-center-strip,
.food-truck-feature-band,
.food-truck-hero,
.food-truck-hero:after,
.food-truck-reviewed,
.food-truck-snapshot-side,
.food-truck-table th,
.founder-page-hero,
.founder-principles,
.free-tools-home,
.front-door-choice,
.front-door-choice:focus-visible,
.front-door-choice:hover,
.front-door-destination-grid>a,
.front-door-destination-grid>a::after,
.front-door-founder,
.front-door-hero,
.front-door-search,
.front-door-shade,
.guide-full-details details,
.guided-system-card,
.helpdesk-hero,
.home-academy-callout,
.home-directory-callout,
.home-discovery,
.home-discovery-carousel,
.home-editorial-pass .home-books-band:before,
.home-explore-card,
.home-explore-card::after,
.home-feature-arrow,
.home-feature-copy b,
.home-feature-pause,
.home-feature-shade,
.home-hero,
.k2-dark,
.k2-hero,
.k2-home-hero,
.k2-subnav,
.k2-subnav:after,
.kitchen-hero,
.mastery-deepen-panel,
.mastery-sidebar,
.member-account-page .site-header-v3 .nav-more-menu,
.mission-visual:after,
.mobile-dock,
.nav-more-menu,
.next-steps-efficient,
.path-card .path-icon,
.path-progress-card,
.recipe-culture-door,
.recipe-mobile-actions,
.recipe-toast,
.recipe-visual-card,
.role-index-badge,
.role-library-gate>summary,
.role-library-hero:before,
.role-library-stat,
.role-quickbar,
.role-related,
.search-browse-card,
.search-overlay,
.section-image-card,
.section-image-card .card-icon,
.section-image-card:after,
.section-visual-hero:before,
.site-footer-v3.footer-compact,
.site-header,
.site-legal-notice,
.speakeasy-disclaimer-dialog.speakeasy-dialog-fallback[open],
.speakeasy-disclaimer-dialog::backdrop,
.speakeasy-hero,
.speakeasy-nav,
.speakeasy-noscript-age,
.speakeasy-warning,
.spx-card.dark,
.spx-dark,
.spx-hero:before,
.spx-preview,
.spx-stat,
.spx-subnav,
.spx-subnav:after,
.system-hero,
.system-toast,
.tool-all-card,
.tool-disclaimer-dialog.tool-dialog-fallback[open],
.tool-disclaimer-dialog::backdrop,
.tool-suite-hero,
.tools-book-first-hero,
.upgrade-hero,
.visual-banner,
.visual-hero:before,
.whats-new-feature-side,
.whats-new-hero,
.wood-swatch,
body.shift-desk-page .system-hero{ background:linear-gradient(135deg,#10233f,#1a3358)!important; }
/* hardcoded brown/terracotta buttons & accent fills -> brick red */
.academy-authority-note,
.academy-matrix th,
.academy-scenario,
.artist-button,
.artist-intent-actions button,
.artist-intent-actions button:focus-visible,
.artist-intent-actions button:hover,
.ask-riley-launcher,
.ask-riley-launcher:focus-visible,
.ask-riley-launcher:hover,
.button.primary:hover,
.consulting-service-card b,
.context-help-card a,
.context-help-card a:focus-visible,
.context-help-card a:hover,
.culture-code article:before,
.deep-meter span,
.directory-card-actions .official,
.directory-card-actions .profile,
.directory-filter-button.is-active,
.directory-profile-actions .official,
.directory-system-actions a,
.educator-hire-button,
.educator-hire-button:focus-visible,
.educator-hire-button:hover,
.educator-monogram,
.food-truck-chapter b,
.food-truck-path b,
.help-resource-search-row button,
.help-step-number,
.help-submit-button,
.help-submit-panel,
.help-suggestion-actions button,
.home-feature-dots button,
.k2-hero .button.secondary,
.k2-home-hero .button.secondary,
.k2-house-item-actions button.primary-mini,
.k2-menu-steps article>span,
.k2-meter span,
.k2-subnav a:hover,
.k2-subnav a[aria-current=page],
.kitchen-button,
.kitchen-nav,
.learning-step-actions a,
.library-help-button,
.library-help-button:focus-visible,
.library-help-button:hover,
.library-help-mark,
.main-nav-v3 .kitchen-nav,
.main-nav-v3 .speakeasy-nav,
.page-help-invite a,
.page-help-invite a:focus-visible,
.page-help-invite a:hover,
.page-help-invite-mark,
.reading-progress,
.role-entry-card.is-recommended:before,
.role-loader-mark,
.role-nav a.active,
.role-resource-group>summary:after,
.role-step>b,
.role-visual-pass .role-entry-card.is-recommended:before,
.simple-send-button,
.simple-send-button:hover,
.simple-step-number,
.simple-tool-guide li::before,
.speakeasy-disclaimer-close,
.speakeasy-disclaimer-close:focus-visible,
.speakeasy-disclaimer-close:hover,
.spx-rust,
.spx-subnav a:hover,
.spx-subnav a[aria-current="page"],
.step-number,
.system-mode-switch a[data-mode="work"],
.tool-actions button,
.tool-card-actions a:first-child,
.tool-completion-button.primary,
.tool-disclaimer-accept,
.tool-disclaimer-accept:focus-visible,
.tool-disclaimer-accept:hover,
.tool-disclaimer-link-icon,
.tool-disclaimer-open:focus-visible,
.tool-disclaimer-open:hover,
.tool-enhancement-toolbar button.primary,
.tool-group-toggle:focus-visible,
.tool-group-toggle:hover,
.toolkit-sequence li::before,
.track-step b,
.visual-hero .button.secondary,
.whats-new-badge,
.wood-scale span.on,
body.shift-desk-page .system-button,
to{ background:#9c2b2b!important; background-image:none!important; }
/* brand chip + focus/selection identity */
.brand-mark,.site-brand-mark{ background:var(--ls-star)!important; color:var(--ls-navy)!important; }
::selection{ background:rgba(156,43,43,.18); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--ls-red)!important; outline-offset:2px!important;
}

/* ===== "Tonight in the Halls" live nav badge — sitewide ===== */
.main-nav .nav-live{display:inline-flex!important;align-items:center!important;gap:.4rem!important;
  font-weight:700!important;color:#faf1e8!important;
  background:linear-gradient(135deg,#9c2b2b,#7a2020)!important;
  padding:.42rem .75rem!important;border-radius:999px!important;text-decoration:none!important;
  box-shadow:0 0 0 0 rgba(156,43,43,.5);animation:nav-live-glow 2.2s ease-in-out infinite}
.main-nav .nav-live:hover{filter:brightness(1.08);color:#fff!important}
.main-nav .nav-live .dot{width:.42rem;height:.42rem;border-radius:50%;background:#fff;
  display:inline-block;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:nav-live-dot 1.6s ease-in-out infinite}
@keyframes nav-live-glow{0%,100%{box-shadow:0 0 0 0 rgba(156,43,43,.45)}50%{box-shadow:0 0 0 6px rgba(156,43,43,0)}}
@keyframes nav-live-dot{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.35);opacity:.6}}
@media(prefers-reduced-motion:reduce){.main-nav .nav-live,.main-nav .nav-live .dot{animation:none}}
