:root{--bg: #fafafa;--surface: #ffffff;--surface-2: #f4f4f5;--border: #e4e4e7;--text: #18181b;--text-muted: #52525b;--text-faint: #71717a;--accent: #f97316;--accent-hover: #ea580c;--accent-soft: #fff7ed;--accent-softer: #ffedd5;--accent-grad: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);--cta-bg: #18181b;--cta-text: #ffffff;--cta-hover: #000000;--success: #16a34a;--success-soft: #dcfce7;--success-text: #166534;--danger: #dc2626;--danger-soft: #fee2e2;--danger-border: #fecaca;--sidebar-bg: #f9f9f8;--sidebar-text: #3f3f46;--radius: 16px;--radius-sm: 11px;--radius-pill: 999px;--shadow-sm: 0 1px 2px rgba(24, 24, 27, .05);--shadow: 0 1px 3px rgba(24, 24, 27, .07), 0 1px 2px rgba(24, 24, 27, .04);--shadow-md: 0 8px 24px rgba(24, 24, 27, .08);--shadow-lg: 0 24px 48px rgba(24, 24, 27, .16);--shadow-accent: 0 6px 16px rgba(249, 115, 22, .28);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);color-scheme:light;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--bg)}.auth-page,.onboard-page{--surface: #131316;--surface-2: #1a1a1d;--border: #2a2a30;--text: #f4f4f5;--text-muted: #a1a1aa;--text-faint: #71717a;--cta-bg: #fafafa;--cta-text: #0a0a0b;--cta-hover: #ffffff;--accent-soft: rgba(249, 115, 22, .12);--accent-softer: rgba(249, 115, 22, .2);--success-soft: rgba(74, 222, 128, .14);--danger: #f87171;--danger-soft: rgba(248, 113, 113, .12);--danger-border: rgba(248, 113, 113, .35);--success: #4ade80;--success-text: #4ade80;--shadow-lg: 0 24px 48px rgba(0, 0, 0, .6);color:var(--text);color-scheme:dark;background:url(/bg.jpg) center / cover no-repeat,radial-gradient(1100px 700px at 88% -12%,rgba(255,255,255,.055),transparent 60%),radial-gradient(900px 650px at -12% 105%,rgba(255,255,255,.04),transparent 55%),#0a0a0b}h1,h2,h3{letter-spacing:-.02em}button{font-family:inherit}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;color:var(--text-muted)}.loading{color:var(--text-muted);padding:40px 0}.retry-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:30px;max-width:380px;width:100%;text-align:center}.retry-title{font-size:17px;font-weight:700;margin:0 0 6px;color:var(--text)}.retry-message{font-size:14px;color:var(--text-muted);margin:0 0 18px}.retry-actions{display:flex;gap:10px;justify-content:center}.retry-actions .auth-btn{padding:10px 22px}.auth-page,.onboard-page{min-height:100vh;display:flex;justify-content:center;padding:48px 20px}.auth-page{align-items:center;flex-direction:column;gap:18px}.auth-legal{display:flex;gap:18px;justify-content:center}.auth-legal a{color:#ffffff8c;font-size:12.5px;text-decoration:none}.auth-legal a:hover{color:#fff;text-decoration:underline}.onboard-page{align-items:flex-start}.auth-card,.onboard-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%}.auth-card{max-width:400px;padding:38px;display:flex;flex-direction:column}.onboard-card{max-width:660px;padding:38px}.auth-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;margin-bottom:24px}.brand-mark{width:40px;height:40px;object-fit:contain;flex-shrink:0}.auth-title,.onboard-title{font-size:25px;font-weight:800;margin:0 0 6px}.auth-sub,.onboard-sub{margin:0 0 24px;color:var(--text-muted);font-size:14px}.auth-label{font-size:13px;font-weight:600;color:var(--text-muted);margin-bottom:6px;display:block}.auth-input{width:100%;padding:11px 13px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}.auth-input::placeholder{color:var(--text-faint)}.auth-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #f9731629}select.auth-input{cursor:pointer}.page-nav.admin-nav{flex:0 0 auto;overflow:visible;margin-bottom:14px}.admin-search{max-width:260px}.admin-row{cursor:pointer}.admin-row:hover td{background:#f973160d}.admin-sub{color:var(--text-faint);font-weight:400;font-size:12px}.admin-status-select{width:auto;padding:6px 8px;font-size:13px}.admin-action{margin-left:8px;font-size:12px;white-space:nowrap}.admin-delete{color:var(--danger)}.slider-row{margin-bottom:14px}.slider-row input[type=range]{width:100%;accent-color:var(--accent)}.slider-value{float:right;color:var(--text-faint);font-weight:500;text-transform:none;letter-spacing:0}.end-call-btn{background:#ef4444;color:#fff}.number-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}.number-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.number-pick{flex:0 0 auto;padding:8px 16px}.greeting-textarea{min-height:74px;resize:vertical;font-family:inherit}.voice-picker{position:relative}.voice-current{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;font-size:14px;color:var(--text);text-align:left}.voice-current:hover{border-color:var(--accent)}.voice-caret{margin-left:auto;color:var(--text-faint)}.voice-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 12px 32px #00000024;max-height:340px;overflow-y:auto;padding:6px}.voice-group-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-faint);padding:8px 10px 4px}.voice-option{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-sm);cursor:pointer}.voice-option:hover{background:#f9731612}.voice-option.selected{background:#f973161f}.voice-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0}.voice-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;font-weight:700;font-size:14px}.voice-info{display:flex;flex-direction:column;min-width:0}.voice-option-name{font-weight:600;font-size:14px;color:var(--text)}.voice-option-meta{font-size:12px;color:var(--text-faint)}.voice-play-sm{margin-left:auto;padding:6px 10px;border-radius:50%}.voice-row{display:flex;gap:8px;align-items:center}.voice-play{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--accent);font-size:13px;font-weight:600;padding:8px 12px;cursor:pointer;white-space:nowrap}.voice-play:hover{border-color:var(--accent)}.voice-play:disabled{opacity:.7;cursor:default}.phone-wrap{display:flex;gap:8px;align-items:stretch}.phone-wrap .auth-input{flex:1;min-width:0}.phone-cc{display:flex;align-items:center;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg, var(--surface-2));color:var(--text-muted);font-size:14px;font-weight:600;white-space:nowrap}.auth-card .auth-input{margin-bottom:16px}.auth-btn{background:var(--cta-bg);color:var(--cta-text);border:none;border-radius:var(--radius-pill);padding:12px 20px;font-size:14.5px;font-weight:600;cursor:pointer;box-shadow:var(--shadow);transition:background .15s,transform .05s}.auth-btn:hover{background:var(--cta-hover)}.auth-btn:active{transform:translateY(1px)}.auth-btn:disabled{opacity:.6;cursor:default;box-shadow:none}.auth-toggle{background:none;border:none;color:var(--accent-hover);font-size:13px;font-weight:600;cursor:pointer;margin-top:18px;padding:4px}.auth-toggle:hover{text-decoration:underline}.auth-error,.error-box{background:var(--danger-soft);border:1px solid var(--danger-border);color:var(--danger);padding:11px 14px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:16px}.auth-notice,.info-banner{background:var(--accent-soft);border:1px solid rgba(249,115,22,.3);color:#9a3412;padding:11px 14px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:16px}.info-banner{margin-bottom:22px}.demo-banner{background:var(--accent-soft);border:1px solid rgba(249,115,22,.3);color:#9a3412;padding:11px 16px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:22px}.onboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.onboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;margin-bottom:4px}.onboard-field{display:flex;flex-direction:column;margin-bottom:16px}.onboard-textarea{min-height:84px;resize:vertical;line-height:1.5}.onboard-submit{width:100%;margin-top:8px}.layout{display:flex;min-height:100vh}.sidebar{width:272px;background:var(--sidebar-bg);color:var(--sidebar-text);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:22px 16px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;margin-bottom:30px;padding:0 4px}.brand-name{font-weight:700;font-size:16px;color:var(--text)}.brand-tag{font-size:12px;color:var(--text-faint)}.sidebar-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin:6px 8px 12px}.biz-list{display:flex;flex-direction:column;gap:4px;flex:1;overflow-y:auto}.biz-item{text-align:left;background:transparent;border:none;color:var(--sidebar-text);padding:10px 11px;border-radius:var(--radius-sm);cursor:pointer;display:flex;align-items:center;gap:11px;transition:background .12s}.biz-item:hover{background:#18181b0d}.biz-item.active{background:#ececeb;color:var(--text)}.biz-avatar{width:32px;height:32px;border-radius:9px;background:var(--accent-grad);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}.biz-text{display:flex;flex-direction:column;gap:1px;min-width:0}.biz-name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.biz-industry{font-size:12px;opacity:.75}.sidebar-foot{font-size:11px;color:var(--text-faint);padding:14px 8px 2px;border-top:1px solid var(--border);margin-top:12px}.content{flex:1;padding:22px 32px 48px;max-width:1120px;width:100%}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.topbar-user{display:flex;align-items:center;gap:10px;min-width:0}.role-badge{font-size:12px;font-weight:700;padding:4px 11px;border-radius:var(--radius-pill);background:var(--accent-softer);color:var(--accent-hover);flex-shrink:0}.topbar-email{font-size:14px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-btn{background:var(--surface);border:1px solid var(--border);color:var(--text-muted);padding:8px 14px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;transition:background .12s;flex-shrink:0}.logout-btn:hover:not(:disabled){background:var(--surface-2)}.logout-btn:disabled{opacity:.6;cursor:default}.menu-toggle{display:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);width:40px;height:40px;font-size:18px;cursor:pointer;align-items:center;justify-content:center;flex-shrink:0}.sidebar-overlay{display:none}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:26px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{display:flex;align-items:center;gap:7px;background:none;border:none;border-bottom:2px solid transparent;padding:11px 15px;font-size:14px;font-weight:600;color:var(--text-muted);cursor:pointer;margin-bottom:-1px;white-space:nowrap;transition:color .12s}.tab-icon{display:inline-flex;color:var(--text-faint)}.tab:hover{color:var(--text)}.tab.active{color:var(--accent-hover);border-bottom-color:var(--accent)}.tab.active .tab-icon{color:var(--accent)}.page-head{display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}.page-head h1{font-size:27px;font-weight:800;margin:0}.status-pill{font-size:12px;font-weight:600;padding:4px 11px;border-radius:var(--radius-pill);background:var(--border);color:var(--text-muted);text-transform:capitalize}.status-pill.active{background:var(--success-soft);color:var(--success)}.status-pill.trial{background:var(--accent-softer);color:var(--accent-hover)}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:14px;margin-bottom:26px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-sm);transition:transform .14s,box-shadow .14s}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.stat-icon.orange{background:var(--accent-soft);color:var(--accent)}.stat-icon.blue{background:#60a5fa24;color:#2563eb}.stat-icon.red{background:var(--danger-soft);color:var(--danger)}.stat-icon.green{background:var(--success-soft);color:var(--success)}.stat-icon.violet{background:#a78bfa26;color:#7c3aed}.stat-value{font-size:32px;font-weight:800;line-height:1;letter-spacing:-.03em}.stat-label{font-size:13px;color:var(--text-muted);margin-top:8px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow-sm);margin-bottom:18px}.panel h2{font-size:16px;font-weight:700;margin:0 0 16px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:34px 16px}.empty-icon{width:56px;height:56px;border-radius:16px;background:var(--accent-soft);color:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:14px}.empty-title{font-weight:700;font-size:15px;margin:0 0 4px}.empty-sub{color:var(--text-muted);font-size:13.5px}.table-scroll{overflow-x:auto;margin:0 -6px}.calls-table{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}.calls-table th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-faint);padding:8px 12px;border-bottom:1px solid var(--border)}.calls-table td{padding:13px 12px;border-bottom:1px solid var(--surface-2);vertical-align:top}.calls-table tr:last-child td{border-bottom:none}.summary-cell{color:var(--text-muted);max-width:380px}.when-cell{color:var(--text-faint);white-space:nowrap}.call-status{font-size:12px;font-weight:600;padding:3px 10px;border-radius:var(--radius-pill);background:var(--border);color:var(--text-muted);white-space:nowrap}.call-status.completed{background:var(--success-soft);color:var(--success)}.call-status.missed{background:var(--danger-soft);color:var(--danger)}.call-status.transferred{background:var(--accent-soft);color:var(--accent)}.call-sentiment{font-size:15px;line-height:1;cursor:default}.fields-chips{display:flex;flex-wrap:wrap;gap:8px}.chip-x{border:none;background:none;color:inherit;font-size:11px;font-weight:700;cursor:pointer;padding:0 0 0 2px}.empty-hint{color:var(--text-faint);font-size:14px;padding:10px 4px}.settings-hint{color:var(--text-muted);font-size:14px;margin:8px 0 20px}h1+.settings-hint,h2+.settings-hint,h3+.settings-hint,h4+.settings-hint,.page-head+.settings-hint{margin-top:-6px}.call-transcript+.auth-btn{margin-top:12px}.auth-input+.settings-hint{margin-top:8px}.billing-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.billing-grid .panel{margin-bottom:0}.plan-name{font-size:14px;font-weight:700;color:var(--accent-hover)}.plan-price{font-size:33px;font-weight:800;letter-spacing:-.03em;margin:4px 0 14px}.plan-per{font-size:14px;font-weight:400;color:var(--text-faint)}.plan-features{list-style:none;padding:0;margin:0 0 18px;color:var(--text-muted);font-size:14px}.plan-features li{padding:7px 0;border-bottom:1px solid var(--surface-2)}.usage-row{display:flex;justify-content:space-between;font-size:14px;color:var(--text-muted);padding:9px 0}.usage-bar{height:9px;background:var(--surface-2);border-radius:var(--radius-pill);overflow:hidden;margin:4px 0 10px}.usage-bar-fill{height:100%;background:var(--accent-grad);border-radius:var(--radius-pill)}.bill-row{display:flex;justify-content:space-between;font-size:14px;color:var(--text-muted);padding:11px 0;border-bottom:1px solid var(--surface-2)}.bill-total{font-weight:700;font-size:16px;color:var(--text);border-bottom:none;padding-top:14px}.billing-intro{margin:-6px 0 14px;max-width:640px}.billing-fineprint{margin-top:14px;font-size:12.5px}.cycle-toggle{display:inline-flex;background:var(--surface-2);border-radius:var(--radius-pill);padding:3px;margin-bottom:16px}.cycle-toggle button{border:none;background:transparent;color:var(--text-muted);font-size:13.5px;font-weight:600;padding:7px 14px;border-radius:var(--radius-pill);cursor:pointer}.cycle-toggle button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.cycle-save{margin-left:6px;font-size:11.5px;font-weight:700;color:var(--accent-hover)}.plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.plan-card{border:1px solid var(--border);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;background:var(--surface)}.plan-card.current{border-color:var(--accent-hover)}.plan-card-name{font-size:13px;font-weight:700;color:var(--accent-hover)}.plan-card-price{font-size:26px;font-weight:800;letter-spacing:-.03em;margin:4px 0 0}.plan-card-sub{font-size:12px;color:var(--text-faint);margin-top:2px}.plan-features.small{font-size:13px;margin:10px 0 14px;flex:1}.plan-features.small li{padding:5px 0}.plan-card .auth-btn,.plan-card .logout-btn{width:100%;margin-top:auto;white-space:nowrap;font-size:14px;padding:11px 8px;text-align:center}.plan-cycle-tag{margin-left:8px;font-size:11px;font-weight:700;color:var(--text-muted);background:var(--surface-2);padding:2px 8px;border-radius:var(--radius-pill);vertical-align:middle}.billing-status{font-size:13.5px;color:var(--text-muted);margin:-6px 0 12px}.billing-status.ok{color:var(--text)}.billing-status.warn{color:#b45309;font-weight:600}.billing-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.billing-confirm{font-size:13.5px;color:var(--text-muted)}.billing-cancel{color:var(--text-faint)}.wizard-steps{display:flex;gap:18px;margin:6px 0 22px;flex-wrap:wrap}.wizard-step{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:600;color:var(--text-faint)}.wizard-step.active{color:var(--text)}.wizard-dot{width:22px;height:22px;border-radius:50%;background:var(--surface-2);color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700}.wizard-step.active .wizard-dot{background:var(--accent-grad);color:#fff}.site-chip{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.site-chip-url{font-weight:400;font-size:12.5px;color:var(--text-faint)}.page-list-head{display:flex;justify-content:space-between;font-size:13.5px;color:var(--text-muted);margin-bottom:8px}.link-btn{background:none;border:none;color:var(--accent-hover);font-size:13.5px;font-weight:600;cursor:pointer;padding:0}.link-btn:hover{text-decoration:underline}.page-list{border:1px solid var(--border);border-radius:var(--radius-sm);max-height:300px;overflow-y:auto;margin-bottom:18px}.page-item{display:flex;align-items:flex-start;gap:11px;padding:11px 14px;border-bottom:1px solid var(--surface-2);cursor:pointer}.page-item:last-child{border-bottom:none}.page-item-disabled{opacity:.45;cursor:not-allowed}.page-limit-note{color:var(--text-faint)}.page-item:hover{background:var(--surface-2)}.page-item input{margin-top:3px;accent-color:var(--accent)}.page-item-text{display:flex;flex-direction:column;gap:2px;min-width:0}.page-item-title{font-size:14px;font-weight:600}.page-item-url{font-size:12px;color:var(--text-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rec-badge{font-size:11px;font-weight:600;background:var(--accent-softer);color:var(--accent-hover);border-radius:var(--radius-pill);padding:2px 8px;margin-left:6px}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.wizard-actions .auth-btn{padding:11px 22px}.build-progress{border:1px solid var(--border);border-radius:var(--radius);padding:30px 26px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.spinner{width:34px;height:34px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--accent);animation:spin .9s linear infinite;align-self:center;margin-bottom:8px}@keyframes spin{to{transform:rotate(360deg)}}.progress-row{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-faint)}.progress-row.active{color:var(--text);font-weight:600}.progress-row.done{color:var(--success)}.progress-icon{width:20px;text-align:center}.kb-textarea{min-height:110px}.prompt-preview{margin:4px 0 8px}.prompt-textarea{min-height:240px;margin-top:10px;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:12.5px;line-height:1.55}.biz-list-short{flex:0 0 auto;max-height:180px;margin-bottom:10px}.page-nav{display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}.page-nav-item{display:flex;align-items:center;gap:11px;background:transparent;border:none;color:var(--sidebar-text);padding:9px 12px;border-radius:var(--radius-sm);font-size:14px;font-weight:500;cursor:pointer;transition:background .12s}.page-nav-item:hover{background:#18181b0d}.page-nav-item.active{background:#ececeb;color:var(--text);font-weight:600}.page-nav-icon{display:inline-flex;opacity:.85}.page-nav-item.active .page-nav-icon{color:var(--accent);opacity:1}.agent-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.agent-grid .panel{margin-bottom:0}.agent-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--surface-2);font-size:14px}.agent-row:last-child{border-bottom:none}.agent-key{color:var(--text-muted)}.agent-voice{max-width:230px;padding:8px 10px}.agent-greeting{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 10px}.agent-empty h2{margin-top:0}.rebuild-row{display:flex;gap:10px}.rebuild-btn{white-space:nowrap;padding:11px 18px}.agent-status{display:flex;align-items:center;gap:14px}.agent-status-icon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--accent-soft);color:var(--accent)}.agent-status.ok .agent-status-icon{background:var(--success-soft);color:var(--success)}.agent-status-btn{margin-left:auto;white-space:nowrap}.checklist-count{font-size:12px;font-weight:700;color:var(--accent-hover);background:var(--accent-softer);border-radius:var(--radius-pill);padding:2px 9px;margin-left:6px}.check-row{display:flex;align-items:center;gap:10px;width:100%;background:none;border:none;text-align:left;padding:7px 4px;font-size:14px;color:var(--text);cursor:pointer;border-radius:8px}.check-row:hover{background:var(--surface-2)}.check-row.done{color:var(--text-faint);text-decoration:line-through}.check-dot{width:20px;height:20px;border-radius:50%;border:2px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}.check-row.done .check-dot{background:var(--success);border-color:var(--success);color:#fff}.panel-head-row{display:flex;justify-content:space-between;align-items:baseline}.calls-search{margin-bottom:16px;max-width:460px}.calls-list{display:flex;flex-direction:column;gap:10px}.call-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);overflow:hidden}.call-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;background:none;border:none;padding:14px 16px;cursor:pointer;text-align:left;font-size:14px;color:var(--text)}.call-card-who{display:flex;flex-direction:column;gap:2px;min-width:0}.call-card-when{font-size:12.5px;color:var(--text-faint)}.call-card-meta{display:flex;align-items:center;gap:12px;flex-shrink:0}.call-card-dur{color:var(--text-muted);font-size:13px;min-width:48px;text-align:right}.call-card-caret{color:var(--text-faint)}.call-card-body{border-top:1px solid var(--surface-2);padding:14px 16px 16px}.call-section{margin-bottom:14px}.call-section:last-child{margin-bottom:0}.call-section-title{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-faint);margin-bottom:6px}.call-section p{margin:0;font-size:14px;color:var(--text-muted)}.call-transcript{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;font-family:inherit;font-size:13.5px;line-height:1.6;white-space:pre-wrap;margin:0;max-height:320px;overflow-y:auto}.call-audio{width:100%;max-width:420px}.kv-editor{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;margin-bottom:12px;display:flex;flex-direction:column;gap:8px;background:var(--surface-2)}.kv-answer{min-height:60px}.kv-remove{align-self:flex-end;color:var(--danger)}.msg-filters{display:flex;gap:8px;margin-bottom:16px}.msg-filter{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);padding:7px 16px;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer}.msg-filter.active{background:var(--accent-grad);border-color:transparent;color:#fff}.msg-row{display:flex;justify-content:space-between;gap:14px;padding:14px 16px}.msg-main{min-width:0}.msg-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;margin-bottom:6px}.msg-chip{font-size:10.5px;font-weight:700;letter-spacing:.04em;padding:2px 8px;border-radius:var(--radius-pill);background:#60a5fa24;color:#2563eb}.msg-chip.email{background:#a78bfa26;color:#7c3aed}.msg-chip.type{background:var(--accent-softer);color:var(--accent-hover)}.msg-dir{font-size:12px;color:var(--text-faint)}.msg-body{margin:0;font-size:13.5px;color:var(--text-muted);line-height:1.5}.msg-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.bars{display:flex;align-items:flex-end;gap:3px;height:180px;padding-top:8px}.bar-col{flex:1;height:100%;display:flex;align-items:flex-end}.bar{width:100%;min-height:2px;background:var(--accent-grad);border-radius:3px 3px 0 0;position:relative;overflow:hidden}.bar-missed{position:absolute;bottom:0;left:0;right:0;background:var(--danger);opacity:.85}.bars-legend{display:flex;gap:18px;align-items:center;margin-top:12px;font-size:12.5px;color:var(--text-muted)}.legend-swatch{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}.legend-swatch.answered{background:var(--accent)}.legend-swatch.missed{background:var(--danger)}.bars-range{margin-left:auto;color:var(--text-faint)}.conn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(258px,100%),1fr));gap:14px;margin-bottom:18px}.conn-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:transform .14s,box-shadow .14s}.conn-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.conn-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.conn-logo{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--surface-2);color:var(--text-faint);flex-shrink:0}.conn-logo.on{background:var(--accent-soft);color:var(--accent-hover)}.conn-card-name{font-size:14.5px;font-weight:700}.conn-card-desc{font-size:13px;color:var(--text-muted);margin-top:4px;line-height:1.5}.conn-card-foot{margin-top:auto;padding-top:13px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.conn-card-detail{font-size:12.5px;color:var(--text-muted);overflow-wrap:anywhere}.provider-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:14px}.provider-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);transition:border-color .14s,box-shadow .14s}.provider-card:hover{border-color:var(--text-faint);box-shadow:var(--shadow-sm)}.provider-card.is-connected{background:var(--surface-2)}.provider-logo{display:flex;align-items:center;justify-content:center;flex-shrink:0}.provider-main{min-width:0;flex:1}.provider-name{font-size:14.5px;font-weight:700}.provider-sub{font-size:12.5px;color:var(--text-muted);margin-top:3px;line-height:1.5}.provider-btn{flex-shrink:0;padding:9px 20px;font-size:13.5px;text-decoration:none;white-space:nowrap}.provider-setup{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.panel-logo{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:var(--surface-2);color:var(--text-muted);margin-right:10px;vertical-align:middle;flex-shrink:0}.conn-row{display:flex;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid var(--surface-2)}.conn-row:last-child{border-bottom:none}.conn-main{min-width:0}.conn-name{font-size:14.5px;font-weight:700;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.conn-desc{font-size:13px;color:var(--text-muted);margin-top:3px}.zap-connect{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px;margin-top:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.event-list{list-style:none;margin:12px 0 16px;font-size:13px;color:var(--text-muted);line-height:1.6}.event-list li{padding:2px 0}.event-list code{background:var(--surface-2);border-radius:4px;padding:1px 6px;font-size:12.5px;color:var(--text)}.meter{height:8px;border-radius:var(--radius-pill);background:var(--surface-2);overflow:hidden}.meter-fill{height:100%;background:var(--success);border-radius:var(--radius-pill);transition:width .4s ease}.meter-fill.near{background:var(--accent)}.meter-fill.over{background:var(--danger)}.conn-alert{background:var(--danger-soft);border:1px solid var(--danger-border);border-radius:var(--radius-sm);padding:14px 16px;margin-bottom:16px;font-size:13.5px;line-height:1.55;color:var(--text)}.conn-alert strong{color:var(--danger)}.conn-chip{font-size:11px;font-weight:700;padding:3px 9px;border-radius:var(--radius-pill);background:var(--surface-2);color:var(--text-muted)}.conn-chip.on{background:var(--success-soft);color:var(--success-text)}.conn-chip.pending{background:#fff7e6;color:#b45309}.conn-chip.warn{background:#fdecec;color:#b42318}.texting-steps{margin:8px 0 14px;padding-left:22px;color:var(--text-muted);font-size:14px;line-height:1.55}.texting-steps li{margin:6px 0}.texting-steps b{color:var(--text)}.texting-form{margin-top:14px}.texting-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin:10px 0 14px}.texting-grid label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:var(--text-muted)}.texting-grid label.span2{grid-column:1 / -1}.texting-grid .auth-input{width:100%}@media(max-width:720px){.texting-grid{grid-template-columns:1fr}}.conn-detail{font-size:13px;color:var(--text-faint);text-align:right;max-width:40%;flex-shrink:0}.fwd-table td:first-child{font-weight:600}.fwd-code{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:13px;background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:2px 7px;white-space:nowrap}.fwd-code em{font-style:normal;font-weight:700;color:var(--accent)}.fwd-code em.fwd-placeholder{font-style:italic;font-weight:500;color:var(--text-faint)}.fwd-note{margin-top:12px}.fwd-steps{margin:0;padding-left:20px;font-size:14px;display:grid;gap:8px}@media(max-width:900px){.menu-toggle{display:flex}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:60;transform:translate(-100%);transition:transform .22s ease}.sidebar.open{transform:translate(0);box-shadow:var(--shadow-lg)}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:55}.content{padding:18px 18px 40px;max-width:100%}}@media(max-width:620px){.billing-grid,.onboard-grid,.agent-grid{grid-template-columns:1fr}.rebuild-row{flex-direction:column}.conn-row{flex-direction:column;gap:6px}.conn-detail{text-align:left;max-width:100%}.conn-grid{grid-template-columns:1fr}.provider-card{flex-wrap:wrap}.provider-main{flex-basis:calc(100% - 52px)}.provider-btn{width:100%;text-align:center}.auth-card,.onboard-card{padding:26px 20px}.auth-page,.onboard-page{padding:24px 14px}.page-head h1{font-size:22px}.stat-value{font-size:27px}}.switch{position:relative;display:inline-block;width:44px;height:26px;flex-shrink:0}.switch input{opacity:0;width:0;height:0}.switch .slider-pill{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--surface-2);border:1px solid var(--border);border-radius:999px;cursor:pointer;transition:background .15s ease}.switch .slider-pill:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .15s ease}.switch input:checked+.slider-pill{background:var(--accent);border-color:var(--accent)}.switch input:checked+.slider-pill:before{transform:translate(18px)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#18181b73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:200;animation:modal-fade .12s ease-out}.modal-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 18px 48px #0000002e;padding:22px 24px 18px;width:100%;max-width:440px;animation:modal-rise .14s ease-out}.modal-title{margin:0 0 8px;font-size:17px;font-weight:650;color:var(--text)}.modal-body{margin:0 0 18px;font-size:14px;line-height:1.55;color:var(--text-muted)}.modal-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.modal-actions .auth-btn{width:auto;min-width:108px;margin:0}.modal-danger{background:#b91c1c!important;border-color:#b91c1c!important;color:#fff!important}@keyframes modal-fade{0%{opacity:0}to{opacity:1}}@keyframes modal-rise{0%{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}.slider-note{display:block;margin-top:4px;font-size:12px;line-height:1.45;color:var(--text-muted)}.field-warn{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#b45309;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:7px 10px}.modal-field{display:block;margin:0 0 18px}.modal-field span{display:block;margin-bottom:6px;font-size:13px;font-weight:550;color:var(--text)}.modal-actions .auth-btn:disabled{opacity:.45;cursor:not-allowed}.modal-req{display:inline-block;margin:6px 0 2px;padding:3px 8px;border-radius:6px;background:var(--surface-2);border:1px solid var(--border);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;font-weight:600;color:var(--text);-webkit-user-select:all;user-select:all;word-break:break-word}.modal-req-note{display:block;margin:4px 0 2px;font-size:12px;font-style:normal;font-weight:400;color:var(--text-muted)}.panel-heading{font-size:15px;font-weight:650;color:var(--text);margin:0 0 14px}.page-head .head-action{margin-left:auto}.support-row{display:flex;align-items:flex-start;gap:14px;width:100%;padding:14px 16px;text-align:left;cursor:pointer;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);transition:background .15s ease,box-shadow .15s ease}.support-row:hover{background:var(--surface-2);box-shadow:var(--shadow)}.support-row-main{flex:1;min-width:0}.support-subject{font-size:14.5px;font-weight:600;color:var(--text);line-height:1.35;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.support-when{font-size:12px;color:var(--text-faint);white-space:nowrap;flex-shrink:0}.support-chip{font-size:11px;font-weight:600;padding:2px 9px;border-radius:var(--radius-pill);border:1px solid var(--border);color:var(--text-muted);background:var(--surface-2);white-space:nowrap}.support-chip.open{color:var(--accent-hover);border-color:var(--accent-softer);background:var(--accent-soft)}.support-chip.waiting_on_customer{color:var(--text-muted);border-color:var(--border);background:var(--surface-2)}.support-chip.resolved{color:var(--success);border-color:var(--success-soft);background:var(--success-soft)}.support-chip.pri-urgent{color:var(--danger);border-color:var(--danger-border);background:var(--danger-soft)}.support-chip.unread{color:var(--cta-text);background:var(--cta-bg);border-color:var(--cta-bg)}.support-thread{display:flex;flex-direction:column;gap:12px;max-height:52vh;overflow-y:auto;padding:4px 2px 14px;margin-bottom:14px}.support-bubble{max-width:80%;padding:11px 14px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface)}.support-bubble.owner{align-self:flex-end;background:var(--surface-2)}.support-bubble.support{align-self:flex-start;border-color:var(--accent-softer);background:var(--accent-soft)}.support-bubble-who{font-size:11px;font-weight:650;color:var(--text-muted);margin-bottom:4px}.support-bubble-body{font-size:14px;line-height:1.55;color:var(--text);white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere}.support-bubble-body.folded{display:-webkit-box;-webkit-line-clamp:12;line-clamp:12;-webkit-box-orient:vertical;overflow:hidden}.support-more{margin-top:6px;font-size:12.5px}.support-bubble-when{font-size:11px;color:var(--text-faint);margin-top:6px}.support-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.support-actions .auth-btn{max-width:200px;margin:0}.support-context{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.support-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.support-file{display:block;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;line-height:0;background:var(--surface-2)}.support-file img{display:block;width:128px;height:96px;object-fit:cover}.support-file:hover{border-color:var(--accent)}.support-attach-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.support-attach-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:550;color:var(--text-muted);background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius-sm);padding:8px 13px;cursor:pointer}.support-attach-btn:hover{color:var(--text);border-color:var(--accent);background:var(--accent-soft)}.support-pending{display:flex;gap:8px;flex-wrap:wrap}.support-pending-item{position:relative;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;line-height:0}.support-pending-item img{display:block;width:72px;height:56px;object-fit:cover}.support-pending-item button{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:var(--radius-pill);border:0;background:#18181bb8;color:#fff;font-size:13px;line-height:1;cursor:pointer}@media(max-width:720px){.support-row{flex-direction:column;gap:8px;padding:13px 14px}.support-subject{white-space:normal}.support-bubble{max-width:100%}.support-thread{max-height:none}.support-actions{flex-direction:column-reverse;align-items:stretch}.support-actions .auth-btn{max-width:100%}.support-actions .link-btn{text-align:center}.page-head .head-action{margin-left:0;width:100%}.support-file img{width:104px;height:78px}}.nav-badge{margin-left:auto;min-width:20px;padding:1px 6px;border-radius:var(--radius-pill);background:var(--danger);color:#fff;font-size:11px;font-weight:700;text-align:center;line-height:18px}.support-ref{font-size:11px;font-weight:600;color:var(--text-faint);font-variant-numeric:tabular-nums}.support-alert{display:flex;align-items:center;gap:11px;width:100%;text-align:left;cursor:pointer;background:var(--accent-soft);border:1px solid var(--accent-softer);border-radius:var(--radius-sm);padding:12px 15px;margin-bottom:20px;font-size:13.5px;color:var(--text);font-family:inherit}.support-alert:hover{border-color:var(--accent)}.support-alert-dot{width:9px;height:9px;border-radius:var(--radius-pill);background:var(--danger);flex-shrink:0}.support-alert-go{margin-left:auto;color:var(--accent-hover);font-weight:700}.health-dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px;background:var(--success)}.health-dot.warn{background:var(--accent)}.health-dot.down{background:var(--danger)}.health-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--success-soft);margin-bottom:20px}.health-banner.warn{background:var(--accent-soft)}.health-banner.down{background:var(--danger-soft);border-color:var(--danger-border)}.health-banner-sub{font-size:13px;color:var(--text-muted);margin-top:2px}.health-section{margin-bottom:20px}.health-cached{font-size:12px;font-weight:400;color:var(--text-muted);margin-left:10px}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.health-tile{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;background:var(--surface)}.health-tile.warn{border-color:var(--accent);background:var(--accent-soft)}.health-tile.down{border-color:var(--danger-border);background:var(--danger-soft)}.health-tile-head{display:flex;align-items:center;gap:8px}.health-tile-name{font-weight:600;font-size:14px}.health-tile-detail{font-size:12.5px;color:var(--text-muted);margin-top:5px;overflow-wrap:anywhere}.health-row{border:1px solid var(--border);border-radius:var(--radius-sm);margin-top:10px;overflow:hidden}.health-row.down{border-color:var(--danger-border)}.health-row-head{display:flex;align-items:center;gap:10px;width:100%;padding:13px 14px;background:none;border:0;cursor:pointer;text-align:left;font:inherit;color:inherit}.health-row-head:hover{background:var(--surface-2)}.health-row-name{font-weight:600;font-size:14.5px}.health-row-summary{margin-left:auto;font-size:12.5px;color:var(--text-muted)}.health-row-caret{color:var(--text-faint);font-size:12px}.health-chip{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--surface-2);border-radius:var(--radius-pill);padding:2px 8px}.health-checks{list-style:none;margin:0;padding:0 14px 12px}.health-checks li{display:flex;align-items:baseline;gap:9px;padding:6px 0;border-top:1px solid var(--border);font-size:13px}.health-check-label{min-width:130px;color:var(--text)}.health-check-detail{color:var(--text-muted);overflow-wrap:anywhere}@media(max-width:720px){.health-row-head{flex-wrap:wrap}.health-row-summary{margin-left:0;width:100%}.health-checks li{flex-direction:column;gap:2px}.health-check-label{min-width:0;font-weight:600}}.health-incidents{list-style:none;margin:0 0 14px;padding:0}.health-incidents li{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid var(--border)}.health-incidents li:last-child{border-bottom:0}.health-incidents .health-dot{margin-top:5px}.health-incident-body{min-width:0}.health-incident-msg{font-weight:600;font-size:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.health-incident-detail{font-size:13px;color:var(--text-muted);margin-top:3px;overflow-wrap:anywhere}.health-incident-when{font-size:12px;color:var(--text-muted);margin-top:4px}.gap-panel{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);padding:14px 16px;margin-bottom:18px}.gap-panel-head{margin:0 0 8px;font-weight:600;font-size:14px}.gap-panel ul{margin:0;padding-left:18px}.gap-panel li{font-size:13px;line-height:1.55;color:var(--text-muted);margin-bottom:6px}.gap-panel li:last-child{margin-bottom:0}.gap-panel li strong{color:var(--text)}.hours-echo{margin:6px 0 0;font-size:12.5px;line-height:1.5}.hours-echo.ok{color:var(--text-muted)}.hours-echo.bad{color:var(--danger)}.agent-grid{align-items:start}.lang-confirm{margin-top:10px;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.lang-confirm .hours-echo,.lang-confirm .settings-hint{margin-top:0}.lang-confirm .rebuild-row{margin-top:10px}.slider-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;margin-bottom:14px}.slider-grid .slider-row{margin-bottom:8px;min-width:0}.slider-grid .slider-note{display:block;font-size:12px;line-height:1.45;color:var(--text-muted)}@media(max-width:900px){.slider-grid{grid-template-columns:1fr}}.agent-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;margin-bottom:18px}.agent-col{display:flex;flex-direction:column;gap:18px;min-width:0}.agent-col .panel{margin-bottom:0}@media(max-width:900px){.agent-layout{grid-template-columns:1fr}}.agent-status{grid-column:1 / -1}.setting-group{margin-bottom:22px}.setting-group-title{font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin:0 0 10px}.panel-head{display:flex;align-items:flex-start;gap:11px;margin-bottom:14px}.panel-head-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent)}.panel-head-text{min-width:0}.panel-head-text h3{margin:0;font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.panel-head-text p{margin:3px 0 0;font-size:13px;line-height:1.5;color:var(--text-muted)}.setting-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:12px}.setting-card>summary{display:flex;align-items:flex-start;gap:11px;padding:16px 18px;cursor:pointer;list-style:none}.setting-card>summary::-webkit-details-marker{display:none}.setting-card>summary::marker{content:""}.setting-card>summary:hover{background:var(--surface-2);border-radius:var(--radius)}.setting-card>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:var(--radius)}.setting-card>summary .panel-head-text{flex:1}.setting-card-caret{flex:0 0 auto;margin-top:7px;width:8px;height:8px;border-right:2px solid var(--text-faint);border-bottom:2px solid var(--text-faint);transform:rotate(45deg);transition:transform .15s ease}.setting-card[open]>summary .setting-card-caret{transform:rotate(-135deg)}.setting-card[open]>summary{border-bottom:1px solid var(--border);border-radius:var(--radius) var(--radius) 0 0}.setting-card-body{padding:16px 18px 18px}.setting-card-body>.panel{border:0;box-shadow:none;padding:0;margin:0;background:none}.conn-row-stack{display:block}.blocked-panel{margin-top:14px}.blocked-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:start}.blocked-fields .auth-btn{width:auto;min-width:110px}.blocked-list{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid var(--border)}.blocked-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid var(--border)}.blocked-who{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap}.blocked-reason{color:var(--text-muted);font-size:13px}.blocked-meta{display:flex;align-items:center;gap:14px;flex-shrink:0}.blocked-when{color:var(--text-muted);font-size:13px}@media(max-width:720px){.blocked-fields{grid-template-columns:1fr}.blocked-fields .auth-btn{width:100%}.blocked-list li{flex-direction:column;align-items:flex-start;gap:6px}}.screening-row{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin-bottom:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2, transparent);cursor:pointer}.screening-row input{margin-top:3px;flex-shrink:0}.screening-row>span{display:flex;flex-direction:column;gap:3px;min-width:0}.screening-note{color:var(--text-muted);font-size:13px}.conn-sub{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}.conn-sub-title{font-size:15px;font-weight:650;margin:0 0 6px}.waitlist-list{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--border)}.waitlist-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid var(--border)}.waitlist-who{display:flex;flex-direction:column;gap:2px;min-width:0}.waitlist-wanted{color:var(--text-muted);font-size:13px}.waitlist-contact{color:var(--text-faint);font-size:12.5px}.waitlist-meta{display:flex;align-items:center;gap:14px;flex-shrink:0}.waitlist-since{color:var(--text-muted);font-size:13px}@media(max-width:720px){.waitlist-list li{flex-direction:column;align-items:flex-start;gap:6px}}.price-rows{list-style:none;margin:12px 0;padding:0;border-top:1px solid var(--border)}.price-rows li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid var(--border)}.price-row-main{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;min-width:0}.price-row-price{font-variant-numeric:tabular-nums;font-weight:600}.price-row-note{color:var(--text-muted);font-size:13px}.price-add{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1.1fr) auto;gap:10px;align-items:start}.price-add .auth-btn{width:auto;min-width:92px}@media(max-width:860px){.price-add{grid-template-columns:1fr}.price-add .auth-btn{width:100%}.price-rows li{flex-direction:column;align-items:flex-start;gap:6px}}.series-list{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--border)}.series-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px;border-bottom:1px solid var(--border)}.series-who{display:flex;flex-direction:column;gap:2px;min-width:0}.series-rule{color:var(--text-muted);font-size:13px}.series-next{color:var(--text-faint);font-size:12.5px}@media(max-width:720px){.series-list li{flex-direction:column;align-items:flex-start;gap:6px}}.lead-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.lead-filters{display:flex;gap:6px;flex-wrap:wrap}.lead-filter{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:999px;padding:6px 14px;font-size:13px;cursor:pointer}.lead-filter.active{background:var(--cta-bg, #18181b);border-color:var(--cta-bg, #18181b);color:var(--cta-text, #fff)}.lead-search{max-width:240px}.lead-table .lead-row{cursor:pointer}.lead-table .lead-row:hover td{background:var(--surface-hover, rgba(0, 0, 0, .02))}.lead-name{font-weight:600}.lead-phone{font-size:12px;color:var(--text-muted);margin-top:2px}.lead-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;border-radius:6px;padding:3px 8px}.lead-badge-hot{background:var(--danger-soft);color:var(--danger)}.lead-badge-warm{background:var(--accent-softer);color:var(--accent-hover)}.lead-badge-cold{background:var(--surface-2, #f4f4f5);color:var(--text-muted)}.lead-none{color:var(--text-muted)}.lead-score{font-weight:600}.lead-when{color:var(--text-muted);font-size:13px;white-space:nowrap}.lead-status{font-size:13px}.lead-status-booked{color:var(--success)}.lead-status-follow_up{color:var(--accent-hover)}.lead-status-cold{color:var(--text-muted)}.lead-detail td{background:var(--surface-2, #fafafa)}.lead-why{padding:10px 6px;font-size:13px}.lead-why ul{margin:8px 0 0 18px;display:grid;gap:4px}.lead-summary{margin-top:10px;color:var(--text-muted)}@media(max-width:720px){.lead-table th:nth-child(5),.lead-table td:nth-child(5){display:none}.lead-search{max-width:100%;width:100%}}.lead-src-badge{display:inline-block;margin-left:8px;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);border:1px solid var(--border);border-radius:5px;padding:1px 6px;vertical-align:2px}.chat-inbox-toolbar{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}.chat-inbox-toolbar .auth-input{max-width:340px}.chat-inbox-days{max-width:150px}.chat-inbox{display:grid;grid-template-columns:minmax(220px,320px) 1fr;gap:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;min-height:320px}.chat-inbox-list{border-right:1px solid var(--border);overflow-y:auto;max-height:560px}.chat-inbox-item{display:block;width:100%;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid var(--border);background:var(--surface);cursor:pointer;font:inherit;color:inherit}.chat-inbox-item:hover{background:var(--surface-2, #fafafa)}.chat-inbox-item.active{background:var(--accent-soft)}.chat-inbox-item-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.chat-inbox-when{font-size:12px;color:var(--text-muted);white-space:nowrap}.chat-inbox-preview{font-size:13px;color:var(--text-muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-inbox-pane{display:flex;flex-direction:column;min-width:0}.chat-inbox-pane-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border)}.chat-inbox-msgs{display:flex;flex-direction:column;gap:8px;padding:16px;overflow-y:auto;max-height:480px}.chat-bubble{max-width:78%;padding:8px 12px;border-radius:12px;font-size:14px}.chat-bubble.from-visitor{align-self:flex-end;background:var(--accent-soft)}.chat-bubble.from-ai{align-self:flex-start;background:var(--surface-2, #f4f4f5)}.chat-bubble-when{font-size:11px;color:var(--text-muted);margin-top:4px}@media(max-width:760px){.chat-inbox{grid-template-columns:1fr}.chat-inbox-list{border-right:0;border-bottom:1px solid var(--border);max-height:260px}}.chat-inbox-divider{align-self:center;font-size:12px;color:var(--text-muted);margin:10px 0 2px}.chat-pane-tools{display:flex;align-items:center;gap:10px}.chat-pane-search{max-width:200px;font-size:13px;padding:6px 10px}.chat-bubble mark{background:var(--accent-softer);border-radius:3px;padding:0 1px}.avatar-row{display:flex;align-items:center;gap:14px}.avatar-preview{width:48px;height:48px;border-radius:50%;overflow:hidden;flex:none;background:var(--accent-soft);color:var(--accent-hover);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px;border:1px solid var(--border)}.avatar-preview img{width:100%;height:100%;object-fit:cover}.avatar-upload{cursor:pointer}.install-banner{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:300;display:flex;align-items:center;gap:12px;background:var(--cta-bg);color:var(--cta-text);border-radius:var(--radius);padding:12px 14px;box-shadow:0 10px 34px #00000061}.install-banner img{width:40px;height:40px;border-radius:10px;flex:none}body.has-install-banner .content{padding-bottom:116px}.install-banner-text{flex:1;min-width:0}.install-banner-title{margin:0;font-size:14px;font-weight:600}.install-banner-sub{margin:2px 0 0;font-size:12.5px;line-height:1.35;color:#d4d4d8}.install-banner-btn{flex:none;border:none;cursor:pointer;background:var(--accent);color:#fff;border-radius:var(--radius-pill);padding:9px 16px;font-size:13.5px;font-weight:600}.install-banner-btn:hover{background:var(--accent-hover)}.install-banner-close{flex:none;background:none;border:none;cursor:pointer;color:#a1a1aa;font-size:20px;line-height:1;padding:4px 6px}.install-guide{position:fixed;top:0;right:0;bottom:0;left:0;z-index:310;background:#0000008c;display:flex;align-items:flex-end;justify-content:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.install-guide-card{background:var(--cta-bg);color:var(--cta-text);border-radius:var(--radius);padding:22px 20px;width:100%;max-width:420px;box-shadow:0 14px 44px #00000080}.install-guide-card h3{margin:12px 0 4px;font-size:18px}.ig-note{margin:6px 0;font-size:13px;line-height:1.45;color:#d4d4d8}.ig-steps{list-style:none;margin:14px 0;padding:0;display:grid;gap:12px}.ig-steps li{display:flex;align-items:center;gap:12px;background:#ffffff12;border-radius:var(--radius-sm);padding:12px 14px;font-size:14.5px;line-height:1.4}.ig-icon{width:28px;height:28px;flex:none;color:var(--accent)}.ig-done{width:100%;margin-top:6px;padding:12px 16px}.draft-banner{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fffbeb;border:1px solid #fde68a;border-left:3px solid #f59e0b;border-radius:var(--radius);padding:14px 16px;margin:0 0 20px;font-size:14.5px;color:#713f12}.draft-banner-text{flex:1 1 320px;line-height:1.5}.draft-banner-text strong{color:#78350f}.draft-banner-actions{display:flex;align-items:center;gap:12px;flex:none}.draft-banner .auth-btn{margin:0;padding:9px 16px;font-size:14px;white-space:nowrap}.draft-banner .link-btn{color:#92400e}@media(max-width:560px){.draft-banner-actions{width:100%}.draft-banner .auth-btn{flex:1}}.toast-wrap{position:fixed;left:50%;transform:translate(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:400;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;max-width:min(92vw,480px)}.toast{pointer-events:auto;cursor:pointer;background:var(--cta-bg);color:var(--cta-text);border-radius:var(--radius-pill);padding:11px 20px;font-size:14px;font-weight:500;line-height:1.4;box-shadow:0 8px 28px #00000047;opacity:0;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease;text-align:center}.toast-in{opacity:1;transform:translateY(0)}.toast-error{background:var(--danger);color:#fff}@media(prefers-reduced-motion:reduce){.toast{transition:opacity .25s ease;transform:none}}.widget-setup-grid{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start;margin-top:8px}@media(max-width:1100px){.widget-setup-grid{grid-template-columns:1fr}}.wprev-side{position:sticky;top:16px}.wprev-stage{background:#f4f4f2;border:1px solid var(--border);border-radius:var(--radius);padding:18px 18px 14px;display:flex;flex-direction:column;gap:12px}.wprev-panel{background:#0c0a09;border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:0 22px 60px #00000059;overflow:hidden;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.wprev-head{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:10px}.wprev-dot{flex:none;width:38px;height:38px;border-radius:50%;overflow:hidden;color:#1c0a00;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}.wprev-dot img{width:100%;height:100%;object-fit:cover}.wprev-htext{color:#fafaf9;font-weight:700;font-size:15px;line-height:1.2}.wprev-hsub{color:#a8a29e;font-size:12px;margin-top:1px;display:flex;align-items:center;gap:5px}.wprev-on{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 3px #34d3992e}.wprev-x{margin-left:auto;color:#a8a29e;font-size:20px;line-height:1}.wprev-msgs{padding:14px 14px 6px;display:flex;flex-direction:column;gap:9px;min-height:150px}.wprev-b{max-width:84%;padding:9px 13px;border-radius:16px;font-size:13.5px;line-height:1.45;box-shadow:0 1px 2px #0000002e}.wprev-bot{background:#ffffff12;color:#f5f5f4;align-self:flex-start;border-bottom-left-radius:4px}.wprev-me{color:#1c0a00;align-self:flex-end;border-bottom-right-radius:4px;font-weight:500}.wprev-typing{align-self:flex-start;display:flex;gap:4px;background:#ffffff12;border-radius:16px 16px 16px 4px;padding:11px 13px}.wprev-typing i{width:6px;height:6px;border-radius:50%;background:#d6d3d1;animation:wprev-blink 1.2s infinite}.wprev-typing i:nth-child(2){animation-delay:.2s}.wprev-typing i:nth-child(3){animation-delay:.4s}@keyframes wprev-blink{0%,80%,to{opacity:.25}40%{opacity:1}}.wprev-foot{padding:11px 12px;border-top:1px solid rgba(255,255,255,.1);display:flex;gap:8px}.wprev-input{flex:1;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:9px 12px;color:#78716c;font-size:13.5px}.wprev-send{flex:none;width:40px;border-radius:10px;display:flex;align-items:center;justify-content:center}.wprev-send svg{width:17px;height:17px;fill:#1c0a00}.wprev-brand{text-align:center;font-size:11px;color:#57534e;padding:0 0 8px}.wprev-launcher{width:52px;height:52px;border-radius:50%;align-self:flex-end;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 30px #00000047}.wprev-launcher.left{align-self:flex-start}.wprev-launcher svg{width:24px;height:24px;fill:#fff}.profit-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}.seg{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}.seg button{border:0;background:transparent;padding:7px 16px;font:inherit;font-size:13.5px;cursor:pointer;color:var(--text-muted)}.seg button.active{background:var(--cta-bg);color:var(--cta-fg, #fff)}.profit-period{display:inline-flex;align-items:center;gap:6px}.profit-period strong{min-width:150px;text-align:center;font-size:15px}.profit-period .logout-btn{padding:4px 12px;font-size:16px;line-height:1}.src-badge{font-size:12.5px;padding:5px 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted)}.src-badge.ok{border-color:var(--success-soft);background:var(--success-soft);color:var(--success)}.src-badge.warn{border-color:#f59e0b59;background:#f59e0b1f;color:#b45309}.money-neg{color:var(--danger)}.money-pos{color:var(--success)}.profit-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.profit-two>.panel{min-width:0}.profit-table{min-width:0}.profit-two .profit-table{width:100%}@media(max-width:960px){.profit-two{grid-template-columns:1fr}}.profit-chart svg{width:100%;height:auto;display:block}.profit-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:12.5px;color:var(--text-muted);margin:-6px 0 8px}.profit-legend .lg{display:inline-block;width:12px;height:12px;border-radius:3px;vertical-align:-2px;margin-right:6px}.profit-legend .lg.revenue,.chart-bar.revenue{fill:var(--accent);background:var(--accent)}.profit-legend .lg.cost,.chart-bar.cost{fill:#9ca3af;background:#9ca3af}.chart-grid{stroke:var(--border);stroke-width:1}.chart-tick{font-size:11px;fill:var(--text-muted)}.chart-profit{font-size:10.5px;font-weight:700;fill:var(--text)}.chart-profit.neg{fill:var(--danger)}.profit-table td.num,.profit-table th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.profit-table td:first-child{min-width:9em}.profit-table tr.total td{font-weight:700;border-top:2px solid var(--border)}.profit-table .muted,.profit-page .muted{color:var(--text-muted);font-weight:400;font-size:12.5px}.profit-chip{margin-left:8px;font-size:11px}.profit-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.profit-toggle{font-size:13px;color:var(--text-muted);display:inline-flex;align-items:center;gap:6px}.profit-form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-top:14px}.profit-form label{flex:1 1 130px;min-width:0}.profit-form label:first-child{flex:2 1 180px}.profit-form>button{flex:0 0 auto;margin-bottom:2px}.profit-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-muted)}.profit-form .auth-input{margin:0;width:100%;box-sizing:border-box;min-width:0}.profit-table td.num{padding-left:12px}.profit-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}.profit-actions .auth-btn{width:auto}.profit-msg{margin:0}.rates-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.rate-row{display:flex;flex-direction:column;gap:3px}.rate-row .rate-label{font-size:13px;font-weight:600}.rate-row .rate-unit{font-size:11.5px;color:var(--text-muted)}.rate-row .auth-input{margin:4px 0}.rate-row .rate-basis{font-size:11.5px;color:var(--text-muted);line-height:1.4}.profit-foot{margin-top:10px}.profit-table .auth-input.compact{padding:6px 8px;font-size:13px;margin:0;min-width:0;width:100%;box-sizing:border-box}.profit-table .auth-input.compact.num{text-align:right;width:7em}.profit-table select.auth-input.compact{min-width:7.5em}.profit-stack>.panel{min-width:0}.profit-stack .rates-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.profit-table td:first-child .auth-input.compact{min-width:9em}.profit-table .field-missing{border-color:var(--danger)}.profit-table .field-warn-text{font-size:11px;color:var(--danger);margin-top:3px;white-space:nowrap}.profit-table tr.row-warn td{background:var(--danger-soft)}.billing-gated .billing-grid,.billing-gated .billing-estimate{display:none}.trial-gate-intro h2{margin:0 0 6px}.sidebar-gate-hint{margin:8px 12px 0;line-height:1.45}.gate-steps{margin:0 0 18px}.wizard-step-later{font-weight:500;opacity:.8}.trial-setup .page-head{margin-bottom:6px}.trial-setup .profit-panel-head{margin-bottom:12px}.trial-setup-next{margin-top:18px}.free-test-timer{margin:4px 0 12px;font-weight:600;display:flex;align-items:center;gap:10px}.traffic-range{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.traffic-range .logout-btn.active{background:var(--cta-bg);color:var(--cta-text);border-color:var(--cta-bg)}.traffic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.traffic-grid .panel{min-width:0}.traffic-grid .calls-table,.traffic-table{min-width:0;width:100%}.traffic-table th.num,.traffic-table td.num{text-align:right;white-space:nowrap}@media(max-width:900px){.traffic-grid{grid-template-columns:1fr}}
