/* One search field standard: header dialog, guide results, home and Interactive.
   Search routing, native submit buttons and dialog behavior remain theme-owned. */
body.up-editorial :is(.up-find,.up-home-question form){--up-search-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23005e99' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E")}
body.up-editorial .up-find{max-width:none;margin:0;padding:1.25rem;background:#edf5f8;border:1px solid #dce6ec;border-radius:16px;color:#102e40}
body.up-editorial .up-find label{display:block;margin:0 0 .65rem;font:800 .875rem/1.5 UpsentialHome,system-ui,sans-serif;color:#102e40}
body.up-editorial .up-find>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem}
body.up-editorial :is(.up-find,.up-home-question form) input[type=search]{box-sizing:border-box;width:100%;min-width:0;min-height:52px;margin:0;padding:.8rem 1rem .8rem 3rem!important;border:1px solid #bdd0db;border-radius:10px;background-color:#fff;background-image:var(--up-search-icon);background-repeat:no-repeat;background-position:1rem center;background-size:20px;color:#102e40;font:400 1rem/1.5 UpsentialHome,system-ui,sans-serif;box-shadow:none;transition:border-color .18s ease}
body.up-editorial :is(.up-find,.up-home-question form) input[type=search]::placeholder{color:#587181;opacity:1}
body.up-editorial :is(.up-find,.up-home-question form) input[type=search]:hover{border-color:#005e99}
body.up-editorial :is(.up-find,.up-home-question form) input[type=search]:focus{outline:3px solid #005e99!important;outline-offset:3px!important;border-color:#005e99;box-shadow:none!important}
body.up-editorial .up-search-dialog{width:min(calc(100% - 2rem),42rem);padding:clamp(1.25rem,4vw,2rem);border:1px solid #dce6ec;border-top:4px solid #ffb825;border-radius:24px;background:#fffdfa;box-shadow:0 24px 80px #102e403b}
body.up-editorial .up-search-dialog::backdrop{background:#102e4099}
body.up-editorial .up-search-dialog h2{margin:0 3rem 1.5rem 0;font:800 clamp(1.65rem,4vw,2rem)/1.2 UpsentialHome,system-ui,sans-serif;letter-spacing:-.025em;color:#102e40}
body.up-editorial .up-search-dialog h2::after{content:'';display:block;width:3.5rem;height:.25rem;margin-top:.8rem;border-radius:1rem;background:#ffb825}
body.up-editorial :is(.up-search-dismiss button,.upi-search-clear){box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#edf5f8;color:#102e40;line-height:1;cursor:pointer;box-shadow:none;transition:background-color .18s ease;transform:none}
body.up-editorial :is(.up-search-dismiss button,.upi-search-clear):hover{background:#ffedbc;color:#102e40}
body.up-editorial :is(.up-search-dismiss button,.upi-search-clear):focus-visible{outline:3px solid #005e99;outline-offset:3px}
body.up-editorial :is(.up-search-dismiss button,.upi-search-clear) svg{display:block;pointer-events:none}
body.up-editorial .upi-search-clear[hidden]{display:none!important}
@media(max-width:540px){body.up-editorial .up-find{padding:1rem}body.up-editorial .up-find>div{grid-template-columns:minmax(0,1fr)}body.up-editorial .up-find>div>.up-button{justify-self:start}body.up-editorial .up-search-dialog{border-radius:18px}}
@media(prefers-reduced-motion:reduce){body.up-editorial :is(.up-find,.up-home-question form) input[type=search],body.up-editorial :is(.up-search-dismiss button,.upi-search-clear){transition:none}}
