/* Search opens directly beneath the floating header on desktop and mobile. */
#search-dialog{position:fixed;inset:auto;margin:0;box-sizing:border-box;max-width:calc(100vw - 16px);padding:22px;background:#fff;color:#183455;border:1px solid #e1e8f1;border-radius:26px;box-shadow:0 14px 48px #10274624;z-index:75;overflow:auto;transform-origin:top center;overscroll-behavior:contain}#search-dialog header{margin-bottom:16px;gap:16px}#search-dialog h2{font-size:20px;letter-spacing:-.025em}#search-dialog header button{flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#f1f5fa;color:#183455;display:grid;place-items:center;line-height:1;padding:0}#search-dialog label{font-size:12px;color:#657e9b;margin-bottom:8px}#search-dialog input{display:block;box-sizing:border-box;width:100%;min-height:52px;border:1px solid #d5e1f0;border-radius:999px;background:#f7f9fc;color:#183455;padding:14px 20px;font-size:16px;outline-offset:3px}#search-results{margin-top:14px;max-height:min(370px,max(60px,calc(var(--search-available,600px) - 175px)));overflow-y:auto;overscroll-behavior:contain}#search-results>a{padding:12px 4px;grid-template-columns:58px 1fr auto;gap:14px;border-color:#e8edf4;border-radius:12px}#search-results>a:hover{background:#f4f7fc}#search-results img{width:58px;height:58px;object-fit:contain;border-radius:12px;background:#f5f1eb}#search-results a:focus-visible{outline:2px solid #4285f4;outline-offset:-2px}@media(max-width:767px){#search-dialog{padding:18px;border-radius:23px}#search-dialog h2{font-size:18px}#search-dialog header{margin-bottom:12px}#search-results>a{font-size:11px;grid-template-columns:48px 1fr auto;gap:10px}#search-results img{width:48px;height:48px}}@media(prefers-reduced-motion:reduce){#search-dialog{scroll-behavior:auto}}
