.library-page { background: #eef3f6; }
.library-intro { padding-top: 25px; padding-bottom: 24px; }
.library-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 17px; color: #68808c; font-size: 13px; }
.library-breadcrumb a:hover { color: var(--cyan-500); }
.library-breadcrumb strong { color: var(--navy-900); font-weight: 700; }
.library-intro-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.72fr); gap: 48px; align-items: end; }
.library-eyebrow { margin: 0 0 13px; color: #277f9e; font: 700 12px/1.4 Arial,sans-serif; letter-spacing: .19em; }
.library-intro h1 { margin: 0; color: var(--navy-900); font-size: clamp(38px,4vw,54px); line-height: 1.07; letter-spacing: -.045em; }
.library-mobile-break { display: none; }
.library-intro-grid > div > p:last-child { max-width: 670px; margin: 12px 0 0; color: #5c7480; font-size: 15px; line-height: 1.7; }
.library-search { padding-bottom: 5px; }
.library-search label { display: block; margin-bottom: 9px; color: #294c60; font-size: 14px; font-weight: 700; }
.library-search > div { display: grid; grid-template-columns: 1fr 88px; min-height: 50px; border: 1px solid #a5bbc6; background: white; }
.library-search input { min-width: 0; padding: 0 15px; border: 0; color: var(--navy-900); font: inherit; font-size: 14px; }
.library-search input:focus { outline: 2px solid var(--cyan-500); outline-offset: -2px; }
.library-search button { border: 0; background: var(--navy-900); color: white; font-size: 14px; font-weight: 700; cursor: pointer; }
.library-search button:hover { background: #17425c; }
.library-search p { margin: 10px 0 0; color: #667f8b; font-size: 12px; }
.library-page [hidden] { display: none !important; }
.library-purpose { margin-top: 20px; padding: 18px 23px 19px; border-left: 3px solid var(--cyan-500); background: white; color: #365769; }
.library-purpose strong { display: block; margin-bottom: 7px; color: var(--navy-900); font-size: 15px; }
.library-purpose p { margin: 0; font-size: 14px; line-height: 1.7; }
.library-purpose p + p { margin-top: 4px; }
.library-section { padding-bottom: 70px; }
.library-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 15px; }
.library-modes a { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 10px; align-content: center; min-height: 74px; padding: 13px 18px; border: 1px solid #c3d1d8; background: white; color: var(--navy-900); }
.library-modes a:hover { border-color: var(--cyan-500); }
.library-modes a.is-active { border-color: #0f405a; background: #0f405a; color: white; }
.library-modes span { grid-row: span 2; align-self: center; color: var(--ember); font: 700 12px/1 Arial,sans-serif; }
.library-modes strong { font-size: 17px; line-height: 1.3; }
.library-modes small { margin-top: 4px; color: #66808d; font-size: 12px; line-height: 1.35; }
.library-modes .is-active small { color: #bdd2dc; }
.library-jumps { display: none; }
.library-grid { display: grid; grid-template-columns: minmax(0,20fr) minmax(0,20fr) minmax(0,23fr) minmax(370px,37fr); min-height: 675px; border: 1px solid #c3d1d8; background: white; }
.library-pane { min-width: 0; border-right: 1px solid #c3d1d8; scroll-margin-top: 110px; }
.library-pane:last-child { border-right: 0; }
.library-pane > header { display: grid; grid-template-columns: 24px 1fr auto; gap: 7px; align-items: center; min-height: 55px; padding: 0 16px; border-bottom: 1px solid #c3d1d8; background: #f5f8f9; }
.library-pane > header span { color: var(--ember); font: 700 12px/1 Arial,sans-serif; }
.library-pane > header h2 { margin: 0; color: var(--navy-900); font-size: 18px; line-height: 1.2; }
.library-pane > header small { color: #738b97; font-size: 11px; white-space: nowrap; }
.library-pane-list { height: 620px; overflow-y: auto; padding: 7px 0 10px; }
.library-row { display: grid; width: 100%; grid-template-columns: minmax(0,1fr) auto 16px; gap: 8px; align-items: center; min-height: 46px; padding: 9px 15px; border: 0; border-left: 3px solid transparent; border-bottom: 1px solid #e0e8ec; background: white; color: #274554; text-align: left; cursor: pointer; }
.library-row:hover { background: #eff6f8; }
.library-row.is-active { border-left-color: var(--ember); background: #0f405a; color: white; }
.library-row b { overflow: hidden; font-size: 13px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; }
.library-row small { color: #6d8591; font-size: 11px; white-space: nowrap; }
.library-row.is-active small { color: #bcd3dd; }
.library-row em { color: #9dafb8; font-style: normal; font-size: 13px; }
.library-row.is-active em { color: white; }
.library-brand-row { grid-template-columns: minmax(0,1fr) 16px; min-height: 49px; }
.library-brand-row b { display: block; }
.library-brand-row small { display: block; margin-top: 3px; }
.library-detail-body { height: 620px; overflow-y: auto; }
.library-brand-intro { padding: 23px 22px 19px; border-bottom: 1px solid #d8e2e7; }
.library-brand-intro small { color: var(--ember); font: 700 11px/1.2 Arial,sans-serif; letter-spacing: .12em; }
.library-brand-intro h3 { margin: 11px 0 8px; color: var(--navy-900); font-size: 28px; line-height: 1.16; }
.library-brand-intro p { margin: 0; color: #627985; font-size: 13px; line-height: 1.65; }
.library-brand-intro .library-data-note { margin-top: 13px; color: #386c82; font-weight: 700; }
.library-brand-logo { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 175px; margin-bottom: 19px; padding: 0 12px; background: #eaf2f5; }
.library-brand-logo-reverse { background: #123b53; }
.library-brand-logo img { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 5 / 3; max-width: none; max-height: none; object-fit: contain; }
.library-story-link { display: inline-flex; align-items: center; min-height: 39px; margin-top: 16px; padding: 8px 13px; border: 1px solid #70b4cc; color: #0e6688; font-size: 12px; font-weight: 700; }
.library-story-link:hover, .library-story-link:focus-visible { color: #fff; background: #0f405a; }
.library-family-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid #c8d6dd; background: #f6f9fa; }
.library-family-tabs button { flex: 0 0 auto; padding: 11px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #52707e; font-size: 12px; white-space: nowrap; cursor: pointer; }
.library-family-tabs button.is-active { border-bottom-color: var(--ember); color: var(--navy-900); font-weight: 700; }
.library-family-tabs button:hover { color: var(--cyan-500); }
.library-model-list { padding: 5px 17px 20px; }
.library-model { display: block; padding: 15px 4px; border-bottom: 1px solid #e1e8ec; }
.library-model:hover strong { color: var(--cyan-500); }
.library-model > span { display: flex; align-items: baseline; gap: 10px; }
.library-model strong { color: var(--navy-900); font: 700 17px/1.25 Arial,sans-serif; }
.library-model b { color: #254457; font-size: 13px; }
.library-model small { display: block; margin-top: 6px; color: #637b87; font-size: 12px; line-height: 1.5; }
.library-model em { display: block; margin-top: 8px; color: #2087ad; font-size: 12px; font-style: normal; }
.library-empty { margin: 22px; padding: 30px 22px; border: 1px solid #d8e4e8; background: #f6f9fa; }
.library-empty b { color: var(--navy-900); font-size: 15px; }
.library-empty p { margin: 10px 0 0; color: #647e89; font-size: 13px; line-height: 1.7; }
.library-path { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 22px; color: #d8e8ee; background: var(--navy-900); }
.library-path p { margin: 0; font-size: 13px; }
.library-path strong { color: white; font-weight: 600; }
.library-path > span { color: #a9c4d0; font-size: 11px; text-align: right; }
.library-page .footer { margin-top: 0; }

.library-alphabet-view { border: 1px solid #c3d1d8; background: white; }
.library-alphabet-head { display: flex; justify-content: space-between; gap: 25px; align-items: end; padding: 24px 27px 19px; }
.library-alphabet-head .library-eyebrow { margin-bottom: 8px; }
.library-alphabet-head h2 { margin: 0; color: var(--navy-900); font-size: 29px; line-height: 1.15; }
.library-alphabet-head p:last-child { max-width: 750px; margin: 8px 0 0; color: #617984; font-size: 14px; line-height: 1.65; }
.library-alphabet-head > strong { flex: 0 0 auto; color: #2c6d88; font-size: 14px; }
.library-alphabet { display: grid; grid-template-columns: repeat(14,minmax(0,1fr)); border-top: 1px solid #c3d1d8; border-left: 1px solid #c3d1d8; }
.library-alphabet button { display: grid; justify-items: center; align-content: center; min-height: 52px; padding: 6px 2px; border: 0; border-right: 1px solid #c3d1d8; border-bottom: 1px solid #c3d1d8; background: #f7fafb; color: #26495b; cursor: pointer; }
.library-alphabet button:hover { background: #e8f2f6; }
.library-alphabet button.is-active { background: #0f405a; color: white; }
.library-alphabet button:disabled { color: #aabcc5; cursor: default; }
.library-alphabet b { font: 700 16px/1 Arial,sans-serif; }
.library-alphabet small { margin-top: 4px; color: #748e9b; font-size: 10px; }
.library-alphabet .is-active small { color: #bdd2dc; }
.library-az-grid { display: grid; grid-template-columns: minmax(0,43fr) minmax(0,57fr); min-height: 675px; }
.library-az-list-pane { min-width: 0; border-right: 1px solid #c3d1d8; }
.library-az-list-pane > header, .library-az-detail-pane > header { display: flex; justify-content: space-between; gap: 14px; align-items: center; min-height: 55px; padding: 0 20px; border-bottom: 1px solid #c3d1d8; background: #f5f8f9; }
.library-az-list-pane h3, .library-az-detail-pane h3 { margin: 0; color: var(--navy-900); font-size: 18px; }
.library-az-list-pane header small, .library-az-detail-pane header small { color: #738b97; font-size: 12px; }
.library-az-list { height: 620px; overflow-y: auto; }
.library-az-list .library-brand-row { padding: 10px 21px; }
.library-az-list .library-brand-row b { font-size: 15px; }
.library-az-list .library-brand-row small { font-size: 12px; }
.library-az-detail-pane { min-width: 0; }

.record-shell { min-height: 65vh; padding-top: 36px; padding-bottom: 90px; }
.record-hero { padding: 45px 50px; color: white; background: var(--navy-900); border-top: 3px solid var(--ember); }
.record-hero small { color: var(--cyan-300); font: 700 12px/1 Arial,sans-serif; letter-spacing: .17em; }
.record-hero h1 { margin: 17px 0 8px; font-size: clamp(34px,4.5vw,56px); line-height: 1.1; }
.record-hero p { margin: 0; color: #bed2dc; font-size: 17px; }
.record-content { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 26px; margin-top: 25px; }
.record-panel { padding: 32px; background: white; border: 1px solid #d6e1e6; }
.record-panel h2 { margin: 0 0 20px; color: var(--navy-900); font-size: 20px; }
.record-panel p { margin: 0 0 22px; color: #4e6875; font-size: 16px; line-height: 1.8; }
.record-facts { margin: 0; }
.record-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid #e2eaee; font-size: 14px; }
.record-facts dt { color: #708994; }
.record-facts dd { margin: 0; color: var(--navy-900); }
.record-source { display: inline-flex; padding: 12px 16px; border: 1px solid #b4cad5; color: #176f92; font-size: 14px; font-weight: 700; }
.record-source:hover { background: #eef6f9; }
.record-related { display: grid; gap: 0; }
.record-related a { display: block; padding: 12px 0; border-top: 1px solid #e2eaee; color: #244e62; font-size: 14px; }
.record-related a:hover { color: var(--cyan-500); }
.record-note { margin-top: 22px; padding: 15px 17px; border-left: 2px solid var(--cyan-500); background: #f1f7f9; color: #58717c; font-size: 13px; line-height: 1.7; }
.library-callout { display: grid; grid-template-columns: minmax(0,1fr) 225px; gap: 38px; align-items: center; margin-top: 26px; padding: 32px 36px; background: var(--navy-900); color: white; }
.library-callout > div > small { display: block; margin-bottom: 9px; color: var(--cyan-300); font: 700 11px/1.35 Arial,sans-serif; letter-spacing: .12em; }
.library-callout strong { display: block; font-size: 22px; }
.library-callout p { max-width: 820px; margin: 9px 0 0; color: #c2d6df; font-size: 14px; line-height: 1.7; }
.library-callout-actions { display: grid; gap: 10px; }
.library-callout a { display: block; padding: 12px 16px; border: 1px solid #7eb9d0; color: white; font-size: 14px; font-weight: 700; text-align: center; }
.library-callout a:hover { background: #19506b; }
@media (max-width: 1100px) {
  .library-grid { grid-template-columns: minmax(0,19fr) minmax(0,19fr) minmax(0,25fr) minmax(330px,37fr); }
  .library-pane > header { padding-inline: 11px; }
  .library-row { padding-inline: 9px; }
}
@media (max-width: 900px) {
  .library-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .library-intro h1 br { display: none; }
  .library-jumps { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 11px; }
  .library-jumps a { flex: 0 0 auto; padding: 10px 12px; color: #245168; background: white; border: 1px solid #c7d9e1; font-size: 13px; }
  .library-grid { display: block; border-bottom: 0; }
  .library-pane { border-right: 0; border-bottom: 1px solid #c3d1d8; }
  .library-pane-list { height: auto; max-height: 260px; }
  .library-detail-body { height: auto; max-height: none; }
  .library-path { display: block; }
  .library-path > span { display: block; margin-top: 8px; text-align: left; }
  .library-alphabet { grid-template-columns: repeat(7,minmax(0,1fr)); }
  .library-az-grid { display: block; }
  .library-az-list-pane { border-right: 0; border-bottom: 1px solid #c3d1d8; }
  .library-az-list { height: auto; max-height: 310px; }
  .record-content { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .library-intro { padding-top: 24px; }
  .library-intro h1 { font-size: 35px; }
  .library-mobile-break { display: block; }
  .library-intro-grid > div > p:last-child { font-size: 14px; }
  .library-purpose { padding: 18px; }
  .library-modes { gap: 8px; }
  .library-modes a { display: block; min-height: 80px; padding: 12px; }
  .library-modes span { display: block; margin-bottom: 5px; }
  .library-modes strong { display: block; font-size: 15px; }
  .library-modes small { display: block; font-size: 11px; }
  .library-section { padding-bottom: 40px; }
  .library-pane > header h2 { font-size: 17px; }
  .library-brand-intro h3 { font-size: 23px; }
  .library-path { padding: 17px; }
  .record-hero { padding: 33px 25px; }
  .record-panel { padding: 23px; }
  .record-facts div { grid-template-columns: 80px 1fr; }
  .library-alphabet-head { display: block; padding: 22px 17px; }
  .library-alphabet-head h2 { font-size: 24px; }
  .library-alphabet-head > strong { display: block; margin-top: 13px; }
  .library-alphabet { grid-template-columns: repeat(7,minmax(0,1fr)); }
  .library-alphabet button { min-height: 47px; }
  .library-az-list-pane > header, .library-az-detail-pane > header { padding-inline: 16px; }
  .library-callout { display: block; padding: 25px; }
  .library-callout-actions { margin-top: 19px; }
}
@media (prefers-reduced-motion: reduce) { .library-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
