@tailwind base;@tailwind components;@tailwind utilities;.dcm-overlay{align-items:center;animation:dcm-fade-in .15s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000073;box-sizing:border-box;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:9999}@keyframes dcm-fade-in{0%{opacity:0}to{opacity:1}}.dcm-card{align-items:center;animation:dcm-slide-up .18s cubic-bezier(.34,1.56,.64,1);background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e,0 4px 16px #0000001a;box-sizing:border-box;display:flex;flex-direction:column;max-width:380px;padding:32px 28px 24px;text-align:center;width:100%}@keyframes dcm-slide-up{0%{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.dcm-icon{align-items:center;background:#ef444414;border-radius:50%;display:flex;font-size:2.5rem;height:64px;justify-content:center;margin-bottom:16px;width:64px}.dcm-title{color:#111827;font-size:1.125rem;font-weight:700;margin:0 0 10px}.dcm-body{color:#6b7280;font-size:.9rem;line-height:1.55;margin:0 0 28px}.dcm-label{color:#374151;font-weight:600}.dcm-actions{display:flex;gap:12px;width:100%}.dcm-cancel,.dcm-confirm{border:none;border-radius:10px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:11px 0;transition:all .2s ease}.dcm-cancel{background:#f3f4f6;border:1px solid #e5e7eb;color:#374151}.dcm-cancel:hover:not(:disabled){background:#e5e7eb}.dcm-confirm{background:#ef4444;color:#fff}.dcm-confirm:hover:not(:disabled){background:#dc2626;box-shadow:0 4px 12px #ef444459;transform:translateY(-1px)}.dcm-cancel:disabled,.dcm-confirm:disabled{cursor:not-allowed;opacity:.55}@media (max-width:480px){.dcm-card{padding:24px 20px 20px}}.chm-overlay{align-items:center;animation:chm-fade-in .15s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000073;display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:9999}@keyframes chm-fade-in{0%{opacity:0}to{opacity:1}}.chm-card{align-items:center;animation:chm-slide-up .18s cubic-bezier(.34,1.56,.64,1);background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e,0 4px 16px #0000001a;box-sizing:border-box;display:flex;flex-direction:column;max-width:420px;padding:32px 28px 24px;text-align:center;width:100%}@keyframes chm-slide-up{0%{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.chm-icon{align-items:center;background:#ef444414;border-radius:50%;display:flex;font-size:2.5rem;height:64px;justify-content:center;margin-bottom:16px;width:64px}.chm-title{color:#111827;font-size:1.125rem;font-weight:700;margin:0 0 10px}.chm-body{color:#6b7280;font-size:.9rem;line-height:1.55;margin:0 0 20px}.chm-resources{gap:10px;margin-bottom:24px}.chm-resource,.chm-resources{display:flex;flex-direction:column;width:100%}.chm-resource{align-items:flex-start;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;box-sizing:border-box;cursor:pointer;font-family:inherit;gap:4px;overflow-wrap:break-word;padding:12px 14px;text-align:left;text-decoration:none;transition:all .2s ease}.chm-resource:hover{background:#fee2e2;border-color:#fca5a5;transform:translateY(-1px)}.chm-resource-text{display:flex;flex-direction:column;gap:2px;width:100%}.chm-resource-label{color:#7f1d1d;font-size:.875rem;font-weight:700}.chm-resource-detail{color:#9ca3af;font-size:.75rem}.chm-resource-phone{color:#b91c1c;font-size:.85rem;font-weight:700;margin-top:2px}.chm-close{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;box-sizing:border-box;color:#374151;cursor:pointer;font-size:.9rem;font-weight:600;padding:11px 0;transition:all .2s ease;width:100%}.chm-close:hover{background:#e5e7eb}@media (max-width:480px){.chm-card{padding:24px 20px 20px}}.chat-dashboard{background:#fafafa;display:flex;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;height:100vh;left:0;overflow:hidden;position:fixed;top:0;width:100vw}.sidebar-container{flex-shrink:0;overflow:hidden;transition:width .3s cubic-bezier(.4,0,.2,1);width:0;width:var(--sidebar-width,0)}.sidebar{background:#6d28d9;box-shadow:none;box-shadow:var(--sidebar-shadow,none);color:#fff;flex-direction:column;height:100vh;width:320px}.sidebar,.sidebar-content{display:flex;overflow:hidden}.sidebar-content{flex:1 1;flex-direction:column;min-height:0;padding:20px}.main-content{display:flex;flex:1 1;flex-direction:column;max-width:100%;min-width:0;overflow:hidden}.header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-bottom:1px solid #0000001a;flex-shrink:0;height:56px;padding:0 16px;z-index:100}.hamburger-btn,.header{align-items:center;display:flex}.hamburger-btn{background:none;border:none;border-radius:6px;color:#374151;cursor:pointer;font-size:20px;height:40px;justify-content:center;padding:8px;transition:all .2s ease;width:40px}.hamburger-btn:hover{background:#0000000d}.hamburger-btn:active{transform:scale(.95)}.header-title{color:#374151;font-size:18px;font-weight:600;left:50%;position:absolute;transform:translateX(-50%)}.chat-content{display:flex;flex:1 1;flex-direction:column;min-height:0;overflow:hidden}.sidebar-heading{color:#ffffffe6;font-size:16px;font-weight:600;margin-bottom:16px}.chat-list{flex:1 1;margin-bottom:12px;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-color:#fff3 #0000;scrollbar-width:thin}.chat-list::-webkit-scrollbar{width:4px}.chat-list::-webkit-scrollbar-track{background:#0000}.chat-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.chat-list::-webkit-scrollbar-thumb:hover{background:#ffffff59}.new-chat-btn{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:center;margin-bottom:16px;padding:16px 20px;transition:all .2s ease;width:100%}.new-chat-btn:hover{background:#ffffff26}.logout-btn{align-items:center;background:#dc2626e6;border:1px solid #dc2626cc;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:14px;font-weight:500;gap:8px;justify-content:center;padding:16px 20px;transition:all .2s ease;width:100%}.logout-btn:hover{background:#dc2626;border-color:#dc2626}.chat-date-group{margin-bottom:4px}.chat-date-label{color:#ffffff73;font-size:11px;font-weight:600;letter-spacing:.6px;margin:0;padding:10px 4px 4px;text-transform:uppercase;-webkit-user-select:none;user-select:none}.chat-date-group:first-child .chat-date-label{padding-top:2px}.chat-item-container{align-items:center;border-radius:8px;display:flex;margin-bottom:4px;overflow:hidden;transition:all .2s ease}.chat-item-container:hover{background:#ffffff1a}.chat-link{background:none;border:none;border-radius:8px;color:#fffc;cursor:pointer;flex:1 1;font-size:14px;font-weight:400;line-height:1.4;padding:12px 16px;text-align:left;transition:all .2s ease}.chat-link.active{background:#ffffff26;color:#fff;font-weight:500}.chat-link:hover{color:#fff}.delete-btn{align-items:center;background:none;border:none;border-radius:4px;color:#ffffff73;cursor:pointer;display:flex;flex-shrink:0;font-size:14px;height:28px;justify-content:center;margin-right:8px;opacity:.45;padding:4px;transition:all .2s ease;width:28px}.chat-item-container:hover .delete-btn{color:#fffc;opacity:1}.delete-btn:hover{background:#ef444440;color:#ef4444!important;opacity:1;transform:scale(1.1)}.chat-panel{height:100%;overflow:hidden;position:relative}.chat-panel,.messages{background:#fff;display:flex;flex:1 1;flex-direction:column}.messages{box-sizing:border-box;gap:8px;overflow-x:hidden;overflow-y:auto;padding:20px;width:100%}.date-header{color:#9ca3af;font-size:12px;font-weight:500;letter-spacing:.5px;margin:16px 0 8px;text-align:center;text-transform:uppercase}.message-container{display:flex;margin-bottom:8px}.user-container{align-items:center;justify-content:flex-end}.bot-container{align-items:center;justify-content:flex-start;max-width:65%}.message{word-wrap:break-word;border-radius:18px;box-shadow:0 1px 2px #0000000d;box-sizing:border-box;font-size:15px;line-height:1.6;max-width:100%;overflow-wrap:break-word;padding:12px 16px;position:relative;width:-webkit-fit-content;width:fit-content;word-break:break-word}.user{align-self:flex-end;background:linear-gradient(135deg,#6d28d9,#8c3cff);border-bottom-right-radius:4px;color:#fff}.bot{align-self:flex-start;background:#f1f5f9;border:1px solid #00000014;border-bottom-left-radius:4px;color:#374151}.typing-message{align-items:center;display:flex;gap:5px;min-width:56px;padding:14px 18px}.typing-dot{animation:typing-bounce 1.3s ease-in-out infinite;background:#374151;border-radius:50%;height:7px;width:7px}.chat-dashboard.dark .typing-dot{background:#e5e7eb}.typing-dot:nth-child(2){animation-delay:.18s}.typing-dot:nth-child(3){animation-delay:.36s}@keyframes typing-bounce{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}.message.has-audio{padding:12px}.audio-message-content{display:flex;flex-direction:column;gap:0;width:100%}.audio-player{background:#0000;gap:12px}.audio-player,.play-pause-btn{align-items:center;display:flex;padding:0}.play-pause-btn{background:#6d28d9;border:none;border-radius:50%;box-shadow:0 2px 8px #6d28d94d;color:#fff;cursor:pointer;flex-shrink:0;font-size:16px;height:36px;justify-content:center;transition:all .2s ease;width:36px}.play-pause-btn:hover{background:#5b21b6;transform:scale(1.05)}.play-pause-btn:active{transform:scale(.95)}.user .play-pause-btn{background:#fff;box-shadow:0 2px 8px #00000026;color:#6d28d9}.user .play-pause-btn:hover{background:#ffffffe6}.audio-info{display:flex;flex:1 1;flex-direction:column;gap:6px;min-width:0}.audio-wave{align-items:center;display:flex;gap:2px;height:24px}.wave-bar{background:#6d28d94d;border-radius:2px;transition:all .3s ease;width:3px}.user .wave-bar{background:#fff6}.progress-bar-container{background-color:#0000001a;border-radius:2px;cursor:pointer;flex:1 1;height:4px;overflow:hidden;position:relative;transition:height .2s ease}.progress-bar-container:hover{height:6px}.user .progress-bar-container{background-color:#ffffff4d}.progress-bar{background-color:#6d28d9;border-radius:2px;height:100%;transition:width .1s linear}.user .progress-bar{background-color:#fff}.time-display{font-feature-settings:"tnum";color:#6b7280;font-size:12px;font-variant-numeric:tabular-nums;font-weight:500;letter-spacing:.3px}.user .time-display{color:#fffc}.view-translation-btn{background:#0000;border:none;color:#6d28d9;cursor:pointer;font-size:13px;font-weight:500;padding:8px 0 0;text-align:left;text-decoration:underline;text-underline-offset:2px;transition:all .2s ease}.user .view-translation-btn{color:#ffffffe6}.view-translation-btn:hover{opacity:.7;text-decoration:none}.translation-text{border-top:1px solid #0000001a;color:#374151;font-size:14px;margin-top:8px;padding-top:8px;white-space:pre-line}.user .translation-text{border-top-color:#fff3;color:#fffffff2}.emotion-display{color:#00000080;font-size:11px;font-style:italic;margin-top:6px}.user .emotion-display{color:#ffffffb3}.message-content-wrapper{display:flex;flex-direction:column}.timestamp{color:#9ca3af;font-size:11px;font-weight:500;opacity:0;padding:0 4px;transition:opacity .18s ease}.message-content-wrapper:hover .timestamp{opacity:1}.input-bar{align-items:flex-end;border-top:1px solid #0000001a;gap:10px;padding:16px 20px}.input-bar,.mic-btn{background:#fff;display:flex;flex-shrink:0}.mic-btn{align-items:center;border:1px solid #ddd;border-radius:10px;cursor:pointer;font-size:20px;height:44px;justify-content:center;transition:all .2s ease;width:44px}.mic-btn:hover{background:#f9fafb;border-color:#6d28d9}.mic-btn.recording{animation:pulse 1.5s infinite;background:#ffeaea;border-color:#ffb3b3}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.input-stack{align-items:center;display:flex;flex:1 1;min-width:0}.input-box{background:#fff;border:1px solid #00000026;border-radius:12px;box-sizing:border-box;flex:1 1;font-family:inherit;font-size:16px;line-height:1.5;max-height:120px;min-height:44px;outline:none;overflow-y:auto;padding:12px 16px;resize:none;transition:all .2s ease}.input-box:focus{border-color:#6d28d9;box-shadow:0 0 0 2px #6d28d91a}.send-btn{background:#6d28d9;border:none;border-radius:10px;color:#fff;cursor:pointer;flex-shrink:0;font-size:14px;font-weight:500;height:44px;min-width:80px;padding:12px 20px;transition:all .2s ease}.send-btn:hover:not(:disabled){background:#5b21b6}.send-btn:disabled{background:#d1d5db;cursor:not-allowed;opacity:.6}.audio-preview{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:12px;padding:8px 12px;width:100%}.audio-preview audio{flex:1 1;height:32px;min-width:0}.audio-actions{display:flex;flex-shrink:0;gap:8px}.send-voice-btn{background:#6d28d9;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s ease}.send-voice-btn:hover:not(:disabled){background:#5b21b6}.send-voice-btn:disabled{cursor:not-allowed;opacity:.5}.discard-voice-btn{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s ease}.discard-voice-btn:hover:not(:disabled){background:#e5e7eb}.discard-voice-btn:disabled{cursor:not-allowed;opacity:.5}.markdown-content{background:#0000;color:inherit;line-height:1.6;min-width:0;width:100%}.markdown-content p{color:inherit;margin:0 0 12px;max-width:100%}.markdown-content p:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3{color:inherit;margin-bottom:8px;margin-top:16px}.markdown-content h1:first-child,.markdown-content h2:first-child,.markdown-content h3:first-child{margin-top:0}.markdown-content ol,.markdown-content ul{margin:12px 0;padding-left:20px}.markdown-content li{color:inherit;margin-bottom:4px}.markdown-content blockquote{border-left:3px solid #0000001a;color:inherit;font-style:italic;margin:12px 0;opacity:.8;padding-left:12px}.markdown-content code{background:#0000000d;border-radius:4px;color:inherit;font-size:.9em;padding:2px 6px}.markdown-content strong{color:inherit;font-weight:600}.markdown-content em{color:inherit;font-style:italic}.welcome-screen{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;padding:32px;text-align:center}.welcome-content{max-width:600px;width:100%}.welcome-title{color:#374151;font-size:2rem;font-weight:700;margin-bottom:.5rem}.welcome-description{color:#6b7280;font-size:1rem;line-height:1.6;margin-bottom:2rem}.features-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.feature-card{background:#6d28d90d;border:1px solid #6d28d91a;border-radius:12px;padding:1.5rem;transition:all .2s ease}.feature-card:hover{box-shadow:0 4px 12px #6d28d91a;transform:translateY(-2px)}.feature-icon{font-size:2rem;margin-bottom:.75rem}.feature-title{color:#374151;font-size:1rem;font-weight:600;margin-bottom:.5rem}.feature-description{color:#6b7280;font-size:.875rem;line-height:1.5}.welcome-footer{color:#9ca3af;font-size:.9rem;margin-top:1rem}.welcome-icon-container{align-items:center;display:flex;height:100px;justify-content:center;margin:0 auto 2rem;position:relative;width:100px}.welcome-icon{font-size:3rem;z-index:1}.ripple{animation:ripple-animation 2s ease-out infinite;background-color:#6d28d91a;border-radius:50%;position:absolute}.ripple-1{animation-delay:0s}.ripple-2{animation-delay:.5s}.ripple-3{animation-delay:1s}@keyframes ripple-animation{0%{opacity:1;transform:scale(.8)}to{opacity:0;transform:scale(2.5)}}.suggestions-container{margin-top:2.5rem;text-align:center}.suggestions-intro,.suggestions-outro{color:#6b7280;font-size:1rem;margin-bottom:1rem}.suggestions-list{flex-direction:column}.suggestion-item,.suggestions-list{align-items:center;display:flex;gap:.75rem}.suggestion-item{background:#f3f4f6;border:none;border-radius:9999px;cursor:pointer;font-family:inherit;opacity:0;padding:.75rem 1.25rem;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease,background .15s ease,box-shadow .15s ease}.suggestion-item:focus-visible,.suggestion-item:hover{background:#e9d5ff;box-shadow:0 2px 8px #6d28d92e;outline:none}.suggestion-visible{opacity:1;transform:translateY(0)}.suggestion-icon{font-size:1.2rem}.suggestion-text{color:#374151;font-size:.95rem}.welcome-prompt{color:#4b5563;font-size:1.1rem;font-weight:500;margin-top:2rem;min-height:1.5em}.dot-flashing-container{display:inline-block;margin-left:4px}.dot-flashing{animation:dot-flashing 1s linear infinite;display:inline-block}.dot-flashing:nth-child(2){animation-delay:.2s}.dot-flashing:nth-child(3){animation-delay:.4s}@keyframes dot-flashing{0%,to{opacity:0}50%{opacity:1}}.floating-particles{height:100%;left:0;overflow:hidden;pointer-events:none;position:absolute;top:0;width:100%}.particle{animation:float-up 8s ease-in-out infinite;font-size:1.5rem;opacity:0;position:absolute}.particle-1{animation-delay:0s;left:15%;top:20%}.particle-2{animation-delay:2s;left:80%;top:50%}.particle-3{animation-delay:4s;left:10%;top:80%}.particle-4{animation-delay:6s;left:90%;top:10%}.particle-5{animation-delay:1s;left:30%;top:60%}.particle-6{animation-delay:3s;left:70%;top:90%}@keyframes float-up{0%{opacity:0;transform:translateY(0) rotate(0deg)}25%{opacity:.7}50%{transform:translateY(-100px) rotate(180deg)}75%{opacity:.7}to{opacity:0;transform:translateY(-200px) rotate(1turn)}}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;margin:16px;padding:16px}.error-message,.loading-text{font-size:14px;text-align:center}.loading-text{color:#6b7280;padding:32px}@media (max-width:768px){.sidebar-container{box-shadow:none;box-shadow:var(--sidebar-shadow,none);height:100vh;left:0;position:fixed;top:0;width:0;width:var(--sidebar-width,0);z-index:1000}.sidebar{width:280px}.main-content{width:100%}.bot-container,.message{max-width:85%}.features-grid{grid-template-columns:1fr}.input-bar{gap:8px;padding:12px}.mic-btn{height:40px;width:40px}.send-btn{min-width:70px;padding:10px 16px}.audio-preview{align-items:stretch;flex-direction:column}.audio-actions{justify-content:stretch;width:100%}.discard-voice-btn,.send-voice-btn{flex:1 1}}.chat-dashboard.dark,.chat-dashboard.dark .main-content{background:#111827}.chat-dashboard.dark .header{background:#1f2937;border-bottom-color:#ffffff14}.chat-dashboard.dark .hamburger-btn,.chat-dashboard.dark .header-title{color:#e5e7eb}.chat-dashboard.dark .messages{background:#111827}.chat-dashboard.dark .date-header{background:#111827;color:#6b7280}.chat-dashboard.dark .bot{background:#1f2937;border-color:#ffffff14;color:#e5e7eb}.chat-dashboard.dark .input-bar{background:#1f2937;border-top-color:#ffffff14}.chat-dashboard.dark .input-box{background:#374151;border-color:#ffffff26;color:#e5e7eb}.chat-dashboard.dark .input-box::placeholder{color:#9ca3af}.chat-dashboard.dark .input-box:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px #8b5cf633}.chat-dashboard.dark .mic-btn{background:#374151;border-color:#ffffff26;color:#e5e7eb}.chat-dashboard.dark .typing-dot{background:#6b7280}.chat-dashboard.dark .timestamp{color:#6b7280}.header-actions{align-items:center;display:flex;gap:8px;margin-left:auto}.dark-toggle-btn{background:none;border:1px solid #00000026;border-radius:8px;color:#374151;cursor:pointer;font-size:16px;line-height:1;margin-left:auto;padding:6px 10px;transition:background .15s ease}.header-actions .dark-toggle-btn{margin-left:0}.chat-dashboard.dark .dark-toggle-btn{border-color:#fff3;color:#e5e7eb}.dark-toggle-btn:hover{background:#ffffff1a}.crisis-help-btn{background:#fee2e2;border:1px solid #fecaca;border-radius:20px;color:#b91c1c;cursor:pointer;font-size:13px;font-weight:600;padding:6px 14px;transition:all .15s ease;white-space:nowrap}.crisis-help-btn:hover{background:#fecaca;border-color:#fca5a5}.chat-dashboard.dark .crisis-help-btn{background:#ef444426;border-color:#ef44444d;color:#fca5a5}.chat-dashboard.dark .crisis-help-btn:hover{background:#ef444440}@media (max-width:480px){.crisis-help-btn{font-size:12px;padding:6px 10px}.header{padding:0 10px}.header-title{font-size:15px}.header-actions{gap:6px}.welcome-screen{padding:20px 16px}.welcome-icon-container{height:72px;margin-bottom:1.25rem;width:72px}.welcome-icon{font-size:2.2rem}.welcome-title{font-size:1.5rem}.welcome-description{font-size:.9rem}.input-bar{gap:6px;padding:10px}.mic-btn{font-size:18px;height:38px;width:38px}.send-btn{font-size:13px;min-width:60px;padding:10px 12px}.input-box{font-size:16px;padding:10px 12px}}
/*# sourceMappingURL=main.568fd6f6.css.map*/