:root {
  --field-top: #01031a;
  --field-base: #0b1220;
  --brand-blue: #12469a;
  --cyan: #0cb1fb;
  --routine: #96b5cc;
  --elevated: #78c2fa;
  --notable: #ffb84a;
  --alert: #ff4a54;
  --silver: #96b5cc;
  --white: #edf2f6;
  --ink: #182235;
  --muted: #66758c;
  --line: #dce5ef;
  --paper: #fff;
  --soft: #f5f8fc;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.68 var(--sans); }
a { color: var(--brand-blue); }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); background: var(--white); color: var(--field-top); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { transform: none; }
.kalos-banner { height: 104px; display: grid; place-items: center; padding: 10px 5vw; background: #02060c; border-bottom: 3px solid var(--cyan); overflow: hidden; }
.kalos-banner a { height: 100%; display: block; }
.kalos-banner img { display: block; width: auto; max-width: min(560px, 82vw); height: 84px; object-fit: contain; }
.site-header { height: 66px; display: grid; grid-template-columns: minmax(240px, 1fr) minmax(280px, 640px) minmax(80px, 1fr); align-items: center; gap: 26px; padding: 0 4vw; background: var(--field-top); color: var(--white); border-bottom: 1px solid #24334d; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; font: 700 21px/1 var(--display); letter-spacing: .045em; }
.brand img { width: 29px; height: 39px; object-fit: contain; }
.header-search { display: flex; width: 100%; border: 1px solid #384864; background: var(--field-base); border-radius: 999px; overflow: hidden; }
.header-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(0 200 255 / .15); }
.header-search input { flex: 1; min-width: 0; border: 0; padding: 10px 18px; color: var(--white); background: transparent; font: 14px var(--sans); outline: 0; }
.header-search input::placeholder { color: #9eb0c8; }
.header-search button { border: 0; background: transparent; color: var(--cyan); padding: 0 18px; font: 700 12px var(--mono); cursor: pointer; }
.menu-button { display: none; justify-self: end; color: var(--white); background: transparent; border: 1px solid #50617d; border-radius: 6px; padding: 7px 10px; }
.primary-nav { min-height: 54px; display: flex; align-items: stretch; justify-content: center; gap: 4px; padding: 0 18px; background: var(--field-base); border-bottom: 1px solid #25334b; position: sticky; top: 0; z-index: 30; box-shadow: 0 6px 16px rgb(7 13 24 / .12); }
.primary-nav a { display: grid; place-items: center; padding: 0 14px; color: var(--silver); text-decoration: none; font-size: 14px; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--white); border-bottom-color: var(--cyan); }
.directory-open { align-self: center; flex: 0 0 auto; margin-right: 8px; border: 1px solid #42526d; border-radius: 6px; padding: 7px 10px; background: transparent; color: var(--silver); font: 600 12px var(--sans); cursor: pointer; }
.directory-open:hover { color: var(--white); border-color: var(--cyan); }
.home-nav { align-self: center; flex: 0 0 auto; margin-right: 8px; border: 1px solid #42526d; border-radius: 6px; padding: 7px 12px; color: var(--silver); font: 600 12px var(--sans); text-decoration: none; }
.home-nav:hover, .home-nav:focus-visible { color: var(--white); border-color: var(--cyan); }
.directory-edge-tab { display: none; position: fixed; z-index: 38; left: 0; top: 48%; transform: translateY(-50%); padding: 13px 8px; border: 1px solid #4877ad; border-left: 0; border-radius: 0 7px 7px 0; background: var(--brand-blue); color: var(--white); box-shadow: 5px 8px 18px rgb(7 13 24 / .28); font: 700 11px var(--sans); letter-spacing: .025em; cursor: pointer; writing-mode: vertical-rl; }
.directory-edge-tab:hover, .directory-edge-tab:focus-visible { background: #0b4fa8; border-color: var(--cyan); outline: 0; }
.nav-search { align-self: center; display: flex; width: min(270px, 23vw); height: 34px; margin-left: 8px; border: 1px solid #42526d; border-radius: 7px; overflow: hidden; background: var(--field-top); }
.nav-search:focus-within { border-color: var(--cyan); }
.nav-search input { min-width: 0; flex: 1; border: 0; padding: 0 10px; outline: 0; background: transparent; color: var(--white); font: 12px var(--sans); }
.nav-search button { border: 0; padding: 0 11px; background: var(--brand-blue); color: var(--white); font: 700 10px var(--mono); cursor: pointer; }
.page-grid { min-height: calc(100vh - 227px); }
.page-grid.three-column { display: grid; grid-template-columns: 250px minmax(0, 860px) 225px; justify-content: center; align-items: stretch; gap: 34px; padding: 0 24px; }
.book-directory { border-right: 1px solid var(--line); min-width: 0; }
.directory-inner { position: sticky; top: 54px; max-height: calc(100vh - 54px); overflow: auto; padding: 26px 20px 35px 0; }
.directory-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 14px; color: var(--field-base); font: 700 12px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.directory-close { border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.book-directory details { border-top: 1px solid var(--line); padding: 9px 0; }
.book-directory summary { color: var(--field-base); font-size: 13px; font-weight: 700; cursor: pointer; }
.chapter-tree { padding: 5px 0 0 8px; }
.front-matter-links { margin: 4px 0 2px 8px; padding: 3px 0 4px; }
.front-matter-links a { padding: 5px 7px; color: var(--ink); font-weight: 600; border-bottom: 1px dotted #d5dfeb; }
.book-directory .front-matter-tree { margin: 4px 0 2px 8px; padding: 5px 0 3px; border-top: 0; border-bottom: 1px dotted #d5dfeb; }
.front-matter-tree > summary { font-size: 12px; }
.book-directory .chapter-branch { padding: 5px 0; border-top: 0; border-bottom: 1px dotted #d5dfeb; }
.chapter-branch summary { display: list-item; padding-left: 2px; font-size: 12px; }
.chapter-branch summary::marker { color: var(--brand-blue); }
.chapter-branch summary a { color: var(--ink); text-decoration: none; }
.chapter-branch summary a:hover { color: var(--brand-blue); text-decoration: underline; }
.chapter-sections { max-height: 260px; overflow: auto; margin: 5px 0 2px 8px; padding: 2px 0 3px; border-left: 1px solid var(--line); }
.chapter-sections a { padding: 4px 7px; font-size: 11px; }
.directory-links { padding: 7px 0 2px; }
.directory-links a { display: block; padding: 4px 8px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 12px; line-height: 1.35; }
.directory-links a:hover { color: var(--brand-blue); background: var(--soft); border-left-color: var(--cyan); }
.two-column-links { display: grid; grid-template-columns: 1fr 1fr; }
.page-links a { padding-left: 10px; }
.page-links .toc-level-3 { padding-left: 20px; font-size: 11px; }
body.directory-collapsed .page-grid.three-column { grid-template-columns: minmax(0, 920px) 225px; }
body.directory-collapsed .book-directory { display: none; }
body.directory-collapsed .directory-edge-tab { display: block; }
.page-grid.with-rail { display: grid; grid-template-columns: minmax(0, 900px) 270px; justify-content: center; gap: 64px; padding: 0 5vw; }
.page-grid > main { min-width: 0; }
.resource-rail { border-left: 1px solid var(--line); min-width: 0; }
.rail-inner { position: sticky; top: 49px; max-height: calc(100vh - 49px); overflow: auto; padding: 34px 0 38px 25px; }
.rail-section { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.rail-heading { margin: 0 0 10px; color: var(--field-base); font: 700 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.rail-links a { display: block; color: var(--muted); text-decoration: none; font-size: 13px; line-height: 1.38; padding: 6px 0; }
.rail-links a:hover { color: var(--brand-blue); text-decoration: underline; }
.rail-links .toc-level-3 { padding-left: 13px; font-size: 12px; }
.rail-button { display: block; padding: 10px 12px; border: 1px solid #b8cbe0; border-radius: 7px; background: var(--soft); color: var(--brand-blue); text-decoration: none; font-size: 13px; font-weight: 700; }
.rail-button:hover { border-color: var(--cyan); background: #edf8fd; }
.rail-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.eyebrow, .article-label, .card-kicker { color: var(--brand-blue); font: 700 12px/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.prose { max-width: 840px; padding: 54px 0 90px; }
.prose > .article-label { margin-bottom: 15px; }
.prose h1, .prose h2, .prose h3, .listing-hero h1, .search-page h1, .not-found h1 { color: var(--field-top); font-family: var(--display); letter-spacing: -.015em; line-height: 1.04; scroll-margin-top: 140px; }
.prose h1 { font-size: clamp(42px, 5vw, 64px); margin: 0 0 32px; padding-bottom: 25px; border-bottom: 4px solid var(--cyan); }
.prose h2 { font-size: 33px; margin: 60px 0 17px; }
.prose h3 { font-size: 24px; margin: 40px 0 13px; }
.chapter-hero + .prose { padding-top: 14px; }
.prose section[id^="part-"] > h1 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.08; margin-bottom: 22px; padding-bottom: 14px; border-bottom-width: 3px; }
.prose #chapter-overview > h3 { color: var(--brand-blue); font-size: 27px; }
.analyst-desk-tree > .resource-tree { border-top: 0; padding: 2px 0; }
.analyst-desk-tree > .resource-tree > summary { padding: 6px 0; }
.analyst-desk-tree > .resource-tree > summary a { color: var(--field-base); text-decoration: none; }
.nested-resource-links { margin: 1px 0 7px 8px; padding-left: 10px; border-left: 1px solid var(--line); }
.nested-resource-links a { font-size: 12px; line-height: 1.35; }
.prose p { margin: 0 0 1.15em; }
.prose li { margin: .35em 0; }
.prose blockquote { margin: 28px 0; padding: 18px 24px; background: #edf7fc; border-left: 4px solid var(--cyan); color: #30445f; }
.prose pre { overflow: auto; margin: 25px 0; padding: 20px 22px; border-radius: 9px; background: var(--field-top); color: var(--white); box-shadow: inset 4px 0 var(--cyan); }
.prose code { font: .88em/1.6 var(--mono); background: #edf2f8; color: #213d67; padding: .12em .35em; border-radius: 4px; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose pre { position: relative; }
.copy-code { position: absolute; right: 10px; top: 10px; border: 1px solid #405474; border-radius: 5px; background: var(--field-base); color: var(--silver); padding: 5px 8px; font: 11px var(--mono); cursor: pointer; }
.copy-code:hover { color: var(--white); border-color: var(--cyan); }
.prose table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.prose th { background: var(--field-base); color: var(--white); text-align: left; }
.prose th, .prose td { padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--soft); }
.prose figure, .prose > img, .prose p > img { display: block; margin: 30px auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px rgb(13 31 56 / .09); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 45px 0; }
.listing-hero { padding: 68px max(5vw, calc((100vw - 1180px) / 2)) 44px; background: var(--soft); border-bottom: 1px solid var(--line); }
.listing-hero h1, .search-page h1 { font-size: clamp(46px, 6vw, 70px); margin: 8px 0 10px; }
.listing-hero > p:last-child { max-width: 680px; color: var(--muted); font-size: 19px; }
.card-grid { max-width: 1180px; margin: 0 auto; padding: 52px 24px 90px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.content-card { min-height: 250px; display: flex; flex-direction: column; padding: 27px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.content-card:hover { transform: translateY(-3px); border-color: #a8cbe5; box-shadow: 0 16px 35px rgb(20 52 91 / .10); }
.content-card h2 { margin: 11px 0 10px; font: 700 29px/1.05 var(--display); }
.content-card p { color: var(--muted); font-size: 14px; }
.card-link { margin-top: auto; color: var(--brand-blue); font-weight: 700; }
.home-hero { min-height: 380px; display: grid; grid-template-columns: minmax(0, 520px) minmax(160px, 205px); justify-content: center; align-items: center; gap: 12px; padding: 22px 36px 70px; color: var(--white); background: radial-gradient(circle at 72% 25%, rgb(18 70 154 / .38), transparent 34%), linear-gradient(150deg, var(--field-top), var(--field-base)); position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; background: linear-gradient(90deg, var(--routine) 0 62%, var(--notable) 62% 79%, var(--alert) 79% 100%); }
.home-copy { position: relative; z-index: 1; width: 100%; justify-self: end; text-align: center; }
.home-copy .eyebrow { color: var(--routine); }
.home-copy h1 { margin: 12px 0 10px; font: 800 clamp(56px, 6vw, 82px)/.82 var(--display); letter-spacing: -.025em; }
.home-subtitle { max-width: 520px; margin: 18px auto 0; color: var(--silver); text-align: center; }
.home-subtitle strong, .home-subtitle > span { display: block; }
.home-subtitle strong { width: fit-content; margin: 0 auto 8px; padding: 8px 12px 7px; color: var(--white); border-top: 3px solid var(--routine); border-bottom: 3px solid var(--cyan); font: 800 clamp(38px, 4.5vw, 56px)/.96 var(--display); letter-spacing: .02em; }
.home-subtitle > span { font-size: clamp(17px, 1.8vw, 23px); line-height: 1.2; }
.home-cover { max-height: 320px; width: auto; border: 1px solid #c8d2dc; outline: 1px solid rgb(238 243 247 / .35); outline-offset: 3px; box-shadow: 0 22px 48px rgb(0 0 0 / .38); }
.search-page-form button { border: 0; padding: 0 26px; color: var(--white); background: var(--brand-blue); font-weight: 700; cursor: pointer; }
.hero-band { position: absolute; inset: auto 0 10px; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-block: 1px solid #a8bed3; background: #edf2f6; box-shadow: 0 -5px 18px rgb(0 0 0 / .18); }
.hero-band a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 11px 18px; color: var(--brand-blue); font: 700 clamp(18px, 2vw, 23px) var(--display); letter-spacing: .015em; text-align: center; text-decoration: none; }
.hero-band a + a { border-left: 1px solid #b8c8d8; }
.hero-band a:hover, .hero-band a:focus-visible { color: #072f6c; background: #dce9f4; outline: 0; }
.analyst-quote { padding: 19px 28px 21px; text-align: center; border-top: 4px solid var(--brand-blue); border-bottom: 1px solid #b8c8d8; background: #edf2f6; box-shadow: 0 7px 18px rgb(20 52 91 / .08); }
.analyst-quote p { margin: 0 0 7px; color: var(--brand-blue); font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.analyst-quote blockquote { max-width: 760px; margin: 0 auto; color: var(--field-base); font-size: clamp(17px, 2vw, 21px); font-style: italic; line-height: 1.4; }
.home-paths { max-width: 1160px; margin: 0 auto; padding: 26px 24px 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home-paths a { color: var(--ink); text-decoration: none; border-top: 3px solid var(--line); padding: 25px 10px 0; }
.home-paths a:nth-child(1) { border-top-color: #0CB1FB; }
.home-paths a:nth-child(2) { border-top-color: #F6C344; }
.home-paths a:nth-child(3) { border-top-color: #EF3340; }
.home-paths a:nth-child(1) h2, .home-paths a:nth-child(1) span { color: #12469A; }
.home-paths a:nth-child(2) h2, .home-paths a:nth-child(2) span { color: #C58A00; }
.home-paths a:nth-child(3) h2, .home-paths a:nth-child(3) span { color: #D62936; }
.home-paths a:hover h2 { filter: brightness(.8); }
.home-paths span { color: var(--brand-blue); font: 700 12px var(--mono); }
.home-paths h2 { margin: 10px 0 5px; font: 700 38px var(--display); }
.home-paths p { color: var(--muted); }
.chapter-hero { min-height: 215px; position: relative; display: flex; align-items: center; padding: 38px 155px 42px 42px; color: var(--white); overflow: hidden; background: radial-gradient(circle at 82% 20%, rgb(4 104 224 / .34), transparent 30%), linear-gradient(150deg, var(--field-top), var(--field-base)); border-bottom: 1px solid #355074; }
.chapter-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: linear-gradient(90deg, var(--routine) 0 62%, var(--notable) 62% 79%, var(--alert) 79% 100%); }
.chapter-hero-copy { position: relative; z-index: 1; }
.chapter-hero .eyebrow { color: var(--routine); }
.chapter-hero h1 { max-width: 680px; margin: 10px 0 12px; color: var(--white); font: 700 clamp(34px, 5vw, 54px)/1 var(--display); letter-spacing: -.015em; }
.chapter-hero-tagline { margin: 0; color: var(--silver); font-size: 17px; }
.chapter-hero-logo { position: absolute; z-index: 1; top: 50%; right: 24px; width: 104px; height: 138px; object-fit: contain; transform: translateY(-50%); filter: drop-shadow(0 8px 16px rgb(0 0 0 / .38)); }
.search-page { max-width: 950px; margin: 0 auto; padding: 70px 24px 100px; }
.search-page-form { display: flex; margin: 30px 0 18px; border: 2px solid #9aabc0; border-radius: 999px; overflow: hidden; }
.search-page-form:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgb(0 200 255 / .12); }
.search-page-form input { flex: 1; min-width: 0; border: 0; padding: 17px 23px; outline: 0; font: 17px var(--sans); }
.search-status { color: var(--muted); font: 13px var(--mono); }
.search-result { display: block; padding: 22px 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.search-result:hover h2 { color: var(--brand-blue); }
.search-result h2 { margin: 5px 0; font: 700 27px var(--display); }
.search-result p { margin: 0; color: var(--muted); }
.download-list { max-width: 940px; margin: 0 auto; padding: 45px 24px 90px; }
.download-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 240px) auto; gap: 20px; align-items: center; padding: 15px 8px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.download-row small { color: var(--muted); }
.download-row strong { color: var(--brand-blue); font-size: 13px; }
.not-found { max-width: 800px; margin: 0 auto; padding: 100px 24px; }
.not-found h1 { font-size: 60px; }
.button { display: inline-block; padding: 11px 18px; border-radius: 6px; background: var(--brand-blue); color: white; text-decoration: none; }
.site-footer { display: grid; grid-template-columns: minmax(210px, 300px) minmax(220px, 320px) minmax(300px, 760px); align-items: start; justify-content: space-between; gap: clamp(28px, 4vw, 64px); padding: 38px 5vw; color: var(--silver); background: var(--field-top); border-top: 3px solid var(--brand-blue); }
.footer-brand { display: flex; flex-direction: column; }

/* One continuous alert scale anchored exclusively by the project colors. */
.finding-gradient {
  background: linear-gradient(90deg,
    #0CB1FB 0%,
    #0CB1FB 19%,
    #F6C344 54%,
    #F6C344 66%,
    #EF3340 88%,
    #EF3340 100%);
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
}
.rail-logo-panel { margin-top: 18px; padding: 16px 14px; border-radius: 4px; background: #081426; text-align: center; }
.rail-logo-panel img { display: block; width: 100%; max-width: 210px; height: auto; margin: 0 auto; }
.footer-kalos { text-align: center; }
.footer-kalos-heading { margin: 0 0 8px !important; color: var(--white) !important; font: 700 12px var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; }
.footer-logo-panel { margin: 14px auto 0; padding: 0; border: 0; background: transparent; }
.footer-logo-panel img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; }
.site-footer strong { color: var(--white); font-family: var(--display); font-size: 22px; letter-spacing: .03em; }
.site-footer span, .site-footer p { font-size: 12px; color: #97a9c2; }
.site-footer p { margin: 0 0 7px; line-height: 1.5; }
.site-footer a { color: var(--routine); font-size: 12px; }
.site-footer a:hover { color: var(--cyan); }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-search { display: none; }
  .menu-button { display: none; }
  .primary-nav { display: flex; }
  .page-grid.three-column, body.directory-collapsed .page-grid.three-column { grid-template-columns: 220px minmax(0, 1fr); padding: 0 22px; gap: 26px; }
  .resource-rail { display: none; }
  .nav-search { width: 210px; }
  .prose { margin: 0 auto; }
  .home-hero { grid-template-columns: minmax(0, 500px) 210px; gap: 12px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .kalos-banner { height: 88px; padding: 10px 18px; }
  .site-header { padding: 0 18px; }
  .brand span { font-size: 18px; }
  .home-hero { display: block; min-height: auto; padding: 65px 22px 72px; }
  .home-copy h1 { font-size: 72px; }
  .home-cover { display: none; }
  .chapter-hero { min-height: 190px; padding: 32px 84px 36px 24px; }
  .chapter-hero-logo { right: 15px; width: 68px; height: 90px; }
  .home-hero { padding-bottom: 180px; }
  .hero-band { grid-template-columns: 1fr; }
  .hero-band a + a { border-left: 0; border-top: 1px solid #b8c8d8; }
  .home-paths, .card-grid { grid-template-columns: 1fr; }
  .listing-hero { padding: 48px 22px 28px; }
  .prose { padding: 42px 0 70px; }
  .prose h1 { font-size: 42px; }
  .prose h2 { font-size: 29px; }
  .page-grid.with-rail { padding: 0 21px; }
  .download-row { grid-template-columns: 1fr auto; }
  .download-row small { display: none; }
  .site-footer { display: block; }
  .footer-kalos, .footer-legal { margin-top: 24px; }
  .primary-nav { justify-content: flex-start; flex-wrap: wrap; padding: 8px 12px; }
  .primary-nav > a { display: none; }
  .nav-search { order: 2; width: calc(100% - 120px); margin-left: 0; }
  .page-grid.three-column, body.directory-collapsed .page-grid.three-column { display: block; padding: 0 20px; }
  .book-directory { display: none; position: fixed; z-index: 40; inset: 0 15% 0 0; padding-left: 18px; background: var(--paper); box-shadow: 12px 0 35px rgb(7 13 24 / .25); overflow: auto; }
  body.directory-mobile-open .book-directory { display: block; }
  .directory-edge-tab, body.directory-collapsed .directory-edge-tab { display: none; }
  .directory-inner { position: static; max-height: none; }
}
@media print {
  .kalos-banner, .site-header, .primary-nav, .book-directory, .resource-rail, .site-footer { display: none; }
  .page-grid.three-column { display: block; padding: 0; }
  .prose { max-width: none; padding: 0; }
}
.figure-note {
  margin-top: 0.55rem;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.55;
}

.figure-note em {
  color: #12469a;
  font-weight: 600;
}
