.w-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.w-chat{margin-top:20px;border-radius:var(--r-lg);background:var(--surface);padding:clamp(14px,2vw,24px)}
.w-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
.w-chips button{min-height:44px;padding:8px 16px;border-radius:999px;border:2px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:700;cursor:pointer;transition:border-color .2s var(--ease),background .2s var(--ease)}
.w-chips button:hover{border-color:var(--yellow)}
.w-chips button:focus-visible,.w-btn:focus-visible,.w-form input:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.w-log{display:flex;flex-direction:column;gap:12px;min-height:160px;max-height:min(60vh,540px);overflow-y:auto;padding:4px}
.w-msg{max-width:78ch;padding:14px 18px;border-radius:var(--r-md);line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.w-msg.me{align-self:flex-end;background:var(--yellow);color:var(--on-light);font-weight:700}
.w-msg.bot{align-self:flex-start;background:var(--surface-2);color:var(--ink)}
.w-msg.no{background:var(--orange);color:var(--on-light);font-weight:700}
.w-src{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px;font-size:.9375rem;white-space:normal}
.w-src a{color:var(--mint);font-weight:700;text-underline-offset:4px;text-decoration-thickness:2px}
.w-form{display:flex;gap:10px;margin-top:16px}
.w-form input{flex:1;min-width:0;min-height:48px;padding:0 18px;border-radius:999px;border:2px solid var(--line);background:var(--bg);color:var(--ink);font:inherit}
.w-btn{min-height:48px;padding:0 24px;border-radius:999px;border:0;background:var(--yellow);color:var(--on-light);font:inherit;font-weight:800;cursor:pointer}
.w-btn:disabled,.w-form input:disabled{opacity:.45;cursor:not-allowed}
.w-optin{max-width:70ch;padding:clamp(18px,2.5vw,32px);border-radius:var(--r-lg);background:var(--surface);display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.w-optin p{color:var(--ink-soft)}
.w-progress{width:100%}
.w-bar{height:14px;border-radius:999px;background:var(--bg);overflow:hidden}
.w-bar div{height:100%;width:0;background:var(--mint);transition:width .3s var(--ease)}
@media(max-width:600px){.w-form{flex-direction:column}.w-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.w-bar div,.w-chips button{transition:none}}

.w-ainote{margin:10px 0 0;font-size:.85rem;opacity:.75;font-weight:400}
