
/* Only pages in the knowledge library load these rules. */
.kl-hub { background: #f4f7fa; padding-block: clamp(1.7rem,4vw,3.25rem); }
.kl-hub .section-lead h2 { font-size: clamp(1.65rem,3.8vw,3rem); }
.kl-hub .section-lead p:not(.eyebrow) { margin-top: .55rem; color: var(--muted); }
.kl-crumbs { display: flex; flex-wrap: wrap; gap: .22rem .52rem; margin: 0; padding: 0; list-style: none; }
.kl-crumbs li, .kl-checklist li { min-width: 0; overflow-wrap: anywhere; }
.kl-crumbs li + li::before { content: "/"; margin-right: .52rem; color: #b6c9db; }
.page-masthead.kl-masthead { padding-block: clamp(1.5rem, 3.5vw, 3.5rem); }
.kl-masthead h1 { max-width: 26ch; font-size: clamp(2rem, 4.1vw, 3.9rem); line-height: 1.1; overflow-wrap: anywhere; }
.kl-masthead .wrap > p { margin-top: .7rem; }
.kl:has(> .kl-directory) { background: #f4f7fa; }
.kl-directory, .section.kl-article { padding-block: clamp(1.65rem, 4vw, 3.25rem); }
.kl-directory h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; }
.kl-directory .eyebrow { margin-bottom: .5rem; }
.kl-directory-count { margin-top: .5rem; color: var(--muted); }
.kl-orientation { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(1.2rem,4vw,3rem); align-items: start; padding-bottom: clamp(1.6rem,3vw,2.5rem); margin-bottom: clamp(1.6rem,3vw,2.5rem); border-bottom: 1px solid #d3dee9; }
.kl-orientation h2 { margin-top: 0; }
.kl-orientation-intro { max-width: 60ch; margin-top: .8rem; color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.kl-reading-paths { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.kl-reading-paths a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .8rem; min-height: 44px; padding: 1rem 1.1rem; border: 1px solid #c9d7e4; border-radius: 12px; background: #fff; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.kl-reading-paths a span { grid-column: 1; color: var(--muted); font-size: .93rem; }
.kl-reading-paths a svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 1.15rem; color: #884116; }
.kl-reading-paths a:hover { background: #fff8f2; border-color: #aa5729; }
.kl-reading-paths a:focus-visible, .kl-terms a:focus-visible { outline: 3px solid #176498; outline-offset: 3px; }
.kl-terms { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #d3dee9; }
.kl-terms h2 { font-size: clamp(1.3rem,2.5vw,2rem); }
.kl-terms dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; margin: 1rem 0 0; }
.kl-terms dt { color: var(--navy); font-weight: 750; }
.kl-terms dd { margin: .35rem 0 0; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.kl-terms a { display: inline-flex; align-items: center; min-height: 44px; color: #173b59; font-weight: 650; text-underline-offset: .2em; }
.kl-terms-note { margin-top: .8rem; max-width: 85ch; color: var(--muted); font-size: .87rem; }
@media (max-width: 48rem) { .kl-orientation, .kl-terms dl { grid-template-columns: minmax(0,1fr); } }
.kl-checklist { max-width: 48rem; margin-top: 1.65rem; padding-top: 1rem; border-top: 1px solid #d3dee9; }
.kl-checklist h2 { font-size: clamp(1.2rem,2.2vw,1.65rem); }
.kl-checklist li + li { margin-top: .35rem; }
.kl-search { margin-top: 1rem; padding: clamp(.8rem,2vw,1.25rem); border: 1px solid #c8d7e4; border-radius: 12px; background: #fff; }
/* Keep startup geometry while JS prepares search; visibility also excludes focus/AT. */
.kl-search[hidden] { display: block !important; visibility: hidden; }
.kl-search label { display: block; margin-bottom: .45rem; font-weight: 700; }
.kl-search input { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid #889bab; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
.kl-search [role=status]:not(:empty) { margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.kl-results { margin: 0; padding: 0; list-style: none; }
.kl-results li + li { border-top: 1px solid #e0e7ef; }
.kl-results a { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .15rem .75rem; min-height: 48px; padding-block: .45rem; color: var(--navy); font-weight: 680; text-underline-offset: .2em; }
.kl-results small { color: #884116; font-size: .79rem; }
.kl-update { margin-bottom: 1.2rem; color: var(--muted); font-size: .87rem; }
.kl-layout { display: grid; grid-template-columns: minmax(0,48rem) minmax(225px,28%); gap: clamp(1.2rem,4vw,3.35rem); align-items: start; }
.kl-copy h2, .kl-related h2 { font-size: clamp(1.42rem,3vw,2.2rem); }
.kl-copy > h2 { margin-top: 1.5rem; }
.kl-copy p { margin-top: .55rem; color: var(--muted); max-width: 76ch; line-height: 1.7; overflow-wrap: anywhere; }
.kl-copy > p:not(.kl-source-note), .kl-answer p { font-size: clamp(1rem,1.4vw,1.075rem); }
.kl-answer { padding: .85rem 1rem; border-inline-start: 3px solid #b85a27; background: #fff3e8; border-radius: 7px; }
.kl-answer h2 { margin-top: 0; }
.kl-faq { display: grid; grid-template-columns: minmax(0,1fr); gap: .55rem; margin-top: .65rem; overflow-wrap: anywhere; }
.kl-faq details { border: 1px solid #d3dee9; border-radius: 8px; background: #fff; }
.kl-faq summary { min-height: 44px; padding: .65rem .85rem; color: var(--navy); font-weight: 700; cursor: pointer; }
.kl-faq p { margin: 0; padding: .2rem .85rem .75rem; }
.kl-source-note { font-size: .9rem; }
.kl-sources { display: grid; gap: .5rem; max-width: 68ch; margin: .75rem 0 0; padding: 0; list-style: none; }
.kl-sources a { display: grid; grid-template-columns: 1.25rem minmax(0,1fr) 1rem; align-items: center; gap: .65rem; min-height: 48px; padding: .65rem .8rem; border: 1px solid #c9d7e4; border-radius: 8px; background: #fff; color: #173b59; text-decoration: none; }
.kl-sources a:hover { border-color: #9f582c; background: #fff6ee; }
.kl-sources a:focus-visible { outline: 2px solid #173b59; outline-offset: 3px; }
.kl-sources a svg { width: 1rem; height: 1rem; fill: none; stroke: #884116; }
.kl-sources a .kl-source-icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kl-source-label { overflow-wrap: anywhere; }
.kl-source-label strong { display: block; color: #884116; font-size: .82rem; }
.kl-source-detail { display: block; text-decoration: underline; text-underline-offset: .18em; }
.kl-next { padding: clamp(1rem,2.1vw,1.35rem); border: 1px solid #d3dee9; border-top: 3px solid #b85a27; border-radius: 10px; background: #f4f7fa; }
.kl-next h2 { margin: 0 0 .7rem; font-size: 1.35rem; }
.kl-next .text-cta { margin-top: .6rem; }
.kl-next :is(.button,.text-cta) { max-width: 100%; overflow-wrap: anywhere; }
.kl-related { margin-top: 2.1rem; padding-top: 1.35rem; border-top: 1px solid #d3dee9; }
.kl-related .kl-library-grid:has(> li:only-child) { grid-template-columns: minmax(0,36rem); }
.kl-related .kl-library-grid:has(> li:only-child) .kl-category-card { min-height: 0; }
.kl-masthead h1, .kl-copy h2 { letter-spacing: -.025em; }
@media (max-width: 720px) {
  .kl-layout { grid-template-columns: minmax(0,1fr); }
  .kl-next .button { justify-content: center; width: 100%; }
}


.kl-hub-intro { color:#fff; background:linear-gradient(115deg,#0b1d32 12%,#173754); padding:clamp(1.4rem,4vw,4.1rem) 0 clamp(2rem,5vw,4.6rem); }
.kl-hub-intro .breadcrumb { color:#d2e0ef; }
.kl-hub-intro .breadcrumb a { color:inherit; }
.kl-kicker { margin-top:clamp(1.3rem,3vw,2.6rem); color:#ffc18d; font-size:.79rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.kl-hub-intro h1 { margin-top:.35rem; font-size:clamp(2.35rem,6vw,4.9rem); letter-spacing:-.04em; line-height:1.06; }
.kl-intro-copy { max-width:60ch; margin-top:.8rem; color:#e0e8f1; font-size:clamp(1rem,1.6vw,1.17rem); }
.kl-hub-intro .kl-search { max-width:58rem; margin-top:1.6rem; color:var(--ink); }
.kl-hub-intro :focus-visible { outline-color:#ffbc85; }
.kl-search :focus-visible { outline-color:#176498; }
.kl-search-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(11rem,30%); gap:.65rem; }
.kl-search-fields select { width:100%; min-height:48px; padding:.55rem .7rem; border:1px solid #889bab; border-radius:8px; background:#f4f7fa; color:var(--ink); font:inherit; }
.kl-search-help { margin-top:.6rem; font-size:.95rem; color:var(--muted); }
.kl-more { margin-top:.8rem; padding:.6rem .85rem; min-height:44px; border:1px solid #aebdcb; border-radius:8px; background:#f4f7fa; color:var(--navy); font:inherit; cursor:pointer; }
.kl-popular { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; margin-top:1rem; }
.kl-popular span { padding-right:.35rem; color:#e0e8f1; font-weight:700; font-size:.88rem; }
.kl-popular a { display:inline-flex; align-items:center; min-height:44px; padding:.35rem .8rem; border:1px solid #7592ac; border-radius:8px; text-decoration:none; font-weight:700; font-size:.88rem; }
.kl-popular a:hover,.kl-popular a:active { color:#11263d; background:#ffd3ae; border-color:#ffd3ae; }
.kl-category-grid, .kl-library-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.5rem 0 0; padding:0; list-style:none; }
.kl-library-grid .kl-category-card:focus-visible { outline-offset:3px; border-color:#176498; }
.kl-library-grid .kl-category-card > div { display:flex; flex-direction:column; height:100%; }
.kl-library-grid .kl-count { margin-top:auto; padding-top:.6rem; }
@media(min-width:951px) and (max-width:1279px) {
  .kl-library-grid:has(> li:nth-child(4):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:56rem; }
}
@media(min-width:1280px) {
  .kl-library-grid:has(> li:nth-child(4):last-child) { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.kl-category-grid li:first-child { grid-column:1/-1; }
.kl-category-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.85rem; align-items:start; height:100%; min-height:9rem; padding:1.15rem; border:1px solid #c9d7e4; border-radius:14px; background:#fff; text-decoration:none; }
.kl-category-grid li:first-child .kl-category-card { min-height:7rem; align-items:center; border-inline-start:4px solid #c66326; }
.kl-category-card:hover { border-color:#aa5729; background:#fffaf6; }
.kl-category-card:active { background:#fff0e4; }
.kl-category-card h3 { color:var(--navy); font-size:1.14rem; line-height:1.25; }
.kl-category-card p { margin-top:.38rem; font-size:.93rem; color:var(--muted); overflow-wrap:anywhere; }
.kl-category-icon { display:grid; place-items:center; width:2.65rem; aspect-ratio:1; border-radius:10px; background:#fff0e3; color:#8e3e12; }
.kl-category-icon svg { width:1.45rem; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.kl-category-arrow svg { width:1.1rem; height:1.1rem; fill:none; stroke:#8e3e12; }
.kl-count { display:inline-block; margin-top:.6rem; font-size:.79rem; font-weight:750; color:#854018; }
@media(max-width:950px) { .kl-category-grid, .kl-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:590px) {
  .kl-category-grid,.kl-library-grid,.kl-search-fields { grid-template-columns:minmax(0,1fr); }
  .kl-category-card,.kl-category-grid li:first-child .kl-category-card { min-height:0; padding:.95rem; }
  .kl-popular span { flex-basis:100%; }
}


.kl-section-nav { border-bottom: 1px solid #d5e1ed; background: #fff; }
.kl-section-nav .wrap { display: flex; flex-wrap: wrap; gap: 0 clamp(1rem, 3vw, 2rem); padding-block: .35rem; }
.kl-section-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: .92rem; font-weight: 700; text-decoration: none; }
.kl-section-nav a:hover { color: #884116; text-decoration: underline; text-underline-offset: .22em; }

.kl-featured, .kl-documents { background: #fff; }
.kl-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.kl-featured-grid a:not(.text-cta), .kl-document {
  display: flex; flex-direction: column; align-items: start; height: 100%; gap: .55rem; padding: 1.1rem;
  border: 1px solid #c9d7e4; border-radius: 14px; background: #f7f9fc; color: var(--navy); text-decoration: none;
}
.kl-featured-grid a:not(.text-cta):hover { border-color: #a95a2b; background: #fff8f2; }
.kl-featured-grid a > span, .kl-document-source { color: #884116; font-size: .78rem; font-weight: 750; }
.kl-featured-grid h3 { font-size: 1.12rem; line-height: 1.35; }
.kl-featured-grid p:not(.kl-document-source), .kl-topic-content > p { color: var(--muted); font-size: .93rem; }
.kl-featured-grid strong { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; color: #884116; font-size: .87rem; }
.kl-featured-grid strong svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; }
.kl-document .text-cta { margin-top: auto; min-height: 44px; }
.kl-documents .document-note { background: #fff3e8; }

.kl-reference-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.9fr); gap: clamp(1.35rem,4vw,3rem); align-items: start; }
.kl-answer-topics { display: grid; gap: .65rem; }
.kl-answer-topic { border: 1px solid #c9d7e4; border-radius: 12px; background: #fff; }
.kl-answer-topic > summary {
  display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .65rem;
  min-height: 52px; padding: .65rem .9rem; list-style: none; cursor: pointer; color: var(--navy); font-weight: 750;
}
.kl-answer-topic > summary::-webkit-details-marker { display: none; }
.kl-answer-topic > summary::after { content: ""; width: .5rem; height: .5rem; margin: 0 .2rem .25rem; border: solid #884116; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kl-answer-topic[open] > summary::after { transform: rotate(225deg); margin-bottom: -.25rem; }
.kl-answer-topic > summary small { color: #884116; white-space: nowrap; }
.kl-answer-topic > summary:hover { background: #fff5ed; border-radius: 12px; }
.kl-topic-content { padding: .15rem .9rem .85rem; }
.kl-topic-content .kl-faq details { background: #f7f9fc; }
.kl-topic-links { display: flex; flex-wrap: wrap; column-gap: 1.1rem; margin-top: .6rem; }
.kl-topic-links a { min-height: 44px; }

@media(max-width:950px) {
  .kl-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kl-featured-grid:not(.kl-document-grid) li:last-child { grid-column: 1/-1; }
}
@media(max-width:720px) { .kl-reference-grid { grid-template-columns: minmax(0,1fr); } }
@media(max-width:590px) { .kl-featured-grid { grid-template-columns: minmax(0,1fr); } }

