.spinner{border:3px solid var(--color-border-light);border-top-color:var(--color-primary);border-radius:50%;animation:spin .7s cubic-bezier(.4,0,.2,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.trial-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999}.trial-modal{background:#fff;border-radius:16px;padding:32px;max-width:480px;width:90%;text-align:center;box-shadow:0 20px 60px #0000004d}.trial-modal__icon{margin-bottom:16px}.trial-modal__title{font-size:20px;font-weight:700;color:var(--color-text);margin:0 0 8px}.trial-modal__desc{font-size:14px;color:var(--color-text-secondary);margin:0 0 24px;line-height:1.5}.trial-modal__plans{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.trial-modal__plan{position:relative;display:block;width:100%;text-align:left;padding:14px 16px;border:2px solid var(--color-border);border-radius:10px;background:#fff;cursor:pointer;font-family:inherit;transition:all .15s ease}.trial-modal__plan:hover{border-color:var(--color-primary)}.trial-modal__plan--active{border-color:var(--color-primary);background:#eef2ff}.trial-modal__plan-header{display:flex;align-items:center;justify-content:space-between}.trial-modal__plan-header h4{font-size:15px;font-weight:700;margin:0}.trial-modal__popular{padding:2px 8px;background:#2563eb;color:#fff;border-radius:10px;font-size:10px;font-weight:700}.trial-modal__price{font-size:20px;font-weight:800;margin-top:4px}.trial-modal__price span{font-size:12px;font-weight:400;color:var(--color-text-light)}.trial-modal__check{position:absolute;top:10px;right:10px;width:22px;height:22px;border-radius:50%;background:var(--color-primary);display:flex;align-items:center;justify-content:center}.trial-modal__cta{width:100%;padding:12px;font-size:15px;font-weight:600}.feature-gate{display:flex;align-items:center;justify-content:center;min-height:60vh;padding:40px}.feature-gate__loading{display:flex;align-items:center;justify-content:center;min-height:60vh}.feature-gate__card{text-align:center;max-width:420px;padding:40px;background:#fff;border-radius:16px;border:1px solid var(--color-border);box-shadow:var(--shadow-lg)}.feature-gate__icon{color:#f59e0b;margin-bottom:16px}.feature-gate__title{font-size:20px;font-weight:700;margin:0 0 8px;color:var(--color-text)}.feature-gate__desc{font-size:14px;color:var(--color-text-secondary);line-height:1.5;margin:0 0 24px}.feature-gate__cta{padding:10px 32px;font-size:14px}.install-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:95;display:flex;align-items:center;gap:12px;padding:12px 14px;background:linear-gradient(135deg,#0b1120,#1e1b4b);border:1px solid rgba(165,180,252,.3);border-radius:14px;box-shadow:0 12px 40px #0f172a59,0 0 0 1px #6366f126;color:#fff;animation:installSlide .36s cubic-bezier(.34,1.56,.64,1) both;max-width:480px;margin-left:auto;margin-right:auto}@keyframes installSlide{0%{transform:translateY(140%);opacity:0}to{transform:translateY(0);opacity:1}}.install-banner__icon{flex-shrink:0;width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#06b6d4);border-radius:10px;box-shadow:0 4px 12px #6366f166}.install-banner__text{flex:1;min-width:0}.install-banner__title{font-size:13px;font-weight:700;letter-spacing:-.1px;line-height:1.2}.install-banner__subtitle{font-size:11.5px;color:#e2e8f0b3;line-height:1.35;margin-top:2px}.install-banner__install-btn{display:inline-flex;align-items:center;gap:4px;padding:8px 12px;border:0;border-radius:10px;background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff;font-size:12px;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease;box-shadow:0 4px 12px #6366f159;flex-shrink:0;-webkit-tap-highlight-color:transparent}.install-banner__install-btn:active{transform:scale(.95)}.install-banner__close{flex-shrink:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:#ffffff14;color:#e2e8f0b3;border-radius:50%;cursor:pointer;-webkit-tap-highlight-color:transparent}.install-banner__close:active{background:#ffffff24}@media(max-width:768px){.install-banner{bottom:calc(82px + env(safe-area-inset-bottom))}}.cmdk-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#0b11208c;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;animation:cmdkFadeIn .18s ease}@keyframes cmdkFadeIn{0%{opacity:0}to{opacity:1}}.cmdk-panel{width:min(560px,calc(100vw - 32px));max-height:72vh;background:#fff;border:1px solid rgba(165,180,252,.25);border-radius:16px;box-shadow:0 20px 60px #0f172a4d,0 0 0 1px #6366f114;overflow:hidden;display:flex;flex-direction:column;animation:cmdkPop .22s cubic-bezier(.16,1,.3,1)}@keyframes cmdkPop{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.cmdk-input-wrap{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.06);position:relative}.cmdk-input-icon{color:var(--color-text-light);flex-shrink:0}.cmdk-input{flex:1;border:0;outline:0;font-size:15px;font-family:inherit;color:var(--color-text);background:transparent;letter-spacing:-.2px}.cmdk-input::placeholder{color:var(--color-text-light)}.cmdk-kbd{padding:2px 6px;font-family:inherit;font-size:10px;font-weight:600;color:var(--color-text-light);background:#0f172a0d;border:1px solid rgba(15,23,42,.08);border-radius:5px;line-height:1;flex-shrink:0}.cmdk-list{flex:1;overflow-y:auto;padding:6px}.cmdk-empty{padding:24px 16px;text-align:center;font-size:13px;color:var(--color-text-light)}.cmdk-item{width:100%;display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:var(--color-text);font-family:inherit;font-size:13.5px;font-weight:500;text-align:left;cursor:pointer;transition:background .12s ease;letter-spacing:-.1px;-webkit-tap-highlight-color:transparent}.cmdk-item--active{background:linear-gradient(90deg,#6366f11a,#06b6d40d)}.cmdk-item-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#0f172a0a;color:var(--color-text-secondary);flex-shrink:0;transition:all .15s ease}.cmdk-item--active .cmdk-item-icon{background:linear-gradient(135deg,#6366f1,#06b6d4);color:#fff;box-shadow:0 2px 8px #6366f159}.cmdk-item-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmdk-item-return{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:var(--color-primary);flex-shrink:0;animation:cmdkReturnPulse 1.2s ease-in-out infinite}@keyframes cmdkReturnPulse{0%,to{opacity:.6;transform:translate(0)}50%{opacity:1;transform:translate(-2px)}}.cmdk-item--admin{border:1px dashed rgba(192,132,252,.35);margin:2px 0}.cmdk-item--admin.cmdk-item--active{background:linear-gradient(90deg,#8b5cf624,#6366f114)}.cmdk-footer{display:flex;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid rgba(15,23,42,.06);background:linear-gradient(180deg,transparent,rgba(248,250,252,.4));font-size:11px;color:var(--color-text-light)}.cmdk-hint{display:inline-flex;align-items:center;gap:5px}.cmdk-hint kbd{padding:2px 5px;font-family:inherit;font-size:10px;font-weight:600;background:#0f172a0d;border:1px solid rgba(15,23,42,.1);border-radius:4px;line-height:1;display:inline-flex;align-items:center;gap:2px}.cmdk-brand{margin-left:auto;display:inline-flex;align-items:center;gap:4px;font-weight:700;color:var(--color-text-secondary);letter-spacing:-.1px}@media(max-width:640px){.cmdk-backdrop{padding-top:8vh}.cmdk-panel{width:calc(100vw - 16px);max-height:80vh}.cmdk-footer{flex-wrap:wrap;gap:8px;font-size:10.5px}}.audit-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;background:linear-gradient(90deg,#fbbf24,#f59e0b);color:#78350f;font-size:13px;font-weight:500;position:relative;z-index:30;box-shadow:0 1px 3px #00000014}.audit-banner__content{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.audit-banner__icon{flex-shrink:0;color:#78350f}.audit-banner__text{flex:1;min-width:0}.audit-banner__text strong{font-weight:700}.audit-banner__back{flex-shrink:0;background:#78350f26;border:1px solid rgba(120,53,15,.25);color:#78350f;padding:5px 12px;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s ease}.audit-banner__back:hover{background:#78350f40}.audit-banner__close{background:transparent;border:none;color:#78350f;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.audit-banner__close:hover{background:#78350f26}@media(max-width:768px){.audit-banner{flex-wrap:wrap;padding:8px 12px;font-size:12px}.audit-banner__back{font-size:11px;padding:4px 10px}}:root{--color-primary: #8B5CF6;--color-primary-dark: #7C3AED;--color-primary-darker: #6D28D9;--color-primary-light: #A78BFA;--color-primary-50: rgba(139, 92, 246, .05);--color-primary-100: rgba(139, 92, 246, .1);--color-secondary: #6366F1;--color-secondary-dark: #4F46E5;--color-secondary-light: #A5B4FC;--color-accent: #06D6A0;--color-accent-dark: #05B588;--color-accent-light: #34E5B3;--gradient-brand: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);--gradient-brand-subtle: linear-gradient(135deg, rgba(139, 92, 246, .08) 0%, rgba(139, 92, 246, .02) 100%);--gradient-brand-vibrant: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 50%, #6366F1 100%);--gradient-cyan: linear-gradient(135deg, #06D6A0 0%, #05B588 100%);--gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);--gradient-tech-dark: linear-gradient(135deg, #0a0613 0%, #1E1B4B 50%, #312E81 100%);--gradient-mesh: radial-gradient(at 15% 20%, rgba(139, 92, 246, .28) 0, transparent 45%), radial-gradient(at 85% 15%, rgba(99, 102, 241, .18) 0, transparent 40%), radial-gradient(at 50% 90%, rgba(6, 214, 160, .18) 0, transparent 50%);--color-bg: #ffffff;--color-bg-secondary: #F8FAFC;--color-bg-tertiary: #F1F5F9;--color-bg-dark: #0a0613;--color-bg-dark-secondary: #1E1B4B;--color-bg-dark-hover: #2D2A70;--color-bg-chat: #F1F5F9;--color-bg-selected: rgba(139, 92, 246, .08);--color-bg-hover: rgba(139, 92, 246, .05);--color-bg-glass: rgba(255, 255, 255, .85);--color-text: #1E293B;--color-text-secondary: #64748B;--color-text-light: #94A3B8;--color-text-muted: #CBD5E1;--color-border: #E2E8F0;--color-border-light: #F1F5F9;--color-border-strong: #CBD5E1;--color-inbound-bg: #ffffff;--color-outbound-bg: #8B5CF6;--color-ai-bg: rgba(139, 92, 246, .05);--color-ai-border: rgba(139, 92, 246, .15);--color-success: #22C55E;--color-success-light: rgba(34, 197, 94, .1);--color-warning: #F59E0B;--color-warning-light: rgba(245, 158, 11, .1);--color-danger: #EF4444;--color-danger-light: rgba(239, 68, 68, .1);--color-info: #3B82F6;--color-info-light: rgba(59, 130, 246, .1);--sidebar-width: 240px;--convlist-width: 360px;--contact-panel-width: 340px;--shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);--shadow-sm: 0 1px 3px rgba(15, 23, 42, .05);--shadow-md: 0 2px 6px rgba(15, 23, 42, .06);--shadow-lg: 0 4px 12px rgba(15, 23, 42, .08);--shadow-xl: 0 10px 30px rgba(15, 23, 42, .12);--shadow-glow: 0 1px 3px rgba(139, 92, 246, .25), 0 8px 24px rgba(139, 92, 246, .18);--shadow-glow-strong: 0 2px 6px rgba(139, 92, 246, .35), 0 12px 36px rgba(139, 92, 246, .28);--shadow-glow-purple: 0 1px 3px rgba(139, 92, 246, .25), 0 8px 24px rgba(139, 92, 246, .18);--shadow-glow-emerald: 0 1px 3px rgba(6, 214, 160, .25), 0 8px 24px rgba(6, 214, 160, .18);--shadow-inner: inset 0 1px 3px rgba(15, 23, 42, .04);--shadow-focus: 0 0 0 3px rgba(139, 92, 246, .18);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;--radius-xl: 14px;--radius-2xl: 20px;--radius-full: 9999px;--transition-fast: .15s ease;--transition-normal: .2s ease-in-out;--transition-smooth: .3s ease;--transition-spring: .35s cubic-bezier(.34, 1.56, .64, 1);--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;--text-xs: 11px;--text-sm: 12px;--text-base: 14px;--text-md: 15px;--text-lg: 16px;--text-xl: 18px;--text-2xl: 22px;--text-3xl: 26px;--text-4xl: 32px;--fw-regular: 400;--fw-medium: 500;--fw-semibold: 600;--fw-bold: 700;--leading-tight: 1.2;--leading-snug: 1.35;--leading-normal: 1.5;--leading-relaxed: 1.65;--tracking-tight: -.02em;--tracking-normal: -.01em;--tracking-wide: .02em;--tracking-wider: .05em;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--touch-target: 44px;--z-base: 1;--z-elevated: 10;--z-sticky: 100;--z-dropdown: 1000;--z-modal: 2000;--z-toast: 3000;--ease-human: cubic-bezier(.16, 1, .3, 1);--ease-tech: cubic-bezier(.4, 0, .2, 1);--ease-bounce: cubic-bezier(.34, 1.56, .64, 1)}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:-.01em}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:var(--color-text-muted);border-radius:3px;transition:background .2s}::-webkit-scrollbar-thumb:hover{background:var(--color-text-light)}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:var(--radius-sm)}button:focus:not(:focus-visible){outline:none}::selection{background:#3b82f633;color:var(--color-text)}html{scroll-behavior:smooth}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInScale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slideInRight{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translate(-16px)}to{opacity:1;transform:translate(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes glow{0%,to{box-shadow:0 0 5px #3b82f633}50%{box-shadow:0 0 20px #3b82f666}}.tabular-nums,[data-tabular]{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1,"ss01" 1}.font-mono{font-family:var(--font-mono);letter-spacing:0}.text-balance{text-wrap:balance}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.interactive,.btn-primary,.btn-secondary{transition:transform .18s var(--ease-human),box-shadow .18s var(--ease-human),border-color .18s var(--ease-tech)}.interactive:hover:not(:disabled){transform:translateY(-1px)}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px;border-radius:var(--radius-sm);transition:outline-offset .12s var(--ease-tech)}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none;border-color:var(--color-primary);box-shadow:var(--shadow-focus)}@media(max-width:768px){input,textarea,select{font-size:16px!important}input[type=checkbox],input[type=radio]{font-size:inherit!important}}@media(max-width:768px){button,.btn,[role=button],a.btn,.icon-btn{min-height:var(--touch-target)}.topbar__password-toggle,.login-form__password-toggle,.auth-form__password-toggle,.icon-btn--sm,[data-touch-exempt]{min-height:0}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(max-width:768px){.page-layout__content{overflow-x:hidden}.page-layout__content table:not(.no-responsive){display:block;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.card,.panel{padding:var(--space-4);border-radius:var(--radius-xl)}h1{font-size:var(--text-3xl)}h2{font-size:var(--text-2xl)}h3{font-size:var(--text-xl)}.form-row,.grid-2-cols,.grid-3-cols,.grid-4-cols{grid-template-columns:1fr!important}.modal,[role=dialog]{max-width:100%!important;margin:0!important;border-radius:0!important;height:100dvh;max-height:100dvh}}::selection{background:#8b5cf638;color:var(--color-text)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:999px;border:2px solid transparent;background-clip:padding-box;transition:background .2s var(--ease-tech)}::-webkit-scrollbar-thumb:hover{background:#94a3b8b3;background-clip:padding-box}@keyframes skeletonPulse{0%,to{background-color:var(--color-bg-tertiary)}50%{background-color:var(--color-border)}}.skeleton{border-radius:var(--radius-md);background:var(--color-bg-tertiary);animation:skeletonPulse 1.6s var(--ease-human) infinite}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:var(--space-12) var(--space-4);color:var(--color-text-secondary)}@media(max-width:768px){.desktop-only{display:none!important}}@media(min-width:769px){.mobile-only{display:none!important}}.stack-1{display:flex;flex-direction:column;gap:var(--space-1)}.stack-2{display:flex;flex-direction:column;gap:var(--space-2)}.stack-3{display:flex;flex-direction:column;gap:var(--space-3)}.stack-4{display:flex;flex-direction:column;gap:var(--space-4)}.stack-6{display:flex;flex-direction:column;gap:var(--space-6)}.cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--fw-semibold);letter-spacing:var(--tracking-wide);background:var(--color-bg-tertiary);color:var(--color-text-secondary);border:1px solid var(--color-border)}.badge--purple{background:var(--color-primary-100);color:var(--color-primary-dark);border-color:#8b5cf640}.badge--success{background:#10b9811f;color:#059669;border-color:#10b9814d}.badge--warn{background:#f59e0b24;color:#b45309;border-color:#f59e0b4d}.badge--error{background:#ef44441f;color:#dc2626;border-color:#ef44444d}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-dot--live{background:#10b981;box-shadow:0 0 0 3px #10b9812e;animation:pulse 2s var(--ease-human) infinite}.status-dot--idle{background:var(--color-text-muted)}.status-dot--offline{background:var(--color-text-muted);opacity:.5}
