:root{--bg: #f8fafc;--surface: #ffffff;--surface-muted: #f8fafc;--surface-strong: #eef2ff;--text: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--primary: #2563eb;--primary-strong: #1d4ed8;--accent: #0f766e;--danger: #dc2626;--danger-strong: #b91c1c;--success: #16a34a;--warning: #d97706;--shadow: 0 18px 45px rgba(15, 23, 42, .08);--shadow-sm: 0 8px 22px rgba(15, 23, 42, .06);--radius: 8px;--radius-sm: 6px;--font: Inter, Roboto, Arial, sans-serif}.app-shell .content .ai-data-page{width:min(100%,1280px)!important;max-width:1280px!important;margin:0 auto 24px!important;display:grid!important;gap:18px!important}.app-shell .content .ai-data-page>.page-header{margin:0!important;padding:22px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}.app-shell .content .ai-data-page>.page-header h1{margin:0!important;color:var(--text)!important;font-size:26px!important;font-weight:850!important;line-height:1.2!important}.app-shell .content .ai-data-page>.page-header p{margin:6px 0 0!important;color:var(--text-muted)!important;font-size:14px!important;font-weight:600!important}.app-shell .content .ai-data-filter-form{margin:0!important}.app-shell .content .ai-data-filter-form .form-section{padding:18px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}.app-shell .content .ai-data-filter-form .form-section h2{margin:0 0 14px!important;color:var(--text)!important;font-size:18px!important;font-weight:850!important}.app-shell .content .ai-data-filter-form .form-actions{justify-content:flex-start!important;margin-top:16px!important;padding-top:16px!important;border-top:1px solid var(--border)!important}.app-shell .content .ai-records{gap:14px!important}.app-shell .content .ai-record{overflow:hidden!important;border:1px solid var(--border)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--shadow-sm)!important}.app-shell .content .ai-record-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:16px 18px!important;color:var(--text)!important;background:linear-gradient(135deg,#f8fafc,#fff)!important;border-bottom:1px solid var(--border)!important}.app-shell .content .ai-record-header h2{margin:6px 0 0!important;color:var(--text)!important;font-size:13px!important;font-weight:800!important;line-height:1.4!important;overflow-wrap:anywhere!important}.app-shell .content .ai-record-id{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:4px 9px!important;border:1px solid #bfdbfe!important;border-radius:999px!important;color:var(--primary-strong)!important;background:#eff6ff!important;font-size:12px!important;font-weight:900!important}.app-shell .content .ai-record-date{display:inline-flex!important;align-items:center!important;min-height:32px!important;padding:6px 10px!important;border:1px solid var(--border)!important;border-radius:999px!important;color:#475569!important;background:#fff!important;font-size:12px!important;font-weight:800!important}.app-shell .content .ai-meta,.app-shell .content .ai-meta-superadmin{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;gap:10px!important;padding:14px 18px!important;background:#fff!important;border-bottom:1px solid var(--border)!important}.app-shell .content .ai-meta span{display:grid!important;gap:5px!important;min-width:0!important;padding:10px 12px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;color:var(--text)!important;background:#f8fafc!important;font-size:13px!important}.app-shell .content .ai-meta strong{color:var(--text-muted)!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important}.app-shell .content .ai-content-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important;gap:14px!important;padding:16px 18px!important}.app-shell .content .ai-panel{padding:14px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}.app-shell .content .ai-panel h3{margin:0 0 12px!important;color:var(--text)!important;font-size:14px!important;font-weight:900!important}.app-shell .content .ai-conversation-thread,.app-shell .content .ai-text{max-height:360px!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#f8fafc!important}.app-shell .content .ai-message{max-width:88%!important}.app-shell .content .ai-message-bubble{border-radius:4px 12px 12px!important;color:var(--text)!important;background:#fff!important;border:1px solid #e2e8f0!important;box-shadow:0 1px 2px #0f172a0a!important}.app-shell .content .ai-message-user .ai-message-bubble{border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;border-top-left-radius:12px!important;border-top-right-radius:4px!important}.app-shell .content .ai-audio{justify-content:flex-start!important;padding:0 18px 18px!important}.app-shell .content .ai-audio audio{width:min(100%,420px)!important}@media (max-width: 900px){.app-shell .content .ai-record-header,.app-shell .content .ai-content-grid{grid-template-columns:1fr!important}.app-shell .content .ai-record-date{justify-self:start!important}.app-shell .content .ai-message{max-width:94%!important}}*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{min-height:100vh;margin:0;color:var(--text);background:var(--bg);font-family:var(--font);font-size:15px;line-height:1.5}html,body{overflow-x:auto}a{color:var(--primary);text-decoration:none}a:hover{color:var(--primary-strong)}h1,h2,h3,h4,h5,h6{margin:0 0 16px;color:var(--text);font-weight:700;line-height:1.2}h1{font-size:28px}h2{font-size:21px;margin-top:24px}p{margin:0 0 14px;color:var(--text-muted)}.container{width:min(100% - 32px,1240px);margin:24px auto;padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.app-shell{min-height:100vh;display:grid;grid-template-rows:auto 1fr auto}.topbar,.app-topbar{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px;color:#fff;background:#12313f;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 4px 18px #0f172a29;position:sticky;top:0;z-index:50}.topbar a,.app-topbar a{color:#fff}.topbar-title{display:flex;flex-direction:column;gap:2px;min-width:0}.topbar-title strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.topbar-title span{color:#ffffffb8;font-size:12px}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}.topbar .topbar-credit,.topbar-credit{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:8px 12px;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);color:#fff;background:rgba(255,255,255,.1);text-decoration:none;cursor:pointer}.topbar .topbar-credit:hover,.topbar-credit:hover{transform:translateY(-1px)}.topbar-credit-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.14)}.topbar-credit-icon svg{width:18px;height:18px;fill:currentColor}.topbar-credit-copy{display:grid;gap:1px}.topbar-credit-copy span{color:#ffffffb8;font-size:11px;font-weight:800;line-height:1.1;text-transform:uppercase}.topbar-credit-copy strong{color:#fff;font-size:14px;font-weight:900;line-height:1.15}.hamburger,.menu-toggle{width:40px;height:40px;display:none;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);color:#fff;background:rgba(255,255,255,.08);cursor:pointer}.wrapper,.app-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{background:#ffffff;border-right:1px solid var(--border);box-shadow:6px 0 24px #0f172a0a;overflow-y:auto}.sidebar ul{margin:0;padding:12px;list-style:none}.sidebar li{margin:2px 0}.sidebar a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;border-radius:var(--radius-sm);color:#334155;font-weight:600}.sidebar a:hover{color:var(--primary-strong);background:var(--surface-strong)}.sidebar a.active{color:#fff;background:var(--primary)}.sidebar ul ul{display:none;padding:4px 0 6px 12px}.sidebar ul ul.active{display:block}.sidebar ul ul a{min-height:36px;padding-left:16px;color:var(--text-muted);font-size:14px}.arrow{font-size:12px;transition:transform .18s ease}.arrow.down{transform:rotate(90deg)}.content,.app-content{min-width:0;padding:24px;background:var(--bg)}.admin-footer{display:flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;color:var(--text-muted);background:#ffffff;border-top:1px solid var(--border);font-size:13px}.admin-footer a{color:var(--primary-strong);font-weight:700}.admin-footer a:hover{color:var(--primary)}.agent-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-nav a{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:var(--radius-sm);color:#fff;background:rgba(255,255,255,.1)}.agent-nav a:hover{background:rgba(255,255,255,.18)}.logout,a.logout,.btn-danger,.btn-deactivate,button.btn-dangers,button.btn-danger{border-color:var(--danger)!important;background:var(--danger)!important;color:#fff!important}.logout:hover,a.logout:hover,.btn-danger:hover,.btn-deactivate:hover,button.btn-dangers:hover,button.btn-danger:hover{border-color:var(--danger-strong)!important;background:var(--danger-strong)!important;color:#fff!important}form{margin:0 0 18px}body:not(.login-page) .container>form,body:not(.login-page) .content>form,body:not(.login-page) #content-area>form,body:not(.login-page) .main>form{display:flex;flex-direction:column;gap:14px;max-width:960px;margin:18px 0 24px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}body:not(.login-page) .container>form[style*="display:inline"],body:not(.login-page) .container>form[style*="display: inline"],body:not(.login-page) .content>form[style*="display:inline"],body:not(.login-page) .content>form[style*="display: inline"],td form,table form{display:inline-flex;flex-direction:row;gap:6px;width:auto;margin:0 4px 4px 0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.form-group{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}label,.form-group label{color:#334155;font-weight:700}input,select,textarea{width:100%;max-width:720px;min-height:42px;padding:10px 12px;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.admin-config-page,.user-management-page{width:min(100%,1440px)!important;max-width:1440px!important;margin:0 auto 24px!important;display:grid;gap:18px}.admin-config-page .page-header,.user-management-page .page-header{margin-bottom:0!important}.admin-config-page .page-header h1,.user-management-page .page-header h1{margin:0!important}.admin-config-page .page-header p,.user-management-page .page-header p,.admin-list-header p{margin:4px 0 0;color:var(--text-muted);font-size:14px;font-weight:600}.admin-config-form{display:grid!important;grid-template-columns:repeat(3,minmax(220px,1fr));gap:16px!important;width:100%!important;max-width:none!important;margin:0!important;padding:18px!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}.admin-config-form h2,.admin-config-form .form-group-wide,.admin-config-form .form-actions{grid-column:1 / -1}.admin-config-form h2,.admin-list-header h2{margin:0!important}.admin-config-form .form-group{min-width:0;margin-bottom:0!important}.admin-config-form input,.admin-config-form select,.admin-config-form textarea{max-width:none!important}.admin-config-form .form-actions{display:flex;justify-content:flex-end;gap:10px}.permission-form{grid-template-columns:minmax(260px,420px) minmax(0,1fr)}.permission-form .permissions{margin:0}.admin-list-panel,.user-panel{padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.admin-list-header,.user-panel-header,.user-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.admin-search-bar{flex:1 1 420px;max-width:560px;margin:0!important}.admin-search-bar form,.user-toolbar .search-bar form{display:grid!important;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.admin-table-wrap,.user-table-wrap{width:100%;overflow-x:auto}.admin-data-table,.user-table{min-width:980px;margin:0!important}.bulk-call-page{max-width:1440px!important}.bulk-call-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.bulk-call-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border-radius:var(--radius-sm);color:#334155;font-weight:700}.bulk-call-tabs a:hover{background:var(--surface-strong);color:var(--primary-strong)}.bulk-call-tabs a.active{color:#fff;background:var(--primary)}.bulk-call-panel{overflow-x:auto}.bulk-call-panel *{box-sizing:border-box}.bulk-call-panel .container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}.bulk-call-panel h1,.bulk-call-panel .h3{margin:0 0 16px!important;color:var(--text)!important;font-size:24px!important;line-height:1.2!important}.bulk-call-panel h2,.bulk-call-panel h3{margin:22px 0 10px!important;color:var(--text)!important;line-height:1.25!important}.bulk-call-panel .card,.bulk-call-panel .notice-box,.bulk-call-panel .alert,.bulk-call-panel pre{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)}.bulk-call-panel .alert,.bulk-call-panel .message{margin:0 0 16px!important;padding:14px 16px!important}.bulk-call-panel .alert-danger{color:#991b1b!important;background:#fff1f2!important;border-color:#fecdd3!important}.bulk-call-panel .alert-success,.bulk-call-panel .message{color:#166534!important;background:#f0fdf4!important;border-color:#bbf7d0!important}.bulk-call-panel .card-header{color:var(--text)!important;background:var(--surface-strong)!important;border-bottom:1px solid var(--border)!important}.bulk-call-panel .filters,.bulk-call-panel form.filters,.bulk-call-panel .needs-validation{display:grid!important;grid-template-columns:repeat(2,minmax(220px,1fr));align-items:start;gap:14px!important;width:100%!important;max-width:none!important;margin:0 0 18px!important;padding:16px!important;background:var(--surface-muted)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:none!important}.bulk-call-panel .needs-validation{grid-template-columns:1fr;align-items:start}.bulk-call-panel .needs-validation>.row,.bulk-call-panel .needs-validation>.form-section,.bulk-call-panel .needs-validation>button[type=submit]{grid-column:1 / -1}.bulk-call-panel .filters>div,.bulk-call-panel form.filters>div{min-width:180px}.bulk-call-panel .row,.bulk-call-panel .content-row{display:grid!important;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px!important;margin:0!important;width:100%!important}.bulk-call-panel .content-row{grid-template-columns:1fr;align-items:start}.bulk-call-panel .bulk-call-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.bulk-call-panel .bulk-call-title-row h1{margin-bottom:0!important}.bulk-call-panel .bulk-call-info-button{flex:0 0 auto;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;background:#0f766e;color:#fff;font-size:18px;font-weight:900;line-height:1}.bulk-call-panel .form-col,.bulk-call-panel .notice-col,.bulk-call-panel [class*=col-md-]{width:100%!important;max-width:none!important;flex:none!important;padding:0!important}.bulk-call-panel .form-section{display:block;grid-column:1 / -1;margin:0!important}.bulk-call-panel .mb-3,.bulk-call-panel .mb-4{margin-bottom:14px!important}.bulk-call-panel label,.bulk-call-panel .form-label{display:block;margin:0 0 6px!important;color:#344054;font-size:13px;font-weight:700}.bulk-call-panel .text-danger{display:block;margin:-2px 0 8px;color:var(--danger)!important;font-size:13px}.bulk-call-panel input,.bulk-call-panel select,.bulk-call-panel textarea{width:100%!important;max-width:none!important;margin:0!important;border:1px solid var(--border)!important;border-radius:var(--radius-sm)!important;background:var(--surface)!important;color:var(--text)!important;font:inherit!important}.bulk-call-panel input[type=file]{padding:9px 10px!important}.bulk-call-panel .api-key{font-family:Consolas,Monaco,monospace!important}.bulk-call-panel .example-text{margin-top:8px!important;color:#667085!important;font-size:13px!important;line-height:1.45!important}.bulk-call-panel .notice-box{margin:0!important;padding:16px!important;background:#fffdf3!important;border-left:4px solid #f59e0b!important}.bulk-call-panel .notice-title{margin-bottom:10px;color:var(--text);font-weight:800}.bulk-call-panel .bulk-notice-modal{position:fixed;inset:0;z-index:3000;display:none;align-items:center;justify-content:center;padding:20px}.bulk-call-panel .bulk-notice-modal.is-open{display:flex}.bulk-call-panel .bulk-notice-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52)}.bulk-call-panel .bulk-notice-panel{position:relative;z-index:1;width:min(620px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:22px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-lg)}.bulk-call-panel .bulk-notice-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.bulk-call-panel .bulk-notice-header h2{margin:0!important;font-size:20px!important}.bulk-call-panel .bulk-notice-close{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;background:#475569;color:#fff;font-size:20px;line-height:1}.bulk-call-panel ul{margin:8px 0 18px;padding-left:20px;color:#475467;line-height:1.6}.bulk-call-panel li+li{margin-top:5px}.bulk-call-panel code{padding:2px 5px;border-radius:5px;color:#0f172a;background:#eef2f7;font-size:.92em}.bulk-call-panel pre{margin:10px 0 18px!important;padding:16px!important;overflow-x:auto;color:#172033;background:#f8fafc!important;font-size:13px!important;line-height:1.55!important;white-space:pre-wrap}.bulk-call-panel .doc-button{display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:var(--radius-sm);color:#1f2937!important;background:#facc15!important;font-weight:800}.bulk-call-panel form:not(.filters):not(.needs-validation){margin:0 0 20px!important;padding:16px!important;background:var(--surface-muted)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important}.bulk-call-panel table{width:100%;min-width:980px;border-collapse:collapse;background:var(--surface)}.bulk-call-panel th,.bulk-call-panel td{padding:10px 12px;border:1px solid var(--border);text-align:left;vertical-align:top}.bulk-call-panel th{color:#334155;background:var(--surface-strong)!important}.bulk-call-panel .pagination{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.bulk-call-panel .pagination a{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface)}.bulk-call-panel .pagination a.active{color:#fff;background:var(--primary);border-color:var(--primary)}.bulk-call-panel .badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;color:#fff;background:#64748b;font-size:12px;font-weight:700}@media (max-width: 900px){.bulk-call-panel .row,.bulk-call-panel .content-row,.bulk-call-panel .needs-validation,.bulk-call-panel .filters,.bulk-call-panel form.filters{grid-template-columns:1fr!important}}.app-shell .content :where(form):not(.inline-form):not(.ai-queue-action-form):not(.table-actions form):not(td form):not(.order-cancel-inline):not(.inline-status-form){display:grid;gap:16px;padding:18px;margin:0 0 20px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.app-shell .content :where(form.filters,.search-bar form,.admin-search-bar form,.ai-search form,.recording-search form){display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:14px;background:#f8fafc}.app-shell .content :where(.form-section,.form-row,.row){gap:16px}.app-shell .content :where(.form-group,.filter-group,.field,.control,.mb-3,.mb-4){min-width:0}.app-shell .content :where(label,.form-label){display:inline-flex;align-items:center;gap:4px;margin-bottom:6px;color:#334155;font-size:13px;font-weight:750}.app-shell .content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,.form-control,.form-select){width:100%;min-height:42px;padding:9px 12px;border:1px solid #cbd5e1!important;border-radius:8px!important;color:#0f172a;background-color:#fff!important;box-shadow:0 1px 2px #0f172a0a!important;font-size:14px;line-height:1.45}.app-shell .content :where(textarea,textarea.form-control){min-height:112px;resize:vertical}.app-shell .content :where(select,.form-select){padding-right:34px}.app-shell .content :where(input[type="file"]){padding:8px;background:#f8fafc!important}.app-shell .content :where(input[type="checkbox"],input[type="radio"]){width:16px;height:16px;accent-color:var(--primary)}.app-shell .content :where(input:focus,select:focus,textarea:focus,.form-control:focus,.form-select:focus){border-color:var(--primary)!important;box-shadow:0 0 0 4px #2563eb1f!important;outline:none!important}.app-shell .content :where(input[readonly],textarea[readonly],select[readonly],input:disabled,textarea:disabled,select:disabled){color:#64748b;background:#f1f5f9!important;cursor:not-allowed}.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions){display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:4px}.app-shell .content :where(button,.btn,.button,.btn-submit,input[type="submit"],input[type="button"],a.button,.doc-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 14px;border-radius:8px!important;border:1px solid transparent;font-size:14px;font-weight:750;line-height:1.2;text-decoration:none;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.app-shell .content :where(button:hover,.btn:hover,.button:hover,.btn-submit:hover,input[type="submit"]:hover,input[type="button"]:hover,a.button:hover,.doc-button:hover){transform:translateY(-1px)}.app-shell .content :where(button[type="submit"],input[type="submit"],.btn-primary,.btn-submit,.button:not(.button-secondary):not(.button-danger)){border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e!important}.app-shell .content :where(button[type="submit"]:hover,input[type="submit"]:hover,.btn-primary:hover,.btn-submit:hover){border-color:var(--primary-strong)!important;background:var(--primary-strong)!important}.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success)){border-color:#cbd5e1!important;color:#334155!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important}.app-shell .content :where(.btn-danger,.btn-dangers,.button-danger,button[name*="delete"],input[name*="delete"]){border-color:#dc2626!important;color:#fff!important;background:#dc2626!important}.app-shell .content :where(.btn-success,.dial-button){border-color:#16a34a!important;color:#fff!important;background:#16a34a!important}.app-shell .content :where(.table-responsive,.admin-table-wrap,.user-table-wrap,.settings-table-wrap,.recording-table-wrap,.audio-table-wrap,.crm-table-wrap,.knowledgebank-table-wrap,.company-table-wrap){overflow-x:auto;margin:16px 0 24px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.app-shell .content :where(table,.table,.admin-data-table,.user-table,.settings-table,.recording-table,.chatbot-orders-table,.carrier-table,.audio-table,.crm-table,.knowledgebank-table,.company-table,.queue-table,.phone-table,.extension-table){width:100%;margin:0 0 20px;border-collapse:separate!important;border-spacing:0;border:1px solid var(--border)!important;border-radius:10px;overflow:hidden;background:#fff;box-shadow:var(--shadow-sm);font-size:14px}.app-shell .content :where(.table-responsive table,.admin-table-wrap table,.user-table-wrap table,.settings-table-wrap table,.recording-table-wrap table,.audio-table-wrap table,.crm-table-wrap table,.knowledgebank-table-wrap table,.company-table-wrap table){margin:0;border:0!important;border-radius:0;box-shadow:none}.app-shell .content :where(table th,.table th){position:sticky;top:0;z-index:1;padding:12px 14px!important;border:0!important;border-bottom:1px solid var(--border)!important;color:#334155!important;background:#f8fafc!important;font-size:12px!important;font-weight:800!important;letter-spacing:.02em;text-align:left;text-transform:uppercase;white-space:nowrap}.app-shell .content :where(table td,.table td){padding:12px 14px!important;border:0!important;border-bottom:1px solid #eef2f7!important;color:#0f172a;vertical-align:middle}.app-shell .content :where(table tbody tr:nth-child(even) td){background:#fcfdff}.app-shell .content :where(table tbody tr:hover td){background:#eff6ff!important}.app-shell .content :where(table tbody tr:last-child td){border-bottom:0!important}.app-shell .content :where(td form,table form,.inline-form,.table-actions form,.ai-queue-action-form,.inline-status-form){display:inline-flex!important;align-items:center;gap:8px;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.app-shell .content :where(td button,td .btn,td input[type="submit"]){min-height:32px;padding:6px 10px;font-size:12px}.app-shell .content .table-actions>:is(button,.btn,a,input[type="submit"]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:7px 12px;border-radius:8px;line-height:1.2;white-space:nowrap}.app-shell .content .table-actions>:is(button,.btn,a,input[type="submit"]):hover{transform:translateY(-1px)}.app-shell .content td>:is(button,.btn,a,input[type="submit"])+:is(button,.btn,a,input[type="submit"]){margin-left:8px}.app-shell .content :where(.badge,.status-badge,.ai-status-badge){display:inline-flex;align-items:center;min-height:24px;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:800}@media (max-width: 640px){.app-shell .content :where(form):not(.inline-form):not(td form){padding:14px}.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions){align-items:stretch;flex-direction:column}.app-shell .content :where(.form-actions button,.form-actions .btn,.button-group button,.button-group .btn){width:100%}.app-shell .content :where(table th,.table th,table td,.table td){padding:10px 12px!important}}textarea{min-height:120px;resize:vertical}input[type=checkbox],input[type=radio]{width:auto;min-height:auto;accent-color:var(--primary)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #176b8726}button,input[type=submit],.btn-submit,.button,.btn,.submitButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:auto;max-width:100%;padding:10px 15px;border:0;border-radius:var(--radius-sm);color:#fff;background:var(--primary);font:inherit;font-weight:700;cursor:pointer;box-shadow:var(--shadow-sm);transition:background .16s ease,transform .16s ease,box-shadow .16s ease}button:hover,input[type=submit]:hover,.btn-submit:hover,.button:hover,.btn:hover,.submitButton:hover:not(:disabled){background:var(--primary-strong);color:#fff;transform:translateY(-1px)}button:active,input[type=submit]:active,.btn-submit:active,.button:active,.btn:active,.submitButton:active:not(:disabled){transform:translateY(0)}button:focus-visible,input[type=submit]:focus-visible,.button:focus-visible,.btn:focus-visible,.submitButton:focus-visible{outline:3px solid rgba(47,158,143,.28);outline-offset:2px}button:disabled,input[type=submit]:disabled,.btn:disabled,.submitButton:disabled{cursor:not-allowed;color:#f8fafc;background:#94a3b8;box-shadow:none;transform:none;opacity:.75}.btn-primary,.button,.btn-submit,button[name*=save],button[name*=create],button[name*=update],button[type=submit],input[type=submit]{background:var(--primary);color:#fff}.btn-primary:hover,button[name*=save]:hover,button[name*=create]:hover,button[name*=update]:hover,button[type=submit]:hover,input[type=submit]:hover{background:var(--primary-strong)}.btn-secondary,button[type=reset],#resetBtn{background:#475569;color:#fff}.btn-secondary:hover,button[type=reset]:hover,#resetBtn:hover{background:#334155}.delete,.btn-danger,.btn-deactivate,.btn-dangers,button[name*=delete],input[name*=delete],button.hangup{border-color:var(--danger)!important;background:var(--danger)!important;color:#fff!important}.delete:hover,.btn-danger:hover,.btn-deactivate:hover,.btn-dangers:hover,button[name*=delete]:hover,input[name*=delete]:hover,button.hangup:hover{border-color:var(--danger-strong)!important;background:var(--danger-strong)!important;color:#fff!important}.btn-success,.dial-button,button.transfer{background:var(--accent);color:#fff}.btn-success:hover,.dial-button:hover,button.transfer:hover{background:#247f74}button.hold,.hold,.clear-btn{background:#64748b;color:#fff}button.hold:hover,.hold:hover,.clear-btn:hover{background:#475569}.button-group,.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button-group button{flex:0 0 auto}.search-bar{width:100%;max-width:780px;margin:16px 0 22px;padding:0}.search-bar form{display:flex;align-items:stretch;gap:8px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}.search-bar input[type=text],.search-bar input[type=search]{max-width:none}.search-bar button{flex:0 0 auto;box-shadow:none}table{width:100%;margin:18px 0;border-collapse:separate;border-spacing:0;overflow:hidden;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}th,td{padding:11px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}table thead,table thead tr,table th,.recording-table th{color:#fff!important;background:#334155!important}th{font-size:12px;letter-spacing:0;text-transform:uppercase}td{color:var(--text);background:#ffffff}tr:nth-child(even) td{background:var(--surface-muted)}tbody tr:hover td{background:#eef7f6}tr:last-child td{border-bottom:0}.pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:22px 0 4px}.pagination,.pagination li{list-style:none}.pagination{padding-left:0}.pagination li{margin:0;padding:0;display:inline-flex}.pagination li::marker{content:""}.pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--primary);background:#ffffff;font-weight:700}.pagination a:hover{border-color:var(--primary);background:var(--surface-strong)}.pagination a.active{color:#fff;border-color:var(--primary);background:var(--primary);pointer-events:none}.message,.alert{margin:12px 0;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text)}body.login-page{display:grid;place-items:center;width:100%;min-width:100%;height:100vh;min-height:100vh;padding:24px;margin:0;overflow:auto;background:#eef3f7}.login-container{width:min(100%,390px);margin:auto;justify-self:center;align-self:center;padding:28px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);text-align:left;overflow:visible}.login-logo,.login-container h2{text-align:center}.login-logo img{display:block;max-width:112px;height:auto;margin-right:auto;margin-left:auto;margin-bottom:18px}.login-container h2{margin-bottom:18px}.login-container form{position:relative;display:grid;gap:10px;overflow:visible}.login-container input,.login-container select,.login-container button,.login-container input[type=submit]{box-sizing:border-box;max-width:none;width:100%}.remember{display:flex;align-items:center;gap:8px;justify-content:flex-start;width:100%;margin:2px 0 8px;text-align:left;color:var(--text-muted);font-size:14px}.remember input{flex:0 0 auto;width:auto;margin:0}.multiselect-container{position:relative;width:100%;box-sizing:border-box;min-height:42px;margin:10px 0;padding:10px 12px;text-align:left;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer}#selected-options{display:block;min-width:0;overflow:hidden;color:var(--text);line-height:20px;text-overflow:ellipsis;white-space:nowrap}.options-container{display:none;position:absolute;inset:calc(100% + 6px) 0 auto 0;width:100%;box-sizing:border-box;max-height:220px;overflow-y:auto;padding:8px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow);z-index:999}.multiselect-container.is-open .options-container{display:block}.options-container label{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border-radius:var(--radius-sm);color:var(--text);font-weight:600;line-height:1.25;cursor:pointer;word-break:break-word}.options-container input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0}.options-container label:hover{background:var(--surface-strong)}audio{width:240px;max-width:100%}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.page-header p{margin:6px 0 0}.ai-data-page{width:min(100%,1440px);margin:0 auto}.ai-search{max-width:980px}.ai-data-filter-form{display:grid!important;grid-template-columns:1fr;gap:18px!important;max-width:none!important;margin:0 0 24px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.ai-data-filter-form .form-section{padding:18px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.ai-data-filter-form .form-section h2{margin:0 0 16px!important;color:var(--primary-strong)!important;font-size:18px!important}.ai-data-filter-form .form-row{display:grid;grid-template-columns:minmax(240px,1fr);gap:16px}.ai-data-filter-form .ai-data-filter-row{grid-template-columns:repeat(2,minmax(240px,1fr))}.ai-data-filter-form input{max-width:none!important}.ai-search form{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center}@media (max-width: 760px){.ai-data-filter-form .ai-data-filter-row{grid-template-columns:1fr}}.ai-records{display:grid;gap:18px}.ai-record{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:none}.ai-record-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;background:#334155;color:#fff}.ai-record-header h2{margin:4px 0 0;color:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:15px;overflow-wrap:anywhere}.ai-record-id{display:inline-flex;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.12);color:#ffffffd1;font-size:12px;font-weight:800}.ai-record-date{flex:0 0 auto;color:#ffffffc7;font-size:13px;white-space:nowrap}.ai-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--border);border-bottom:1px solid var(--border)}.ai-meta-superadmin{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width: 760px){.ai-meta{grid-template-columns:repeat(4,minmax(90px,1fr));overflow-x:auto}.ai-meta-superadmin{grid-template-columns:repeat(5,minmax(90px,1fr))}}.ai-meta span{display:flex;align-items:center;gap:8px;min-width:0;padding:12px 14px;background:var(--surface-muted);color:var(--text);overflow-wrap:anywhere}.ai-meta strong{color:var(--text-muted);font-size:11px;text-transform:uppercase;white-space:nowrap}.ai-content-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;padding:16px}.ai-panel{min-width:0;padding:14px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm)}.ai-panel-large{grid-row:span 2}.ai-panel h3{margin-bottom:10px;color:var(--primary-strong);font-size:14px}.ai-text{max-height:260px;overflow:auto;padding:12px;color:#263241;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:normal}.ai-conversation-thread{display:flex;flex-direction:column;gap:12px;max-height:480px;overflow:auto;padding:14px;background:#f7f8fb;border:1px solid var(--border);border-radius:var(--radius-sm)}.ai-message{display:flex;flex-direction:column;align-items:flex-start;max-width:84%}.ai-message-user{align-self:flex-end;align-items:flex-end}.ai-message-assistant{align-self:flex-start;align-items:flex-start}.ai-message-label{margin:0 4px 4px;color:var(--text-muted);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.ai-message-bubble{padding:11px 13px;color:#182230;background:#ffffff;border:1px solid #e5e7eb;border-radius:5px 14px 14px;box-shadow:0 1px 2px #0f172a0d;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.ai-message-user .ai-message-bubble{color:#fff;background:#111827;border-color:#111827;border-radius:14px 5px 14px 14px;box-shadow:0 8px 18px #0f172a24}.ai-message-system{align-self:center;max-width:92%}.ai-message-system .ai-message-label{align-self:center}.ai-message-system .ai-message-bubble{color:#475467;background:#eef2f6;border-color:#d9e0e8;border-radius:10px}.ai-conversation-empty{padding:24px;text-align:center;background:var(--surface-muted);border:1px dashed var(--border);border-radius:var(--radius-sm)}.ai-audio{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 16px 16px}.ai-empty,.empty-state{color:var(--text-muted);font-style:italic}.empty-state{padding:24px;text-align:center;background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius)}.recording-page{width:min(100%,1440px);margin:0 auto}.recording-search{width:100%!important;max-width:none!important;margin:0!important}.recording-search form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.recording-filter{margin-bottom:26px;padding:18px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.recording-filter .section-header{margin-bottom:14px}.recording-list{margin-top:0}.recording-table-wrap{width:100%;overflow-x:auto}.recording-table{min-width:1120px}.recording-table th:nth-child(1),.recording-table td:nth-child(1){width:180px}.recording-table th:nth-child(8),.recording-table td:nth-child(8){width:270px}.recording-table td:nth-child(2),.recording-table td:nth-child(6){white-space:nowrap}.mono-cell{color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;overflow-wrap:anywhere}.number-cell{color:var(--primary-strong);font-weight:700}.status-pill,.duration-pill{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.status-pill{color:#fff;background:#64748b}.status-answered,.status-active,.status-answer,.status-connected{background:var(--success)}.status-inactive,.status-no-answer,.status-noanswer,.status-busy,.status-failed,.status-congestion,.status-disconnected{background:var(--danger)}.status-disabled,.status-unknown{background:#64748b}.status-checking{color:#713f12;background:#fef3c7}.carrier-list-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.duration-pill{color:var(--primary-strong);background:#e5f3f1}.recording-audio audio{width:250px}.dashboard-page{width:min(100%,1440px);max-width:1440px;min-width:0;margin:0 auto 24px;display:grid;gap:18px}.dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.dashboard-header p,.dashboard-panel-header p{margin:4px 0 0;color:var(--text-muted);font-size:14px;font-weight:600}.dashboard-header-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:12px;flex-wrap:wrap}.dashboard-company-filter{display:grid;gap:6px;width:240px;min-height:76px;align-content:space-between;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.app-shell .content .dashboard-company-filter,.app-shell .content .dashboard-header-meta{display:grid!important;align-content:space-between!important;gap:6px!important;width:240px!important;min-height:76px!important;margin:0!important;padding:12px 14px!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:none!important}.app-shell .content .dashboard-company-filter{text-align:left!important}.app-shell .content .dashboard-header-meta{text-align:right!important}.dashboard-company-filter label{color:var(--text-muted);font-size:12px;font-weight:800;text-transform:uppercase}.dashboard-company-filter select{width:100%;min-height:32px;padding:4px 8px}.dashboard-header-meta{width:240px;min-height:76px;padding:12px 14px;text-align:right;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.dashboard-header-meta span,.dashboard-time-card span,.dashboard-kpi-card span,.dashboard-service-card span,.dashboard-metric-row span{color:var(--text-muted);font-size:12px;font-weight:800;text-transform:uppercase}.dashboard-header-meta strong{display:block;margin-top:2px;color:var(--text)}.dashboard-header-meta small{display:block;color:var(--text-muted);font-size:11px;font-weight:700;line-height:1.35}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.dashboard-subscription-banner{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.4fr);gap:14px}.dashboard-subscription-card{position:relative;overflow:hidden;padding:18px;background:radial-gradient(circle at top right,rgba(255,255,255,.35),transparent 42%),var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.dashboard-subscription-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--primary)}.dashboard-subscription-card.is-urgent:before{background:var(--danger)}.dashboard-subscription-card.is-normal:before{background:var(--success)}.dashboard-subscription-card span{display:block;color:var(--text-muted);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dashboard-subscription-card strong{display:block;margin-top:8px;color:var(--text);font-size:26px;line-height:1.15}.dashboard-subscription-card small{display:block;margin-top:8px;color:var(--text-muted);font-size:13px;font-weight:600}.dashboard-subscription-credit{background:linear-gradient(135deg,rgba(45,125,70,.16),rgba(255,255,255,0) 60%),var(--surface)}.dashboard-subscription-credit strong{color:var(--success);font-size:32px}.dashboard-subscription-progress{width:100%;height:12px;margin-top:14px;overflow:hidden;background:#e2e8f0;border-radius:999px}.dashboard-subscription-progress-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#38bdf8)}.dashboard-kpi-card,.dashboard-panel,.dashboard-time-card,.dashboard-service-card{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.dashboard-kpi-card{position:relative;min-height:112px;padding:18px;overflow:hidden}.dashboard-kpi-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--primary)}.dashboard-kpi-card.tone-success:before{background:var(--success)}.dashboard-kpi-card.tone-warning:before{background:#f59e0b}.dashboard-kpi-card.tone-danger:before{background:var(--danger)}.dashboard-kpi-card strong{display:block;margin-top:10px;color:var(--text);font-size:34px;line-height:1}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:18px}.dashboard-panel{padding:18px}.dashboard-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.dashboard-panel-header h2{margin:0!important}.dashboard-metric-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-metric-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 14px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.dashboard-metric-row strong{color:var(--text);font-size:20px}.dashboard-service-card{padding:18px;background:var(--surface-muted)}.dashboard-service-card+.dashboard-service-card{margin-top:12px}.dashboard-service-card strong{display:block;margin-top:8px;color:var(--primary-strong);font-size:36px;line-height:1}.dashboard-service-card.compact strong{font-size:30px}.dashboard-time-grid{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px}.dashboard-time-card{min-height:120px;padding:16px}.dashboard-time-card strong{display:block;margin-top:9px;color:var(--text);font-size:24px}.dashboard-time-card small{display:block;margin-top:8px;color:var(--text-muted);line-height:1.4}@media (max-width: 1280px){.dashboard-kpi-grid,.dashboard-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-subscription-banner{grid-template-columns:1fr}}.ai-settings-page{width:100%;max-width:1440px;margin:0 auto}.settings-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;gap:16px!important;max-width:none!important;margin:0 0 28px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}#aiSettingsForm{width:100%!important;max-width:none!important;box-sizing:border-box}.settings-form .form-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;grid-column:1 / -1;padding:18px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.settings-form .form-section h2{grid-column:1 / -1;margin:0 0 2px!important;color:var(--primary-strong)!important;font-size:18px!important}.settings-form input,.settings-form select,.settings-form textarea{max-width:none!important}.settings-form textarea{min-height:150px!important}.settings-form .form-group-wide,.settings-form .form-actions{grid-column:1 / -1}.settings-form .form-actions{padding-top:4px}.settings-list{width:100%;max-width:none;box-sizing:border-box;margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}.settings-table-wrap{width:100%;max-width:none;overflow-x:auto;-webkit-overflow-scrolling:touch}.settings-table{width:max(100%,1120px)!important;min-width:1120px;table-layout:auto}.settings-table th,.settings-table td{vertical-align:middle!important}.settings-table th:nth-child(8),.settings-table td:nth-child(8){min-width:240px}.settings-message-cell{max-width:320px;color:var(--text-muted)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-cancel-inline{align-items:center!important;display:flex!important;gap:10px!important}.order-cancel-inline input[type=checkbox]{margin:0}.chatbot-orders-page{max-width:none}.chatbot-orders-filter{display:block!important}.chatbot-orders-filter .form-section{align-items:end;display:grid!important;grid-template-columns:minmax(260px,1.35fr) minmax(130px,.65fr) minmax(170px,.8fr) minmax(150px,.7fr) minmax(150px,.7fr) auto;gap:14px}.chatbot-orders-filter .form-section h2{grid-column:1 / -1}.chatbot-orders-filter .form-group,.chatbot-orders-filter .form-actions{min-width:0}.chatbot-orders-filter input,.chatbot-orders-filter select{width:100%!important;min-width:0}.orders-filter-actions{align-items:center;display:flex!important;gap:8px;grid-column:1 / -1!important;padding:0!important;white-space:nowrap}.chatbot-orders-list{overflow:hidden}.inline-status-form{align-items:center;display:flex;gap:8px;margin:0;min-width:340px;width:340px}.inline-status-form select{color:var(--text);flex:0 0 210px;min-width:210px;width:210px}.inline-status-form button{flex:0 0 auto;white-space:nowrap}.chatbot-orders-table{border-collapse:separate;border-spacing:0;min-width:2020px!important;table-layout:fixed;width:2020px!important}.chatbot-orders-table th,.chatbot-orders-table td{box-sizing:border-box;overflow:hidden;padding-left:14px!important;padding-right:14px!important;text-overflow:ellipsis;vertical-align:top!important;white-space:normal}.chatbot-orders-table th{white-space:nowrap}.order-id-heading,.order-id-cell{color:var(--text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;width:310px;white-space:nowrap}.order-company-heading,.order-company-cell{width:180px}.order-chatbot-heading,.order-chatbot-cell{width:105px}.order-channel-heading,.order-channel-cell{width:135px}.order-customer-heading,.order-customer-cell{width:170px}.order-phone-heading,.order-phone-cell{width:150px}.order-product-heading,.order-product-cell{width:360px;white-space:normal!important}.order-product-cell strong,.order-product-cell span{display:block}.order-product-cell span{color:var(--text-muted);line-height:1.35;margin-top:4px}.order-delivery-heading,.order-delivery-cell,.appointment-status-heading,.appointment-status-cell{width:360px;overflow:visible!important}.order-total-heading,.order-total-cell{width:170px;white-space:normal!important}.chatbot-orders-table th:last-child,.chatbot-orders-table td:last-child{width:185px;white-space:nowrap}@media (max-width: 1180px){.chatbot-orders-filter .form-section{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.chatbot-orders-filter .form-section{grid-template-columns:1fr}}.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-header h2{margin:0!important}.ai-outgoing-page{width:min(100%,1440px);margin:0 auto}.ai-outgoing-form{display:grid!important;grid-template-columns:1fr;gap:18px!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.language-page,.audio-page,.crm-page,.knowledgebank-page,.company-page,.billing-page,.carrier-page,.queue-page,.phone-page,.extension-page,.export-page{width:min(100%,1440px);margin:0 auto}.language-form,.audio-form,.crm-search-form,.knowledgebank-form,.company-form,.billing-form,.carrier-form,.queue-form,.phone-form,.extension-form,.export-form{display:grid!important;grid-template-columns:1fr;gap:18px!important;max-width:none!important;margin:0 0 28px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.ai-outgoing-form .form-section,.language-form .form-section,.audio-form .form-section,.crm-search-form .form-section,.knowledgebank-form .form-section,.company-form .form-section,.billing-form .form-section,.carrier-form .form-section,.queue-form .form-section,.phone-form .form-section,.extension-form .form-section,.export-form .form-section{padding:18px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.ai-outgoing-form .form-section h2,.language-form .form-section h2,.audio-form .form-section h2,.crm-search-form .form-section h2,.knowledgebank-form .form-section h2,.company-form .form-section h2,.billing-form .form-section h2,.carrier-form .form-section h2,.queue-form .form-section h2,.phone-form .form-section h2,.extension-form .form-section h2,.export-form .form-section h2{margin:0 0 16px!important;color:var(--primary-strong)!important;font-size:18px!important}.ai-outgoing-form .form-row,.language-form .form-row,.audio-form .form-row,.crm-search-form .form-row,.knowledgebank-form .form-row,.company-form .form-row,.billing-form .form-row,.carrier-form .form-row,.queue-form .form-row,.phone-form .form-row,.extension-form .form-row,.export-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ai-outgoing-form .form-row+.form-row,.language-form .form-row+.form-row,.audio-form .form-row+.form-row,.crm-search-form .form-row+.form-row,.knowledgebank-form .form-row+.form-row,.company-form .form-row+.form-row,.billing-form .form-row+.form-row,.carrier-form .form-row+.form-row,.queue-form .form-row+.form-row,.phone-form .form-row+.form-row,.extension-form .form-row+.form-row,.export-form .form-row+.form-row{margin-top:14px}.export-form .form-row-single{grid-template-columns:minmax(240px,1fr)}.export-form .form-section{max-width:760px}.export-form .form-actions{display:flex;justify-content:flex-start;margin-top:16px}.export-form .btn-submit{width:auto!important;min-width:132px!important;min-height:42px!important;padding:10px 18px!important;font-size:14px}.audio-form .form-row{grid-template-columns:repeat(3,minmax(220px,1fr));align-items:end}.crm-search-form .form-row{grid-template-columns:minmax(280px,1fr) auto;align-items:end}.crm-search-form .crm-filter-row{grid-template-columns:minmax(300px,1fr) minmax(320px,auto) minmax(160px,220px)!important}.crm-search-form .crm-date-pair{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px;align-items:end}.crm-search-form .crm-date-pair .form-group{flex:0 0 160px;min-width:160px}.crm-search-form .crm-action-row{grid-template-columns:minmax(0,1fr)!important;margin-top:12px!important}.crm-search-form .crm-action-row .form-actions{display:flex;justify-content:flex-start;gap:10px}.knowledgebank-form .form-row{grid-template-columns:minmax(240px,1fr) auto;align-items:end}.company-form{display:grid!important;grid-template-columns:repeat(3,minmax(220px,1fr));gap:16px!important;width:100%!important;max-width:none!important;margin:18px 0 28px!important;padding:18px!important;background:var(--surface-muted)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:none!important}.company-form .form-group{min-width:0;margin-bottom:0}.company-form .form-group-wide,.company-form .form-actions{grid-column:1 / -1}.edit-company-page{width:min(100%,1280px)!important;margin:0 auto 24px!important;padding:24px!important;background:#fff!important;border:1px solid var(--border)!important;border-radius:12px!important;box-shadow:var(--shadow-sm)!important}.edit-company-page .page-header{margin:0 0 20px!important;padding:0 0 16px!important;border-bottom:1px solid var(--border)!important}.edit-company-page .page-header h1{margin:0!important;color:var(--text)!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important}.edit-company-page .page-header p{margin:6px 0 0!important;color:var(--text-muted)!important;font-size:14px!important;font-weight:600!important}.edit-company-page .company-form{grid-template-columns:repeat(3,minmax(220px,1fr))!important;gap:16px!important;margin:0!important;padding:18px!important;background:#fff!important;border:1px solid var(--border)!important;border-radius:10px!important;box-shadow:0 1px 2px #0f172a0a!important}.edit-company-page .company-form .form-group{display:grid!important;align-content:start!important;gap:7px!important;min-width:0!important}.edit-company-page .company-form label{margin:0!important;color:#334155!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important}.edit-company-page .company-form input:not([type="checkbox"]),.edit-company-page .company-form select,.edit-company-page .company-form textarea{width:100%!important;min-height:42px!important;padding:9px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;color:var(--text)!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important;font-size:14px!important}.edit-company-page .company-form input:focus,.edit-company-page .company-form select:focus,.edit-company-page .company-form textarea:focus{border-color:var(--primary)!important;box-shadow:0 0 0 4px #2563eb1f!important;outline:none!important}.edit-company-page .company-form input[type=file]{padding:8px!important;background:#f8fafc!important}.edit-company-page .company-upload-card{display:grid!important;gap:8px!important}.edit-company-page .company-upload-dropzone{display:flex!important;align-items:center!important;gap:12px!important;min-height:116px!important;margin:0!important;padding:16px!important;border:1.5px dashed #b9c3d3!important;border-radius:12px!important;color:var(--text)!important;background:#f8fafc!important;cursor:pointer!important;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.edit-company-page .company-upload-dropzone:hover,.edit-company-page .company-upload-card.is-dragover .company-upload-dropzone{border-color:var(--primary)!important;background:#eff6ff!important;box-shadow:0 0 0 4px #2563eb1a!important}.edit-company-page .company-upload-card.has-file .company-upload-dropzone{border-color:var(--success)!important;background:#f0fdf4!important}.edit-company-page .company-upload-icon{display:inline-grid!important;place-items:center!important;flex:0 0 54px!important;width:54px!important;height:54px!important;border-radius:14px!important;color:var(--primary-strong)!important;background:#e8f0ff!important;font-size:12px!important;font-weight:900!important}.edit-company-page .company-upload-copy{display:grid!important;gap:4px!important;min-width:0!important}.edit-company-page .company-upload-title{color:var(--text)!important;font-size:14px!important;font-weight:900!important}.edit-company-page .company-upload-desc,.edit-company-page .company-upload-name{color:var(--text-muted)!important;font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere!important}.edit-company-page .company-upload-card.has-file .company-upload-name{color:#15803d!important;font-weight:800!important}.edit-company-page .company-upload-logo-icon{overflow:hidden!important;background:#fff!important;border:1px solid #cbd5e1!important}.edit-company-page .company-upload-logo-icon img{max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:4px!important}.edit-company-page .company-upload-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}.edit-company-page .inline-check{display:flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:10px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#f8fafc!important;color:var(--text)!important;font-size:14px!important;font-weight:700!important}.edit-company-page .inline-check input{width:16px!important;height:16px!important;accent-color:var(--primary)}.edit-company-page .company-file-preview{display:grid!important;gap:8px!important;margin-top:4px!important;padding:10px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#f8fafc!important}.edit-company-page .company-file-preview img{width:120px!important;height:82px!important;object-fit:contain!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;padding:6px!important}.edit-company-page .company-file-preview a{color:var(--primary-strong)!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}.edit-company-page .company-form .form-actions{display:flex!important;justify-content:flex-end!important;margin-top:4px!important;padding-top:16px!important;border-top:1px solid var(--border)!important}.edit-company-page .company-form .form-actions button{min-width:120px!important;min-height:40px!important;border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e!important}@media (max-width: 1024px){.edit-company-page .company-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (max-width: 700px){.edit-company-page{padding:16px!important}.edit-company-page .company-form{grid-template-columns:1fr!important;padding:16px!important}.edit-company-page .company-form .form-actions,.edit-company-page .company-form .form-actions button{width:100%!important}}.ai-outgoing-form input,.ai-outgoing-form textarea,.ai-outgoing-form select,.language-form input,.language-form textarea,.language-form select,.audio-form input,.audio-form textarea,.audio-form select,.crm-search-form input,.crm-search-form textarea,.crm-search-form select,.knowledgebank-form input,.knowledgebank-form textarea,.knowledgebank-form select,.company-form input,.company-form textarea,.company-form select,.billing-form input,.billing-form textarea,.billing-form select,.carrier-form input,.carrier-form textarea,.carrier-form select,.queue-form input,.queue-form textarea,.queue-form select,.phone-form input,.phone-form textarea,.phone-form select,.extension-form input,.extension-form textarea,.extension-form select,.export-form input,.export-form textarea,.export-form select{max-width:none!important}.carrier-form .form-group-wide,.queue-form .form-group-wide,.extension-form .form-group-wide{grid-column:span 1}.carrier-form .carrier-summary-row,.extension-form .extension-summary-row{grid-template-columns:repeat(3,minmax(180px,1fr))!important;align-items:end}.carrier-form .dialplan-row,.extension-form .dialplan-row{grid-template-columns:minmax(0,1fr)!important}.carrier-form .dialplan-row .form-group-wide,.extension-form .dialplan-row .form-group-wide{grid-column:1 / -1!important}.carrier-form .dialplan-row textarea,.extension-form .dialplan-row textarea{width:100%!important;max-width:none!important;min-height:180px}.carrier-form .form-actions,.audio-form .form-actions,.crm-search-form .form-actions,.knowledgebank-form .form-actions,.company-form .form-actions,.queue-form .form-actions,.phone-form .form-actions,.extension-form .form-actions{margin-top:16px}.carrier-table,.audio-table,.crm-table,.knowledgebank-table,.company-table,.queue-table,.phone-table,.extension-table{min-width:980px}.audio-table-wrap{width:100%;overflow-x:auto}.audio-player-cell audio{width:280px;max-width:100%}.crm-table-wrap{width:100%;overflow-x:auto}.crm-table{min-width:1900px}.crm-remarks-cell{max-width:320px;color:var(--text-muted)!important;white-space:normal}.crm-audio-cell audio{width:260px;max-width:100%}.table-summary{color:var(--text-muted);font-size:13px;font-weight:700;white-space:nowrap}.knowledgebank-table-wrap{width:100%;overflow-x:auto}.knowledgebank-table{min-width:980px}.company-table-wrap{width:100%;overflow-x:auto}.company-table{min-width:980px}.knowledge-page{width:100%;max-width:none;margin:0 auto}.knowledge-create-panel{margin-bottom:16px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.knowledge-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:24px}.knowledge-modal.is-open{display:flex}.knowledge-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52)}.knowledge-modal-panel{position:relative;z-index:1;width:min(100%,560px);max-height:calc(100vh - 48px);overflow:auto;padding:22px;background:#ffffff;border:1px solid var(--border);border-radius:14px;box-shadow:0 24px 70px #0f172a3d}.knowledge-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.knowledge-modal-header h2{margin:0!important;font-size:22px!important}.knowledge-modal-close{width:34px;height:34px;padding:0;border:0;border-radius:50%;color:var(--text-muted);background:var(--surface-muted);font-size:22px;line-height:1;cursor:pointer}.knowledge-create-form{display:grid!important;grid-template-columns:1fr;gap:14px!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.knowledge-create-form .form-group{margin-bottom:0}.knowledge-create-form .form-row{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px}.knowledge-create-form .form-group-wide{grid-column:1 / -1}.knowledge-create-form textarea,.knowledge-create-form input,.knowledge-create-form select{max-width:none!important}.knowledge-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.knowledge-workspace{min-height:640px;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;background:transparent;border:1px solid var(--border);border-radius:var(--radius);box-shadow:none;overflow:visible}.knowledge-sidebar{min-width:0;padding:18px;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:var(--shadow-sm)}.knowledge-sidebar-header,.knowledge-detail-header,.knowledge-doc-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.knowledge-sidebar-header{margin-bottom:14px}.knowledge-company-filter{display:grid;gap:7px;margin-bottom:14px}.knowledge-company-filter label{color:#334155;font-size:13px;font-weight:700}.knowledge-company-filter select{max-width:none}.knowledge-sidebar-header h2,.knowledge-detail-header h1{margin:0!important}.knowledge-sidebar-header p{margin:4px 0 0;color:var(--text-muted);font-size:13px}.knowledge-add-link{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#22a03a;border:0;border-radius:10px;font-size:26px;font-weight:500;cursor:pointer;box-shadow:inset 0 0 0 3px #fff,0 0 0 2px #22a03a}.knowledge-base-list{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.knowledge-base-card{flex:0 0 min(280px,86vw);display:flex;align-items:center;gap:12px;min-height:64px;padding:12px;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;box-shadow:0 2px 8px #0f172a0a;appearance:none;font:inherit;text-align:left;cursor:pointer}.knowledge-base-card.active,.knowledge-base-card:hover{border-color:#22a03a;background:#f2fbf4;color:var(--text)}.knowledge-base-card.active{border-width:2px;box-shadow:inset 4px 0 #22a03a,0 10px 24px #22a03a1f}.knowledge-base-card strong,.knowledge-base-card small{display:block}.knowledge-base-card small{margin-top:2px;color:var(--text-muted);font-size:12px}.knowledge-book-icon,.knowledge-doc-icon{flex:0 0 auto;color:#5f6775;font-size:22px;line-height:1}.knowledge-detail{min-width:0;padding:0}.knowledge-detail-header{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--border)}.knowledge-detail-header p{margin:5px 0 0}.knowledge-title-block{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;padding:20px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.knowledge-title-block h1{margin-bottom:8px!important}.knowledge-title-block p{max-width:760px;margin:0 0 12px;color:var(--text-muted);line-height:1.5}.knowledge-meta-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.knowledge-sync-badge{position:relative;min-height:32px;display:inline-flex;align-items:center;gap:9px;padding:6px 12px 6px 10px;border:1px solid transparent;border-radius:999px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);color:#475569;font-size:12px;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:0;box-shadow:0 1px 2px #0f172a0f,inset 0 1px #ffffffc7}.knowledge-sync-badge:before{content:"";width:18px;height:18px;flex:0 0 auto;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent)}.knowledge-sync-badge.sync-state-completed{color:#fff;border-color:#15803d;background:linear-gradient(180deg,#22c55e 0%,#15803d 100%);box-shadow:0 10px 22px #16a34a47,inset 0 1px #ffffff3d}.knowledge-sync-badge.sync-state-completed:before{content:"\2713";display:inline-flex;align-items:center;justify-content:center;color:#15803d;background:#ffffff;font-size:13px;font-weight:900;box-shadow:none}.knowledge-sync-badge.sync-state-syncing,.knowledge-sync-badge.sync-state-processing,.knowledge-sync-badge.sync-state-running,.knowledge-sync-badge.sync-state-pending{color:#1d4ed8;border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff 0%,#dbeafe 100%);box-shadow:0 8px 18px #2563eb17,inset 0 1px #ffffffd6}.knowledge-sync-badge.sync-state-failed,.knowledge-sync-badge.sync-state-error{color:#b91c1c;border-color:#fca5a5;background:linear-gradient(180deg,#fef2f2 0%,#fee2e2 100%);box-shadow:0 8px 18px #b91c1c14,inset 0 1px #ffffffd6}.knowledge-sync-badge.sync-state-not-synced,.knowledge-sync-badge.sync-state-checking{color:#475569;border-color:#cbd5e1;background:linear-gradient(180deg,#ffffff 0%,#f1f5f9 100%)}.knowledge-id-wrap{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}.knowledge-copy-button{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--text-muted);background:#ffffff;border:1px solid var(--border);border-radius:7px;font-size:15px;font-weight:800;line-height:1;cursor:pointer}.knowledge-copy-button:hover,.knowledge-copy-button.copied{color:#fff;border-color:#22a03a;background:#22a03a}.knowledge-upload-inline{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.knowledge-action-form{flex:0 0 auto;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.knowledge-sync-panel{display:block!important;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:0 0 18px!important;padding:14px!important;background:#fbfcfe!important;border:1px solid var(--border)!important;border-radius:var(--radius-sm)!important;box-shadow:none!important}#content .knowledge-sync-panel,body:not(.login-page) .knowledge-sync-panel{width:100%!important;max-width:none!important}.knowledge-sync-stack{width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:grid;gap:12px}.knowledge-sync-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:end}.knowledge-sync-submit{display:flex;justify-content:stretch;align-items:end}.knowledge-sync-stack .form-group{min-width:0;margin-bottom:0}.knowledge-sync-stack input{width:100%!important;min-width:0;max-width:none!important;box-sizing:border-box}.knowledge-sync-stack select,.knowledge-sync-stack textarea{width:100%!important;max-width:none!important;box-sizing:border-box}.knowledge-sync-submit .knowledge-action-button{width:100%}.knowledge-product-panel,.knowledge-file-panel{display:grid;gap:14px;margin:0 0 18px;padding:14px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm)}.knowledge-product-panel{border-left:4px solid #0f766e}.knowledge-file-panel{border-left:4px solid #2563eb;background:#fbfcfe}.knowledge-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.knowledge-section-heading h2{margin:0 0 4px!important;color:var(--text)!important;font-size:18px!important}.knowledge-section-heading p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.45}.knowledge-product-tools{display:grid;grid-template-columns:minmax(170px,auto) minmax(190px,auto);align-items:center;justify-content:flex-end;gap:8px}.knowledge-product-tools .knowledge-action-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.knowledge-section-subtitle{margin:4px 0 0!important;color:var(--text)!important;font-size:16px!important}.knowledge-product-form,.knowledge-product-card{width:100%;min-width:0;max-width:none!important;box-sizing:border-box;margin:0!important;padding:12px!important;background:#fbfcfe!important;border:1px solid var(--border)!important;border-radius:var(--radius-sm)!important;box-shadow:none!important}.knowledge-product-grid{width:100%;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:end}.knowledge-product-grid .form-group{min-width:0;margin-bottom:0}.knowledge-product-grid input,.knowledge-product-grid textarea{width:100%!important;max-width:none!important;box-sizing:border-box}.knowledge-product-grid textarea[name=tags]{min-height:42px!important;height:42px}.knowledge-product-description{align-self:stretch}.knowledge-product-list{display:grid;gap:12px}.knowledge-product-actions{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.knowledge-product-pagination{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin-top:12px}.knowledge-product-pagination a{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font-weight:800;text-decoration:none}.knowledge-product-pagination a.active,.knowledge-product-pagination a:hover{color:#fff;border-color:#0f766e;background:#0f766e}@media (min-width: 1100px){.knowledge-sync-row-top{grid-template-columns:minmax(320px,2fr) minmax(160px,1fr) minmax(160px,1fr)}.knowledge-sync-row-bottom{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(120px,.55fr)}.knowledge-product-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.knowledge-product-add-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.knowledge-product-description{grid-column:span 2}.knowledge-product-add-grid .knowledge-product-description{grid-column:span 1}.knowledge-product-add-grid .knowledge-product-description-full{grid-column:1 / -1}}@media (max-width: 700px){.knowledge-product-tools{grid-template-columns:minmax(0,1fr);justify-content:stretch}}.knowledge-sync-status{min-height:22px;display:inline-flex;align-items:center;gap:8px;margin-top:10px;color:var(--text-muted);font-size:13px;font-weight:800}.knowledge-sync-badge.is-loading:before,.knowledge-action-button.is-loading:before{content:"";width:14px;height:14px;display:inline-block;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;background:transparent;box-shadow:none;animation:knowledge-spin .8s linear infinite}.knowledge-action-button.is-loading{display:inline-flex;align-items:center;gap:8px;opacity:.8;cursor:wait}@keyframes knowledge-spin{to{transform:rotate(360deg)}}.knowledge-detail-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.knowledge-action-button{min-height:40px;padding:9px 14px;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font-weight:800;cursor:pointer}.knowledge-action-button:hover{border-color:var(--primary);color:var(--primary);background:#f8fafc}.knowledge-action-button.danger{color:#c92336;border-color:#f2b8c0;background:#fff6f7}.knowledge-action-button.sync{color:#fff;border-color:#2563eb;background:#2563eb}.knowledge-action-button.sync:hover{color:#fff;border-color:#1d4ed8;background:#1d4ed8}.knowledge-upload-button{width:100%;min-width:160px;min-height:44px;position:relative;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;color:#fff;background:#22a03a;border-radius:var(--radius-sm);font-weight:800;cursor:pointer}.knowledge-file-actions{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));align-items:stretch;gap:10px;width:min(100%,560px)}.knowledge-file-actions .knowledge-upload-inline{width:100%}.knowledge-file-actions .knowledge-upload-button,.knowledge-file-actions button.knowledge-upload-button{width:100%;height:44px;padding:10px 14px;border:0;box-sizing:border-box;white-space:nowrap}.knowledge-upload-button.product-upload-button{background:#0f766e}.knowledge-upload-button.service-upload-button{background:#7c3aed}.knowledge-guided-modal-panel{width:min(100%,980px);max-height:90vh;overflow:auto}.knowledge-guided-form{display:grid;gap:14px}.knowledge-guided-controls{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(220px,1.2fr) minmax(96px,.35fr);gap:12px;align-items:end;padding:12px;background:#f8fafc;border:1px solid var(--border);border-radius:var(--radius-sm)}.knowledge-guided-controls .form-group{margin-bottom:0;min-width:0}.knowledge-guided-controls input,.knowledge-guided-controls select{width:100%!important;max-width:none!important;box-sizing:border-box}.knowledge-guided-rows{display:grid;gap:12px}.knowledge-guided-row{display:grid;gap:10px;padding:12px;background:#fbfcfe;border:1px solid var(--border);border-radius:var(--radius-sm)}.knowledge-guided-row-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.knowledge-guided-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.knowledge-guided-grid .form-group{margin-bottom:0;min-width:0}.knowledge-guided-grid input,.knowledge-guided-grid textarea{width:100%!important;max-width:none!important;box-sizing:border-box}.knowledge-guided-wide{grid-column:1 / -1}.knowledge-guided-pagination{min-height:38px;display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.knowledge-guided-pagination span{margin-right:auto;color:var(--text-muted);font-size:13px;font-weight:800}.knowledge-guided-pagination button{min-width:34px;min-height:34px;padding:0 10px;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font-weight:800;cursor:pointer}.knowledge-guided-pagination button.active,.knowledge-guided-pagination button:hover:not(:disabled){color:#fff;border-color:#2563eb;background:#2563eb}.knowledge-guided-pagination button:disabled{opacity:.5;cursor:not-allowed}@media (min-width: 900px){.knowledge-guided-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 640px){.knowledge-file-actions{grid-template-columns:minmax(0,1fr);width:100%}.knowledge-guided-controls{grid-template-columns:minmax(0,1fr)}}.knowledge-delete-modal-panel{width:min(100%,480px)}.knowledge-delete-warning{margin:0;color:var(--text-muted);line-height:1.55}.knowledge-delete-warning strong{color:var(--text)}.knowledge-delete-target{display:grid;gap:4px;margin-top:14px;padding:12px;background:#fff6f7;border:1px solid #f2b8c0;border-radius:var(--radius-sm)}.knowledge-delete-target strong{color:#991b1b;overflow-wrap:anywhere}.knowledge-delete-target span{color:var(--text-muted);font-size:13px;line-height:1.4}.knowledge-confirm-delete-button{min-height:42px;padding:10px 18px;border:0;border-radius:var(--radius-sm);color:#fff;background:#e52f45;font-weight:800;cursor:pointer}.knowledge-upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.sr-submit{display:none!important}.knowledge-description{margin-bottom:14px;padding:12px 14px;color:var(--text-muted);background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.knowledge-doc-list{display:grid;gap:12px}.knowledge-doc-card{min-height:72px;padding:14px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius)}.knowledge-doc-main{min-width:0;flex:1}.knowledge-doc-main strong,.knowledge-doc-main span{display:block}.knowledge-doc-main strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.knowledge-doc-main span{color:var(--text-muted);font-size:13px}.knowledge-doc-tag{display:inline-flex!important;align-items:center;min-height:22px;padding:3px 8px;color:#1f2937!important;background:#eef2ff;border:1px solid #dbe4ff;border-radius:999px;font-size:12px!important;font-weight:800;line-height:1}.knowledge-doc-tag.product{color:#0f766e!important;background:#ecfdf5;border-color:#bbf7d0}.knowledge-doc-tag.service{color:#6d28d9!important;background:#f5f3ff;border-color:#ddd6fe}.knowledge-doc-tag.csv{color:#a16207!important;background:#fffbeb;border-color:#fde68a}.knowledge-doc-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.knowledge-doc-actions form{margin:0}.knowledge-download-button{min-width:88px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text)!important;background:#ffffff;font-weight:800;text-decoration:none!important}.knowledge-edit-button{min-width:68px;min-height:40px;border:1px solid #bfdbfe;border-radius:var(--radius-sm);color:#1d4ed8;background:#eff6ff;font-weight:800;cursor:pointer}.knowledge-delete-button{min-width:68px;min-height:40px;border:0;border-radius:var(--radius-sm);color:#fff;background:#e52f45;font-weight:800;cursor:pointer}.knowledge-empty-note,.knowledge-empty-detail{padding:18px;color:var(--text-muted);background:var(--surface-muted);border:1px dashed var(--border);border-radius:var(--radius)}.carrier-dialplan-cell,.queue-entry-cell,.extension-dialplan-cell{max-width:420px;white-space:pre-wrap}.carrier-dialplan-preview,.queue-entry-preview,.extension-dialplan-preview{max-height:76px;overflow:hidden;line-height:1.45}.table-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-actions form{display:inline-flex!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.chatbot-agent-actions{display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important}.chatbot-agent-actions form{display:inline-flex!important;width:auto!important;margin:0!important}.agent-edit-collapsible{padding:0!important;overflow:hidden}.agent-section-toggle{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border:0;border-bottom:1px solid transparent;color:var(--text);background:#f8fafc;font-size:15px;font-weight:900;text-align:left;cursor:pointer}.agent-section-toggle>span:first-child{flex:1 1 auto;min-width:0;text-align:left}.agent-edit-collapsible.is-open .agent-section-toggle{border-bottom-color:var(--border);background:#ffffff}.agent-section-chevron{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-left:auto;border-radius:999px;color:var(--primary-strong);background:#e8f0ff;font-size:18px;font-weight:900;line-height:1}.agent-section-body{padding:18px}.agent-widget-live-demo{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.agent-widget-demo-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.agent-widget-demo-head strong{color:var(--text);font-size:14px;font-weight:900}.agent-widget-demo-head span{color:var(--text-muted);font-size:12px;font-weight:800}.agent-widget-demo-stage{min-height:128px;position:relative}.agent-widget-live-demo-chatbot .agent-widget-demo-stage{min-height:48px;color:var(--text-muted);font-size:13px;font-weight:800}.social-manual-modal{position:fixed;inset:0;z-index:2147482500;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(15,23,42,.54)}.social-manual-modal.is-open{display:flex}.social-manual-dialog{width:min(640px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--border);border-radius:12px;background:#ffffff;box-shadow:0 24px 60px #0f172a40}.social-manual-head,.social-manual-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.social-manual-actions{justify-content:flex-end;border-top:1px solid var(--border);border-bottom:0}.social-manual-head h2{margin:0;color:var(--text);font-size:20px;font-weight:900}.social-manual-close{width:36px;height:36px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#ffffff;font-size:22px;line-height:1;cursor:pointer}.social-manual-form{display:grid;gap:14px;padding:18px}.social-manual-form label{display:grid;gap:7px;color:var(--text);font-size:13px;font-weight:900}.social-manual-form label>span:first-child{display:block;text-align:left}.social-manual-copy-row{display:flex;align-items:stretch;gap:8px}.social-manual-copy-row input{flex:1 1 auto}.social-manual-form .readonly-field{color:#334155;background:#f8fafc}.extension-preview-card{display:grid;gap:8px;padding:18px;border:1px solid #bfdbfe;border-radius:12px;color:#0f172a;background:linear-gradient(135deg,#eff6ff,#f8fafc);box-shadow:var(--shadow-sm)}.extension-preview-card span{color:#475569;font-size:12px;font-weight:900;text-transform:uppercase}.extension-preview-card strong{color:#0f172a;font-size:30px;font-weight:900;line-height:1}.product-thumb,.product-upload-preview{overflow:hidden;color:#64748b;background:#f1f5f9}.product-thumb img,.product-upload-preview img{width:100%;height:100%;object-fit:cover;display:block}.system-prompt-edit{min-height:360px!important;line-height:1.55!important;font-family:var(--font)!important}.response-container,.loading{margin-top:20px;padding:18px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius)}.response-container{display:none}.response-container.show,.loading.show{display:block}.loading{display:none;text-align:center;color:var(--text-muted)}.spinner{width:34px;height:34px;margin:0 auto 10px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:999px;animation:spin 1s linear infinite}.response-data{max-height:340px;overflow:auto;padding:14px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 900px){.hamburger,.menu-toggle{display:inline-flex}.wrapper,.app-layout{grid-template-columns:1fr}.sidebar{position:fixed;inset:64px auto 0 0;width:min(86vw,300px);transform:translate(-105%);transition:transform .2s ease;z-index:60}.sidebar.collapsed,.sidebar.is-open{transform:translate(0)}.content,.app-content{width:100%;max-width:100vw;min-width:0;padding:16px;overflow-x:auto;-webkit-overflow-scrolling:touch}.container{width:min(100% - 20px,1240px);margin:14px auto;padding:16px}.dashboard-header,.dashboard-grid{grid-template-columns:1fr}.dashboard-header{align-items:flex-start;flex-direction:column}.dashboard-header-actions,.dashboard-company-filter,.app-shell .content .dashboard-company-filter,.app-shell .content .dashboard-header-meta{width:100%!important}.dashboard-header-meta{width:100%;text-align:left}.dashboard-kpi-grid,.dashboard-time-grid,.dashboard-metric-list,.dashboard-subscription-banner,.admin-config-form,.permission-form{grid-template-columns:1fr}.admin-list-header,.user-panel-header,.user-toolbar{align-items:flex-start;flex-direction:column}.admin-search-bar{width:100%;max-width:none}.admin-search-bar form,.user-toolbar .search-bar form{grid-template-columns:1fr}.search-bar form{flex-direction:column}.agent-nav{width:100%}.ai-search form,.ai-content-grid{grid-template-columns:1fr}.ai-record-header{flex-direction:column}.ai-record-date{white-space:normal}.ai-panel-large{grid-row:auto}.ai-message{max-width:92%}.ai-audio{justify-content:flex-start}.recording-search form,.settings-form,.settings-form .form-section,.ai-outgoing-form .form-row,.language-form .form-row,.audio-form .form-row,.crm-search-form .form-row,.knowledgebank-form .form-row,.company-form,.knowledge-create-form .form-row,.knowledge-workspace{grid-template-columns:1fr}.knowledge-sidebar{border-right:0}.knowledge-title-block,.knowledge-detail-header,.knowledge-doc-card{align-items:flex-start;flex-direction:column}.knowledge-detail-actions{justify-content:flex-start;width:100%}.billing-form .form-row,.carrier-form .form-row,.queue-form .form-row,.phone-form .form-row,.extension-form .form-row,.export-form .form-row{grid-template-columns:1fr}}@media (max-width: 760px){.app-shell,.wrapper,.app-layout{width:100%;max-width:100vw;min-width:0;overflow-x:visible}.app-shell .content{background:var(--bg)!important}.app-shell .content :where(.user-management-page,.menu-management-page,.user-status-page,.audio-page){width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.app-shell .content :where(.user-table-wrap,.admin-table-wrap,.user-status-table-wrap,.audio-table-wrap,.table-responsive){width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}}@media (max-width: 640px){table{display:block;overflow-x:auto;white-space:nowrap}h1{font-size:24px}.topbar,.app-topbar{padding-inline:14px}}body:not(.login-page){background:var(--bg)!important}body:not(.login-page) .content,body:not(.login-page) .app-content,body:not(.login-page) #content-area{width:100%}body:not(.login-page) .content,body:not(.login-page) #content-area{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}body:not(.login-page) .content{width:calc(100% - 48px)!important;max-width:1440px!important;margin:24px auto!important}body:not(.login-page) #content-area{padding:22px!important}body:not(.login-page) .content>.container,body:not(.login-page) #content-area>.container,body:not(.login-page) .content>.ai-data-page,body:not(.login-page) .content>.recording-page,body:not(.login-page) #content-area>.ai-data-page,body:not(.login-page) #content-area>.recording-page{margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}body:not(.login-page) .content>h1,body:not(.login-page) .content>h2,body:not(.login-page) .content>h3,body:not(.login-page) #content-area>h1,body:not(.login-page) #content-area>h2,body:not(.login-page) #content-area>h3{width:min(100%,1440px);margin:0 auto 18px!important}body:not(.login-page) .container,body:not(.login-page) .page-shell,body:not(.login-page) .ai-data-page,body:not(.login-page) .recording-page{width:min(100%,1440px)!important;max-width:1440px!important;margin:0 auto 24px!important}body:not(.login-page) .container{padding:22px!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}body:not(.login-page) .content>.container,body:not(.login-page) #content-area>.container{padding:0!important}body:not(.login-page) h1{margin-bottom:8px!important;color:var(--text)!important;font-size:26px!important}body:not(.login-page) h2{margin:22px 0 14px!important;color:var(--text)!important;font-size:20px!important}body:not(.login-page) h3{margin:18px 0 12px!important;color:var(--text)!important;font-size:16px!important}body:not(.login-page) .page-header{width:min(100%,1440px);margin:0 auto 18px!important;padding:0!important}body:not(.login-page) .page-header p{color:var(--text-muted)!important}body:not(.login-page) .search-bar{width:min(100%,980px)!important;max-width:980px!important;margin:0 0 22px!important}body:not(.login-page) .search-bar form{width:100%!important;align-items:center!important}body:not(.login-page) .search-bar input{max-width:none!important}body:not(.login-page) form:not(.search-bar form):not(table form):not(td form){max-width:980px}body:not(.login-page) .form-group{margin-bottom:14px!important}body:not(.login-page) label,body:not(.login-page) .form-group label{margin:0!important;color:#334155!important;font-size:14px!important}body:not(.login-page) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body:not(.login-page) select,body:not(.login-page) textarea{width:100%!important;max-width:720px!important;margin:0!important}body:not(.login-page) textarea{min-height:130px!important}body:not(.login-page) button,body:not(.login-page) input[type=submit],body:not(.login-page) .button,body:not(.login-page) .btn,body:not(.login-page) .btn-submit,body:not(.login-page) .submitButton{min-width:92px;min-height:40px!important;margin:0!important;border-radius:var(--radius-sm)!important;box-shadow:none!important}body:not(.login-page) table{width:100%!important;margin:16px auto 22px!important;border:1px solid var(--border)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}body:not(.login-page) th,body:not(.login-page) td{padding:12px 13px!important;font-size:14px!important}body:not(.login-page) th{background:#334155!important;color:#fff!important;font-size:12px!important;font-weight:800!important}body:not(.login-page) td{color:var(--text)!important}body:not(.login-page) .pagination{width:min(100%,1440px);margin:22px auto 0!important}body:not(.login-page) .empty-state{width:100%;margin:0 auto}@media (max-width: 900px){body:not(.login-page) .content,body:not(.login-page) .app-content{padding:16px!important}body:not(.login-page) .content{width:calc(100% - 20px)!important;margin:10px auto!important}body:not(.login-page) .container{width:100%!important;padding:16px!important}body:not(.login-page) .search-bar form{display:grid!important;grid-template-columns:1fr!important}body:not(.login-page) input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),body:not(.login-page) select,body:not(.login-page) textarea{max-width:none!important}}.company-select-hidden{display:none!important}.admin-toast{position:fixed;top:18px;right:18px;z-index:99999;max-width:min(420px,calc(100vw - 36px));padding:14px 16px;border-radius:10px;color:#fff;background:#0f172a;box-shadow:0 18px 40px #0f172a38;font-weight:700;line-height:1.4;white-space:pre-line;opacity:0;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease}.admin-toast.is-visible{opacity:1;transform:translateY(0)}.admin-toast.success{background:#047857}.admin-toast.error{background:#b91c1c}.admin-toast.warning{background:#b45309}.ivr-config-form{gap:16px!important}.audio-page .audio-form.ivr-config-form{width:100%!important;max-width:none!important;min-width:0!important}.ivr-config-section{display:grid;gap:16px}.ivr-config-section[hidden],#interactiveRoutesSection[hidden],#welcomeModeRoutesSection[hidden]{display:none!important}.ivr-section-heading{display:flex;align-items:flex-start;gap:12px}.ivr-section-heading h2{margin:0 0 4px!important}.ivr-section-heading p{margin:0;font-size:13px}.ivr-section-icon{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--primary);border-radius:var(--radius-sm);font-size:13px;font-weight:800}.audio-form .ivr-config-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;min-width:0}.audio-form .ivr-config-grid .form-group-wide{grid-column:1 / -1}.ivr-mode-notice{padding:14px 16px;background:#fff7ed;border:1px solid #fed7aa;border-left:4px solid var(--warning);border-radius:var(--radius-sm)}.ivr-mode-notice strong{display:block;margin-bottom:4px;color:var(--warning);font-size:14px}.ivr-mode-notice p{margin:0;color:var(--text-muted);font-size:13px}.ivr-mode-notice[hidden]{display:none!important}.ivr-routes-toolbar{display:flex;justify-content:flex-start}.ivr-route-list{display:grid;gap:12px}.welcome-mode-route-row{grid-template-columns:minmax(0,1fr)}.welcome-mode-route-row .ivr-route-controls-group,.welcome-mode-route-row.is-group-extensions-route .ivr-route-controls-group{grid-template-columns:minmax(220px,260px) minmax(260px,1fr)}@media (max-width: 720px){.welcome-mode-route-row .ivr-route-controls-group,.welcome-mode-route-row.is-group-extensions-route .ivr-route-controls-group{grid-template-columns:1fr}}.ivr-route-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:0;max-width:100%}.ivr-route-controls-group{display:grid;grid-template-columns:minmax(120px,160px) minmax(220px,260px) minmax(260px,1fr);gap:12px;align-items:end;min-width:0;max-width:100%}.ivr-route-row.is-group-extensions-route .ivr-route-controls-group{grid-template-columns:minmax(120px,160px) minmax(220px,260px) minmax(260px,1fr);align-items:start}.ivr-route-controls-group .form-group{min-width:0;margin-bottom:0}.ivr-route-row.is-hangup-route .ivr-route-controls-group{grid-template-columns:minmax(120px,160px) minmax(220px,260px)}.ivr-route-row.is-hangup-route .ivr-route-target-group,.ivr-route-row.is-hangup-route .route-target-group-extension-panel{display:none!important}.ivr-route-target-group{min-width:0}.ivr-route-row.is-required{background:var(--surface-strong)}.route-target-group{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:end}.route-target-group-extension-panel{grid-column:1 / -1;display:grid;gap:6px;min-width:0;width:100%}.route-target-control[hidden],.route-target-group-extension-panel[hidden]{display:none!important}.ivr-route-row.is-group-extensions-route .route-target-group-strategy{width:100%;min-width:0}.route-target-subtitle{margin:0;color:var(--text-muted);font-size:12px;font-weight:700;line-height:1.2}.route-target-group-options,.route-target-group.tick-list{display:flex;flex-wrap:nowrap;gap:8px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);scrollbar-width:thin}.tick-option{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;width:max-content;min-width:max-content;max-width:none;min-height:34px;white-space:nowrap;padding:6px 10px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer}.tick-option input{width:auto!important;min-height:auto!important;margin:0}.tick-option[hidden]{display:none!important}.route-target-external-wrap{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,180px);gap:8px;min-width:0}.route-target-external-wrap input,.route-target-external-wrap select{width:100%;min-width:0}.ivr-route-target-group select[multiple]{min-height:104px;padding:8px}.ivr-route-target-group [hidden]{display:none!important}.ivr-route-actions{display:flex;align-items:end;justify-content:flex-start;min-height:42px}.button-secondary{color:var(--primary-strong)!important;background:var(--surface)!important;border:1px solid var(--border)!important}.button-secondary:hover,.button-secondary:focus{color:#fff!important;background:var(--primary)!important;border-color:var(--primary)!important}.button-danger{color:#fff!important;background:var(--danger)!important;border:1px solid var(--danger)!important}.button-danger:hover,.button-danger:focus{background:var(--danger-strong)!important;border-color:var(--danger-strong)!important}.button-danger:disabled{cursor:not-allowed!important;opacity:.55;filter:grayscale(.25)}.ivr-config-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:0!important}.ivr-config-table-wrap{margin-bottom:24px}.ivr-config-table{min-width:980px}.ivr-config-table-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ivr-config-table-actions form{margin:0}@media (prefers-color-scheme: dark){.audio-page{--surface: #17212b;--surface-muted: #111923;--surface-strong: #1f2d38;--text: #e5edf5;--text-muted: #9fb0c3;--border: #2d3d4c}.ivr-route-row,.button-secondary{background:var(--surface)!important}.ivr-mode-notice{background:#1f2d38;border-color:#3d5062}.ivr-route-row.is-required{background:var(--surface-strong)!important}}@media (max-width: 980px){.ivr-route-row{grid-template-columns:1fr}.ivr-route-controls-group{grid-template-columns:repeat(2,minmax(0,1fr))}.ivr-route-target-group{grid-column:1 / -1}}@media (max-width: 640px){.ivr-section-heading{align-items:flex-start}.ivr-route-row,.ivr-route-controls-group,.audio-form .ivr-config-grid,.route-target-group{grid-template-columns:1fr!important}.ivr-route-target-group{grid-column:1 / -1}.ivr-config-actions{flex-direction:column}.ivr-config-actions button{width:100%!important}}.ivr-live-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.ivr-live-summary div{min-width:0;padding:8px 10px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.ivr-live-summary span{display:block;margin-bottom:2px;color:var(--text-muted);font-size:11px;font-weight:700;text-transform:uppercase}.ivr-live-summary strong{display:block;overflow:hidden;color:var(--text);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.ivr-builder-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:16px;align-items:start}.ivr-builder-main{display:grid;gap:16px;min-width:0}.ivr-routing-mode-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.ivr-mode-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.ivr-mode-card{display:grid;gap:4px;min-height:92px;padding:14px;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer}.ivr-mode-card strong{color:var(--text);font-size:14px}.ivr-mode-card span{color:var(--text-muted);font-size:12px;line-height:1.4}.ivr-mode-card.is-active{background:color-mix(in srgb,var(--primary) 10%,var(--surface));border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 18%,transparent)}.ivr-flow-preview{position:sticky;top:14px;display:grid;gap:12px;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.ivr-flow-preview-header{display:flex;gap:10px;align-items:flex-start}.ivr-flow-preview-header h2{margin:0 0 3px!important;font-size:16px!important}.ivr-flow-preview-header p{margin:0;color:var(--text-muted);font-size:12px;line-height:1.35}.ivr-flow-preview-list{display:grid;gap:8px;margin:0;padding-left:22px}.ivr-flow-preview-list li{padding:8px 10px;color:var(--text);background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12px;line-height:1.35}.ivr-flow-validation{padding:10px;color:#92400e;background:#fffbeb;border:1px solid #fbbf24;border-radius:var(--radius-sm);font-size:12px}.ivr-flow-validation[hidden]{display:none!important}.ivr-flow-validation strong{display:block;margin-bottom:6px}.ivr-flow-validation ul{display:grid;gap:4px;margin:0;padding-left:18px}.route-extension-search{width:100%;min-height:36px!important;padding:7px 10px!important}.tick-option.is-search-hidden,.route-fallback-ai-group[hidden]{display:none!important}@media (max-width: 1180px){.ivr-builder-shell{grid-template-columns:1fr}.ivr-flow-preview{position:static}}@media (max-width: 640px){.ivr-live-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ivr-mode-card-grid{grid-template-columns:1fr}}@media (max-width: 760px){.app-shell .content .audio-page{--surface: #ffffff !important;--surface-muted: #f8fafc !important;--surface-strong: #f1f5f9 !important;--text: #111827 !important;--text-muted: #475569 !important;--border: #cbd5e1 !important;color:#111827!important;background:#f8fafc!important}.app-shell .content .audio-page :where(.form-section,.ivr-config-form,.ivr-builder-shell,.ivr-builder-main,.ivr-route-row,.ivr-route-controls-group,.ivr-route-target-group,.route-target-control,.route-target-group,.route-target-group-extension-panel,.tick-list,.tick-option,.ivr-flow-preview,.ivr-flow-preview-list li,.ivr-live-summary,.ivr-live-summary div,.ivr-mode-card,.broadcast-voice-picker,.audio-table-wrap,.ivr-config-table){color:#111827!important;background:#ffffff!important;border-color:#cbd5e1!important}.app-shell .content .audio-page :where(h1,h2,h3,h4,p,label,span,strong,small,div,li,td,th,.ivr-mode-card strong,.ivr-mode-card span,.ivr-flow-preview-header p,.route-target-subtitle,.broadcast-voice-meta strong,.broadcast-voice-meta span){color:#111827!important}.app-shell .content .audio-page :where(.form-text,.text-muted,.page-header p,.ivr-section-heading p){color:#475569!important}.app-shell .content .audio-page :where(input,select,textarea,.form-control,.form-select){color:#111827!important;background:#ffffff!important;border-color:#cbd5e1!important}.app-shell .content .audio-page :where(.ivr-section-icon,.broadcast-voice-icon){color:#111827!important;background:#e5e7eb!important}.app-shell .content .audio-page :where(button,.button,.btn,.button-secondary,.broadcast-voice-upload,.ivr-mode-card){color:#111827!important;background:#ffffff!important;border-color:#cbd5e1!important}.app-shell .content .audio-page :where(button[type="submit"],.btn-primary){color:#fff!important;background:var(--primary)!important;border-color:var(--primary)!important}.app-shell .content .audio-page :where(.button-danger,.btn-danger,button[name*="delete"]){color:#fff!important;background:#dc2626!important;border-color:#dc2626!important}}.app-shell{background:radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 30%),var(--bg)}.topbar{min-height:68px;padding:12px 24px;color:var(--text);background:rgba(255,255,255,.94);border-bottom:1px solid var(--border);box-shadow:0 1px 2px #0f172a0a;backdrop-filter:blur(12px)}.topbar a{color:var(--primary)}.topbar-brand{display:inline-flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none}.topbar-brand:hover{color:inherit}.topbar-brand-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:10px;object-fit:cover;box-shadow:0 4px 10px #0f172a1f}.topbar-brand-fallback{display:inline-grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);font-size:14px;font-weight:900;text-transform:uppercase}.topbar-brand-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.topbar-brand-copy strong{overflow:hidden;color:var(--text);font-size:15px;font-weight:800;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.topbar-brand-copy span{overflow:hidden;color:var(--text-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.topbar-title strong{color:var(--text);font-size:15px;letter-spacing:0}.topbar-title span{color:var(--text-muted)}.topbar .topbar-credit,.topbar-credit{color:var(--text);border-color:var(--border);background:#f8fafc}.topbar-credit-icon{color:var(--primary);background:#eff6ff}.topbar-credit-copy span{color:var(--text-muted)}.topbar-credit-copy strong{color:var(--text)}.hamburger{color:var(--text);background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.wrapper{grid-template-columns:272px minmax(0,1fr)}.sidebar{background:rgba(255,255,255,.96);border-right:1px solid var(--border)}.sidebar ul{padding:14px}.sidebar a{min-height:40px;padding:9px 12px;border-radius:8px;color:#475569;font-size:14px;font-weight:650}.sidebar a:hover{color:var(--primary-strong);background:#eff6ff}.sidebar a.active{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 8px 18px #2563eb38}.sidebar ul ul{margin:4px 0 8px 8px;padding:4px 0 4px 10px;border-left:1px solid var(--border)}.sidebar ul ul a{min-height:34px;padding:8px 10px;font-size:13px}.sidebar .logout{margin-top:10px;color:#b91c1c;background:#fef2f2}.sidebar .logout:hover{color:#991b1b;background:#fee2e2}.content{padding:28px}.content>.container,.admin-config-page,.bulk-call-panel,.bulk-call-page,.form-section,.dashboard-card,.card,.panel,.settings-card,.table-card{background:rgba(255,255,255,.96);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-sm)}.content>.container,.admin-config-page,.bulk-call-panel,.bulk-call-page{width:min(100%,1280px);margin:0 auto 24px;padding:24px}.page-header,.bulk-call-title-row,.campaign-header-row,.ai-campaign-header-row{padding-bottom:16px;border-bottom:1px solid var(--border)}.page-header h1,.content h1,.content .h3{color:var(--text);font-size:26px;font-weight:750;letter-spacing:0}.page-header p,.content .form-text,.example-text,.text-muted{color:var(--text-muted)!important}.content input[type=text],.content input[type=email],.content input[type=password],.content input[type=number],.content input[type=url],.content input[type=search],.content input[type=tel],.content input[type=date],.content input[type=datetime-local],.content input[type=time],.content select,.content textarea,.form-control,.form-select{min-height:40px;border:1px solid #cbd5e1;border-radius:8px;color:var(--text);background-color:#fff;box-shadow:0 1px 2px #0f172a0a;transition:border-color .16s ease,box-shadow .16s ease}.content textarea,textarea.form-control{min-height:104px}.content input:focus,.content select:focus,.content textarea:focus,.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 4px #2563eb1f;outline:none}.content label,.form-label{color:#334155;font-size:14px;font-weight:700}.content button,.content input[type=submit],.content input[type=button],.btn,.doc-button,.csv-sample-link,.ai-bulk-template{min-height:38px;border-radius:8px;font-weight:700;letter-spacing:0}.content button:not(.btn-secondary):not(.btn-outline-secondary):not(.btn-outline-primary):not(.button-secondary):not(.btn-danger):not(.btn-dangers):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close),.content input[type=submit],.btn-primary{border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e}.content button:not(.btn-secondary):not(.btn-outline-secondary):not(.btn-outline-primary):not(.button-secondary):not(.btn-danger):not(.btn-dangers):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close):hover,.content input[type=submit]:hover,.btn-primary:hover{border-color:var(--primary-strong)!important;background:var(--primary-strong)!important}.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.content button[type=button]{border:1px solid #cbd5e1;color:#334155;background:#fff}.content table,.table{overflow:hidden;border:1px solid var(--border)!important;border-radius:10px;background:#fff;box-shadow:var(--shadow-sm)}.content th,.table th{color:#334155;background:#f8fafc!important;border-color:var(--border)!important;font-size:13px;font-weight:750;text-transform:none}.content td,.table td{border-color:var(--border)!important;color:var(--text)}.content tr:hover td{background:#f8fafc}.alert,.success-message,.error-message,.notice,.message{border-radius:10px;border:1px solid var(--border);box-shadow:0 1px 2px #0f172a0a}.alert-success,.success-message{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.alert-danger,.error-message{color:#991b1b;background:#fef2f2;border-color:#fecaca}.alert-info,.notice{color:#1e40af;background:#eff6ff;border-color:#bfdbfe}.bulk-call-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:4px;border:1px solid var(--border);border-radius:10px;background:#f8fafc}.bulk-call-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border-radius:8px;color:#475569;font-weight:700}.bulk-call-tabs a.active{color:#fff;background:var(--primary);box-shadow:0 6px 14px #2563eb2e}.tw-flex{display:flex}.tw-grid{display:grid}.tw-hidden{display:none!important}.tw-items-center{align-items:center}.tw-justify-between{justify-content:space-between}.tw-gap-2{gap:8px}.tw-gap-3{gap:12px}.tw-gap-4{gap:16px}.tw-mb-2{margin-bottom:8px}.tw-mb-4{margin-bottom:16px}.tw-mt-4{margin-top:16px}.tw-p-4{padding:16px}.tw-p-6{padding:24px}.tw-rounded{border-radius:8px}.tw-rounded-lg{border-radius:10px}.tw-border{border:1px solid var(--border)}.tw-bg-white{background:#fff}.tw-bg-slate-50{background:#f8fafc}.tw-text-slate-900{color:#0f172a}.tw-text-slate-500{color:#64748b}.tw-text-sm{font-size:14px}.tw-font-semibold{font-weight:700}.tw-shadow-sm{box-shadow:var(--shadow-sm)}@media (max-width: 900px){.topbar{padding:10px 16px}.topbar-actions{margin-left:0}.topbar-brand-avatar{width:34px;height:34px;flex-basis:34px}.topbar-brand-copy span{max-width:180px}.topbar-credit{min-height:38px;padding:7px 10px}.topbar-credit-copy span{display:none}.hamburger{display:inline-flex}.wrapper{grid-template-columns:1fr}.sidebar{position:fixed;inset:68px auto 0 0;width:min(86vw,300px);transform:translate(-105%);transition:transform .2s ease;z-index:60}.sidebar.is-open,.sidebar.collapsed{transform:translate(0)}.content{padding:16px}.content>.container,.admin-config-page,.bulk-call-panel,.bulk-call-page{padding:16px}}.app-shell .content [class$=-table-wrap],.app-shell .content [class*="-table-wrap "]{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.app-shell .content [class$=-table-wrap] table,.app-shell .content [class*="-table-wrap "] table{border:0!important;border-radius:0!important;box-shadow:none!important}.app-shell .content [class$=-table-wrap] th,.app-shell .content [class$=-table-wrap] td,.app-shell .content [class*="-table-wrap "] th,.app-shell .content [class*="-table-wrap "] td{border-left:0!important;border-right:0!important}.app-shell .content .incoming-button-hangup,.app-shell .content button.hangup,.app-shell .content .btn-deactivate{border-color:#dc2626!important;color:#fff!important;background:#dc2626!important;box-shadow:0 8px 16px #dc26262e!important}.app-shell .content .btn-edit,.app-shell .content a.btn-edit,.app-shell .content button[name*=edit],.app-shell .content input[name*=edit],.app-shell .content .knowledge-edit-button,.app-shell .content .dynamic-edit,.app-shell .content .button-secondary[onclick*=edit],.app-shell .content .table-actions a:not(.btn-danger):not(.button-danger),.app-shell .content td>a:not(.btn-danger):not(.button-danger):not(.btn-primary){display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border:1px solid #cbd5e1!important;border-radius:8px;color:#111827!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a;font-size:13px;font-weight:750;text-decoration:none}.app-shell .content .btn-edit:hover,.app-shell .content button[name*=edit]:hover,.app-shell .content input[name*=edit]:hover,.app-shell .content .knowledge-edit-button:hover,.app-shell .content .dynamic-edit:hover,.app-shell .content .button-secondary[onclick*=edit]:hover,.app-shell .content .table-actions a:not(.btn-danger):not(.button-danger):hover,.app-shell .content td>a:not(.btn-danger):not(.button-danger):not(.btn-primary):hover{border-color:#94a3b8!important;background:#f8fafc!important}.app-shell .content :where(.pagination,.ai-queue-pagination,.subscription-pagination,.knowledge-product-pagination,.knowledge-guided-pagination){display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:18px}.app-shell .content :where(.pagination a,.pagination span,.pagination button,.ai-queue-pagination a,.ai-queue-pagination span,.subscription-pagination a,.subscription-pagination span,.knowledge-product-pagination a,.knowledge-product-pagination span,.knowledge-guided-pagination a,.knowledge-guided-pagination span,.knowledge-guided-pagination button){display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 12px;border:1px solid #cbd5e1;border-radius:8px;color:#334155;background:#fff;box-shadow:0 1px 2px #0f172a0a;font-size:13px;font-weight:750;text-decoration:none}.app-shell .content :where(.pagination a:hover,.pagination button:hover:not(:disabled),.ai-queue-pagination a:hover,.subscription-pagination a:hover,.knowledge-product-pagination a:hover,.knowledge-guided-pagination a:hover,.knowledge-guided-pagination button:hover:not(:disabled)){border-color:var(--primary);color:var(--primary-strong);background:#eff6ff}.app-shell .content :where(.pagination .active,.pagination a.active,.pagination button.active,.ai-queue-pagination .active,.subscription-pagination .active,.subscription-pagination a.active,.knowledge-product-pagination .active,.knowledge-product-pagination a.active,.knowledge-guided-pagination .active,.knowledge-guided-pagination button.active){border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e}.app-shell .content :where(.pagination button:disabled,.knowledge-guided-pagination button:disabled){color:#94a3b8!important;background:#f8fafc!important;cursor:not-allowed;opacity:.75}.app-shell .content .route-type-card,.app-shell .content .ivr-mode-card{color:#fff!important;background:var(--primary)!important;border:1px solid var(--primary)!important;box-shadow:0 8px 18px #2563eb2e!important}.app-shell .content .route-type-card strong,.app-shell .content .ivr-mode-card strong{color:#fff!important}.app-shell .content .route-type-card span,.app-shell .content .ivr-mode-card span{color:#ffffffdb!important}.app-shell .content .route-type-card.is-active,.app-shell .content .ivr-mode-card.is-active{color:#fff!important;background:var(--primary-strong)!important;border-color:var(--primary-strong)!important;box-shadow:0 0 0 4px #2563eb2e!important}.app-shell .content .bulk-call-page,.app-shell .content .ai-outgoing-page{background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-sm)}.app-shell .content .bulk-call-page form,.app-shell .content .ai-outgoing-page form#apiForm{border:0;box-shadow:none;background:transparent;padding:0}.app-shell .content .bulk-call-page .form-section,.app-shell .content .ai-outgoing-page .form-section{padding:18px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.app-shell .content .bulk-call-page .content-row,.app-shell .content .ai-outgoing-page .content-row{display:block}.app-shell .content .bulk-call-page .form-col,.app-shell .content .ai-outgoing-page .form-col{width:100%}.app-shell .content .bulk-call-page h1,.app-shell .content .ai-outgoing-page h1{margin-bottom:4px}.app-shell .content .bulk-call-page h2,.app-shell .content .ai-outgoing-page h2,.app-shell .content .bulk-call-page h3,.app-shell .content .ai-outgoing-page h3{color:#0f172a;letter-spacing:0}.app-shell .content .bulk-call-page .file-upload-card,.app-shell .content .ai-outgoing-page .file-upload-card{border-color:#e2e8f0;border-radius:12px;box-shadow:0 8px 22px #0f172a0f}.app-shell .content .bulk-call-page .file-upload-dropzone,.app-shell .content .ai-outgoing-page .file-upload-dropzone{color:#0f172a;background:#f8fafc}.app-shell .content .bulk-call-page .bulk-recipient-meta,.app-shell .content .ai-outgoing-page .ai-bulk-meta,.app-shell .content .ai-outgoing-page .ai-queue-summary{display:flex;flex-wrap:wrap;gap:8px}.app-shell .content .bulk-call-page .bulk-recipient-meta span,.app-shell .content .ai-outgoing-page .ai-bulk-meta span,.app-shell .content .ai-outgoing-page .ai-queue-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:999px;color:#334155;background:#f8fafc;font-size:13px;font-weight:750}.app-shell .content .bulk-call-page,.app-shell .content .ai-outgoing-page{width:min(100%,1280px)!important;margin:0 auto 24px!important;padding:24px!important;color:var(--text)!important;background:#fff!important;border:1px solid var(--border)!important;border-radius:12px!important;box-shadow:var(--shadow-sm)!important;font-family:var(--font)!important;font-size:14px!important;line-height:1.5!important}.app-shell .content .bulk-call-page *,.app-shell .content .ai-outgoing-page *{letter-spacing:0!important}.app-shell .content .bulk-call-page>.container,.app-shell .content .ai-outgoing-page>.container,.app-shell .content .bulk-call-page .container,.app-shell .content .ai-outgoing-page .container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.app-shell .content .bulk-call-page .page-header,.app-shell .content .ai-outgoing-page .page-header,.app-shell .content .bulk-call-page .bulk-call-title-row,.app-shell .content .ai-outgoing-page .ai-campaign-header-row,.app-shell .content .bulk-call-page .campaign-header-row{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin:0 0 18px!important;padding:0 0 16px!important;border-bottom:1px solid var(--border)!important}.app-shell .content .bulk-call-page .page-header h1,.app-shell .content .ai-outgoing-page .page-header h1,.app-shell .content .bulk-call-page .bulk-call-title-row h1,.app-shell .content .bulk-call-page .campaign-header-row h1,.app-shell .content .ai-outgoing-page h1{margin:0!important;color:var(--text)!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important}.app-shell .content .bulk-call-page .page-header p,.app-shell .content .ai-outgoing-page .page-header p{margin:6px 0 0!important;color:var(--text-muted)!important;font-size:14px!important;line-height:1.45!important}.app-shell .content .bulk-call-page .bulk-call-tabs,.app-shell .content .ai-outgoing-page .bulk-call-tabs{display:inline-flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 20px!important;padding:4px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:#f8fafc!important}.app-shell .content .bulk-call-page .bulk-call-tabs a,.app-shell .content .ai-outgoing-page .bulk-call-tabs a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 14px!important;border:0!important;border-radius:8px!important;color:#475569!important;background:transparent!important;box-shadow:none!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important}.app-shell .content .bulk-call-page .bulk-call-tabs a:hover,.app-shell .content .ai-outgoing-page .bulk-call-tabs a:hover{color:var(--primary-strong)!important;background:#eff6ff!important}.app-shell .content .bulk-call-page .bulk-call-tabs a.active,.app-shell .content .ai-outgoing-page .bulk-call-tabs a.active{color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e!important}.app-shell .content .bulk-call-page form.needs-validation,.app-shell .content .ai-outgoing-page form.needs-validation,.app-shell .content .ai-outgoing-page form#apiForm,.app-shell .content .bulk-call-page form.filters{display:grid!important;gap:18px!important;width:100%!important;margin:0 0 20px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}.app-shell .content .bulk-call-page .content-row,.app-shell .content .ai-outgoing-page .content-row,.app-shell .content .bulk-call-page .row,.app-shell .content .ai-outgoing-page .row{display:grid!important;grid-template-columns:repeat(2,minmax(240px,1fr))!important;gap:16px!important;margin:0 0 18px!important}.app-shell .content .bulk-call-page .content-row,.app-shell .content .ai-outgoing-page .content-row{grid-template-columns:1fr!important}.app-shell .content .bulk-call-page [class*=col-md-],.app-shell .content .ai-outgoing-page [class*=col-md-],.app-shell .content .bulk-call-page .form-col,.app-shell .content .ai-outgoing-page .form-col{width:100%!important;max-width:none!important;flex:none!important;padding:0!important}.app-shell .content .bulk-call-page .form-section,.app-shell .content .ai-outgoing-page .form-section{display:block;margin:0 0 18px!important;padding:18px!important;border:1px solid var(--border)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important}.app-shell .content .bulk-call-page h2,.app-shell .content .bulk-call-page h3,.app-shell .content .ai-outgoing-page h2,.app-shell .content .ai-outgoing-page h3,.app-shell .content .bulk-call-page .h3,.app-shell .content .bulk-call-page .h4,.app-shell .content .bulk-call-page .h5,.app-shell .content .ai-outgoing-page .h3,.app-shell .content .ai-outgoing-page .h4,.app-shell .content .ai-outgoing-page .h5{margin:0 0 14px!important;color:var(--text)!important;font-size:18px!important;font-weight:800!important;line-height:1.3!important}.app-shell .content .bulk-call-page label,.app-shell .content .bulk-call-page .form-label,.app-shell .content .ai-outgoing-page label,.app-shell .content .ai-outgoing-page .form-label{display:inline-flex!important;align-items:center!important;gap:4px!important;margin:0 0 6px!important;color:#334155!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important}.app-shell .content .bulk-call-page .required:after,.app-shell .content .ai-outgoing-page .required:after{content:" *"!important;color:var(--danger)!important;font-weight:900!important}.app-shell .content .bulk-call-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.app-shell .content .bulk-call-page select,.app-shell .content .bulk-call-page textarea,.app-shell .content .bulk-call-page .form-control,.app-shell .content .bulk-call-page .form-select,.app-shell .content .ai-outgoing-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.app-shell .content .ai-outgoing-page select,.app-shell .content .ai-outgoing-page textarea,.app-shell .content .ai-outgoing-page .form-control,.app-shell .content .ai-outgoing-page .form-select{width:100%!important;min-height:42px!important;padding:9px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;color:var(--text)!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important;font-family:var(--font)!important;font-size:14px!important;line-height:1.45!important}.app-shell .content .bulk-call-page textarea,.app-shell .content .ai-outgoing-page textarea{min-height:112px!important;resize:vertical!important}.app-shell .content .bulk-call-page input:focus,.app-shell .content .bulk-call-page select:focus,.app-shell .content .bulk-call-page textarea:focus,.app-shell .content .ai-outgoing-page input:focus,.app-shell .content .ai-outgoing-page select:focus,.app-shell .content .ai-outgoing-page textarea:focus{border-color:var(--primary)!important;box-shadow:0 0 0 4px #2563eb1f!important;outline:none!important}.app-shell .content .bulk-call-page .text-danger,.app-shell .content .ai-outgoing-page .text-danger,.app-shell .content .bulk-call-page .form-text,.app-shell .content .ai-outgoing-page .form-text,.app-shell .content .bulk-call-page .example-text,.app-shell .content .ai-outgoing-page .example-text{display:block!important;margin:6px 0 0!important;color:var(--text-muted)!important;font-size:12px!important;line-height:1.45!important}.app-shell .content .bulk-call-page .file-upload-card,.app-shell .content .ai-outgoing-page .file-upload-card{padding:18px!important;border:1px solid #e2e8f0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 22px #0f172a0f!important}.app-shell .content .bulk-call-page .file-upload-dropzone,.app-shell .content .ai-outgoing-page .file-upload-dropzone{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:172px!important;padding:26px 18px!important;border:1.5px dashed #b9c3d3!important;border-radius:12px!important;color:var(--text)!important;background:#f8fafc!important;text-align:center!important;cursor:pointer!important}.app-shell .content .bulk-call-page .file-upload-dropzone:hover,.app-shell .content .ai-outgoing-page .file-upload-dropzone:hover,.app-shell .content .bulk-call-page .file-upload-card.is-dragover .file-upload-dropzone,.app-shell .content .ai-outgoing-page .file-upload-card.is-dragover .file-upload-dropzone{border-color:var(--primary)!important;background:#eff6ff!important;box-shadow:0 0 0 4px #2563eb1a!important}.app-shell .content .bulk-call-page .file-upload-card.has-file .file-upload-dropzone,.app-shell .content .ai-outgoing-page .file-upload-card.has-file .file-upload-dropzone{border-color:var(--success)!important;background:#f0fdf4!important}.app-shell .content .bulk-call-page .file-upload-icon,.app-shell .content .ai-outgoing-page .file-upload-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:58px!important;height:58px!important;border-radius:16px!important;color:var(--primary-strong)!important;background:#e8f0ff!important;font-size:13px!important;font-weight:900!important}.app-shell .content .bulk-call-page .file-upload-title,.app-shell .content .ai-outgoing-page .file-upload-title{display:block!important;margin:0!important;color:var(--text)!important;font-size:15px!important;font-weight:800!important}.app-shell .content .bulk-call-page .file-upload-desc,.app-shell .content .ai-outgoing-page .file-upload-desc,.app-shell .content .bulk-call-page .file-upload-name,.app-shell .content .ai-outgoing-page .file-upload-name,.app-shell .content .bulk-call-page .file-upload-status,.app-shell .content .ai-outgoing-page .file-upload-status,.app-shell .content .bulk-call-page .file-upload-help p,.app-shell .content .ai-outgoing-page .file-upload-help p{color:var(--text-muted)!important;font-size:13px!important;line-height:1.45!important}.app-shell .content .bulk-call-page .file-upload-card.has-file .file-upload-status,.app-shell .content .ai-outgoing-page .file-upload-card.has-file .file-upload-status{color:#15803d!important}.app-shell .content .bulk-call-page .file-upload-help,.app-shell .content .ai-outgoing-page .file-upload-help{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-top:14px!important}.app-shell .content .bulk-call-page .csv-sample-link,.app-shell .content .ai-outgoing-page .ai-bulk-template{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:8px 14px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;color:var(--text)!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important}.app-shell .content .bulk-call-page .csv-sample-link:hover,.app-shell .content .ai-outgoing-page .ai-bulk-template:hover{border-color:var(--primary)!important;color:var(--primary-strong)!important;background:#eff6ff!important}.app-shell .content .bulk-call-page .bulk-recipient-meta,.app-shell .content .ai-outgoing-page .ai-bulk-meta,.app-shell .content .ai-outgoing-page .ai-queue-summary{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:12px 0 18px!important}.app-shell .content .bulk-call-page .bulk-recipient-meta span,.app-shell .content .ai-outgoing-page .ai-bulk-meta span,.app-shell .content .ai-outgoing-page .ai-queue-pill{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:6px 10px!important;border:1px solid #e2e8f0!important;border-radius:999px!important;color:#334155!important;background:#f8fafc!important;font-size:13px!important;font-weight:800!important}.app-shell .content .bulk-call-page button,.app-shell .content .ai-outgoing-page button,.app-shell .content .bulk-call-page .btn,.app-shell .content .ai-outgoing-page .btn,.app-shell .content .bulk-call-page .reload-button,.app-shell .content .ai-outgoing-page .ai-refresh-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;padding:9px 14px!important;border-radius:8px!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important}.app-shell .content .bulk-call-page button[type=submit],.app-shell .content .ai-outgoing-page button[type=submit],.app-shell .content .bulk-call-page .btn-primary,.app-shell .content .ai-outgoing-page .btn-primary,.app-shell .content .bulk-call-page .reload-button,.app-shell .content .ai-outgoing-page .ai-refresh-button{border-color:var(--primary)!important;color:#fff!important;background:var(--primary)!important;box-shadow:0 8px 16px #2563eb2e!important}.app-shell .content .bulk-call-page button[type=submit]:hover,.app-shell .content .ai-outgoing-page button[type=submit]:hover,.app-shell .content .bulk-call-page .btn-primary:hover,.app-shell .content .ai-outgoing-page .btn-primary:hover,.app-shell .content .bulk-call-page .reload-button:hover,.app-shell .content .ai-outgoing-page .ai-refresh-button:hover{border-color:var(--primary-strong)!important;color:#fff!important;background:var(--primary-strong)!important}.app-shell .content .bulk-call-page .btn-secondary,.app-shell .content .ai-outgoing-page .btn-secondary,.app-shell .content .bulk-call-page button[type=button]:not(.btn-primary),.app-shell .content .ai-outgoing-page button[type=button]:not(.btn-primary){border:1px solid #cbd5e1!important;color:#334155!important;background:#fff!important;box-shadow:0 1px 2px #0f172a0a!important}.app-shell .content .bulk-call-page table,.app-shell .content .ai-outgoing-page table{width:100%!important;overflow:hidden!important;border:1px solid var(--border)!important;border-radius:10px!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;box-shadow:var(--shadow-sm)!important;font-size:13px!important}.app-shell .content .bulk-call-page th,.app-shell .content .ai-outgoing-page th{padding:12px!important;color:#334155!important;background:#f8fafc!important;border-bottom:1px solid var(--border)!important;font-size:12px!important;font-weight:900!important;text-align:left!important}.app-shell .content .bulk-call-page td,.app-shell .content .ai-outgoing-page td{padding:12px!important;color:var(--text)!important;border-bottom:1px solid var(--border)!important;background:#fff!important;vertical-align:middle!important}.app-shell .content .bulk-call-page tr:hover td,.app-shell .content .ai-outgoing-page tr:hover td{background:#f8fafc!important}@media (max-width: 760px){.app-shell .content .bulk-call-page,.app-shell .content .ai-outgoing-page{padding:16px!important}.app-shell .content .bulk-call-page .row,.app-shell .content .ai-outgoing-page .row{grid-template-columns:1fr!important}.app-shell .content .bulk-call-page .file-upload-help,.app-shell .content .ai-outgoing-page .file-upload-help{display:grid!important}.app-shell .content .bulk-call-page .csv-sample-link,.app-shell .content .ai-outgoing-page .ai-bulk-template,.app-shell .content .bulk-call-page button,.app-shell .content .ai-outgoing-page button{width:100%!important}}@media (max-width: 900px){html,body:not(.login-page){width:100%!important;max-width:100vw!important;min-width:0!important;overflow-x:hidden!important}body:not(.login-page) .content,body:not(.login-page) .app-content,body:not(.login-page) #content-area{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;border-left:0!important;border-right:0!important;border-radius:0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}body:not(.login-page) .content *,body:not(.login-page) .app-content *,body:not(.login-page) #content-area *{max-width:100%;box-sizing:border-box}body:not(.login-page) .page-header,body:not(.login-page) .dashboard-header,body:not(.login-page) .admin-list-header,body:not(.login-page) .user-panel-header,body:not(.login-page) .section-header,body:not(.login-page) .campaign-header-row,body:not(.login-page) .bulk-call-title-row,body:not(.login-page) .ai-campaign-header-row{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;gap:10px!important;width:100%!important;min-width:0!important}body:not(.login-page) .page-header h1,body:not(.login-page) .dashboard-header h1,body:not(.login-page) .admin-list-header h1,body:not(.login-page) .section-header h1,body:not(.login-page) .content h1{max-width:100%!important;overflow-wrap:anywhere!important;line-height:1.2!important}body:not(.login-page) .page-header p,body:not(.login-page) .dashboard-header p,body:not(.login-page) .admin-list-header p,body:not(.login-page) .section-header p{max-width:100%!important;overflow-wrap:anywhere!important}body:not(.login-page) :where(form):not(td form):not(table form):not(.inline-form){width:100%!important;max-width:none!important;min-width:0!important}body:not(.login-page) :where(.form-row,.row,.content-row,.form-grid,.filter-row,.crm-filter-row,.settings-grid){display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}body:not(.login-page) :where([class*="col-md-"],[class*="col-lg-"],[class*="col-sm-"],.form-col,.field,.form-group,.filter-group){width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;padding-left:0!important;padding-right:0!important}body:not(.login-page) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea,.form-control,.form-select){width:100%!important;max-width:none!important;min-width:0!important}body:not(.login-page) :where(.form-actions,.button-group,.actions,.table-actions,.crm-action-row,.dashboard-header-actions){display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;min-width:0!important}body:not(.login-page) :where(.form-actions button,.form-actions .btn,.form-actions .button,.button-group button,.button-group .btn,.actions button,.actions .btn){flex:1 1 160px!important;min-width:0!important}.app-shell .content :where(.user-management-page,.menu-management-page,.user-status-page,.audio-page,.carrier-page,.phone-page,.crm-page,.ai-settings-page,.admin-config-page,.ai-history-page,.ai-data-page,.recording-page,.company-page,.subscription-page,.knowledge-page,.knowledge-base-page,.edit-company-page){width:100%!important;max-width:none!important;min-width:0!important;overflow-x:visible!important}.app-shell .content :where(.user-table-wrap,.admin-table-wrap,.user-status-table-wrap,.settings-table-wrap,.audio-table-wrap,.crm-table-wrap,.company-table-wrap,.recording-table-wrap,.knowledgebank-table-wrap,.subscription-table-wrap,.queue-table-wrap,.carrier-table-wrap,.extension-table-wrap,.phone-table-wrap,.conversation-list-card,.table-responsive,[class$="-table-wrap"],[class*="-table-wrap "]){display:block!important;width:100%!important;max-width:none!important;min-width:0!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch}.app-shell .content :where(.user-table-wrap,.admin-table-wrap,.user-status-table-wrap,.settings-table-wrap,.audio-table-wrap,.crm-table-wrap,.company-table-wrap,.recording-table-wrap,.knowledgebank-table-wrap,.subscription-table-wrap,.queue-table-wrap,.carrier-table-wrap,.extension-table-wrap,.phone-table-wrap,.conversation-list-card,.table-responsive,[class$="-table-wrap"],[class*="-table-wrap "])>table,.app-shell .content :where(.settings-table,.user-table,.admin-data-table,.user-status-table,.crm-table,.carrier-table,.extension-table,.company-table,.recording-table,.chatbot-orders-table,.queue-table,.phone-table){width:max-content!important;max-width:none!important}.app-shell .content :where(table th,table td,.table th,.table td){white-space:normal!important;overflow-wrap:anywhere!important}}@media (max-width: 520px){body:not(.login-page) .content,body:not(.login-page) .app-content,body:not(.login-page) #content-area{padding:12px!important}body:not(.login-page) h1,body:not(.login-page) .content h1,body:not(.login-page) .page-header h1{font-size:22px!important}body:not(.login-page) h2,body:not(.login-page) .content h2{font-size:18px!important}body:not(.login-page) :where(.form-actions button,.form-actions .btn,.form-actions .button,.button-group button,.button-group .btn,.actions button,.actions .btn){flex-basis:100%!important;width:100%!important}}@media (max-width: 760px){.app-shell .content .crm-page .crm-table-wrap,.app-shell .content .crm-page .crm-table-wrap>table.crm-table,.app-shell .content .crm-page table.crm-table{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}.app-shell .content .crm-page .crm-table{display:block!important;background:transparent!important;border:0!important;box-shadow:none!important}.app-shell .content .crm-page .crm-table thead{display:none!important}.app-shell .content .crm-page .crm-table tbody{display:grid!important;gap:12px!important}.app-shell .content .crm-page .crm-table tr{display:block!important;width:100%!important;max-width:100%!important}.app-shell .content .crm-page .crm-table td{display:grid!important;grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;white-space:normal!important;overflow-wrap:anywhere!important}}@media (max-width: 420px){.app-shell .content .crm-page .crm-table td{grid-template-columns:1fr!important}}body.login-page .login-container{text-align:left!important}body.login-page .login-logo,body.login-page .login-container h2{text-align:center!important}body.login-page .login-container form{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important}body.login-page .login-container input:not([type="checkbox"]),body.login-page .login-container select,body.login-page .multiselect-container,body.login-page .login-container input[type=submit]{width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box!important;text-align:left!important}body.login-page .login-container input:not([type="checkbox"]),body.login-page .login-container select{padding:10px 12px!important}body.login-page .multiselect-container{padding:10px 12px!important}body.login-page #selected-options{text-align:left!important}body.login-page .options-container{left:0!important;right:auto!important;width:100%!important;text-align:left!important}body.login-page .options-container label{justify-content:flex-start!important;text-align:left!important}body.login-page .remember{justify-content:flex-start!important;align-items:center!important;width:100%!important;margin:0 0 6px!important;text-align:left!important}body.login-page .remember input{width:16px!important;height:16px!important;margin:0!important}body.login-page .login-container input[type=submit]{text-align:center!important}.complaints-page{display:grid;gap:18px;width:100%;max-width:100%;min-width:0;color:var(--text)}.complaints-page,.complaints-page *{box-sizing:border-box}.complaints-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;padding:18px 20px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.complaints-header h1{margin:0 0 4px;font-size:24px}.complaints-header p{margin:0}.complaints-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start;min-width:0}.complaints-page-admin .complaints-grid{grid-template-columns:1fr}.complaints-page-agent .complaints-grid{grid-template-columns:410px minmax(0,1fr)}.complaints-page-agent .complaint-card .complaint-form-grid{grid-template-columns:1fr}.complaints-page-agent .complaint-filter{grid-template-columns:minmax(180px,1fr) 150px 150px auto}.complaints-panel,.complaint-card{min-width:0;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.complaint-card{display:grid;gap:12px;align-content:start}.complaint-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.complaint-section-title h2,.complaint-section-title h3{margin:0}.complaint-muted{color:var(--text-muted);font-size:13px}.complaint-admin-analytics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.complaint-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.complaint-kpi{padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);min-width:0}.complaint-kpi span{display:block;color:var(--text-muted);font-size:12px;font-weight:700;text-transform:uppercase}.complaint-kpi strong{display:block;margin-top:4px;color:var(--text);font-size:24px;line-height:1;overflow-wrap:anywhere}.complaint-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.complaint-form-grid .full{grid-column:1 / -1}.complaint-field{display:grid;gap:6px}.complaint-field label{color:var(--text-muted);font-size:13px;font-weight:700}.complaint-field input,.complaint-field select,.complaint-field textarea{width:100%;min-height:40px;padding:9px 10px;color:var(--text);background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;outline:none}.complaint-field input:focus,.complaint-field select:focus,.complaint-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #176b871f}.complaint-field textarea{min-height:96px;resize:vertical}.complaint-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.complaint-actions.full,.complaint-filter .full{grid-column:1 / -1}.complaint-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;color:#fff;background:var(--primary);border:0;border-radius:var(--radius-sm);cursor:pointer;font-weight:700;text-decoration:none;white-space:nowrap}.complaint-button:hover{color:#fff;background:var(--primary-strong)}.complaint-button.secondary{color:var(--primary-strong);background:var(--surface-strong);border:1px solid var(--border)}.complaint-button.secondary:hover{color:var(--primary-strong);background:#e6eef5}.complaint-button.danger{background:var(--danger)}.complaint-filter{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(5,minmax(120px,1fr));gap:10px;margin-bottom:16px;padding:14px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.complaint-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm)}.complaint-table{width:100%;min-width:780px;border-collapse:collapse;background:#ffffff}.complaint-table th,.complaint-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top;font-size:13px}.complaint-table th{color:var(--text-muted);background:var(--surface-muted);font-size:12px;text-transform:uppercase;white-space:nowrap}.complaint-table tbody tr:hover{background:#f8fafc}.complaint-table td:nth-child(3){min-width:180px}.complaint-table small{color:var(--text-muted)}.complaint-empty,.complaint-empty-cell{padding:18px;color:var(--text-muted);background:var(--surface-muted);border:1px dashed var(--border);border-radius:var(--radius-sm);text-align:center;font-weight:700}.complaint-empty-cell{border:0}.complaint-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;color:#334155;background:#edf2f7;font-size:12px;font-weight:800;white-space:nowrap}.complaint-badge-new,.complaint-badge-in-review,.complaint-badge-assigned{color:#075985;background:#e0f2fe}.complaint-badge-in-progress,.complaint-badge-reopened,.complaint-badge-high{color:#92400e;background:#fef3c7}.complaint-badge-resolved,.complaint-badge-closed,.complaint-badge-low{color:#166534;background:#dcfce7}.complaint-badge-rejected,.complaint-badge-critical{color:#991b1b;background:#fee2e2}.complaint-badge-medium{color:#334155;background:#e2e8f0}.complaint-message{padding:10px 12px;border-radius:var(--radius-sm);font-weight:700}.complaint-message.success{color:#166534;background:#dcfce7}.complaint-message.error{color:#991b1b;background:#fee2e2}.complaint-detail{display:grid;gap:14px;overflow:visible}.complaint-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.complaint-meta div{padding:10px;background:var(--surface-muted);border:1px solid var(--border);border-radius:var(--radius-sm)}.complaint-meta span{display:block;color:var(--text-muted);font-size:12px;font-weight:700}.complaint-meta strong{display:block;margin-top:2px}.complaint-timeline{display:grid;gap:8px}.complaint-timeline-item{padding:10px;background:var(--surface-muted);border-left:3px solid var(--primary);border-radius:var(--radius-sm)}.complaint-timeline-item small{display:block;color:var(--text-muted);margin-top:4px}.complaint-chart-list{display:grid;gap:9px}.complaint-chart-row{display:grid;grid-template-columns:minmax(92px,.9fr) minmax(0,1fr) 34px;gap:8px;align-items:center;min-width:0;font-size:13px}.complaint-chart-row span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.complaint-chart-bar{height:10px;background:var(--surface-strong);border-radius:999px;overflow:hidden}.complaint-chart-bar span{display:block;height:100%;background:var(--accent)}@media (max-width: 1100px){.complaints-grid,.complaints-page-agent .complaints-grid,.complaint-admin-analytics,.complaint-form-grid,.complaint-filter{grid-template-columns:1fr}.complaint-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.complaints-page-agent .complaint-filter{grid-template-columns:1fr}}@media (max-width: 720px){.complaints-header,.complaints-panel,.complaint-card{padding:14px}.complaints-header,.complaint-section-title{align-items:flex-start;display:grid;grid-template-columns:1fr;gap:8px}.complaint-kpi-grid,.complaint-admin-analytics,.complaint-form-grid,.complaint-filter,.complaints-grid{grid-template-columns:1fr!important}.complaint-actions{display:grid;grid-template-columns:1fr;width:100%}.complaint-actions .complaint-button,.complaint-table .complaint-button{width:100%;min-width:0}.complaint-table-wrap{border:0;overflow:visible}.complaint-table{display:block;width:100%;min-width:0;border:0;background:transparent}.complaint-table thead{display:none}.complaint-table tbody{display:grid;gap:12px}.complaint-table tr{display:block;width:100%;padding:12px;background:#ffffff;border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm)}.complaint-table td{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:10px;width:100%;padding:9px 0;border:0;border-bottom:1px solid var(--border);white-space:normal;overflow-wrap:anywhere}.complaint-table td:last-child{border-bottom:0}.complaint-table td:before{content:attr(data-label);color:var(--text-muted);font-size:11px;font-weight:800;letter-spacing:.03em;line-height:1.3;text-transform:uppercase}.complaint-table td:nth-child(3){min-width:0}.complaint-empty-cell{display:block!important}.complaint-empty-cell:before{content:none!important}}@media (max-width: 420px){.complaint-table td{grid-template-columns:1fr;gap:4px}}html,body,#root{width:100%;min-height:100vh;margin:0}body{font-family:Inter,Roboto,Noto Sans Bengali,Hind Siliguri,SolaimanLipi,Arial,sans-serif;box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}body.login-page{display:grid;place-items:center;padding:28px;background:linear-gradient(135deg,rgba(23,107,135,.08),rgba(47,158,143,.08)),#f4f6f8}body.login-page #root{display:grid;place-items:center}body.app-shell #root{min-height:100vh}.app-top-loader{position:sticky;top:72px;z-index:60;height:3px;margin-left:272px;overflow:hidden;background:transparent;opacity:0;pointer-events:none;transition:opacity .16s ease}body.app-shell{overflow-x:hidden}body.app-shell .wrapper{min-height:calc(100dvh - 64px);align-items:stretch;grid-template-columns:272px minmax(0,1fr);margin-top:64px}body.app-shell .sidebar{position:fixed;top:64px;left:0;width:272px;display:flex;flex-direction:column;min-height:calc(100dvh - 64px);height:calc(100dvh - 64px);overflow:hidden;z-index:40}body.app-shell .content{grid-column:2}body.app-shell .topbar{position:fixed;top:0;left:0;right:0;width:100%;z-index:1000}body.app-shell .topbar-brand{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;color:#fff}body.app-shell .topbar-brand:hover{color:#fff}body.app-shell .topbar-logo{width:52px;height:52px;object-fit:contain;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 20px #0f172a29}body.app-shell .topbar-brand-copy{min-width:0;display:grid;gap:2px}body.app-shell .topbar-brand-copy strong{color:#000;font-size:17px;font-weight:900;line-height:1.15}body.app-shell .topbar-brand-copy span{color:#000;font-size:12px;font-weight:700;line-height:1.2}body.app-shell .sidebar-menu{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}body.app-shell .sidebar-menu>ul{margin:0}body.app-shell .sidebar-profile{position:sticky;bottom:0;margin-top:auto;padding:12px 14px 14px;background:linear-gradient(180deg,rgba(248,250,252,.94) 0%,#ffffff 22%);border-top:1px solid var(--border)}body.app-shell .sidebar-profile-toggle{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;color:var(--text);background:#f8fafc;border:1px solid var(--border);border-radius:12px;cursor:pointer;box-shadow:0 8px 18px #0f172a0d;text-align:left}body.app-shell .sidebar-profile-toggle:hover{background:#eff6ff;border-color:#bfdbfe}body.app-shell .sidebar-profile-toggle.is-open{background:#eff6ff;border-color:#93c5fd}body.app-shell .sidebar-profile-toggle .topbar-brand-avatar{width:44px;height:44px;flex:0 0 44px}body.app-shell .sidebar-profile-copy{min-width:0;display:grid;gap:2px}body.app-shell .sidebar-profile-copy strong,body.app-shell .sidebar-profile-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.app-shell .sidebar-profile-copy strong{color:#000;font-size:14px;font-weight:800}body.app-shell .sidebar-profile-copy span{color:#000;font-size:12px}body.app-shell .sidebar-profile-actions{display:none;padding-top:10px}body.app-shell .sidebar-profile-actions.active{display:block}body.app-shell .sidebar-profile-actions form{margin:0}body.app-shell .sidebar-profile-actions .logout{width:100%;margin-top:0}.app-top-loader span{display:block;width:42%;height:100%;border-radius:999px;background:linear-gradient(90deg,rgba(37,99,235,.12),#2563eb,#22a03a);transform:translate(-120%)}.app-top-loader.is-active{opacity:1}.app-top-loader.is-active span{animation:app-top-loader-slide 1s ease-in-out infinite}.shimmer-block{position:relative;display:block;overflow:hidden;border-radius:8px;background:#e8eef6}.shimmer-block:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:shimmer-slide 1.35s ease-in-out infinite}@keyframes shimmer-slide{to{transform:translate(100%)}}.page-shimmer{width:min(100%,1280px);margin:0 auto;display:grid;gap:16px}.shimmer-panel{display:grid;gap:14px;padding:18px;background:#fff;border:1px solid #dfe7f1;border-radius:10px;box-shadow:0 8px 22px #0f172a0d}.shimmer-title{width:min(340px,70%);height:30px}.shimmer-line{height:14px}.shimmer-line-short{width:82px;height:12px}.shimmer-line-medium{width:min(520px,85%)}.shimmer-line-wide{width:100%}.shimmer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.shimmer-card{min-height:86px}.shimmer-row{height:46px}.shimmer-logo{width:120px;height:18px}.shimmer-credit{width:178px;height:46px;border-radius:8px}.shimmer-nav{width:84%;height:18px;margin:9px 0}@media (max-width: 900px){.page-shimmer{width:100%;margin:0;justify-items:stretch}.page-shimmer .shimmer-panel{width:100%}}.empty-state-modern,.empty-state{display:grid;justify-items:center;gap:8px;width:100%;min-height:156px;padding:28px 18px!important;text-align:center;color:#475569!important;font-style:normal!important;background:linear-gradient(180deg,rgba(248,250,252,.78),rgba(255,255,255,.98)),#fff!important;border:1px dashed #cbd5e1!important;border-radius:10px!important}.empty-state-modern strong{color:#0f172a;font-size:17px;font-weight:850}.empty-state-modern span{max-width:420px;color:#64748b;font-size:13px;line-height:1.45}.empty-state-icon{display:grid;place-items:center;width:44px;height:44px;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;font-size:22px;font-weight:900}.toast-viewport{position:fixed;top:18px;right:18px;z-index:100000;display:grid;gap:10px;width:min(420px,calc(100vw - 36px));pointer-events:none}.app-toast{display:grid;grid-template-columns:34px minmax(0,1fr) 30px;align-items:start;gap:10px;min-height:58px;padding:12px;border:1px solid #d9e2ef;border-left-width:4px;border-radius:10px;background:#ffffff;color:#172033;box-shadow:0 18px 44px #0f172a2e;pointer-events:auto;animation:toast-enter .22s ease-out both}.app-toast-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:999px}.app-toast-message{padding-top:2px;color:#172033;font-size:14px;font-weight:750;line-height:1.4;white-space:pre-line;word-break:break-word}.app-toast-close{display:inline-grid;place-items:center;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}.app-toast-close:hover{color:#0f172a;background:#f1f5f9}.app-toast-success{border-left-color:#16a34a}.app-toast-success .app-toast-icon{color:#15803d;background:#dcfce7}.app-toast-error{border-left-color:#dc2626}.app-toast-error .app-toast-icon{color:#b91c1c;background:#fee2e2}.app-toast-warning{border-left-color:#d97706}.app-toast-warning .app-toast-icon{color:#b45309;background:#fef3c7}.app-toast-info{border-left-color:#2563eb}.app-toast-info .app-toast-icon{color:#1d4ed8;background:#dbeafe}body :where(.notice,.alert,.success-message,.error-message,.message,.complaint-message,.user-status-alert,.billing-payment-notice,.text-success,.text-error){display:none!important}@keyframes toast-enter{0%{opacity:0;transform:translate(12px,-8px)}to{opacity:1;transform:translate(0)}}@keyframes app-top-loader-slide{0%{transform:translate(-120%)}55%{transform:translate(105%)}to{transform:translate(245%)}}@media (max-width: 768px){.app-top-loader{top:82px;margin-left:0}.toast-viewport{top:12px;right:12px;width:calc(100vw - 24px)}.app-toast{grid-template-columns:30px minmax(0,1fr) 28px;gap:8px;min-height:54px;padding:10px}.app-toast-icon{width:28px;height:28px}.app-toast-message{font-size:13px}}.history-layout{display:block}.history-filter{display:grid!important;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px!important;margin-bottom:16px!important}.history-filter .form-group{margin:0}.history-summary{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;margin-bottom:16px}.history-stat{background:#fff;border:1px solid #d9dee8;border-radius:8px;padding:14px}.history-stat span{display:block;color:#667085;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.history-stat strong{display:block;color:#101828;font-size:24px;line-height:1.15;margin-top:6px}.conversation-list-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 22px #0f172a0f;overflow-x:auto;overflow-y:hidden}.conversation-list-table{width:100%;min-width:980px;border-collapse:collapse;background:#fff;table-layout:auto}.conversation-list-table th{background:#f8fafc;color:#475467;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;text-align:left;padding:13px 14px;border-bottom:1px solid #e5e7eb;white-space:normal;line-height:1.25}.conversation-list-table td{padding:14px;border-bottom:1px solid #eef2f7;color:#182230;font-size:13px;vertical-align:middle}.conversation-list-table tr:last-child td{border-bottom:0}.conversation-list-table tr:hover td{background:#f9fafb}.conversation-id{font-weight:800;color:#111827;white-space:nowrap}.conversation-user{min-width:170px}.conversation-user-wrap{display:flex;align-items:center;gap:10px;min-width:0}.conversation-user-avatar{position:relative;width:40px;height:40px;border-radius:999px;background:#f8fafc;color:#075985;font-size:15px;font-weight:900;flex:0 0 40px;box-shadow:0 1px 2px #0f172a14;overflow:visible}.conversation-avatar-photo{position:absolute;inset:0;border-radius:999px;overflow:hidden;background:#dbeafe}.conversation-avatar-photo>img{width:100%;height:100%;border-radius:999px;object-fit:cover;display:block;background:#e0f2fe}.conversation-avatar-fallback{display:flex!important;align-items:center!important;justify-content:center!important;width:100%;height:100%;margin:0!important;border-radius:999px;background:#dbeafe;color:#075985!important;font-size:15px!important;font-weight:900!important;line-height:1!important}.conversation-avatar-badge{position:absolute;right:-3px;bottom:-3px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#fff;border:2px solid #fff;box-shadow:0 2px 6px #0f172a29;overflow:hidden}.conversation-avatar-badge svg{width:100%;height:100%;display:block}.conversation-avatar-badge.channel-web-widget{padding:2px}.conversation-avatar-badge.channel-web-widget svg{transform:scale(.88)}.conversation-session-badge{display:inline-flex;align-items:center;min-height:20px;margin-top:5px;padding:2px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800;white-space:nowrap}.conversation-channel-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0f172a0f;flex:0 0 30px;overflow:hidden;padding:5px}.conversation-channel-icon img{width:100%;height:100%;max-width:20px;max-height:20px;object-fit:contain;display:block}.conversation-channel-icon.channel-web-widget{padding:4px}.conversation-channel-icon.channel-web-widget img{max-width:22px;max-height:22px;border-radius:5px}.conversation-user strong{display:block;color:#111827;font-size:14px;line-height:1.25}.conversation-user-name{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap}.conversation-ai-status{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;border:1px solid #dbe4ee;background:#f8fafc;color:#334155;flex:0 0 auto;padding:0;line-height:1;box-shadow:none}.conversation-ai-status.is-actionable{cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease}.conversation-ai-status.is-actionable:hover{box-shadow:0 0 0 3px #2563eb14;transform:translateY(-1px)}.conversation-ai-status.is-actionable:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.conversation-ai-status.is-active{background:#ecfdf3;border-color:#bbf7d0;color:#15803d}.conversation-ai-status.is-blocked{background:#fef2f2;border-color:#fecaca;color:#b42318}.conversation-ai-status.is-human_queue{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.conversation-user-wrap>div>span{display:block;color:#667085;font-size:12px;margin-top:3px;word-break:break-word}.conversation-deleted-badge{display:inline-flex!important;align-items:center;width:max-content;max-width:100%;min-height:22px;margin-top:6px!important;padding:3px 8px;border:1px solid #fecaca;border-radius:999px;background:#fef2f2;color:#991b1b!important;font-size:11px!important;font-weight:800;line-height:1.2;white-space:nowrap}.conversation-message{max-width:360px;color:#344054;line-height:1.45}.conversation-count{font-weight:800;color:#111827;text-align:center;white-space:nowrap}.conversation-count-head{min-width:150px;text-align:center}.conversation-status{min-width:64px;text-align:center}.conversation-action{white-space:nowrap;text-align:right}.conversation-view-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 13px;border-radius:8px;border:1px solid #cfd5df;background:#fff;color:#111827;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 1px 2px #0f172a0d}.conversation-view-btn:hover{background:#f8fafc;border-color:#98a2b3;color:#111827}.history-avatar{position:relative;width:40px;height:40px;border-radius:50%;background:#0f766e;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;overflow:visible;flex:0 0 auto}.history-avatar-photo{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:#0f766e}.history-avatar-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:800;line-height:1}.history-avatar img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block;background:#0f766e}.history-avatar.has-photo,.history-avatar.has-photo .history-avatar-photo,.history-avatar.has-photo img{background:transparent}.history-avatar-badge{position:absolute;right:-3px;bottom:-3px;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:#fff;border:2px solid #fff;box-shadow:0 2px 6px #0f172a29;overflow:hidden;z-index:2}.history-avatar-badge svg{width:100%;height:100%;display:block}.history-meta{color:#667085;font-size:12px;display:flex;gap:8px;flex-wrap:wrap}.history-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(15,23,42,.54);backdrop-filter:blur(4px)}.history-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:none;cursor:default}.history-detail{position:relative;z-index:1;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 44px);background:#fff;border:1px solid #d9dee8;border-radius:12px;box-shadow:0 24px 70px #0f172a47;display:flex;flex-direction:column;overflow:hidden}.history-detail-head{position:sticky;top:0;z-index:2;padding:14px;border-bottom:1px solid #e5e7eb;background:#fff}.history-detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.history-detail-head h2{font-size:18px;margin:0}.history-modal-close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-width:34px;max-width:34px;min-height:34px;padding:0;border-radius:8px;border:1px solid #d9dee8;background:#fff;color:#111827;text-decoration:none;font-size:20px;font-weight:700;line-height:1;box-shadow:none}.history-detail-customer{display:flex;align-items:center;gap:11px;margin-bottom:10px}.history-detail-customer strong{display:block;color:#101828;font-size:16px}.history-detail-customer span{display:block;color:#667085;font-size:12px;margin-top:2px;word-break:break-word}.history-detail-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 0}.history-action{appearance:none;border:1px solid #d9dee8;background:#fff;color:#1f2937;border-radius:6px;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}.history-control-form{display:inline-flex;align-items:center;gap:0;flex-wrap:wrap;margin:0 0 0 auto;padding:0;background:transparent;border:0;box-shadow:none;max-width:none}.history-control-select{height:34px;border:1px solid #d9dee8;border-radius:6px;background:#fff;color:#1f2937;padding:7px 28px 7px 10px;margin:0;font-size:12px;font-weight:700;cursor:pointer}.history-control-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}.history-control-badge.is-blocked{background:#fef2f2;color:#991b1b;border-color:#fecaca}.history-control-badge.is-human{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.history-meta-panel{display:none}.history-meta-panel.is-open{display:block}.history-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.history-detail-item{background:#f8fafc;border:1px solid #edf0f5;border-radius:7px;padding:8px;min-width:0}.history-detail-item span{display:block;color:#667085;font-size:11px;font-weight:700;text-transform:uppercase}.history-detail-item strong{display:block;color:#182230;font-size:12px;word-break:break-word;margin-top:3px}.history-attachments{display:grid;gap:9px;margin-top:10px}.history-attachment-image{display:block;max-width:min(100%,280px);max-height:220px;border:1px solid #d9dee8;border-radius:8px;object-fit:cover;background:#fff}.history-attachment-video{display:block;width:min(100%,360px);max-height:260px;border:1px solid #d9dee8;border-radius:8px;background:#111827}.history-attachment-audio{display:block;width:min(100%,360px)}.history-attachment-file{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,360px);min-height:42px;padding:9px 11px;border:1px solid #d9dee8;border-radius:8px;color:#182230;background:#fff;text-decoration:none}.history-attachment-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.history-attachment-file strong{flex:0 0 auto;color:#2563eb;font-size:12px;font-weight:900;text-transform:uppercase}.history-messages{padding:16px;overflow:auto;display:flex;flex-direction:column;gap:10px;background:#f7f8fb}.history-bubble{max-width:84%;padding:11px 13px;border-radius:14px;font-size:14px;line-height:1.42;text-align:left;word-wrap:break-word;box-shadow:0 1px 2px #0f172a0d}.history-bubble-user{align-self:flex-end;background:#111827;color:#fff;border-top-right-radius:5px;box-shadow:0 8px 18px #0f172a24}.history-bubble-assistant{align-self:flex-start;background:#fff;color:#182230;border-top-left-radius:5px}.history-bubble-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:3px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.68;text-align:left}.history-moderation-badge{display:inline-flex;align-items:center;max-width:100%;min-height:24px;margin:4px 0 7px;padding:4px 9px;border-radius:999px;border:1px solid #d1d5db;background:#f9fafb;color:#374151;font-size:11px;font-weight:850;line-height:1.25}.history-moderation-badge.is-deleted{border-color:#fecaca;background:#fef2f2;color:#991b1b}.history-moderation-badge.is-failed{border-color:#fde68a;background:#fffbeb;color:#92400e}.history-bubble-body{display:block;text-align:left;white-space:pre-wrap;word-break:break-word}.history-message-time{display:block;margin-top:6px;font-size:11px;opacity:.72}.history-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;padding:28px;text-align:center;color:#667085}.history-composer{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;padding:14px 16px;border-top:1px solid #e5e7eb;background:#fff}.history-composer-input{flex:1 1 auto;min-width:0;width:auto!important;min-height:44px!important;height:44px!important;max-width:none!important;padding:0 12px;border:1px solid #d9dee8;border-radius:10px;background:#fff;color:#182230;font-size:14px;line-height:1.45}.history-composer-send{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:104px;padding:0 14px;border:1px solid #111827;background:#111827;color:#fff;border-radius:10px;font-size:13px;font-weight:800;cursor:pointer}.history-composer-send:disabled{opacity:.55;cursor:not-allowed}.spin-icon{animation:spin .9s linear infinite}.dashboard-chat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.permission-page-modern{display:grid;gap:18px}.permission-page-modern .permission-form{max-width:none!important;display:grid;grid-template-columns:1fr!important;gap:18px}.permission-page-modern .form-group,.permission-page-modern .form-group-wide{max-width:none!important}.permission-page-modern .form-actions{justify-content:flex-start}.permission-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.permission-toolbar .form-group{flex:1 1 320px;max-width:520px}.permission-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.permission-summary-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:999px;background:#f8fafc;border:1px solid #d9dee8;color:#344054}.permission-summary-pill span{font-size:12px;font-weight:700;text-transform:uppercase}.permission-summary-pill strong{font-size:15px;font-weight:900}.permission-save-button{min-width:170px}.permission-workspace{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:18px;align-items:start}.permission-user-card,.permission-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:18px}.permission-user-eyebrow{display:block;color:#667085;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.permission-user-card strong{display:block;margin-top:8px;color:#101828;font-size:19px}.permission-user-card small{display:block;margin-top:4px;color:#667085;font-size:13px}.permission-user-card p{margin:14px 0 0;color:#475467;font-size:13px;line-height:1.5}.permission-user-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.permission-user-stats>div{padding:12px;border:1px solid #edf0f5;border-radius:8px;background:#f8fafc}.permission-user-stats span{display:block;color:#667085;font-size:11px;font-weight:800;text-transform:uppercase}.permission-user-stats strong{display:block;margin-top:5px;font-size:18px}.permission-panel{display:grid;gap:16px}.permission-panel-head{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap}.permission-panel-head h2{margin:0!important;font-size:18px!important}.permission-panel-head p{margin:4px 0 0;color:#667085;font-size:13px}.permission-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.permission-search-input{width:min(320px,100%)!important;max-width:none!important}.permission-panel-actions .btn{min-width:132px}.permission-group-stack{display:grid;gap:14px}.permission-group-panel{border:1px solid #edf0f5;border-radius:10px;padding:14px;background:#fcfcfd}.permission-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.permission-group-head strong{font-size:14px;color:#182230}.permission-group-head span{color:#667085;font-size:12px;font-weight:700}.permission-page-modern .permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.permission-page-modern .permission-grid label{display:flex;align-items:start;gap:10px;min-height:56px;padding:12px;border:1px solid #d9dee8;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.permission-page-modern .permission-grid label.is-selected{border-color:#111827;background:#f8fafc;box-shadow:0 0 0 1px #11182714}.permission-page-modern .permission-grid input{width:16px!important;height:16px!important;max-width:16px!important;margin-top:2px}.permission-page-modern .permission-grid span{color:#182230;font-size:13px;font-weight:700;line-height:1.4}@media (max-width:1100px){.history-filter,.history-summary{grid-template-columns:repeat(2,minmax(150px,1fr))}}@media (max-width:820px){.conversation-list-table{min-width:980px}}@media (max-width:680px){.history-filter,.history-summary,.history-detail-grid{grid-template-columns:1fr!important}.history-summary{gap:10px}.history-stat{padding:12px}.history-stat strong{font-size:20px}.conversation-list-card{border:0;box-shadow:none;background:transparent;overflow:visible}.conversation-list-table{display:block;width:100%;min-width:0;background:transparent}.conversation-list-table thead{display:none}.conversation-list-table tbody{display:grid;gap:12px}.conversation-list-table tr{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 6px 18px #0f172a0f;padding:12px}.conversation-list-table tr:hover td{background:transparent}.conversation-list-table td{display:grid;grid-template-columns:minmax(104px,36%) minmax(0,1fr);gap:10px;align-items:start;padding:9px 0;border-bottom:1px solid #eef2f7;font-size:13px}.conversation-list-table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;line-height:1.3}.conversation-list-table td:last-child{border-bottom:0;padding-bottom:0}.conversation-id{font-size:14px}.conversation-user{min-width:0}.conversation-message{max-width:none;line-height:1.45}.conversation-count{text-align:left}.conversation-action{text-align:left;white-space:normal}.conversation-view-btn{width:100%;min-height:40px;border-color:#111827;background:#111827;color:#fff}.history-modal{top:74px;bottom:0;left:0;right:0;inset:auto 0 0 0;align-items:flex-start;padding:12px;overflow:auto}.history-detail{width:100%;max-height:calc(100vh - 98px);border-radius:10px}.history-detail-head,.history-messages{padding:12px}.history-bubble{max-width:92%;padding:10px 12px;font-size:13px;line-height:1.38}.history-composer{flex-direction:row;align-items:center}.history-composer-send{width:auto}}@media (max-width:900px){.permission-workspace{grid-template-columns:1fr}.permission-toolbar,.permission-panel-head,.permission-panel-actions{align-items:stretch}.permission-toolbar-actions{width:100%}.permission-summary-pill,.permission-save-button{width:100%;justify-content:center}.permission-search-input{width:100%!important}}.phone-page{width:min(100%,1320px);margin:0 auto;display:grid;gap:18px}.phone-page .page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0;border:0;border-radius:0;background:transparent;color:var(--text)}.phone-page .page-header h1,.phone-page .page-header p{margin:0}.phone-page .page-header h1{font-size:clamp(24px,3vw,34px);font-weight:800;letter-spacing:0}.phone-page .page-header p{margin-top:6px;color:var(--text-muted);max-width:680px}.extension-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.phone-page .phone-form,.phone-page .settings-list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm)}.phone-page .phone-form{padding:0;overflow:hidden}.phone-page .form-section{display:block!important;padding:18px!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.extension-form-heading,.phone-page .section-header,.extension-list-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.extension-form-heading h2,.phone-page .section-header h2,.extension-subsection h3{margin:0;color:var(--text);letter-spacing:0}.extension-form-heading p,.phone-page .section-header p,.extension-subsection p{margin:5px 0 0;color:var(--text-muted);font-size:14px}.extension-edit-banner{display:none;margin-top:14px;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-strong);color:var(--primary-strong);font-size:14px}.extension-edit-banner.is-active{display:block}.extension-form-shell{display:grid;gap:16px;margin-top:16px}.extension-subsection{border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px;background:var(--surface-muted)}.extension-card-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:12px}.extension-card-grid--paired{gap:14px}.extension-card-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}.extension-card-row .form-group,.phone-page .form-group{min-width:0}.phone-page label{display:block;margin-bottom:7px;color:var(--text);font-weight:700;font-size:13px}.phone-page input,.phone-page select{width:100%;min-height:42px;border:1px solid var(--border);border-radius:8px;padding:9px 11px;background:var(--surface);color:var(--text);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.phone-page input:focus,.phone-page select:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 18%,transparent)}.icon-button{border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);min-height:42px;padding:0 12px;cursor:pointer;font-weight:700}.icon-button:hover{border-color:var(--primary);color:var(--primary-strong);background:var(--surface-strong)}.phone-page .form-actions{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap;margin-top:16px}.phone-page button,.phone-page .button,.phone-page .btn{min-height:40px;border-radius:8px;padding:9px 14px;border:1px solid transparent;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}.phone-page button[type=submit]:not(.btn-secondary):not(.btn-danger):not(.btn-dangers),.phone-page .btn-submit{background:var(--primary);color:#fff}.phone-page .btn-secondary,.phone-page button.btn-secondary,.phone-page .button.btn-secondary{background:var(--surface-muted);color:var(--text);border-color:var(--border)}.phone-page .btn-danger,.phone-page button.btn-danger,.phone-page .btn-dangers,.phone-page button.btn-dangers{background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger-strong);border-color:color-mix(in srgb,var(--danger) 30%,var(--border))}.phone-page .btn-success,.phone-page button.btn-success{background:color-mix(in srgb,var(--success) 14%,var(--surface));color:var(--success);border-color:color-mix(in srgb,var(--success) 30%,var(--border))}.phone-page .settings-list{padding:18px;display:grid;gap:14px}.phone-page .settings-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:10px}.phone-page .settings-table{width:100%;border-collapse:collapse;min-width:820px}.phone-page .settings-table th,.phone-page .settings-table td{padding:12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}.phone-page .settings-table th{background:var(--surface-muted);color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:0}.phone-page .phone-table .status-pill{min-height:auto;padding:0;border-radius:0;background:transparent}.phone-page .phone-table .status-active{color:var(--success)}.phone-page .phone-table .status-inactive{color:var(--danger-strong)}.extension-page{gap:12px!important}.extension-page .table-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important}.extension-page .table-actions>:where(button,.btn,a){min-width:82px!important;min-height:38px!important;padding:8px 12px!important;white-space:nowrap!important}.extension-page .table-actions .btn-secondary,.extension-page .table-actions a.btn-secondary{color:#334155!important;background:#eef2f7!important;border:1px solid #cbd5e1!important}.extension-page .extension-dialplan-preview{max-height:1.6em;overflow-wrap:anywhere!important;word-break:break-word!important}@media (max-width: 980px){.carrier-page .carrier-form .carrier-summary-row:first-of-type,.extension-page .extension-form .extension-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:first-child{grid-column:1 / -1!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(2),.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(3),.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(4){min-width:0!important}}@media (max-width: 760px){.carrier-page .carrier-form .carrier-summary-row:first-of-type,.carrier-page .carrier-form .carrier-summary-row:last-of-type,.extension-page .extension-form .extension-summary-row,.extension-page .extension-form .dialplan-row{grid-template-columns:minmax(0,1fr)!important}.carrier-page .section-header,.extension-page .section-header,.carrier-page .carrier-list-tools,.extension-page .extension-search-form{width:100%!important}.carrier-page .settings-table-wrap,.extension-page .settings-table-wrap{overflow:visible!important;border:0!important;background:transparent!important}.carrier-page .settings-table,.extension-page .settings-table,.carrier-page .settings-table tbody,.extension-page .settings-table tbody,.carrier-page .settings-table tr,.extension-page .settings-table tr,.carrier-page .settings-table td,.extension-page .settings-table td{display:block!important;width:100%!important;min-width:0!important}.carrier-page .settings-table thead,.extension-page .settings-table thead{display:none!important}.carrier-page .settings-table tbody,.extension-page .settings-table tbody{display:grid!important;gap:12px!important}.carrier-page .settings-table tr,.extension-page .settings-table tr{overflow:hidden!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#fff!important;box-shadow:var(--ui-shadow-sm)!important}.carrier-page .settings-table td,.extension-page .settings-table td{display:grid!important;grid-template-columns:minmax(108px,38%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:11px 13px!important;border-bottom:1px solid var(--ui-divider)!important;background:#fff!important;word-break:break-word!important}.carrier-page .settings-table td:before,.extension-page .settings-table td:before{content:attr(data-label);color:var(--ui-muted)!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;text-transform:uppercase!important}.carrier-page .settings-table td:last-child,.extension-page .settings-table td:last-child{border-bottom:0!important}.carrier-page .settings-table td.empty-state,.extension-page .settings-table td.empty-state{display:block!important}.carrier-page .settings-table td.empty-state:before,.extension-page .settings-table td.empty-state:before{content:none!important}.carrier-page .table-actions,.extension-page .table-actions{width:100%!important}}.inbound-routes-page,.inbound-routes-page *{box-sizing:border-box}.inbound-routes-page{width:min(100%,1340px);max-width:100%;min-width:0;margin:0 auto;display:grid;gap:16px;overflow:hidden}.inbound-routes-page .page-header{width:100%!important;margin:0!important;min-width:0}.inbound-route-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;min-width:0}.inbound-routes-page .settings-form{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.inbound-routes-page .form-section,.inbound-route-preview,.inbound-routes-page .settings-list{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:18px!important;background:#fff!important;border:1px solid #d8e2ef!important;border-radius:12px!important;box-shadow:0 12px 30px #0f172a0f!important}.inbound-route-form-section{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:16px!important}.inbound-routes-page .settings-form>.form-section.inbound-route-form-section{display:flex!important;flex-direction:column!important;align-items:stretch!important;grid-template-columns:1fr!important;grid-column:1 / -1!important;width:100%!important;min-width:0!important}.inbound-routes-page .settings-form>.form-section.inbound-route-form-section>h2,.inbound-routes-page .settings-form>.form-section.inbound-route-form-section>p,.inbound-routes-page .settings-form>.form-section.inbound-route-form-section>.route-form-shell{width:100%!important;max-width:100%!important;min-width:0!important}.inbound-routes-page .form-section h2,.inbound-route-preview h2{margin:0 0 4px!important;color:#0f172a!important;font-size:20px!important;letter-spacing:0!important}.inbound-routes-page .form-section>p,.inbound-route-preview p{margin:0 0 16px!important;color:#64748b;max-width:720px;font-size:14px;line-height:1.55}.route-form-shell{display:block!important;gap:18px;min-width:0}.route-grid{display:block!important;grid-template-columns:1fr!important;gap:14px!important;align-items:start!important}.route-grid.route-grid--stacked{display:block!important;grid-template-columns:1fr!important}.inbound-route-stack,.inbound-route-full-width{display:block!important;width:100%!important;grid-template-columns:1fr!important}.inbound-routes-page .route-grid.route-grid--stacked.inbound-route-stack{grid-template-columns:1fr!important}.inbound-routes-page .route-grid.route-grid--stacked.inbound-route-stack>.form-group,.inbound-routes-page .route-grid.route-grid--stacked.inbound-route-stack>.route-destination-panel,.inbound-routes-page .route-grid.route-grid--stacked.inbound-route-stack>.inbound-route-full-width{display:block!important;grid-column:1 / -1!important;width:100%!important}.inbound-route-full-width .form-group{width:100%!important}.route-grid .form-group,.route-destination-panel .form-group{position:relative;min-width:0!important;margin:0!important}.inbound-routes-page .route-grid .form-group,.inbound-routes-page .route-destination-panel .form-group,.inbound-routes-page .form-group.inbound-route-full-width{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;align-items:start!important}.inbound-routes-page .route-grid .form-group label,.inbound-routes-page .route-destination-panel .form-group label,.inbound-routes-page .form-group.inbound-route-full-width label{display:block!important;margin:0!important}.inbound-routes-page .route-grid .form-group input,.inbound-routes-page .route-grid .form-group select,.inbound-routes-page .route-destination-panel .form-group input,.inbound-routes-page .route-destination-panel .form-group select,.inbound-routes-page .form-group.inbound-route-full-width input,.inbound-routes-page .form-group.inbound-route-full-width select{width:100%!important}.inbound-routes-page input,.inbound-routes-page select{width:100%!important;min-width:0!important;max-width:none!important}.route-type-select-native,.audio-page .ivr-routing-mode-select{position:static!important;width:100%!important;height:auto!important;opacity:1!important;pointer-events:auto!important}.route-type-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;min-width:0}.route-type-card{display:grid;gap:5px;width:100%;min-width:0;min-height:78px;padding:12px;text-align:left;font:inherit;background:#f8fafc;border:1px solid #d9e1ea;border-radius:8px;cursor:pointer;appearance:none}.route-type-card strong{color:#0f172a;font-size:13px}.route-type-card span{color:#64748b;font-size:12px;line-height:1.35}.route-type-card.is-active{background:#e8f4f8;border-color:#0f5066;box-shadow:0 0 0 2px #0f506624}.route-destination-panel{display:grid;gap:10px;min-width:0;padding:14px;background:linear-gradient(180deg,#fbfdff 0%,#f8fbff 100%);border:1px solid #d9e6f2;border-radius:12px}.route-destination-panel[hidden],.route-preview-warning[hidden],.route-empty-hint[hidden]{display:none!important}.route-help,.route-empty-hint{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.4}.inbound-route-edit-banner{display:none;padding:12px 14px;color:#0f4c81;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;font-size:13px;font-weight:700}.inbound-route-edit-banner.is-active{display:block}.destination-badge,.route-did-cell strong,.inbound-routes-page .mono-cell{overflow-wrap:anywhere;word-break:break-word}.inbound-routes-page .form-actions{display:flex!important;justify-content:flex-start!important;gap:10px!important;padding-top:0!important;margin-top:4px!important}.inbound-routes-page .form-section.inbound-route-form-section>*{width:100%!important;max-width:100%!important;min-width:0!important;justify-self:stretch!important}.inbound-routes-page .route-form-shell>*{width:100%!important;max-width:100%!important;min-width:0!important}.inbound-routes-page .route-form-shell .route-grid{width:100%!important}.inbound-routes-page .form-actions button{width:auto!important;min-width:130px}.inbound-routes-page .section-header{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;justify-content:space-between;min-width:0}.inbound-route-list-tools{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,260px);gap:14px;align-items:center;margin-bottom:16px;min-width:0}.inbound-route-filter-select{justify-self:end}.inbound-routes-page .settings-table-wrap{width:100%;max-width:100%;overflow-x:auto}.inbound-routes-page .settings-table{width:100%!important;min-width:780px!important;margin:0!important;table-layout:auto}.inbound-routes-page .settings-table th,.inbound-routes-page .settings-table td{white-space:normal!important}.route-did-cell strong{display:block;color:#0f172a}.destination-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;color:#0f4c81;background:#eaf2ff;border-radius:999px;font-size:12px;font-weight:800}.inbound-routes-page .table-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;min-width:150px}.inbound-routes-page .table-actions form{margin:0!important}.inbound-routes-page .table-actions button{width:auto!important;min-width:86px;white-space:nowrap}.inbound-routes-page .settings-table-wrap{border-radius:12px}.inbound-routes-page .settings-table thead th{background:#f7faff!important;color:#475569!important}.inbound-routes-page .settings-table tbody tr:hover td{background:#f8fbff!important}.inbound-routes-page .settings-list>.section-header{padding-bottom:2px}.carrier-page{width:min(100%,var(--ui-page-max))!important;margin-inline:auto!important;display:grid!important;gap:var(--ui-section-gap)!important}.carrier-page .carrier-form .carrier-summary-row:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row{grid-template-columns:minmax(0,2.2fr) repeat(3,minmax(140px,.9fr))!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(2),.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(3){min-width:140px!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:nth-child(4){min-width:170px!important}.carrier-page .carrier-form .form-group,.extension-page .extension-form .form-group{min-width:0!important}.carrier-page .mono-cell,.extension-page .mono-cell{overflow-wrap:anywhere!important;word-break:break-word!important}.carrier-page .table-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important}.carrier-page .table-actions>:where(button,.btn,a){min-width:82px!important;min-height:38px!important;padding:8px 12px!important;white-space:nowrap!important}.carrier-page .table-actions .btn-secondary,.carrier-page .table-actions a.btn-secondary{flex:0 0 auto!important}.extension-page{width:min(100%,var(--ui-page-max))!important;margin-inline:auto!important;display:grid!important;gap:12px!important}.extension-page .extension-form .extension-summary-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}.extension-page .extension-form .dialplan-row{grid-template-columns:minmax(0,1fr)!important}.extension-page .page-header{padding-bottom:14px!important}.extension-page .settings-list{margin-top:0!important}.extension-page .table-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important}.extension-page .table-actions>:where(button,.btn,a){min-width:82px!important;min-height:38px!important;padding:8px 12px!important;white-space:nowrap!important}@media (max-width: 980px){.carrier-page .carrier-form .carrier-summary-row:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}.carrier-page .carrier-form .carrier-summary-row:last-of-type{grid-template-columns:repeat(2,minmax(0,1fr))!important}.carrier-page .carrier-form .carrier-summary-row:last-of-type>.form-group:first-child{grid-column:1 / -1!important}.carrier-page .carrier-form .carrier-summary-row:last-of-type>.form-group:nth-child(2),.carrier-page .carrier-form .carrier-summary-row:last-of-type>.form-group:nth-child(3),.carrier-page .carrier-form .carrier-summary-row:last-of-type>.form-group:nth-child(4){min-width:0!important}}@media (max-width: 760px){.carrier-page .carrier-form .carrier-summary-row:first-of-type,.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row{grid-template-columns:minmax(0,1fr)!important}.carrier-page .carrier-form .carrier-summary-row+.carrier-summary-row>.form-group:first-child{grid-column:auto!important}}@media (max-width: 1180px){.inbound-route-workspace{grid-template-columns:1fr}.inbound-route-preview{position:static}}@media (max-width: 900px){.inbound-route-list-tools{grid-template-columns:1fr!important}.inbound-route-filter-select{justify-self:stretch}}@media (max-width: 760px){.inbound-routes-page{width:100%!important;overflow:visible}.inbound-route-workspace,.route-grid,.route-type-card-grid,.inbound-route-list-tools{grid-template-columns:1fr!important}.inbound-routes-page .form-section,.inbound-route-preview,.inbound-routes-page .settings-list{padding:14px!important}.inbound-routes-page .form-actions{flex-direction:column!important}.inbound-routes-page .form-actions button{width:100%!important}}body.app-shell .content .agent-social-card{justify-items:center!important;text-align:center!important}body.app-shell .content .agent-social-card .agent-social-head{width:100%!important;display:grid!important;justify-content:center!important;justify-items:center!important;align-items:center!important;text-align:center!important}body.app-shell .content .agent-social-card .agent-social-head>span.agent-social-logo{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:58px!important;height:58px!important;margin:0 auto!important;color:inherit!important}body.app-shell .content .agent-social-card .agent-social-logo svg{display:block!important;width:40px!important;height:40px!important;margin:auto!important}body.app-shell .content .agent-social-card .agent-social-head>div{width:100%!important;text-align:center!important}.audio-page{min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;color:var(--text);background:var(--bg)}.audio-page .ivr-config-form{width:100%!important;max-width:none!important;min-width:0!important}.audio-page .ivr-builder-shell{grid-template-columns:minmax(0,1fr)!important;width:100%!important}.audio-page .ivr-config-panel{width:100%!important;max-width:none!important}.audio-page .ivr-config-panel>.ivr-config-section{display:grid;gap:16px;width:100%;padding-top:18px;border-top:1px solid var(--ui-border, var(--border))}.audio-page .ivr-config-panel>.ivr-config-section:first-child{padding-top:0;border-top:0}.audio-page .ivr-config-panel>.ivr-config-actions{margin-top:2px;padding-top:18px;border-top:1px solid var(--ui-border, var(--border))}.audio-page .route-target-external-field{display:grid;gap:7px;min-width:0}.audio-page .ivr-builder-shell,.audio-page .ivr-builder-main,.audio-page .form-section,.audio-page .ivr-route-row,.audio-page .ivr-route-controls-group,.audio-page .ivr-route-target-group{min-width:0;max-width:100%}.audio-page #ivrRouteList .ivr-route-row{grid-template-columns:minmax(0,1fr)}.audio-page .ivr-route-controls-group{grid-template-columns:minmax(120px,160px) minmax(190px,240px) minmax(0,1fr)}.audio-page #ivrRouteList .ivr-route-actions{display:flex;justify-content:flex-end;min-height:0}.audio-page #ivrRouteList .ivr-route-actions .button-danger{white-space:nowrap}.broadcast-voice-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;padding:12px;border:1px dashed var(--border);border-radius:var(--radius);background:var(--surface-muted);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.broadcast-voice-picker:hover,.broadcast-voice-picker.is-dragover{border-color:var(--primary);background:var(--surface-strong);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}.broadcast-voice-main{display:flex;min-width:0;gap:12px;align-items:center}.broadcast-voice-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--primary);color:#fff;font-weight:700}.broadcast-voice-meta{min-width:0;display:grid;gap:3px}.broadcast-voice-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:14px}.broadcast-voice-meta span{color:var(--text-muted);font-size:12px;line-height:1.35}.broadcast-voice-drop-hint{display:block;margin-top:2px;color:var(--primary-strong)!important;font-weight:700}.broadcast-voice-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.broadcast-voice-upload{margin:0!important;cursor:pointer;white-space:nowrap;min-height:44px;padding:11px 18px!important;font-size:14px;font-weight:800;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center}.broadcast-voice-actions audio{width:260px;max-width:100%;height:36px}.audio-page .route-target-control[hidden],.audio-page .route-target-group-extension-panel[hidden],.audio-page .route-fallback-ai-group[hidden],.audio-page .ivr-config-section[hidden]{display:none!important}@media (max-width: 980px){.audio-page .ivr-route-controls-group,.audio-page .welcome-mode-route-row .ivr-route-controls-group,.audio-page .welcome-mode-route-row.is-group-extensions-route .ivr-route-controls-group,.audio-page .route-target-external-wrap{grid-template-columns:1fr!important}}@media (max-width: 760px){.audio-page{width:100%;max-width:100%;padding-bottom:12px;background:#f8fafc!important;color:#111827!important}.audio-page .form-section,.audio-page .ivr-config-form,.audio-page .ivr-builder-shell,.audio-page .ivr-builder-main,.audio-page .ivr-route-row,.audio-page .broadcast-voice-picker{background:#fff!important;color:#111827!important}.audio-page .broadcast-voice-picker{grid-template-columns:1fr!important;justify-items:stretch!important}.audio-page .broadcast-voice-actions{justify-content:stretch!important}.audio-page .broadcast-voice-upload,.audio-page .broadcast-voice-actions audio{width:100%!important;min-width:0!important}.audio-page .ivr-config-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}.audio-page .ivr-config-actions button{width:100%!important;min-width:0!important;max-width:100%!important;padding-inline:8px!important;white-space:normal!important;line-height:1.2!important;overflow-wrap:anywhere!important}.broadcast-voice-picker{grid-template-columns:1fr}.broadcast-voice-actions{justify-content:flex-start;width:100%}.broadcast-voice-upload,.broadcast-voice-actions audio{width:100%}}@media (max-width: 980px){.extension-workspace{grid-template-columns:1fr}}@media (max-width: 640px){.phone-page .page-header,.phone-page .form-section,.phone-page .settings-list{padding:14px!important}.extension-card-grid,.extension-card-row{grid-template-columns:1fr}}.ai-settings-page{display:flex;flex-direction:column;gap:8px!important}.ai-settings-page .page-header{order:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px 12px!important}.ai-settings-page .page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ai-settings-page .settings-list{order:1;margin-top:0!important}.ai-voice-agent-actions{display:inline-flex!important;align-items:center;justify-content:flex-end;gap:12px!important;flex-wrap:wrap}.ai-voice-agent-actions>*+*{margin-left:0!important}.ai-voice-agent-actions .btn-edit,.ai-voice-agent-actions .btn.btn-danger{min-width:92px;min-height:38px;padding:8px 16px;border-radius:8px}.ai-settings-page .btn-create-agent{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;border:0;border-radius:7px;padding:10px 16px;background:#2563eb;color:#fff;cursor:pointer;font-weight:800;text-decoration:none;white-space:nowrap}.ai-settings-page .btn-create-agent:hover{background:#1d4ed8;color:#fff}.ai-settings-page .settings-list .section-header h2{margin:0!important;color:#17212b!important;font-size:18px!important;font-weight:700!important;line-height:1.2}.ai-settings-page .pagination{list-style:none!important;padding:0!important;margin:22px auto 4px!important;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.ai-settings-page .pagination li{list-style:none!important;margin:0!important;padding:0!important;display:inline-flex}.ai-settings-page .pagination button{min-width:36px;min-height:36px;border:1px solid #dbe4ec;border-radius:8px;background:#fff;color:#334155;font-weight:800;cursor:pointer}.ai-settings-page .pagination button.active{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 10px 18px #2563eb38}.knowledge-page .knowledge-add-link{width:92px;height:42px;border-radius:8px;background:#2563eb;color:#fff;box-shadow:none;text-decoration:none;font-size:18px;font-weight:800}.knowledge-page .knowledge-add-link:hover{background:#1d4ed8;color:#fff}.knowledge-page button.knowledge-add-link{border:0;cursor:pointer}.knowledge-modal-form{width:min(560px,calc(100vw - 32px))}.knowledge-modal-body{padding:18px;overflow:auto}.knowledge-modal-body .form-group{margin-bottom:15px}.knowledge-modal-body input,.knowledge-modal-body select,.knowledge-modal-body textarea{max-width:none}.knowledge-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid var(--border);background:#fff}.knowledge-delete-warning{margin:0;color:#334155}.knowledge-guided-modal-form{width:min(920px,calc(100vw - 32px))}.knowledge-guided-rows{display:grid;gap:14px}.knowledge-guided-row{padding:14px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.knowledge-guided-row-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.knowledge-guided-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.knowledge-guided-wide{grid-column:1 / -1}.agent-edit-modal{width:min(1040px,calc(100vw - 32px))}.agent-edit-page{gap:20px}.agent-edit-hero{display:flex;align-items:stretch;justify-content:space-between;gap:20px;padding:24px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc;box-shadow:none}.agent-edit-hero-main{display:grid;gap:16px;min-width:0}.agent-edit-back{display:inline-flex;align-items:center;gap:7px;justify-self:start;min-height:38px;padding:0 14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:13px;font-weight:900;text-decoration:none}.agent-edit-back:hover{border-color:#bfdbfe;color:#1d4ed8;background:#eff6ff}.agent-edit-title-row{display:flex;align-items:flex-start;gap:14px;min-width:0}.agent-edit-hero-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;border:1px solid #cbd5e1;border-radius:8px;color:#1d4ed8;background:#e8f0ff}.agent-edit-title-copy{display:grid;gap:4px;min-width:0}.agent-edit-eyebrow{color:#64748b;font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.agent-edit-title-copy h1{margin:0;color:#111827;font-size:24px;line-height:1.2;font-weight:900;overflow-wrap:anywhere}.agent-edit-title-copy p{max-width:760px;margin:0;color:#64748b;font-size:13px;line-height:1.45}.agent-edit-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-edit-chip{display:inline-flex;align-items:center;min-height:27px;padding:0 12px;border:1px solid #dbe4f0;border-radius:999px;background:#ffffff;color:#334155;font-size:12px;font-weight:900;text-transform:capitalize}.agent-edit-hero-actions{display:flex;align-items:flex-start;justify-content:flex-end;flex:0 0 auto}.agent-edit-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 12px 24px #2563eb2e;white-space:nowrap}.agent-edit-save:hover{background:#1d4ed8}.agent-edit-page .agent-edit-modal{width:100%;max-height:none;border-radius:8px;border:1px solid #dbe4f0;box-shadow:none;overflow:visible}.agent-edit-page .history-detail-head{position:static;padding:18px;border-radius:8px 8px 0 0}.agent-edit-page .history-detail-title-row{margin-bottom:0}.agent-edit-page .agent-edit-page-form{margin:0}.agent-edit-body{display:grid;gap:18px;padding:24px;overflow:auto}.agent-edit-page .agent-edit-body{overflow:visible}.agent-edit-section{display:grid;gap:16px;margin:0;padding:24px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.agent-edit-section h3{margin:0;color:#111827;font-size:18px;line-height:1.25;font-weight:900}.agent-edit-section.is-collapsed>:not(h3),.agent-subsection.is-collapsed>:not(h4){display:none!important}.agent-edit-section>h3,.agent-subsection>h4{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;user-select:none}.agent-edit-section>h3:after,.agent-subsection>h4:after{content:"+";width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:999px;color:#334155;background:#ffffff;font-size:18px;line-height:1}.agent-edit-section:not(.is-collapsed)>h3:after,.agent-subsection:not(.is-collapsed)>h4:after{content:"-"}.agent-edit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.agent-edit-grid label{display:flex;flex-direction:column;align-content:start;align-items:stretch;gap:8px;min-width:0;margin:0;color:#334155;font-size:14px;font-weight:900;text-align:left}.agent-edit-grid input,.agent-edit-grid select,.agent-edit-grid textarea{width:100%;max-width:none;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;color:#111827;background:#fff;font-size:13px;line-height:1.4}.agent-edit-grid input,.agent-edit-grid select{min-height:42px}.agent-edit-grid textarea{min-height:98px;resize:vertical}.agent-edit-wide{grid-column:1 / -1}.agent-edit-check{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px!important;min-height:43px;padding:10px 12px;border:1px solid #dbe4f0;border-radius:8px;background:#fff;color:#334155;font-size:13px!important;font-weight:900!important;text-align:left}.agent-edit-check input{width:17px;min-width:17px;max-width:17px;min-height:17px;padding:0}.agent-edit-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.agent-subsection{display:grid;gap:14px;padding:18px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0f}.agent-subsection h4{margin:0;color:#111827;font-size:15px;font-weight:900}.agent-standalone-check{justify-self:start}.agent-single-field{display:grid;gap:7px;max-width:320px;color:#334155;font-size:14px;font-weight:900}.agent-model-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-model-group{display:grid;gap:16px;padding:18px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0f}.agent-model-group h4{margin:0;color:#111827;font-size:15px;font-weight:900}.agent-model-group .agent-edit-grid{grid-template-columns:1fr}.agent-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-social-tutorial{display:flex;align-items:center;justify-content:flex-start;margin-bottom:14px}.agent-social-tutorial a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;background:#eff6ff;font-size:13px;font-weight:900}.agent-social-tutorial a:hover{border-color:#93c5fd;color:#1e40af;background:#dbeafe}.agent-social-card{display:grid;gap:14px;padding:18px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0f}.agent-social-card.is-connected{border-color:#bbf7d0;background:#f0fdf4}.agent-social-head{display:grid;align-items:center;justify-items:center;gap:9px;text-align:center}.agent-social-logo{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:14px;color:inherit;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 20px #0f172a14;font-size:12px;font-weight:900}.agent-social-logo svg{width:38px;height:38px;display:block}.agent-widget-script-mount{width:0;height:0;overflow:hidden;pointer-events:none}.agent-social-logo-whatsapp,.agent-social-logo-messenger,.agent-social-logo-facebook_comments,.agent-social-logo-instagram{background:#fff}.agent-social-head strong{display:block;color:#0f172a;font-size:14px}.agent-social-head span{display:block;color:#64748b;font-size:12px;font-weight:800}.agent-social-meta{display:grid;gap:5px;color:#475569;font-size:12px;font-weight:750;overflow-wrap:anywhere}.agent-social-connected-page{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #dbeafe;border-radius:8px;background:#fff}.agent-social-connected-page img,.agent-social-connected-page>span{width:40px;height:40px;border-radius:999px}.agent-social-connected-page img{display:block;object-fit:cover}.agent-social-connected-page>span{display:inline-flex;align-items:center;justify-content:center;background:#dbeafe;color:#1d4ed8;font-size:15px;font-weight:900}.agent-social-connected-page strong,.agent-social-connected-page small{display:block;min-width:0}.agent-social-connected-page strong{color:#0f172a;font-size:13px}.agent-social-connected-page small{color:#475569;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-social-connected-page.invalid,.agent-social-connected-page.expired{border-color:#fecaca;background:#fef2f2}.agent-social-actions{display:flex;flex-wrap:wrap;gap:8px}.agent-social-actions button{min-height:36px}.agent-script-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.agent-script-item{display:grid;gap:8px;min-width:0}.agent-script-item-header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#334155;font-size:14px;font-weight:900}.agent-script-copy-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#ffffff;color:#1f2937;font-size:12px;font-weight:800;cursor:pointer}.agent-script-copy-button:hover{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.agent-script-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.agent-script-preview-panel{margin-top:8px;border:1px solid #d7dee8;border-radius:8px;background:#fff;overflow:hidden}.agent-script-preview-panel summary{list-style:none;cursor:pointer;padding:8px 10px;color:#1f2937;font-weight:800;font-size:12px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.agent-script-preview-panel summary::-webkit-details-marker{display:none}.agent-script-preview-panel summary:after{content:"\25b8";float:right;color:#475569;transform:rotate(0);transition:transform .2s ease}.agent-script-preview-panel[open] summary:after{transform:rotate(90deg)}.agent-script-preview-shell{min-height:240px;width:100%}.agent-script-preview-frame{width:100%;min-height:240px;border:0;background:#fff}.agent-script-demo-card{padding:16px;border:1px solid #d7dee8;border-radius:12px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)}.agent-script-demo-shell{width:100%;min-height:520px;border:1px solid #dbe3ed;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,rgba(248,250,252,.94) 0%,rgba(241,245,249,.98) 100%),repeating-linear-gradient(90deg,rgba(148,163,184,.05) 0,rgba(148,163,184,.05) 1px,transparent 1px,transparent 24px);box-shadow:inset 0 1px #ffffffd9}.agent-script-demo-frame{width:100%;min-height:520px;border:0;background:transparent}.agent-script-demo-empty{display:grid;place-items:center;min-height:220px;padding:24px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;font-size:13px;font-weight:700;text-align:center;background:rgba(255,255,255,.75)}.agent-script-gallery label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;color:#334155;font-size:14px;font-weight:900;text-align:left}.agent-script-gallery textarea,.agent-edit-grid textarea[readonly]{font-family:Consolas,Monaco,monospace;font-size:12px}.agent-row-editor{display:grid;gap:12px}.agent-row-editor-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0a}.agent-waiting-row{grid-template-columns:minmax(0,1fr) auto}.destination-input-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;overflow:hidden}.destination-prefix{align-self:stretch;display:inline-flex;align-items:center;padding:0 10px;border-right:1px solid #cbd5e1;background:#f8fafc;color:#64748b;font-size:13px;font-weight:900}.destination-input-wrap input{border:0;border-radius:0}.agent-widget-preview{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:fit-content;min-height:44px;padding:8px 16px;border-radius:999px;background:var(--call-widget-color, #176b87);color:#fff;box-shadow:0 10px 24px #0f172a24}.agent-widget-preview span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.18);font-size:11px;font-weight:900}.agent-widget-preview strong{font-size:14px;font-weight:900}.agent-row-editor-row label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0;color:#334155;font-size:14px;font-weight:900;text-align:left}.agent-row-editor-row input,.agent-row-editor-row select,.agent-row-editor-row textarea,.agent-dynamic-fields input,.agent-dynamic-fields select,.agent-dynamic-fields textarea,.agent-single-field input{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;color:#111827;background:#fff;font-size:13px;line-height:1.4}.agent-row-editor-row input,.agent-row-editor-row select,.agent-single-field input{min-height:42px}.agent-row-editor-row button{min-height:38px;border-radius:8px;font-weight:900;white-space:nowrap}.agent-row-add{justify-self:start;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;background:#fff;color:#334155;font-size:13px;font-weight:900}.agent-edit-section h3+.agent-row-editor .agent-row-editor-row{align-items:stretch}.agent-edit-section h3+.agent-row-editor .agent-row-editor-row label{align-content:start}.agent-inline-action{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:8px;align-items:center}.agent-inline-action button{min-height:42px;white-space:nowrap}.agent-product-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end;padding:12px;border:1px solid var(--border);border-radius:8px;background:#f8fafc}.agent-product-row label{display:grid;grid-template-columns:1fr;gap:7px;min-width:0;margin:0;color:#334155;font-size:13px;font-weight:800}.agent-product-row .agent-edit-wide{grid-column:1 / -1}.agent-product-row button{justify-self:start;min-height:42px;white-space:nowrap}.agent-dynamic-list{display:grid;gap:12px}.agent-dynamic-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0a}.agent-dynamic-summary{display:grid;gap:4px;min-width:0}.agent-dynamic-summary strong,.product-summary-copy strong{color:#0f172a;font-size:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-dynamic-summary span,.product-summary-copy span{color:#64748b;font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-dynamic-actions{display:inline-flex;gap:8px;justify-content:flex-end}.agent-dynamic-actions button{min-height:36px}.agent-dynamic-fields{display:none;grid-column:1 / -1;gap:14px;padding:18px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.agent-dynamic-row.is-editing .agent-dynamic-fields{display:grid}.agent-dynamic-fields label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;color:#334155;font-size:14px;font-weight:900;text-align:left}.agent-dynamic-fields label>span{color:#64748b;font-size:12px;font-weight:700}.agent-dynamic-save-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.product-summary{grid-template-columns:48px minmax(0,1fr);align-items:center}.product-thumb,.product-upload-preview{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#eef2f7;color:#64748b;font-size:12px;font-weight:900}.product-thumb{width:48px;height:48px;border-radius:8px}.product-thumb img,.product-upload-preview img{width:100%;height:100%;object-fit:cover}.product-summary-copy{display:grid;gap:4px;min-width:0}.product-edit-card{grid-template-columns:130px minmax(0,1fr)}.product-edit-card>.agent-edit-wide,.product-edit-card>.product-edit-grid,.product-edit-card>.agent-dynamic-save-row{grid-column:2 / -1}.product-upload-tile{grid-row:span 3;display:grid!important;align-content:center;justify-items:center;gap:9px!important;min-height:160px;padding:12px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;cursor:pointer}.product-upload-preview{width:92px;height:92px;border-radius:8px}.product-upload-icon{font-size:26px;line-height:1}.product-upload-tile input[type=file]{display:none}.product-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agent-edit-page .agent-edit-section label:not(.agent-edit-check):not(.product-upload-tile),.agent-edit-page .agent-model-group label,.agent-edit-page .agent-script-gallery label,.agent-edit-page .agent-row-editor-row label,.agent-edit-page .agent-dynamic-fields label,.agent-edit-page .agent-single-field{align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}.agent-edit-page .agent-edit-section label:not(.agent-edit-check):not(.product-upload-tile)>input,.agent-edit-page .agent-edit-section label:not(.agent-edit-check):not(.product-upload-tile)>select,.agent-edit-page .agent-edit-section label:not(.agent-edit-check):not(.product-upload-tile)>textarea,.agent-edit-page .agent-row-editor-row label>input,.agent-edit-page .agent-row-editor-row label>select,.agent-edit-page .agent-row-editor-row label>textarea,.agent-edit-page .agent-dynamic-fields label>input,.agent-edit-page .agent-dynamic-fields label>select,.agent-edit-page .agent-dynamic-fields label>textarea{align-self:stretch}.agent-edit-page .agent-edit-check{justify-content:flex-start!important;text-align:left!important}.settings-table button.btn-edit{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #2563eb;border-radius:6px;color:#fff;background:#2563eb;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.settings-table button.btn-edit:hover{border-color:#1d4ed8;background:#1d4ed8}@media (max-width: 760px){.agent-edit-hero{flex-direction:column;padding:14px}.agent-edit-title-row{align-items:flex-start}.agent-edit-hero-icon{width:40px;min-width:40px;height:40px}.agent-edit-title-copy h1{font-size:20px}.agent-edit-hero-actions,.agent-edit-save{width:100%}.knowledge-modal-actions{flex-direction:column}.knowledge-modal-actions>*{width:100%;justify-content:center}.knowledge-guided-grid,.agent-edit-grid,.agent-edit-check-grid,.agent-model-groups,.agent-social-grid,.agent-script-gallery,.agent-row-editor-row,.agent-inline-action,.agent-product-row,.agent-dynamic-row,.product-edit-card,.product-edit-grid{grid-template-columns:1fr}.agent-product-row .agent-edit-wide,.agent-dynamic-fields .agent-edit-wide,.product-edit-card>.agent-edit-wide,.product-edit-card>.product-edit-grid,.product-edit-card>.agent-dynamic-save-row{grid-column:auto}.agent-edit-section{padding:14px}.agent-edit-grid label,.agent-row-editor-row label,.agent-product-row label,.agent-dynamic-fields label{grid-template-columns:1fr!important;align-items:stretch}.agent-inline-action button,.agent-row-editor-row button,.agent-product-row button,.agent-dynamic-actions,.agent-dynamic-actions button,.agent-dynamic-save-row button{width:100%;justify-content:center}.agent-dynamic-actions,.agent-dynamic-save-row{justify-content:stretch}.product-upload-tile{min-height:132px}}.content .history-modal>button.history-modal-backdrop,.history-modal>button.history-modal-backdrop{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.content .history-detail-head button.history-modal-close,.history-detail-head button.history-modal-close{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border:1px solid #d9dee8!important;background:#fff!important;color:#111827!important;box-shadow:none!important}.incoming-page{width:min(100%,1120px);margin:0 auto;display:grid;gap:18px}.incoming-demo-wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:24px;align-items:stretch;padding:26px;border:1px solid #dbe5ea;border-radius:8px;background:radial-gradient(circle at 12% 14%,rgba(47,158,143,.16),transparent 34%),linear-gradient(135deg,#f7fbfb 0%,#eef6f3 48%,#f9fbfd 100%);box-shadow:var(--shadow-sm)}.incoming-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:18px;min-height:420px}.incoming-kicker{width:fit-content;padding:6px 10px;border:1px solid rgba(23,107,135,.2);border-radius:999px;background:rgba(255,255,255,.72);color:#176b87;font-size:12px;font-weight:800;text-transform:uppercase}.incoming-hero-copy h2{max-width:620px;margin:0;color:#102832;font-size:44px;line-height:1.04}.incoming-hero-copy p{max-width:560px;color:#4f6770;font-size:16px}.incoming-feature-row{display:flex;flex-wrap:wrap;gap:10px}.incoming-feature-row span{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;border:1px solid rgba(23,107,135,.14);border-radius:999px;background:rgba(255,255,255,.72);color:#244650;font-size:13px;font-weight:700}.incoming-panel{display:grid;gap:18px;align-self:center;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:8px;box-shadow:0 22px 54px #0f172a29;padding:22px}.incoming-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.incoming-card-title{display:grid;gap:4px}.incoming-card-title strong{color:#0f2530;font-size:20px;line-height:1.2}.incoming-card-title span,.incoming-direct-line{color:#647982;font-size:13px}.incoming-engine-badge{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:32px;padding:6px 9px;border:1px solid rgba(47,158,143,.2);border-radius:999px;background:#edf8f5;color:#176b5c;font-size:12px;font-weight:800}.incoming-engine-badge:before,.incoming-status-pill:before{content:"";width:8px;height:8px;border-radius:50%}.incoming-engine-badge:before{background:#2f9e8f;box-shadow:0 0 0 5px #2f9e8f21}.incoming-grid{display:grid;gap:14px}.incoming-field{display:grid;gap:7px}.incoming-field label{color:#244650;font-size:13px;font-weight:800}.incoming-field select,.incoming-field input{width:100%;min-height:48px;padding:11px 13px;border:1px solid #d9e4e8;border-radius:8px;background:#f8fbfc;color:#102832;font:inherit}.incoming-field select:focus,.incoming-field input:focus{outline:3px solid rgba(47,158,143,.16);border-color:#2f9e8f;background:#fff}.incoming-status{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border:1px solid #dbe5ea;border-radius:8px;background:#f8fbfc}.incoming-status strong{color:#102832}.incoming-status span{color:#647982;font-size:13px}.incoming-status-pill{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:5px 9px;border:1px solid #dbe5ea;border-radius:999px;background:#fff;color:#647982;font-size:12px;font-weight:800;white-space:nowrap}.incoming-status-pill:before{background:#94a3b8}.incoming-status-pill.is-online{border-color:#2f9e8f3d;background:#edf8f5;color:#176b5c}.incoming-status-pill.is-online:before{background:#2f9e8f}.incoming-status-pill.is-error{border-color:#c2413b3d;background:#fff1f0;color:#9f2f2a}.incoming-status-pill.is-error:before{background:#c2413b}.incoming-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.incoming-actions-single{grid-template-columns:1fr}.incoming-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:0;border-radius:8px;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 12px 24px #0f172a24}.incoming-button:disabled{cursor:not-allowed;opacity:.58}.incoming-button-call{background:#176b87}.incoming-button-hangup{display:inline-flex;background:#dc2626}.incoming-empty{padding:18px;border:1px solid #dbe5ea;border-radius:8px;background:#f8fbfc;color:#647982}.incoming-page audio{display:none}@media (max-width: 920px){.incoming-demo-wrap{grid-template-columns:1fr}.incoming-hero-copy{min-height:auto}.incoming-hero-copy h2{font-size:34px}}@media (max-width: 560px){.incoming-demo-wrap{padding:14px}.incoming-hero-copy h2{font-size:30px}.incoming-status{align-items:flex-start;flex-direction:column}.incoming-actions{grid-template-columns:1fr}}button,input{font:inherit}*{box-sizing:border-box}body.login-page .auth-shell{width:min(100%,1040px);display:grid;grid-template-columns:minmax(0,1fr) 440px;min-height:620px;overflow:hidden;background:#fff;border:1px solid #dbe4ec;border-radius:22px;box-shadow:0 24px 70px #0f172a24}body.login-page .auth-brand-panel{min-width:0;width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:38px;color:#fff;background:linear-gradient(145deg,#12313f,#0f5066)}body.login-page .auth-brand-panel img{width:156px;height:auto;padding:11px 14px;border-radius:14px;background:rgba(255,255,255,.94)}body.login-page .auth-brand-copy{min-width:0;max-width:500px}body.login-page .auth-brand-copy span{display:inline-flex;min-height:28px;align-items:center;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px 11px;color:#c7f6ee;font-size:12px;font-weight:900;text-transform:uppercase}body.login-page .auth-brand-copy h1{margin:18px 0 12px;color:#fff!important;font-size:36px!important;line-height:1.1!important;letter-spacing:0!important}body.login-page .auth-brand-copy p,body.login-page .auth-brand-foot{margin:0;color:#ffffffc2}body.login-page .auth-card-wrap{min-width:0;width:100%;display:flex;align-items:flex-start;padding:78px 34px 34px;background:#fff}body.login-page .login-container{width:100%;max-width:420px;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}body.login-page .login-container h2{margin:0 0 18px!important;color:#0f172a!important;font-size:26px!important;text-align:left!important}body.login-page .auth-tabs{display:flex;align-items:center;gap:6px;width:100%;margin:0 0 18px;padding:6px;border:1px solid #dbe4ec;border-radius:14px;background:#f8fafc}body.login-page .auth-tabs button{flex:1;height:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#475569;font-weight:900;line-height:1;cursor:pointer}body.login-page .auth-tabs button.active{color:#fff;background:#176b87;border-color:#176b87;box-shadow:0 10px 20px #176b8733}body.login-page .login-container input:not([type="checkbox"]){min-height:46px!important;border-radius:12px!important;border-color:#cbd5e1!important;background:#f8fafc!important;color:#0f172a!important;font-weight:400!important}body.login-page .login-container input::placeholder{color:#777!important;font-weight:400!important}.react-field{position:relative;display:block}.primary-auth-button{width:100%;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;color:#fff;font-weight:900;background:linear-gradient(135deg,#176b87,#2f9e8f)!important;box-shadow:0 14px 26px #176b8738!important;cursor:pointer}.primary-auth-button:disabled{cursor:wait;opacity:.72}body.login-page .auth-links{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;text-align:center;white-space:nowrap}body.login-page .auth-links button{border:0;width:auto!important;min-height:0!important;padding:0!important;box-shadow:none!important;background:transparent;color:#176b87;font-weight:900;cursor:pointer}body.login-page .auth-links a,body.login-page .auth-links button{flex:0 0 auto;color:#176b87;text-decoration:none}body.login-page .auth-links.single{justify-content:flex-start}body.login-page .legal-links{display:flex;justify-content:center;gap:10px;margin-top:22px;align-items:center}body.login-page .legal-links a{text-decoration:none}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 860px){body.login-page{padding:18px}body.login-page .auth-shell{grid-template-columns:1fr;min-height:0}body.login-page .auth-brand-panel{padding:24px}body.login-page .auth-brand-copy h1{font-size:29px!important}body.login-page .auth-brand-foot{display:none}body.login-page .auth-card-wrap{padding:24px}body.login-page .auth-links{gap:14px;white-space:normal}}.recording-page{max-width:1120px;margin:0 auto;padding:26px 28px 36px;background:#fff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 18px 40px #0f172a0f}.recording-page .page-header{padding:0 0 12px;margin-bottom:18px;border:0;border-bottom:1px solid #dbe4f0;border-radius:0;box-shadow:none;background:transparent}.recording-page .page-header h1{margin:0;color:#111827;font-size:30px;line-height:1.15}.recording-page .page-header p{margin:8px 0 0;color:#64748b}.recording-filter,.recording-list{padding:0;margin-bottom:18px;border:0;box-shadow:none;background:transparent}.recording-filter{padding:30px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.recording-list{padding-top:28px;border-top:1px solid #dbe4f0}.recording-page .section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.recording-page .section-header h2{margin:0;color:#1f2937;font-size:18px}.recording-search form{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,280px) auto auto;gap:12px;align-items:center}.recording-search input,.recording-search select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;color:#111827;background:#fff}.recording-search .btn-submit,.recording-search .button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 18px;text-decoration:none;font-weight:800}.recording-search .btn-submit{border:0;color:#fff;background:#2563eb;cursor:pointer;box-shadow:0 12px 24px #2563eb2e}.recording-table-wrap{overflow-x:auto;border:1px solid #dbe4f0;border-radius:8px}.recording-table{width:100%;border-collapse:collapse;min-width:980px}.recording-table th,.recording-table td{padding:14px 16px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle;color:#111827}.recording-table th{background:#f8fafc;color:#334155;font-size:12px;letter-spacing:0;text-transform:uppercase}.recording-table tr:last-child td{border-bottom:0}.recording-table .mono-cell,.recording-table .number-cell{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px}.status-pill,.duration-pill{display:inline-flex;min-height:28px;align-items:center;justify-content:center;border-radius:999px;padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap}.status-pill{color:#166534;background:#dcfce7}.status-busy,.status-failed,.status-no-answer,.status-congestion{color:#991b1b;background:#fee2e2}.duration-pill{color:#1e40af;background:#dbeafe}.recording-audio audio{width:240px;max-width:100%;height:34px}.export-page{max-width:1120px;margin:0 auto;padding:26px 28px 36px;background:#fff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 18px 40px #0f172a0f}.export-page .page-header{padding:0 0 12px;margin-bottom:18px;border-bottom:1px solid #dbe4f0}.export-page .page-header h1{margin:0;color:#111827;font-size:30px;line-height:1.15}.export-page .page-header p{margin:8px 0 0;color:#64748b}.export-form .form-section{padding:30px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.export-form .form-section h2{margin:0 0 20px;color:#111827;font-size:22px}.export-form .form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.export-form .form-group{display:flex;flex-direction:column;gap:8px}.export-form label{color:#334155;font-size:14px;font-weight:900}.export-form input,.export-form select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;color:#111827;background:#fff}.export-form .form-actions{margin-top:22px}.export-form .btn-submit{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:0 18px;color:#fff;background:#2563eb;font-weight:900;cursor:pointer;box-shadow:0 12px 24px #2563eb2e}.notice{margin-bottom:16px;border-radius:8px;padding:12px 14px;font-weight:800}.notice-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.notice-success{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.ai-outgoing-page{max-width:1160px;margin:0 auto;padding:26px 28px 36px;background:#fff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 18px 40px #0f172a0f}.ai-outgoing-page .page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;padding:0 0 12px;margin-bottom:18px;border:0;border-bottom:1px solid #dbe4f0;border-radius:0;background:transparent;box-shadow:none}.ai-outgoing-page .page-header>div,.inbound-routes-page .page-header>div{min-width:0}.ai-outgoing-page .page-header h1{margin:0;color:#111827;font-size:30px}.ai-outgoing-page .page-header p{margin:8px 0 0;max-width:680px;color:#64748b}.bulk-call-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;justify-content:flex-start}.bulk-call-tabs a,.bulk-call-tabs button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:8px;padding:0 16px;color:#334155;background:#fff;text-decoration:none;font-weight:900}.bulk-call-tabs a.active{color:#fff;border-color:#2563eb;background:#2563eb;box-shadow:0 12px 24px #2563eb2e}.ai-bulk-form h2,.ai-bulk-form h3{margin:0 0 18px;color:#111827}.ai-bulk-form .form-section,.ai-bulk-tab-panel .settings-table-wrap{margin-bottom:18px;padding:24px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.ai-bulk-form .form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ai-bulk-form .form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.ai-bulk-form label{color:#334155;font-size:14px;font-weight:900}.ai-bulk-form input,.ai-bulk-form select,.ai-bulk-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;color:#111827;background:#fff}.ai-bulk-form textarea{resize:vertical}.ai-bulk-form .upload-field{gap:8px}.ai-bulk-form .file-upload-box{min-height:43px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;background:#fff;cursor:pointer}.ai-bulk-form .file-upload-box:hover{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb14}.ai-bulk-form .file-upload-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 8px 24px #0f172a0f;padding:18px}.ai-bulk-form .file-upload-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;min-height:168px;padding:24px 18px;border:1.5px dashed #b9c3d3;border-radius:8px;background:#f8fafc;color:#334155;cursor:pointer;text-align:center;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.ai-bulk-form .file-upload-dropzone:hover,.ai-bulk-form .file-upload-dropzone:focus-within{border-color:#2563eb;background:#f3f7ff;box-shadow:0 0 0 4px #2563eb14}.ai-bulk-form .file-upload-card.has-file .file-upload-dropzone{border-color:#16a34a;background:#f0fdf4}.ai-bulk-form .file-upload-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:8px;background:#e8f0ff;color:#1d4ed8;font-size:13px;font-weight:900;letter-spacing:0}.ai-bulk-form .file-upload-title{flex:0 0 auto;color:#1d4ed8;font-size:13px;font-weight:900}.ai-bulk-form .file-upload-desc{display:block;max-width:420px;margin:0 auto;color:#64748b;font-size:13px;line-height:1.45}.ai-bulk-form .file-upload-name{min-width:0;color:#64748b;font-size:13px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.ai-bulk-form .file-upload-status{display:block;min-height:20px;color:#64748b;font-size:12px;font-weight:800}.ai-bulk-form .file-upload-card.has-file .file-upload-status{color:#15803d}.ai-bulk-form .file-upload-help{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:14px}.ai-bulk-form .file-upload-help p{margin:0;color:#64748b;font-size:13px;line-height:1.45}.ai-bulk-form .file-upload-input{position:absolute!important;width:1px!important;max-width:1px!important;min-height:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0);border:0!important;padding:0!important}.ai-bulk-template{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:8px;padding:0 14px;color:#334155;background:#fff;font-size:13px;font-weight:900;text-decoration:none}.ai-bulk-template:hover{border-color:#93c5fd;color:#1d4ed8}.bulk-help-danger{color:#dc2626;font-size:13px;font-weight:800}.bulk-form-help{color:#64748b;font-size:13px;font-weight:800}.bulk-recipient-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.bulk-recipient-pills span{display:inline-flex;align-items:center;min-height:30px;border:1px solid #dbe4f0;border-radius:999px;padding:0 12px;color:#334155;background:#f8fafc;font-size:13px;font-weight:900}.bulk-form-help{margin:-4px 0 0}.standard-bulk-page .bulk-submit-actions{display:block}.standard-bulk-page .bulk-submit-actions .btn-submit{width:100%}.app-shell .content .bulk-call-page .ai-bulk-form input.file-upload-input[type=file]{position:absolute!important;width:1px!important;max-width:1px!important;min-width:1px!important;height:1px!important;min-height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important;opacity:0!important;pointer-events:none!important}.ai-bulk-form .form-actions{display:flex;flex-wrap:wrap;gap:10px}.ai-bulk-form .btn-submit,.ai-bulk-table button{min-height:38px;border:0;border-radius:8px;padding:0 16px;color:#fff;background:#2563eb;font-weight:900;cursor:pointer}.ai-bulk-form .btn-secondary,.ai-bulk-table .btn-secondary{color:#334155;border:1px solid #cbd5e1;background:#fff}.ai-bulk-table .btn-danger{background:#dc2626}.ai-queue-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.ai-queue-pill,.ai-status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:900;white-space:nowrap}.ai-queue-pill{min-height:36px;border:1px solid #dbe4f0;padding:0 12px;color:#334155;background:#fff}.ai-status-badge{min-height:26px;padding:0 9px;font-size:12px}.ai-status-pending{color:#92400e;background:#fef3c7}.ai-status-processing{color:#1d4ed8;background:#dbeafe}.ai-status-complete{color:#166534;background:#dcfce7}.ai-status-failed{color:#991b1b;background:#fee2e2}.ai-status-active{color:#075985;background:#e0f2fe}.ai-status-inactive{color:#475569;background:#f1f5f9}.ai-batch-counts{display:flex;flex-wrap:wrap;gap:6px}.ai-bulk-table{min-width:1080px}.standard-bulk-page .bulk-campaign-filters{margin-bottom:18px;padding:20px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.standard-bulk-page .bulk-campaign-filters .form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}.standard-bulk-page .bulk-campaign-filters .form-group{display:flex;flex-direction:column;gap:8px}.standard-bulk-page .bulk-campaign-filters label{color:#334155;font-size:14px;font-weight:900}.standard-bulk-page .bulk-campaign-filters input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;background:#fff}.standard-bulk-page .bulk-campaign-filters .btn-submit{min-height:42px;border:0;border-radius:8px;padding:0 16px;color:#fff;background:#2563eb;font-weight:900}.standard-bulk-table{min-width:820px}.campaign-actions{display:flex;flex-wrap:wrap;gap:8px}.campaign-actions .btn-danger{color:#fff;border-color:#dc2626;background:#dc2626}.campaign-actions .btn-secondary{color:#334155;border:1px solid #cbd5e1;background:#fff}.campaign-queue-form .campaign-queue-config{grid-column:1 / -1}.campaign-queue-form textarea{min-height:190px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.45}.campaign-management-table{min-width:760px}.campaign-queue-table{min-width:920px}.campaign-script-page{max-width:1180px}.campaign-script-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.campaign-script-tabs a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:8px;padding:9px 14px;color:#334155;background:#eef2f7;font-size:14px;font-weight:900;text-decoration:none}.campaign-script-tabs a:hover,.campaign-script-tabs a.active{border-color:#2563eb;color:#fff;background:#2563eb}.campaign-script-form{display:grid;gap:16px}.campaign-script-form>.form-section:first-of-type .form-row>.form-group:first-child{grid-column:span 2}.campaign-script-page .section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.campaign-script-page .section-title h2{margin:0;color:#0f172a;font-size:18px;font-weight:900}.campaign-script-page .section-title span,.campaign-script-page .table-toolbar p{color:#64748b;font-size:13px;font-weight:700}.campaign-script-builder{display:grid;gap:12px}.campaign-script-item{display:grid;grid-template-columns:minmax(150px,.32fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.campaign-script-item label,.campaign-script-off-date{display:grid;gap:7px;margin:0;color:#334155;font-size:13px;font-weight:850}.campaign-script-audio{display:grid;gap:10px;min-width:0}.campaign-script-audio .file-upload-dropzone{min-height:72px;display:grid;place-items:center;gap:4px;border:1px dashed #b9c7d8;border-radius:8px;padding:12px;background:#fff;color:#334155;cursor:pointer;text-align:center}.campaign-script-audio audio{width:min(100%,420px);min-width:260px;height:40px}.campaign-script-off-date{grid-template-columns:minmax(180px,320px) auto;align-items:end}.campaign-script-table{min-width:920px}.campaign-script-table td strong{display:block;color:#0f172a}.campaign-script-table td small{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:800}.campaign-script-page .empty-state-modern.compact{min-height:150px;margin:0;padding:20px}.language-browser{display:grid;gap:16px;margin:0 0 18px;padding:20px;border:1px solid #dbe4f0;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0d}.language-browser .section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0}.language-browser .section-title h2{margin:0 0 4px;color:#0f172a;font-size:18px;font-weight:900}.language-browser .section-title span{color:#64748b;font-size:13px;font-weight:700}.language-browser-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.language-browser-grid label{display:grid;gap:7px;margin:0;color:#334155;font-size:13px;font-weight:850}.language-browser-summary{display:grid;gap:4px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff}.language-browser-summary span{color:#2563eb;font-size:12px;font-weight:900;text-transform:uppercase}.language-browser-summary strong{color:#0f172a;font-size:18px;font-weight:900}.language-browser-summary small{color:#475569;font-size:13px;font-weight:700}.campaign-queue-page .page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;border:1px solid #dbe4f0;border-radius:8px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 10px 28px #0f172a0d}.campaign-queue-page .page-header h1{margin:0;min-width:max-content;font-size:28px;line-height:1.15;overflow-wrap:normal;word-break:normal}.campaign-queue-page .page-header p{max-width:520px;margin:4px 0 0;text-align:right;line-height:1.45}.campaign-queue-page>.settings-table-wrap{padding:24px}.campaign-queue-page .table-toolbar h2{margin:0 0 8px}.campaign-queue-page .table-toolbar p{margin:0 0 16px}.crm-page{max-width:1320px;margin:0 auto;padding:26px 28px 36px;background:#fff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 18px 40px #0f172a0f}.crm-page .page-header{padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid #dbe4f0}.crm-page .page-header h1{margin:0;color:#111827;font-size:30px}.crm-page .page-header p{margin:8px 0 0;color:#64748b}.crm-search-form .form-section{width:100%;max-width:100%;margin-bottom:18px;padding:22px;border:1px solid #dbe4f0;border-radius:8px;background:#f8fafc}.crm-search-form h2{margin:0 0 16px;color:#111827;font-size:20px}.crm-filter-row{display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(260px,1fr) minmax(170px,.75fr) minmax(180px,.75fr);gap:16px;align-items:end}.crm-search-form .crm-filter-row{grid-template-columns:minmax(220px,1.4fr) minmax(320px,1fr) minmax(150px,.7fr) minmax(170px,.8fr)!important}.crm-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.crm-search-form .crm-date-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.crm-search-form .crm-date-pair .form-group{flex:1 1 auto!important;min-width:0!important}.crm-search-form .form-group{display:flex;flex-direction:column;gap:8px}.crm-search-form label{color:#334155;font-size:14px;font-weight:900}.crm-search-form input,.crm-search-form select{width:100%;max-width:none;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;color:#111827;background:#fff}.crm-search-form select:disabled{color:#64748b;background:#f1f5f9}.crm-action-row{margin-top:16px}.crm-action-row .form-actions{display:flex;flex-wrap:wrap;gap:10px}.crm-action-row button,.crm-action-row .btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 16px;font-weight:900;text-decoration:none}.crm-action-row button{border:0;color:#fff;background:#2563eb;cursor:pointer}.crm-action-row .btn-secondary{color:#334155;border:1px solid #cbd5e1;background:#fff}.crm-page .section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:18px 0 12px}.crm-page .section-header h2{margin:0;color:#111827;font-size:22px}.crm-page .section-header p{margin:6px 0 0;color:#64748b}.crm-page .table-summary{color:#475569;font-weight:800;white-space:nowrap}.crm-table-wrap{border:1px solid #e2e8f0;border-radius:8px;background:#fff;overflow:auto}.crm-table{min-width:1920px;border-collapse:collapse;width:100%;font-size:13px}.crm-table th{position:sticky;top:0;z-index:1;padding:12px 10px;color:#334155;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-weight:900;text-align:left;white-space:nowrap}.crm-table td{padding:11px 10px;color:#111827;border-bottom:1px solid #edf2f7;vertical-align:top}.crm-table tr:nth-child(even) td{background:#fbfdff}.crm-table td{max-width:190px;overflow-wrap:anywhere}.crm-table td.empty-state{display:table-cell!important;min-height:0;padding:30px 18px!important;text-align:center}.crm-empty-state{margin-top:12px;min-height:170px}.crm-audio-cell{min-width:250px}.crm-audio-cell audio{width:230px;max-width:100%}.ai-empty{color:#94a3b8;font-weight:800}.user-management-page{width:min(100%,1320px)!important;max-width:1320px!important;margin:0 auto!important;overflow:hidden!important}.user-management-page .page-header{display:block!important;overflow:hidden}.user-management-page .page-header p{white-space:normal!important}.user-management-page .user-panel{width:100%!important;max-width:100%!important;overflow:hidden!important}.user-management-page .user-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.user-management-page .user-form-grid input,.user-management-page .user-form-grid select,.user-management-page .search-bar input{width:100%!important;max-width:none!important}.user-management-page .user-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden}.user-management-page .user-table{min-width:0!important;table-layout:fixed!important;font-size:12px}.user-management-page .user-table th,.user-management-page .user-table td{padding:10px 7px!important;overflow-wrap:anywhere}.user-management-page .user-table th:nth-child(1),.user-management-page .user-table td:nth-child(1){width:12%}.user-management-page .user-table th:nth-child(2),.user-management-page .user-table td:nth-child(2){width:16%}.user-management-page .user-table th:nth-child(3),.user-management-page .user-table td:nth-child(3){width:14%}.user-management-page .user-table th:nth-child(4),.user-management-page .user-table td:nth-child(4){width:10%}.user-management-page .user-table th:nth-child(5),.user-management-page .user-table td:nth-child(5){width:10%}.user-management-page .user-table th:nth-child(6),.user-management-page .user-table td:nth-child(6){width:11%}.user-management-page .user-table th:nth-child(7),.user-management-page .user-table td:nth-child(7){width:9%}.user-management-page .user-table th:nth-child(8),.user-management-page .user-table td:nth-child(8){width:18%}.user-management-page .user-actions{flex-wrap:wrap!important;gap:5px!important}.user-management-page .user-actions button{min-height:30px!important;padding:5px 7px!important;font-size:11px!important}.menu-management-page .page-header{align-items:center}.menu-management-page .page-header p{white-space:normal!important;text-align:right}.menu-management-page .menu-config-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.menu-management-page .admin-list-header{display:grid!important;grid-template-columns:minmax(0,max-content) minmax(280px,1fr);align-items:center!important}.menu-management-page .admin-search-bar,.menu-management-page .admin-search-bar form{max-width:none;width:100%}.menu-management-page .admin-data-table{table-layout:fixed;min-width:1000px}.menu-management-page .admin-data-table th,.menu-management-page .admin-data-table td{padding:13px 12px!important;overflow-wrap:anywhere}.menu-management-page .admin-data-table th:nth-child(1),.menu-management-page .admin-data-table td:nth-child(1){width:5%}.menu-management-page .admin-data-table th:nth-child(2),.menu-management-page .admin-data-table td:nth-child(2){width:17%}.menu-management-page .admin-data-table th:nth-child(3),.menu-management-page .admin-data-table td:nth-child(3){width:12%}.menu-management-page .admin-data-table th:nth-child(4),.menu-management-page .admin-data-table td:nth-child(4){width:7%}.menu-management-page .admin-data-table th:nth-child(5),.menu-management-page .admin-data-table td:nth-child(5){width:11%}.menu-management-page .admin-data-table th:nth-child(6),.menu-management-page .admin-data-table td:nth-child(6){width:13%}.menu-management-page .admin-data-table th:nth-child(7),.menu-management-page .admin-data-table td:nth-child(7){width:8%}.menu-management-page .admin-data-table th:nth-child(8),.menu-management-page .admin-data-table td:nth-child(8){width:9%}.menu-management-page .admin-data-table th:nth-child(9),.menu-management-page .admin-data-table td:nth-child(9){width:17%}.menu-management-page .menu-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.menu-management-page .menu-actions button{min-width:66px;white-space:nowrap}.menu-management-page .menu-actions .menu-delete-action{flex-basis:66px}.user-status-page{width:min(100%,1440px);margin:0 auto;display:grid;gap:18px}.user-status-panel{background:#fff;border:1px solid #dbe4f0;border-radius:8px;box-shadow:0 2px 8px #0f172a0f;overflow:hidden}.user-status-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-bottom:1px solid #dbe4f0}.user-status-header h1{margin:0;color:#111827}.user-status-header p{margin:4px 0 0;color:#64748b;font-weight:400}.user-status-alert{margin:14px 18px 0;padding:12px 14px;border-radius:8px;font-weight:700}.user-status-alert.success{color:#166534;background:#dcfce7;border:1px solid #86efac}.user-status-alert.error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.user-status-table-wrap{overflow-x:auto}.user-status-table{width:100%;min-width:1080px;border-collapse:collapse}.user-status-table th,.user-status-table td{padding:12px 14px;border-bottom:1px solid #dbe4f0;color:#334155;text-align:left;vertical-align:middle}.user-status-table th{background:#f8fafc;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.user-status-table strong{color:#111827}.status-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:12px;font-weight:800}.force-logout-button{border:0;border-radius:6px;background:#dc2626;color:#fff;min-height:34px;padding:8px 12px;font-weight:800;cursor:pointer;white-space:nowrap}.force-logout-button:hover{background:#b91c1c}.user-status-empty{margin:18px}.system-information-page .resources{width:50%;margin:0 auto;border:1px solid #ccc;border-radius:10px;padding:20px;background:#fff;box-shadow:0 0 10px #0000001a}.system-information-page .resources h1{margin:0 0 18px;color:#333;text-align:center}.system-information-page .resources table{width:100%;border-collapse:collapse}.system-information-page .resources table th,.system-information-page .resources table td{border:1px solid #ddd;padding:10px;color:#111827;text-align:left}.system-information-page .resources table th{background-color:#f4f4f4}.subscription-page{width:min(100%,1480px);max-width:100%;min-width:0;margin:0 auto;display:grid;gap:18px}.subscription-page *,.subscription-page *:before,.subscription-page *:after{box-sizing:border-box}.subscription-hero,.subscription-form,.subscription-page .admin-list-panel{width:100%;min-width:0;background:#fff;border:1px solid #d9e2ec;border-radius:8px;box-shadow:0 12px 30px #0f172a12}.subscription-hero{display:flex;align-items:stretch;justify-content:space-between;gap:22px;padding:22px;background:linear-gradient(135deg,rgba(14,116,144,.1),rgba(255,255,255,0) 40%),#fff}.subscription-hero h1,.subscription-form h2,.subscription-page .admin-list-panel h2,.subscription-section h3{margin:0!important;color:#0f172a;letter-spacing:0}.subscription-hero h1{font-size:clamp(26px,3vw,38px);line-height:1.1}.subscription-hero p,.subscription-section .section-title span{margin:8px 0 0;color:#52606d;font-weight:500}.subscription-eyebrow{display:inline-flex;margin-bottom:8px;color:#0f766e;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.subscription-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px;min-width:270px}.subscription-hero-stats div{display:grid;align-content:center;gap:4px;padding:16px;border:1px solid #dbe4ef;border-radius:8px;background:rgba(248,250,252,.88)}.subscription-hero-stats strong{color:#0f172a;font-size:28px;line-height:1}.subscription-hero-stats span{color:#52606d;font-size:13px;font-weight:700}form.settings-form.subscription-form{display:block!important;grid-template-columns:none!important;gap:0!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid #d9e2ec!important;border-radius:8px!important;box-shadow:0 12px 30px #0f172a12!important;overflow:hidden}.subscription-form-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:20px 22px;border-bottom:1px solid #e5edf5;background:#fbfdff}.subscription-section{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);gap:22px;min-width:0;padding:22px;border-bottom:1px solid #e5edf5}.subscription-section .section-title h3{font-size:17px}.subscription-section .section-title span{display:block;font-size:13px;line-height:1.45}.subscription-page .form-grid,.subscription-page .limit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:14px}.subscription-page .form-grid-primary{grid-template-columns:repeat(3,minmax(0,1fr))}.subscription-page .field-wide{grid-column:1 / -1}.subscription-offer-grid{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:16px;min-width:0}.subscription-discount-preview{display:grid;align-content:center;gap:10px;min-height:180px;padding:18px;border:1px solid #fed7aa;border-radius:8px;background:linear-gradient(135deg,#fff7ed 0%,#ecfeff 100%);box-shadow:inset 0 0 0 1px #ffffffb3}.subscription-discount-preview .offer-label{width:max-content;border-radius:999px;padding:5px 9px;background:#0f766e;color:#fff;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.subscription-discount-preview .offer-price-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}.subscription-discount-preview .offer-price-line span{color:#0f172a;font-size:32px;font-weight:900;line-height:1}.subscription-discount-preview del,.price-with-discount del{color:#9ca3af;font-size:14px;font-weight:800}.subscription-discount-preview strong{color:#9a3412;font-size:14px}.subscription-discount-preview em{color:#475569;font-size:13px;font-style:normal;font-weight:700}.subscription-page .subscription-offer-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start}.subscription-form label{display:grid;gap:7px;min-width:0;color:#1f2933;font-size:13px;font-weight:800}.subscription-form input,.subscription-form select,.subscription-form textarea{width:100%;min-height:50px;border:1px solid #c8d4e1;border-radius:7px;padding:12px 14px;background:#fff;color:#0f172a;font:inherit;font-weight:600;line-height:1.45;outline:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.subscription-form textarea{min-height:120px!important;resize:vertical}.subscription-form input:focus,.subscription-form select:focus,.subscription-form textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24;background:#fcfffe}.subscription-page .check-grid,.subscription-page .permission-grid,.subscription-page .feature-access-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px}.subscription-page .check-grid label,.subscription-page .permission-grid label,.subscription-page .feature-access-grid label,.subscription-page .inline-check{display:flex;align-items:flex-start;gap:10px;min-height:72px;padding:14px 14px 16px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.subscription-page .check-grid label>span,.subscription-page .permission-grid label>span,.subscription-page .feature-access-grid label>span,.subscription-page .inline-check>span{display:block;line-height:1.45}.subscription-page .check-grid label:has(input:checked),.subscription-page .permission-grid label:has(input:checked),.subscription-page .feature-access-grid label:has(input:checked),.subscription-page .inline-check:has(input:checked){border-color:#0f766e;background:#ecfdf5}.subscription-page .check-grid input,.subscription-page .permission-grid input,.subscription-page .feature-access-grid input,.subscription-page .inline-check input{width:16px;min-height:16px;margin-top:2px;padding:0;accent-color:#0f766e}.subscription-page .feature-access-grid label.is-disabled{opacity:.58}.subscription-page .feature-access-grid small,.subscription-page .permission-grid small{display:block;margin-top:3px;color:#64748b;font-size:12px;font-weight:600;word-break:break-word}.subscription-page .feature-access-grid small{color:#92400e;font-size:11px;font-weight:700}.subscription-page .permission-grid{width:100%;max-height:430px;overflow:auto;padding:2px 4px 2px 2px;scrollbar-width:thin}.subscription-page .channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:12px}.subscription-page .channel-row{display:grid;gap:10px;padding:12px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.subscription-page .channel-row .inline-check{min-height:auto;padding:0;border:0;background:transparent}.subscription-page .form-actions{position:sticky;bottom:0;z-index:2;display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #dbe4ef;background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}form.settings-form.subscription-form>.form-actions{grid-column:auto!important;padding:16px 22px!important}.subscription-page .form-actions button,.subscription-page .button-secondary,.subscription-page .table-action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:7px;padding:9px 15px;background:#0f766e;color:#fff;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.subscription-page .button-secondary{background:#475569}.subscription-page .table-action{min-height:32px;padding:7px 12px;background:#e0f2fe;color:#075985;box-shadow:none}.subscription-page .coupon-code-list{display:grid;gap:10px}.subscription-page .coupon-code-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto;gap:10px;align-items:end;padding:12px;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc}.subscription-page .coupon-code-row label{margin:0}.subscription-page .coupon-code-row .btn-danger{min-height:42px}.subscription-page .add-coupon-button{justify-self:start}.subscription-page .coupon-pill-list{display:flex;flex-wrap:wrap;gap:6px;max-width:260px;white-space:normal}.subscription-page .admin-data-table td strong+small{display:block;max-width:360px;margin-top:4px;color:#64748b;font-size:12px;font-weight:600;white-space:normal}.coupon-pill{display:inline-grid;gap:2px;min-width:118px;border:1px solid #99f6e4;border-radius:8px;padding:7px 10px;background:#f0fdfa;color:#0f766e;font-size:12px;font-weight:900;line-height:1.2}.coupon-pill small{color:#475569;font-size:11px;font-weight:800}.muted-table-text{color:#94a3b8;font-size:12px;font-weight:700}.subscription-table-wrap{width:100%;min-width:0;overflow-x:auto}.subscription-package-table{width:100%;min-width:1120px}.subscription-package-table th,.subscription-package-table td{vertical-align:top}.subscription-package-table th:not(:first-child),.subscription-package-table td:not(:first-child){white-space:nowrap}.subscription-package-table td .coupon-pill-list{white-space:normal}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:72px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.status-active{background:#dcfce7;color:#166534}.status-inactive{background:#fee2e2;color:#991b1b}.company-subscriptions-page{width:min(100%,1440px)}.company-subscriptions-page .page-header{padding:22px;border:1px solid #d9e2ec;border-radius:8px;background:linear-gradient(135deg,rgba(37,99,235,.08),transparent 42%),#fff;box-shadow:0 8px 24px #0f172a0f}.company-subscriptions-page .page-header h1{margin:0!important}.company-subscriptions-page .page-header p{margin:6px 0 0}.subscription-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #e5edf5;background:#fbfdff}.subscription-panel-head h2{margin:0!important;color:#0f172a}.subscription-panel-head p{margin:5px 0 0;color:#52606d;font-size:13px;font-weight:500}.company-subscriptions-page form.settings-form.subscription-form{box-shadow:0 8px 24px #0f172a0f!important}.company-subscriptions-page .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-width:0;padding:20px}.company-subscriptions-page .subscription-form label{display:grid;gap:7px;min-width:0;color:#1f2937;font-size:13px;font-weight:800}.company-subscriptions-page .subscription-form input,.company-subscriptions-page .subscription-form select,.company-subscriptions-page .subscription-form textarea{width:100%;max-width:none!important;min-height:42px;border:1px solid #cbd5e1;border-radius:7px;padding:10px 12px;background:#fff;color:#0f172a;font:inherit;outline:none}.company-subscriptions-page .subscription-form textarea{min-height:90px!important;resize:vertical}.company-subscriptions-page .form-actions{display:flex;justify-content:flex-end;gap:10px;margin:0!important;padding:16px 20px!important;border-top:1px solid #e5edf5;background:#fbfdff}.company-subscriptions-page .form-actions button,.company-subscriptions-page .subscription-history-table button{border:0;border-radius:7px;min-height:38px;padding:10px 16px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer}.company-subscriptions-page .form-actions button:hover,.company-subscriptions-page .subscription-history-table button:hover{background:#1d4ed8}.subscription-history-table{width:100%;min-width:980px;table-layout:fixed}.subscription-usage-table{width:100%;min-width:900px;table-layout:fixed}.subscription-history-table th,.subscription-history-table td,.subscription-usage-table th,.subscription-usage-table td{vertical-align:top}.subscription-nowrap{white-space:nowrap}.subscription-status{display:inline-flex;align-items:center;justify-content:center;min-width:76px;border-radius:999px;padding:5px 9px;color:#334155;background:#e2e8f0;font-size:12px;font-weight:900;white-space:nowrap}.subscription-status.status-active,.payment-paid,.payment-free{color:#166534;background:#dcfce7}.status-pending,.payment-pending,.payment-manual_approval{color:#92400e;background:#fef3c7}.status-expired,.status-cancelled,.status-suspended,.payment-failed,.payment-cancelled{color:#991b1b;background:#fee2e2}.subscription-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:16px 20px;border-top:1px solid #e5edf5;background:#fbfdff}.subscription-pagination a,.subscription-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 11px;border:1px solid #cbd5e1;border-radius:7px;color:#334155;background:#fff;font-size:13px;font-weight:800;text-decoration:none}.subscription-pagination span{border-color:transparent;background:transparent}.subscription-pagination a:hover,.subscription-pagination a.active{border-color:#2563eb;color:#fff;background:#2563eb}.billing-page{width:min(100%,1440px);min-width:0;margin:0 auto;display:grid;gap:20px;color:#0f172a}.billing-page .page-header{position:relative;overflow:hidden;border:1px solid #e2e8f0;border-radius:22px;padding:26px;color:#0f172a;background:#fff;box-shadow:0 18px 45px #0f172a14}.billing-page .page-header h1{margin:0 0 8px;color:#0f172a!important}.billing-page .page-header p{max-width:680px;margin:0;color:#64748b!important}body.public-subscription-page{min-height:100vh;background:#f4f7fb}.public-subscription-shell{width:min(100% - 32px,1440px);margin:26px auto;display:grid;gap:20px}.public-subscription-topbar{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(230px,auto) minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px 22px;border:1px solid #e2e8f0;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 18px 45px #0f172a14}.public-subscription-topbar:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#2563eb,#14b8a6)}.public-subscription-brand{min-width:0;display:inline-flex;align-items:center;gap:13px;color:#0f172a;text-decoration:none}.public-subscription-logo-frame{display:inline-grid;place-items:center;width:150px;height:58px;min-width:150px;padding:10px 14px;border:1px solid rgba(15,23,42,.12);border-radius:16px;background:#0f172a;box-shadow:0 10px 24px #0f172a14}.public-subscription-logo{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.public-subscription-brand strong{display:block;color:#0f172a;font-size:18px;line-height:1.2}.public-subscription-brand span span{display:block;margin-top:3px;color:#64748b;font-size:13px;font-weight:800;line-height:1.25}.public-subscription-heading{min-width:0;display:grid;gap:6px}.public-subscription-heading .eyebrow{color:#2563eb;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.public-subscription-heading h1{margin:0;color:#0f172a;font-size:30px;font-weight:950;line-height:1.12}.public-subscription-heading p{max-width:720px;margin:0;color:#64748b;font-size:15px;line-height:1.5}.public-subscription-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.public-subscription-logout-form{margin:0}.public-subscription-logout,.public-subscription-continue{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #cbd5e1;border-radius:12px;color:#0f172a;background:#fff;font-weight:900;text-decoration:none;box-shadow:0 8px 22px #0f172a0f}.public-subscription-logout:hover,.public-subscription-continue:hover{border-color:#93c5fd;color:#1d4ed8}.public-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #cbd5e1;border-radius:12px;color:#0f172a;background:#fff;font-weight:900;text-decoration:none;box-shadow:0 8px 22px #0f172a0f}.public-login-link:hover{border-color:#93c5fd;color:#1d4ed8}.public-subscription-content .product-grid .product-card{flex-basis:calc((100% - 32px) / 3)}.billing-filter,.billing-panel,.billing-products{min-width:0;background:rgba(255,255,255,.96);border:1px solid #e2e8f0;border-radius:20px;padding:20px;box-shadow:0 18px 45px #0f172a14}.billing-filter label{display:grid;gap:8px;max-width:380px;color:#334155;font-weight:800}.billing-filter select{border:1px solid #cbd5e1;border-radius:12px;padding:11px 13px;color:#0f172a;background:#fff}.billing-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:6px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.billing-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:13px;color:#475569;text-decoration:none;font-weight:900;background:transparent}.billing-tabs a.active{color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);box-shadow:0 12px 24px #2563eb3d}.billing-payment-notice{padding:14px 16px;border:1px solid #bfdbfe;border-radius:16px;color:#1e3a8a;background:#eff6ff;font-weight:800}.billing-payment-notice.is-success{border-color:#bbf7d0;color:#166534;background:#f0fdf4}.billing-payment-notice.is-warning{border-color:#fde68a;color:#92400e;background:#fffbeb}.billing-payment-notice.is-error{border-color:#fecdd3;color:#991b1b;background:#fff1f2}.billing-section-heading{display:grid;gap:6px;margin-bottom:18px}.billing-section-heading span{color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.billing-section-heading h2{margin:0;color:#0f172a;font-size:24px;line-height:1.2}.billing-section-heading p{max-width:760px;margin:0;color:#64748b}.billing-current-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}.current-package{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(180px,1fr)) auto;gap:14px;align-items:stretch}.current-package>div,.empty-subscription{min-width:0;border:1px solid #e2e8f0;border-radius:16px;padding:16px;background:#fff}.current-package strong,.current-package span,.empty-subscription strong,.empty-subscription span{display:block}.current-package>div:first-child strong{font-size:20px}.current-package span,.empty-subscription span{margin-top:5px;color:#64748b}.current-package-meta strong{margin-top:5px;font-size:15px}.current-package a,.primary-link{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;min-height:52px;border-radius:15px;padding:12px 16px;color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);text-decoration:none;font-weight:900;box-shadow:0 14px 28px #2563eb38}.empty-subscription{margin-bottom:14px}.product-carousel{position:relative;min-width:0;padding:0 56px}.product-carousel-controls{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.billing-page .product-scroll-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;padding:0!important;border:1px solid rgba(219,234,254,.9)!important;border-radius:999px!important;color:#1d4ed8!important;background:rgba(255,255,255,.94)!important;font-size:34px!important;font-weight:900!important;box-shadow:0 18px 42px #0f172a2e!important;pointer-events:auto}.billing-page .product-scroll-btn:disabled{opacity:.38;cursor:not-allowed;box-shadow:none!important}.product-grid{min-width:0;display:flex;gap:16px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:2px 2px 14px}.product-grid::-webkit-scrollbar{display:none}.product-card{position:relative;min-width:0;overflow:hidden;display:flex;flex:0 0 calc((100% - 16px)/2);flex-direction:column;scroll-snap-align:start;padding:20px;border:1px solid #e2e8f0;border-radius:22px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 18px 40px #0f172a14}.product-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#2563eb,#14b8a6)}.product-card.is-current{border-color:#2563eb8c;box-shadow:0 20px 48px #2563eb29}.product-card.is-downgrade{background:linear-gradient(180deg,#ffffff 0%,#f1f5f9 100%)}.product-card-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.product-card h3{margin:10px 0 0;color:#0f172a;font-size:21px}.product-badge{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;padding:5px 10px;color:#1d4ed8;background:#dbeafe;font-size:12px;font-weight:900}.product-card.is-current .product-badge{color:#047857;background:#d1fae5}.product-card.is-downgrade .product-badge{color:#475569;background:#e2e8f0}.price{text-align:right;white-space:nowrap;color:#0f172a;font-size:28px;font-weight:950;line-height:1}.price span{display:block;margin-bottom:4px;color:#64748b;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.price-with-discount{display:grid;gap:4px}.price-with-discount del{display:block;color:#94a3b8;font-size:13px}.public-offer-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}.public-offer-strip strong,.public-offer-strip span{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.public-offer-strip strong{background:#ffedd5;color:#9a3412}.public-offer-strip span{background:#ccfbf1;color:#0f766e}.product-duration,.product-description{margin:12px 0 16px;color:#64748b;font-weight:700}.product-feature-list{flex:1;display:grid;grid-template-columns:1fr auto;gap:10px 14px;margin:0;padding-top:16px;border-top:1px solid #e2e8f0}.product-feature-list dt{color:#64748b}.product-feature-list dd{margin:0;color:#0f172a;font-weight:900}.feature-availability{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:900}.feature-availability.yes{color:#047857;background:#d1fae5}.feature-availability.no{color:#991b1b;background:#fee2e2}.product-card-action{margin-top:18px}.product-card-action a,.product-card-action button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:0;border-radius:14px;padding:10px 14px;color:#fff;background:linear-gradient(135deg,#2563eb,#0f766e);font:inherit;font-weight:900;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 13px 26px #2563eb38}.product-card-action button:disabled{color:#64748b;background:#e2e8f0;box-shadow:none;cursor:not-allowed}.enterprise-logo-panel{display:flex;align-items:center;justify-content:center;min-height:68px;margin-bottom:16px;padding:14px 18px;border-radius:16px;background:#0f172a;border:1px solid rgba(15,23,42,.16)}.enterprise-logo-panel img{display:block;width:min(190px,100%);max-height:42px;object-fit:contain}.enterprise-contact-list{display:grid;gap:12px;margin-top:18px;padding:14px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc}.enterprise-contact-list div{display:grid;gap:5px}.enterprise-contact-list span{color:#64748b;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.enterprise-contact-list strong{color:#0f172a;font-size:14px;line-height:1.35}.subscription-upgrade-note{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px;padding:16px 18px;border:1px solid #bfdbfe;border-radius:18px;color:#1e3a8a;background:linear-gradient(135deg,#eff6ff,#ecfeff)}.usage-grid{min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:16px}.usage-card{padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.usage-card strong,.usage-card span{display:block}.usage-card span{margin-top:6px;color:#334155}.meter{height:9px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:12px}.meter i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#14b8a6)}.billing-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.billing-history-head h2{margin:0}.billing-history-head span{color:#64748b;font-weight:800}.billing-table-wrap{width:100%;min-width:0;overflow-x:auto}.billing-history-table{width:100%;min-width:760px}.billing-payment-table{min-width:1080px}.billing-history-table th,.billing-history-table td{vertical-align:top}.billing-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.billing-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:8px 12px;border:1px solid #dbe3ee;border-radius:10px;color:#334155;background:#fff;text-decoration:none;font-weight:800}.billing-pagination a:hover,.billing-pagination a.active{color:#fff;border-color:#2563eb;background:#2563eb}.billing-nowrap{white-space:nowrap}.billing-long-text{min-width:180px;max-width:360px;overflow-wrap:anywhere;word-break:break-word}.billing-retry-button{min-height:34px;border:0;border-radius:10px;padding:7px 12px;color:#fff;background:#2563eb;font:inherit;font-size:13px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px #2563eb2e}.billing-muted-action{color:#94a3b8;font-weight:900}.wallet-page{--wallet-primary: #5b4df7;--wallet-primary-strong: #3d52f5;--wallet-border: #dce4ff;--wallet-text: #162033;--wallet-muted: #64748b;width:min(100%,1440px);margin:0 auto;display:grid;gap:22px;color:var(--wallet-text)}.wallet-header,.wallet-card,.wallet-notice{border:1px solid var(--wallet-border);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 24px 55px #3148831a}.wallet-header{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:28px;background:radial-gradient(circle at top right,rgba(109,94,252,.18),transparent 36%),linear-gradient(180deg,#ffffff 0%,#f8faff 100%)}.wallet-eyebrow{display:inline-flex;margin-bottom:12px;padding:6px 12px;border-radius:999px;color:var(--wallet-primary);background:rgba(91,77,247,.1);font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.wallet-header h1{margin:0 0 8px;font-size:clamp(28px,4vw,40px);line-height:1.05;color:var(--wallet-text)!important}.wallet-header p{max-width:700px;margin:0;color:var(--wallet-muted)!important;font-size:15px}.wallet-filter{min-width:min(100%,280px);display:grid;gap:8px;padding:16px;border:1px solid var(--wallet-border);border-radius:18px;background:rgba(244,247,255,.9)}.wallet-filter label,.wallet-field label,.wallet-field-label{color:#42526b;font-size:13px;font-weight:800}.wallet-filter select{min-height:48px;border:1px solid #c8d4ff;border-radius:14px;padding:0 14px;color:var(--wallet-text);background:#fff}.wallet-notice{padding:16px 18px;color:#2449a4;background:#eef4ff;font-weight:800}.wallet-notice.is-success{color:#166534;background:#effcf4;border-color:#bbf7d0}.wallet-notice.is-warning{color:#9a6700;background:#fff8e6;border-color:#fde68a}.wallet-notice.is-error{color:#b42318;background:#fff1f3;border-color:#fecdd3}.wallet-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:22px;align-items:start}.wallet-main-column{display:grid;gap:22px;min-width:0}.wallet-card{padding:24px}.wallet-history-card,.wallet-package-catalog{min-width:0}.wallet-balance-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:18px;align-items:center;background:radial-gradient(circle at top right,rgba(138,129,255,.35),transparent 34%),linear-gradient(135deg,#31296f 0%,#4e4ae4 55%,#6f7dff 100%);color:#fff;border-color:transparent}.wallet-card-label{display:inline-flex;margin-bottom:12px;color:#ffffffc2;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.wallet-balance-card strong{display:block;margin-bottom:10px;font-size:clamp(32px,5vw,42px);line-height:1}.wallet-balance-card p{max-width:460px;margin:0;color:#fffc}.wallet-balance-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.wallet-balance-meta span,.wallet-status-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:13px;font-weight:800}.wallet-balance-meta strong{display:inline;margin:0 0 0 6px;font-size:13px}.wallet-balance-graphic{position:relative;display:grid;place-items:center;min-height:160px}.wallet-balance-orbit{position:absolute;inset:18px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.05));transform:rotate(-10deg)}.wallet-balance-icon{position:relative;z-index:1;display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:rgba(255,255,255,.14);backdrop-filter:blur(10px);box-shadow:inset 0 1px #ffffff3d}.wallet-balance-icon svg{width:44px;height:44px;fill:#fff}.wallet-section-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:18px}.wallet-section-head h2{margin:0 0 6px;font-size:24px;color:var(--wallet-text)}.wallet-section-head p,.wallet-method-card p,.wallet-admin-actions p,.wallet-empty-inline span{margin:0;color:var(--wallet-muted)}.wallet-form-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end}.wallet-field{display:grid;gap:10px;margin-bottom:18px}.wallet-field-help{color:var(--wallet-muted);font-size:12px;font-weight:700}.wallet-field-help.is-error{color:#b42318}.wallet-amount-input{display:flex;align-items:center;min-height:56px;border:1px solid #cdd7ff;border-radius:18px;background:#f8faff;overflow:hidden}.wallet-amount-input span{display:inline-flex;align-items:center;justify-content:center;min-width:72px;align-self:stretch;border-right:1px solid #d9e2ff;color:var(--wallet-primary);background:#eef2ff;font-weight:900}.wallet-amount-input input{width:100%;border:0;padding:0 16px;color:var(--wallet-text);background:transparent;font:inherit;font-size:16px;font-weight:800}.wallet-method-card{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #d7defd;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8faff 100%)}.wallet-method-badge{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#283593,#5b4df7);font-size:14px;font-weight:900;letter-spacing:.08em}.wallet-method-card strong{display:block;margin-bottom:4px;font-size:16px}.wallet-primary-btn,.wallet-secondary-btn,.wallet-package-buy,.wallet-package-select{display:inline-flex;align-items:center;justify-content:center;min-height:54px;border:0;border-radius:18px;padding:0 18px;text-decoration:none;font:inherit;font-weight:900;cursor:pointer}.wallet-primary-btn,.wallet-package-buy{color:#fff;background:linear-gradient(135deg,var(--wallet-primary),var(--wallet-primary-strong));box-shadow:0 18px 30px #5b4df742}.wallet-primary-btn{width:100%}.wallet-secondary-btn{color:var(--wallet-primary);background:#eef2ff}.wallet-validity-note{display:grid;gap:6px;margin-top:18px;padding:16px 18px;border:1px solid #c8d4ff;border-radius:18px;color:#274690;background:linear-gradient(135deg,#eef2ff,#f5f8ff)}.wallet-validity-note span{color:#52637f}.wallet-coupon-field{display:grid;gap:8px;margin-top:14px;padding:12px;border:1px solid #99f6e4;border-radius:14px;background:#f0fdfa}.wallet-coupon-field label{color:#0f766e;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.wallet-coupon-field div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.wallet-coupon-field input{min-width:0;min-height:42px;border:1px solid #5eead4;border-radius:10px;padding:0 12px;color:#0f172a;background:#fff;font:inherit;font-weight:800;text-transform:uppercase}.wallet-coupon-field span{display:inline-flex;align-items:center;min-height:42px;border-radius:10px;padding:0 10px;color:#0f766e;background:#ccfbf1;font-size:12px;font-weight:900;white-space:nowrap}.wallet-offer-strip{margin-top:12px}.wallet-package-list{display:grid;gap:14px}.wallet-package-card{padding:18px;border:1px solid #d7defd;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f8faff 100%)}.wallet-package-select{width:100%;justify-content:flex-start;align-items:flex-start;flex-direction:column;gap:4px;padding:0;color:inherit;background:transparent;min-height:0}.wallet-package-title{color:#485569;font-size:13px;font-weight:800}.wallet-package-select strong{font-size:20px}.wallet-package-select small{color:var(--wallet-muted)}.wallet-package-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:16px 0 0}.wallet-package-meta div{display:grid;gap:4px}.wallet-package-meta dt{color:var(--wallet-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.wallet-package-meta dd{margin:0;color:var(--wallet-text);font-weight:900}.wallet-package-actions{margin-top:18px}.wallet-package-buy{width:100%}.wallet-package-buy.is-disabled{color:#64748b;background:#e2e8f0;box-shadow:none;cursor:not-allowed}.wallet-admin-actions,.wallet-empty-inline,.wallet-empty-state{display:grid;gap:10px;padding:22px;border:1px dashed #d6defc;border-radius:20px;background:linear-gradient(180deg,#fbfcff 0%,#f5f8ff 100%)}.wallet-history-tabs{display:inline-flex;gap:8px;padding:6px;border:1px solid #dbe2ff;border-radius:18px;background:#f7f9ff}.wallet-history-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:14px;color:#55657d;text-decoration:none;font-weight:800}.wallet-history-tabs a.active{color:#fff;background:linear-gradient(135deg,var(--wallet-primary),var(--wallet-primary-strong));box-shadow:0 14px 26px #5b4df738}.wallet-table-wrap{overflow-x:auto}.wallet-table{width:100%;min-width:820px;border-collapse:separate;border-spacing:0}.wallet-coupon-pill{min-width:96px}.wallet-table thead th{padding:14px 16px;border-bottom:1px solid #d9e1ff;color:#52637f;background:#f8faff;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;text-align:left}.wallet-table tbody td{padding:16px;border-bottom:1px solid #edf1ff;color:var(--wallet-text);vertical-align:top}.wallet-status-badge{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:900;text-transform:capitalize}.wallet-status-badge.state-success,.wallet-status-badge.state-completed,.wallet-status-badge.state-paid{color:#166534;background:#dcfce7}.wallet-status-badge.state-pending{color:#9a6700;background:#fef3c7}.wallet-status-badge.state-failed,.wallet-status-badge.state-cancelled{color:#b42318;background:#fee2e2}.wallet-empty-state{justify-items:center;text-align:center;padding:34px 24px}.wallet-empty-state.compact{padding:28px 22px}.wallet-empty-state h3{margin:0;font-size:22px}.wallet-empty-state p{max-width:320px;margin:0;color:var(--wallet-muted)}.wallet-empty-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;color:var(--wallet-primary);background:#eef2ff}.wallet-empty-icon svg{width:34px;height:34px;fill:currentColor}.wallet-pagination{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.wallet-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 14px;border:1px solid #d7defd;border-radius:12px;color:#51617c;background:#fff;text-decoration:none;font-weight:800}.wallet-pagination a.active,.wallet-pagination a:hover{color:#fff;background:linear-gradient(135deg,var(--wallet-primary),var(--wallet-primary-strong));border-color:transparent}.wallet-package-catalog .product-carousel{padding:0 56px}.wallet-package-catalog .product-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 2px 14px;gap:16px}.wallet-package-catalog .product-grid::-webkit-scrollbar{display:none}.wallet-package-catalog .product-card{flex:0 0 360px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;scroll-snap-align:start}.wallet-package-catalog .product-card.is-selected{border-color:#5b4df794;box-shadow:0 22px 48px #5b4df729}.wallet-package-catalog .product-card:hover{transform:translateY(-2px)}@media (max-width: 760px){.public-subscription-shell{width:min(100% - 24px,1440px);margin:16px auto}.public-subscription-topbar{grid-template-columns:1fr;align-items:flex-start;gap:16px;padding:18px;border-radius:18px}.public-subscription-actions{flex-wrap:wrap;width:100%;justify-content:stretch}.public-login-link{width:100%}.public-subscription-heading h1{font-size:26px}.public-subscription-content .product-carousel{padding:0}.public-subscription-content .product-carousel-controls{position:static;justify-content:flex-end;margin-bottom:12px;pointer-events:auto}.public-subscription-content .product-scroll-btn{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;font-size:28px!important}.public-subscription-content .product-grid .product-card{flex-basis:100%}.menu-management-page{width:100%!important;max-width:100%!important;overflow:hidden!important}.menu-management-page .page-header{display:block!important}.menu-management-page .page-header p{text-align:left}.menu-management-page .admin-config-form,.menu-management-page .admin-list-panel{width:100%!important;max-width:100%!important;overflow:hidden!important}.menu-management-page .menu-config-form,.menu-management-page .admin-list-header{grid-template-columns:1fr!important}.menu-management-page .menu-config-form input,.menu-management-page .menu-config-form select,.menu-management-page .menu-config-form button,.menu-management-page .admin-search-bar input,.menu-management-page .admin-search-bar button{width:100%!important;max-width:100%!important}.menu-management-page .admin-table-wrap{max-width:100%!important;overflow-x:auto!important}.menu-management-page .admin-data-table{min-width:760px}.user-status-page{width:100%;max-width:100%;overflow:hidden}.user-status-header{align-items:flex-start;flex-direction:column}.user-status-table{min-width:920px}.system-information-page .resources{width:100%;max-width:100%}.subscription-hero,.subscription-section{grid-template-columns:1fr}.subscription-hero{flex-direction:column}.subscription-hero-stats{grid-template-columns:1fr;min-width:0}.subscription-page .form-grid-primary,.subscription-page .check-grid,.subscription-page .permission-grid,.subscription-page .channel-grid,.subscription-page .limit-grid,.subscription-page .form-grid,.subscription-offer-grid,.subscription-page .subscription-offer-fields,.subscription-page .coupon-code-row{grid-template-columns:1fr}.subscription-page .coupon-code-row .btn-danger,.subscription-page .add-coupon-button{width:100%}.subscription-hero,.subscription-section,.subscription-form-head,.subscription-page .form-actions{padding:16px}.subscription-form-head{align-items:stretch}.subscription-form-head .button-secondary,.subscription-page .form-actions button{width:100%}form.settings-form.subscription-form>.form-actions{position:static;padding:14px 16px!important}.company-subscriptions-page .page-header,.subscription-panel-head,.company-subscriptions-page .form-grid{padding:16px}.company-subscriptions-page .form-grid{grid-template-columns:1fr}.company-subscriptions-page .form-actions{padding:14px 16px!important}.company-subscriptions-page .form-actions button{width:100%}.company-subscriptions-page .subscription-history-table{min-width:760px}.company-subscriptions-page .subscription-usage-table{min-width:720px}.billing-page .page-header,.billing-filter,.billing-panel,.billing-products,.product-card{padding:16px;border-radius:16px}.billing-tabs{display:grid;grid-template-columns:1fr}.billing-tabs a{justify-content:center;text-align:center}.current-package{grid-template-columns:1fr}.product-carousel{padding:0 42px}.billing-page .product-scroll-btn{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;font-size:28px!important}.product-card{flex-basis:100%}.subscription-upgrade-note,.product-card-top{display:grid}.price{text-align:left}.wallet-layout{grid-template-columns:1fr}.wallet-header,.wallet-card,.wallet-notice{padding:20px;border-radius:20px}.wallet-header{align-items:flex-start;flex-direction:column}.wallet-balance-card,.wallet-form-grid,.wallet-package-meta{grid-template-columns:1fr}.wallet-package-catalog .product-carousel{padding:0}.wallet-package-catalog .product-carousel-controls{inset:auto;position:static;justify-content:flex-end;margin-bottom:12px;pointer-events:auto}.wallet-package-catalog .product-grid{padding-bottom:10px}.wallet-package-catalog .product-card{flex-basis:82vw;min-width:82vw;max-width:82vw}.wallet-history-tabs{display:grid;grid-template-columns:1fr}.wallet-history-tabs a,.wallet-primary-btn,.wallet-secondary-btn,.wallet-package-buy{width:100%}}@media (min-width: 761px) and (max-width: 1100px){.public-subscription-content .product-grid .product-card{flex-basis:calc((100% - 16px)/2)}}@media (max-width: 760px){.recording-page{max-width:none;padding:18px 14px 28px}.recording-page{border-radius:0;border-left:0;border-right:0;box-shadow:none}.recording-filter{padding:18px}.recording-search form{grid-template-columns:1fr}.recording-table-wrap{border:0;overflow:visible}.recording-table{min-width:0}.recording-table thead{display:none}.recording-table,.recording-table tbody,.recording-table tr,.recording-table td{display:block;width:100%}.recording-table tr{margin-bottom:14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 12px 24px #0f172a0d;overflow:hidden}.recording-table td{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;padding:12px 14px;word-break:break-word}.recording-table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.recording-table td.empty-state{display:block}.recording-table td.empty-state:before{content:none}.export-page{max-width:none;padding:18px 14px 28px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.export-form .form-section{padding:18px}.export-form .form-row{grid-template-columns:1fr}.export-form .btn-submit{width:100%}.ai-outgoing-page{max-width:none;width:100%;overflow:visible;padding:18px 14px 28px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.ai-outgoing-page .page-header h1{font-size:22px;line-height:1.2;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}.bulk-call-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;justify-content:flex-start}.bulk-call-tabs a,.bulk-call-tabs button{flex:0 0 auto}.ai-queue-summary{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.ai-bulk-form .form-row{grid-template-columns:1fr}.ai-bulk-form .form-section,.ai-bulk-tab-panel .settings-table-wrap{padding:18px}table.settings-table.ai-bulk-table,.ai-bulk-table{width:100%!important;min-width:0!important;table-layout:fixed}.ai-bulk-table thead{display:none}.ai-bulk-table,.ai-bulk-table tbody,.ai-bulk-table tr,.ai-bulk-table td{display:block;width:100%}.ai-bulk-table tr{margin-bottom:14px;border:1px solid #dbe4f0;border-radius:8px;background:#fff;overflow:visible}.ai-bulk-table td{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;padding:12px;border-bottom:1px solid #e5e7eb;word-break:break-word;overflow:hidden}.ai-bulk-table .ai-batch-counts{min-width:0;display:grid;grid-template-columns:1fr}.ai-bulk-table .ai-status-badge{max-width:100%;white-space:normal;text-align:center}.ai-bulk-table button{width:100%;min-width:0;display:inline-flex;align-items:center;justify-content:center;color:#fff;white-space:normal}.ai-bulk-table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.ai-bulk-table td.empty-state{display:block}.ai-bulk-table td.empty-state:before{content:none}.standard-bulk-page .bulk-campaign-filters .form-row{grid-template-columns:1fr}.crm-page{max-width:none;padding:18px 14px 28px;border-radius:0;border-left:0;border-right:0;box-shadow:none}.crm-page .page-header h1{font-size:22px;line-height:1.2;overflow-wrap:anywhere}.crm-search-form .form-section{padding:18px}.crm-search-form .crm-filter-row,.crm-search-form .crm-date-pair{display:grid!important;grid-template-columns:1fr!important;min-width:0!important}.crm-search-form .crm-action-row{display:block!important;width:100%!important;min-width:0!important}.crm-search-form .crm-action-row .form-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important}.crm-search-form .crm-action-row button,.crm-search-form .crm-action-row .btn{width:100%!important;min-width:0!important}.crm-page .section-header{display:block}.crm-page .table-summary{display:block;margin-top:6px}.crm-table-wrap{border:0;overflow:visible}.crm-table{min-width:0;font-size:14px}.crm-table thead{display:none}.crm-table,.crm-table tbody,.crm-table tr,.crm-table td{display:block;width:100%}.crm-table tr{margin-bottom:14px;border:1px solid #dbe4f0;border-radius:8px;background:#fff;box-shadow:0 12px 24px #0f172a0d;overflow:hidden}.crm-table tr:nth-child(even) td{background:#fff}.crm-table td{display:grid;grid-template-columns:114px minmax(0,1fr);gap:10px;max-width:none;padding:12px 14px;border-bottom:1px solid #e5e7eb;word-break:break-word}.crm-table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase}.crm-table td.empty-state{display:block!important}.crm-table td.empty-state:before{content:none}.crm-audio-cell{min-width:0}.crm-audio-cell audio{width:100%}.user-management-page{width:100%!important;max-width:none!important;overflow:visible!important}.user-management-page .page-header h1{font-size:22px}.user-management-page .page-header p{overflow-wrap:anywhere}.user-management-page .user-panel{padding:14px!important}.user-management-page .user-form-grid{grid-template-columns:1fr!important}.user-management-page .user-toolbar{display:grid!important;grid-template-columns:1fr!important}.user-management-page .user-toolbar .search-bar{max-width:none!important;width:100%!important}.user-management-page .user-toolbar .search-bar form{grid-template-columns:1fr!important}.user-management-page .user-toolbar .search-bar button{width:100%!important;min-height:40px}.user-management-page .user-table-wrap{border:1px solid #dbe4f0;border-radius:8px;overflow-x:auto!important}}:root{--ui-primary: #2563eb;--ui-primary-hover: #1d4ed8;--ui-secondary-bg: #eef2f7;--ui-secondary-hover: #e2e8f0;--ui-danger: #dc2626;--ui-danger-hover: #b91c1c;--ui-success: #16a34a;--ui-success-hover: #15803d;--ui-warning: #d97706;--ui-warning-hover: #b45309;--ui-info: #2563eb;--ui-text: #0f172a;--ui-muted: #64748b;--ui-border: #d9e2ef;--ui-border-strong: #b9c7d8;--ui-field-bg: #ffffff;--ui-field-disabled: #f1f5f9;--ui-focus: 0 0 0 3px rgba(37, 99, 235, .16);--ui-radius: 8px;--ui-control-height: 42px}body.app-shell .content,body.login-page{color:var(--ui-text);font-size:14px;line-height:1.5}body.app-shell .content :where(h1,h2,h3,h4){color:var(--ui-text)!important;letter-spacing:0!important;line-height:1.22!important}body.app-shell .content :where(p,span,small,td,th,label,input,select,textarea,button,a){letter-spacing:0!important}body.app-shell .content :where(label,.form-label){display:inline-flex!important;align-items:center;gap:6px;margin:0 0 7px!important;color:#334155!important;font-size:13px!important;font-weight:750!important;line-height:1.3!important;text-align:left!important}body.app-shell .content :where(.form-text,.text-muted,.help-text,.route-help,.route-empty-hint,.bulk-form-help,.file-upload-desc,.file-upload-help p,.knowledge-file-help,.field-help){color:var(--ui-muted)!important;font-size:12px!important;font-weight:600!important;line-height:1.45!important}body.app-shell .content :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),select,textarea,.form-control,.form-select){width:100%!important;min-height:var(--ui-control-height)!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;padding:9px 12px!important;color:var(--ui-text)!important;background-color:var(--ui-field-bg)!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;outline:none!important;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease!important}body.app-shell .content :where(select,.form-select){padding-right:34px!important}body.app-shell .content :where(textarea,textarea.form-control){min-height:108px!important;resize:vertical!important}body.app-shell .content :where(input::placeholder,textarea::placeholder){color:#94a3b8!important;font-weight:500!important}body.app-shell .content :where(input:focus,select:focus,textarea:focus,.form-control:focus,.form-select:focus){border-color:var(--ui-primary)!important;box-shadow:var(--ui-focus)!important}body.app-shell .content :where(input:disabled,select:disabled,textarea:disabled,input[readonly],textarea[readonly]){color:#64748b!important;background:var(--ui-field-disabled)!important;cursor:not-allowed!important}body.app-shell .content :where(input[type="checkbox"],input[type="radio"]){width:16px!important;height:16px!important;min-width:16px!important;margin:0 8px 0 0!important;accent-color:var(--ui-primary);cursor:pointer}body.app-shell .content :where(input[type="file"]){min-height:var(--ui-control-height)!important;padding:8px 10px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:#fff!important;color:var(--ui-muted)!important}body.app-shell .content :where(.form-group,.field,.control,.filter-group){min-width:0!important}body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.bulk-submit-actions){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important}body.app-shell .content :where(button,.btn,.button,.btn-submit,.doc-button,input[type="submit"],input[type="button"],a.button,.knowledge-action-button,.knowledge-upload-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,.complaint-button,.force-logout-button,.billing-retry-button):not(.history-modal-backdrop):not(.history-modal-close):not(.route-type-card):not(.ivr-mode-card){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;min-width:0!important;padding:8px 14px!important;border:1px solid transparent!important;border-radius:var(--ui-radius)!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important}body.app-shell .content :where(button[type="submit"],input[type="submit"],.btn-primary,.btn-submit,.button-primary,.doc-button,.knowledge-action-button.sync,.primary-action):not(.btn-secondary):not(.btn-danger):not(.button-danger){color:#fff!important;background:var(--ui-primary)!important;border-color:var(--ui-primary)!important}body.app-shell .content :where(button[type="submit"],input[type="submit"],.btn-primary,.btn-submit,.button-primary,.doc-button,.knowledge-action-button.sync,.primary-action):not(.btn-secondary):not(.btn-danger):not(.button-danger):hover{background:var(--ui-primary-hover)!important;border-color:var(--ui-primary-hover)!important;transform:translateY(-1px)}body.app-shell .content :where(button,.btn,.button,.button-secondary,.btn-edit,.btn-submit,.doc-button,input[type="submit"],input[type="button"],a.button,a.button-secondary,.knowledge-action-button,.knowledge-upload-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,.complaint-button,.force-logout-button,.billing-retry-button,.table-action):not(.history-modal-backdrop):not(.history-modal-close):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card){min-height:40px!important;margin:0!important;padding:9px 14px!important;line-height:1.2!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger),.knowledge-download-button,.knowledge-edit-button){color:#334155!important;background:var(--ui-secondary-bg)!important;border-color:var(--ui-border)!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger),.knowledge-download-button,.knowledge-edit-button):hover{color:var(--ui-text)!important;background:var(--ui-secondary-hover)!important;border-color:var(--ui-border-strong)!important}body.app-shell .content :where(.btn-danger,.btn-dangers,.button-danger,.danger-action,.knowledge-delete-button,button[name*="delete"],input[name*="delete"]){color:#fff!important;background:var(--ui-danger)!important;border-color:var(--ui-danger)!important}body.app-shell .content :where(.btn-danger,.btn-dangers,.button-danger,.danger-action,.knowledge-delete-button,button[name*="delete"],input[name*="delete"]):hover{background:var(--ui-danger-hover)!important;border-color:var(--ui-danger-hover)!important}body.app-shell .content :where(.btn-success,.button-success,.success-action){color:#fff!important;background:var(--ui-success)!important;border-color:var(--ui-success)!important}body.app-shell .content :where(.btn-success,.button-success,.success-action):hover{background:var(--ui-success-hover)!important;border-color:var(--ui-success-hover)!important}body.app-shell .content :where(.btn-warning,.button-warning,.warning-action){color:#fff!important;background:var(--ui-warning)!important;border-color:var(--ui-warning)!important}body.app-shell .content :where(.btn-warning,.button-warning,.warning-action):hover{background:var(--ui-warning-hover)!important;border-color:var(--ui-warning-hover)!important}body.app-shell .content :where(button,.btn,.button,input[type="submit"],input[type="button"],a.button):focus-visible{outline:none!important;box-shadow:var(--ui-focus)!important}body.app-shell .content :where(button:disabled,.btn:disabled,.button:disabled,input[type="submit"]:disabled,input[type="button"]:disabled,.is-loading){opacity:.62!important;cursor:not-allowed!important;transform:none!important}body.app-shell .content :where(.file-upload-card,.company-upload-card,.product-upload-tile,.product-upload-preview){border:1px dashed var(--ui-border-strong)!important;border-radius:10px!important;background:#f8fafc!important;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease!important}body.app-shell .content :where(.file-upload-card:hover,.company-upload-card:hover,.product-upload-tile:hover){border-color:var(--ui-primary)!important;background:#eff6ff!important}body.app-shell .content :where(.file-upload-dropzone,.company-upload-dropzone){border-radius:9px!important}body.app-shell .content :where(.status-badge,.status-pill,.ai-status-badge,.subscription-status,.knowledge-sync-badge,.complaint-badge,.incoming-status-pill,.incoming-engine-badge,.destination-badge,.history-control-badge,.ai-queue-pill,.badge,.product-badge){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:24px!important;padding:4px 9px!important;border:1px solid transparent!important;border-radius:999px!important;font-size:12px!important;font-weight:850!important;line-height:1.15!important;text-transform:capitalize!important;white-space:nowrap!important}body.app-shell .content .user-name-cell{display:grid;gap:2px;min-width:0}body.app-shell .content .user-name-cell strong,body.app-shell .content .user-name-cell span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.app-shell .content .user-name-cell strong{color:var(--text);font-size:14px;font-weight:800}body.app-shell .content .user-name-cell span{color:var(--text-muted);font-size:12px}body.app-shell .content :where(.status-active,.status-complete,.status-completed,.status-success,.status-enabled,.status-connected,.ai-status-complete,.sync-state-completed,.complaint-badge-resolved,.complaint-badge-closed,.subscription-status.status-active){color:#166534!important;background:#dcfce7!important;border-color:#bbf7d0!important}body.app-shell .content :where(.status-badge.active,.status-pill.active,.badge.active,.subscription-status.active){color:#166534!important;background:#dcfce7!important;border-color:#bbf7d0!important}body.app-shell .content :where(.status-inactive,.status-disabled,.status-disconnected,.ai-status-inactive,.sync-state-not-synced,.sync-state-checking){color:#475569!important;background:#f1f5f9!important;border-color:#e2e8f0!important}body.app-shell .content :where(.status-badge.inactive,.status-pill.inactive,.badge.inactive,.subscription-status.inactive){color:#475569!important;background:#f1f5f9!important;border-color:#e2e8f0!important}body.app-shell .content :where(.status-pending,.status-processing,.status-running,.status-draft,.ai-status-pending,.sync-state-syncing,.sync-state-processing,.sync-state-running,.sync-state-pending,.complaint-badge-in-progress,.complaint-badge-reopened){color:#92400e!important;background:#fef3c7!important;border-color:#fde68a!important}body.app-shell .content :where(.status-failed,.status-error,.status-expired,.status-cancelled,.status-suspended,.status-rejected,.ai-status-failed,.sync-state-failed,.sync-state-error,.complaint-badge-rejected,.complaint-badge-critical){color:#991b1b!important;background:#fee2e2!important;border-color:#fecaca!important}body.app-shell .content :where(.status-warning,.status-busy,.status-no-answer,.status-congestion,.complaint-badge-high,.complaint-badge-medium){color:#92400e!important;background:#fffbeb!important;border-color:#fde68a!important}body.app-shell .content :where(.status-new,.status-info,.ai-status-processing,.complaint-badge-new,.complaint-badge-in-review,.complaint-badge-assigned){color:#1d4ed8!important;background:#dbeafe!important;border-color:#bfdbfe!important}body.login-page :where(input:not([type="checkbox"]),select,textarea){border-radius:var(--ui-radius)!important;border-color:var(--ui-border)!important;font-weight:600!important}body.login-page :where(input:not([type="checkbox"]):focus,select:focus,textarea:focus){border-color:var(--ui-primary)!important;box-shadow:var(--ui-focus)!important}body.login-page :where(button,.primary-auth-button){border-radius:var(--ui-radius)!important;font-weight:850!important}@media (max-width: 680px){body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.bulk-submit-actions){display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}body.app-shell .content :where(.form-actions button,.form-actions .btn,.form-actions .button,.button-group button,.button-group .btn,.actions button,.table-actions button){width:100%!important;white-space:normal!important}body.app-shell .content :where(.status-badge,.status-pill,.ai-status-badge,.subscription-status,.knowledge-sync-badge,.complaint-badge,.incoming-status-pill,.destination-badge,.ai-queue-pill){white-space:normal!important;text-align:center!important}}@media (min-width: 681px){body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.bulk-submit-actions)>:where(button,.btn,.button,input[type="submit"],input[type="button"],a.button){width:auto!important;max-width:max-content!important;flex:0 0 auto!important}body.app-shell .content :where(.table-actions,.menu-actions,.user-actions,.campaign-actions,.knowledge-doc-actions)>:where(button,.btn,.button,a){width:auto!important;max-width:max-content!important}}:root{--ui-page-max: 1280px;--ui-surface: #ffffff;--ui-surface-soft: #f8fafc;--ui-surface-hover: #f9fbff;--ui-table-head: #f1f5f9;--ui-divider: #e5edf7;--ui-shadow-sm: 0 8px 22px rgba(15, 23, 42, .05);--ui-shadow-md: 0 14px 34px rgba(15, 23, 42, .08);--ui-card-radius: 10px;--ui-section-gap: 18px;--ui-card-padding: 18px;--ui-table-cell-x: 16px;--ui-table-cell-y: 13px}body.app-shell .content :where(.admin-config-page,.ai-settings-page,.carrier-page,.phone-page,.inbound-routes-page,.audio-page,.agent-edit-page,.knowledge-page,.user-management-page,.incoming-page){width:min(100%,var(--ui-page-max))!important;margin-inline:auto!important;display:grid!important;gap:var(--ui-section-gap)!important}body.app-shell .content :where(.page-header,.dashboard-header,.section-header,.dashboard-panel-header,.knowledge-section-heading,.ivr-section-heading){margin:0!important}body.app-shell .content :where(.page-header){display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:18px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;box-shadow:var(--ui-shadow-sm)!important}body.app-shell .content :where(.page-header h1,.page-header h2){margin:0 0 6px!important;font-size:clamp(22px,2vw,28px)!important;font-weight:850!important}body.app-shell .content :where(.page-header p,.section-header p,.dashboard-panel-header p,.knowledge-section-heading p){margin:0!important;color:var(--ui-muted)!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important}body.app-shell .content :where(.settings-list,.form-section,.dashboard-panel,.dashboard-subscription-card,.dashboard-kpi-card,.dashboard-service-card,.dashboard-time-card,.agent-edit-section,.agent-social-card,.agent-dynamic-row,.agent-dynamic-fields,.knowledge-sync-panel,.knowledge-file-panel,.knowledge-doc-card,.knowledge-base-card,.conversation-list-card,.recording-list,.chatbot-orders-list,.incoming-panel,.incoming-demo-wrap,.user-panel,.shimmer-panel){border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:var(--ui-surface)!important;box-shadow:var(--ui-shadow-sm)!important}body.app-shell .content :where(.settings-list,.form-section,.dashboard-panel,.agent-edit-section,.knowledge-sync-panel,.knowledge-file-panel,.recording-list,.chatbot-orders-list,.incoming-panel,.user-panel){padding:var(--ui-card-padding)!important}body.app-shell .content :where(.settings-list,.form-section,.dashboard-panel,.agent-edit-section,.knowledge-sync-panel,.knowledge-file-panel,.recording-list,.chatbot-orders-list,.incoming-panel){display:grid!important;gap:16px!important}body.app-shell .content :where(.section-header,.dashboard-panel-header,.knowledge-section-heading,.ivr-section-heading,.extension-list-toolbar,.carrier-list-tools,.inbound-route-list-tools,.ivr-routes-toolbar,.user-toolbar,.bulk-call-tabs){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}body.app-shell .content :where(.section-header h2,.section-header h3,.dashboard-panel-header h2,.dashboard-panel-header h3,.form-section h2,.form-section h3,.agent-edit-section h3,.knowledge-section-heading h2,.knowledge-section-heading h3){margin:0!important;font-size:18px!important;font-weight:850!important}body.app-shell .content :where(.settings-form,.bulk-campaign-filters,.history-filter,.form-row,.route-grid,.ivr-config-grid,.agent-edit-grid,.knowledge-guided-grid,.user-form-grid,.product-edit-grid){gap:14px!important}body.app-shell .content :where(.settings-table-wrap,.table-responsive,.recording-table-wrap,.conversation-list-card,.phone-page .settings-table-wrap,.inbound-routes-page .settings-table-wrap,.user-management-page .user-table-wrap){width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:var(--ui-surface)!important;box-shadow:none!important}body.app-shell .content :where(.settings-table,.audio-table,.recording-table,.conversation-list-table,.crm-table){width:100%!important;min-width:860px;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important;background:var(--ui-surface)!important}body.app-shell .content :where(.settings-table thead th,.audio-table thead th,.recording-table thead th,.conversation-list-table thead th,.crm-table thead th){position:relative;padding:12px var(--ui-table-cell-x)!important;border:0!important;border-bottom:1px solid var(--ui-border)!important;background:var(--ui-table-head)!important;color:#475569!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;text-align:left!important;text-transform:uppercase!important;white-space:nowrap!important}body.app-shell .content :where(.settings-table tbody td,.audio-table tbody td,.recording-table tbody td,.conversation-list-table tbody td,.crm-table tbody td){min-height:48px;padding:var(--ui-table-cell-y) var(--ui-table-cell-x)!important;border:0!important;border-bottom:1px solid var(--ui-divider)!important;color:#1e293b!important;font-size:13px!important;font-weight:600!important;line-height:1.45!important;vertical-align:middle!important;background:var(--ui-surface)!important}body.app-shell .content :where(.settings-table tbody tr:last-child td,.audio-table tbody tr:last-child td,.recording-table tbody tr:last-child td,.conversation-list-table tbody tr:last-child td,.crm-table tbody tr:last-child td){border-bottom:0!important}body.app-shell .content :where(.settings-table tbody tr,.audio-table tbody tr,.recording-table tbody tr,.conversation-list-table tbody tr,.crm-table tbody tr){transition:background-color .16s ease,box-shadow .16s ease!important}body.app-shell .content :where(.settings-table tbody tr:hover td,.audio-table tbody tr:hover td,.recording-table tbody tr:hover td,.conversation-list-table tbody tr:hover td,.crm-table tbody tr:hover td){background:var(--ui-surface-hover)!important}body.app-shell .content :where(.settings-table td:first-child,.audio-table td:first-child,.recording-table td:first-child,.conversation-list-table td:first-child,.crm-table td:first-child){font-weight:750!important}body.app-shell .content :where(.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}body.app-shell .content :where(.empty-state,.empty-state-modern,.history-empty,.knowledge-empty-note,.knowledge-empty-detail,.ai-conversation-empty,.incoming-empty){width:100%!important;margin:0!important;padding:28px 18px!important;border:1px dashed var(--ui-border-strong)!important;border-radius:var(--ui-card-radius)!important;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;color:var(--ui-muted)!important;font-size:14px!important;font-weight:700!important;line-height:1.5!important;text-align:center!important;box-shadow:none!important}body.app-shell .content :where(td.empty-state){display:table-cell!important;border:0!important}body.app-shell .content :where(.pagination,ul.pagination){display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex-wrap:wrap!important;list-style:none!important;margin:2px 0 0!important;padding:0!important}body.app-shell .content :where(.pagination li){margin:0!important;padding:0!important;list-style:none!important}body.app-shell .content :where(.pagination a,.pagination button){min-width:36px!important;min-height:36px!important;padding:8px 11px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:#fff!important;color:#334155!important;font-size:13px!important;font-weight:850!important;line-height:1.1!important;text-decoration:none!important}body.app-shell .content :where(.pagination a:hover,.pagination button:hover){border-color:var(--ui-border-strong)!important;background:#f8fafc!important}body.app-shell .content :where(.pagination a.active,.pagination button.active,.pagination .active > a,.pagination .active > button){border-color:var(--ui-primary)!important;background:var(--ui-primary)!important;color:#fff!important}body.app-shell .content :where(.knowledge-base-list,.knowledge-doc-list,.ivr-route-list,.dashboard-metric-list,.phone-page .settings-list,.agent-dynamic-list,.ai-conversation-thread,.extension-card-grid){gap:12px!important}body.app-shell .content :where(.knowledge-base-card,.knowledge-doc-card,.agent-social-card,.agent-dynamic-row,.extension-preview-card,.route-destination-panel,.ai-message,.dashboard-service-card,.dashboard-time-card){padding:14px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#fff!important;box-shadow:none!important}body.app-shell .content :where(.knowledge-base-card:hover,.knowledge-doc-card:hover,.agent-social-card:hover,.agent-dynamic-row:hover,.dashboard-service-card:hover,.dashboard-time-card:hover){border-color:var(--ui-border-strong)!important;background:var(--ui-surface-hover)!important}body.app-shell .content :where(.knowledge-base-card.active,.agent-social-card.is-connected,.route-type-card.is-active,.ivr-mode-card.is-active){border-color:#2563eb6b!important;background:#eff6ff!important;box-shadow:0 0 0 3px #2563eb1a!important}body.app-shell .content :where(.bulk-call-tabs){padding:6px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#f8fafc!important;justify-content:flex-start!important}body.app-shell .content :where(.bulk-call-tabs a,.bulk-call-tabs button){min-height:38px!important;border-radius:8px!important;flex:0 0 auto!important}body.app-shell .content :where(.bulk-call-tabs){justify-content:flex-start!important}@media (max-width: 760px){:root{--ui-card-padding: 14px;--ui-section-gap: 14px;--ui-table-cell-x: 13px;--ui-table-cell-y: 11px}body.app-shell .content :where(.page-header){display:grid!important;grid-template-columns:1fr!important;padding:14px!important}body.app-shell .content :where(.page-header h1,.page-header h2){font-size:22px!important}body.app-shell .content .ai-outgoing-page .page-header,body.app-shell .content .inbound-routes-page .page-header{display:grid!important;grid-template-columns:1fr!important;padding:14px!important;margin-bottom:0!important}body.app-shell .content .ai-outgoing-page .page-header p,body.app-shell .content .inbound-routes-page .page-header p{max-width:100%!important}body.app-shell .content :where(.section-header,.dashboard-panel-header,.knowledge-section-heading,.ivr-section-heading,.extension-list-toolbar,.carrier-list-tools,.inbound-route-list-tools,.ivr-routes-toolbar,.user-toolbar){align-items:stretch!important}body.app-shell .content :where(.settings-table,.audio-table,.recording-table,.conversation-list-table,.crm-table){min-width:0!important}body.app-shell .content :where(.settings-table thead,.audio-table thead,.recording-table thead,.conversation-list-table thead,.crm-table thead){display:none!important}body.app-shell .content :where(.settings-table,.settings-table tbody,.settings-table tr,.settings-table td,.audio-table,.audio-table tbody,.audio-table tr,.audio-table td,.recording-table,.recording-table tbody,.recording-table tr,.recording-table td,.conversation-list-table,.conversation-list-table tbody,.conversation-list-table tr,.conversation-list-table td,.crm-table,.crm-table tbody,.crm-table tr,.crm-table td){display:block!important;width:100%!important}body.app-shell .content :where(.settings-table tbody,.audio-table tbody,.recording-table tbody,.conversation-list-table tbody,.crm-table tbody){display:grid!important;gap:12px!important}body.app-shell .content :where(.settings-table tr,.audio-table tr,.recording-table tr,.conversation-list-table tr,.crm-table tr){overflow:hidden!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#fff!important;box-shadow:var(--ui-shadow-sm)!important}body.app-shell .content :where(.settings-table td,.audio-table td,.recording-table td,.conversation-list-table td,.crm-table td){display:grid!important;grid-template-columns:minmax(108px,38%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;min-height:0!important;padding:11px 13px!important;border-bottom:1px solid var(--ui-divider)!important;background:#fff!important;word-break:break-word!important}body.app-shell .content :where(.settings-table td::before,.audio-table td::before,.recording-table td::before,.conversation-list-table td::before,.crm-table td::before){content:attr(data-label);color:var(--ui-muted)!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;text-transform:uppercase!important}body.app-shell .content :where(.settings-table td:last-child,.audio-table td:last-child,.recording-table td:last-child,.conversation-list-table td:last-child,.crm-table td:last-child){border-bottom:0!important}body.app-shell .content :where(td.empty-state){display:block!important;grid-template-columns:1fr!important}body.app-shell .content :where(td.empty-state::before){content:none!important}body.app-shell .content :where(.pagination,ul.pagination){justify-content:center!important}}body.app-shell .content .settings-table-wrap,body.app-shell .content .table-responsive,body.app-shell .content .recording-table-wrap,body.app-shell .content .conversation-list-card,body.app-shell .content .user-table-wrap,body.app-shell .content .audio-table-wrap,body.app-shell .content .ivr-config-table-wrap,body.app-shell .content .admin-table-wrap,body.app-shell .content .company-table-wrap,body.app-shell .content .complaint-table-wrap,body.app-shell .content .user-status-table-wrap,body.app-shell .content .billing-table-wrap,body.app-shell .content .subscription-table-wrap{width:100%!important;margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;border-width:1px!important;border-style:solid!important;border-color:var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:var(--ui-surface)!important;box-shadow:none!important}body.app-shell .content table.settings-table,body.app-shell .content table.audio-table,body.app-shell .content table.recording-table,body.app-shell .content table.conversation-list-table,body.app-shell .content table.crm-table,body.app-shell .content table.company-table,body.app-shell .content table.user-table,body.app-shell .content table.admin-data-table,body.app-shell .content table.complaint-table,body.app-shell .content table.user-status-table,body.app-shell .content table.billing-history-table{width:100%!important;margin:0!important;border:0!important;border-radius:0!important;border-collapse:separate!important;border-spacing:0!important;background:var(--ui-surface)!important}body.app-shell .content table.settings-table th,body.app-shell .content table.audio-table th,body.app-shell .content table.recording-table th,body.app-shell .content table.conversation-list-table th,body.app-shell .content table.crm-table th,body.app-shell .content table.company-table th,body.app-shell .content table.user-table th,body.app-shell .content table.admin-data-table th,body.app-shell .content table.complaint-table th,body.app-shell .content table.user-status-table th,body.app-shell .content table.billing-history-table th{padding:12px var(--ui-table-cell-x)!important;border:0!important;border-bottom:1px solid var(--ui-border)!important;background:var(--ui-table-head)!important;color:#475569!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;text-align:left!important;text-transform:uppercase!important;white-space:nowrap!important}body.app-shell .content table.settings-table td,body.app-shell .content table.audio-table td,body.app-shell .content table.recording-table td,body.app-shell .content table.conversation-list-table td,body.app-shell .content table.crm-table td,body.app-shell .content table.company-table td,body.app-shell .content table.user-table td,body.app-shell .content table.admin-data-table td,body.app-shell .content table.complaint-table td,body.app-shell .content table.user-status-table td,body.app-shell .content table.billing-history-table td{padding:var(--ui-table-cell-y) var(--ui-table-cell-x)!important;border:0!important;border-bottom:1px solid var(--ui-divider)!important;background:var(--ui-surface)!important;color:#1e293b!important;font-size:13px!important;font-weight:600!important;line-height:1.45!important;vertical-align:middle!important}body.app-shell .content table.settings-table tbody tr:last-child td,body.app-shell .content table.audio-table tbody tr:last-child td,body.app-shell .content table.recording-table tbody tr:last-child td,body.app-shell .content table.conversation-list-table tbody tr:last-child td,body.app-shell .content table.crm-table tbody tr:last-child td,body.app-shell .content table.company-table tbody tr:last-child td,body.app-shell .content table.user-table tbody tr:last-child td,body.app-shell .content table.admin-data-table tbody tr:last-child td,body.app-shell .content table.complaint-table tbody tr:last-child td,body.app-shell .content table.user-status-table tbody tr:last-child td,body.app-shell .content table.billing-history-table tbody tr:last-child td{border-bottom:0!important}body.app-shell .content table.settings-table tbody tr:hover td,body.app-shell .content table.audio-table tbody tr:hover td,body.app-shell .content table.recording-table tbody tr:hover td,body.app-shell .content table.conversation-list-table tbody tr:hover td,body.app-shell .content table.crm-table tbody tr:hover td,body.app-shell .content table.company-table tbody tr:hover td,body.app-shell .content table.user-table tbody tr:hover td,body.app-shell .content table.admin-data-table tbody tr:hover td,body.app-shell .content table.complaint-table tbody tr:hover td,body.app-shell .content table.user-status-table tbody tr:hover td,body.app-shell .content table.billing-history-table tbody tr:hover td{background:var(--ui-surface-hover)!important}body.app-shell .content button.knowledge-base-card{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;align-items:center!important;justify-content:stretch!important;gap:12px!important;width:100%!important;min-height:58px!important;padding:14px!important;border-width:1px!important;border-style:solid!important;border-color:var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#fff!important;color:var(--ui-text)!important;box-shadow:none!important;text-align:left!important;white-space:normal!important}body.app-shell .content button.knowledge-base-card:hover{border-color:var(--ui-border-strong)!important;background:var(--ui-surface-hover)!important}body.app-shell .content button.knowledge-base-card.active{border-color:#2563eb6b!important;background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%)!important;color:var(--ui-text)!important;box-shadow:inset 4px 0 #2563eb,0 8px 20px #2563eb1f!important}.company-page .company-file-preview{display:grid;gap:8px;margin-top:8px;padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.company-page .company-file-preview span{color:#64748b;font-size:12px;font-weight:800}.company-page .company-file-preview img{width:120px;height:82px;object-fit:contain;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:6px}.company-page .company-file-preview a{color:#1d4ed8;font-size:13px;font-weight:800;text-decoration:none}@media (max-width: 760px){body.app-shell .content .settings-table-wrap,body.app-shell .content .table-responsive,body.app-shell .content .recording-table-wrap,body.app-shell .content .conversation-list-card,body.app-shell .content .user-table-wrap,body.app-shell .content .audio-table-wrap,body.app-shell .content .ivr-config-table-wrap,body.app-shell .content .admin-table-wrap,body.app-shell .content .company-table-wrap,body.app-shell .content .complaint-table-wrap,body.app-shell .content .user-status-table-wrap,body.app-shell .content .billing-table-wrap,body.app-shell .content .subscription-table-wrap{overflow:visible!important;border:0!important;background:transparent!important}body.app-shell .content table.settings-table,body.app-shell .content table.audio-table,body.app-shell .content table.recording-table,body.app-shell .content table.conversation-list-table,body.app-shell .content table.crm-table,body.app-shell .content table.company-table,body.app-shell .content table.user-table,body.app-shell .content table.admin-data-table,body.app-shell .content table.complaint-table,body.app-shell .content table.user-status-table,body.app-shell .content table.billing-history-table{display:block!important;width:100%!important;min-width:0!important;background:transparent!important}body.app-shell .content table.company-table thead,body.app-shell .content table.user-table thead,body.app-shell .content table.admin-data-table thead,body.app-shell .content table.complaint-table thead,body.app-shell .content table.user-status-table thead,body.app-shell .content table.billing-history-table thead{display:none!important}body.app-shell .content table.company-table tbody,body.app-shell .content table.user-table tbody,body.app-shell .content table.admin-data-table tbody,body.app-shell .content table.complaint-table tbody,body.app-shell .content table.user-status-table tbody,body.app-shell .content table.billing-history-table tbody{display:grid!important;gap:12px!important}body.app-shell .content table.company-table tr,body.app-shell .content table.user-table tr,body.app-shell .content table.admin-data-table tr,body.app-shell .content table.complaint-table tr,body.app-shell .content table.user-status-table tr,body.app-shell .content table.billing-history-table tr{display:block!important;overflow:hidden!important;width:100%!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:#fff!important;box-shadow:var(--ui-shadow-sm)!important}body.app-shell .content table.company-table td,body.app-shell .content table.user-table td,body.app-shell .content table.admin-data-table td,body.app-shell .content table.complaint-table td,body.app-shell .content table.user-status-table td,body.app-shell .content table.billing-history-table td{display:grid!important;grid-template-columns:minmax(108px,38%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%!important;padding:11px 13px!important;border-bottom:1px solid var(--ui-divider)!important;background:#fff!important;word-break:break-word!important}body.app-shell .content table.company-table td:before,body.app-shell .content table.user-table td:before,body.app-shell .content table.admin-data-table td:before,body.app-shell .content table.complaint-table td:before,body.app-shell .content table.user-status-table td:before,body.app-shell .content table.billing-history-table td:before{content:attr(data-label);color:var(--ui-muted)!important;font-size:11px!important;font-weight:900!important;line-height:1.3!important;text-transform:uppercase!important}body.app-shell .content table.company-table td:last-child,body.app-shell .content table.user-table td:last-child,body.app-shell .content table.admin-data-table td:last-child,body.app-shell .content table.complaint-table td:last-child,body.app-shell .content table.user-status-table td:last-child,body.app-shell .content table.billing-history-table td:last-child{border-bottom:0!important}}body.app-shell .content{color:#0f172a!important}body.app-shell .content :where(p,td,li,.field-help,.form-text,.text-muted,.help-text,small){color:inherit}body.app-shell .content :where(.field-help,.form-text,.text-muted,.help-text,small,.bulk-form-help,.route-help,.knowledge-file-help){color:#64748b!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action,.billing-muted-action){color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action):hover{color:#0f172a!important;background:#e2e8f0!important;border-color:#94a3b8!important}body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.agent-social-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button){min-height:40px!important;min-width:112px!important;margin:0!important;padding:9px 14px!important;line-height:1.2!important}body.app-shell .content :where(.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.agent-social-actions){gap:8px!important}body.app-shell .content :where(.extension-search-form,.bulk-campaign-filters,.crm-search-form form,.recording-search form,.user-toolbar .search-bar form,.admin-search-bar form,.knowledge-company-filter,.inbound-route-list-tools,.history-filter,form:has(input[type="search"])){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;align-items:end!important;gap:12px!important;width:100%!important;margin:0!important}body.app-shell .content :where(input[type="search"],.search-bar input,.admin-search-bar input,.extension-search-form input,.recording-search input,.crm-search-form input){min-height:var(--ui-control-height)!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;font-weight:600!important}body.app-shell .content :where(.extension-search-form button,.bulk-campaign-filters button,.recording-search button,.crm-search-form button,.user-toolbar .search-bar button,.admin-search-bar button){min-height:var(--ui-control-height)!important;margin:0!important}body.app-shell .content .subscription-form label,body.app-shell .content .subscription-form .channel-row>label,body.app-shell .content .subscription-form .limit-grid>label,body.app-shell .content .subscription-form .form-grid>label{display:grid!important;align-items:start!important;justify-items:stretch!important;gap:7px!important;margin:0!important;color:#334155!important;text-align:left!important}body.app-shell .content .subscription-form label>:where(input,select,textarea){margin-top:0!important}body.app-shell .content .subscription-form .inline-check{display:flex!important;align-items:center!important;min-height:var(--ui-control-height)!important;padding:9px 12px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:#f8fafc!important}body.app-shell .content .broadcast-voice-actions audio{width:min(100%,360px)!important;min-width:260px!important;height:40px!important}body.app-shell .content .billing-overview-page .billing-overview-filter .form-row{display:grid!important;grid-template-columns:minmax(220px,1.2fr) minmax(170px,.8fr) minmax(170px,.8fr) auto!important;align-items:end!important;gap:14px!important}body.app-shell .content .billing-overview-page .billing-overview-filter .form-actions{display:flex!important;align-items:center!important;gap:10px!important}body.app-shell .content .billing-overview-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:14px!important;margin:16px 0!important}body.app-shell .content .billing-overview-table td:nth-child(4),body.app-shell .content .billing-overview-table td:nth-child(5),body.app-shell .content .billing-overview-table td:nth-child(6){white-space:nowrap!important}body.app-shell .content .call-lookup-page .call-lookup-form .form-row{display:grid!important;grid-template-columns:minmax(260px,1fr) auto!important;align-items:end!important;gap:14px!important}@media (max-width: 680px){body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions,.user-actions,.menu-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button){width:100%!important;min-width:0!important}body.app-shell .content :where(.extension-search-form,.bulk-campaign-filters,.crm-search-form form,.recording-search form,.user-toolbar .search-bar form,.admin-search-bar form,.knowledge-company-filter,.inbound-route-list-tools,.history-filter,form:has(input[type="search"])){grid-template-columns:1fr!important}body.app-shell .content .billing-overview-page .billing-overview-filter .form-row{grid-template-columns:1fr!important}body.app-shell .content .billing-overview-page .billing-overview-filter .form-actions{display:grid!important;grid-template-columns:1fr!important}body.app-shell .content .call-lookup-page .call-lookup-form .form-row{grid-template-columns:1fr!important}.campaign-queue-page .page-header{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:16px!important}.campaign-queue-page .page-header h1{min-width:0!important;font-size:24px!important}.campaign-queue-page .page-header p{max-width:none!important;margin:0!important;text-align:left!important}.campaign-queue-page>.settings-table-wrap{padding:18px!important}}.app-shell .content .campaign-queue-page>.page-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:18px!important}.app-shell .content .campaign-queue-page>.page-header h1{min-width:max-content!important;font-size:28px!important;line-height:1.15!important;overflow-wrap:normal!important;word-break:normal!important}.app-shell .content .campaign-queue-page>.page-header p{max-width:520px!important;margin:4px 0 0!important;text-align:right!important;line-height:1.45!important}.app-shell .content .campaign-queue-page>.settings-table-wrap{padding:24px!important}.app-shell .content .campaign-queue-page .form-actions .campaign-clear-button{min-height:40px!important;min-width:98px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:9px 14px!important;color:#1e293b!important;background:#eef2f7!important;font-weight:900!important}@media (max-width: 680px){.app-shell .content .campaign-queue-page>.page-header{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:16px!important}.app-shell .content .campaign-queue-page>.page-header h1{min-width:0!important;font-size:24px!important}.app-shell .content .campaign-queue-page>.page-header p{max-width:none!important;margin:0!important;text-align:left!important}.app-shell .content .campaign-queue-page>.settings-table-wrap{padding:18px!important}}.campaign-clear-button{min-height:40px!important;min-width:98px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:9px 14px!important;color:#1e293b!important;background:#eef2f7!important;font-weight:900!important}.campaign-clear-button:hover{border-color:#94a3b8!important;background:#e2e8f0!important}.content .campaign-queue-page .form-actions button.campaign-clear-button,.app-shell .content .campaign-queue-page .form-actions button.campaign-clear-button{border:1px solid #cbd5e1!important;color:#1e293b!important;background:#eef2f7!important;box-shadow:inset 0 0 0 1px #cbd5e1!important}.content .campaign-queue-page .form-actions button.campaign-clear-button:hover,.app-shell .content .campaign-queue-page .form-actions button.campaign-clear-button:hover{border-color:#94a3b8!important;background:#e2e8f0!important}.analytics-page{max-width:1240px}.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.analytics-kpi,.analytics-panel,.analytics-no-data{border:1px solid #dbe4f0;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0d}.analytics-kpi{display:grid;gap:8px;padding:18px}.analytics-kpi span,.analytics-panel-header p{color:#64748b;font-size:13px;font-weight:800}.analytics-kpi strong{color:#0f172a;font-size:26px;font-weight:900}.analytics-panel{padding:22px}.analytics-panel-header{display:flex;justify-content:space-between;gap:14px;margin-bottom:18px}.analytics-panel-header h2{margin:0 0 4px;color:#0f172a;font-size:20px}.analytics-panel-header p{margin:0}.analytics-bars,.analytics-status-list{display:grid;gap:12px}.analytics-bar-row,.analytics-status-row{display:grid;grid-template-columns:76px minmax(0,1fr) 80px;align-items:center;gap:12px;color:#334155;font-weight:800}.analytics-status-row{grid-template-columns:minmax(100px,.35fr) minmax(0,1fr) minmax(90px,.25fr)}.analytics-bar-row>div,.analytics-status-row>div{overflow:hidden;height:12px;border-radius:999px;background:#e2e8f0}.analytics-bar-row i,.analytics-status-row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0f766e)}.analytics-bar-row strong,.analytics-status-row strong{color:#0f172a;text-align:right}.analytics-empty,.analytics-no-data{padding:24px;text-align:center}.analytics-no-data h2{margin:0 0 8px;color:#0f172a}.analytics-no-data p{max-width:560px;margin:0 auto;color:#64748b;font-weight:700}@media (max-width: 860px){.analytics-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}.ai-outbound-dialer-page{max-width:980px}.ipblock-page{min-height:100vh;display:grid;place-items:center;padding:24px;color:#172033;background:#eef2f7}.ipblock-panel{width:min(100%,520px);padding:24px;border:1px solid #d7dee8;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a14}.ipblock-panel h1{margin:0 0 18px;color:#172033;font-size:22px}.ipblock-panel form{display:grid;gap:8px;margin:0}.ipblock-panel label{margin-top:6px;color:#334155;font-weight:800}.ipblock-panel input{width:100%;max-width:none;min-height:42px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;background:#fff;font-size:15px}.ipblock-panel button{width:100%;min-height:42px;margin-top:10px;border:0;border-radius:6px;color:#fff;background:#b91c1c;font-weight:900;cursor:pointer}.ipblock-panel button:disabled{opacity:.72;cursor:wait}.ipblock-panel pre{max-height:180px;overflow:auto;margin:18px 0 0;padding:12px;border-radius:6px;color:#e2e8f0;background:#0f172a;font-size:12px;white-space:pre-wrap}.ai-settings-list-table{min-width:1180px}.ai-settings-edit-button{min-height:38px!important;min-width:88px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:8px 14px!important;color:#1e293b!important;background:#eef2f7!important;font-weight:900!important;text-decoration:none!important}.ai-settings-edit-button:hover{border-color:#94a3b8!important;background:#e2e8f0!important}.content .ai-settings-list-page a.ai-settings-edit-button,.app-shell .content .ai-settings-list-page a.ai-settings-edit-button{color:#1e293b!important;background:#eef2f7!important;border-color:#cbd5e1!important}.content .ai-settings-list-page a.ai-settings-edit-button:hover,.app-shell .content .ai-settings-list-page a.ai-settings-edit-button:hover{background:#e2e8f0!important;border-color:#94a3b8!important}.app-shell .content .ai-settings-list-page table.ai-settings-list-table td>a.ai-settings-edit-button:not(.btn-danger):not(.button-danger):not(.btn-primary){color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important}.app-shell .content .ai-settings-list-page table.ai-settings-list-table td>a.ai-settings-edit-button:not(.btn-danger):not(.button-danger):not(.btn-primary):hover{background:#e2e8f0!important;border-color:#94a3b8!important}@media (max-width: 760px){.ai-settings-list-table,.ai-settings-list-table tbody,.ai-settings-list-table tr,.ai-settings-list-table td{display:block!important;width:100%!important;min-width:0!important}.ai-settings-list-table thead{display:none!important}.ai-settings-list-table tbody{display:grid!important;gap:12px!important}.ai-settings-list-table tr{overflow:hidden!important;border:1px solid #dbe4f0!important;border-radius:8px!important;background:#fff!important;box-shadow:0 8px 20px #0f172a0d!important}.ai-settings-list-table td{display:grid!important;grid-template-columns:minmax(96px,36%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:11px 13px!important;border-bottom:1px solid #e2e8f0!important;color:#0f172a!important;word-break:break-word!important}.ai-settings-list-table td:before{content:attr(data-label)!important;color:#64748b!important;font-size:11px!important;font-weight:900!important;line-height:1.35!important;text-transform:uppercase!important}.ai-settings-list-table td:last-child{border-bottom:0!important}}.ai-outbound-dialer-card .form-row{grid-template-columns:repeat(3,minmax(0,1fr))}.voice-sms-page{max-width:1180px}.voice-sms-hero{align-items:center}.voice-sms-form{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}body.app-shell .content form.settings-form.voice-sms-form{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;max-width:none!important}.voice-sms-panel{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:22px;padding:22px;border:1px solid #dbe4f0;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0f}.voice-sms-panel .section-title h2{margin:0 0 7px!important;color:#0f172a;font-size:18px;font-weight:900}.voice-sms-panel .section-title span{display:block;color:#64748b;font-size:13px;font-weight:700;line-height:1.45}.voice-sms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}body.app-shell .content .voice-sms-grid>label{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;min-width:0;margin:0!important;color:#334155!important;font-size:13px!important;font-weight:850!important}body.app-shell .content .voice-sms-grid input,body.app-shell .content .voice-sms-grid select,body.app-shell .content .voice-sms-grid textarea{max-width:none!important}.voice-sms-wide{grid-column:1 / -1}.voice-sms-upload-card{min-width:0;padding:16px}.voice-sms-upload-card .file-upload-dropzone{min-height:116px;border:1px dashed #b9c7d8;border-radius:8px;background:#f8fafc}@media (max-width: 860px){.voice-sms-panel,.voice-sms-grid{grid-template-columns:1fr}.voice-sms-panel{padding:16px}}.dialpad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:420px;margin:4px 0 18px}.dialpad-grid button{min-height:46px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;color:#0f172a!important;background:#eef2f7!important;box-shadow:none!important;font-size:16px!important;font-weight:900!important}.dialpad-grid button:hover{border-color:#94a3b8!important;background:#e2e8f0!important}.dialer-actions .btn-submit{display:inline-flex;align-items:center;gap:8px}@media (max-width: 760px){.ai-outbound-dialer-card .form-row{grid-template-columns:1fr}.dialpad-grid{max-width:none}.campaign-script-page .section-title,.campaign-script-page .table-toolbar{display:grid;grid-template-columns:1fr;align-items:start}.campaign-script-page .page-header .status-pill{width:auto!important;justify-self:start}.campaign-script-form>.form-section:first-of-type .form-row>.form-group:first-child{grid-column:auto}.campaign-script-tabs{display:grid;grid-template-columns:1fr}.language-browser,.language-browser .section-title,.language-browser-grid{grid-template-columns:1fr}.language-browser .section-title{display:grid}.campaign-script-item,.campaign-script-off-date{grid-template-columns:1fr}.campaign-script-audio audio{width:100%;min-width:0}}@media (max-width: 560px){.analytics-kpis{grid-template-columns:1fr}.analytics-panel{padding:18px}.analytics-bar-row,.analytics-status-row{grid-template-columns:1fr;gap:7px}.analytics-bar-row strong,.analytics-status-row strong{text-align:left}}body.app-shell .content{color:#0f172a!important}body.app-shell .content :where(.card,.panel,.settings-form,.admin-list-panel,.form-section,.billing-panel,.subscription-form,.knowledge-detail,.knowledge-sidebar,.audio-form){color:#0f172a!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-light,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action,.billing-muted-action){color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-light,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action,.billing-muted-action):hover{color:#0f172a!important;background:#e2e8f0!important;border-color:#94a3b8!important}body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.agent-social-actions,.bulk-submit-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,input[type="submit"],input[type="button"]){min-height:42px!important;min-width:124px!important;margin:0!important;padding:10px 16px!important;line-height:1.2!important}body.app-shell .content :where(.search-bar form,.admin-search-bar form,.extension-search-form,.recording-search form,.crm-search-form,.crm-search-form form,.user-toolbar .search-bar form,.bulk-campaign-filters,form:has(input[type="search"])){display:grid!important;grid-template-columns:minmax(240px,1fr) auto!important;align-items:end!important;gap:12px!important}body.app-shell .content :where(input[type="search"],.search-bar input,.admin-search-bar input,.extension-search-form input,.recording-search input,.crm-search-form input){min-height:42px!important;padding:9px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;font-weight:600!important}body.app-shell .content :where(.search-bar button,.admin-search-bar button,.extension-search-form button,.recording-search button,.crm-search-form button,.bulk-campaign-filters button){min-height:42px!important;min-width:112px!important;padding:10px 16px!important}body.app-shell .content .subscription-form :where(label,.channel-row > label,.limit-grid > label,.form-grid > label){display:grid!important;align-items:start!important;gap:7px!important;margin:0!important;color:#334155!important;text-align:left!important}body.app-shell .content .subscription-form label>:where(input,select,textarea){margin-top:0!important}.broadcast-voice-picker.has-audio-preview{border-style:solid;border-color:#bfdbfe;background:#f8fbff}.broadcast-voice-actions{display:grid;gap:10px;align-items:center;justify-items:stretch}.broadcast-voice-player{display:grid;gap:7px;min-width:280px}.broadcast-voice-player span{color:#475569;font-size:12px;font-weight:800}.broadcast-voice-player audio{width:100%!important;min-width:280px!important;max-width:420px!important;height:42px!important}@media (max-width: 680px){body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.agent-social-actions,.bulk-submit-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,input[type="submit"],input[type="button"]){width:100%!important;min-width:0!important}body.app-shell .content :where(.search-bar form,.admin-search-bar form,.extension-search-form,.recording-search form,.crm-search-form,.crm-search-form form,.user-toolbar .search-bar form,.bulk-campaign-filters,form:has(input[type="search"])){grid-template-columns:1fr!important}.broadcast-voice-player,.broadcast-voice-player audio{min-width:0!important;max-width:100%!important}}body.app-shell .content button.knowledge-base-card.active{border-color:#93c5fd!important;background:#eff6ff!important;color:#0f172a!important;box-shadow:0 0 0 3px #2563eb1a!important}body.app-shell .content button.knowledge-base-card.active :where(strong,small,span){color:#0f172a!important}body.app-shell .content :where(.knowledge-upload-button:not(.product-upload-button):not(.service-upload-button),.btn-success,.button-success,.success-action){color:#fff!important;background:#16a34a!important;border-color:#16a34a!important}body.app-shell .content :where(.knowledge-upload-button:not(.product-upload-button):not(.service-upload-button),.btn-success,.button-success,.success-action):hover{color:#fff!important;background:#15803d!important;border-color:#15803d!important}body.app-shell .content{color:#0f172a!important}body.app-shell .content :where(.card,.panel,.settings-form,.admin-list-panel,.form-section,.billing-panel,.subscription-form,.knowledge-detail,.knowledge-sidebar,.audio-form,.history-detail){color:#0f172a!important}body.app-shell .content :where(.field-help,.form-text,.text-muted,.help-text,small,.bulk-form-help,.route-help,.knowledge-file-help){color:#64748b!important}body.app-shell .content :where(button,.btn,.button,.button-secondary,.btn-edit,.btn-submit,.doc-button,input[type="submit"],input[type="button"],a.button,a.button-secondary,.knowledge-action-button,.knowledge-upload-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,.complaint-button,.force-logout-button,.billing-retry-button,.table-action):not(.history-modal-backdrop):not(.history-modal-close):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.product-scroll-btn){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;margin:0!important;padding:10px 16px!important;border-radius:8px!important;font-size:14px!important;font-weight:800!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;white-space:nowrap!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-light,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close):not(.product-scroll-btn),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action,.billing-muted-action){color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important;box-shadow:none!important}body.app-shell .content :where(.btn-secondary,.btn-outline-secondary,.btn-outline-primary,.button-secondary,.btn-light,.btn-edit,button[type="reset"],button[type="button"]:not(.btn-primary):not(.btn-danger):not(.btn-success):not(.btn-warning):not(.button-danger):not(.knowledge-base-card):not(.route-type-card):not(.ivr-mode-card):not(.history-modal-backdrop):not(.history-modal-close):not(.product-scroll-btn),a.button-secondary,.knowledge-download-button,.knowledge-edit-button,.table-action,.billing-muted-action):hover{color:#0f172a!important;background:#e2e8f0!important;border-color:#94a3b8!important}body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.agent-social-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.bulk-submit-actions){display:flex;align-items:center;gap:10px!important;flex-wrap:wrap}body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.agent-social-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.bulk-submit-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,input[type="submit"],input[type="button"]){min-width:124px!important}body.app-shell .content :where(.search-bar form,.admin-search-bar form,.extension-search-form,.recording-search form,.crm-search-form,.crm-search-form form,.user-toolbar .search-bar form,.bulk-campaign-filters,.inbound-route-list-tools,form:has(input[type="search"])){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;align-items:end!important;gap:12px!important;width:100%!important}body.app-shell .content :where(input[type="search"],.search-bar input,.admin-search-bar input,.extension-search-form input,.recording-search input,.crm-search-form input,.inbound-route-list-tools input){min-height:42px!important;padding:9px 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;font-weight:600!important}body.app-shell .content .subscription-form :where(label,.channel-row > label,.limit-grid > label,.form-grid > label){display:grid!important;align-items:start!important;justify-items:stretch!important;gap:7px!important;margin:0!important;color:#334155!important;text-align:left!important}body.app-shell .content .subscription-form label>:where(input,select,textarea){margin-top:0!important}.ivr-table-audio{display:grid;gap:7px;min-width:220px}.ivr-table-audio strong{max-width:280px;color:#0f172a;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivr-table-audio audio{width:min(280px,100%);height:38px}@media (max-width: 680px){body.app-shell .content :where(.form-actions,.button-group,.actions,.modal-actions,.table-actions,.ivr-config-table-actions,.chatbot-agent-actions,.agent-social-actions,.knowledge-doc-actions,.user-actions,.menu-actions,.bulk-submit-actions)>:where(button,.btn,.button,a.button,a.button-secondary,.table-action,.knowledge-action-button,.knowledge-download-button,.knowledge-edit-button,.knowledge-delete-button,input[type="submit"],input[type="button"]){width:100%!important;min-width:0!important}}body.app-shell .content .button-secondary,body.app-shell .content a.button-secondary,body.app-shell .content button.btn-secondary,body.app-shell .content a.btn-secondary,body.app-shell .content .btn-edit,body.app-shell .content .table-action,body.app-shell .content .knowledge-download-button,body.app-shell .content .knowledge-edit-button,body.app-shell .content .billing-muted-action{color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important;box-shadow:none!important}body.app-shell .content .button-secondary:hover,body.app-shell .content a.button-secondary:hover,body.app-shell .content button.btn-secondary:hover,body.app-shell .content a.btn-secondary:hover,body.app-shell .content .btn-edit:hover,body.app-shell .content .table-action:hover,body.app-shell .content .knowledge-download-button:hover,body.app-shell .content .knowledge-edit-button:hover{color:#0f172a!important;background:#e2e8f0!important;border-color:#94a3b8!important}body.app-shell .content .audio-page .ivr-config-actions button.button-secondary,body.app-shell .content .audio-page .ivr-config-table-actions button.button-secondary,body.app-shell .content .agent-edit-page .button-secondary,body.app-shell .content .subscription-page .button-secondary,body.app-shell .content .subscription-page .admin-data-table .table-action,body.app-shell .content .subscription-page table.admin-data-table td>a.table-action:not(.btn-danger):not(.button-danger):not(.btn-primary){color:#1e293b!important;background:#eef2f7!important;border:1px solid #cbd5e1!important;box-shadow:none!important}body.app-shell .content .audio-page .ivr-config-actions button.button-secondary:hover,body.app-shell .content .audio-page .ivr-config-table-actions button.button-secondary:hover,body.app-shell .content .agent-edit-page .button-secondary:hover,body.app-shell .content .subscription-page .button-secondary:hover,body.app-shell .content .subscription-page .admin-data-table .table-action:hover,body.app-shell .content .subscription-page table.admin-data-table td>a.table-action:not(.btn-danger):not(.button-danger):not(.btn-primary):hover{color:#0f172a!important;background:#e2e8f0!important;border-color:#94a3b8!important}body .toast-viewport .app-toast{grid-template-columns:34px minmax(0,1fr) 30px!important;align-items:start!important;overflow:hidden!important}body .toast-viewport button.app-toast-close,body.app-shell .content .toast-viewport button.app-toast-close,body.app-shell .content button.app-toast-close{display:inline-grid!important;place-items:center!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#64748b!important;box-shadow:none!important;line-height:1!important;position:static!important;transform:none!important}body .toast-viewport button.app-toast-close:hover,body.app-shell .content .toast-viewport button.app-toast-close:hover,body.app-shell .content button.app-toast-close:hover{background:#f1f5f9!important;color:#0f172a!important}body.app-shell .content .knowledge-sidebar .knowledge-base-list{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:260px!important;grid-template-columns:none!important;gap:10px!important;width:100%!important;min-height:88px!important;max-height:106px!important;padding:2px 2px 10px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;scrollbar-gutter:stable!important}body.app-shell .content button.knowledge-base-card{grid-template-columns:36px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:260px!important;min-width:260px!important;max-width:260px!important;height:76px!important;min-height:76px!important;max-height:76px!important;scroll-snap-align:start!important}body.app-shell .content button.knowledge-base-card .knowledge-book-icon{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#eef2ff!important;color:#2563eb!important;font-size:17px!important;font-weight:900!important}body.app-shell .content button.knowledge-base-card>span:last-child{display:grid!important;gap:3px!important;min-width:0!important}body.app-shell .content button.knowledge-base-card strong,body.app-shell .content button.knowledge-base-card small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}body.app-shell .content button.knowledge-base-card.active{border-color:#2563eb80!important;background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%)!important;color:#0f172a!important;box-shadow:inset 4px 0 #2563eb,0 8px 20px #2563eb1f!important}body.app-shell .content button.knowledge-base-card.active .knowledge-book-icon{background:#2563eb!important;color:#fff!important}@media (max-width: 520px){body.app-shell .content .knowledge-sidebar .knowledge-base-list{grid-auto-columns:min(240px,calc(100vw - 74px))!important}body.app-shell .content button.knowledge-base-card{width:min(240px,calc(100vw - 74px))!important;min-width:min(240px,calc(100vw - 74px))!important;max-width:min(240px,calc(100vw - 74px))!important}}.mobile-menu-backdrop{display:none}@media (max-width: 900px){.app-top-loader{margin-left:0!important}body.app-shell .hamburger{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:8px!important;position:relative!important;z-index:1002!important}body.app-shell .hamburger.is-active{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}body.app-shell .mobile-menu-backdrop{display:block!important;position:fixed!important;inset:68px 0 0 0!important;z-index:998!important;width:100vw!important;height:calc(100vh - 68px)!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(15,23,42,.38)!important;box-shadow:none!important}body.app-shell .wrapper{grid-template-columns:minmax(0,1fr)!important;margin-top:68px!important}body.app-shell .content{grid-column:1!important;width:100%!important;min-width:0!important}body.app-shell .sidebar{position:fixed!important;top:68px!important;left:0!important;right:auto!important;bottom:0!important;z-index:999!important;width:min(86vw,312px)!important;max-width:min(86vw,312px)!important;min-height:calc(100dvh - 68px)!important;height:calc(100dvh - 68px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;transform:translate(-105%)!important;transition:transform .2s ease!important;box-shadow:22px 0 44px #0f172a2e!important}body.app-shell .sidebar.is-open,body.app-shell .sidebar.active{transform:translate(0)!important}body.app-shell .sidebar ul{padding:14px!important}body.app-shell .sidebar a{width:100%!important}body.app-shell .topbar-brand{grid-template-columns:48px minmax(0,1fr)!important}body.app-shell .topbar-logo{width:48px!important;height:48px!important}body.app-shell .sidebar-menu{overflow-y:auto!important}body.app-shell .sidebar-profile{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))!important}}.ai-history-page,.recording-page,.export-page{width:min(100%,var(--ui-page-max));margin:0 auto;display:grid;gap:16px}.ai-history-page .page-header,.recording-page .page-header,.export-page .page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px;border:1px solid var(--ui-border);border-radius:var(--ui-card-radius);background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:var(--ui-shadow-sm)}.ai-history-page .page-header>div,.recording-page .page-header>div,.export-page .page-header>div{min-width:0}.ai-history-page .page-header h1,.recording-page .page-header h1,.export-page .page-header h1{margin:0 0 6px;color:#0f172a;font-size:28px;font-weight:900;line-height:1.15}.ai-history-page .page-header p,.recording-page .page-header p,.export-page .page-header p{margin:0;color:var(--ui-muted);font-size:13px;font-weight:600;line-height:1.5}.ai-history-page .history-filter,.recording-page .recording-filter,.export-page .export-form .form-section{padding:18px!important;border:1px solid var(--ui-border)!important;border-radius:var(--ui-card-radius)!important;background:var(--ui-surface)!important;box-shadow:var(--ui-shadow-sm)!important}.ai-history-page .history-filter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px!important;align-items:start!important}.ai-history-page .history-filter .form-group,.recording-page .recording-search form,.export-page .export-form .form-group{display:grid!important;gap:7px!important;align-content:start!important}.ai-history-page .history-filter .form-group label,.recording-page .recording-search label,.export-page .export-form label{margin:0!important;color:#334155!important;font-size:13px!important;font-weight:850!important}.ai-history-page .history-filter .form-group input,.ai-history-page .history-filter .form-group select,.recording-page .recording-search input,.recording-page .recording-search select,.export-page .export-form input,.export-page .export-form select{width:100%!important;min-width:0!important}.ai-history-page .history-filter .form-actions{grid-column:1 / -1;justify-content:flex-end;margin-top:4px}.ai-history-page .history-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.ai-history-page .history-stat{display:grid;gap:6px;padding:14px 16px;border:1px solid var(--ui-border);border-radius:12px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:var(--ui-shadow-sm)}.ai-history-page .history-stat span{color:#64748b;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.ai-history-page .history-stat strong{color:#0f172a;font-size:22px;font-weight:900;line-height:1.1}.ai-history-page .history-layout{display:grid;gap:16px}.ai-history-page .conversation-list-card,.recording-page .recording-table-wrap{border:1px solid var(--ui-border);border-radius:var(--ui-card-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-sm)}.ai-history-page .conversation-list-card{overflow-x:auto;overflow-y:hidden}.ai-history-page .conversation-list-table{min-width:980px}.ai-history-page .conversation-list-table th{background:var(--ui-table-head);color:#475569;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.ai-history-page .conversation-view-btn{min-height:38px;padding:9px 14px;border-color:var(--ui-border);border-radius:8px;box-shadow:none}.ai-history-page .history-empty{padding:28px;border:1px dashed var(--ui-border-strong);border-radius:var(--ui-card-radius);background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);color:var(--ui-muted)}.ai-history-page .history-detail{border:1px solid var(--ui-border);border-radius:14px;box-shadow:0 24px 70px #0f172a38}.ai-history-page .history-detail-head{padding:16px 18px;border-bottom-color:var(--ui-divider)}.ai-history-page .history-detail-item{border-color:var(--ui-divider);border-radius:10px;background:#f8fbff}.recording-page .page-header,.export-page .page-header{border-radius:var(--ui-card-radius)}.recording-page .recording-filter{display:grid;gap:14px}.recording-page .recording-search form{display:grid!important;grid-template-columns:minmax(280px,1fr) minmax(220px,280px) auto auto;gap:12px;align-items:end}.recording-page .recording-search input,.recording-page .recording-search select{min-height:42px;padding:9px 12px;border:1px solid var(--ui-border)!important;border-radius:8px;background:#fff}.recording-page .recording-table-wrap{overflow-x:auto}.recording-page .recording-table{min-width:920px}.recording-page .recording-table th{background:var(--ui-table-head);color:#475569;font-size:11px;font-weight:900;text-transform:uppercase}.recording-page .recording-table td{color:#1e293b}.recording-page .recording-audio audio{width:260px;max-width:100%;height:36px}.export-page .export-form,.export-page .export-form .form-section{display:grid;gap:16px}.export-page .export-form .form-section h2{margin:0!important;color:#0f172a!important;font-size:20px!important;font-weight:900!important}.export-page .export-form .form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.export-page .export-form .form-group{gap:7px}.export-page .export-form .form-actions{display:flex;justify-content:flex-end;margin-top:0}.export-page .notice{border-radius:10px;padding:12px 14px}@media (max-width: 980px){.ai-history-page .history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.recording-page .recording-search form,.export-page .export-form .form-row{grid-template-columns:1fr}}@media (max-width: 760px){.ai-history-page .page-header,.recording-page .page-header,.export-page .page-header{display:grid;grid-template-columns:1fr;gap:8px;padding:14px}.ai-history-page .history-filter{grid-template-columns:1fr;padding:14px!important}.ai-history-page .history-summary{grid-template-columns:1fr}.ai-history-page .history-stat{padding:12px 14px}.recording-page .recording-filter,.export-page .export-form .form-section{padding:14px!important}.ai-history-page .conversation-list-card,.recording-page .recording-table-wrap{overflow:visible}}body.app-shell .content .ai-history-page .history-composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;flex-wrap:nowrap!important}body.app-shell .content .ai-history-page .history-composer .history-composer-input{width:100%!important;max-width:none!important;min-width:0!important;height:44px!important;min-height:44px!important}body.app-shell .content .ai-history-page .history-composer .history-composer-send{width:auto!important;min-width:108px!important;max-width:none!important;flex:0 0 auto!important;white-space:nowrap!important}body.app-shell .content .permission-page-modern form.admin-config-form.permission-form{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;width:100%!important;max-width:none!important}body.app-shell .content .permission-page-modern .permission-toolbar,body.app-shell .content .permission-page-modern .permission-workspace{width:100%!important;max-width:none!important}body.app-shell .content .permission-page-modern .permission-workspace{display:grid!important;grid-template-columns:minmax(240px,280px) minmax(0,1fr)!important;gap:18px!important}body.app-shell .content .permission-page-modern .permission-panel-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important}body.app-shell .content .permission-page-modern .permission-search-input{width:min(320px,100%)!important;max-width:none!important}@media (max-width: 900px){body.app-shell .content .permission-page-modern .permission-workspace{grid-template-columns:1fr!important}}@media (max-width: 680px){body.app-shell .content .ai-history-page .history-composer{grid-template-columns:minmax(0,1fr) auto!important}}body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status{all:unset!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0 auto!important;padding:0!important;border:1px solid #dbe4ee!important;border-radius:999px!important;background:#f8fafc!important;color:#334155!important;cursor:pointer!important;box-shadow:none!important;line-height:1!important;text-decoration:none!important;user-select:none!important;-webkit-appearance:none!important}body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status.is-active{background:#ecfdf3!important;border-color:#bbf7d0!important;color:#15803d!important}body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status.is-blocked,body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status.is-human_queue{background:#fef2f2!important;border-color:#fecaca!important;color:#b42318!important}body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status:hover{box-shadow:0 0 0 3px #2563eb14!important;transform:translateY(-1px)}body.app-shell .content .ai-history-page .conversation-status .conversation-ai-status:focus-visible{outline:2px solid #2563eb!important;outline-offset:2px!important}
