/* Public navigation and authentication use the same window palette as the account. */
body .elmus-flyout:is(.ency-toc-panel,.library-contents,.news-panel){
  --overlay-surface:linear-gradient(145deg,#1b2d39,#111f29 66%);
  --overlay-border:#ad956568
}
body .elmus-flyout :is(.ency-toc-head,.site-search-head,.library-contents-heading){
  background:linear-gradient(135deg,#1c303c,#152833);
  border-bottom-color:#d7bb8738
}
body .elmus-flyout :is(.ency-toc-head,.site-search-head,.library-contents-heading) h2{
  color:#f2e3c6;line-height:1.2
}
body .elmus-flyout :is(.site-search-result,.ency-bookmarks-row,.home-latest-card){
  border-color:#ad956548;background:#0c1c2680
}
body .elmus-flyout :is(.site-search-result,.ency-bookmarks-row,.home-latest-card):hover{
  border-color:#d7bb8775;background:#213743
}
body .elmus-flyout :is(.ency-search,.library-contents-heading label){background:#0b1821;border-color:#a79d8352}
body .elmus-flyout .contents-tree-label:hover{background:#d7bb8717;color:#fff0d3}
body #auth-dialog{
  --overlay-surface:linear-gradient(145deg,#1c303c,#111f29 68%);
  --overlay-border:#ad956584;
  max-height:calc(100dvh - 24px);overscroll-behavior:contain;
  padding:clamp(21px,5vw,34px);padding-top:39px;border-radius:18px
}
body #auth-dialog .eyebrow{margin:0 0 7px;color:#d7bb87;font-size:10px;letter-spacing:.18em}
body #auth-dialog h2{font-size:clamp(28px,7vw,36px)}
body #auth-dialog .auth-intro:empty,body #auth-dialog .auth-message:empty{display:none}
body #auth-dialog input:not([type=checkbox]){min-height:45px;border-color:#a79d8352;border-radius:8px;background:#0b1821}
body #auth-dialog .auth-password-control button{width:34px;height:34px;border-color:#a997774c;border-radius:7px}
body #auth-dialog .auth-password-control button svg{width:18px;height:18px}
body #auth-dialog .auth-submit{min-height:44px;border-color:#dfc18b;background:linear-gradient(145deg,#e3c891,#bd995f);color:#141c20}
body #auth-dialog .auth-submit:hover:not(:disabled){background:#efdaae}
body #auth-dialog .auth-actions{
  gap:8px;flex-direction:row;align-items:center;flex-wrap:wrap;margin-top:13px
}
body #auth-dialog .auth-actions button{
  min-height:37px;padding:7px 10px;border:1px solid #cdb78952;border-radius:8px;text-decoration:none;text-align:left
}
body #auth-dialog .auth-actions button:hover{background:#cdb78917}
@media(max-width:900px){
  body .site-header .site-nav{
    background:radial-gradient(ellipse at 90% 0,#42534359,transparent 45%),linear-gradient(155deg,#1a2d39,#111f29 70%)
  }
  .mobile-menu-account{border-color:#d7bb877a;border-radius:14px;background:linear-gradient(125deg,#304238,#233542 72%)}
  .mobile-menu-search{border-radius:9px}
  .mobile-menu-close{border-radius:9px}
}
