/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-md:.375rem;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}}:root{--color-primary:#6366f1;--color-primary-hover:#4f46e5;--color-primary-light:#818cf8;--color-primary-glow:#6366f126;--color-surface:#1e1e2e;--color-surface-alt:#181825;--color-surface-hover:#2a2a3d;--color-surface-active:#313149;--color-bg:#11111b;--color-text:#cdd6f4;--color-text-bright:#f5f5f7;--color-text-muted:#6c7086;--color-border:#313244;--color-border-light:#45475a;--color-client-bubble:#313244;--color-agent-bubble:#6366f1;--color-ai-bubble:#1e1b35;--color-ai-border:#7c3aed;--color-success:#a6e3a1;--color-warning:#f9e2af;--color-danger:#f38ba8;--color-waiting:#f9e2af;--color-active:#a6e3a1;--shadow-sidebar:4px 0 24px #0000004d;--shadow-panel:0 8px 32px #0003;--radius-md:.75rem;--radius-lg:1rem;--radius-bubble:1.125rem;--transition-base:.2s cubic-bezier(.4, 0, .2, 1)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}body{background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,system-ui,-apple-system,sans-serif}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{50%{opacity:.5}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}.dashboard-layout{height:100dvh;display:block;overflow:hidden}.sidebar{background:var(--color-surface);border-right:1px solid var(--color-border);width:100%;min-width:0;height:100%;box-shadow:var(--shadow-sidebar);z-index:10;flex-direction:column;display:flex}.sidebar-header{border-bottom:1px solid var(--color-border);background:linear-gradient(180deg,var(--color-surface-alt),var(--color-surface));padding:1.25rem 1.5rem}.sidebar-header h1{color:var(--color-text-bright);letter-spacing:-.02em;align-items:center;gap:.625rem;font-family:Outfit,Inter,sans-serif;font-size:1.375rem;font-weight:700;display:flex}.sidebar-header h1 .logo-icon{background:linear-gradient(135deg,var(--color-primary),var(--color-primary-hover));border-radius:.5rem;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.sidebar-status{color:var(--color-text-muted);align-items:center;gap:.5rem;margin-top:.5rem;font-size:.75rem;display:flex}.status-dot{border-radius:50%;width:8px;height:8px;display:inline-block}.status-dot.online{background:var(--color-success);animation:2s ease-in-out infinite pulse}.status-dot.offline{background:var(--color-danger)}.chat-list{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent;flex:1;overflow-y:auto}.chat-list::-webkit-scrollbar{width:4px}.chat-list::-webkit-scrollbar-track{background:0 0}.chat-list::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}.chat-list-section{padding:.75rem 1rem .25rem}.chat-list-section h3{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted);margin-bottom:.25rem;font-size:.688rem;font-weight:700}.chat-item{cursor:pointer;transition:all var(--transition-base);border-left:3px solid #0000;align-items:center;gap:.75rem;padding:.75rem 1rem;animation:.2s ease-out fadeIn;display:flex}.chat-item:hover{background:var(--color-surface-hover)}.chat-item.active{background:var(--color-surface-active);border-left-color:var(--color-primary)}.chat-item-avatar{background:linear-gradient(135deg,var(--color-primary),#a78bfa);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:.875rem;font-weight:700;display:flex}.chat-item-info{flex:1;min-width:0}.chat-item-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.chat-item-name{color:var(--color-text-bright);white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:600;overflow:hidden}.chat-item-time{color:var(--color-text-muted);flex-shrink:0;font-size:.688rem}.chat-item-preview{color:var(--color-text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:.125rem;font-size:.8rem;overflow:hidden}.chat-item-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:9999px;padding:.125rem .5rem;font-size:.625rem;font-weight:700}.chat-item-badge.waiting{color:var(--color-waiting);background:#f9e2af26}.chat-item-badge.active{color:var(--color-active);background:#a6e3a126}.chat-list-empty{color:var(--color-text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:3rem 1.5rem;display:flex}.chat-list-empty svg{opacity:.3;width:40px;height:40px}.chat-list-empty p{font-size:.875rem}.main-panel{background:var(--color-bg);flex-direction:column;flex:1;width:100%;height:100%;display:none;overflow:hidden}.dashboard-layout.chat-selected .sidebar{display:none}.dashboard-layout.chat-selected .main-panel{display:flex}.panel-header{background:var(--color-surface);border-bottom:1px solid var(--color-border);flex-shrink:0;align-items:center;gap:.75rem;padding:1rem 1.5rem;display:flex}.panel-header-avatar{background:linear-gradient(135deg,var(--color-primary),#a78bfa);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:.813rem;font-weight:700;display:flex}.panel-header-info h2{color:var(--color-text-bright);font-size:.938rem;font-weight:600}.panel-header-info{flex:1;min-width:0}.panel-header-info p{color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.mobile-back-btn{border:1px solid var(--color-border);border-radius:var(--radius-md);width:44px;height:44px;color:var(--color-text);cursor:pointer;background:0 0;flex:0 0 44px;justify-content:center;align-items:center;display:flex}.mobile-back-btn svg{width:20px;height:20px}.dashboard-messages{scrollbar-width:thin;scrollbar-color:var(--color-border) transparent;flex-direction:column;flex:1;gap:.75rem;padding:1.25rem 1.5rem;display:flex;overflow-y:auto}.dashboard-messages::-webkit-scrollbar{width:4px}.dashboard-messages::-webkit-scrollbar-track{background:0 0}.dashboard-messages::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:4px}.msg-bubble{border-radius:var(--radius-bubble);word-wrap:break-word;max-width:65%;padding:.75rem 1rem;font-size:.875rem;line-height:1.55;animation:.25s ease-out fadeIn}.msg-bubble.client{background:var(--color-client-bubble);color:var(--color-text);border-bottom-left-radius:4px;align-self:flex-start}.msg-bubble.agent{background:var(--color-agent-bubble);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.msg-bubble.ai{background:var(--color-ai-bubble);color:var(--color-text);border:1px solid var(--color-ai-border);border-bottom-left-radius:4px;align-self:flex-start}.msg-sender-label{text-transform:uppercase;letter-spacing:.05em;opacity:.6;margin-bottom:.25rem;font-size:.688rem;font-weight:600}.msg-time{opacity:.45;text-align:right;margin-top:.25rem;font-size:.688rem}.dashboard-input-bar{border-top:1px solid var(--color-border);background:var(--color-surface);flex-shrink:0;align-items:center;gap:.625rem;padding:.875rem 1.25rem;display:flex}.dashboard-input-bar input{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt);min-width:0;min-height:44px;color:var(--color-text);transition:border-color var(--transition-base),box-shadow var(--transition-base);outline:none;flex:1;padding:.75rem 1rem;font-family:inherit;font-size:.875rem}.dashboard-input-bar input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-glow)}.dashboard-input-bar input::placeholder{color:var(--color-text-muted)}.dashboard-send-btn{border-radius:var(--radius-md);background:linear-gradient(135deg,var(--color-primary),var(--color-primary-hover));color:#fff;cursor:pointer;width:44px;height:44px;transition:all var(--transition-base);border:none;flex-shrink:0;justify-content:center;align-items:center;display:flex}.dashboard-send-btn:hover{transform:scale(1.05);box-shadow:0 4px 16px #6366f166}.dashboard-send-btn:active{transform:scale(.95)}.dashboard-send-btn:disabled{opacity:.3;cursor:not-allowed;box-shadow:none;transform:none}.dashboard-send-btn svg{width:20px;height:20px}.empty-panel{color:var(--color-text-muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1rem;display:flex}.empty-panel svg{opacity:.15;width:64px;height:64px}.empty-panel h2{color:var(--color-text);font-family:Outfit,sans-serif;font-size:1.25rem;font-weight:600}.empty-panel p{text-align:center;max-width:300px;font-size:.875rem;line-height:1.6}.login-page{background:var(--color-bg);justify-content:center;align-items:center;min-height:100dvh;padding:1.5rem;display:flex}.login-card{background:var(--color-surface);border-radius:var(--radius-lg);border:1px solid var(--color-border);width:100%;max-width:400px;box-shadow:var(--shadow-panel);padding:2.5rem 2rem;animation:.4s ease-out fadeIn}.login-card-header{text-align:center;margin-bottom:2rem}.login-card-header .logo{background:linear-gradient(135deg,var(--color-primary),var(--color-primary-hover));border-radius:.75rem;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 1rem;display:flex}.login-card-header h1{color:var(--color-text-bright);letter-spacing:-.02em;font-family:Outfit,sans-serif;font-size:1.5rem;font-weight:700}.login-card-header p{color:var(--color-text-muted);margin-top:.375rem;font-size:.875rem}.login-card form{flex-direction:column;gap:1.125rem;display:flex}.login-card .field{flex-direction:column;gap:.375rem;display:flex}.login-card .field label{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.06em;font-size:.75rem;font-weight:600}.login-card .field input{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-alt);color:var(--color-text);transition:border-color var(--transition-base),box-shadow var(--transition-base);outline:none;padding:.75rem 1rem;font-family:inherit;font-size:.875rem}.login-card .field input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-glow)}.login-card .field input::placeholder{color:var(--color-text-muted)}.login-card-btn{border-radius:var(--radius-md);background:linear-gradient(135deg,var(--color-primary),var(--color-primary-hover));color:#fff;cursor:pointer;width:100%;transition:all var(--transition-base);border:none;margin-top:.5rem;padding:.813rem;font-family:inherit;font-size:.875rem;font-weight:600}.login-card-btn:hover{transform:translateY(-1px);box-shadow:0 4px 20px #6366f180}.login-card-btn:active{transform:translateY(0)}.login-card-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.login-card-error{color:var(--color-danger);text-align:center;border-radius:var(--radius-md);background:#f38ba81a;border:1px solid #f38ba833;padding:.625rem;font-size:.813rem}.sidebar-footer{border-top:1px solid var(--color-border);background:var(--color-surface-alt);padding:.75rem 1rem}.sidebar-footer button{border:1px solid var(--color-border);border-radius:var(--radius-md);width:100%;min-height:44px;color:var(--color-text-muted);cursor:pointer;transition:all var(--transition-base);background:0 0;padding:.5rem;font-family:inherit;font-size:.8rem}.sidebar-footer button:hover{background:var(--color-surface-hover);color:var(--color-text);border-color:var(--color-border-light)}@media(min-width:900px){.dashboard-layout{height:100vh;display:flex}.sidebar{width:340px;min-width:340px}.main-panel,.dashboard-layout.chat-selected .main-panel,.dashboard-layout.chat-selected .sidebar{display:flex}.mobile-back-btn{display:none}}
