/* Glass belongs to the controls. Results retain a quiet, readable surface. */
:root{--search-ink:#26343b;--search-muted:#5c6b72;--search-edge:#8a9ca43b;--search-ease:cubic-bezier(.2,.8,.2,1)}
body .ds-search-surface{position:relative;isolation:isolate;box-sizing:border-box;padding:18px 20px;border:1px solid #fff;border-radius:20px;background:#f4f6f5;color:var(--search-ink);box-shadow:inset 0 1px 0 #fff,0 6px 24px #26343b08;transition:border-color .25s,box-shadow .25s}
@supports(backdrop-filter:blur(1px)){body .ds-search-surface{background:linear-gradient(120deg,#ffffffc7,#e7edf0a3 72%,#f7f1e8ba);backdrop-filter:blur(20px) saturate(1.08);-webkit-backdrop-filter:blur(20px) saturate(1.08)}}
body .ds-search-surface:focus-within{border-color:#b2c1c9;box-shadow:inset 0 1px 0 #fff,0 8px 28px #26343b12}
body .ds-search-field{position:relative;display:block;min-width:0;margin:0;isolation:isolate}
body .ds-search-field::before{content:'';position:absolute;z-index:2;left:17px;top:50%;width:17px;height:17px;transform:translateY(-50%);background:var(--search-muted);pointer-events:none;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='m16 16 5 5' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:background .2s,transform .25s}
body .ds-search-field:focus-within::before{background:#294d61;transform:translateY(-50%) scale(1.06)}
body .ds-search-field .ds-search-input{appearance:none;box-sizing:border-box;width:100%;min-width:0;min-height:50px;margin:0;padding:12px 48px 12px 44px;border:1px solid #8b9da247;border-radius:13px;background:#ffffffc9;color:var(--search-ink);font:400 14px/1.45 Schibsted,Arial,sans-serif;letter-spacing:0;box-shadow:inset 0 1px 4px #24374606;transition:border-color .2s,box-shadow .2s,background .2s}
body .ds-search-field .ds-search-input::placeholder{color:#62737c;opacity:1}
body .ds-search-field .ds-search-input:focus{outline:2px solid #537b91;outline-offset:3px;border-color:#668ba0;background:#fff}
body .ds-search-input::-webkit-search-cancel-button{appearance:none}
body .ds-search-field .ds-search-clear{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#405963;font:400 21px/1 Schibsted,Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
body .ds-search-clear:hover{background:#dbe5ea;color:#172f3a}body .ds-search-clear[hidden]{display:none!important}
body .ds-search-clear:focus-visible{outline:2px solid #537b91;outline-offset:1px}
body .ds-search-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin:14px 0;color:var(--search-muted);font:400 12px/1.6 Schibsted,Arial,sans-serif}
body .ds-search-count{font-variant-numeric:tabular-nums;color:#354b56;font-weight:500}
body mark.ds-search-match{padding:1px 0;border-radius:3px;color:inherit;background:#d2e3ec;box-shadow:0 0 0 2px #d2e3ec;font-weight:600}
body .ds-search-empty{padding:34px 24px;border:1px dashed #9aabb46b;border-radius:16px;background:#f8f9f6;color:#52666f;text-align:center;font-size:14px;line-height:1.65}
body .ds-search-empty p{margin:0 0 15px}body .ds-search-empty button{min-height:42px}
body .ds-search-option{box-sizing:border-box;position:relative;padding:14px 17px;border:1px solid transparent;border-radius:12px;cursor:pointer;transition:background .18s,border-color .18s,box-shadow .18s}
body .ds-search-option:hover{background:#f9fbf9;border-color:#9bafb64a}
body .ds-search-option[aria-selected=true]{background:#e2edf0;color:#203e4c;border-color:#96adb86b;box-shadow:inset 0 1px 0 #ffffffd9,0 2px 8px #1a39420a}
body dialog.sc-dialog.ds-search-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:min(720px,calc(100dvh - 48px));margin:auto;padding:0;border:1px solid #ffffffeb;border-radius:24px;background:#f2f5f4;color:var(--search-ink);box-shadow:0 30px 90px #0c202d40,inset 0 1px 0 #fff;overflow:auto}
@supports(backdrop-filter:blur(1px)){body dialog.sc-dialog.ds-search-dialog{background:linear-gradient(145deg,#fffffff0,#eaf1f3e8 65%,#f5f0e8eb);backdrop-filter:blur(24px) saturate(1.1);-webkit-backdrop-filter:blur(24px) saturate(1.1)}}
body dialog.sc-dialog.ds-search-dialog::backdrop{background:#132a3545;backdrop-filter:blur(7px)}
body dialog.sc-dialog.ds-search-dialog[open]{animation:search-glass-open .24s var(--search-ease) both}
.ds-search-enter{animation:search-result-enter .24s var(--search-ease) both}
@keyframes search-result-enter{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes search-glass-open{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
html[data-paused=true] .ds-search-enter,html[data-reduced=true] .ds-search-enter,html.motion-paused .ds-search-enter,html[data-search-hidden=true] .ds-search-enter,html[data-paused=true] dialog.ds-search-dialog,html[data-reduced=true] dialog.ds-search-dialog,html.motion-paused dialog.ds-search-dialog,html[data-search-hidden=true] dialog.ds-search-dialog{animation:none!important}
html[data-paused=true] .ds-search-surface,html[data-reduced=true] .ds-search-surface,html[data-paused=true] .ds-search-field *,html[data-reduced=true] .ds-search-field *,html[data-paused=true] .ds-search-option,html[data-reduced=true] .ds-search-option{transition:none!important}
@media(prefers-reduced-motion:reduce){.ds-search-enter,body dialog.sc-dialog.ds-search-dialog[open]{animation:none!important}.ds-search-surface,.ds-search-field *,.ds-search-field::before,.ds-search-option{transition:none!important}}
@media(prefers-reduced-transparency:reduce){body .ds-search-surface,body dialog.sc-dialog.ds-search-dialog{background:#f4f6f5;backdrop-filter:none}}
@media(max-width:600px){body .ds-search-surface{padding:14px;border-radius:17px}body .ds-search-field .ds-search-input{font-size:16px;min-height:50px}body .ds-search-meta{font-size:11px}body dialog.sc-dialog.ds-search-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px);border-radius:20px}body .ds-search-empty{padding:26px 16px}}
@media(forced-colors:active){body .ds-search-surface,body dialog.sc-dialog.ds-search-dialog,body .ds-search-option[aria-selected=true]{background:Canvas;color:CanvasText;border:1px solid ButtonText;box-shadow:none}body mark.ds-search-match{background:Highlight;color:HighlightText;box-shadow:none}}

body .scw-inbox-bar.ds-search-surface .scw-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0}
body .scw-inbox-bar.ds-search-surface .scw-pills button{min-height:40px;padding:9px 7px;border:1px solid transparent;border-radius:9px;font:400 12px/1.3 Schibsted,Arial,sans-serif;transition:background .2s,border-color .2s;color:#50636d;background:transparent}
body .scw-inbox-bar.ds-search-surface .scw-pills button:after{display:none}
body .scw-inbox-bar.ds-search-surface .scw-pills button[aria-pressed=true]{color:#234253;background:linear-gradient(120deg,#ffffffed,#dfe9efcf);border-color:#a6bdc677;box-shadow:0 2px 7px #243e4d0a}
@media(max-width:600px){body .scw-inbox-bar.ds-search-surface .scw-pills button{font-size:11px;padding-inline:4px}}
