/* UI2: existing public shell only. No theme/background replacement. */
body section.wl-cookie-panel {
  height:auto; min-height:0; top:auto; margin:0 0 0 auto;
  width:min(580px,calc(100% - 32px)); max-width:580px;
  max-height:calc(100dvh - 24px); right:16px; left:auto;
  bottom:max(12px,env(safe-area-inset-bottom)); overflow:auto;
  border-color:#575044; border-radius:3px; box-shadow:0 8px 36px #0005;
}
/* .press is black text on ivory; the existing header blends by difference.
   Its logo/burger use white, but search inherited black (zero difference). */
body.press .header #wl-search-trigger { color:#fff; }
body.press .header #wl-search-trigger:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.menu-wrap > :is(.menu,.menu-f) { position:relative; top:auto; left:auto; transform:none; width:100%; height:auto; min-height:100%; }
.menu-wrap > :is(.menu,.menu-f) > nav { box-sizing:border-box; display:flex; align-items:center; min-height:100dvh; padding:max(80px,10vh) 0 max(32px,5vh); }
.menu-wrap > :is(.menu,.menu-f) > nav > ul { position:relative; top:auto; left:auto; transform:none; width:min(90vw,1100px); margin:auto; }
html[data-wl-overlay] .menu-wrap,body .menu-wrap { overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; }
.menu-wrap > :is(.menu,.menu-f) > nav > ul > li > a { white-space:normal; overflow-wrap:break-word; }
.menu-wrap > :is(.menu,.menu-f) > nav > ul > li > a[aria-current="page"] { text-underline-offset:.18em; text-decoration:underline; text-decoration-thickness:1px; }
.wl-choice .wl-choice__chevron { transition:transform .18s ease; }
html.ui2-menu-locked { scrollbar-gutter:stable; overflow:hidden; }
html.ui2-menu-locked body { overflow:hidden; }
@media(max-width:480px) {
  body section.wl-cookie-panel { left:8px; right:8px; width:auto; padding:14px; }
}
@media(prefers-reduced-motion:reduce) {
  .wl-choice .wl-choice__chevron { transition:none; }
}
