/* [scf_search_icon]: header search icon and its overlay. */
.scf-search-icon{display:inline-flex;align-items:center}
.scf-search-open{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.scf-search-open:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.scf-search-open:focus-visible,.scf-search-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.scf-search-layer{position:fixed;inset:0;z-index:100000;display:block}
.scf-search-layer[hidden]{display:none}
.scf-search-backdrop{position:absolute;inset:0;background:rgba(15,15,15,.55)}
.scf-search-panel{position:relative;display:block;box-sizing:border-box;width:calc(100% - 32px);max-width:var(--theme-normal-container-max-width,1290px);margin:max(16px,env(safe-area-inset-top,0px)) auto 0;padding:20px 24px 24px;border-radius:12px;background:var(--theme-palette-color-8,#fff);color:var(--theme-text-color,#1a1a1a);box-shadow:0 12px 40px rgba(0,0,0,.25);max-height:calc(100vh - 32px);overflow:auto}
.scf-search-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.scf-search-title{font-size:18px;font-weight:600}
.scf-search-close{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.scf-search-close:hover{background:rgba(0,0,0,.06)}
.scf-search-panel .scf-quick{margin:0}
html.scf-search-on,html.scf-search-on body{overflow:hidden}
@media (max-width:600px){.scf-search-panel{padding:16px}.scf-search-title{font-size:16px}}
@media (prefers-reduced-motion:no-preference){.scf-search-layer:not([hidden]) .scf-search-panel{animation:scf-search-in .16s ease-out}}
@keyframes scf-search-in{from{transform:translateY(-8px);opacity:0}to{transform:none;opacity:1}}
/* Inside the overlay the line spans the panel, and its list sits in the panel
   (the panel scrolls) instead of floating out of it and being cut off. */
.scf-search-panel .scf-quick{max-width:none;width:100%}
.scf-search-panel .scf-quick-pop{position:static;margin-top:8px;box-shadow:none}
/* The field's clear button centres on the field, which now holds the list too:
   keep it level with the input (56px tall, see quick-search.css). */
.scf-search-panel .scf-quick .scf-quick-clear{top:28px}
