.smart-search{padding:0;width:min(800px,calc(100% - 32px));max-height:85svh;border:0;border-radius:12px;color:var(--ink);background:#fff;box-shadow:0 24px 80px #061f3b50;overflow:auto}.smart-search::backdrop{background:#082b46aa;backdrop-filter:blur(5px)}.smart-search-top{position:sticky;top:0;z-index:1;padding:32px 32px 16px;background:#fff}.smart-search .eyebrow{font-size:12px;margin-bottom:14px}.smart-search .eyebrow::before{content:none}.smart-search h2{font-family:var(--font-headline);font-size:34px;font-weight:600;line-height:1.2;letter-spacing:-.03em;margin:0 40px 24px 0}.smart-search-close{position:absolute;top:22px;right:24px;border:0;background:#f2f7fa;width:36px;height:36px;border-radius:50%;font-size:26px;line-height:1;color:var(--text)}.smart-search-input{display:flex;align-items:center;gap:14px;padding:0 16px;min-height:60px;border:1px solid #cadce8;border-radius:6px;background:#f7f9fb}.smart-search-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1772b815}.smart-search-input>svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:var(--blue);stroke-width:1.7}.smart-search-input input{width:100%;min-width:0;margin:0;padding:17px 0;border:0;background:transparent;font-size:17px;color:var(--ink);outline:0}.smart-search-input input::-webkit-search-cancel-button{display:none}.smart-search-clear{border:0;background:none;padding:4px;font-size:23px;color:var(--text)}.smart-search-clear[hidden]{display:none}.smart-search-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.smart-search-filters button{border:0;border-radius:5px;padding:8px 12px;background:#f2f7fa;font-size:14px;color:var(--text);font-weight:400}.smart-search-filters button[aria-pressed=true]{background:var(--blue);color:white}.smart-search-status{font-size:13px;color:var(--text);margin:18px 0 0;line-height:1.6}.smart-search-results{padding:0 32px 24px}.smart-search-result{display:flex;align-items:center;gap:24px;padding:22px 4px;border-bottom:1px solid #dae4eb;transition:background .2s}.smart-search-result:hover{background:#f7f9fb}.smart-search-result>div{flex:1;min-width:0}.smart-result-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px}.smart-result-meta>span{font-size:12px;color:#4b7f26;background:#eef6e8;border-radius:3px;padding:3px 7px;line-height:1.5}.smart-result-meta>small{font-size:13px;color:var(--text)}.smart-search-result h3{font-family:var(--font-headline);font-size:21px;font-weight:500;line-height:1.35;letter-spacing:-.02em;margin:0 0 8px;text-wrap:pretty}.smart-search-result:hover h3{color:var(--blue)}.smart-search-result p{font-size:15px;line-height:1.6;color:var(--text);margin:0;text-wrap:pretty}.smart-result-arrow{color:var(--blue);flex:0 0 30px}.smart-result-arrow .direction-icon{width:30px;height:30px;overflow:hidden;transform:none!important}.smart-search-result:is(:hover,:focus-visible) .arrow-head{animation:news-arrow-pass .55s cubic-bezier(.22,.61,.36,1) both}.smart-search-empty{padding:28px 0}.smart-search-empty h3{font-size:24px;font-weight:500;margin:0 0 14px}.smart-search-empty p{font-size:17px;line-height:1.6;color:var(--text)}.search-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){.smart-search{max-height:90svh;border-radius:8px}.smart-search-top{padding:26px 20px 14px}.smart-search h2{font-size:28px;margin-bottom:20px}.smart-search-close{right:16px;top:18px}.smart-search-input{gap:10px;padding-inline:12px}.smart-search-input input{font-size:16px}.smart-search-results{padding:0 20px 20px}.smart-search-result{gap:14px}.smart-search-result h3{font-size:20px}.smart-search-filters button{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.smart-search-result{transition:none}.smart-search-result .arrow-head{animation:none!important}}

/* Keep the close control anchored despite shared button positioning rules. */
.smart-search .smart-search-top>.smart-search-close{position:absolute;inset:22px 24px auto auto;left:auto;display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0;margin:0;transform:none;z-index:3;line-height:1}
.smart-search .smart-search-top>.smart-search-close::before,.smart-search .smart-search-top>.smart-search-close::after{content:none}
.smart-search .smart-search-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:760px){.smart-search .smart-search-top>.smart-search-close{inset:18px 16px auto auto}}

.smart-search .smart-search-top>.smart-search-close{position:absolute!important;left:auto!important;right:24px!important;top:22px!important;bottom:auto!important}
@media(max-width:760px){.smart-search .smart-search-top>.smart-search-close{right:16px!important;top:18px!important}}
