.site-search { position:relative; line-height:1.4; }
.site-search [hidden] { display:none !important; }
.site-search-toggle { display:inline-flex; align-items:center; gap:5px; border:0; padding:3px 0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.site-search-form { display:flex; align-items:center; width:320px; max-width:calc(100vw - 40px); height:30px; position:relative; background:#fff; border:1px solid #0558ee; border-radius:6px; }
.site-search-form input { width:100%; min-width:0; height:100%; border:0; padding:4px 30px 4px 10px; border-radius:6px; background:transparent; color:#1a1c1b; font:inherit; font-size:12px; outline:none; }
.site-search-form:focus-within { outline:2px solid #0558ee; outline-offset:1px; }
.site-search-close { position:absolute; right:4px; top:2px; width:24px; height:24px; padding:0; border:0; background:transparent; color:#374151; font-size:20px; cursor:pointer; }
.site-search-results { position:absolute; top:calc(100% + 5px); right:0; width:400px; max-width:calc(100vw - 24px); max-height:min(440px,65vh); overflow-y:auto; background:#fff; color:#1a1c1b; border:1px solid #dce4f1; border-radius:10px; padding:6px; box-shadow:0 12px 32px #0f172a26; z-index:100; }
.utility-actions .site-search-results a { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:10px 12px; border-radius:6px; white-space:normal; }
.site-search-results strong { font-size:13px; font-weight:600; }
.site-search-results small { font-size:11px; color:#64748b; }
.site-search-results a:hover,.site-search-results a[aria-selected="true"] { background:#edf4ff; color:#0558ee; }
.site-search-results p { margin:0; padding:12px; font-size:12px; }
.site-search-status { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:600px) { .utility { gap:12px; } .utility > span:first-child { flex-shrink:0; font-size:10px; } .utility-actions { min-width:0; } .site-search { max-width:100%; } .site-search-form { width:220px; max-width:100%; } }
/* Keep search on the utility row, with only an underline around the input. */
.utility-actions .site-search { display:flex; align-items:center; height:30px; }
.utility-actions .site-search-toggle { display:inline-flex; align-items:center; justify-content:center; width:auto; height:28px; padding:0; }
.utility-actions .site-search .site-search-form { display:flex; align-items:center; margin:0; padding:0; height:28px; min-height:0; width:260px; max-width:100%; background:transparent; border:0; border-bottom:1px solid currentColor; border-radius:0; box-shadow:none; outline:none; }
.utility-actions .site-search .site-search-form:focus-within { border-bottom-color:#0558ee; outline:none; }
.utility-actions .site-search .site-search-form input { height:27px; margin:0; padding:2px 28px 2px 0; border:0; border-radius:0; box-shadow:none; background:transparent; color:inherit; outline:none; font-size:12px; }
.utility-actions .site-search input::placeholder { color:inherit; opacity:.65; }
.utility-actions .site-search input::-webkit-search-cancel-button { display:none; }
.utility-actions .site-search .site-search-close { display:flex; align-items:center; justify-content:center; right:0; top:0; width:26px; height:27px; padding:0; background:transparent; border:0; border-radius:0; color:inherit; }
.utility-actions .site-search [hidden] { display:none !important; }
.site-search-toggle:focus-visible,.site-search-close:focus-visible { outline:1px solid currentColor; outline-offset:2px; }
@media(max-width:600px) { .utility-actions .site-search .site-search-form { width:150px; } }
.utility-actions .site-search input[type="search"] { appearance:none; -webkit-appearance:none; background-image:none; }
.utility-actions .site-search input::-webkit-search-decoration,
.utility-actions .site-search input::-webkit-search-results-button,
.utility-actions .site-search input::-webkit-search-results-decoration { display:none; -webkit-appearance:none; }