/* Search is discreet in the header and focused only when requested. */
.header .header-search{display:inline-grid;place-items:center;width:42px;height:42px;min-width:42px;padding:0;margin:0 1px 0 4px;border:0;background:transparent;color:#fff;cursor:pointer;transition:color .2s}
.header .header-search svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header .header-search:hover{color:var(--yellow,#ffd000)}
.header .header-search:focus-visible{outline:2px solid var(--yellow,#ffd000);outline-offset:2px;border-radius:50%}
.header nav .nav-search-mobile{display:none}
.site-search-dialog{position:fixed;inset:0;width:min(720px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:min(690px,calc(100dvh - 38px));margin:auto;padding:0;overflow:hidden;border:1px solid #456069;border-radius:16px;background:#142025;color:#fff;box-shadow:0 30px 90px #0009}
.site-search-dialog::backdrop{background:rgba(3,9,12,.74);backdrop-filter:blur(5px)}
.site-search-shell{display:flex;flex-direction:column;min-height:260px;max-height:min(690px,calc(100dvh - 38px))}
.site-search-top{padding:30px 30px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.site-search-top .site-search-kicker{margin:0 0 6px;font-size:11px;letter-spacing:.14em;font-weight:700;text-transform:uppercase;color:#ffd000}
.site-search-top h2{margin:0;font-size:clamp(22px,3vw,30px);line-height:1.1;letter-spacing:-.04em;font-weight:700;color:#fff}
.site-search-close{width:42px;height:42px;flex:none;display:grid;place-items:center;padding:0;border:1px solid #ffffff3b;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.site-search-close svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.site-search-close:hover{color:#ffd000;border-color:#ffd000}
.site-search-dialog form{padding:0 30px 20px;margin:0}
.site-search-field{display:flex;align-items:center;gap:13px;padding:0 16px;border:1px solid #647a7d;border-radius:7px;background:#213238;transition:border-color .16s}
.site-search-field:focus-within{border-color:#ffd000;box-shadow:0 0 0 1px #ffd000}
.site-search-field svg{width:21px;height:21px;flex:none;stroke:#bdd0d0;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.site-search-field input{font:inherit;font-size:17px;line-height:1.4;color:#fff;background:transparent;border:0;outline:0;width:100%;height:58px;min-width:0;border-radius:0;box-shadow:none}
.site-search-field input::placeholder{color:#b5c0c3;opacity:.9}
.site-search-results{padding:0 30px 20px;overflow-y:auto;overscroll-behavior:contain;flex:1}
.site-search-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-search-message{margin:12px 0 26px;font-size:15px;color:#c5d0d2;line-height:1.5}
.site-search-group{padding:12px 0 14px;border-top:1px solid #ffffff25}
.site-search-group-title{margin:0 0 8px;color:#ffd000;text-transform:uppercase;font-size:11px;letter-spacing:.12em;font-weight:700}
.site-search-result{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:12px 10px;border-radius:5px;color:#fff;text-decoration:none;transition:background .16s}
.site-search-result:hover,.site-search-result:focus-visible{background:#ffffff13;outline:1px solid #ffffff38}
.site-search-result-name{font-size:15px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.site-search-result-context{font-size:12px;color:#aebcc0;max-width:43%;text-align:right;line-height:1.4;overflow-wrap:anywhere}
.site-search-bottom{padding:12px 30px 18px;border-top:1px solid #ffffff22;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#9fadb0}
.site-search-bottom kbd{padding:3px 6px;border:1px solid #ffffff30;border-radius:4px;font:inherit}
@media(max-width:850px){
 .header .header-search{display:none}
 .header nav .nav-search-mobile{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:10px 0;border:0;background:transparent;color:#fff;text-align:left;font:inherit;font-weight:600;font-size:16px;cursor:pointer}
 .header nav .nav-search-mobile svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
 .header nav .nav-search-mobile:focus-visible{outline:2px solid #ffd000;outline-offset:2px}
}
@media(max-width:600px){
 .site-search-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}
 .site-search-shell{max-height:calc(100dvh - 20px)}
 .site-search-top{padding:24px 20px 18px}
 .site-search-dialog form{padding:0 20px 18px}
 .site-search-field input{height:55px;font-size:16px}
 .site-search-results{padding:0 20px 14px}
 .site-search-result{flex-direction:column;align-items:flex-start;gap:3px}
 .site-search-result-context{max-width:100%;text-align:left}
 .site-search-bottom{padding:12px 20px}
}
@media(prefers-reduced-motion:reduce){.header .header-search,.site-search-result,.site-search-field{transition:none}}
