@font-face{font-family:Schibsted;src:url('/assets/SchibstedGrotesk-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Schibsted;src:url('/assets/SchibstedGrotesk-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Schibsted;src:url('/assets/SchibstedGrotesk-600.woff2') format('woff2');font-weight:600;font-display:swap}
:root{color-scheme:light;--paper:#fff;--soft:#f3f4f6;--ink:#172337;--muted:#5b6879;--line:#e1e5ea;--brand:#12358f;--button:#102c70;--on-button:#fff;--tint:#edf2fb}
:root[data-theme=dark]{color-scheme:dark;--paper:#111a29;--soft:#1a293e;--ink:#edf2fb;--muted:#aab8cd;--line:#2d3b51;--brand:#a6c0ff;--button:#bed0ff;--on-button:#10213e;--tint:#223353}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden}
body{font-family:Schibsted,Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
button,textarea,input{font:inherit}
button,a,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
button:disabled{cursor:default}
button,a{touch-action:manipulation}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
.assistant{height:100%;height:100dvh;display:flex;flex-direction:column;max-width:620px;margin:0 auto;background:var(--paper)}
.header{height:68px;min-height:68px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.identity{display:flex;gap:10px;align-items:center;min-width:0}
.brand{display:block;flex-shrink:0}
.brand-name{font-size:15px;font-weight:600;letter-spacing:-.25px;display:block;line-height:1.4}
.utilities{display:flex;align-items:center;gap:2px}
.icon-button,.language{border:0;background:transparent;display:grid;place-items:center;min-height:36px;min-width:32px;border-radius:8px}
.icon-button:hover,.language:hover{background:var(--soft)}
.language{font-size:11px;font-weight:500}
.icon-button svg{width:17px;height:17px}
#conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;scroll-padding:20px}
.welcome{padding:24px 18px}
#welcome-title{display:table;max-width:90%;background:var(--soft);border-radius:4px 15px 15px;padding:12px 15px;font-size:14px;line-height:1.6;font-weight:400;margin:0;overflow-wrap:anywhere}
.footer{padding:12px 16px 10px;background:var(--paper)}
.composer-wrap{border:1px solid var(--line);border-radius:13px;transition:border-color .15s,box-shadow .15s}
.composer-wrap:focus-within{border-color:var(--brand);box-shadow:0 0 0 2px var(--tint)}
#chat-form{display:flex;align-items:flex-end;position:relative;padding:7px;gap:6px}
textarea{resize:none;flex:1;min-width:0;width:100%;border:0;background:transparent;color:var(--ink);padding:7px 5px;display:block;min-height:36px;max-height:112px;line-height:22px;font-size:14px}
textarea:focus-visible{outline:none}
textarea::placeholder{color:var(--muted)}
.counter{position:absolute;right:9px;bottom:calc(100% + 8px);padding:2px 5px;border-radius:4px;background:var(--paper);font-size:10px;font-variant-numeric:tabular-nums;color:var(--muted)}
.send{width:34px;height:34px;flex-shrink:0;margin-bottom:1px;border:0;border-radius:9px;background:var(--button);color:var(--on-button);display:grid;place-items:center}
.send:hover:not(:disabled){filter:brightness(1.15)}
.send:disabled{background:var(--soft);color:var(--muted)}
.send svg{width:18px;height:18px;stroke-width:1.8}
.footer-meta{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px}
.privacy{font-size:10px;line-height:1.5;color:var(--muted);margin:0}
.about-button{flex-shrink:0;font-size:10px;line-height:1.5;min-height:28px;padding:3px 0;background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.about-panel{margin-top:8px;padding:12px;border:1px solid var(--line);background:var(--paper);border-radius:10px;font-size:12px;line-height:1.6;color:var(--muted);max-height:190px;overflow:auto}
.about-panel p{margin:0 0 10px}
.footer-links{display:flex;gap:12px;flex-wrap:wrap}
.footer-links a{text-decoration:underline;text-underline-offset:3px}
#messages{padding:0 18px}
#messages:not(:empty){padding-top:20px;padding-bottom:4px}
.message{margin-bottom:20px}
.message.user{display:flex;justify-content:flex-end}
.user p{max-width:88%;background:var(--tint);border-radius:15px 15px 4px 15px;padding:11px 14px}
.answer-label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-bottom:7px}
.answer-label img{height:16px;width:16px}
.answer-text{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.assistant.message>.answer-text{background:var(--soft);border-radius:4px 15px 15px;padding:12px 14px}
.message.assistant{height:auto;display:block;max-width:none;background:none}
.source-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.source{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:7px 9px;max-width:100%;color:var(--ink)}
.source:hover{border-color:var(--brand);text-decoration:none}
.source span:last-child{color:var(--brand)}
.answer-notice{font-size:11px;color:var(--muted);line-height:1.5;margin:10px 0 0}
.thinking{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);padding:0 20px 20px}
.thinking-dot{height:5px;width:5px;border-radius:50%;background:var(--brand);animation:breathe 1.2s ease-in-out infinite}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#challenge{margin-top:8px;max-width:100%;overflow:hidden}
#challenge:empty{display:none}
#challenge iframe{display:block;width:100%;height:68px;border:0;background:transparent}
:root[data-theme=dark] .brand,:root[data-theme=dark] .answer-label img{filter:brightness(0) invert(.91)}
@keyframes breathe{50%{opacity:.35}}
.handoff{margin:16px 18px;padding:0;background:var(--paper)}
.support-open .composer-wrap,.support-open #messages,.support-open #welcome,.support-open #thinking{display:none!important}
.handoff h2{font-size:16px;font-weight:600;line-height:1.4;margin:0 0 6px}
.handoff>p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 16px}
.handoff label:not(.consent){display:block;font-size:12px;font-weight:500;margin:14px 0 6px}
.handoff input[type=email],.handoff textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--soft);color:var(--ink);padding:10px;min-height:42px;line-height:1.5}
.handoff textarea{min-height:104px;max-height:220px;resize:vertical}
.handoff input:focus-visible,.handoff textarea:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.handoff-note{font-size:11px;color:var(--muted);margin:7px 0 12px}
.consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.6}
.consent input{flex-shrink:0;margin:3px 0 0;accent-color:var(--brand);width:16px;height:16px}
.handoff-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.handoff-actions button,.handoff-trigger{min-height:40px;border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:var(--paper);font-size:12px;font-weight:500}
#support-send{background:var(--button);color:var(--on-button);border-color:var(--button)}
#support-send:disabled{opacity:.55;cursor:default}
.handoff-trigger{margin-top:10px;color:var(--brand)}
.handoff-status{padding-top:12px;overflow-wrap:anywhere}
#support-contact{display:inline-block;font-size:12px;color:var(--brand);text-decoration:underline;text-underline-offset:3px;min-height:32px}
@media(pointer:coarse){.handoff input[type=email],.handoff textarea{font-size:16px}}
@media(max-width:380px){.header{padding:0 14px}.footer{padding:10px 12px}.footer-meta{gap:6px}.privacy,.about-button{font-size:9px}}
@media(pointer:coarse){textarea{font-size:16px}.icon-button,.language{min-height:44px;min-width:40px}.send{width:40px;height:40px}.footer{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
