@font-face{font-family:Avenir;src:url('/ai-hjalp/avenir-400.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:Avenir;src:url('/ai-hjalp/avenir-900.otf') format('opentype');font-weight:900;font-display:swap}
:root{--paper:#F5F4EE;--forest:#535C55;--ink:#2E3732;--muted:#626A61;--line:#D4D9CF;--sand:#D6BE96;--surface:#EAEEE7;--water:#D8DDD6;--red:#934C41}
*{box-sizing:border-box}
html,body{margin:0;min-width:320px;min-height:100%;background:var(--paper)}
body{font:400 17px/1.65 Avenir,Arial,sans-serif;color:var(--ink)}
button,input,textarea,select{font:inherit;color:inherit}
button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--forest);outline-offset:4px}
[hidden]{display:none!important}
.shell{height:100dvh;min-height:430px;max-width:860px;width:calc(100% - 64px);margin:0 auto;display:flex;flex-direction:column}
.chat-brand{height:126px;flex:none;display:flex;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.chat-brand a{display:block;width:124px;flex:none}
.chat-brand img{display:block;width:100%;height:auto;object-fit:contain}
main{display:flex;flex:1;min-height:0;flex-direction:column}
.conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:36px 0 24px;scroll-behavior:smooth;scrollbar-color:#c2cbbd transparent;scrollbar-width:thin}
.welcome{max-width:580px;color:var(--forest);font-size:clamp(20px,2.2vw,25px);line-height:1.55;margin:0 0 35px;letter-spacing:-.015em}
.welcome p{margin:0}
#messages{max-width:100%}
.message{margin:0 0 28px}
.message.user{display:flex;justify-content:flex-end}
.user .bubble{max-width:85%;background:var(--surface);border-radius:14px 14px 3px 14px;padding:12px 18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.assistant .bubble{overflow-wrap:anywhere;line-height:1.65;max-width:100%}
.assistant .bubble > p{margin:0 0 13px}
.assistant .bubble > p:last-child{margin-bottom:0}
.assistant .bubble strong{font-weight:900}
.thinking{color:var(--muted);font-size:16px;animation:breathe 1.3s infinite}
@keyframes breathe{50%{opacity:.45}}
.composer-area{flex:none;padding:18px 0 30px;border-top:1px solid var(--line);background:var(--paper)}
#chat{display:flex;align-items:flex-end;gap:14px;border:1px solid #b9c2b3;border-radius:12px;padding:10px 10px 10px 18px;background:var(--paper)}
#chat:focus-within{border-color:var(--forest);box-shadow:0 0 0 1px var(--forest)}
textarea{display:block;resize:none;border:0;outline:none!important;background:transparent;min-width:0;width:100%;max-height:130px;padding:10px 0;font-size:17px;line-height:1.45}
textarea::placeholder{color:#788174;opacity:1}
#send{background:var(--sand);color:var(--ink);font-weight:900;font-size:16px;line-height:1.4;padding:12px 22px;border:1px solid var(--sand);border-radius:9px;white-space:nowrap}
#send:hover{background:var(--forest);border-color:var(--forest);color:var(--paper)}
#error{color:var(--red);font-size:15px;line-height:1.5;margin:0;padding:0 0 12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
::selection{background:var(--sand);color:var(--ink)}
@media(max-width:680px){body{font-size:16px}.shell{width:calc(100% - 36px)}.chat-brand{height:100px;padding:9px 0}.chat-brand a{width:105px}.conversation{padding:27px 0 18px}.welcome{font-size:21px;line-height:1.55;max-width:420px;margin-bottom:27px}.composer-area{padding:14px 0 18px}#chat{gap:10px;padding:8px 8px 8px 13px;border-radius:10px}textarea{font-size:16px;padding:10px 0}#send{font-size:15px;padding:11px 16px}.user .bubble{max-width:94%;padding:11px 14px}.message{margin-bottom:24px}}
@media(max-height:600px){.chat-brand{height:82px}.chat-brand a{width:93px}.conversation{padding-top:20px}.welcome{font-size:20px}.composer-area{padding-bottom:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;margin:12px 0 0;padding:0;list-style:none}
.product-list a{display:flex;align-items:center;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:15px;line-height:1.4;text-decoration:none;overflow-wrap:anywhere}
.product-list a:hover,.product-list a:focus-visible{color:var(--ink);border-color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.product-list-details{margin-top:12px}
.product-list-details summary{color:var(--forest);cursor:pointer;font-weight:900}
@media(max-width:560px){.product-list{grid-template-columns:1fr}}

.answer-list,.additional-products{margin:0 0 14px;padding-inline-start:1.3em}
.answer-list li+li{margin-top:5px}
.answer-list-with-products,.additional-products{padding-inline-start:0}
.answer-list-with-products > li:not(.answer-product){margin-inline-start:1.3em}
.answer-product,.additional-products > li{list-style:none}
.additional-products > li+li,.answer-list > .answer-product+.answer-product{margin-top:7px}
.suggestion-card{display:flex;align-items:center;gap:13px;min-height:48px;padding:8px 13px;color:var(--ink);background:#FAFAF6;border:1px solid var(--line);border-radius:10px;text-decoration:none}
.suggestion-card:hover{border-color:var(--forest);background:#EEF0E9}
.suggestion-card img{display:block;flex:none;width:72px;height:60px;object-fit:cover;border-radius:6px;background:var(--surface)}
.suggestion-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px;line-height:1.4}
.suggestion-title{color:var(--ink);font-size:16px}
.suggestion-card:hover .suggestion-title{text-decoration:underline;text-underline-offset:3px}
.suggestion-summary{color:var(--muted);font-size:14px}
.suggestion-arrow{margin-inline-start:auto;color:var(--forest);font-size:18px}
.reply-sources{margin-top:9px;color:var(--muted);font-size:14px}
.reply-sources summary{width:max-content;max-width:100%;padding:3px 4px 3px 0;cursor:pointer}
.reply-sources ul{margin:4px 0 0;padding-inline-start:1.3em}
.reply-sources a{color:var(--forest);text-underline-offset:3px}
@media(max-width:560px){.suggestion-card{gap:10px;padding:8px 10px}.suggestion-card img{width:56px;height:52px}.suggestion-title{font-size:15px}.suggestion-summary{font-size:13px}}
.chat-brand{gap:24px}.chat-heading{margin-left:auto;display:flex;align-items:center;gap:9px}.chat-heading h1{margin:0;color:var(--forest);font-size:clamp(18px,2.4vw,22px);line-height:1.25}.beta{border:1px solid var(--line);border-radius:20px;color:var(--forest);padding:2px 9px;font-size:12px}.composer-area{padding-bottom:max(18px,env(safe-area-inset-bottom))}
