:root{--customer-bg:#f8fafc;--customer-surface:#fff;--customer-border:#e2e8f0;--customer-border-soft:#f1f5f9;--customer-text-main:#0f172a;--customer-text-secondary:#475569;--customer-text-muted:#64748b;--customer-blue:#2563eb;--customer-blue-hover:#1d4ed8;--customer-blue-soft:#eff6ff;--customer-emerald:#059669;--customer-emerald-soft:#ecfdf5;--customer-amber:#d97706;--customer-amber-soft:#fffbeb;--customer-rose:#dc2626;--customer-rose-soft:#fef2f2;--sidebar-width:256px}body{color:var(--customer-text-main);-webkit-font-smoothing:antialiased;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--customer-bg)!important}.business-left-col{flex-direction:column;flex:1.35;gap:1.5rem;min-width:0;display:flex}.business-right-col{flex-direction:column;flex:1;gap:1.5rem;min-width:0;display:flex}.leads-view-container{animation:.15s ease-in-out fadeIn;display:none}.leads-view-container.active{display:block}.table-responsive{-webkit-overflow-scrolling:touch;border-radius:12px;width:100%;overflow-x:auto}.campaign-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;align-items:center;gap:.25rem;padding:.2rem .5rem;font-size:.72rem;font-weight:600;display:inline-flex}.form-origin-pill{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:.25rem;padding:.18rem .45rem;font-size:.7rem;display:inline-flex}.lead-status-wrapper{flex-direction:column;align-items:flex-start;gap:.3rem;display:flex}.lead-status-pill{letter-spacing:.03em;border-radius:9999px;padding:.2rem .55rem;font-size:.7rem;font-weight:700;display:inline-block}.customer-badge-pill{color:#fff;background:#065f46;border-radius:9999px;align-items:center;gap:.25rem;padding:.18rem .45rem;font-size:.68rem;font-weight:700;display:inline-flex}.highlight-won{background:linear-gradient(135deg,#fff 0%,#f0fdf4 100%)!important;border-color:#a7f3d0!important}.kpi-icon-pill.green{color:#059669;background:#ecfdf5}.text-emerald{color:#059669!important}.forms-list-grid{flex-direction:column;gap:1rem;display:flex}.form-item-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.25rem;transition:border-color .15s;display:flex}.form-item-card:hover{border-color:#cbd5e1}.form-item-main{flex:1;min-width:0}.form-item-head{flex-wrap:wrap;align-items:center;gap:.65rem;margin-bottom:.35rem;display:flex}.form-item-title{color:#0f172a;margin:0;font-size:1rem;font-weight:600}.form-item-sub{color:#64748b;margin-bottom:.35rem;font-size:.8rem}.form-item-sub code{color:#0f172a;background:#f1f5f9;border-radius:4px;padding:.15rem .35rem}.form-item-desc{color:#475569;margin:0;font-size:.82rem;line-height:1.4}.form-item-actions{flex-direction:column;flex-shrink:0;align-items:stretch;gap:.45rem;display:flex}.clean-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#0f172aa6;animation:.15s ease-out fadeIn;position:fixed;inset:0}.clean-modal-dialog{z-index:1000;flex-direction:column;width:90%;max-width:600px;max-height:90vh;animation:.2s cubic-bezier(.16,1,.3,1) modalPop;display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes modalPop{0%{opacity:0;transform:translate(-50%,-46%)scale(.97)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.modal-card{border:1px solid var(--customer-border);background:#fff;border-radius:16px;flex-direction:column;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}.modal-card-header{border-bottom:1px solid var(--customer-border-soft);background:#fff;align-items:flex-start;gap:.85rem;padding:1.25rem 1.5rem;display:flex;position:relative}.modal-icon-wrap{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.modal-icon-wrap.emerald{background:var(--customer-emerald-soft);color:var(--customer-emerald)}.modal-icon-wrap.blue{background:var(--customer-blue-soft);color:var(--customer-blue)}.modal-icon-wrap.rose{background:var(--customer-rose-soft);color:var(--customer-rose)}.modal-subtitle{color:var(--customer-text-secondary);margin:.25rem 0 0;font-size:.84rem;line-height:1.4}.modal-close-btn{color:var(--customer-text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:1.5rem;line-height:1;transition:all .15s;position:absolute;top:1rem;right:1.25rem}.modal-close-btn:hover{color:var(--customer-text-main);background:#f1f5f9}.modal-body-scroll{flex:1;padding:1.5rem;overflow-y:auto}.modal-card-footer{border-top:1px solid var(--customer-border-soft);background:#f8fafc;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.settings-area-body{padding:1.5rem}.field-helper{color:var(--customer-text-muted);margin-top:.35rem;font-size:.78rem;line-height:1.35;display:block}.form-action-row{justify-content:flex-end;gap:.75rem;margin-top:1.25rem;display:flex}.agent-status-select,.agent-autonomy-select{font-size:.82rem;font-weight:600}.conn-action-wrap{align-items:center;gap:.5rem;display:flex}.drawer-section{border-bottom:1px solid var(--customer-border-soft);padding:1.25rem 0}.drawer-section:last-child{border-bottom:none}.drawer-loading-box{text-align:center;color:var(--customer-text-muted);padding:3rem 1.5rem;font-size:.9rem}.error-text{color:var(--customer-rose);background:var(--customer-rose-soft);border-radius:8px;margin:0;padding:.85rem 1rem;font-size:.88rem;font-weight:600}.draft-title{color:var(--customer-text-main);font-size:.84rem;font-weight:700}.banner-icon{font-size:1.35rem;line-height:1}.team-status-label{color:var(--customer-text-secondary);font-size:.82rem;font-weight:600}.welcome-copy{flex:1}.meta-pill-text{font-size:.82rem;font-weight:600}.agent-hub-card.state-idle{border-color:var(--customer-border)}.badge-label-text{text-transform:uppercase;font-size:.72rem;font-weight:700}.subtab-text{font-size:.85rem;font-weight:600}.chip-text{font-size:.82rem;font-weight:600}.mt-3{margin-top:.75rem!important}.mb-3{margin-bottom:.75rem!important}.text-right{text-align:right!important}.badge-subtle-emerald{text-transform:uppercase;letter-spacing:.08em;color:var(--customer-emerald);background:var(--customer-emerald-soft);border-radius:6px;margin-bottom:6px;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-block}.badge-subtle-blue{text-transform:uppercase;letter-spacing:.08em;color:var(--customer-blue);background:var(--customer-blue-soft);border-radius:6px;margin-bottom:6px;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-block}.privacy-guarantee-capsule{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;align-items:flex-start;gap:1rem;margin-bottom:2rem;padding:1.15rem 1.35rem;display:flex}.privacy-icon-box{color:#fff;background:#059669;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.privacy-text-content{flex:1}.privacy-title{color:#065f46;margin-bottom:3px;font-size:.95rem;font-weight:800}.privacy-body{color:#047857;font-size:.84rem;line-height:1.5}.connections-cards-grid{grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-bottom:2.5rem;display:grid}@media (width<=900px){.connections-cards-grid{grid-template-columns:1fr}}.connection-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:12px;flex-direction:column;padding:1.35rem;transition:all .15s;display:flex;box-shadow:0 1px 3px #0000000a}.connection-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0000000f}.connection-card.disconnected{background:#fafafa;border-style:dashed}.conn-card-header{align-items:flex-start;gap:.85rem;margin-bottom:1rem;display:flex}.conn-icon-avatar{width:44px;height:44px;color:var(--customer-blue);background:#f1f5f9;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.connection-card.disconnected .conn-icon-avatar{color:var(--customer-text-muted)}.conn-meta-block{flex:1;min-width:0}.conn-name-row{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:2px;display:flex}.conn-title{color:var(--customer-text-main);margin:0;font-size:1rem;font-weight:800}.conn-account-email{color:var(--customer-text-muted);text-overflow:ellipsis;white-space:nowrap;font-family:monospace;font-size:.82rem;font-weight:600;overflow:hidden}.conn-card-body{flex-direction:column;flex:1;margin-bottom:1.25rem;display:flex}.conn-description{color:var(--customer-text-secondary);flex:1;margin:0 0 .85rem;font-size:.84rem;line-height:1.5}.conn-sheets-details{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;margin-bottom:.75rem;padding:.65rem .85rem}.conn-sheet-link-row{align-items:center;gap:6px;margin-bottom:4px;display:flex}.sheet-ext-link{color:#15803d;font-size:.82rem;font-weight:700;text-decoration:underline}.sheet-ext-link:hover{color:#166534}.sheet-tabs-capsule{flex-direction:column;gap:2px;display:flex}.sheet-tabs-label{text-transform:uppercase;color:#166534;font-size:.7rem;font-weight:800}.sheet-tabs-list{color:#15803d;font-size:.72rem;line-height:1.4}.btn-conn-sync{color:#fff;cursor:pointer;background:#059669;border:1px solid #059669;border-radius:6px;align-items:center;gap:5px;padding:.35rem .75rem;font-size:.78rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-conn-sync:hover{background:#047857}.btn-conn-sync.spinning svg{animation:.6s linear infinite spin}.conn-agent-pill{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:6px;align-items:center;gap:6px;margin-bottom:.5rem;padding:.35rem .65rem;font-size:.74rem;font-weight:600;display:flex}.conn-pill-label{color:var(--customer-text-muted)}.conn-pill-agent{color:var(--customer-blue);font-weight:700}.conn-guardrail-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;align-items:center;gap:6px;padding:.4rem .65rem;font-size:.74rem;font-weight:600;display:flex}.conn-card-footer{border-top:1px solid var(--customer-border-soft);justify-content:space-between;align-items:center;gap:.75rem;padding-top:.85rem;display:flex}.conn-sync-time{color:var(--customer-text-muted);font-size:.75rem}.btn-conn-disconnect{border:1px solid var(--customer-border);color:var(--customer-rose);cursor:pointer;background:0 0;border-radius:6px;padding:.35rem .75rem;font-size:.78rem;font-weight:700;transition:all .15s}.btn-conn-disconnect:hover{background:var(--customer-rose-soft);border-color:var(--customer-rose)}.btn-conn-connect{background:var(--customer-emerald);border:1px solid var(--customer-emerald);color:#fff;cursor:pointer;border-radius:6px;padding:.35rem .75rem;font-size:.78rem;font-weight:700;transition:all .15s}.btn-conn-connect:hover{background:#047857}.settings-area-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:12px;margin-bottom:2rem;padding:1.5rem;box-shadow:0 1px 3px #0000000a}.settings-area-header{border-bottom:1px solid var(--customer-border-soft);align-items:center;gap:.85rem;margin-bottom:1.25rem;padding-bottom:1rem;display:flex}.area-icon-wrap{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.area-icon-wrap.blue{background:var(--customer-blue-soft);color:var(--customer-blue)}.area-icon-wrap.emerald{background:var(--customer-emerald-soft);color:var(--customer-emerald)}.area-icon-wrap.purple{color:#7c3aed;background:#f5f3ff}.area-icon-wrap.amber{background:var(--customer-amber-soft);color:var(--customer-amber)}.area-icon-wrap.rose{background:var(--customer-rose-soft);color:var(--customer-rose)}.area-title{color:var(--customer-text-main);margin:0;font-size:1.05rem;font-weight:800}.area-subtitle{color:var(--customer-text-muted);margin:2px 0 0;font-size:.82rem}.form-row-2col{grid-template-columns:repeat(2,1fr);gap:1.25rem;margin-bottom:1.25rem;display:grid}.form-row-3col{grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-bottom:1rem;display:grid}@media (width<=768px){.form-row-2col,.form-row-3col{grid-template-columns:1fr}}.input-with-action{gap:.5rem;display:flex}.btn-inline-save{background:var(--customer-blue);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:0 1rem;font-size:.82rem;font-weight:700;transition:background .15s}.btn-inline-save:hover{background:#1d4ed8}.readonly-badge-input{border:1px solid var(--customer-border);color:var(--customer-text-main);background:#f8fafc;border-radius:8px;justify-content:space-between;align-items:center;padding:.55rem .85rem;font-size:.86rem;font-weight:600;display:flex}.password-change-box{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:10px;margin-top:1.25rem;padding:1.25rem}.sub-box-title{color:var(--customer-text-main);margin:0 0 1rem;font-size:.9rem;font-weight:800}.pwd-action-row{align-items:center;gap:1rem;display:flex}.btn-subtle-primary{background:var(--customer-blue);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.55rem 1.15rem;font-size:.84rem;font-weight:700;transition:background .15s}.btn-subtle-primary:hover{background:#1d4ed8}.pwd-feedback-msg{font-size:.82rem;font-weight:700}.pwd-feedback-msg.success{color:var(--customer-emerald)}.pwd-feedback-msg.error{color:var(--customer-rose)}.save-status-msg{font-size:.82rem;font-weight:700}.save-status-msg.success{color:var(--customer-emerald)}.save-status-msg.error{color:var(--customer-rose)}.ai-agents-control-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;display:grid}@media (width<=900px){.ai-agents-control-grid{grid-template-columns:1fr}}.agent-control-box{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:10px;flex-direction:column;padding:1.25rem;display:flex}.agent-control-box.highlight{background:#faf5ff;border-color:#e9d5ff}.agent-control-header{border-bottom:1px solid var(--customer-border-soft);align-items:center;gap:.75rem;margin-bottom:1rem;padding-bottom:.75rem;display:flex}.agent-avatar-small{color:#fff;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.82rem;font-weight:800;display:flex}.agent-avatar-small.ax{background:linear-gradient(135deg,#1e40af 0%,#3b82f6 100%)}.agent-avatar-small.mg{background:linear-gradient(135deg,#065f46 0%,#10b981 100%)}.agent-avatar-small.sm{background:linear-gradient(135deg,#5b21b6 0%,#8b5cf6 100%)}.agent-ctrl-name{color:var(--customer-text-main);margin:0;font-size:.95rem;font-weight:800}.agent-ctrl-role{color:var(--customer-text-muted);font-size:.76rem;font-weight:600}.agent-ctrl-controls{flex-direction:column;gap:.75rem;margin-bottom:1rem;display:flex}.agent-allowed-list{border:1px solid var(--customer-border-soft);background:#fff;border-radius:8px;margin-top:auto;padding:.75rem .85rem}.allowed-title{text-transform:uppercase;letter-spacing:.05em;color:var(--customer-text-muted);margin-bottom:4px;font-size:.72rem;font-weight:800}.agent-allowed-list ul{color:var(--customer-text-secondary);margin:0;padding-left:1.15rem;font-size:.76rem;line-height:1.45}.sam-guardrail-pill{color:#92400e;text-align:center;background:#fffbeb;border:1px solid #fde68a;border-radius:6px;margin-top:.75rem;padding:.4rem .65rem;font-size:.72rem;font-weight:700}.notif-toggle-list{flex-direction:column;gap:.85rem;display:flex}.notif-toggle-item{border:1px solid var(--customer-border-soft);cursor:pointer;background:#f8fafc;border-radius:8px;align-items:flex-start;gap:.85rem;padding:.85rem 1rem;display:flex}.notif-toggle-item input[type=checkbox]{width:18px;height:18px;accent-color:var(--customer-blue);margin-top:3px}.notif-label-text{flex-direction:column;gap:2px;display:flex}.notif-label-text strong{color:var(--customer-text-main);font-size:.86rem}.notif-label-text span{color:var(--customer-text-muted);font-size:.78rem;line-height:1.4}.plan-summary-box{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:10px;padding:1.5rem}.plan-row-main{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.plan-name-label{color:var(--customer-text-main);font-size:1.25rem;font-weight:800}.plan-price-label{color:var(--customer-blue);font-size:1.5rem;font-weight:900}.plan-price-label .per-month{color:var(--customer-text-muted);font-size:.88rem;font-weight:600}.usage-progress-block{margin-bottom:1.5rem}.usage-meta-row{justify-content:space-between;margin-bottom:6px;font-size:.84rem;display:flex}.usage-label{color:var(--customer-text-main);font-weight:700}.usage-numbers{color:var(--customer-text-muted)}.usage-numbers strong{color:var(--customer-blue)}.usage-track{background:#e2e8f0;border-radius:999px;width:100%;height:10px;overflow:hidden}.usage-fill{background:linear-gradient(90deg,#3b82f6 0%,#10b981 100%);border-radius:999px;height:100%;transition:width .3s}.plan-features-grid{border:1px solid var(--customer-border-soft);background:#fff;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:.85rem;margin-bottom:1.5rem;padding:1.15rem;display:grid}@media (width<=768px){.plan-features-grid{grid-template-columns:1fr}}.plan-feat-item{color:var(--customer-text-secondary);align-items:center;gap:8px;font-size:.82rem;font-weight:600;display:flex}.plan-feat-item svg{color:var(--customer-emerald);flex-shrink:0}.plan-actions-footer{justify-content:flex-end;align-items:center;gap:10px;display:flex}.sub-alert-box{border-radius:8px;align-items:flex-start;gap:10px;margin-bottom:1.25rem;padding:10px 14px;font-size:.8125rem;line-height:1.45;display:flex}.sub-alert-box.amber{color:#92400e;background:#fffbeb;border:1px solid #fde68a}.sub-alert-box.red{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.sub-alert-box.gray{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1}.sub-alert-box svg{flex-shrink:0;margin-top:2px}.sub-meta-pill{color:#64748b;margin-top:4px;font-size:.72rem;font-weight:500}.plan-pill.status-alert{color:#dc2626!important;background:#fef2f2!important;border-color:#fecaca!important}.kasbna-app-layout{background:var(--customer-bg);min-height:100vh;display:flex}.customer-sidebar{width:var(--sidebar-width);background:var(--customer-surface);border-right:1px solid var(--customer-border);box-sizing:border-box;z-index:40;flex-direction:column;flex-shrink:0;height:100vh;display:flex;position:sticky;top:0}.sidebar-brand-box{border-bottom:1px solid var(--customer-border-soft);padding:1.5rem 1.25rem 1.25rem}.brand-link{align-items:center;gap:.75rem;text-decoration:none;display:flex}.brand-glyph{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:1.1rem;font-weight:800;display:flex;box-shadow:0 2px 4px #2563eb33}.brand-text-wrap{align-items:center;gap:.5rem;display:flex}.brand-name{color:var(--customer-text-main);letter-spacing:-.02em;font-size:1.15rem;font-weight:800}.brand-badge-pill{text-transform:uppercase;letter-spacing:.05em;background:var(--customer-blue-soft);color:var(--customer-blue);border-radius:4px;padding:2px 6px;font-size:.68rem;font-weight:700}.sidebar-workspace-card{border-bottom:1px solid var(--customer-border-soft);background:#f8fafc;padding:1rem 1.25rem}.workspace-label{text-transform:uppercase;letter-spacing:.06em;color:var(--customer-text-muted);margin-bottom:4px;font-size:.68rem;font-weight:700}.workspace-name-row{align-items:center;gap:8px;display:flex}.status-pulse-dot{background:var(--customer-emerald);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #05966933}.workspace-name-display{color:var(--customer-text-main);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:700;overflow:hidden}.customer-nav{flex-direction:column;flex:1;gap:4px;padding:1rem .75rem;display:flex;overflow-y:auto}.customer-nav-link{color:var(--customer-text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:.75rem;width:100%;padding:.65rem .85rem;font-size:.88rem;font-weight:600;transition:all .15s;display:flex}.customer-nav-link:hover{background:var(--customer-bg);color:var(--customer-text-main)}.customer-nav-link.active{background:var(--customer-blue-soft);color:var(--customer-blue);font-weight:700}.nav-text{flex:1}.nav-pill-badge{border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:700}.nav-pill-badge.blue{background:var(--customer-blue-soft);color:var(--customer-blue)}.nav-pill-badge.amber{background:var(--customer-amber-soft);color:var(--customer-amber);border:1px solid #d9770633}.sidebar-user-footer{border-top:1px solid var(--customer-border);background:var(--customer-surface);align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.user-avatar-initials{background:var(--customer-blue-soft);width:34px;height:34px;color:var(--customer-blue);border:1px solid #2563eb26;border-radius:50%;justify-content:center;align-items:center;font-size:.82rem;font-weight:700;display:flex}.user-meta-text{flex:1;min-width:0}.user-display-name{color:var(--customer-text-main);white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;font-weight:700;overflow:hidden}.user-display-role{color:var(--customer-text-muted);font-size:.72rem}.logout-btn-minimal{color:var(--customer-text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.logout-btn-minimal:hover{color:#dc2626;background:#fef2f2}.customer-main-area{flex-direction:column;flex:1;min-width:0;display:flex;overflow-x:hidden}.customer-top-header{background:var(--customer-surface);border-bottom:1px solid var(--customer-border);z-index:30;justify-content:space-between;align-items:center;height:60px;padding:0 2rem;display:flex;position:sticky;top:0}.top-header-left{align-items:center;gap:1rem;display:flex}.mobile-menu-btn{color:var(--customer-text-main);cursor:pointer;background:0 0;border:none;padding:4px;display:none}.business-header-badge{align-items:center;gap:.75rem;display:flex}.company-title{color:var(--customer-text-main);font-size:.95rem;font-weight:800}.plan-pill{color:var(--customer-emerald);background:var(--customer-emerald-soft);border:1px solid #05966933;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.top-header-right{align-items:center;gap:1.5rem;display:flex}.team-status-indicator{color:var(--customer-emerald);align-items:center;gap:6px;font-size:.82rem;font-weight:600;display:flex}.pulse-indicator{background:var(--customer-emerald);border-radius:50%;width:7px;height:7px}.header-signout-link{color:var(--customer-text-muted);font-size:.82rem;font-weight:600;text-decoration:none;transition:color .15s}.header-signout-link:hover{color:#dc2626}.customer-content-container{box-sizing:border-box;width:100%;max-width:1400px;padding:1.5rem 1.75rem;overflow-x:hidden}.tab-pane{animation:.15s ease-in-out fadeIn;display:none}.tab-pane.active{display:block}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.welcome-banner{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;display:flex}.welcome-headline{color:var(--customer-text-main);letter-spacing:-.025em;margin:0 0 .35rem;font-size:1.75rem;font-weight:800}.welcome-subtext{color:var(--customer-text-secondary);margin:0;font-size:.95rem}.welcome-subtext strong{color:var(--customer-text-main);font-weight:700}.welcome-actions{gap:.75rem;display:flex}.metric-pill{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:10px;align-items:baseline;gap:.5rem;padding:.5rem 1rem;display:flex;box-shadow:0 1px 2px #00000008}.metric-num{color:var(--customer-blue);font-size:1.25rem;font-weight:800}.metric-label{color:var(--customer-text-muted);font-size:.78rem;font-weight:600}.approval-alert-card{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;align-items:center;gap:1rem;margin-bottom:2rem;padding:1rem 1.25rem;display:flex}.alert-icon-box{flex-shrink:0}.alert-content{flex:1}.alert-title{color:#92400e;margin-bottom:2px;font-size:.9rem;font-weight:700}.alert-desc{color:#78350f;font-size:.84rem}.btn-review-now{color:#fff;cursor:pointer;white-space:nowrap;background:#d97706;border:none;border-radius:8px;align-items:center;gap:6px;padding:.5rem .9rem;font-size:.82rem;font-weight:700;transition:background .15s;display:flex}.btn-review-now:hover{background:#b45309}.section-block{margin-bottom:2.5rem}.section-header-row{justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1.25rem;display:flex}.section-title{color:var(--customer-text-main);letter-spacing:-.015em;margin:0 0 .25rem;font-size:1.2rem;font-weight:800}.section-subtitle{color:var(--customer-text-muted);margin:0;font-size:.88rem}.btn-subtle{border:1px solid var(--customer-border);color:var(--customer-text-secondary);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:6px;padding:.4rem .8rem;font-size:.8rem;font-weight:600;transition:all .15s;display:flex}.btn-subtle:hover{background:var(--customer-surface);color:var(--customer-text-main);border-color:#cbd5e1}.btn-refresh{background:var(--customer-surface);border:1px solid var(--customer-border);color:var(--customer-text-secondary);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:.4rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:flex}.btn-refresh:hover{color:var(--customer-blue);border-color:var(--customer-blue)}.btn-refresh.spinning svg{animation:.6s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.team-cards-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;display:grid}.team-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:12px;flex-direction:column;padding:1.5rem;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #0000000a}.team-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 4px 12px #0000000f}.card-top-row{align-items:center;gap:.85rem;margin-bottom:.85rem;display:flex}.member-avatar-badge{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:.95rem;font-weight:800;display:flex;box-shadow:0 2px 6px #0000001a}.member-title-block{flex:1;min-width:0}.member-name-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.member-name{color:var(--customer-text-main);margin:0;font-size:1.05rem;font-weight:800}.member-role-title{color:var(--customer-text-muted);margin-top:2px;font-size:.82rem;font-weight:600}.status-badge-clean{border-radius:6px;padding:2px 7px;font-size:.7rem;font-weight:700}.status-badge-clean.green{background:var(--customer-emerald-soft);color:var(--customer-emerald)}.status-badge-clean.amber{background:var(--customer-amber-soft);color:var(--customer-amber)}.status-badge-clean.blue{background:var(--customer-blue-soft);color:var(--customer-blue)}.status-badge-clean.rose{background:var(--customer-rose-soft);color:var(--customer-rose)}.status-badge-clean.gray{color:var(--customer-text-muted);background:#f1f5f9}.card-focus-tag{border:1px solid var(--customer-border-soft);color:var(--customer-text-secondary);background:#f8fafc;border-radius:6px;align-items:center;gap:6px;margin-bottom:.85rem;padding:.35rem .65rem;font-size:.74rem;font-weight:600;display:flex}.member-bio{color:var(--customer-text-secondary);flex:1;margin:0 0 1rem;font-size:.84rem;line-height:1.5}.member-skills-row{border-top:1px solid var(--customer-border-soft);flex-wrap:wrap;gap:5px;padding-top:.75rem;display:flex}.tag-pill{color:var(--customer-text-secondary);background:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:.72rem;font-weight:600}.approvals-center-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.5rem;display:flex}.approvals-pretitle{text-transform:uppercase;letter-spacing:.08em;color:var(--customer-amber);margin-bottom:4px;font-size:.75rem;font-weight:800}.approvals-title{color:var(--customer-text-main);letter-spacing:-.025em;margin:0 0 .35rem;font-size:1.75rem;font-weight:800}.approvals-subtitle{color:var(--customer-text-secondary);max-width:620px;margin:0;font-size:.95rem}.approvals-subtabs-bar{border-bottom:1.5px solid var(--customer-border);gap:8px;margin-bottom:2rem;display:flex}.subtab-btn{color:var(--customer-text-secondary);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1.5px;padding:.75rem 1.25rem;font-size:.92rem;font-weight:600;transition:all .15s;display:flex}.subtab-btn:hover{color:var(--customer-text-main)}.subtab-btn.active{color:var(--customer-blue);border-bottom-color:var(--customer-blue);font-weight:700}.subtab-badge{border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:700}.subtab-badge.amber{background:var(--customer-amber-soft);color:var(--customer-amber);border:1px solid #d9770633}.subtab-badge.gray{color:var(--customer-text-muted);background:#f1f5f9}.approvals-view-pane{animation:.15s ease-in-out fadeIn;display:none}.approvals-view-pane.active{display:block}.proposals-feed{flex-direction:column;gap:1.5rem;display:flex}.approval-card{background:var(--customer-surface);border:1.5px solid var(--customer-border);border-radius:14px;padding:1.5rem 1.75rem;transition:all .2s;box-shadow:0 2px 6px #00000008}.approval-card:hover{border-color:#cbd5e1;box-shadow:0 6px 16px #0000000d}.approval-card-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.approval-agent-identity{align-items:center;gap:.75rem;display:flex}.agent-avatar-small{color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.85rem;font-weight:800;display:flex}.approval-author-name{color:var(--customer-text-main);font-size:.95rem;font-weight:800}.approval-author-role{color:var(--customer-blue);font-size:.84rem;font-weight:600}.approval-timestamp-meta{color:var(--customer-text-muted);font-size:.75rem}.approval-safety-capsule{color:var(--customer-amber);background:var(--customer-amber-soft);border:1px solid #d9770633;border-radius:999px;align-items:center;gap:6px;padding:3px 9px;font-size:.74rem;font-weight:700;display:flex}.approval-action-title{color:var(--customer-text-main);letter-spacing:-.015em;margin:0 0 .85rem;font-size:1.2rem;font-weight:800}.approval-rationale-box{border-left:3px solid var(--customer-blue);background:#f8fafc;border-radius:0 8px 8px 0;margin-bottom:1.15rem;padding:.75rem 1rem}.rationale-header{color:var(--customer-blue);text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:6px;margin-bottom:3px;font-size:.75rem;font-weight:800;display:flex}.message-preview-container{border:1px solid var(--customer-border);background:#fff;border-radius:10px;margin-bottom:1.15rem;padding:1.25rem}.preview-meta-row{border-bottom:1px solid var(--customer-border-soft);grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:.85rem;padding-bottom:.85rem;display:grid}.meta-item .meta-label{text-transform:uppercase;letter-spacing:.05em;color:var(--customer-text-muted);margin-bottom:2px;font-size:.7rem;font-weight:700;display:block}.meta-item .meta-value-highlight{color:var(--customer-blue);font-size:.88rem;font-weight:700}.meta-item .meta-value-text{color:var(--customer-text-main);font-size:.88rem;font-weight:700}.preview-body-box .body-box-label{text-transform:uppercase;letter-spacing:.05em;color:var(--customer-text-muted);margin-bottom:6px;font-size:.7rem;font-weight:700}.draft-text-content{border:1px solid var(--customer-border-soft);color:var(--customer-text-secondary);white-space:pre-wrap;background:#f8fafc;border-radius:8px;padding:1rem;font-family:inherit;font-size:.88rem;line-height:1.6}.guardrail-checkpoints-row{border-top:1px solid var(--customer-border-soft);flex-wrap:wrap;gap:1rem;margin-bottom:1.25rem;padding:.75rem 0;display:flex}.checkpoint-item{color:var(--customer-emerald);align-items:center;gap:6px;font-size:.75rem;font-weight:700;display:flex}.approval-card-footer{gap:.75rem;display:flex}.btn-approve-primary{background:var(--customer-emerald);color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:7px;padding:.6rem 1.25rem;font-size:.86rem;font-weight:700;transition:background .15s;display:flex;box-shadow:0 1px 3px #05966933}.btn-approve-primary:hover{background:#047857}.btn-decline-outline{border:1.5px solid var(--customer-border);color:var(--customer-text-secondary);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:6px;padding:.6rem 1.15rem;font-size:.86rem;font-weight:600;transition:all .15s;display:flex}.btn-decline-outline:hover{color:var(--customer-rose);background:var(--customer-rose-soft);border-color:#fecaca}.empty-approvals-box{background:var(--customer-surface);border:1px solid var(--customer-border);text-align:center;border-radius:14px;padding:3.5rem 2rem;box-shadow:0 1px 3px #00000008}.empty-shield-circle{background:var(--customer-emerald-soft);border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:1.25rem;display:inline-flex}.empty-approvals-title{color:var(--customer-text-main);margin:0 0 .4rem;font-size:1.3rem;font-weight:800}.empty-approvals-desc{color:var(--customer-text-secondary);max-width:480px;margin:0 auto;font-size:.92rem;line-height:1.5}.history-items-list{flex-direction:column;gap:.75rem;display:flex}.history-row-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:10px;align-items:center;gap:1.25rem;padding:1rem 1.25rem;display:flex;box-shadow:0 1px 2px #00000005}.history-agent-col{flex-shrink:0;align-items:center;gap:.75rem;width:130px;display:flex}.agent-avatar-tiny{color:#fff;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.75rem;font-weight:800;display:flex}.history-agent-name{color:var(--customer-text-main);font-size:.85rem;font-weight:700}.history-item-date{color:var(--customer-text-muted);font-size:.72rem}.history-content-col{flex:1;min-width:0}.history-title-line{color:var(--customer-text-main);margin-bottom:2px;font-size:.88rem;font-weight:700}.history-target-line{color:var(--customer-text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;overflow:hidden}.history-status-col{flex-shrink:0}.modal-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:110;background:#0f172a8c;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-dialog{background:#fff;border-radius:14px;width:100%;max-width:500px;overflow:hidden;box-shadow:0 20px 25px -5px #00000026}.modal-header{border-bottom:1px solid var(--customer-border);justify-content:space-between;align-items:flex-start;padding:1.25rem 1.5rem;display:flex}.modal-eyebrow{text-transform:uppercase;letter-spacing:.06em;color:var(--customer-rose);font-size:.7rem;font-weight:700}.modal-title{color:var(--customer-text-main);margin:2px 0 0;font-size:1.15rem;font-weight:800}.modal-close{color:var(--customer-text-muted);cursor:pointer;background:0 0;border:none;padding:4px}.modal-body{padding:1.5rem}.decline-prompt-text{color:var(--customer-text-secondary);margin:0 0 1.25rem;font-size:.88rem;line-height:1.5}.modal-footer{border-top:1px solid var(--customer-border);background:#f8fafc;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.form-label{text-transform:uppercase;letter-spacing:.05em;color:var(--customer-text-muted);margin-bottom:6px;font-size:.75rem;font-weight:700;display:block}.form-input{border:1.5px solid var(--customer-border);width:100%;color:var(--customer-text-main);box-sizing:border-box;background:#fff;border-radius:8px;outline:none;padding:9px 12px;font-size:.88rem;transition:border-color .15s}.form-input:focus{border-color:var(--customer-blue)}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.84rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-secondary{border:1.5px solid var(--customer-border);color:var(--customer-text-main);background:#fff}.btn-secondary:hover{background:#f1f5f9}.btn-outline-danger{background:var(--customer-rose-soft);color:var(--customer-rose);border:1.5px solid #dc262640}.btn-outline-danger:hover{background:#fee2e2}.team-hub-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.team-hub-title{color:var(--customer-text-main);letter-spacing:-.02em;margin:0 0 .25rem;font-size:1.65rem;font-weight:800}.team-hub-subtitle{color:var(--customer-text-secondary);max-width:600px;margin:0;font-size:.88rem;line-height:1.45}.team-hub-meta-pill{background:var(--customer-surface);border:1px solid var(--customer-border);color:var(--customer-emerald);border-radius:999px;align-items:center;gap:7px;padding:5px 12px;font-size:.76rem;font-weight:600;display:inline-flex;box-shadow:0 1px 2px #00000008}.agents-interactive-grid{box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;width:100%;max-width:100%;margin-bottom:2rem;display:grid}.agent-hub-card{background:var(--customer-surface);border:1px solid var(--customer-border);box-sizing:border-box;border-radius:12px;flex-direction:column;width:100%;min-width:0;max-width:100%;padding:1.15rem;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 3px #00000008}.agent-hub-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0000000d}.agent-hub-card.state-working{border-color:#93c5fd;box-shadow:0 0 0 1px #2563eb26,0 4px 12px #2563eb0f}.agent-hub-card.state-waiting_approval{border-color:#fcd34d;box-shadow:0 0 0 1px #d9770626,0 4px 12px #d977060d}.agent-hub-card.state-completed{border-color:#a7f3d0}.agent-hub-card.state-failed{border-color:#fecaca}.agent-card-header{align-items:center;gap:.65rem;margin-bottom:.75rem;display:flex}.agent-avatar-wrap{flex-shrink:0;position:relative}.agent-avatar-circle{color:#fff;letter-spacing:.02em;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;font-size:.92rem;font-weight:700;display:flex;box-shadow:0 2px 4px #00000014}.agent-header-meta{flex:1;min-width:0}.agent-name-line{justify-content:space-between;align-items:center;gap:.35rem;display:flex}.agent-card-name{color:var(--customer-text-main);letter-spacing:-.015em;margin:0;font-size:1.05rem;font-weight:700}.agent-card-role{color:var(--customer-blue);margin-top:1px;font-size:.78rem;font-weight:600}.live-state-badge{white-space:nowrap;border-radius:999px;flex-shrink:0;align-items:center;gap:5px;padding:2px 7px;font-size:.68rem;font-weight:700;display:inline-flex}.live-state-badge .badge-dot{border-radius:50%;width:6px;height:6px}.badge-idle{color:var(--customer-text-secondary);background:#f1f5f9;border:1px solid #e2e8f0}.badge-idle .badge-dot{background:var(--customer-emerald)}.badge-working{color:var(--customer-blue);background:#eff6ff;border:1px solid #bfdbfe}.badge-working .badge-dot{background:var(--customer-blue);animation:1s infinite alternate blinkDot}.badge-waiting_approval{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.badge-waiting_approval .badge-dot{background:#d97706}.badge-completed{color:var(--customer-emerald);background:#ecfdf5;border:1px solid #a7f3d0}.badge-completed .badge-dot{background:var(--customer-emerald)}.badge-failed{color:var(--customer-rose);background:#fef2f2;border:1px solid #fecaca}.badge-failed .badge-dot{background:var(--customer-rose)}.agent-clear-desc{color:var(--customer-text-secondary);min-height:40px;margin:0 0 .85rem;font-size:.82rem;line-height:1.45}.agent-capabilities-section{margin-bottom:.75rem}.capabilities-list{flex-wrap:wrap;gap:4px;display:flex}.capability-chip{color:#475569;border:1px solid var(--customer-border-soft);text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border-radius:4px;max-width:100%;padding:2px 6px;font-size:.68rem;font-weight:600;display:inline-block;overflow:hidden}.live-activity-clean{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:8px;flex-direction:column;justify-content:center;min-height:48px;margin-bottom:.85rem;padding:.5rem .65rem;display:flex}.state-working .live-activity-clean{background:#eff6ff;border-color:#bfdbfe}.state-waiting_approval .live-activity-clean{background:#fffbeb;border-color:#fde68a}.state-completed .live-activity-clean{background:#ecfdf5;border-color:#a7f3d0}.state-failed .live-activity-clean{background:#fef2f2;border-color:#fecaca}.live-activity-status-head{align-items:center;gap:5px;margin-bottom:2px;display:flex}.activity-status-indicator{background:var(--customer-emerald);border-radius:50%;flex-shrink:0;width:6px;height:6px}.state-working .activity-status-indicator{background:var(--customer-blue);animation:.8s infinite alternate blinkDot}.state-waiting_approval .activity-status-indicator{background:#d97706}.state-completed .activity-status-indicator{background:var(--customer-emerald)}.state-failed .activity-status-indicator{background:var(--customer-rose)}.activity-headline{text-transform:uppercase;letter-spacing:.04em;color:var(--customer-text-main);font-size:.72rem;font-weight:700}.state-waiting_approval .activity-headline{color:#92400e}.activity-details-text{color:var(--customer-text-muted);text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.76rem;line-height:1.35;display:-webkit-box;overflow:hidden}.agent-card-actions{align-items:center;gap:.4rem;width:100%;min-width:0;margin-top:auto;display:flex}.btn-agent-trigger{background:var(--customer-blue);color:#fff;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border:none;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:5px;min-width:0;padding:.45rem .65rem;font-size:.75rem;font-weight:700;transition:background .15s;display:inline-flex;overflow:hidden}.btn-agent-trigger:hover{background:var(--customer-blue-hover)}.btn-agent-trigger.btn-working{opacity:.7;cursor:not-allowed}.btn-agent-profile{border:1px solid var(--customer-border);color:var(--customer-text-main);cursor:pointer;background:#fff;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;gap:4px;padding:.45rem .65rem;font-size:.75rem;font-weight:700;transition:all .15s;display:inline-flex}.btn-agent-profile:hover{background:var(--customer-bg);border-color:#cbd5e1}.drawer-overlay{z-index:100;display:none;position:fixed;inset:0}.drawer-overlay.open{display:block}.drawer-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a73;position:absolute;inset:0}.drawer-panel{background:var(--customer-surface);z-index:10;flex-direction:column;width:480px;max-width:90vw;animation:.25s cubic-bezier(.16,1,.3,1) drawerSlideIn;display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-8px 0 25px #00000026}@keyframes drawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{border-bottom:1px solid var(--customer-border);justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.drawer-agent-summary{align-items:center;gap:1rem;display:flex}.drawer-avatar{color:#fff;border-radius:12px;justify-content:center;align-items:center;width:46px;height:46px;font-size:1rem;font-weight:800;display:flex}.drawer-agent-name{color:var(--customer-text-main);margin:0;font-size:1.25rem;font-weight:800}.drawer-deployment-badge{color:var(--customer-emerald);background:var(--customer-emerald-soft);border-radius:999px;padding:2px 7px;font-size:.68rem;font-weight:700}.drawer-agent-role{color:var(--customer-blue);margin-top:2px;font-size:.88rem;font-weight:600}.drawer-close-btn{color:var(--customer-text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.drawer-close-btn:hover{color:var(--customer-text-main);background:#f1f5f9}.drawer-body{flex-direction:column;flex:1;gap:1.5rem;padding:1.5rem;display:flex;overflow-y:auto}.drawer-state-card{border:1px solid var(--customer-border);background:#f8fafc;border-radius:10px;align-items:center;gap:.85rem;padding:.85rem 1rem;display:flex}.drawer-state-card.state-working{background:#eff6ff;border-color:#bfdbfe}.drawer-state-card.state-waiting_approval{background:#fffbeb;border-color:#fde68a}.drawer-state-card.state-completed{background:#ecfdf5;border-color:#a7f3d0}.drawer-state-card.state-failed{background:#fef2f2;border-color:#fecaca}.state-indicator-badge{color:var(--customer-text-main);border:1px solid var(--customer-border);white-space:nowrap;background:#fff;border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:700}.state-description{color:var(--customer-text-secondary);font-size:.84rem;line-height:1.4}.drawer-section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--customer-text-muted);margin:0 0 .5rem;font-size:.78rem;font-weight:800}.drawer-section-text{color:var(--customer-text-secondary);margin:0;font-size:.88rem;line-height:1.55}.drawer-personality-tag{border:1px solid var(--customer-border-soft);color:var(--customer-text-main);background:#f1f5f9;border-radius:8px;padding:4px 10px;font-size:.82rem;font-weight:600;display:inline-block}.drawer-capabilities-grid{flex-direction:column;gap:6px;display:flex}.drawer-cap-pill{border:1px solid var(--customer-border-soft);color:var(--customer-text-main);background:#f8fafc;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:.84rem;font-weight:600;display:flex}.drawer-tasks-list{flex-direction:column;gap:8px;display:flex}.drawer-task-item{border:1px solid var(--customer-border-soft);background:#f8fafc;border-radius:8px;padding:.75rem .9rem}.task-item-head{justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:4px;display:flex}.task-summary-title{color:var(--customer-text-main);font-size:.84rem;font-weight:700;line-height:1.4}.task-status-chip{white-space:nowrap;border-radius:4px;padding:1px 6px;font-size:.68rem;font-weight:700}.task-status-chip.green{color:#059669;background:#ecfdf5}.task-status-chip.amber{color:#d97706;background:#fffbeb}.task-timestamp{color:var(--customer-text-muted);font-size:.72rem}.empty-tasks-hint{color:var(--customer-text-muted);padding:.5rem 0;font-size:.84rem;font-style:italic}.drawer-pending-card{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:1rem}.pending-card-title{color:#92400e;margin-bottom:4px;font-size:.88rem;font-weight:800}.pending-card-desc{color:#78350f;margin-bottom:.85rem;font-size:.82rem;line-height:1.45}.drawer-hint-text{color:var(--customer-text-muted);margin:0 0 .75rem;font-size:.82rem}.btn-drawer-run{background:var(--customer-blue);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:.65rem 1rem;font-size:.85rem;font-weight:700;transition:background .15s;display:flex}.btn-drawer-run:hover{background:var(--customer-blue-hover)}.activity-feed-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:12px;flex-direction:column;padding:0;display:flex;overflow:hidden;box-shadow:0 1px 3px #00000008}.activity-feed-toolbar{border-bottom:1px solid var(--customer-border-soft);background:#f8fafc;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:.65rem 1rem;display:flex}.activity-filter-pills{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.act-filter-btn{color:var(--customer-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:.74rem;font-weight:600;transition:all .15s;display:inline-flex}.act-filter-btn:hover{color:var(--customer-text-main);background:#f1f5f9}.act-filter-btn.active{border-color:var(--customer-border);color:var(--customer-blue);background:#fff;box-shadow:0 1px 2px #0000000a}.act-count-chip{color:#475569;background:#e2e8f0;border-radius:999px;padding:1px 5px;font-size:.65rem;font-weight:700;display:inline-block}.act-filter-btn.active .act-count-chip{background:var(--customer-blue-soft);color:var(--customer-blue)}.activity-live-status{color:var(--customer-text-muted);align-items:center;gap:6px;font-size:.72rem;font-weight:500;display:flex}.live-pulse-dot{background:#10b981;border-radius:50%;width:6px;height:6px;animation:2s ease-in-out infinite livePulseDot;box-shadow:0 0 0 2px #10b98133}@keyframes livePulseDot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}.activities-stack{scroll-behavior:smooth;flex-direction:column;max-height:290px;padding:.25rem 1rem;display:flex;overflow-y:auto}.activities-stack::-webkit-scrollbar{width:5px}.activities-stack::-webkit-scrollbar-track{background:0 0}.activities-stack::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.activities-stack::-webkit-scrollbar-thumb:hover{background:#94a3b8}.activity-row-item{border-bottom:1px solid var(--customer-border-soft);border-radius:6px;align-items:flex-start;gap:.75rem;padding:.6rem .4rem;transition:background .12s;display:flex}.activity-row-item:hover{background:#f8fafc}.activity-row-item:last-child{border-bottom:none}.activity-avatar-circle{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:1px;font-size:.72rem;font-weight:800;display:flex}.activity-body{flex:1;min-width:0}.activity-meta-line{align-items:center;gap:6px;margin-bottom:2px;display:flex}.activity-actor-name{color:var(--customer-text-main);font-size:.8rem;font-weight:700}.activity-time-bullet{color:var(--customer-border);font-size:.75rem}.activity-date-time{color:var(--customer-text-muted);font-size:.72rem}.activity-status-pill{border-radius:4px;margin-left:auto;padding:1px 6px;font-size:.65rem;font-weight:700}.activity-status-pill.green{background:var(--customer-emerald-soft);color:var(--customer-emerald)}.activity-status-pill.amber{background:var(--customer-amber-soft);color:var(--customer-amber)}.activity-text-line{color:var(--customer-text-secondary);font-size:.82rem;line-height:1.4}.activity-feed-footer{border-top:1px solid var(--customer-border-soft);color:var(--customer-text-muted);background:#f8fafc;justify-content:space-between;align-items:center;padding:.55rem 1rem;font-size:.72rem;display:flex}.footer-count-text{font-weight:500}.footer-hint-text{color:var(--customer-text-muted);font-size:.7rem}.btn-refresh.is-refreshing svg{animation:.7s linear infinite refreshSpin}@keyframes refreshSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-feed-box{text-align:center;padding:2.5rem 1.5rem}.empty-icon-circle{background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:.75rem;display:inline-flex}.empty-title{color:var(--customer-text-main);margin:0 0 .3rem;font-size:.98rem;font-weight:700}.empty-text{color:var(--customer-text-muted);max-width:440px;margin:0 auto;font-size:.82rem;line-height:1.45}.placeholder-clean-card{background:var(--customer-surface);border:1px solid var(--customer-border);text-align:center;border-radius:12px;padding:3.5rem 2rem;box-shadow:0 1px 3px #00000008}.placeholder-icon-wrap{border-radius:14px;justify-content:center;align-items:center;width:60px;height:60px;margin-bottom:1.25rem;display:inline-flex}.placeholder-icon-wrap.blue{background:var(--customer-blue-soft);color:var(--customer-blue)}.placeholder-icon-wrap.emerald{background:var(--customer-emerald-soft);color:var(--customer-emerald)}.placeholder-icon-wrap.green{color:#059669;background:#ecfdf5}.placeholder-title{color:var(--customer-text-main);margin:0 0 .5rem;font-size:1.35rem;font-weight:800}.placeholder-description{color:var(--customer-text-secondary);max-width:520px;margin:0 auto 1.5rem;font-size:.95rem;line-height:1.55}.step-badge-notice{color:var(--customer-blue);background:var(--customer-blue-soft);border:1px solid #2563eb33;border-radius:999px;padding:4px 12px;font-size:.78rem;font-weight:700;display:inline-block}.business-profile-grid{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.profile-meta-card,.profile-rules-card,.settings-card{background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #00000008}.meta-label{text-transform:uppercase;letter-spacing:.05em;color:var(--customer-text-muted);margin-bottom:4px;font-size:.72rem;font-weight:700}.meta-value{color:var(--customer-text-main);margin-bottom:1.25rem;font-size:.95rem;font-weight:700}.meta-value:last-child{margin-bottom:0}.rules-card-title{color:var(--customer-text-main);margin:0 0 1rem;font-size:1.05rem;font-weight:800}.clean-bullet-list{color:var(--customer-text-secondary);margin:0;padding-left:1.25rem;font-size:.88rem;line-height:1.7}.clean-bullet-list strong{color:var(--customer-text-main)}.settings-row{border-bottom:1px solid var(--customer-border-soft);justify-content:space-between;align-items:center;padding:1rem 0;display:flex}.settings-row:last-child{border-bottom:none;padding-bottom:0}.settings-row:first-child{padding-top:0}.settings-title{color:var(--customer-text-main);margin-bottom:2px;font-size:.92rem;font-weight:700}.settings-desc{color:var(--customer-text-muted);font-size:.82rem}@media (width<=1180px) and (width>=960px){.customer-content-container{padding:1.25rem}.agent-card-actions{flex-direction:column;gap:6px}.btn-agent-trigger,.btn-agent-profile{justify-content:center;width:100%}}@media (width<=960px){.team-cards-grid,.agents-interactive-grid,.business-profile-grid{grid-template-columns:1fr}.customer-content-container{padding:1.25rem 1rem}.preview-meta-row{grid-template-columns:1fr}.history-row-card{flex-direction:column;align-items:flex-start;gap:.5rem}.history-agent-col{width:100%}}@media (width<=768px){.mobile-menu-btn{display:block}.customer-sidebar{transition:transform .2s ease-in-out;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);box-shadow:10px 0 25px #00000026}.customer-sidebar.mobile-open{transform:translate(0)}.team-status-indicator{display:none}.customer-top-header{padding:0 1rem}.drawer-panel{width:100vw}.approval-card{padding:1.25rem 1rem}}.business-profile-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.profile-pretitle{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin-bottom:4px;font-size:.75rem;font-weight:700}.header-action-group{align-items:center;gap:12px;display:flex}.alex-sync-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;align-items:center;gap:8px;padding:7px 14px;font-size:.8125rem;font-weight:600;display:flex}.alex-sync-badge .sync-dot{background:#10b981;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 2px #10b98133}.btn-primary-save{color:#fff;cursor:pointer;background:#0f172a;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 18px;font-size:.875rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary-save:hover{background:#1e293b;box-shadow:0 4px 12px #0f172a26}.business-feedback-banner{border-radius:8px;margin-bottom:24px;padding:12px 18px;font-size:.875rem;font-weight:500}.business-feedback-banner.success{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.business-feedback-banner.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.business-grid-layout{grid-template-columns:1.25fr 1fr;gap:24px;display:grid}@media (width<=1024px){.business-grid-layout{grid-template-columns:1fr}}.business-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:24px;padding:24px;box-shadow:0 1px 3px #00000005}.card-header-icon-row{align-items:flex-start;gap:14px;margin-bottom:20px;display:flex}.card-icon-pill{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.card-icon-pill.blue{color:#2563eb;background:#eff6ff}.card-icon-pill.emerald{color:#059669;background:#ecfdf5}.card-icon-pill.purple{color:#7c3aed;background:#f5f3ff}.card-icon-pill.amber{color:#d97706;background:#fef3c7}.card-heading{color:#0f172a;margin:0 0 3px;font-size:1.0625rem;font-weight:700}.card-subheading{color:#64748b;margin:0;font-size:.8125rem}.form-fields-grid{flex-wrap:wrap;gap:16px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group.full-width{width:100%}.form-group.half-width{width:calc(50% - 8px)}@media (width<=640px){.form-group.half-width{width:100%}}.form-label{color:#334155;font-size:.8125rem;font-weight:600}.required-star{color:#ef4444}.form-input,.form-textarea,.leads-select-filter{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:9px 13px;font-size:.875rem;transition:all .15s}.form-input:focus,.form-textarea:focus,.leads-select-filter:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.read-only-field-box{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;padding:9px 13px;font-size:.875rem;font-weight:500;display:flex}.currency-tag{color:#334155;background:#e2e8f0;border-radius:4px;padding:3px 6px;font-size:.6875rem;font-weight:700}.form-hint{color:#64748b;margin-top:4px;font-size:.75rem}.services-chips-container{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.service-chip-item{color:#1e293b;background:#f8fafc;border:1px solid #cbd5e1;border-radius:9999px;align-items:center;gap:8px;padding:6px 12px;font-size:.8125rem;font-weight:500;display:inline-flex}.chip-remove-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0;font-size:1rem;line-height:1}.chip-remove-btn:hover{color:#ef4444}.add-service-input-row,.add-goal-input-row{gap:8px;display:flex}.goals-list-wrap{flex-direction:column;gap:8px;margin-bottom:14px;display:flex}.goal-item-row{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:10px;padding:8px 12px;font-size:.8125rem;display:flex}.goal-check-icon{color:#2563eb;background:#eff6ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;font-size:.6875rem;font-weight:700;display:flex}.goal-text{flex:1}.goal-remove-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:1rem;line-height:1}.goal-remove-btn:hover{color:#ef4444}.alex-knowledge-card{color:#fff;background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border-radius:12px;margin-bottom:24px;padding:24px}.alex-card-top{align-items:center;gap:12px;margin-bottom:14px;display:flex}.alex-avatar-pill{background:#2563eb;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;font-size:.875rem;font-weight:700;display:flex}.alex-knowledge-title{margin:0;font-size:1rem;font-weight:700}.alex-status-caption{color:#94a3b8;font-size:.75rem}.alex-knowledge-summary{color:#cbd5e1;margin-bottom:16px;font-size:.875rem;line-height:1.5}.rules-checkpoint-container{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;padding:12px 14px}.rules-title-label{text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:8px;font-size:.75rem;font-weight:700}.governance-checklist{color:#e2e8f0;flex-direction:column;gap:6px;margin:0;padding:0;font-size:.8125rem;list-style:none;display:flex}.icon-check{color:#10b981;margin-right:6px;font-weight:700}.profile-bottom-save-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;margin-top:12px;padding:16px 24px;display:flex}.last-saved-note{color:#64748b;font-size:.8125rem}.leads-center-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.leads-pretitle{text-transform:uppercase;letter-spacing:.08em;color:#059669;margin-bottom:4px;font-size:.75rem;font-weight:700}.leads-header-actions{align-items:center;gap:12px;display:flex}.leads-view-toggle-bar{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;gap:3px;padding:3px;display:flex}.leads-subtab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:7px;padding:7px 14px;font-size:.8125rem;font-weight:600;transition:all .15s;display:inline-flex}.leads-subtab-btn:hover{color:#0f172a}.leads-subtab-btn.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #00000014}.subtab-counter{color:#475569;background:#e2e8f0;border-radius:10px;padding:1px 6px;font-size:.72rem;font-weight:700}.leads-subtab-btn.active .subtab-counter{color:#2563eb;background:#eff6ff}.subtab-counter.emerald{color:#059669;background:#ecfdf5}.view-toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:7px 14px;font-size:.8125rem;font-weight:600;transition:all .15s;display:inline-flex}.view-toggle-btn.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #00000014}.btn-primary-lead{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:8px;align-items:center;gap:8px;padding:9px 15px;font-size:.8125rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary-lead:hover{background:#047857}.leads-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}@media (width<=1240px){.leads-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=768px){.leads-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.leads-kpi-grid{grid-template-columns:1fr}}.leads-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;min-width:0;padding:12px 14px;display:flex}.leads-kpi-card.highlight-overdue{background:#fff5f5;border-color:#fecaca}.kpi-icon-pill{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.kpi-icon-pill.blue{color:#2563eb;background:#eff6ff}.kpi-icon-pill.red{color:#dc2626;background:#fee2e2}.kpi-icon-pill.purple{color:#7c3aed;background:#f5f3ff}.kpi-icon-pill.amber{color:#d97706;background:#fef3c7}.kpi-num{color:#0f172a;font-size:1.25rem;font-weight:700;line-height:1.2}.kpi-num.text-red{color:#dc2626}.kpi-label{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.72rem;overflow:hidden}.leads-filter-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}@media (width<=768px){.leads-filter-toolbar{flex-direction:column;align-items:stretch}}.search-input-wrap{background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex:1;align-items:center;gap:10px;min-width:240px;padding:7px 12px;display:flex}.leads-search-field{color:#0f172a;background:0 0;border:none;outline:none;width:100%;font-size:.8125rem}.filter-dropdowns-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.leads-select-filter{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:7px 10px;font-size:.78rem}.leads-results-counter{color:#64748b;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;padding:6px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.btn-clear-search{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:0 4px;font-size:1.15rem;line-height:1;display:inline-flex}.btn-clear-search:hover{color:#475569}.leads-subview-panel{animation:.15s ease-in-out fadeIn}.leads-list-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.table-responsive{-webkit-overflow-scrolling:touch;width:100%;max-height:480px;position:relative;overflow:auto}.table-responsive::-webkit-scrollbar{width:6px;height:6px}.table-responsive::-webkit-scrollbar-track{background:#f8fafc}.table-responsive::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.table-responsive::-webkit-scrollbar-thumb:hover{background:#94a3b8}.leads-table{border-collapse:collapse;text-align:left;width:100%;font-size:.8125rem}.leads-table th{z-index:10;text-transform:uppercase;letter-spacing:.05em;color:#64748b;white-space:nowrap;background:#f8fafc;padding:10px 14px;font-size:.72rem;font-weight:700;position:sticky;top:0;box-shadow:inset 0 -1px #e2e8f0}.leads-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px 14px}.lead-table-row:hover{background:#f8fafc}.lead-table-row:last-child td{border-bottom:none}.contact-info-cell{flex-direction:column;gap:2px;display:flex}.lead-primary-name{color:#0f172a;font-size:.875rem;font-weight:600}.lead-company-name{color:#475569;font-size:.75rem;font-weight:500}.lead-email-subtle{color:#94a3b8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem}.service-inquiry-cell{flex-direction:column;gap:4px;max-width:260px;display:flex}.service-primary-text{color:#1e293b;font-size:.8125rem;font-weight:500;line-height:1.35}.lead-value-cell{font-weight:600}.value-formatted-text{color:#0f172a;font-size:.875rem;font-weight:700}.value-muted-dash{color:#cbd5e1;font-weight:600}.source-tag-pill{color:#475569;background:#f1f5f9;border-radius:4px;padding:3px 8px;font-size:.75rem;font-weight:500;display:inline-block}.source-campaign-cell{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.priority-badge-group{align-items:center;gap:6px;display:inline-flex}.clean-priority-pill{letter-spacing:.03em;border-radius:4px;align-items:center;gap:5px;padding:3px 8px;font-size:.6875rem;font-weight:700;display:inline-flex}.clean-priority-pill.red{color:#dc2626;background:#fee2e2}.clean-priority-pill.amber{color:#d97706;background:#fef3c7}.clean-priority-pill.blue{color:#2563eb;background:#eff6ff}.priority-indicator-dot{border-radius:50%;width:6px;height:6px}.priority-indicator-dot.red{background:#dc2626}.priority-indicator-dot.amber{background:#d97706}.priority-indicator-dot.blue{background:#2563eb}.manual-override-tag{color:#6d28d9;background:#ede9fe;border-radius:3px;padding:2px 5px;font-size:.6875rem;font-weight:600}.ai-scored-tag{color:#047857;background:#ecfdf5;border-radius:3px;padding:2px 5px;font-size:.6875rem;font-weight:600}.lead-status-wrapper{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.lead-status-pill{letter-spacing:.04em;text-transform:uppercase;border-radius:4px;padding:3px 8px;font-size:.6875rem;font-weight:700}.status-pill-new{color:#2563eb;background:#eff6ff}.status-pill-contacted{color:#4f46e5;background:#eef2ff}.status-pill-qualified{color:#7c3aed;background:#f5f3ff}.status-pill-won{color:#059669;background:#ecfdf5}.status-pill-lost{color:#64748b;background:#f1f5f9}.customer-badge-pill{color:#15803d;background:#dcfce7;border-radius:3px;padding:2px 6px;font-size:.6875rem;font-weight:700}.followup-cell-wrapper{align-items:center;display:inline-flex}.btn-table-action{color:#0f172a;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 11px;font-size:.75rem;font-weight:600;transition:all .15s;display:inline-flex}.leads-pagination-bar{background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.pagination-info{color:#64748b;font-size:.78rem;font-weight:500}.pagination-info strong{color:#0f172a;font-weight:700}.pagination-page-size{color:#64748b;align-items:center;gap:6px;font-size:.78rem;display:flex}.page-size-label{font-weight:500}.page-size-select{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:4px 8px;font-size:.78rem;font-weight:600}.page-size-select:focus{border-color:#2563eb}.pagination-controls{align-items:center;gap:4px;display:flex}.btn-page-nav{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:4px;padding:5px 10px;font-size:.75rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-page-nav:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8}.btn-page-nav:disabled{opacity:.4;cursor:not-allowed;background:#f8fafc}.page-numbers-group{align-items:center;gap:3px;display:flex}.btn-page-num{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;min-width:26px;height:26px;padding:0 5px;font-size:.75rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-page-num:hover:not(.active){color:#0f172a;background:#f1f5f9}.btn-page-num.active{color:#fff;background:#0f172a;font-weight:700}.btn-page-ellipsis{color:#94a3b8;padding:0 2px;font-size:.75rem}.btn-table-action:hover{color:#0284c7;background:#f8fafc;border-color:#94a3b8}.empty-table-state{text-align:center;padding:48px!important}.empty-table-wrap{color:#64748b;flex-direction:column;align-items:center;gap:6px;display:flex}.inline-forms-header-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:1.5rem;margin-bottom:1.25rem;padding:1.25rem 1.5rem;display:flex}.forms-badge-row{align-items:center;gap:8px;margin-bottom:6px;display:flex}.forms-sync-tag{color:#059669;background:#ecfdf5;border-radius:4px;padding:2px 7px;font-size:.72rem;font-weight:600}.forms-section-headline{color:#0f172a;margin:0 0 4px;font-size:1.125rem;font-weight:700}.forms-section-subline{color:#64748b;max-width:720px;margin:0;font-size:.8125rem;line-height:1.45}.inline-forms-grid{grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:1.25rem;display:grid}@media (width<=640px){.inline-forms-grid{grid-template-columns:1fr}.inline-forms-header-card{flex-direction:column;align-items:stretch}}.form-card-modern{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:space-between;padding:1.25rem;transition:all .2s;display:flex}.form-card-modern:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0000000a}.form-card-top{margin-bottom:1rem}.form-card-title-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.form-card-title{color:#0f172a;margin:0;font-size:1rem;font-weight:700}.form-card-tags{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.form-slug-badge{color:#475569;background:#f1f5f9;border-radius:4px;padding:2px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem}.form-card-desc{color:#475569;margin:0 0 12px;font-size:.8125rem;line-height:1.45}.form-stats-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:1rem;padding:8px 12px;display:grid}.form-stat-item{text-align:center}.form-stat-num{color:#0f172a;font-size:1rem;font-weight:700;line-height:1.1}.form-stat-label{color:#64748b;margin-top:2px;font-size:.6875rem}.form-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.btn-form-action{cursor:pointer;border-radius:6px;align-items:center;gap:6px;padding:7px 12px;font-size:.78rem;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.btn-form-action.primary{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.btn-form-action.primary:hover{background:#dbeafe}.btn-form-action.secondary{color:#475569;background:#fff;border:1px solid #cbd5e1}.btn-form-action.secondary:hover{color:#0f172a;background:#f8fafc}.btn-copied-success{color:#059669!important;background:#ecfdf5!important;border-color:#a7f3d0!important}.lead-drawer-backdrop{z-index:998;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a66;display:none;position:fixed;inset:0}.lead-drawer{z-index:999;background:#fff;flex-direction:column;width:540px;max-width:90vw;transition:right .3s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:0;bottom:0;right:-560px;box-shadow:-8px 0 24px #0000001f}.lead-drawer.open{right:0}.lead-drawer-content{flex-direction:column;height:100%;display:flex}.lead-drawer-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.drawer-title-row{align-items:center;gap:14px;display:flex}.drawer-avatar-circle{color:#fff;background:#0f172a;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:1rem;font-weight:700;display:flex}.drawer-lead-name{color:#0f172a;margin:0;font-size:1.125rem;font-weight:700}.drawer-company-tag{color:#64748b;margin-top:2px;font-size:.75rem}.drawer-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;font-size:1.5rem;line-height:1}.drawer-close-btn:hover{color:#0f172a}.lead-drawer-body{flex-direction:column;flex:1;gap:20px;padding:24px;display:flex;overflow-y:auto}.drawer-section-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:18px}.drawer-card-title{color:#0f172a;margin:0 0 12px;font-size:.9375rem;font-weight:700}.drawer-card-subtitle{color:#64748b;margin:0;font-size:.75rem}.card-agent-badge-head{align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.mini-agent-pill{color:#fff;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.6875rem;font-weight:700;display:flex}.mini-agent-pill.emerald{background:#059669}.mini-agent-pill.purple{background:#7c3aed}.drawer-info-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;display:grid}.info-item{flex-direction:column;display:flex}.info-label{color:#64748b;text-transform:uppercase;font-size:.6875rem;font-weight:600}.info-val{color:#1e293b;font-size:.8125rem;font-weight:600}.code-val{color:#475569;font-family:monospace;font-size:.75rem}.inquiry-quote-box{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:12px}.quote-label{color:#64748b;margin-bottom:4px;font-size:.6875rem;font-weight:700}.quote-text{color:#334155;margin:0;font-size:.8125rem;line-height:1.5}.priority-selector-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:12px}.priority-control-row{align-items:center;gap:12px;margin-top:6px;display:flex}.priority-status-indicator{border-radius:4px;padding:4px 8px;font-size:.75rem;font-weight:600}.priority-status-indicator.manual{color:#6d28d9;background:#ede9fe}.priority-status-indicator.ai{color:#047857;background:#ecfdf5}.morgan-rationale-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.rationale-header{color:#059669;align-items:center;gap:6px;margin-bottom:6px;font-size:.75rem;font-weight:700;display:flex}.rationale-text{color:#334155;margin:0 0 10px;font-size:.8125rem;line-height:1.5}.rationale-footer{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-top:8px;font-size:.75rem;display:flex}.schedule-controls-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:14px}.schedule-status-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.reschedule-input-row{align-items:flex-end;gap:10px;display:flex}.sam-message-draft-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:12px}.draft-header{color:#7c3aed;margin-bottom:8px;font-size:.75rem;font-weight:700}.draft-body-preview{color:#334155;white-space:pre-wrap;background:#faf5ff;border:1px solid #f3e8ff;border-radius:6px;padding:12px;font-size:.8125rem;line-height:1.5}.sam-explanation-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px;padding:12px}.sam-explanation-box .label{color:#475569;font-size:.75rem;font-weight:700}.sam-explanation-box p{color:#334155;margin:4px 0 0;font-size:.8125rem}.related-proposal-banner{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;display:flex}.related-proposal-banner .banner-text{color:#92400e;flex:1;font-size:.8125rem}.drawer-actions-row{margin-top:12px}.btn-complete-followup{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px;font-size:.875rem;font-weight:600;display:flex}.btn-complete-followup:hover{background:#047857}.completion-confirmed-note{text-align:center;color:#059669;background:#ecfdf5;border-radius:6px;padding:8px;font-size:.8125rem;font-weight:600}.btn-link{color:#2563eb;cursor:pointer;background:0 0;border:none;padding:0;font-size:.75rem;font-weight:600;text-decoration:underline}.btn-cancel{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:9px 16px;font-weight:600}.btn-confirm-save{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:8px;padding:9px 18px;font-weight:600}
