@font-face { font-family:"Roboto Condensed"; src:url("/assets/fonts/roboto-condensed-400.woff2") format("woff2"); font-weight:400; font-display:swap }
@font-face { font-family:"Roboto Condensed"; src:url("/assets/fonts/roboto-condensed-600.woff2") format("woff2"); font-weight:600; font-display:swap }
@font-face { font-family:"Roboto Condensed"; src:url("/assets/fonts/roboto-condensed-700.woff2") format("woff2"); font-weight:700; font-display:swap }
body { min-height:100vh; display:flex; flex-direction:column; }
main { flex:1; min-width:0; }
html { scroll-padding-block-start:calc(var(--library-utility-height,52px) + .75rem); }
whml-visitor-header.institutional-masthead { display:contents; position:static !important; }
.library-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem .65rem; }
.masthead .library-actions .account-button { display:inline-flex; }
.masthead .library-corporate-action { display:grid; inline-size:max-content; margin:0; padding:0; }
.masthead .library-corporate-action .desktop-search {
  min-block-size:46px; padding:0 .65rem; white-space:nowrap;
}
@media (max-width:800px), (max-width:960px) and (max-height:500px) and (pointer:coarse) {
  .masthead .library-corporate-action { inline-size:44px; }
  .masthead .library-corporate-action .desktop-search {
    inline-size:44px; block-size:44px; min-block-size:44px;
    display:grid; place-items:center; padding:0; border:1px solid #385469;
  }
  .masthead .library-corporate-action .desktop-search > span { display:none; }
  .masthead .library-corporate-action .desktop-search > svg { display:block; inline-size:18px; block-size:18px; }
  .masthead .library-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:.4rem; }
  .masthead .library-actions :is(.donate-button,.account-button) {
    display:flex; align-items:center; justify-content:center; min-inline-size:0; min-block-size:44px;
    margin:0; padding:.25rem .35rem; text-align:center; line-height:1.2;
    font-size:clamp(.78rem,3.6vw,.9rem); white-space:normal; overflow-wrap:anywhere;
  }
}
@media (max-width:640px), (max-width:960px) and (max-height:500px) and (pointer:coarse) {
  .masthead .language-picker-flags { inline-size:44px; min-inline-size:44px; }
  .masthead .language-picker-flags summary { display:grid; place-items:center; min-block-size:44px; padding:0; }
  .masthead .language-picker-flags :is(.language-trigger-label,.language-chevron) { display:none; }
  .masthead .language-picker-flags .language-options {
    inset-inline-start:auto; inset-inline-end:0; inline-size:min(15rem,calc(100vw - 24px));
  }
}
.library-assistant {
  display:inline-flex; align-items:center; gap:.4rem; min-height:44px;
  max-inline-size:100%; padding:.35rem .65rem; border:1px solid #66869a; border-radius:.2rem;
  color:#fff; line-height:1.25; overflow-wrap:anywhere;
}
.library-assistant:hover { text-decoration:underline; }
html[data-whml-theme="dark"] #site-search {
  --ink:#e5eff5; --muted:#b6cbd8; --line:#345061; --blue:#72c7ff; --blue-deep:#8dd2ff;
  background:rgba(14,35,49,.94); color:var(--ink); color-scheme:dark; backdrop-filter:blur(14px);
}
html[data-whml-theme="dark"] #site-search .search-field { background:#112937; border-color:var(--line); }
html[data-whml-theme="dark"] #site-search input::placeholder { color:var(--muted); opacity:1; }
html[data-whml-theme="dark"] #site-search .search-result { border-color:var(--line); }
html[data-whml-theme="dark"] #site-search .search-result small { color:var(--muted); }
html[data-whml-theme="dark"] #site-search .search-result:hover { background:#203e50; }
.library-navigation { background:#081e2d; color:white; }
.library-navigation :is(nav,button) { margin-inline:auto; }
#library-toggle, #library-nav a {
  display:inline-flex; align-items:center; min-height:44px; padding:.45rem .7rem; color:white;
}
#library-toggle { border:1px solid #4c687b; background:transparent; }
:is(whml-visitor-header,.library-navigation) :is(a, summary, button):focus-visible { outline:3px solid #ffd17d; outline-offset:2px; }
#library-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:.15rem .5rem; border-top:1px solid #385469; }
#library-nav a { margin-block:2px; }
#library-nav a[aria-current], #library-nav a:hover { text-decoration:underline; text-underline-offset:.4em; }
#library-toggle { display:none; min-height:44px; }
.library-intro { border-block-end:1px solid var(--line); background:var(--ice); padding-block:clamp(2.5rem,5vw,5rem); }
.library-intro h1 { font-size:clamp(2.45rem,5vw,4.8rem); overflow-wrap:anywhere; }
.library-content { padding-block:clamp(2rem,4vw,4rem) clamp(3rem,6vw,6rem); }
.library-content form, .library-content>p { max-inline-size:66ch; }
.library-content>.text-link { margin-inline-end:1rem; }
.library-opening { margin-block-end:2rem; }
.library-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.library-grid a { display:flex; padding:1.25rem; gap:.6rem; justify-content:space-between; border-block-start:2px solid var(--blue); background:white; }
.library-grid h2 { font-size:clamp(1.3rem,2.15vw,2rem); }
.library-grid a:hover { text-decoration:underline; text-underline-offset:4px; }
.library-grid a>span { color:var(--blue-deep); }
.library-notice { padding:1rem 1.15rem; background:var(--ice); border-inline-start:3px solid var(--blue); margin-block:0 1.25rem; }
.library-fixture { margin-block-end:1rem; font-weight:700; }
.library-results { list-style:none; padding:0; margin-block:1rem; }
.library-results li { border-block-end:1px solid var(--line); }
.library-buttons, .library-search { display:flex; flex-wrap:wrap; gap:1rem; align-items:flex-end; margin-block-end:1.25rem; }
.library-search label { color:var(--ink); min-width:0; flex:1 1 11rem; font-weight:600; }
.library-search :is(input,select) { display:block; width:100%; min-width:0; min-height:53px; border:1px solid #adc4d4; background:#fff; color:var(--ink); padding:.55rem; margin-block-start:.25rem; }
.library-content>.button { margin-inline-end:1rem; margin-block-end:1rem; }
@media(max-width:760px) {
  .library-intro>.container, .library-content { width:calc(100% - 36px); }
  .library-grid { grid-template-columns:1fr; gap:.85rem; }
  #library-toggle { display:inline-flex; align-items:center; gap:.4em; }
  #library-nav:not(.is-open) { display:none; }
  #library-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  #library-nav a, .library-actions a { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .button { transition:none; } }
