/* the docs search in the new header (Jman 30 Nov: "docs is missing the search bar"). docnav.js runs it; this
   is the old bar's search box in the website's style: square, flat, Inter. */
.hsearch{flex:0 1 300px;min-width:170px;position:relative;font-family:"Inter",system-ui,sans-serif}
.hsearch .a3n-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hsearch .a3n-search{position:relative;margin:0}
.hsearch input{width:100%;height:38px;margin:0;padding:0 34px 0 36px;box-sizing:border-box;font:400 14px/1 "Inter",system-ui,sans-serif;color:#fff;background:#1c2125;border:1px solid #3a4248;border-radius:0;-webkit-appearance:none;appearance:none}
.hsearch input::placeholder{color:#8794a0;opacity:1}
.hsearch input::-webkit-search-cancel-button{-webkit-appearance:none}
.hsearch input:focus{outline:none;border-color:#f2a541}
.hsearch .a3n-glass{position:absolute;z-index:1;left:13px;top:50%;width:11px;height:11px;margin-top:-7px;border:1.5px solid #8794a0;border-radius:50%;pointer-events:none}
.hsearch .a3n-glass::after{content:"";position:absolute;width:1.5px;height:5px;background:#8794a0;right:-3px;bottom:-4px;transform:rotate(-45deg)}
.hsearch .a3n-key{position:absolute;right:9px;top:50%;transform:translateY(-50%);font:500 12px/1 "Inter",system-ui,sans-serif;color:#8794a0;border:1px solid #3a4248;padding:3px 6px;pointer-events:none}
.hsearch .a3n-search.a3n-typing .a3n-key{display:none}
.hsearch .a3n-results{position:absolute;top:calc(100% + 8px);right:0;width:max(100%,min(560px,calc(100vw - 32px)));max-height:min(70vh,620px);overflow:auto;overscroll-behavior:contain;background:#1c2125;border:1px solid #3a4248;padding:8px;z-index:70;box-shadow:0 14px 34px rgba(0,0,0,.5)}
.hsearch .a3n-results[hidden],.hsearch .a3n-opts[hidden],.hsearch .a3n-foot[hidden]{display:none}
.hsearch .a3n-status-row{display:flex;align-items:center;gap:8px;padding:2px 2px 2px 12px}
.hsearch .a3n-status{flex:1 1 auto;padding:8px 0 6px;font:500 12px/1.3 "Inter",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#3a6872}
.hsearch .a3n-status.a3n-msg{font:400 14px/1.45 "Inter",system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#fff}
.hsearch .a3n-close{flex:none;width:32px;height:32px;padding:0;border:0;background:none;color:#8794a0;font:400 22px/1 "Inter",system-ui,sans-serif;cursor:pointer}
.hsearch .a3n-close:hover{color:#f2a541}
.hsearch .a3n-hit{display:block;padding:12px;border:1px solid transparent;color:#fff;text-decoration:none;cursor:pointer}
.hsearch .a3n-hit+.a3n-hit{border-top-color:#2c3338}
.hsearch .a3n-hit:hover,.hsearch .a3n-hit.a3n-active{background:#20262b;border-color:#3a4248}
.hsearch .a3n-hit-top{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.hsearch .a3n-hit-page{font:500 15px/1.25 "Saira",system-ui,sans-serif;text-transform:uppercase}
.hsearch .a3n-hit:hover .a3n-hit-page,.hsearch .a3n-hit.a3n-active .a3n-hit-page{color:#f2a541}
.hsearch .a3n-hit-fam{font:500 12px/1 "Inter",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#3a6872}
.hsearch .a3n-hit-key{font:500 12px/1 "Inter",system-ui,sans-serif;color:#8794a0}
.hsearch .a3n-hit-sec{display:block;margin-top:4px;font-size:13px;color:#f2a541}
.hsearch .a3n-hit-snip{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.78)}
.hsearch .a3n-hit mark{background:rgba(242,165,65,.28);color:#fff;padding:0 1px}
.hsearch .a3n-foot{display:flex;gap:14px;flex-wrap:wrap;padding:8px 12px 4px;margin-top:4px;border-top:1px solid #2c3338;font:500 12px/1.3 "Inter",system-ui,sans-serif;color:#8794a0}
mark.a3n-found{background:rgba(242,165,65,.4);color:inherit;box-shadow:0 0 0 3px rgba(242,165,65,.4)}
@media (max-width:1360px){.hsearch{margin-left:auto;flex-basis:320px}}
@media (max-width:760px){.hsearch{min-width:0;flex:1 1 auto}.hsearch .a3n-key{display:none}.hsearch input{font-size:16px}}
@media (hover:none),(pointer:coarse){.hsearch .a3n-key,.hsearch .a3n-foot{display:none!important}}
/* semi-transparent box over the header image (Jman 30 Nov); the results panel stays solid so hits stay readable */
.hsearch input{background:rgba(20,24,27,.45);border-color:rgba(255,255,255,.22);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hsearch input:focus{background:rgba(20,24,27,.7)}
/* F621: z-index on the magnifier above lifts it over the input's backdrop blur at every width.
   F620: on a narrow phone the box is only a little wider than its icon; the placeholder would show as a stray
   letter or two, so the box shows just the magnifier until you type */
@media (max-width:480px){.hsearch input{padding:0 8px 0 30px}.hsearch input::placeholder{color:transparent}.hsearch .a3n-glass{left:11px}}
