.chatbot-app{color:#1f2937;background:#f8fafc;flex-direction:column;height:100vh;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;display:flex;overflow:hidden}.chatbot-header{color:#fff;background:linear-gradient(135deg,#1e3a8a,#1e40af);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;display:flex}.chatbot-header-brand{align-items:center;gap:12px;display:flex}.chatbot-header-logo{background:#ffffff26;border:1px solid #ffffff4d;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:.85rem;font-weight:700;display:flex}.chatbot-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.chatbot-title{margin:0;font-size:1.05rem;font-weight:600}.chatbot-subtitle{opacity:.9;margin:2px 0 0;font-size:.8rem}.chatbot-quick-actions{scrollbar-width:thin;flex-shrink:0;gap:8px;padding:10px 16px;display:flex;overflow-x:auto}.chatbot-quick-action{color:#1e40af;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:999px;flex-shrink:0;padding:8px 14px;font-size:.78rem;font-weight:500;transition:transform .15s,box-shadow .15s,border-color .15s;box-shadow:0 1px 2px #0f172a0d}.chatbot-quick-action:hover:not(:disabled){border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 4px 12px #1e40af1f}.chatbot-quick-action:active:not(:disabled){transform:translateY(0)}.chatbot-quick-action:disabled{cursor:not-allowed;opacity:.6}.chatbot-body{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.chatbot-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:14px;min-height:0;padding:20px 20px 24px;display:flex;overflow-y:auto}.chatbot-message{flex-direction:column;max-width:88%;display:flex}.chatbot-message--user{align-self:flex-end}.chatbot-message--assistant{align-self:flex-start}.chatbot-message-bubble{word-break:break-word;border-radius:16px;padding:12px 16px;line-height:1.55}.chatbot-message--user .chatbot-message-bubble{color:#fff;background:#1e40af;border-bottom-right-radius:4px;box-shadow:0 4px 14px #1e40af40}.chatbot-message--assistant .chatbot-message-bubble{background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px;box-shadow:0 2px 10px #0f172a0f}.chatbot-markdown{flex-direction:column;gap:6px;display:flex}.chatbot-markdown-paragraph{white-space:pre-wrap;margin:0}.chatbot-markdown-list{margin:4px 0 0;padding-left:1.25rem}.chatbot-message-meta{color:#64748b;margin-top:4px;padding:0 4px;font-size:.72rem}.chatbot-message-actions{gap:8px;margin-top:8px;display:flex}.chatbot-play-button{color:#1e40af;cursor:pointer;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:500;transition:transform .15s,background .15s}.chatbot-play-button:hover{background:#e0e7ff;transform:translateY(-1px)}.chatbot-play-button--stop{color:#b91c1c;background:#fee2e2;border-color:#fecaca}.chatbot-play-button--stop:hover{background:#fecaca}.chatbot-voice-playing-badge{color:#b91c1c;cursor:pointer;background:#fee2e2f2;border:1px solid #fca5a5e6;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:.75rem;font-weight:600;transition:background .15s;display:inline-flex}.chatbot-voice-playing-badge:hover{background:#fecaca}.chatbot-dock-playing{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:999px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:6px 10px 6px 14px;font-size:.8rem;font-weight:500;display:flex}.chatbot-dock-playing--preparing{color:#0369a1;background:#f0f9ff;border-color:#bae6fd;justify-content:center}.chatbot-voice-pulse{animation:1.1s ease-in-out infinite chatbot-voice-pulse}@keyframes chatbot-voice-pulse{0%,to{opacity:.55}50%{opacity:1}}.chatbot-dock-stop{color:#b91c1c;cursor:pointer;background:#fee2e2;border:1px solid #fecaca;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:600}.chatbot-dock-stop:hover{background:#fecaca}.chatbot-transcribing{color:#64748b;font-style:italic}.chatbot-inline-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.chatbot-inline-action{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;padding:7px 12px;font-size:.76rem;font-weight:500;transition:transform .15s,border-color .15s,box-shadow .15s}.chatbot-inline-action:hover{border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 3px 10px #1e40af1a}.chatbot-inline-action:active{transform:translateY(0)}.chatbot-empty-state{color:#64748b;text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;display:flex}.chatbot-empty-state-title{color:#334155;margin:0 0 8px;font-size:1rem;font-weight:600}.chatbot-empty-state-text{max-width:360px;margin:0;font-size:.9rem}.chatbot-input-dock{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border-top:1px solid #e2e8f0e6;flex-shrink:0;padding:12px 16px 16px;box-shadow:0 -4px 20px #0000000d}.chatbot-input-capsule{background:#fff;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:8px;padding:6px 8px 6px 16px;display:flex;box-shadow:0 2px 12px #0f172a0f}.chatbot-text-input{background:0 0;border:none;outline:none;flex:1;min-width:0;padding:8px 0;font-size:.95rem}.chatbot-text-input::placeholder{color:#94a3b8}.chatbot-button{color:#fff;cursor:pointer;background:#1e40af;border:none;border-radius:999px;min-width:48px;padding:10px 16px;font-size:.88rem;font-weight:600;transition:background .2s,transform .15s}.chatbot-button:hover:not(:disabled){background:#1e3a8a}.chatbot-button:active:not(:disabled){transform:scale(.98)}.chatbot-button:disabled{cursor:not-allowed;opacity:.6}.chatbot-button--send{flex-shrink:0;padding:10px 18px}.chatbot-header-actions .chatbot-button--secondary{color:#fff;background:#ffffff1f;border:1px solid #ffffff59}.chatbot-header-actions .chatbot-button--secondary:hover:not(:disabled){background:#fff3}.mic-button{color:#475569;cursor:pointer;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;padding:8px 12px;transition:all .2s;display:inline-flex}.mic-button:hover:not(:disabled){color:#1e40af;background:#f1f5f9}.mic-button:disabled{cursor:not-allowed;opacity:.55}.mic-button--recording{color:#dc2626;background:#fee2e2;animation:1.5s infinite mic-pulse}.mic-button--recording:hover:not(:disabled){color:#b91c1c;background:#fecaca}.mic-icon{font-size:1.15rem;line-height:1}.mic-button-inner{align-items:center;gap:4px;display:inline-flex}.mic-stop-icon{font-size:.85rem;line-height:1}.mic-waveform{align-items:flex-end;gap:2px;height:14px;display:inline-flex}.mic-waveform span{background:currentColor;border-radius:2px;width:2px;animation:.9s ease-in-out infinite mic-wave;display:block}.mic-waveform span:first-child{height:6px;animation-delay:0s}.mic-waveform span:nth-child(2){height:12px;animation-delay:.15s}.mic-waveform span:nth-child(3){height:8px;animation-delay:.3s}@keyframes mic-pulse{0%,to{box-shadow:0 0 #dc262659}50%{box-shadow:0 0 0 8px #dc262600}}@keyframes mic-wave{0%,to{transform:scaleY(.55)}50%{transform:scaleY(1)}}.chatbot-status-bar{color:#64748b;min-height:18px;margin-top:8px;padding:0 8px;font-size:.78rem}.chatbot-status-bar--error{color:#dc2626}.chatbot-loading-dots:after{content:"";animation:1.2s steps(4,end) infinite chatbot-dots}@keyframes chatbot-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.chatbot-inline-otp{padding:0 20px 12px}.chatbot-otp-modal{background:#fff7ed;border:1px solid #fdba74;border-radius:12px;padding:14px}.chatbot-otp-title{margin:0 0 4px;font-weight:600}.chatbot-otp-subtitle{color:#9a3412;margin:0 0 12px;font-size:.85rem}.chatbot-otp-form{flex-wrap:wrap;gap:8px;display:flex}.chatbot-otp-input{color:#1f2937;background:#fff;border:1px solid #fdba74;border-radius:8px;flex:1;min-width:140px;padding:10px 12px;font-size:.95rem}.chatbot-otp-input:disabled{color:#78716c;cursor:not-allowed;opacity:.85;background:#fff7ed}.chatbot-otp-input--readonly{color:#0f172a;cursor:default;letter-spacing:.04em;background:#f8fafc;font-weight:600}.chatbot-otp-input::placeholder{color:#a8a29e}.chatbot-otp-error{color:#b91c1c;margin:8px 0 0;font-size:.8rem}.chatbot-otp-resend{color:#c2410c;cursor:pointer;background:0 0;border:none;margin-top:8px;padding:0;font-size:.8rem;text-decoration:underline}.chatbot-otp-resend:disabled{cursor:not-allowed;opacity:.5}.chatbot-button--compact{min-width:96px}.chatbot-status-cards{flex-direction:column;gap:10px;padding:0 20px 12px;display:flex}.chatbot-status-card{background:#fff;border:1px solid #dbe3ee;border-left:4px solid #1e40af;border-radius:12px;padding:14px}.chatbot-status-card-header{flex-direction:column;gap:4px;margin-bottom:8px;display:flex}.chatbot-status-card-type{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:.75rem}.chatbot-status-card-row{justify-content:space-between;gap:12px;margin:4px 0;display:flex}.chatbot-status-card-status{color:#0f766e;font-weight:600}.chatbot-status-card-description{color:#475569;margin:8px 0}.chatbot-status-card-download{color:#1d4ed8;margin-top:8px;font-weight:600;text-decoration:none;display:inline-block}@media (width<=640px){.chatbot-header{flex-direction:column;align-items:flex-start}.chatbot-header-actions{width:100%}.chatbot-message{max-width:100%}.chatbot-input-capsule{border-radius:20px;flex-wrap:wrap;padding:10px 12px}.chatbot-button--send{width:100%}}
