.status-chat{max-width:940px;margin:0 auto;padding:24px 0;color:inherit}.chat-intro{text-align:center;padding:46px 16px}.chat-orb{display:inline-grid;place-items:center;font-size:32px;width:64px;height:64px;border-radius:22px;background:#e7f6ee;color:#008d4b}.chat-intro h2{font-size:30px;margin:16px 0 8px}.chat-intro p,.chat-disclosure{color:var(--muted,#7a8491)}.chat-composer{padding:14px;border:1px solid var(--surface-border,#dce2e5);border-radius:22px;background:var(--surface,#fff);box-shadow:0 8px 35px #19382609;position:sticky;bottom:18px}.chat-composer textarea{display:block;resize:vertical;min-height:70px;max-height:220px;background:transparent;border:0!important;outline:0!important;box-shadow:none!important;font:inherit;color:inherit;width:100%;padding:6px 8px;box-sizing:border-box}.chat-controls{display:flex;align-items:center;gap:10px}.voice-mode{border:1px solid var(--surface-border,#e1e5e7);border-radius:10px;padding:7px;max-width:180px;background:transparent;color:inherit;font:inherit;font-size:12px}.chat-hint{font-size:11px;color:#84908b;margin-right:auto}.mic-button,.chat-send,.voice-cancel,.voice-stop{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;border:0;cursor:pointer;background:#eef2f0;color:#263c32;font-size:24px;flex-shrink:0}.mic-button svg{width:22px;height:22px}.chat-send{background:#008d4b;color:white}.chat-send:disabled,.mic-button:disabled{opacity:.4;cursor:wait}.chat-disclosure{font-size:11px;text-align:center;line-height:1.6;max-width:620px;margin:14px auto}.chat-error{font-size:13px;color:#b34444;margin:8px 0 0;white-space:pre-wrap}.chat-error:empty{display:none}.voice-recorder{position:absolute;inset:0;background:var(--surface,#fff);border-radius:22px;display:flex;gap:16px;align-items:center;padding:20px}.voice-recorder[hidden]{display:none}.voice-wave{display:flex;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0;height:44px;overflow:hidden}.voice-wave i{display:block;width:3px;height:4px;background:#008d4b;border-radius:4px;transition:height 65ms linear;flex-shrink:0}.voice-time{font:12px monospace;color:#728077}.voice-stop{font-size:17px;background:#008d4b;color:#fff}.chat-message{margin:0 0 22px;padding:20px;border-radius:18px;border:1px solid var(--surface-border,#e4e9e5)}.chat-message.user{margin-left:15%;background:#f2f7f4;border:0}.chat-message-label{font-size:11px;font-weight:700;color:#6c8376;margin-bottom:10px}.chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px}.chat-chart{margin:22px 0 0}.chat-chart figcaption{font-size:12px;color:#738176}.chat-chart svg{width:100%;height:auto}.chat-statuses{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.chat-statuses span{font-size:11px;border:1px solid var(--surface-border,#dce7df);border-radius:7px;padding:6px 8px}@media(max-width:600px){.chat-hint{display:none}.voice-mode{margin-right:auto;max-width:150px}.status-chat{padding:0}.chat-intro{padding:28px 10px}.chat-composer{bottom:8px}.chat-message.user{margin-left:8%}.voice-recorder{gap:9px;padding:14px}}

html[data-theme=dark] .chat-orb{background:#4ba97b14;color:#65b892}html[data-theme=dark] .chat-message.user{background:#8494aa10}html[data-theme=dark] .mic-button,html[data-theme=dark] .voice-cancel{background:#8494aa16;color:#b5c0d2}html[data-theme=dark] .chat-message-label{color:#8fa6b7}html[data-theme=dark] .voice-wave i{background:#62b591}.chat-composer textarea{font-size:14px}.status-chat .chat-send,.status-chat .voice-stop{background:#16856b}

.chat-settings{border:1px solid var(--surface-border,#dce2e5);background:transparent;color:var(--muted,#7a8491)}.chat-settings:focus-visible{outline:2px solid #16856b;outline-offset:3px}.chat-controls .chat-settings svg{width:20px;height:20px}@media(max-width:380px){.chat-controls{gap:7px}.chat-controls .voice-mode{max-width:125px}.chat-controls .mic-button,.chat-controls .chat-send{width:34px;height:34px}}
