/* Compact desktop header search (Nov 11 2026). Hidden under the 800px nav breakpoint and on the homepage (the script does not inject it there). Does not change header height. */
.hs-head{display:none}
@media (min-width:800px){
  .head-in:has(.hs-head){justify-content:flex-start}
  .head-in:has(.hs-head) #site-nav{margin-left:auto;flex:none}
  .hs-head{display:flex;align-items:center;flex:none;position:relative;z-index:60;margin-left:10px}
  .hs-head-field{display:flex;align-items:center;gap:6px;width:200px;height:36px;padding:0 10px 0 12px;background:#fff;border:0;border-radius:999px;box-shadow:inset 0 0 0 1.5px #e7e3ef}
  .hs-head-field:focus-within{box-shadow:inset 0 0 0 2px #7b4fd6,0 0 0 3px #efe8fc}
  .hs-head-i{flex:none;width:16px;height:16px;color:#8455B8}
  .hs-head input[type=search]{flex:1;min-width:0;width:100%;height:100%;border:0;background:transparent;padding:0;color:#12132E;font:600 13px Inter,system-ui,sans-serif;letter-spacing:-.01em;-webkit-appearance:none;appearance:none}
  .hs-head input[type=search]::placeholder{color:#5d5970;font-weight:500}
  .hs-head input[type=search]::-webkit-search-cancel-button{display:none}
  .hs-head input[type=search]:focus,.hs-head input[type=search]:focus-visible{outline:none}
  .hs-head-list{position:absolute;top:calc(100% + 8px);right:0;left:auto;width:min(360px,70vw);max-height:min(420px,70vh);overflow-y:auto;list-style:none;margin:0;padding:6px;background:#fff;border-radius:14px;box-shadow:0 18px 40px rgba(18,19,46,.28);z-index:61}
  .hs-head-list[hidden]{display:none}
  .hs-head-list [role=option]{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;cursor:pointer;color:#12132E;min-height:44px}
  .hs-head-list [role=option]:hover,.hs-head-list [aria-selected=true]{background:#f3ecfb}
  .hs-head-list [aria-selected=true]{box-shadow:inset 3px 0 0 #D1338F}
  .hs-head-logo{width:28px;height:28px;border-radius:8px;border:1px solid #eee9f4;display:grid;place-items:center;flex:none;background:#fff}
  .hs-head-logo img{width:18px;height:18px;object-fit:contain}
  .hs-head-logo--link{color:#8455B8;font-weight:700;font-size:.85rem}
  .hs-head-txt{flex:1;min-width:0}
  .hs-head-txt b{display:block;font:700 .85rem/1.25 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hs-head-txt small{display:block;color:#8A8597;font:500 .72rem/1.3 Inter,system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hs-head-none{padding:12px 10px;color:#5D5970;font:500 .85rem Inter,system-ui,sans-serif}
  .hs-head-btn{display:none;align-items:center;justify-content:center;flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#fff;cursor:pointer}
  .hs-head-btn:hover,.hs-head-btn:focus-visible{background:#ffffff14}
  .hs-head-btn:focus-visible{outline:2px solid #F2B33D;outline-offset:2px}
  .hs-head-btn svg{width:18px;height:18px}
  .hs-head.is-icon .hs-head-field,.hs-head.is-narrow .hs-head-field{display:none;position:absolute;right:40px;top:50%;transform:translateY(-50%);width:220px}
  .hs-head.is-icon .hs-head-btn,.hs-head.is-narrow .hs-head-btn{display:inline-flex}
  .hs-head.is-icon.is-open .hs-head-field,.hs-head.is-narrow.is-open .hs-head-field{display:flex}
}
@media (min-width:800px) and (max-width:1099px){
  .hs-head{/* icon mode so the nav still fits */ }
  .hs-head:not(.is-icon){/* treat as narrow */}
  .hs-head:not(.is-icon) .hs-head-field{display:none;position:absolute;right:40px;top:50%;transform:translateY(-50%);width:220px}
  .hs-head:not(.is-icon) .hs-head-btn{display:inline-flex}
  .hs-head:not(.is-icon).is-open .hs-head-field{display:flex}
}
@media (max-width:799px){
  .hs-head{display:none!important}
}
