/* ---- consolidated from unified-search.v20260731-1.css ---- */
/* Unified search: one field, two clearly separated jobs. */
.unified-search-selector{margin:0 0 1rem;padding:1rem;border:1px solid rgba(16,35,63,.16);border-radius:16px;background:linear-gradient(180deg,#fffdf8,#f8f1e6)}
.unified-search-kicker{margin:0 0 .55rem;font:800 .72rem/1.2 Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#625043}
.unified-search-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.unified-search-toggle button{display:grid;gap:.15rem;min-height:70px;padding:.72rem .85rem;text-align:left;border:1px solid #cdb8a5;border-radius:12px;background:#fff;color:#2c1b15;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s,transform .16s}
.unified-search-toggle button:hover{border-color:#8d5a3c;transform:translateY(-1px)}
.unified-search-toggle button:focus-visible{outline:3px solid rgba(156,43,43,.28);outline-offset:2px}
.unified-search-toggle button strong{font:800 1rem/1.2 Georgia,serif;color:inherit}
.unified-search-toggle button small{font:600 .78rem/1.35 Arial,sans-serif;color:#766459}
.unified-search-toggle button[aria-pressed="true"]{border-color:#10233f;background:#10233f;color:#fff;box-shadow:0 8px 22px -14px rgba(16,35,63,.7)}
.unified-search-toggle button[aria-pressed="true"] small{color:rgba(255,255,255,.78)}
.unified-search-explanation{margin:.65rem 0 0;color:#59483e;font-size:.92rem}
.unified-search-audience{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin:.7rem 0 0;padding-top:.7rem;border-top:1px solid rgba(16,35,63,.11)}
.unified-search-audience[hidden]{display:none!important}
.unified-search-audience>span{margin-right:.15rem;font:800 .72rem/1.2 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#6b574b}
.unified-search-audience button{padding:.42rem .65rem;border:1px solid #c9b5a3;border-radius:999px;background:#fff;color:#4b382d;font:700 .78rem/1.2 Arial,sans-serif;cursor:pointer}
.unified-search-audience button[aria-pressed="true"]{border-color:#9c2b2b;background:#9c2b2b;color:#fff}
.unified-search-entry{display:flex;align-items:stretch;gap:.55rem}
.unified-search-entry .search-input{flex:1;min-width:0}
.unified-search-go{flex:0 0 auto;min-width:108px;padding:.75rem 1rem;border:0;border-radius:10px;background:#9c2b2b;color:#fff;font:800 .82rem/1 Arial,sans-serif;letter-spacing:.04em;cursor:pointer}
.unified-search-go:hover{filter:brightness(1.08)}
.unified-search-go:focus-visible{outline:3px solid rgba(156,43,43,.3);outline-offset:2px}
.search-controls-efficient[hidden],.search-results-toolbar[hidden]{display:none!important}
.problem-results{display:grid;gap:.75rem;margin-top:.75rem}
.problem-result{padding:1rem;border:1px solid #d9c6b4;border-radius:14px;background:#fff}
.problem-result.is-best{border:2px solid #9c2b2b;background:#fffaf3;box-shadow:0 12px 28px -22px rgba(44,24,18,.7)}
.problem-result-rank{display:inline-flex;margin-bottom:.45rem;padding:.28rem .48rem;border-radius:999px;background:#efe5d8;color:#69412c;font:900 .64rem/1 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.problem-result.is-best .problem-result-rank{background:#9c2b2b;color:#fff}
.problem-result>small{display:block;color:#8b4a2e;font:800 .68rem/1.25 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.problem-result h3{margin:.28rem 0 .35rem;font:800 1.25rem/1.2 Georgia,serif;color:#2c1b15}
.problem-result p{margin:0;color:#5d4b40}
.problem-result-links{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}
.problem-result-links a{display:inline-flex;align-items:center;gap:.25rem;padding:.55rem .68rem;border:1px solid #bda48e;border-radius:9px;background:#fff;color:#5f321f;font:800 .78rem/1.2 Arial,sans-serif;text-decoration:none}
.problem-result-links a.primary{border-color:#10233f;background:#10233f;color:#fff}
.problem-search-library,.problem-no-match button{margin-top:.75rem;padding:.58rem .75rem;border:1px solid #9c2b2b;border-radius:9px;background:#fff;color:#8a2727;font-weight:800;cursor:pointer}
.problem-no-match{margin-top:.75rem;padding:1rem;border:1px dashed #bd9b82;border-radius:12px;background:#fffaf3}
.problem-no-match strong{display:block;font:800 1.08rem/1.2 Georgia,serif}
.problem-no-match p{margin:.35rem 0 0;color:#604e43}
.search-panel .unified-search-selector{margin-top:.7rem}
.search-page-box .unified-search-selector{margin-bottom:1rem}
.search-panel .search-controls-efficient{max-height:none}
.search-panel .problem-results{grid-template-columns:1fr}
.search-panel .problem-result h3{font-size:1.12rem}
.search-panel .unified-search-toggle button{min-height:62px}

@media(max-width:620px){
  .unified-search-selector{padding:.75rem;border-radius:13px}
  .unified-search-toggle{grid-template-columns:1fr}
  .unified-search-toggle button{min-height:58px}
  .unified-search-entry{display:grid;grid-template-columns:1fr}
  .unified-search-go{width:100%;min-height:46px}
  .problem-result-links{display:grid}
  .problem-result-links a{justify-content:space-between}
  .unified-search-audience>span{width:100%;margin-bottom:.1rem}
}

@media(prefers-reduced-motion:reduce){.unified-search-toggle button{transition:none}}
@media print{.unified-search-selector,.unified-search-entry .unified-search-go{display:none!important}}
.problem-audience-note{margin:.75rem 0 0;padding:.65rem .75rem;border-left:4px solid #10233f;border-radius:0 9px 9px 0;background:#edf2f8;color:#34465d;font-weight:700;font-size:.84rem}
.search-best-matches{padding:.75rem;border:1px solid #d5b98d;border-radius:14px;background:#fffaf0}
.search-best-matches>h3{color:#5f351f}
.search-more-results{margin-top:1.3rem!important}
.home-search-selector .side-toggle[hidden]{display:none!important}

@media(max-width:620px){
  .home-search-selector .side-toggle button{width:100%;justify-content:center;background:#fff;border:1px solid rgba(255,255,255,.18)}
  .home-search-selector .side-toggle button[aria-pressed="true"]{background:var(--amber);border-color:transparent}
  .home-search-selector .side-toggle button.visit[aria-pressed="true"]{background:var(--neon);border-color:transparent}
}

/* ---- consolidated from usability-pass.v20260731-1.css ---- */

/* KECB usability and contrast pass — 2026-07-31 */
.simple-tool-guide{
  margin:1rem 0 1.35rem;padding:1rem 1.1rem;border:1px solid rgba(16,35,63,.16);
  border-radius:14px;background:#fffdf9;color:#211d18;box-shadow:0 8px 24px rgba(16,35,63,.06)
}
.simple-tool-guide h2{margin:.1rem 0 .4rem;color:#10233f;font-size:clamp(1.15rem,2.2vw,1.45rem)}
.simple-tool-guide p{margin:.2rem 0 .75rem;color:#403a32}
.simple-tool-guide ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;list-style:none;margin:0;padding:0;counter-reset:tool-step}
.simple-tool-guide li{counter-increment:tool-step;padding:.75rem .8rem;border-radius:10px;background:#f5eee3;color:#2d2923;line-height:1.45}
.simple-tool-guide li::before{content:counter(tool-step);display:inline-grid;place-items:center;width:1.65rem;height:1.65rem;margin-right:.45rem;border-radius:50%;background:#9c2b2b;color:#fff;font-weight:800}
.simple-tool-guide strong{color:#10233f}
@media(max-width:700px){.simple-tool-guide ol{grid-template-columns:1fr}}

/* The account label is intentionally explicit in both states. */
.account-utility{white-space:normal!important;text-align:center!important;line-height:1.15!important;max-width:12.5rem}
.account-utility.is-google-signed-in{background:#e9f4ed!important;color:#173f2c!important;border-color:#8db79d!important}

/* High-contrast text on the site's shared dark surfaces. */
:where(
  .site-header-v3,.site-header,.site-header.site-header-simple,.site-footer-v3.footer-compact,
  .system-hero,.tool-suite-hero,.tools-book-first-hero,.book-resources-hero,
  .edu-hero,.edu-cta,.upgrade-hero,.academy-home-hero,.academy-track-hero,.academy-lesson-hero,
  .bar2-home-hero,.bar2-track-hero,.bar2-lesson-hero,.k2-home-hero,.k2-hero,.k2-dark,
  .front-door-hero,.front-door-search,.front-door-founder,.front-door-choice,
  .home-discovery,.home-directory-callout,.home-academy-callout,.home-explore-card,
  .whats-new-hero,.whats-new-feature-side,.founder-page-hero,.founder-principles,
  .artist-hero,.artist-intent-panel,.artist-directory-cta,.dt-hero,.dt-directory-hero,.dt-tools-hero,
  .visual-banner,.visual-hero,.spx-dark,.spx-card.dark,.spx-preview,.spx-stat,
  .next-steps-efficient,.path-progress-card,.role-related,.role-quickbar,
  .directory-methodology,.expansion-band,.field-center-strip,.helpdesk-hero,
  .chapter-connected-learning,.chapter-connect-cta,.guided-system-card,.site-legal-notice
){color:#faf7f0!important}

:where(
  .system-hero,.tool-suite-hero,.tools-book-first-hero,.book-resources-hero,.edu-hero,.edu-cta,
  .upgrade-hero,.academy-home-hero,.academy-track-hero,.academy-lesson-hero,
  .bar2-home-hero,.bar2-track-hero,.bar2-lesson-hero,.k2-home-hero,.k2-hero,.k2-dark,
  .front-door-hero,.front-door-search,.front-door-founder,.home-discovery,
  .home-directory-callout,.home-academy-callout,.whats-new-hero,.whats-new-feature-side,
  .founder-page-hero,.founder-principles,.artist-hero,.artist-intent-panel,.artist-directory-cta,
  .dt-hero,.dt-directory-hero,.dt-tools-hero,.visual-banner,.visual-hero,.spx-dark,.spx-card.dark,
  .spx-preview,.spx-stat,.next-steps-efficient,.path-progress-card,.role-related,.role-quickbar,
  .directory-methodology,.expansion-band,.field-center-strip,.helpdesk-hero,
  .chapter-connected-learning,.chapter-connect-cta,.guided-system-card,.site-legal-notice
) :where(h1,h2,h3,h4,p,li,dt,dd,small,strong,.eyebrow,.kicker,.edu-kicker,.edu-lead,.system-kicker,.section-lead,.muted){color:inherit!important}

:where(.site-header-v3,.site-header,.site-footer-v3.footer-compact,.nav-more-menu) a,
:where(.site-header-v3,.site-header,.site-footer-v3.footer-compact,.nav-more-menu) button,
:where(.site-header-v3,.site-header,.site-footer-v3.footer-compact,.nav-more-menu) summary{color:#faf7f0!important}
:where(.site-header-v3,.site-header) .brand small{color:#ded8ce!important}
:where(.site-footer-v3.footer-compact) p{color:#e6dfd4!important}
:where(.nav-more-menu){color:#faf7f0!important}
:where(.nav-more-menu) a:hover,:where(.nav-more-menu) a:focus-visible{background:#263e61!important;color:#fff!important}

/* Keep light cards readable when they sit inside a dark section. */
:where(.system-card,.edu-card,.tool-app,.member-panel,.academy-card,.search-result,.directory-card,.role-entry-card,.spx-card:not(.dark)){
  color:#211d18
}
:where(.system-card,.edu-card,.tool-app,.member-panel,.academy-card,.search-result,.directory-card,.role-entry-card,.spx-card:not(.dark)) :where(h1,h2,h3,h4,p,li,dt,dd,small,strong,label,span){color:inherit}

.member-account-page .member-account-wrap{max-width:720px}
.member-account-page .member-panel-simple{text-align:center;padding:clamp(1.25rem,4vw,2.25rem)}
.member-account-page .member-panel-simple .member-actions{justify-content:center}
.member-account-page .member-email{font-weight:700;color:#10233f;overflow-wrap:anywhere}

/* Targeted contrast repairs found in the full template scan. */
.main-nav-v3 .search-toggle,
.site-header-v3 .search-toggle{
  appearance:none!important;background:transparent!important;border:0!important;
  color:#faf7f0!important;font:inherit!important;font-weight:700!important;padding:.55rem .65rem!important;cursor:pointer
}
.main-nav-v3 .search-toggle:hover,.main-nav-v3 .search-toggle:focus-visible{background:#263e61!important;color:#fff!important;border-radius:8px}
.browse-grid small{color:#655d53!important}

.spx-section:not(.spx-dark):not(.spx-rust):not(.bar-academy-feature) .spx-kicker{color:#762c2c!important}
.spx-section:not(.spx-dark):not(.spx-rust):not(.bar-academy-feature) .spx-button{background:#9c2b2b!important;color:#fff!important;border-color:#9c2b2b!important}
.spx-section:not(.spx-dark):not(.spx-rust):not(.bar-academy-feature) .spx-button.secondary{
  background:transparent!important;color:#10233f!important;border-color:#10233f!important
}
.spx-section:not(.spx-dark):not(.spx-rust):not(.bar-academy-feature) .spx-button.secondary:hover,
.spx-section:not(.spx-dark):not(.spx-rust):not(.bar-academy-feature) .spx-button.secondary:focus-visible{
  background:#10233f!important;color:#fff!important
}
.bar2-section.dark{color:#f7efe4!important}
.bar2-section.dark :where(h2,h3,p,span,strong,.eyebrow){color:inherit!important}
.bar2-section.dark .eyebrow{color:#f0c96e!important}
.tool-actions button.secondary{background:#fff!important;color:#69351f!important;border:1px solid #69351f!important}
.tool-actions button.secondary:hover,.tool-actions button.secondary:focus-visible{background:#f5eadf!important;color:#4f2818!important}
.decision-band{color:#f7efe4!important}
.decision-band :where(h2,p,strong){color:inherit!important}
.decision-band .eyebrow{color:#f0c96e!important}


/* Final shared navigation system — homepage and interior pages */
.site-header-v3.site-header-simple,
.site-header-v3{
  position:relative!important;z-index:100!important;display:grid!important;
  grid-template-columns:minmax(250px,1fr) auto!important;align-items:center!important;gap:1rem!important;
  min-height:74px!important;padding:.65rem clamp(1rem,3vw,2.4rem)!important;
  background:linear-gradient(135deg,#10233f,#1a3358)!important;
  border-bottom:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 7px 20px rgba(16,35,63,.22)!important;color:#faf7f0!important
}
.site-header-v3 .brand{display:flex!important;align-items:center!important;gap:.7rem!important;min-width:0!important;margin:0!important;text-decoration:none!important;color:#faf7f0!important}
.site-header-v3 .brand-mark{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;background:#9c2b2b!important;color:#fff!important;border-radius:7px!important;padding:.38rem .52rem!important;font-weight:850!important;letter-spacing:.06em!important;box-shadow:0 0 0 1px rgba(0,0,0,.22)!important}
.site-header-v3 .brand strong{display:block!important;color:#fff!important;font-family:Georgia,serif!important;font-size:1rem!important;line-height:1.08!important}
.site-header-v3 .brand small{display:block!important;color:#ded8ce!important;font-size:.68rem!important;line-height:1.22!important}
.main-nav-v3.main-nav-simple,.main-nav-v3{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:.22rem!important;min-width:0!important;overflow:visible!important}
.main-nav-v3>a,.main-nav-v3>button,.main-nav-v3>details>summary{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;
  padding:.56rem .66rem!important;border-radius:8px!important;border:0!important;background:transparent!important;
  color:#f8f3eb!important;font-family:system-ui,sans-serif!important;font-size:.76rem!important;font-weight:760!important;
  line-height:1.15!important;letter-spacing:.035em!important;text-transform:none!important;text-decoration:none!important;
  white-space:nowrap!important;cursor:pointer!important
}
.main-nav-v3>a:hover,.main-nav-v3>a:focus-visible,.main-nav-v3>button:hover,.main-nav-v3>button:focus-visible,
.main-nav-v3>details>summary:hover,.main-nav-v3>details>summary:focus-visible{background:#263e61!important;color:#fff!important;outline:2px solid transparent!important}
.main-nav-v3 .active,.main-nav-v3 [aria-current="page"],.main-nav-v3 details[open]>summary{background:rgba(240,201,110,.16)!important;color:#ffe2a3!important}
.main-nav-v3 .search-toggle{background:transparent!important;color:#f8f3eb!important}
.main-nav-v3 .account-utility{border:1px solid rgba(255,255,255,.34)!important;background:rgba(255,255,255,.06)!important;color:#fff!important;max-width:13rem!important}
.main-nav-v3 .account-utility:hover,.main-nav-v3 .account-utility:focus-visible{background:#fff!important;color:#10233f!important}
.main-nav-v3 .nav-live{color:#fff!important;background:linear-gradient(135deg,#9c2b2b,#7a2020)!important}
.main-nav-v3 .nav-more{position:relative!important;display:inline-flex!important}
.main-nav-v3 .nav-more>summary{list-style:none!important}
.main-nav-v3 .nav-more>summary::-webkit-details-marker{display:none!important}
.main-nav-v3 .nav-more>summary::after{content:"▾"!important;margin-left:.28rem!important;font-size:.72em!important}
.site-header-v3 .nav-more-menu{display:none!important;position:absolute!important;top:calc(100% + .35rem)!important;left:0!important;z-index:120!important;min-width:235px!important;padding:.42rem!important;background:#10233f!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:11px!important;box-shadow:0 16px 32px rgba(0,0,0,.28)!important}
.site-header-v3 .nav-more[open]>.nav-more-menu{display:flex!important;flex-direction:column!important}
.site-header-v3 .nav-more-menu a{display:block!important;padding:.62rem .72rem!important;border-radius:7px!important;color:#f8f3eb!important;text-decoration:none!important;font-size:.82rem!important;font-weight:650!important;white-space:normal!important}
.site-header-v3 .nav-more-menu a:hover,.site-header-v3 .nav-more-menu a:focus-visible{background:#263e61!important;color:#fff!important}
.site-header-v3 .nav-menu-toggle{display:none!important;align-items:center!important;gap:.4rem!important;justify-self:end!important;min-height:42px!important;padding:.55rem .72rem!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:8px!important;background:transparent!important;color:#fff!important;font-weight:750!important;cursor:pointer!important}
@media(max-width:1180px){
  .site-header-v3.site-header-simple,.site-header-v3{grid-template-columns:minmax(0,1fr) auto!important;min-height:66px!important}
  .site-header-v3 .nav-menu-toggle{display:inline-flex!important}
  .site-header-v3 .main-nav-v3{display:none!important;grid-column:1/-1!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;max-height:calc(100vh - 76px)!important;overflow:auto!important;padding:.65rem 0 .2rem!important;border-top:1px solid rgba(255,255,255,.12)!important}
  .site-header-v3 .main-nav-v3.is-open{display:flex!important}
  .main-nav-v3>a,.main-nav-v3>button,.main-nav-v3>details,.main-nav-v3>details>summary{width:100%!important;justify-content:flex-start!important;text-align:left!important}
  .main-nav-v3 .nav-more{display:block!important}
  .site-header-v3 .nav-more-menu{position:static!important;min-width:0!important;width:100%!important;margin:.25rem 0 0!important;box-shadow:none!important}
  .main-nav-v3 .account-utility{max-width:none!important}
}
@media(max-width:620px){
  .site-header-v3.site-header-simple,.site-header-v3{padding:.55rem .8rem!important}
  .site-header-v3 .brand small{display:none!important}
  .site-header-v3 .brand strong{font-size:.94rem!important}
}

/* ---- consolidated from v34523-global-fit.css ---- */
/* KECB V3.4.5.2.3 — site-wide contrast, wrapping and overflow safety layer */
:root{--v34523-ink:#211d18;--v34523-navy:#10233f;--v34523-paper:#fffdf9;--v34523-muted:#5b544b;--v34523-light:#faf7f0;--v34523-gold:#f0c96e}
html{max-width:100%;overflow-x:clip;text-size-adjust:100%}
*,*::before,*::after{box-sizing:border-box}
body,main,header,footer,nav,section,article,aside,div,form,fieldset,table,tbody,thead,tr,td,th{min-width:0}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
pre,code,kbd,samp{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
:is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,figcaption,label,legend,small,strong,span,a,button,summary){overflow-wrap:anywhere;word-break:normal}
:is(button,.button,[class*="-button"],[class*="_button"],input[type="button"],input[type="submit"],input[type="reset"],summary){max-width:100%;height:auto;min-height:42px;white-space:normal;line-height:1.25;text-align:center}
:is(input,select,textarea){max-width:100%;min-width:0;color:var(--v34523-ink);background:#fff}
:is(.main-nav,.main-nav-v3,.footer-primary-links,.footer-utility-links,.mobile-dock,.button-row,.actions,.tool-actions,.bar2-actions,.k2-actions,.hero-actions){min-width:0;max-width:100%}
:is(.main-nav,.main-nav-v3,.footer-primary-links,.footer-utility-links,.button-row,.actions,.tool-actions,.bar2-actions,.k2-actions,.hero-actions)>*{min-width:0;max-width:100%}
:is(.main-nav,.main-nav-v3)>a,:is(.main-nav,.main-nav-v3)>button,:is(.main-nav,.main-nav-v3)>details>summary{white-space:normal!important;text-wrap:balance}
:is(.grid,.cards,.card-grid,[class$="-grid"],[class*="-grid "],[class*=" grid-"])>*{min-width:0}
:is(.card,.system-card,.edu-card,.academy-card,.directory-card,.search-result,.role-entry-card,.tool-card,.tool-app,.bar2-card,.bar2-track-card,.bar2-school-card,.bar2-library-card,.bar2-path-card,.k2-card,.k2-track-card,.spx-card,.browse-card,.dashboard-card,.summary-card,.metric-card,.stat-card,.cas-card){min-width:0;max-width:100%;overflow-wrap:anywhere}
:is(.card,.system-card,.edu-card,.academy-card,.directory-card,.search-result,.role-entry-card,.tool-card,.tool-app,.bar2-card,.bar2-track-card,.bar2-school-card,.bar2-path-card,.k2-card,.k2-track-card,.spx-card:not(.dark),.browse-card,.dashboard-card,.summary-card,.metric-card,.stat-card,.cas-card){color:var(--v34523-ink)}
:is(.card,.system-card,.edu-card,.academy-card,.directory-card,.search-result,.role-entry-card,.tool-card,.tool-app,.bar2-card,.bar2-track-card,.bar2-school-card,.bar2-path-card,.k2-card,.k2-track-card,.spx-card:not(.dark),.browse-card,.dashboard-card,.summary-card,.metric-card,.stat-card,.cas-card) :is(h1,h2,h3,h4,p,li,dt,dd,small,strong,label,span){color:inherit}
:is(.dark,.spx-dark,.k2-dark,.bar2-section.dark,.decision-band,.site-header,.site-header-v3,.site-footer,.site-footer-v3,.system-hero,.academy-home-hero,.academy-track-hero,.academy-lesson-hero,.bar2-track-hero,.bar2-lesson-hero,.role-quickbar,.next-steps-efficient){color:var(--v34523-light)}
:is(.dark,.spx-dark,.k2-dark,.bar2-section.dark,.decision-band,.site-header,.site-header-v3,.site-footer,.site-footer-v3,.system-hero,.academy-home-hero,.academy-track-hero,.academy-lesson-hero,.bar2-track-hero,.bar2-lesson-hero,.role-quickbar,.next-steps-efficient) :is(h1,h2,h3,h4,p,li,dt,dd,small,strong,label,span){color:inherit}
:is(.dark,.spx-dark,.k2-dark,.bar2-section.dark,.decision-band,.site-header,.site-header-v3,.site-footer,.site-footer-v3,.system-hero,.academy-home-hero,.academy-track-hero,.academy-lesson-hero,.bar2-track-hero,.bar2-lesson-hero,.role-quickbar,.next-steps-efficient) .muted{color:#ded8ce!important}
:is(.site-header,.site-header-v3,.site-footer,.site-footer-v3,.nav-more-menu) a{color:#faf7f0}
:is(.site-header,.site-header-v3,.site-footer,.site-footer-v3,.nav-more-menu) a:hover,:is(.site-header,.site-header-v3,.site-footer,.site-footer-v3,.nav-more-menu) a:focus-visible{color:#fff}
:is(.button.primary,.spx-button:not(.secondary),button.primary,input[type="submit"]){color:#fff!important}
:is(.button.secondary,.spx-button.secondary,button.secondary){color:var(--v34523-navy);background:#fff;border-color:var(--v34523-navy)}
:is(.eyebrow,.kicker,.section-kicker){line-height:1.35}
h1{font-size:clamp(2rem,6vw,4.8rem);line-height:1.02;text-wrap:balance}
h2{font-size:clamp(1.45rem,4vw,2.8rem);line-height:1.12;text-wrap:balance}
h3{font-size:clamp(1.1rem,3vw,1.65rem);line-height:1.2}
:is(.bar2-stat-panel,.stats-grid,.metric-grid,.dashboard-grid,.summary-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))!important}
.bar2-stat-panel>div{min-width:0;overflow:visible!important}
.bar2-stat-panel strong{font-size:clamp(1rem,3.2vw,1.55rem)!important;line-height:1.1!important}
:is(.bar2-track-grid,.bar2-school-grid,.bar2-library-grid,.bar2-card-grid,.academy-grid,.tool-grid,.directory-grid,.browse-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))!important}
:is(.bar2-track-card,.bar2-school-card,.bar2-library-card,.academy-card,.tool-card,.directory-card,.browse-card){height:auto!important;min-height:0}
:is(.pill,.tag,.badge,.chip,[class*="-pill"],[class*="-badge"],[class*="-chip"]){max-width:100%;white-space:normal;line-height:1.25}
.table-wrap,.table-scroll,.responsive-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
table{max-width:100%}th,td{overflow-wrap:anywhere}
.search-panel,.modal,.dialog,[role="dialog"]{max-width:calc(100vw - 2rem)}
@media(max-width:980px){
  .site-header-v3{grid-template-columns:1fr!important}
  .main-nav-v3{justify-content:flex-start!important}
  .main-nav-v3>a,.main-nav-v3>button,.main-nav-v3>details{flex:1 1 9rem!important}
  .main-nav-v3>details>summary{width:100%}
}
@media(max-width:720px){
  body{overflow-x:hidden}
  :is(.site-header,.site-header-v3,main,.page-shell,.content-shell,.bar2-wrap,.k2-wrap,.spx-wrap){padding-left:1rem;padding-right:1rem}
  :is(.main-nav,.main-nav-v3,.footer-primary-links,.footer-utility-links,.button-row,.actions,.tool-actions,.bar2-actions,.k2-actions,.hero-actions){flex-direction:column;align-items:stretch}
  :is(.main-nav,.main-nav-v3)>a,:is(.main-nav,.main-nav-v3)>button,:is(.main-nav,.main-nav-v3)>details{width:100%;flex-basis:auto!important}
  :is(.button,[class*="-button"],button,input[type="submit"]){width:100%}
  :is(.two-column,.three-column,.split,.hero-grid,.contact-layout,.bar2-callout-grid){grid-template-columns:1fr!important}
  .mobile-dock{grid-template-columns:repeat(auto-fit,minmax(0,1fr));max-width:100vw}
}
@media(max-width:420px){
  h1{font-size:clamp(1.8rem,11vw,2.8rem)}
  h2{font-size:clamp(1.35rem,8vw,2rem)}
  :is(.card,.system-card,.edu-card,.academy-card,.directory-card,.tool-card,.bar2-card,.bar2-track-card,.bar2-school-card,.bar2-library-card,.k2-card,.spx-card){padding-left:.9rem!important;padding-right:.9rem!important}
}
@media print{html,body{overflow:visible!important}:is(button,.button,.mobile-dock,.search-overlay){max-width:none}}

/* V3.4.5.2.3 targeted fixes confirmed by computed viewport audit */
.spx-button.secondary{
  background:#fff!important;color:var(--v34523-navy)!important;border-color:var(--v34523-navy)!important
}
.bar2-home-hero .button.primary,.bar2-track-hero .button.primary,.bar2-lesson-hero .button.primary{
  background:#fff!important;color:var(--v34523-ink)!important;border-color:#fff!important
}
.recipe-standard-grid>div{color:var(--v34523-ink)!important}
.recipe-standard-grid>div :is(small,strong,span,p){color:inherit!important}
.tool-source-card p{
  display:block!important;-webkit-box-orient:initial!important;-webkit-line-clamp:unset!important;
  overflow:visible!important;max-height:none!important;height:auto!important
}
@media(max-width:980px){
  :is(.spx-subnav .spx-wrap,.bar2-subnav .bar2-wrap,.k2-subnav .k2-wrap,.tool-book-jumps){
    display:flex!important;flex-wrap:wrap!important;white-space:normal!important;overflow:visible!important;
    gap:.35rem!important;padding:.55rem .75rem!important
  }
  :is(.spx-subnav,.bar2-subnav,.k2-subnav,.culture-subnav){overflow:visible!important}
  :is(.spx-subnav,.bar2-subnav,.k2-subnav,.culture-subnav)::after{display:none!important;content:none!important}
  :is(.spx-subnav .spx-wrap,.bar2-subnav .bar2-wrap,.k2-subnav .k2-wrap,.tool-book-jumps)>a{
    flex:1 1 9rem!important;white-space:normal!important;justify-content:center;text-align:center;min-width:0
  }
}
@media(max-width:560px){
  :is(.spx-subnav .spx-wrap,.bar2-subnav .bar2-wrap,.k2-subnav .k2-wrap,.tool-book-jumps)>a{flex-basis:calc(50% - .35rem)!important}
}
.spx-dark .recipe-standard-grid>div,
.spx-dark .recipe-standard-grid>div :is(small,strong,span,p){color:var(--v34523-ink)!important}
/* Preserve readable foregrounds over dark photographic and academy heroes. */
.theme-speakeasy .spx-hero,
.theme-speakeasy .bar2-home-hero,
.theme-speakeasy .bar2-track-hero,
.theme-speakeasy .bar2-lesson-hero{color:#fff!important}
.theme-speakeasy .spx-hero :is(h1,h2,h3,p,span,strong),
.theme-speakeasy .bar2-home-hero :is(h1,h2,h3,p,span,strong),
.theme-speakeasy .bar2-track-hero :is(h1,h2,h3,p,span,strong),
.theme-speakeasy .bar2-lesson-hero :is(h1,h2,h3,p,span,strong){color:inherit!important}
.theme-speakeasy .spx-hero .spx-kicker,
.theme-speakeasy .bar2-home-hero .eyebrow,
.theme-speakeasy .bar2-track-hero .eyebrow,
.theme-speakeasy .bar2-lesson-hero .eyebrow{color:var(--v34523-gold)!important}
.bar-academy-feature-stats strong{
  font-size:clamp(1.15rem,2vw,1.55rem)!important;line-height:1.12!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important
}

/* ---- consolidated from manager-mobile-first.v20260802-1.css ---- */

:root{--mm-navy:#10233f;--mm-cream:#fffaf2;--mm-ink:#211812;--mm-muted:#6d6258;--mm-line:rgba(40,24,15,.17);--mm-amber:#b86b2c;--mm-red:#8f2f2a;--mm-shadow:0 12px 34px rgba(35,18,10,.13)}
.nav-tonight>summary{display:flex!important;align-items:center;gap:.38rem}.nav-tonight-dot{width:.48rem;height:.48rem;border-radius:50%;background:#e14a3b;box-shadow:0 0 9px rgba(225,74,59,.75)}.nav-tonight .nav-more-menu a:first-child{font-weight:900;color:#7f261f}.nav-tonight .nav-more-menu a:last-child:before{content:"♪ ";color:#b86b2c}
.mobile-dock .dock-icon{font-size:1rem;line-height:1}.mobile-dock .dock-label{font-size:.64rem;line-height:1.05;font-weight:900}.mobile-dock a[aria-current=page]{background:rgba(255,255,255,.12);border-radius:11px;color:#ffd99a}
@media(max-width:760px){body{padding-bottom:78px!important}.bottom-safe-space{height:78px!important}.mobile-dock{grid-template-columns:repeat(4,minmax(0,1fr))!important;left:.45rem!important;right:.45rem!important;bottom:max(.45rem,env(safe-area-inset-bottom))!important;padding:.34rem!important}.mobile-dock a,.mobile-dock button{min-height:52px!important;border-radius:11px!important}}
.home-fast-lane{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;margin:1rem 0 1.15rem}.home-fast-lane a,.home-fast-lane button{min-width:0;min-height:82px;padding:.9rem;border:1px solid var(--line-2,rgba(255,255,255,.16));border-radius:14px;background:var(--card,#291711);color:var(--cream,#fff8ee);text-decoration:none;text-align:left;cursor:pointer;display:flex;flex-direction:column;justify-content:center;gap:.2rem}.home-fast-lane a:first-child{background:linear-gradient(135deg,#9b3b2b,#6f241e);border-color:#c56b53}.home-fast-lane strong{font-family:var(--display,Georgia,serif);font-size:1.03rem;line-height:1.12}.home-fast-lane span{color:var(--tan,#ddc9b7);font-size:.78rem;line-height:1.3}.home-fast-lane a:hover,.home-fast-lane button:hover{transform:translateY(-2px);border-color:var(--amber,#d28a3b)}
#chips .chip{border-radius:12px!important;min-height:58px;padding:.68rem .78rem!important;text-align:left!important;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-start;gap:.1rem;flex:1 1 180px}#chips .chip strong{font-size:.9rem;line-height:1.15}#chips .chip span{font-size:.72rem;line-height:1.25;color:var(--tan-dim,#ae9785)}.home-router-note{position:relative;z-index:1;margin:.75rem 0 0;padding:.7rem .8rem;border-left:3px solid var(--amber,#b86b2c);background:rgba(255,255,255,.045);color:var(--tan,#ddc9b7);font-size:.82rem}
@media(max-width:760px){.home-fast-lane{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.home-fast-lane a,.home-fast-lane button{min-height:72px;padding:.72rem}.hero{padding-top:.8rem!important}.hero-head h1{font-size:clamp(2.15rem,11vw,3.1rem)!important}.home-banner{max-height:170px;object-fit:cover;object-position:center;margin-top:1.2rem;margin-bottom:.2rem!important;border-radius:12px!important}#chips{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem!important}#chips .chip-label{grid-column:1/-1}#chips .chip{min-height:66px;width:100%;padding:.62rem!important}}@media(max-width:410px){.home-fast-lane{grid-template-columns:1fr}#chips{grid-template-columns:1fr!important}}
body.shift-desk-page .system-hero{padding:1.55rem 0 1.2rem!important}body.shift-desk-page .system-hero-inner{width:min(1080px,92vw)!important}body.shift-desk-page .system-hero h1{font-size:clamp(2.25rem,7vw,4rem)!important;margin:.15rem 0 .35rem}
.tonight-command{background:linear-gradient(145deg,#152b48,#0e1c31);color:#fff;padding:1rem 0 1.2rem;border-bottom:4px solid #b86b2c}.tonight-command .system-wrap{width:min(1100px,94vw)}.tonight-command h2{color:#fff;margin:.1rem 0 .3rem;font-size:clamp(1.35rem,4vw,2rem)}.tonight-command p{color:#dce5ef;margin:.2rem 0}.tonight-stage-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.5rem;margin:1rem 0}.tonight-stage{min-height:62px;padding:.62rem .48rem;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.065);color:#fff;font:800 .78rem/1.15 Arial,sans-serif;cursor:pointer}.tonight-stage small{display:block;margin-top:.18rem;color:#bfcddd;font-size:.64rem;font-weight:650}.tonight-stage[aria-selected=true]{background:#b86b2c;border-color:#e6a66d;box-shadow:0 0 0 3px rgba(184,107,44,.22)}
.tonight-action-panel{background:#fff;color:var(--mm-ink);border-radius:16px;padding:1rem;box-shadow:var(--mm-shadow)}.tonight-action-panel[hidden]{display:none}.tonight-action-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.65rem}.tonight-action-panel h3{margin:0;font-family:Georgia,serif;font-size:1.25rem;color:var(--mm-navy)}.tonight-action-panel header p{color:var(--mm-muted);font-size:.82rem;margin:.18rem 0 0}.tonight-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.tonight-action{display:flex;flex-direction:column;min-height:112px;padding:.8rem;border:1px solid var(--mm-line);border-radius:12px;background:#fffaf3;text-decoration:none;color:var(--mm-ink)}.tonight-action:hover{border-color:var(--mm-amber);transform:translateY(-1px)}.tonight-action small{text-transform:uppercase;letter-spacing:.07em;color:var(--mm-red);font-weight:900;font-size:.62rem}.tonight-action strong{margin:.18rem 0;font-size:.96rem;line-height:1.17}.tonight-action span{margin-top:auto;color:var(--mm-muted);font-size:.75rem;line-height:1.3}.tonight-quick-links{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.75rem}.tonight-quick-links a,.tonight-quick-links button{min-height:44px;padding:.62rem .82rem;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;text-decoration:none;font-weight:850;cursor:pointer}.tonight-local-note{font-size:.75rem!important;color:#bfcddd!important}
.tonight-details{margin:.8rem 0;border:1px solid #d8c2ad;border-radius:12px;background:#fffaf4}.tonight-details>summary{cursor:pointer;list-style:none;padding:.85rem 1rem;font-weight:900;color:#2d1c13;display:flex;justify-content:space-between;gap:.5rem}.tonight-details>summary::-webkit-details-marker{display:none}.tonight-details>summary:after{content:"+";font-size:1.15rem}.tonight-details[open]>summary:after{content:"−"}.tonight-details-body{padding:0 .75rem .85rem}body.shift-desk-page .shift-record-panel{position:sticky;top:92px}.tonight-mobile-jump{display:none}
@media(max-width:900px){.tonight-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tonight-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.shift-desk-page .shift-record-panel{position:relative;top:auto;order:-1}}
@media(max-width:600px){.tonight-command{padding-top:.75rem}.tonight-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem}.tonight-stage{min-height:58px;font-size:.74rem}.tonight-action-panel{padding:.72rem}.tonight-action-panel header{display:block}.tonight-action-grid{grid-template-columns:1fr;gap:.45rem}.tonight-action{min-height:88px;padding:.68rem}body.shift-desk-page .system-section{padding-top:.8rem!important}body.shift-desk-page .shift-panel h2{font-size:1.25rem}.tonight-mobile-jump{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;position:sticky;bottom:75px;z-index:80;margin:.75rem 0;padding:.38rem;border-radius:12px;background:rgba(20,35,57,.96);box-shadow:0 10px 24px rgba(0,0,0,.22)}.tonight-mobile-jump a{min-height:43px;display:grid;place-items:center;border-radius:8px;color:#fff;text-decoration:none;font-size:.72rem;font-weight:900;background:rgba(255,255,255,.08)}}
.manager-priority-tools{padding:1.2rem 0;background:#f5eee5;border-bottom:1px solid var(--mm-line)}.manager-priority-tools .book-first-wrap,.manager-tool-finder .book-first-wrap{width:min(1160px,94vw)}.priority-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:.8rem}.priority-heading h2{margin:.1rem 0;font-size:clamp(1.5rem,4vw,2.25rem)}.priority-heading p{margin:.2rem 0;color:var(--mm-muted);max-width:44rem}.priority-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}.priority-tool-card{position:relative;display:flex;flex-direction:column;min-height:190px;padding:1rem;border:1px solid var(--mm-line);border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(28,15,9,.07)}.priority-tool-card>a{display:flex;flex-direction:column;flex:1;color:var(--mm-ink);text-decoration:none;padding-right:1.7rem}.priority-tool-card small{font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mm-red);font-weight:900}.priority-tool-card strong{font-family:Georgia,serif;font-size:1.05rem;line-height:1.15;margin:.25rem 0}.priority-tool-card p{color:var(--mm-muted);font-size:.8rem;line-height:1.38;margin:.1rem 0 .55rem}.priority-tool-card .priority-open{margin-top:auto;color:var(--mm-navy);font-weight:900;font-size:.76rem}.priority-favorite{position:absolute;right:.55rem;top:.55rem;width:36px;height:36px;border:1px solid var(--mm-line);border-radius:50%;background:#fff;color:#7a685b;cursor:pointer;font-size:1rem}.priority-favorite[aria-pressed=true]{background:#fff0c9;color:#8a4a00;border-color:#d09b45}.priority-expand{display:none;margin:.75rem auto 0;min-height:46px;padding:.7rem 1rem;border:1px solid var(--mm-line);border-radius:10px;background:#fff;font-weight:900}
.personal-tool-shelves{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:.9rem}.personal-tool-shelf{border:1px solid var(--mm-line);border-radius:13px;background:rgba(255,255,255,.75);padding:.75rem}.personal-tool-shelf[hidden]{display:none}.personal-tool-shelf h3{font-size:.95rem;margin:.05rem 0 .5rem}.personal-tool-list{display:flex;flex-wrap:wrap;gap:.45rem}.personal-tool-list a{padding:.52rem .62rem;border:1px solid var(--mm-line);border-radius:9px;background:#fff;color:var(--mm-ink);text-decoration:none;font-size:.75rem;font-weight:800}
.manager-tool-finder{padding:1rem 0;background:#fff}.manager-tool-finder h2{margin:.1rem 0}.manager-filter-box{padding:1rem;border:1px solid var(--mm-line);border-radius:15px;background:#fffaf3}.manager-filter-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem}.manager-filter-search input{width:100%;min-height:50px;padding:.75rem .85rem;border:2px solid #8e7563;border-radius:10px;font-size:16px}.manager-filter-search button{min-height:50px;padding:.65rem .9rem;border:0;border-radius:10px;background:var(--mm-navy);color:#fff;font-weight:900}.manager-filter-chips{display:flex;gap:.45rem;overflow-x:auto;padding:.7rem 0 .2rem;scrollbar-width:thin}.manager-filter-chip{flex:0 0 auto;min-height:42px;padding:.55rem .72rem;border:1px solid var(--mm-line);border-radius:999px;background:#fff;color:var(--mm-ink);font-weight:850;cursor:pointer}.manager-filter-chip[aria-pressed=true]{background:var(--mm-navy);border-color:var(--mm-navy);color:#fff}.manager-filter-selects{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:.7rem}.manager-filter-selects label{font-weight:850;font-size:.78rem}.manager-filter-selects select{display:block;width:100%;min-height:46px;margin-top:.25rem;padding:.6rem;border:1px solid #8e7563;border-radius:9px;background:#fff;font-size:16px}.manager-filter-status{margin:.65rem 0 0;color:var(--mm-muted);font-size:.8rem}
.full-tool-library{margin:1rem auto 2rem;width:min(1180px,94vw);border:1px solid var(--mm-line);border-radius:16px;background:#fff;overflow:clip}.full-tool-library>summary{cursor:pointer;list-style:none;padding:1rem 1.1rem;font-family:Georgia,serif;font-weight:900;font-size:1.15rem;color:var(--mm-navy);display:flex;justify-content:space-between;gap:1rem}.full-tool-library>summary::-webkit-details-marker{display:none}.full-tool-library>summary:after{content:"Show";font:900 .72rem Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--mm-red)}.full-tool-library[open]>summary:after{content:"Hide"}.full-tool-library-content{border-top:1px solid var(--mm-line)}.full-tool-library .tool-filter-shell{margin-top:0!important}.full-tool-library .book-first-wrap{width:100%!important;padding:0 1rem 1rem}.full-tool-library .tool-book-group[data-manager-empty=true]{display:none}.tool-source-card[hidden]{display:none!important}
@media(max-width:900px){.priority-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-tool-shelves{grid-template-columns:1fr}}
@media(max-width:600px){body.theme-tools .kecb-page-banner{display:none}.manager-priority-tools{padding-top:.8rem}.priority-heading{display:block}.priority-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.priority-tool-card{min-height:174px;padding:.75rem}.priority-tool-card strong{font-size:.92rem}.priority-tool-card p{font-size:.72rem}.priority-tool-card.is-secondary:not(.is-expanded){display:none}.priority-expand{display:block}.manager-filter-search{grid-template-columns:1fr}.manager-filter-selects{grid-template-columns:1fr}.full-tool-library{width:94vw}.full-tool-library>summary{font-size:1rem}}
@media(max-width:390px){.priority-tools-grid{grid-template-columns:1fr}.priority-tool-card{min-height:145px}}
@media(prefers-reduced-motion:reduce){.home-fast-lane a,.home-fast-lane button,.tonight-action{transform:none!important;transition:none!important}}
@media print{.tonight-command,.tonight-mobile-jump,.manager-tool-finder,.priority-favorite,.priority-expand,.mobile-dock{display:none!important}}



/* ================================================================
   KECB Institutional Visual System — Deploy 2
   Build: 2026.08.02-visual-system-2
   Purpose: mature editorial authority + fast operational utility.
   ================================================================ */
:root{
  --kecb-paper:#f7f3ec;
  --kecb-paper-strong:#fffdf9;
  --kecb-surface:#ffffff;
  --kecb-surface-soft:#f1ece3;
  --kecb-ink:#1d252b;
  --kecb-ink-soft:#536069;
  --kecb-navy:#17324d;
  --kecb-navy-deep:#10263a;
  --kecb-rust:#873f2d;
  --kecb-rust-deep:#6f3023;
  --kecb-brass:#a77a38;
  --kecb-line:#d8d0c4;
  --kecb-line-strong:#bdb2a4;
  --kecb-success:#2f654d;
  --kecb-warning:#83591d;
  --kecb-danger:#8a332f;
  --kecb-shadow-sm:0 2px 9px rgba(21,31,38,.07);
  --kecb-shadow-md:0 12px 32px rgba(21,31,38,.10);
  --kecb-radius-sm:8px;
  --kecb-radius:12px;
  --kecb-radius-lg:18px;
  --kecb-content:1160px;
  --kecb-reading:760px;
  --kecb-focus:0 0 0 3px rgba(23,50,77,.22);
}

html{background:var(--kecb-paper);scroll-padding-top:86px}
body{
  background:var(--kecb-paper);
  color:var(--kecb-ink);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body,button,input,select,textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
h1,h2,h3,h4,.brand strong,.book-first-kicker,.eyebrow{
  text-wrap:balance;
}
p,li,dd,figcaption,.card p,.tool-source-card p{
  text-wrap:pretty;
}
a{color:var(--kecb-navy)}
a:hover{color:var(--kecb-rust)}
::selection{background:#d7c29d;color:#15212a}

/* Header: calm, legible, institutional rather than themed. */
.site-header,
.site-header-v3{
  background:rgba(255,253,249,.97)!important;
  border-bottom:1px solid var(--kecb-line)!important;
  box-shadow:0 3px 16px rgba(20,29,36,.06)!important;
  color:var(--kecb-ink)!important;
  backdrop-filter:saturate(135%) blur(12px);
}
.site-header .brand,.site-header-v3 .brand{color:var(--kecb-ink)!important;text-decoration:none!important}
.brand-mark{
  display:grid!important;place-items:center;
  min-width:47px;height:34px;padding:0 .45rem;
  border:1px solid var(--kecb-navy)!important;
  border-radius:5px!important;
  background:var(--kecb-navy)!important;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:.74rem!important;
  letter-spacing:.12em!important;
  box-shadow:none!important;
}
.site-header .brand strong{font-family:Georgia,"Times New Roman",serif!important;color:var(--kecb-navy)!important;letter-spacing:-.015em}
.site-header .brand small{color:var(--kecb-ink-soft)!important}
.main-nav a,.main-nav summary,.main-nav button,.nav-menu-toggle{
  color:var(--kecb-ink)!important;
  font-weight:750!important;
}
.main-nav a:hover,.main-nav summary:hover,.main-nav button:hover{color:var(--kecb-rust)!important}
.main-nav a.active,.main-nav summary.active,.main-nav [aria-current="page"]{
  color:var(--kecb-navy)!important;
  text-decoration-color:var(--kecb-brass)!important;
}
.nav-more-menu{
  background:var(--kecb-paper-strong)!important;
  border:1px solid var(--kecb-line)!important;
  border-radius:var(--kecb-radius)!important;
  box-shadow:var(--kecb-shadow-md)!important;
}
.search-toggle,.nav-menu-toggle,.account-utility{
  border-color:var(--kecb-line-strong)!important;
  border-radius:var(--kecb-radius-sm)!important;
  background:#fff!important;
}

/* Global content geometry. */
main{min-width:0}
.wrap,.book-first-wrap,.system-wrap,.spx-wrap,.k2-wrap,.dir-wrap,.news-wrap,.edu-wrap{
  width:min(var(--kecb-content),92vw)!important;
}
section{scroll-margin-top:90px}
.refined-content-page main,.page-operational main,.page-editorial main{overflow:clip}

/* Unified hierarchy. */
h1{letter-spacing:-.035em;line-height:1.03}
h2{letter-spacing:-.025em;line-height:1.12}
h3{letter-spacing:-.015em;line-height:1.18}
.book-first-kicker,.eyebrow,.section-kicker,.spx-kicker,.k2-kicker{
  color:var(--kecb-rust)!important;
  font-family:Inter,ui-sans-serif,sans-serif!important;
  font-size:.72rem!important;
  font-weight:850!important;
  letter-spacing:.115em!important;
  line-height:1.25!important;
  text-transform:uppercase!important;
}

/* Operational pages: compact task-first opening, no decorative hero image wall. */
.page-operational{
  --card:#fff;
  --cream:#fffdf9;
  --ink:var(--kecb-ink);
  --tan:var(--kecb-ink-soft);
  --amber:var(--kecb-brass);
}
.page-operational main{
  background:linear-gradient(180deg,#fffdf9 0,#f7f3ec 420px);
}
.page-operational .tools-book-first-hero,
.page-operational .system-hero,
.page-operational .spx-hero,
.page-operational .k2-hero,
.page-operational .dir-hero,
.page-operational .news-hero,
.page-operational .edu-hero,
.page-operational .section-visual-hero{
  min-height:0!important;
  padding:clamp(1.55rem,4vw,3rem) 0!important;
  border:0!important;
  border-bottom:1px solid var(--kecb-line)!important;
  background:var(--kecb-paper-strong)!important;
  color:var(--kecb-ink)!important;
  box-shadow:none!important;
}
.page-operational .tools-book-first-hero h1,
.page-operational .system-hero h1,
.page-operational .spx-hero h1,
.page-operational .k2-hero h1,
.page-operational .dir-hero h1,
.page-operational .news-hero h1,
.page-operational .edu-hero h1{
  max-width:900px;
  margin:.18rem 0 .65rem!important;
  color:var(--kecb-navy)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(2rem,5vw,3.65rem)!important;
}
.page-operational .tools-book-first-hero p,
.page-operational .system-hero p,
.page-operational .spx-hero p,
.page-operational .k2-hero p,
.page-operational .dir-hero p,
.page-operational .news-hero p,
.page-operational .edu-hero p{
  max-width:780px;
  color:var(--kecb-ink-soft)!important;
  font-size:clamp(.98rem,2vw,1.12rem)!important;
  line-height:1.65!important;
}
.page-operational .home-banner,
.page-operational .page-banner,
.page-operational .kecb-page-banner,
.page-operational .hero-image,
.page-operational .hero-media{
  display:none!important;
}

/* Editorial pages retain documentary atmosphere but with restrained treatment. */
.page-editorial .visual-hero,
.page-editorial .section-visual-hero{
  position:relative;
  isolation:isolate;
  min-height:clamp(320px,47vw,560px)!important;
  display:grid;
  align-items:end;
  border-bottom:1px solid rgba(255,255,255,.18)!important;
  overflow:hidden;
}
.page-editorial .visual-hero:after,
.page-editorial .section-visual-hero:after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(8,18,28,.08) 20%,rgba(8,18,28,.83) 100%);
  pointer-events:none;
}
.page-editorial .visual-hero-content,
.page-editorial .section-visual-hero>div{
  width:min(var(--kecb-content),92vw)!important;
  margin-inline:auto!important;
  padding:clamp(2rem,5vw,4rem) 0!important;
}
.page-editorial .visual-hero h1,
.page-editorial .section-visual-hero h1{
  max-width:900px;color:#fff!important;font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(2.35rem,6vw,4.75rem)!important;
  text-shadow:0 2px 18px rgba(0,0,0,.32);
}
.page-editorial .visual-hero p,
.page-editorial .section-visual-hero p{max-width:760px;color:#f4eee5!important;font-size:clamp(1rem,2vw,1.2rem)!important;line-height:1.6!important}
.page-editorial img:not(.brand img):not(.icon):not([class*="logo"]){
  border-radius:var(--kecb-radius)!important;
}
.page-editorial figure img{filter:saturate(.84) contrast(1.03)}
.page-editorial figcaption{color:var(--kecb-ink-soft);font-size:.8rem;line-height:1.45}

/* Cards and panels: one surface language across the platform. */
:is(.card,.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.recommend-card,.problem-card,.path-card,.resource-card,.field-center-card,.news-card,.directory-card,.venue-card,.shift-panel,.manager-filter-box,.tonight-action-panel,.personal-tool-shelf,.spx-checklist,.book-card,.course-card){
  border:1px solid var(--kecb-line)!important;
  border-radius:var(--kecb-radius)!important;
  background:var(--kecb-surface)!important;
  color:var(--kecb-ink)!important;
  box-shadow:var(--kecb-shadow-sm)!important;
}
:is(.card,.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.recommend-card,.problem-card,.path-card,.resource-card,.field-center-card,.news-card,.directory-card,.venue-card,.book-card,.course-card):hover{
  border-color:var(--kecb-line-strong)!important;
  box-shadow:var(--kecb-shadow-md)!important;
  transform:translateY(-1px);
}
:is(.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.recommend-card,.problem-card,.path-card,.resource-card,.field-center-card,.news-card,.directory-card,.venue-card,.book-card,.course-card) strong,
:is(.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.recommend-card,.problem-card,.path-card,.resource-card,.field-center-card,.news-card,.directory-card,.venue-card,.book-card,.course-card) h3{
  color:var(--kecb-navy)!important;
}
:is(.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.recommend-card,.problem-card,.path-card,.resource-card,.field-center-card,.news-card,.directory-card,.venue-card,.book-card,.course-card) p{
  color:var(--kecb-ink-soft)!important;
}

/* Buttons and actions. */
:is(.button,.btn,button[type="submit"],input[type="submit"],.spx-button,.k2-button,.edu-button){
  min-height:44px;
  border-radius:var(--kecb-radius-sm)!important;
  font-weight:800!important;
  letter-spacing:.005em;
  box-shadow:none!important;
}
:is(.button.primary,.btn-primary,button.primary,button[type="submit"],input[type="submit"]){
  border:1px solid var(--kecb-navy)!important;
  background:var(--kecb-navy)!important;
  color:#fff!important;
}
:is(.button.primary,.btn-primary,button.primary,button[type="submit"],input[type="submit"]):hover{
  border-color:var(--kecb-navy-deep)!important;
  background:var(--kecb-navy-deep)!important;
  color:#fff!important;
}
:is(.button.secondary,.button.ghost,.btn-secondary,.spx-button.secondary,.k2-button.secondary){
  border:1px solid var(--kecb-line-strong)!important;
  background:#fff!important;
  color:var(--kecb-navy)!important;
}
:is(.button,.btn,button,a):focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:2px solid transparent!important;
  box-shadow:var(--kecb-focus)!important;
}

/* Forms: large, quiet, one-thumb friendly. */
label{color:var(--kecb-ink)!important;font-weight:750}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select,textarea{
  min-height:46px;
  border:1px solid var(--kecb-line-strong)!important;
  border-radius:var(--kecb-radius-sm)!important;
  background:#fff!important;
  color:var(--kecb-ink)!important;
  box-shadow:inset 0 1px 1px rgba(20,30,36,.025)!important;
}
textarea{min-height:112px;line-height:1.5}
input::placeholder,textarea::placeholder{color:#7a858b;opacity:1}
fieldset{border-color:var(--kecb-line)!important;border-radius:var(--kecb-radius)!important}
legend{color:var(--kecb-navy)!important;font-weight:850}

/* Tool and working surfaces. */
.page-operational .manager-priority-tools,
.page-operational .manager-tool-finder,
.page-operational .spx-section,
.page-operational .k2-section,
.page-operational .edu-section,
.page-operational .dir-section,
.page-operational .news-layout,
.page-operational .system-section{
  border-color:var(--kecb-line)!important;
}
.priority-tool-card{min-height:178px!important}
.priority-tool-card small,.tool-source-card small{color:var(--kecb-rust)!important}
.priority-open{color:var(--kecb-navy)!important}
.manager-priority-tools{background:var(--kecb-surface-soft)!important}
.manager-tool-finder{background:var(--kecb-paper-strong)!important}
.full-tool-library{border-color:var(--kecb-line)!important;border-radius:var(--kecb-radius-lg)!important;box-shadow:var(--kecb-shadow-sm)}
.full-tool-library>summary{color:var(--kecb-navy)!important;background:#fff!important}
.manager-filter-chip{border-color:var(--kecb-line)!important;background:#fff!important;color:var(--kecb-ink)!important}
.manager-filter-chip[aria-pressed="true"]{border-color:var(--kecb-navy)!important;background:var(--kecb-navy)!important;color:#fff!important}
.tonight-command{background:var(--kecb-navy-deep)!important;border-bottom-color:var(--kecb-brass)!important}
.tonight-stage[aria-selected="true"]{background:var(--kecb-rust)!important;border-color:#c9826f!important}
.tonight-action{background:#fff!important;border-color:var(--kecb-line)!important;color:var(--kecb-ink)!important}

/* Dense lists and data areas. */
table{border-collapse:separate;border-spacing:0;width:100%;background:#fff;border:1px solid var(--kecb-line);border-radius:var(--kecb-radius);overflow:hidden}
th{background:var(--kecb-surface-soft)!important;color:var(--kecb-navy)!important;font-size:.75rem;letter-spacing:.045em;text-transform:uppercase}
th,td{padding:.72rem .78rem;border-bottom:1px solid var(--kecb-line);text-align:left;vertical-align:top}
tr:last-child td{border-bottom:0}

/* Loading and empty states communicate progress without decorative characters. */
:is(.dir-loading,.news-loading,.loading-state,[data-loading],#loading){
  position:relative;
  min-height:110px;
  padding:1rem;
  border:1px solid var(--kecb-line)!important;
  border-radius:var(--kecb-radius)!important;
  background:linear-gradient(90deg,#ede7de 25%,#f8f5ef 38%,#ede7de 52%)!important;
  background-size:400% 100%!important;
  color:transparent!important;
  animation:kecb-skeleton 1.5s ease-in-out infinite;
}
:is(.dir-loading,.news-loading,.loading-state,[data-loading],#loading):after{
  content:"Loading current information…";
  position:absolute;left:1rem;bottom:1rem;
  color:var(--kecb-ink-soft);font-size:.78rem;font-weight:750;
}
:is(.tool-empty-state,.empty-state,.dir-empty,.news-empty,[data-empty]){
  padding:1.15rem!important;
  border:1px dashed var(--kecb-line-strong)!important;
  border-radius:var(--kecb-radius)!important;
  background:var(--kecb-paper-strong)!important;
  color:var(--kecb-ink-soft)!important;
  text-align:left!important;
}
@keyframes kecb-skeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* Long-form reading surfaces. */
.page-editorial article,.book-page article,.chapter-content,.reading-content{
  color:var(--kecb-ink);
}
.page-editorial article p,.book-page article p,.chapter-content p,.reading-content p{
  line-height:1.78;
}
.page-editorial blockquote,.book-page blockquote,.chapter-content blockquote{
  margin:1.5rem 0;padding:1rem 1.2rem;
  border-left:4px solid var(--kecb-brass)!important;
  background:var(--kecb-surface-soft)!important;
  color:var(--kecb-ink)!important;
}
.book-source-banner{
  border:1px solid var(--kecb-line)!important;
  border-radius:var(--kecb-radius)!important;
  background:#fff!important;
  color:var(--kecb-ink)!important;
  box-shadow:var(--kecb-shadow-sm)!important;
}
.book-source-banner h2,.book-source-banner strong{color:var(--kecb-navy)!important}
.book-source-banner p{color:var(--kecb-ink-soft)!important}

/* Footer: grounded, compact, and consistent. */
.site-footer,.site-footer-v3{
  border-top:4px solid var(--kecb-brass)!important;
  background:var(--kecb-navy-deep)!important;
  color:#e9edf0!important;
}
.site-footer a{color:#fff!important}
.site-footer p,.site-footer small{color:#c9d1d8!important}
.site-footer strong{color:#fff!important;font-family:Georgia,"Times New Roman",serif!important}

/* Text fit, overflow, and card integrity. */
:is(.main-nav,.mobile-dock,.button-row,.spx-actions,.k2-actions,.edu-actions,.founder-actions,.book-card-actions,.chapter-work-actions){min-width:0}
:is(.main-nav a,.main-nav summary,.mobile-dock a,.mobile-dock button,.button,.btn,.chip,.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card){overflow-wrap:anywhere}
:is(.priority-tools-grid,.tool-card-grid,.spx-grid,.k2-grid,.edu-card-grid,.problem-grid,.book-grid,.recommend-grid,.resource-links)>*{min-width:0}

/* Mobile refinement. */
@media(max-width:760px){
  html{scroll-padding-top:70px}
  .site-header,.site-header-v3{backdrop-filter:none}
  .site-header .brand small{display:none!important}
  .brand-mark{min-width:43px;height:32px}
  .page-operational .tools-book-first-hero,
  .page-operational .system-hero,
  .page-operational .spx-hero,
  .page-operational .k2-hero,
  .page-operational .dir-hero,
  .page-operational .news-hero,
  .page-operational .edu-hero{padding:1.2rem 0 1.35rem!important}
  .page-operational .tools-book-first-hero h1,
  .page-operational .system-hero h1,
  .page-operational .spx-hero h1,
  .page-operational .k2-hero h1,
  .page-operational .dir-hero h1,
  .page-operational .news-hero h1,
  .page-operational .edu-hero h1{font-size:clamp(1.85rem,9vw,2.75rem)!important}
  .page-editorial .visual-hero,.page-editorial .section-visual-hero{min-height:360px!important}
  .page-editorial .visual-hero h1,.page-editorial .section-visual-hero h1{font-size:clamp(2.1rem,11vw,3.35rem)!important}
  :is(.button,.btn,button,input,select,textarea,summary){font-size:16px}
  .priority-tool-card{min-height:156px!important}
  table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  th,td{min-width:130px}
  .site-footer{padding-bottom:calc(5.75rem + env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){
  .wrap,.book-first-wrap,.system-wrap,.spx-wrap,.k2-wrap,.dir-wrap,.news-wrap,.edu-wrap{width:min(94vw,var(--kecb-content))!important}
  .page-editorial .visual-hero,.page-editorial .section-visual-hero{min-height:330px!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
@media print{
  body{background:#fff!important;color:#000!important}
  .site-header,.site-footer,.mobile-dock,.search-overlay,.home-banner{display:none!important}
  :is(.card,.priority-tool-card,.tool-source-card,.spx-card,.k2-card,.edu-card,.shift-panel,.manager-filter-box){box-shadow:none!important;border-color:#aaa!important}
}
