@charset "UTF-8";
:root { color-scheme: light; font: 16px Arial, Helvetica, sans-serif; color: #172e39; background: #f6f8f9; }
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bb7715; outline-offset: 3px; }
.widget { height: 100dvh; min-height: 320px; display: flex; flex-direction: column; padding: 12px clamp(12px, 3vw, 24px); }
.chat-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-shrink: 0; font-size: .75rem; color: #536670; }
.chat-tools button { border: 0; background: none; color: inherit; padding: 10px 0 10px 10px; text-decoration: underline; text-underline-offset: 3px; }
.conversation { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; padding: 16px 0; }
.welcome { margin: 12px 0; color: #536670; line-height: 1.6; }
.exchange { margin-bottom: 20px; }
.question-bubble { margin: 0 0 14px auto; max-width: 90%; width: fit-content; padding: 10px 14px; border-radius: 10px 10px 2px 10px; background: #e6eef2; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.reply { border-left: 3px solid #f2c15d; padding: 4px 14px; margin: 0 3px; }
.reply-label { display: block; color: #17495d; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.reply p { font: 1.125rem/1.65 Georgia, serif; margin: 8px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.reply.error p { color: #963b2e; font-family: Arial, sans-serif; font-size: 1rem; }
.composer { flex-shrink: 0; border-top: 1px solid #d6e0e5; padding-top: 14px; }
.composer label { display: block; font-size: .8125rem; font-weight: 700; margin-bottom: 8px; }
.input-row { display: flex; gap: 8px; padding: 8px; border: 1px solid #a9bcc6; border-radius: 9px; background: white; }
.input-row:focus-within { outline: 2px solid #17495d; outline-offset: 2px; }
textarea { flex: 1; min-width: 0; resize: none; border: 0; background: transparent; padding: 8px; line-height: 1.5; color: inherit; }
textarea:focus { outline: none; }
textarea::placeholder { color: #667b86; }
.input-row button { align-self: center; border: 0; border-radius: 5px; min-height: 44px; padding: 12px 16px; background: #17495d; color: white; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.input-row button:hover { background: #236780; }
.composer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; font-size: .6875rem; color: #536670; }
.status { min-height: 1.1em; margin: 6px 0 0; font-size: .8125rem; line-height: 1.4; color: #17495d; }
.status[data-error="true"] { color: #963b2e; }
@media (max-width: 400px) { .input-row { gap: 4px; padding: 6px; } textarea { padding: 6px; } .input-row button { padding: 12px 10px; } }
