.hw-chat-launch,.hw-chat{font-family:var(--sans);text-align:start}.hw-chat-launch{z-index:41;inset-inline-end:clamp(12px,2vw,28px);bottom:max(18px,env(safe-area-inset-bottom));color:#fff8e7;background:#244956;border:1px solid #f4dfbb;border-radius:36px;align-items:center;gap:10px;padding:7px 12px;transition:transform .2s;display:flex;position:fixed;box-shadow:0 3px 8px #102c3b38,0 10px 28px #102c3b30}.hw-chat-launch:hover{transform:translateY(-2px)}.hw-chat-launch strong,.hw-chat-launch small{display:block}.hw-chat-launch strong{font-size:17px;line-height:1.4}.hw-chat-launch small{color:#eee3cb;font-size:11px;line-height:1.4}.hw-chat-emblem{color:#482d22;background:#f5bf8b;border-radius:50%;place-items:center;width:39px;height:39px;display:grid}.hw-chat-shade{z-index:100;background:#14292f26;position:fixed;inset:0}.hw-chat{z-index:101;inset-inline-end:clamp(12px,2vw,28px);bottom:max(16px,env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--background);width:min(405px,100vw - 24px);height:min(638px,100dvh - 40px);color:var(--foreground);border-radius:22px;outline:0;grid-template-rows:auto minmax(0,1fr) auto;animation:.2s ease-out hw-chat-in;display:grid;position:fixed;overflow:hidden;box-shadow:0 16px 70px #102c3b3d}.hw-chat-head{color:#fff7e6;background:#244956;border-bottom:3px solid #ca8b62;align-items:center;gap:11px;padding:15px 18px;display:flex}.hw-chat-head img{border:1px solid #71878a;border-radius:12px}.hw-chat-head h2,.hw-chat-welcome h3{font-family:var(--serif);line-height:1.3}.hw-chat-head h2{color:inherit;margin:0;font-size:24px}.hw-chat-head p{color:#ecdfc8;margin:0;font-size:12px}.hw-chat-close,.hw-chat-input button{border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid}.hw-chat-close{color:#fff7e6;background:#ffffff12;margin-inline-start:auto}.hw-chat-body{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;overflow-y:auto}.hw-chat-welcome,.hw-chat-log{padding:18px}.hw-chat-welcome figure{margin:0 0 14px}.hw-chat-welcome figure img{object-fit:cover;object-position:center 48%;border-radius:10px;width:100%;height:clamp(80px,16dvh,126px);display:block}.hw-chat-welcome figcaption,.hw-chat-foot>small,.hw-chat-sources small{color:var(--muted-foreground);font-size:11px;display:block}.hw-chat-welcome figcaption{margin-top:4px}.hw-chat-welcome h3{color:var(--foreground);margin:0 0 2px;font-size:32px}.hw-chat-welcome p{margin:0;font-size:15px;line-height:1.65}.hw-chat-prompts{gap:7px;margin-top:15px;display:grid}.hw-chat-prompts button,.hw-chat-sources a{text-align:start;border:1px solid var(--border);background:var(--card);width:100%;color:var(--foreground);border-radius:10px;align-items:center;gap:9px;padding:10px 12px;font-size:14px;display:flex}.hw-chat-prompts button>span,.hw-chat-sources a>span:first-child{flex:1}.hw-chat-prompts svg:first-child{color:var(--terracotta)}.hw-chat-prompts button:hover,.hw-chat-sources a:hover{border-color:var(--terracotta)}.hw-chat-log,.hw-chat-turn{gap:12px;display:grid}.hw-chat-turn{align-content:start;gap:6px}.hw-chat-user,.hw-chat-answer{overflow-wrap:anywhere;max-width:94%;font-size:15px;line-height:1.7}.hw-chat-user{color:#fffaf0;border-radius:16px;background:#285260;border-end-end-radius:4px;justify-self:end;padding:9px 15px}.hw-chat-user p,.hw-chat-answer p{white-space:pre-wrap;margin:0}.hw-chat-byline{color:var(--muted-foreground);align-items:center;gap:6px;margin-top:6px;font-size:12px;display:flex}.hw-chat-answer{background:var(--card);border:1px solid var(--border);border-radius:16px;border-start-start-radius:4px;justify-self:start;min-width:0;padding:11px 13px}.hw-chat-sources{border-top:1px solid var(--border);gap:5px;margin-top:10px;padding-top:8px;display:grid}.hw-chat-sources a{background:var(--background);line-height:1.45;text-decoration:none}.hw-chat-retry{align-items:center;gap:6px;margin-top:6px;text-decoration:underline;display:flex}.hw-chat-thinking{color:var(--muted-foreground)}.hw-chat-foot{background:var(--card);border-top:1px solid var(--border);padding:12px 16px 10px}.hw-chat-input{border:1px solid var(--input);background:var(--background);border-radius:16px;align-items:end;gap:6px;padding:5px;display:flex}.hw-chat-input:focus-within{outline:2px solid var(--ring);outline-offset:1px}.hw-chat-input textarea{field-sizing:content;resize:none;min-width:0;max-height:95px;color:var(--foreground);background:0 0;border:0;outline:none;flex:1;padding:7px 9px;font-size:16px;line-height:1.55}.hw-chat-input button{color:#fff;background:#984b34}.hw-chat-input button:disabled{background:var(--muted);color:var(--muted-foreground)}.hw-chat-foot>small{margin:6px 3px 0;font-size:10px}.hw-chat button,.hw-chat-launch{cursor:pointer}.hw-chat button:disabled{cursor:default}.hw-chat button:focus-visible{outline-offset:2px;outline:3px solid #cf8855}.hw-chat a:focus-visible{outline-offset:2px;outline:3px solid #cf8855}.hw-chat-launch:focus-visible{outline-offset:2px;outline:3px solid #cf8855}@keyframes hw-chat-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (max-width:520px){.hw-chat{inset-inline:0;border-radius:20px 20px 0 0;width:100%;height:min(740px,95dvh);bottom:0}.hw-chat-foot{padding-bottom:max(12px,env(safe-area-inset-bottom))}.hw-chat-launch{bottom:max(12px,env(safe-area-inset-bottom));gap:7px}.hw-chat-launch small{display:none}.hw-chat-launch strong{font-size:15px}}@media (prefers-reduced-motion:reduce){.hw-chat,.hw-chat-launch{transition:none;animation:none}}.hw-chat-reference{border-inline-start:2px solid var(--terracotta);padding:8px 12px;font-size:14px;line-height:1.5}
