/* Keep navigation reachable on tablets, landscape phones and with the keyboard open. */
@media (max-width:980px) {
  .site-header .header-inner, .site-header.is-open .header-inner { height:72px; min-height:72px; padding-block:0; width:calc(100% - 32px); gap:12px; flex-wrap:nowrap; }
  .site-header .brand-link { order:0; min-width:0; }
  .site-header .brand-logo { width:clamp(112px,22vw,172px); height:40px; }
  .site-header .portal-dropdown { order:1; }
  .site-header .portal-button { min-height:44px; padding:9px 12px; font-size:12px; }
  .site-header .mobile-toggle { order:2; display:flex; flex:0 0 44px; width:44px; height:44px; align-items:center; justify-content:center; flex-direction:column; gap:5px; background:#ffffff0a; border:1px solid #637794; border-radius:10px; }
  .site-header .mobile-toggle>span { width:18px; height:2px; background:#dce8fa; }
  .site-header .main-nav { display:none; position:absolute; top:100%; left:0; right:0; width:100%; max-height:calc(100dvh - 72px); overflow-y:auto; overscroll-behavior:contain; padding:12px 20px max(16px,env(safe-area-inset-bottom)); flex-direction:column; align-items:stretch; gap:0; background:#0d1d34; border-top:1px solid #435470; box-shadow:0 14px 24px #07132333; }
  .site-header.is-open .main-nav { display:flex; }
  .site-header .main-nav>a, .site-header .main-nav>.nav-dropdown>summary { min-height:48px; display:flex; align-items:center; padding:12px 8px; font-size:16px; color:#e8effa; }
  .site-header .product-menu { position:static; width:100%; margin:0 0 8px; box-shadow:none; background:#182e4c; border-color:#405572; }
  .site-header .product-menu strong { color:#fff; }
  .site-header .product-menu small { color:#c2d2e8; }
  .site-header .product-menu>a:hover { background:#284366; }
  .site-header .portal-menu { position:fixed; top:80px; left:16px; right:16px; width:auto; max-height:calc(100dvh - 96px); overflow-y:auto; overscroll-behavior:contain; }
}
@media (max-width:700px) {
  .site-assistant-launcher { width:76px; height:106px; right:8px; bottom:max(10px,env(safe-area-inset-bottom)); }
  .site-assistant-launcher>svg { width:58px; height:87px; }
  .site-assistant-label { font-size:10px; padding:3px 6px; }
  .site-assistant-hint { display:none; }
  .assistant-tour-slot { height:116px; }
  body:has(input:focus,textarea:focus,select:focus) .site-assistant-launcher { visibility:hidden; }
  input,select,textarea { font-size:16px; }
  .site-assistant form input { font-size:16px; }
}
