.ashfall-chat{--chat-accent:var(--ember,#eb3d00);--chat-text:#eee9e3;--chat-muted:#aaa39d;--chat-line:#36312e;position:fixed;right:24px;bottom:24px;z-index:2147483003;color:var(--chat-text);font-family:var(--type-body)}.ashfall-chat button,.ashfall-chat textarea{font:inherit}.ashfall-chat button{cursor:pointer}.ashfall-chat button:disabled{cursor:default;opacity:.45}.ashfall-chat a:focus-visible,.ashfall-chat button:focus-visible,.ashfall-chat textarea:focus-visible{outline:2px solid var(--chat-accent);outline-offset:3px}.ashfall-chat svg{display:block;width:22px;height:22px;flex:none}.ashfall-chat-launcher{display:flex;align-items:center;gap:10px;margin-left:auto;min-height:52px;padding:12px 20px;border:1px solid var(--chat-accent);border-radius:999px;background:var(--chat-accent);color:#080807;box-shadow:0 8px 30px #0008;font-size:16px;font-weight:700;transition:background .18s ease,transform .18s ease}.ashfall-chat-launcher:hover{background:var(--ember-hover,#ff5a29);transform:translateY(-2px)}.ashfall-chat-launcher.is-open{display:none}.ashfall-chat-panel{width:420px;height:min(620px,calc(100dvh - 48px));max-width:calc(100vw - 48px);display:flex;flex-direction:column;border:1px solid var(--chat-line);border-radius:24px;overflow:hidden;background:#141312;box-shadow:0 24px 90px #000a,0 0 0 1px #0004;animation:ashfall-chat-in .2s ease-out}.ashfall-chat-panel.is-expanded{width:calc((100vw - 48px) / 2);min-width:420px;height:calc(100dvh - 48px)}.ashfall-chat-header{display:flex;align-items:center;gap:12px;flex:none;min-height:64px;padding:10px 14px 10px 22px;border-bottom:1px solid var(--chat-line)}.ashfall-chat-header h2{margin:0;font-family:var(--type-body);font-size:19px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none}.ashfall-chat-actions{display:flex;gap:4px;margin-left:auto}.ashfall-chat-actions button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:var(--chat-muted)}.ashfall-chat-actions button:hover{color:var(--chat-text);background:#25211f}.ashfall-chat-resize[aria-pressed=true]{color:var(--chat-accent)}.ashfall-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:24px 22px 12px;scrollbar-color:#534841 #141312;scrollbar-width:thin;overscroll-behavior:contain}.ashfall-chat-message{margin-bottom:24px;max-width:96%}.ashfall-chat-message.user{max-width:88%;margin-left:auto;padding:12px 16px;border:1px solid rgb(var(--ember-rgb,235 61 0)/.22);border-radius:18px 18px 5px 18px;background:rgb(var(--ember-rgb,235 61 0)/.08)}.ashfall-chat-speaker{color:var(--chat-muted);font-size:12px}.ashfall-chat-message p,.ashfall-chat-reply li{color:var(--chat-text);font-size:18px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}.ashfall-chat-message p{margin:7px 0 0;white-space:pre-wrap}.ashfall-chat-message a{color:var(--ember-hover,#ff5a29);text-decoration:underline;text-underline-offset:3px}.ashfall-chat-reply ul{margin:10px 0;padding-left:22px;list-style:disc}.ashfall-chat-reply li{margin:8px 0}.ashfall-chat-reply strong{font-weight:700;color:#fff8f2}.ashfall-chat-thinking{display:flex;gap:9px;align-items:center;color:var(--chat-muted);font-size:15px;margin:8px 0 15px}.ashfall-chat-thinking span{width:6px;height:6px;flex:none;background:var(--chat-accent);border-radius:50%;animation:ashfall-chat-pulse 1.4s infinite}.ashfall-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;flex:none;padding:0 22px 18px}.ashfall-chat-suggestions button{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--chat-line);border-radius:12px;background:#1c1917;color:#d4cfc8;font-size:14px;line-height:1.4;text-align:left}.ashfall-chat-suggestions button:hover{border-color:var(--chat-accent);color:var(--chat-text)}.ashfall-chat-suggestions span{color:var(--chat-accent)}.ashfall-chat-form{display:flex;align-items:flex-end;gap:10px;flex:none;margin:0 14px 14px;padding:10px;border:1px solid #453d37;border-radius:18px;background:#1c1917}.ashfall-chat-form:focus-within{border-color:var(--chat-accent)}.ashfall-chat-form textarea{min-width:0;flex:1;resize:none;border:0;border-radius:8px;background:transparent;color:var(--chat-text);padding:5px 4px;font-size:16px;line-height:1.5}.ashfall-chat-form textarea::-moz-placeholder{color:var(--chat-muted)}.ashfall-chat-form textarea::placeholder{color:var(--chat-muted)}.ashfall-chat-form textarea:focus-visible{outline:none}.ashfall-chat-form button{display:grid;place-items:center;width:40px;height:40px;flex:none;border:0;border-radius:12px;background:var(--chat-accent);color:#080807}.ashfall-chat-form button:hover:enabled{background:var(--ember-hover,#ff5a29)}.ashfall-chat-error{margin:0 22px 14px;flex:none;font-size:14px;color:#ffab91;line-height:1.4}.ashfall-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes ashfall-chat-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes ashfall-chat-pulse{50%{opacity:.3}}@media (max-width:720px){.ashfall-chat{right:12px;bottom:12px;left:12px}.ashfall-chat-launcher{width:52px;height:52px;justify-content:center;padding:0}.ashfall-chat-launcher-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ashfall-chat-panel{width:min(420px,100%);max-width:100%;height:min(620px,calc(100dvh - 24px));margin-left:auto}.ashfall-chat-panel.is-expanded{width:100%;min-width:0;height:calc(100dvh - 24px)}.ashfall-chat-header{padding-left:18px}.ashfall-chat-messages{padding:20px 18px 12px}.ashfall-chat-suggestions{padding-left:18px;padding-right:18px}}@media (max-height:520px){.ashfall-chat-header{min-height:52px;padding-top:6px;padding-bottom:6px}.ashfall-chat-suggestions{padding-bottom:10px;gap:6px}.ashfall-chat-suggestions button{padding:6px 10px}}@media (prefers-reduced-motion:reduce){.ashfall-chat-panel,.ashfall-chat-thinking span{animation:none}.ashfall-chat-launcher{transition:none}}