:root{color:#102a3a;font-synthesis:none;text-rendering:optimizelegibility;--green-50:#ecfdf5;--green-100:#d1fae5;--green-300:#6ee7b7;--green-500:#10b981;--green-600:#059669;--green-700:#047857;--green-800:#065f46;--blue-50:#f0f9ff;--blue-100:#e0f2fe;--blue-300:#7dd3fc;--blue-400:#38bdf8;--blue-500:#0ea5e9;--blue-600:#0284c7;--blue-700:#0369a1;--blue-800:#075985;--teal-100:#ccfbf1;--teal-500:#14b8a6;--teal-700:#0f766e;--teal-800:#115e59;--navy-900:#102a3a;--text-primary:#102a3a;--text-secondary:#536b79;--text-muted:#78909c;--surface:#fff;--surface-soft:#f7fbfc;--surface-secondary:#f0f4f8;--input-bg:#fff;--input-text:#102a3a;--border-subtle:#eff5f6;--border-light:#dcebed;--border-medium:#c9dde1;--gradient-primary:linear-gradient(135deg, #0fba91 0%, #078ec8 100%);--gradient-text:linear-gradient(105deg, #059669 5%, #0284c7 95%);--gradient-soft:linear-gradient(135deg, #dff9ef 0%, #e2f5ff 100%);--radius-button:12px;--shadow-subtle:0 10px 30px #1643520f;--shadow-card:0 18px 50px #14495814;--shadow-card-hover:0 26px 65px #14495821;--shadow-brand:0 13px 27px #0891b238;--shadow-primary-button:0 13px 29px #0891b23b;--shadow-dashboard:0 34px 90px #12445224;background:radial-gradient(circle at 86% 10%,#0ea5e91a,#0000 28%),radial-gradient(circle at 10% 24%,#10b98114,#0000 26%),linear-gradient(#f7fcfc 0%,#fff 54%,#f9fcfd 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--text-primary:#102a3a;--text-secondary:#536b79;--text-muted:#78909c;--surface:#fff;--surface-soft:#f7fbfc;--surface-secondary:#f0f4f8;--input-bg:#fff;--input-text:#102a3a;--border-subtle:#eff5f6;--border-light:#dcebed;--border-medium:#c9dde1}}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}body select:not([multiple]){border:1px solid var(--border-medium,#c9dde1);appearance:none;min-height:42px;color:var(--text-primary,#102a3a);background-color:var(--input-bg,#fff);background-image:linear-gradient(45deg, transparent 50%, var(--blue-700,#0369a1) 50%), linear-gradient(135deg, var(--blue-700,#0369a1) 50%, transparent 50%), linear-gradient(to right, var(--border-light,#dcebed), var(--border-light,#dcebed));cursor:pointer;background-position:calc(100% - 18px),calc(100% - 13px),calc(100% - 36px);background-repeat:no-repeat;background-size:5px 5px,5px 5px,1px 22px;border-radius:10px;padding:10px 42px 10px 13px;transition:border-color .16s,box-shadow .16s,background-color .16s}body select:not([multiple]):hover:not(:disabled){border-color:var(--blue-300,#7dd3fc);background-color:var(--blue-50,#f0f9ff)}body select:not([multiple]):focus,body select:not([multiple]):focus-visible{border-color:var(--teal-500,#14b8a6);background-color:#fff;outline:none;box-shadow:0 0 0 3px #14b8a629}body select:not([multiple]):disabled{color:var(--text-muted,#78909c);border-color:var(--border-light,#dcebed);background-color:var(--surface-secondary,#f0f4f8);cursor:not-allowed;opacity:.78}body select option{color:var(--text-primary,#102a3a);background:#fff}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #0ea5e93d}::selection{color:#fff;background:#059669}.app-shell{background:var(--surface);width:100%;height:100dvh;min-height:0;display:flex;overflow:hidden}.app-container{flex-direction:column;flex:1;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.app-main{overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface-soft);flex:1;min-height:0;overflow:hidden auto}[data-interaction-recovery-disabled=true]{pointer-events:none!important}@media (width<=768px){.app-shell{flex-direction:column}.app-container{width:100%;height:100%}}.sidebar{z-index:100;border-right:1px solid var(--border-light);background:#fff;flex-direction:column;flex:0 0 260px;align-self:flex-start;width:260px;height:100dvh;display:flex;position:sticky;top:0;overflow:hidden}.sidebar-overlay{z-index:99;background:#00000080;display:none;position:fixed;inset:0}.sidebar-header{border-bottom:1px solid var(--border-light);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:20px;display:flex}.sidebar-brand{color:var(--text-primary);flex:1;align-items:center;gap:10px;min-width:0;text-decoration:none;display:flex}.sidebar-brand-mark{background:var(--gradient-primary);color:#fff;border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:14px;font-weight:900;display:grid}.sidebar-brand-text{flex:1;min-width:0}.sidebar-brand-text strong{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:800;display:block;overflow:hidden}.sidebar-brand-text small{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:600;display:block;overflow:hidden}.sidebar-close{cursor:pointer;color:var(--text-muted);background:0 0;border:none;flex-shrink:0;font-size:20px;display:none}.sidebar-nav{overscroll-behavior:contain;flex:1;min-height:0;padding:12px 0;overflow:hidden auto}.sidebar-link{color:var(--text-secondary);border-left:3px solid #0000;align-items:center;gap:12px;padding:12px 16px;font-size:13px;font-weight:600;text-decoration:none;transition:all .16s;display:flex}.sidebar-link:hover{color:var(--blue-700);background:#0ea5e90d}.sidebar-link.active{color:var(--blue-700);border-left-color:var(--blue-600);background:#0ea5e91a}.sidebar-link-icon{flex-shrink:0;place-items:center;width:20px;font-size:16px;display:grid}.sidebar-link-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar-divider{background:var(--border-light);height:1px;margin:12px 0}.sidebar-footer{border-top:1px solid var(--border-light);background:#fff;flex-direction:column;flex-shrink:0;gap:12px;padding:12px;display:flex}.sidebar-user{background:var(--surface-soft);border-radius:8px;align-items:center;gap:10px;padding:8px;display:flex}.user-avatar{background:var(--gradient-soft);width:36px;height:36px;color:var(--text-primary);border-radius:8px;flex-shrink:0;place-items:center;font-size:12px;font-weight:700;display:grid;overflow:hidden}.user-avatar img{object-fit:cover;width:100%;height:100%}.user-info{flex:1;min-width:0}.user-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;overflow:hidden}.user-role{color:var(--text-muted);text-transform:uppercase;font-size:10px;font-weight:600}.sidebar-signout{border:1px solid var(--border-light);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:700;transition:all .16s}.sidebar-signout:hover{border-color:var(--border-medium);background:var(--surface-soft);color:var(--text-primary)}@media (width<=768px){.sidebar{width:min(260px,100vw - 40px);height:100dvh;transition:transform .2s;position:fixed;top:0;left:0;transform:translate(-100%);box-shadow:0 8px 24px #00000026}.sidebar.open{transform:translate(0)}.sidebar-overlay,.sidebar-close{display:block}}.app-header{z-index:90;border-bottom:1px solid var(--border-light);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:24px;width:100%;height:68px;padding:0 24px;display:flex;position:sticky;top:0}.header-left{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.header-menu-button{cursor:pointer;color:var(--text-primary);background:0 0;border:none;padding:4px;font-size:20px;display:none}.header-title-section{align-items:center;gap:12px;display:flex}.header-title{color:var(--text-primary);white-space:nowrap;margin:0;font-size:20px;font-weight:700}.header-right{align-items:center;gap:20px;display:flex}.header-search{width:280px;position:relative}.search-input{border:1px solid var(--border-light);background:var(--surface-soft);border-radius:8px;width:100%;padding:8px 12px 8px 36px;font-size:13px;transition:all .16s}.search-input:focus{border-color:var(--blue-400);background:#fff;outline:none;box-shadow:0 0 0 3px #0ea5e91a}.search-icon{color:var(--text-muted);font-size:14px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.notification-button{cursor:pointer;background:0 0;border:none;padding:4px;font-size:18px;transition:transform .16s}.notification-button:hover{transform:scale(1.1)}@media (width<=1024px){.header-search{width:200px}}@media (width<=768px){.app-header{gap:12px;height:60px;padding:0 16px}.header-menu-button{display:block}.header-title{font-size:16px}.header-search{display:none}.header-right{gap:12px}}.header-softphone-button{border:1px solid var(--border-light);min-width:40px;min-height:40px;color:var(--text-primary);background:var(--surface-soft);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:7px 10px;transition:border-color .15s,background .15s,transform .15s;display:flex;position:relative}.header-softphone-button:hover{border-color:var(--blue-300);background:var(--blue-50);transform:translateY(-1px)}.header-softphone-icon{font-size:18px;line-height:1}.header-softphone-call{text-align:left;flex-direction:column;align-items:flex-start;gap:0;display:flex}.header-softphone-call strong{font-variant-numeric:tabular-nums;font-size:12px;line-height:1.1}.header-softphone-call small{max-width:86px;color:var(--text-muted);text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap;font-size:9px;overflow:hidden}.header-softphone-dot{border:2px solid var(--surface);background:var(--green-500);border-radius:999px;width:7px;height:7px;position:absolute;top:5px;right:5px}.header-softphone-button.status-failed .header-softphone-dot,.header-softphone-button.status-busy .header-softphone-dot,.header-softphone-button.status-no_answer .header-softphone-dot,.header-softphone-button.status-canceled .header-softphone-dot,.header-softphone-button.status-missed .header-softphone-dot{background:#dc2626}@media (width<=768px){.header-softphone-button{min-width:38px;min-height:38px;padding:6px 8px}.header-softphone-call{display:none}}.user-menu{position:relative}.user-menu-trigger{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex}.user-avatar-small{background:var(--gradient-soft);width:32px;height:32px;color:var(--text-primary);border-radius:8px;place-items:center;font-size:11px;font-weight:700;display:grid;overflow:hidden}.user-avatar-small img{object-fit:cover;width:100%;height:100%}.user-menu-dropdown{border:1px solid var(--border-light);z-index:1000;background:#fff;border-radius:8px;min-width:200px;margin-top:8px;position:absolute;top:100%;right:0;overflow:hidden;box-shadow:0 10px 30px #1643521a}.user-menu-header{flex-direction:column;gap:2px;padding:12px 16px;display:flex}.user-menu-header strong{color:var(--text-primary);font-size:13px}.user-menu-header small{color:var(--text-muted);text-transform:uppercase;font-size:11px;font-weight:600}.user-menu-divider{background:var(--border-light);height:1px}.user-menu-item{width:100%;color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:none;padding:10px 16px;font-size:13px;font-weight:600;transition:all .16s}.user-menu-item:hover{background:var(--surface-soft);color:var(--text-primary)}.user-menu-item.danger{color:#dc2626}.user-menu-item.danger:hover{color:#991b1b;background:#dc26260d}.status-badge{text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;border-radius:6px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-block}.status-active,.status-new,.status-sent,.status-paid,.status-completed,.status-closed_won{background:var(--green-100);color:var(--green-800)}.status-inactive,.status-canceled,.status-archived,.status-not_invoicable{color:#6b7280;background:#f3f4f6}.status-draft,.status-prospect,.status-ready_for_revision{background:var(--blue-100);color:var(--blue-800)}.status-pending,.status-pending_payment,.status-attempted_contact,.status-follow_up_needed,.status-evaluating_supplies,.status-negotiate,.status-ready_to_send,.status-send_to_vendor,.status-normal{color:#92400e;background:#fef3c7}.status-partially_paid,.status-ready_to_invoice,.status-partially_invoiced,.status-high{color:#0c4a6e;background:#dbeafe}.status-overdue,.status-not_interested,.status-lost,.status-closed_lost,.status-urgent{color:#7f1d1d;background:#fee2e2}.status-qualified,.status-contacted{color:#065f46;background:#d1fae5}.status-unqualified,.status-low{color:#374151;background:#f3f4f6}.status-invoiced{color:#312e81;background:#c7d2fe}.metric-card{border:1px solid var(--border-light);width:100%;min-width:0;min-height:126px;box-shadow:var(--shadow-subtle);text-align:left;color:var(--text-primary);font:inherit;background:#fff;border-radius:12px;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px;display:grid}.metric-card--clickable{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.metric-card--clickable:hover{border-color:var(--blue-300,#7dd3fc);box-shadow:var(--shadow-card);transform:translateY(-1px)}.metric-card--clickable:focus-visible{outline-offset:2px;outline:3px solid #0ea5e93d}.metric-card--warning{background:#fffbeb;border-color:#f6d58a}.metric-card--critical{background:linear-gradient(135deg,#fff1f2 0%,#fff7f7 100%);border:2px solid #ef4444;box-shadow:0 10px 24px #b91c1c29,inset 4px 0 #b91c1c}.metric-card--critical.metric-card--clickable:hover{border-color:#b91c1c;transform:translateY(-2px);box-shadow:0 14px 30px #b91c1c3d,inset 4px 0 #991b1b}.metric-card--critical.metric-card--clickable:focus-visible{outline-color:#dc262652}.metric-card--success{background:#f0fdf8;border-color:#a7e7cb}.metric-card--financial{background:#f7fcff;border-color:#bae6fd}.metric-card-icon{background:var(--blue-100,#e0f2fe);width:38px;height:38px;color:var(--blue-700,#0369a1);border-radius:10px;place-items:center;display:grid}.metric-card--warning .metric-card-icon{color:#92400e;background:#fef3c7}.metric-card--critical .metric-card-icon{color:#b91c1c;background:#fee2e2;position:relative;box-shadow:0 0 0 4px #ef44441f}.metric-card--active-alert .metric-card-icon:after{content:"";pointer-events:none;border:2px solid #dc26266b;border-radius:13px;animation:1.8s ease-out infinite metric-critical-pulse;position:absolute;inset:-5px}.metric-card--success .metric-card-icon{color:#166534;background:#dcfce7}.metric-card-icon svg{width:21px;height:21px}.metric-card-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.metric-alert-kicker{color:#fff;letter-spacing:.08em;text-transform:uppercase;background:#b91c1c;border-radius:999px;width:fit-content;padding:3px 7px;font-size:9px;font-weight:900;line-height:1.2}.metric-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em;font-size:11px;font-weight:700;display:block}.metric-card--critical .metric-label{color:#991b1b;font-weight:900}.metric-value{color:var(--text-primary);letter-spacing:-.02em;overflow-wrap:anywhere;font-size:clamp(22px,2vw,28px);font-weight:800;line-height:1.1;display:block}.metric-card--critical .metric-value{color:#b91c1c;font-size:clamp(26px,2.3vw,34px);font-weight:900}.metric-subtitle{color:var(--text-secondary);font-size:12px;line-height:1.35;display:block}.metric-card--critical .metric-subtitle{color:#7f1d1d;font-weight:700}.metric-trend{font-size:11px;font-weight:700;display:block}.metric-trend.positive{color:var(--green-700)}.metric-trend.negative{color:#dc2626}.metric-card-arrow{color:var(--text-muted);align-self:center;font-size:18px;transition:transform .16s,color .16s}.metric-card--clickable:hover .metric-card-arrow{color:var(--blue-700);transform:translate(2px)}.metric-card--critical .metric-card-arrow,.metric-card--critical.metric-card--clickable:hover .metric-card-arrow{color:#b91c1c}@keyframes metric-critical-pulse{0%{opacity:.75;transform:scale(.92)}70%,to{opacity:0;transform:scale(1.18)}}@media (prefers-reduced-motion:reduce){.metric-card--active-alert .metric-card-icon:after{animation:none}}@media (width<=480px){.metric-card{min-height:112px;padding:14px}}.empty-state{text-align:center;border:1px solid var(--border-light);background:#fff;border-radius:12px;padding:60px 24px}.empty-state-icon{margin-bottom:16px;font-size:48px}.empty-state-title{color:var(--text-primary);margin:0 0 8px;font-size:18px;font-weight:700}.empty-state-description{color:var(--text-secondary);max-width:400px;margin:0 auto 24px;font-size:14px}.empty-state-button{background:var(--gradient-primary);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:10px 20px;font-size:13px;font-weight:700;transition:all .16s}.empty-state-button:hover{box-shadow:var(--shadow-primary-button);transform:translateY(-2px)}.skeleton{background:linear-gradient(90deg, var(--surface-soft) 0%, #f0f5f6 50%, var(--surface-soft) 100%);background-size:200% 100%;border-radius:6px;animation:1.5s infinite skeleton-loading}@keyframes skeleton-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-lines{flex-direction:column;gap:12px;display:flex}.skeleton-text{width:100%;height:12px}.skeleton-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;display:grid}.skeleton-card{border-radius:12px;min-height:120px}.skeleton-table{flex-direction:column;gap:12px;display:flex}.skeleton-row{background:#fff;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px;display:grid}.skeleton-row .skeleton-text{height:14px}.page-container{max-width:1400px;margin:0 auto;padding:32px 24px}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px;display:flex}.page-header h2{color:var(--text-primary);margin:0;font-size:28px;font-weight:800}.page-description{color:var(--text-secondary);margin:4px 0 0;font-size:14px}.primary-button-small{background:var(--gradient-primary);color:#fff;cursor:pointer;white-space:nowrap;border:none;border-radius:8px;padding:10px 20px;font-size:13px;font-weight:700;transition:all .16s}.primary-button-small:hover{box-shadow:var(--shadow-primary-button);transform:translateY(-2px)}.primary-button-small:disabled{opacity:.6;cursor:not-allowed;transform:none}.section-title{color:var(--text-primary);margin:0 0 16px;font-size:16px;font-weight:700}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.dashboard-grid{grid-template-columns:2fr 1fr;gap:24px;margin-bottom:32px;display:grid}.activity-list{border:1px solid var(--border-light);background:#fff;border-radius:12px;overflow:hidden}.activity-item{border-bottom:1px solid var(--border-light);align-items:center;gap:12px;padding:16px;display:flex}.activity-item:last-child{border-bottom:none}.activity-icon{background:var(--gradient-soft);width:36px;height:36px;color:var(--blue-800);border-radius:8px;flex-shrink:0;place-items:center;font-size:11px;font-weight:700;display:grid}.activity-item strong{color:var(--text-primary);margin-bottom:2px;font-size:13px;display:block}.activity-item small{color:var(--text-muted);font-size:12px;display:block}.activity-item time{color:var(--text-muted);white-space:nowrap;margin-left:auto;font-size:12px}.quick-actions{flex-direction:column;gap:8px;display:flex}.quick-action-btn{border:1px solid var(--border-light);color:var(--text-primary);cursor:pointer;text-align:left;background:#fff;border-radius:8px;padding:12px 16px;font-size:13px;font-weight:600;transition:all .16s}.quick-action-btn:hover{border-color:var(--blue-400);background:var(--blue-50);color:var(--blue-700)}.placeholder-card{border:1px solid var(--border-light);text-align:center;color:var(--text-muted);background:#fff;border-radius:12px;padding:40px}@media (width<=1024px){.dashboard-grid{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}@media (width<=768px){.page-container{padding:20px 16px}.page-header{flex-direction:column;align-items:flex-start;margin-bottom:24px}.page-header h2{font-size:22px}.metrics-grid{grid-template-columns:1fr 1fr}.dashboard-grid{gap:16px}}.list-controls{flex-wrap:wrap;gap:12px;margin-bottom:24px;display:flex}.search-input-small{border:1px solid var(--border-light);min-width:200px;color:var(--text-primary,#102a3a);background:#fff;border-radius:8px;flex:1;padding:10px 12px;font-size:13px;transition:all .16s}.search-input-small::placeholder{color:var(--text-muted,#78909c)}.search-input-small:focus{box-shadow:none;background:#fff;border-color:#e5e7eb;outline:none}.filter-select{border:1px solid var(--border-light);color:var(--text-primary,#102a3a);cursor:pointer;background:#fff;border-radius:8px;padding:10px 12px;font-size:13px;transition:all .16s}.filter-select:focus{box-shadow:none;background:#fff;border-color:#e5e7eb;outline:none}.list-table{border:1px solid var(--border-light);background:#fff;border-radius:12px;overflow:auto hidden}table{border-collapse:collapse;width:100%}thead{background:var(--surface-soft);border-bottom:1px solid var(--border-light)}th{text-align:left;color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;padding:12px 16px;font-size:12px;font-weight:700}td{border-bottom:1px solid var(--border-light);color:var(--text-primary);padding:16px;font-size:13px}tbody tr:hover{background:#0ea5e905}tbody tr:last-child td{border-bottom:none}.no-results{text-align:center;color:var(--text-muted);padding:48px 16px!important}.list-pagination{border-top:1px solid var(--border-light);color:var(--text-muted);justify-content:space-between;align-items:center;padding:16px 24px;font-size:12px;display:flex}.pagination-buttons{gap:8px;display:flex}.pagination-button{border:1px solid var(--border-light);color:var(--text-primary);cursor:pointer;background:#fff;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .16s}.pagination-button:hover:not(:disabled){border-color:var(--blue-400);background:var(--blue-50)}.pagination-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=768px){.list-controls{flex-direction:column}.search-input-small{min-width:100%}.filter-select{width:100%}.list-table{font-size:12px;overflow-x:auto}th,td{padding:12px;font-size:12px}.list-pagination{text-align:center;flex-direction:column;gap:12px}}.vendor-page{min-width:0}.vendor-page-header{align-items:flex-end}.vendor-title-row{align-items:center;gap:10px;display:flex}.vendor-total-pill{background:var(--blue-100,#e0f2fe);min-width:29px;height:29px;color:var(--blue-800,#075985);border-radius:999px;place-items:center;padding:0 8px;font-size:12px;font-weight:800;display:inline-grid}.vendor-new-button{align-items:center;gap:7px;display:inline-flex}.vendor-new-button span{font-size:18px;line-height:0}.vendor-toolbar{border:1px solid var(--border-light);background:#fff;border-radius:12px;align-items:center;gap:12px;margin-bottom:18px;padding:12px;display:flex;box-shadow:0 1px 2px #0f172a08}.vendor-search-wrap{flex:1;min-width:0;display:block;position:relative}.vendor-search-wrap .search-input-small{width:100%;min-width:0;color:var(--text-primary,#102a3a);background:#fff;border-color:#dcebed;padding-left:38px;padding-right:38px}.vendor-search-wrap .search-input-small::placeholder{color:var(--text-muted,#78909c)}.vendor-search-wrap .search-input-small:focus{background:#fff;border-color:#e5e7eb}.vendor-search-icon{z-index:1;color:var(--text-muted,#78909c);pointer-events:none;font-size:18px;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.vendor-search-clear{width:26px;height:26px;color:var(--text-muted,#78909c);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;font-size:18px;transition:all .16s;display:grid;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.vendor-search-clear:hover{color:var(--text-primary,#102a3a);background:#e5e7eb}.vendor-toolbar .filter-select{min-width:150px;color:var(--text-primary,#102a3a);background:#fff;border-color:#dcebed}.vendor-clickable-row{cursor:pointer;outline:none;transition:background .14s,box-shadow .14s}.vendor-clickable-row:hover,.vendor-clickable-row:focus-visible{box-shadow:inset 3px 0 0 var(--blue-400,#38bdf8);background:#0ea5e90b}.vendor-primary-cell{align-items:center;gap:12px;min-width:210px;display:flex}.vendor-avatar{background:linear-gradient(135deg, var(--blue-100,#e0f2fe), var(--green-100,#d1fae5));width:38px;height:38px;color:var(--blue-800,#075985);border-radius:11px;flex:0 0 38px;place-items:center;font-size:14px;font-weight:900;display:grid}.vendor-primary-cell strong,.vendor-mobile-title strong{color:var(--text-primary);font-size:13px;line-height:1.35;display:block}.vendor-primary-cell small,.vendor-mobile-title small,.vendor-stacked-cell small{color:var(--text-muted);margin-top:3px;font-size:11px;display:block}.vendor-stacked-cell span{text-overflow:ellipsis;white-space:nowrap;max-width:230px;display:block;overflow:hidden}.vendor-muted{color:var(--text-muted)}.vendor-row-arrow{width:32px;color:var(--text-muted);text-align:right;padding-left:6px;font-size:23px}.vendor-mobile-list{display:none}.vendor-no-results,.vendor-message-state,.vendor-loading-state{border:1px dashed var(--border-light);min-height:260px;color:var(--text-muted);text-align:center;background:#fff;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:36px 24px;display:flex}.vendor-no-results>span{font-size:30px}.vendor-no-results strong,.vendor-message-state strong{color:var(--text-primary);font-size:15px}.vendor-no-results p{margin:0 0 8px;font-size:13px}.vendor-message-error{color:#b91c1c}.vendor-loading-state{flex-direction:row;min-height:180px;font-size:13px}.vendor-loading-spinner{border:2px solid var(--border-light);border-top-color:var(--blue-500,#0ea5e9);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite vendor-spinner}.vendor-list-summary{border-top:0;justify-content:flex-start;padding-left:4px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes vendor-spinner{to{transform:rotate(360deg)}}@media (width<=900px){.vendor-desktop-table{display:none}.vendor-mobile-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.vendor-mobile-card{border:1px solid var(--border-light);min-width:0;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:14px;flex-direction:column;padding:0;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.vendor-mobile-card:hover,.vendor-mobile-card:focus-visible{border-color:var(--blue-300,#7dd3fc);outline:none;transform:translateY(-2px);box-shadow:0 10px 24px #0f172a14}.vendor-mobile-card-header{align-items:center;gap:11px;min-width:0;padding:16px;display:flex}.vendor-mobile-title{flex:1;min-width:0}.vendor-mobile-title strong,.vendor-mobile-title small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.vendor-mobile-details{border-top:1px solid var(--border-light);background:var(--surface-soft,#f8fafc);grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px 16px;display:grid}.vendor-mobile-details>div{min-width:0}.vendor-mobile-details span,.vendor-mobile-details strong,.vendor-mobile-details small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.vendor-mobile-details span{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:700}.vendor-mobile-details strong{font-size:12px;font-weight:700}.vendor-mobile-details small{color:var(--text-muted);margin-top:3px;font-size:11px}.vendor-mobile-card-footer{border-top:1px solid var(--border-light);color:var(--blue-700,#0369a1);justify-content:space-between;gap:12px;padding:11px 16px;font-size:11px;font-weight:700;display:flex}}@media (width<=640px){.vendor-page-header{flex-direction:row;align-items:center;width:100%}.vendor-page-header>div{min-width:0}.vendor-page-header .page-description{display:none}.vendor-new-button{padding:9px 13px}.vendor-toolbar{flex-direction:column;align-items:stretch;gap:9px;padding:10px}.vendor-toolbar .filter-select{width:100%}.vendor-mobile-list{grid-template-columns:1fr;gap:12px}.vendor-mobile-details{grid-template-columns:1fr 1fr}.vendor-list-summary{text-align:left;align-items:flex-start;padding:13px 2px}}.import-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.import-summary-card{border:1px solid var(--border-light);min-width:0;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex;box-shadow:0 1px 2px #0f172a08}.import-summary-card:hover,.import-summary-card:focus-visible{border-color:var(--blue-400,#38bdf8);outline:none;transform:translateY(-1px);box-shadow:0 8px 22px #0ea5e917}.import-summary-card span{color:var(--text-muted);letter-spacing:.01em;font-size:12px;font-weight:700}.import-summary-card strong{color:var(--text-primary);font-size:24px;line-height:1}.view-all-link[type=button]{font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.pagination-buttons>span{min-width:92px;color:var(--text-muted);text-align:center;align-self:center;font-size:12px}.status-historical_invoiced{color:#7e22ce;background:#f3e8ff}.status-uninvoiced{color:#92400e;background:#fef3c7}.status-linked{color:#166534;background:#dcfce7}.record-detail-page{max-width:1400px}.record-detail-back{color:var(--blue-700,#0369a1);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;margin:0 0 18px;padding:0;font-size:13px;font-weight:700;display:inline-flex}.record-detail-back:hover,.record-detail-back:focus-visible,.record-detail-link:hover,.record-detail-link:focus-visible{color:var(--blue-900,#0c4a6e);outline:none;text-decoration:underline}.record-detail-header{border:1px solid var(--border-light);background:linear-gradient(135deg,#fff 0%,#f0f9ff 100%);border-radius:16px;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;padding:24px;display:flex;box-shadow:0 4px 18px #0f172a0a}.record-detail-eyebrow{color:var(--blue-700,#0369a1);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:900;display:block}.record-detail-header h1{color:var(--text-primary);margin:0;font-size:clamp(24px,3vw,36px);line-height:1.15}.record-detail-header p{color:var(--text-muted);margin:8px 0 0;font-size:14px}.record-detail-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;margin-bottom:18px;padding:14px 16px;font-size:13px;line-height:1.5}.record-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.record-stat-card{border:1px solid var(--border-light);background:#fff;border-radius:14px;min-width:0;padding:18px;box-shadow:0 1px 3px #0f172a0a}.record-stat-card>span,.record-detail-field>span{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:800;display:block}.record-stat-card>strong{color:var(--text-primary);overflow-wrap:anywhere;margin-top:8px;font-size:23px;line-height:1.2;display:block}.record-stat-card>small{color:var(--text-muted);margin-top:6px;font-size:11px;display:block}.record-detail-section{border:1px solid var(--border-light);background:#fff;border-radius:16px;margin-bottom:22px;padding:22px;box-shadow:0 1px 3px #0f172a08}.record-detail-section-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.record-detail-section-header h2{color:var(--text-primary);margin:0;font-size:17px}.record-detail-grid{border:1px solid var(--border-light);background:var(--border-light);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.record-detail-field{background:#fff;min-width:0;padding:16px}.record-detail-field-wide{grid-column:span 3}.record-detail-field>strong{color:var(--text-primary);overflow-wrap:anywhere;white-space:pre-wrap;margin-top:7px;font-size:13px;font-weight:650;line-height:1.5;display:block}.record-detail-link{color:var(--blue-700,#0369a1);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;display:inline}.record-detail-empty{border:1px dashed var(--border-light);color:var(--text-muted);text-align:center;border-radius:12px;padding:28px 18px;font-size:13px}.record-table-subtitle{color:var(--text-muted);margin-top:3px;font-size:11px;font-weight:500;display:block}.record-detail-section .list-table{border-radius:12px}@media (width<=1000px){.record-stat-grid,.record-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-detail-field-wide{grid-column:span 2}}@media (width<=768px){.import-summary-grid,.record-stat-grid,.record-detail-grid{grid-template-columns:1fr}.import-summary-card{padding:14px 16px}.record-detail-header{flex-direction:column;padding:20px}.record-detail-section{padding:16px}.record-detail-field-wide{grid-column:span 1}.record-stat-card>strong{font-size:20px}}.settings-container{padding-top:16px!important}.settings-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;max-width:1100px;display:grid}.settings-card{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;padding:24px;transition:all .16s}.settings-card:hover{border-color:var(--blue-300);box-shadow:0 18px 50px #0ea5e914}.settings-card-wide{grid-column:1/-1}.settings-card h3{color:var(--text-primary);margin:0 0 8px;font-size:16px;font-weight:700}.settings-description{color:var(--text-muted);margin:0;font-size:13px}.settings-card-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.settings-personal-badge{background:var(--blue-50);color:var(--blue-700);white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.settings-loading{color:var(--text-muted);padding:24px 0;font-size:13px}.invoice-address-form{flex-direction:column;gap:20px;display:flex}.settings-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.settings-field{flex-direction:column;gap:7px;display:flex}.settings-field-wide{grid-column:span 2}.settings-field-full{grid-column:1/-1}.settings-field span{color:var(--text-secondary);font-size:12px;font-weight:700}.settings-field input{box-sizing:border-box;border:1px solid var(--border-light);width:100%;color:var(--text-primary);font:inherit;background:#fff;border-radius:8px;padding:11px 12px;font-size:14px}.settings-field input:focus{border-color:var(--blue-400);outline:none;box-shadow:0 0 0 3px #0ea5e91a}.settings-message{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:11px 13px;font-size:13px;font-weight:600}.settings-message-error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.settings-form-actions{border-top:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:16px;padding-top:18px;display:flex}.settings-form-actions span{color:var(--text-muted);font-size:12px}.gmail-settings-card{flex-direction:column;gap:18px;display:flex}.gmail-settings-card .settings-card-heading{margin-bottom:0}.gmail-connection-layout{grid-template-columns:minmax(0,1fr) minmax(240px,320px);align-items:stretch;gap:24px;display:grid}.gmail-connection-summary,.gmail-connection-actions{border:1px solid var(--border-light);background:#f8fafc;border-radius:10px;padding:18px}.gmail-status-row{border-bottom:1px solid var(--border-light);align-items:center;gap:12px;padding-bottom:16px;display:flex}.gmail-status-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.gmail-status-row strong{color:var(--text-primary);font-size:15px}.gmail-status-row span:not(.gmail-status-indicator){color:var(--text-muted);overflow-wrap:anywhere;font-size:13px}.gmail-status-indicator{background:#94a3b8;border-radius:50%;flex:0 0 11px;width:11px;height:11px;box-shadow:0 0 0 4px #94a3b824}.gmail-status-connected{background:#16a34a;box-shadow:0 0 0 4px #16a34a24}.gmail-status-error{background:#dc2626;box-shadow:0 0 0 4px #dc262624}.gmail-status-revoked{background:#64748b;box-shadow:0 0 0 4px #64748b24}.gmail-connection-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 0;display:grid}.gmail-connection-details div{min-width:0}.gmail-connection-details dt{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:700}.gmail-connection-details dd{color:var(--text-primary);overflow-wrap:anywhere;margin:4px 0 0;font-size:13px}.gmail-connection-actions{flex-direction:column;justify-content:center;align-items:stretch;gap:10px;display:flex}.gmail-connection-actions button{width:100%}.gmail-connection-actions small{color:var(--text-muted);margin-top:4px;font-size:11px;line-height:1.5}.gmail-disconnect-button{color:#b91c1c;border-color:#fecaca}.gmail-disconnect-button:hover:not(:disabled){background:#fef2f2;border-color:#ef4444}@media (width<=900px){.settings-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gmail-connection-layout{grid-template-columns:1fr}}@media (width<=768px){.settings-grid{grid-template-columns:1fr}.settings-card-heading,.settings-form-actions{flex-direction:column;align-items:flex-start}.settings-form-grid{grid-template-columns:1fr}.settings-field,.settings-field-wide,.settings-field-full{grid-column:1}.settings-form-actions .primary-button-small{width:100%}.gmail-connection-details{grid-template-columns:1fr}}.auth-container{background:linear-gradient(135deg,#1e40af 0%,#1e3a8a 100%);justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.auth-card{background:#fff;border-radius:16px;width:100%;max-width:420px;padding:48px 40px;box-shadow:0 25px 50px #0000004d}.auth-header{text-align:center;margin-bottom:40px}.auth-header h1{color:#1f2937;letter-spacing:-.5px;margin:0 0 8px;font-size:32px;font-weight:800}.auth-header p{color:#6b7280;margin:0;font-size:15px;font-weight:500}.auth-form{flex-direction:column;gap:24px;margin-bottom:32px;display:flex}.auth-form .form-group{flex-direction:column;gap:8px;display:flex}.auth-form .form-group label{color:#1f2937;text-transform:capitalize;font-size:14px;font-weight:600}.auth-form input{color:#1f2937;background:#f9fafb;border:1px solid #d1d5db;border-radius:10px;padding:14px 16px;font-family:inherit;font-size:15px;transition:all .3s}.auth-form input::placeholder{color:#9ca3af}.auth-form input:hover{background:#fff;border-color:#9ca3af}.auth-form input:focus{background:#fff;border-color:#1e40af;outline:none;box-shadow:0 0 0 3px #1e40af1a}.auth-form input:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.auth-form small{color:#9ca3af;margin-top:-4px;font-size:13px}.btn-block{width:100%}.btn-primary{color:#fff;cursor:pointer;letter-spacing:.3px;background:#1e40af;border:none;border-radius:10px;padding:12px 24px;font-size:15px;font-weight:600;transition:all .3s}.btn-primary:active:not(:disabled){transform:translateY(0)}.alert-success{color:#15803d;background:#f0fdf4;border-left-color:#16a34a}.alert-warning{color:#92400e;background:#fffbeb;border-left-color:#f59e0b}.alert-info{color:#0c4a6e;background:#f0f9ff;border-left-color:#0284c7}.auth-footer{text-align:center;color:#6b7280;margin:0;font-size:14px}.auth-footer a{color:#1e40af;font-weight:600;text-decoration:none;transition:all .2s}.auth-footer a:hover{color:#1e3a8a;text-decoration:underline}@media (width<=480px){.auth-card{padding:36px 28px}.auth-header h1{font-size:28px}.auth-form{gap:20px}}@media (prefers-color-scheme:dark){.auth-container{background:linear-gradient(135deg,#0c2340 0%,#051b2e 100%)}.auth-card{background:#1f2937;box-shadow:0 25px 50px #00000080}.auth-header h1{color:#f3f4f6}.auth-header p{color:#d1d5db}.auth-form .form-group label{color:#f3f4f6}.auth-form input{color:#f3f4f6;background:#111827;border-color:#374151}.auth-form input::placeholder{color:#6b7280}.auth-form input:hover{background:#1f2937;border-color:#6b7280}.auth-form input:focus{background:#1f2937;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.auth-form input:disabled{color:#6b7280;background:#374151}.auth-form small{color:#9ca3af}.btn-primary{background:#2563eb}.btn-primary:hover:not(:disabled){background:#1e40af;box-shadow:0 10px 20px #2563eb40}.alert-error{color:#fecaca;background:#7f1d1d;border-left-color:#dc2626}.alert-success{color:#d1fae5;background:#064e3b;border-left-color:#10b981}.alert-warning{color:#fef3c7;background:#78350f;border-left-color:#f59e0b}.alert-info{color:#bae6fd;background:#082f49;border-left-color:#0284c7}.auth-footer{color:#d1d5db}.auth-footer a{color:#3b82f6}.auth-footer a:hover{color:#60a5fa}}.dashboard-container{max-width:1600px}.dashboard-page-header{align-items:flex-start;margin-bottom:24px}.dashboard-section{margin-bottom:32px}.dashboard-section-heading{margin-bottom:14px}.dashboard-metrics-section{margin-top:0}.dashboard-primary-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.profit-performance-section{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;padding:20px}.profit-performance-grid{border:1px solid var(--border-light);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.profit-period-card{background:var(--surface-soft,#f8fafc);border-right:1px solid var(--border-light);flex-direction:column;gap:6px;min-width:0;padding:18px 20px;display:flex}.profit-period-card:last-child{border-right:0}.profit-period-label{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:700}.profit-period-card strong{color:var(--text-primary);letter-spacing:-.025em;font-size:clamp(24px,2.4vw,32px);line-height:1.1}.profit-period-card small{color:var(--text-secondary);font-size:12px}.dashboard-charts-row{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:24px;display:grid}.chart-section{border:1px solid var(--border-light);min-width:0;box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;padding:20px}.chart-title{color:var(--text-primary);margin:0;font-size:15px;font-weight:700}.chart-container{justify-content:center;align-items:center;width:100%;height:300px;margin-top:16px;display:flex}.pipeline-section{flex-direction:column;display:flex}.pipeline-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.pipeline-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.pipeline-total{background:var(--blue-100,#e0f2fe);min-width:68px;color:var(--blue-800,#075985);text-align:center;border-radius:10px;padding:10px 12px}.pipeline-total strong,.pipeline-total span{display:block}.pipeline-total strong{font-size:22px;line-height:1}.pipeline-total span{letter-spacing:.04em;text-transform:uppercase;margin-top:4px;font-size:10px;font-weight:700}.pipeline-list{flex-direction:column;gap:16px;margin-top:24px;display:flex}.pipeline-row{flex-direction:column;gap:7px;display:flex}.pipeline-row-header{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.pipeline-row-header strong{color:var(--text-primary)}.pipeline-track{background:var(--surface-soft,#f1f5f9);border-radius:999px;height:10px;overflow:hidden}.pipeline-track span{border-radius:inherit;height:100%;display:block}.pipeline-empty{color:var(--text-muted);text-align:center;padding:28px 12px;font-size:13px}.section-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.pending-quote-title{margin-bottom:4px}.section-description{color:var(--text-muted);margin:0;font-size:13px}.view-all-link{color:var(--blue-700);cursor:pointer;white-space:nowrap;background:0 0;border:0;font-size:12px;font-weight:700;text-decoration:none;transition:color .16s}.view-all-link:hover{color:var(--blue-800);text-decoration:underline}.deals-table{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;overflow:hidden}.deals-table table{border-collapse:collapse;width:100%}.deals-table thead{background:var(--surface-soft);border-bottom:1px solid var(--border-light)}.deals-table th{text-align:left;color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em;padding:12px 16px;font-size:12px;font-weight:700}.deals-table td{border-bottom:1px solid var(--border-light);color:var(--text-primary);padding:16px;font-size:13px}.deals-table tbody tr:hover{background:#0ea5e908}.deals-table tbody tr:last-child td{border-bottom:none}.pending-quotes-table,.top-deals-table{overflow-x:auto}.pending-quotes-table table{min-width:720px}.top-deals-table table{min-width:900px}.dashboard-clickable-row{cursor:pointer}.dashboard-clickable-row:focus-visible{outline:2px solid var(--blue-500);outline-offset:-2px}.dashboard-stacked-cell{flex-direction:column;gap:3px;display:flex}.dashboard-stacked-cell strong{color:var(--text-primary);font-size:13px}.dashboard-stacked-cell small{color:var(--text-muted);font-size:12px}.deal-name{color:var(--blue-700);font-weight:600}.deal-value{color:var(--text-primary);font-weight:700}.deal-days{color:var(--text-muted);font-size:12px}.recharts-surface{font-family:inherit}.recharts-text{fill:var(--text-muted);font-size:12px}.recharts-tooltip-wrapper{outline:none}.recharts-default-tooltip{border:1px solid var(--border-light)!important;box-shadow:var(--shadow-card)!important;background:#fff!important;border-radius:8px!important}.recharts-tooltip-label{font-weight:600;color:var(--text-primary)!important}@media (width<=1200px){.dashboard-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-charts-row{grid-template-columns:1fr}}@media (width<=768px){.dashboard-container{padding:16px!important}.dashboard-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profit-performance-grid{grid-template-columns:1fr}.profit-period-card{border-right:0;border-bottom:1px solid var(--border-light)}.profit-period-card:last-child{border-bottom:0}.chart-container{height:250px}.deals-table th,.deals-table td{padding:12px;font-size:12px}.section-header{align-items:flex-start}}@media (width<=560px){.dashboard-primary-metrics{grid-template-columns:1fr!important}.profit-performance-section,.chart-section{padding:16px}}.dashboard-container{flex-direction:column;display:flex}.dashboard-container>*{width:100%}:is(.dashboard-container>section:has(.pending-quote-title),.dashboard-container>section:has(.top-deals-table)){display:none}.invoice-section-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;display:flex}.invoice-section-header h3{margin-bottom:4px}.invoice-item-edit-hint{color:var(--text-muted,#78909c);font-size:12px;display:block}.invoice-add-supply-button{flex-shrink:0}.invoice-items-empty-state{flex-direction:column;align-items:center;gap:4px;padding:8px 0 4px;display:flex}.invoice-item-clickable-row{cursor:pointer;transition:background .16s,box-shadow .16s}.invoice-item-clickable-row:hover,.invoice-item-clickable-row:focus-visible{outline:none;box-shadow:inset 3px 0 #0fba91;background:#f2fbf8!important}.invoice-item-clickable-row td:first-child strong,.invoice-item-row-action{display:block}.invoice-item-row-action{color:#078ec8;margin-top:4px;font-size:11px;font-weight:700}.invoice-supply-modal{max-width:820px}.invoice-supply-edit-modal{max-width:760px}.invoice-supply-modal .modal-header{align-items:flex-start;gap:20px}.invoice-supply-modal-subtitle{max-width:620px;color:var(--text-secondary,#536b79);margin:6px 0 0;font-size:13px;line-height:1.5}.invoice-supply-search{box-sizing:border-box;border:1px solid var(--border-light,#dcebed);width:100%;color:var(--text-primary,#102a3a);font:inherit;background:#fff;border-radius:8px;margin-bottom:16px;padding:11px 13px}.invoice-supply-search:focus{border-color:#078ec8;outline:none;box-shadow:0 0 0 3px #078ec81f}.invoice-supply-loading,.invoice-supply-empty{text-align:center;min-height:180px;color:var(--text-muted,#78909c);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.invoice-supply-empty strong{color:var(--text-primary,#102a3a)}.invoice-supply-empty span{max-width:520px;font-size:13px;line-height:1.5}.invoice-supply-picker{flex-direction:column;gap:10px;max-height:440px;padding-right:4px;display:flex;overflow-y:auto}.invoice-supply-option{border:1px solid var(--border-light,#dcebed);cursor:pointer;background:#fff;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;transition:border-color .16s,background .16s,box-shadow .16s;display:grid}.invoice-supply-option:hover{background:#f8fdfc;border-color:#9adfd0}.invoice-supply-option.selected{background:#f0fbf7;border-color:#0fba91;box-shadow:0 0 0 2px #0fba911a}.invoice-supply-option>input[type=checkbox]{accent-color:#0fba91;width:18px;height:18px}.invoice-supply-option-main,.invoice-supply-option-values{flex-direction:column;gap:3px;min-width:0;display:flex}.invoice-supply-option-main strong{color:var(--text-primary,#102a3a)}.invoice-supply-option-main small,.invoice-supply-option-values small{color:var(--text-muted,#78909c);line-height:1.35}.invoice-supply-option-values{text-align:right;white-space:nowrap;align-items:flex-end}.invoice-supply-option-values strong{color:var(--text-primary,#102a3a)}.invoice-supply-option-values label{color:var(--text-muted,#78909c);margin-top:5px;font-size:11px;font-weight:700}.invoice-supply-quantity-input{box-sizing:border-box;border:1px solid var(--border-light,#dcebed);width:84px;color:var(--text-primary,#102a3a);font:inherit;text-align:right;background:#fff;border-radius:7px;padding:7px 8px}.invoice-supply-quantity-input:focus{border-color:#078ec8;outline:none;box-shadow:0 0 0 3px #078ec81f}.invoice-supply-quantity-input:disabled{cursor:not-allowed;opacity:.55}.invoice-supply-footer{justify-content:space-between;align-items:center}.invoice-supply-footer>span{color:var(--text-muted,#78909c);font-size:13px;font-weight:700}.invoice-supply-footer>div{gap:12px;display:flex}.invoice-item-action-footer{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.invoice-item-action-footer>button{width:100%;min-width:0}.invoice-item-action-footer .btn-danger{color:#fff;background:#c83a4a;border:1px solid #c83a4a}.invoice-item-action-footer .btn-danger:hover:not(:disabled){background:#a92f3e;border-color:#a92f3e}.invoice-item-action-footer .btn-danger:disabled{cursor:not-allowed;opacity:.6}.invoice-supply-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;display:grid}.invoice-supply-field-wide{grid-column:1/-1}.invoice-supply-calculated-preview{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:6px;padding:14px;display:grid}.invoice-supply-calculated-preview>div{flex-direction:column;gap:4px;display:flex}.invoice-supply-calculated-preview span{color:var(--text-muted,#78909c);text-transform:uppercase;letter-spacing:.03em;font-size:11px;font-weight:700}.invoice-supply-calculated-preview strong{color:var(--text-primary,#102a3a);font-size:15px}@media (width<=768px){.invoice-section-header{flex-direction:column;align-items:stretch}.invoice-add-supply-button{width:100%}.invoice-supply-option{grid-template-columns:auto minmax(0,1fr)}.invoice-supply-option-values{text-align:left;grid-column:2;align-items:flex-start}.invoice-supply-footer{flex-direction:column;align-items:stretch}.invoice-supply-footer>div{grid-template-columns:1fr 1fr;display:grid}.invoice-item-action-footer,.invoice-supply-form-grid,.invoice-supply-calculated-preview{grid-template-columns:1fr}}@media (width>=900px) and (height>=560px){:is(.record-modal-overlay:has(#edit-deal-title),.modal-overlay:has(.invoice-supply-edit-modal)){padding:6px}.record-modal:has(#edit-deal-title){width:min(1240px,100vw - 16px);max-width:none;max-height:calc(100dvh - 12px);overflow:hidden}.record-modal:has(#edit-deal-title) form{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid}.record-modal:has(#edit-deal-title) .record-modal-header{padding:8px 14px}.record-modal:has(#edit-deal-title) .record-modal-header h2{font-size:17px}.record-modal:has(#edit-deal-title) .record-modal-header p{margin-top:1px;font-size:11px;line-height:1.15}.record-modal:has(#edit-deal-title) .record-modal-close{width:28px;height:28px;font-size:22px}.record-modal:has(#edit-deal-title) .record-modal-body{min-height:0;padding:7px 14px 8px;overflow:visible}.record-modal:has(#edit-deal-title) .record-modal-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 10px}.record-modal:has(#edit-deal-title) .record-modal-field-wide{grid-column:span 3}.record-modal:has(#edit-deal-title) .record-modal-field:has(textarea[name=next_step]){grid-column:span 2}.record-modal:has(#edit-deal-title) .record-modal-field:has(textarea[name=description]){grid-column:span 3}.record-modal:has(#edit-deal-title) .record-modal-field{gap:2px}.record-modal:has(#edit-deal-title) .record-modal-field>span{font-size:11px;line-height:1.05}:is(.record-modal:has(#edit-deal-title) .record-modal-field input,.record-modal:has(#edit-deal-title) .record-modal-field select,.record-modal:has(#edit-deal-title) .record-modal-field textarea){border-radius:6px;min-height:30px;padding:4px 7px;font-size:12px;line-height:1.15}.record-modal:has(#edit-deal-title) .record-modal-field select{padding-right:30px}.record-modal:has(#edit-deal-title) .record-modal-field textarea{resize:none;height:38px;min-height:38px}.record-modal:has(#edit-deal-title) .record-modal-field textarea[name=description]{resize:none;height:38px;min-height:38px}.record-modal:has(#edit-deal-title) .record-modal-field small{font-size:9px;line-height:1.05}.record-modal:has(#edit-deal-title) .alert{margin-bottom:5px;padding:5px 8px;font-size:10.5px;line-height:1.15}.record-modal:has(#edit-deal-title) .record-modal-footer{gap:8px;padding:7px 14px 8px}.record-modal:has(#edit-deal-title) .record-modal-footer button{min-height:32px;padding-block:5px}.invoice-supply-edit-modal{flex-direction:column;width:min(1240px,100vw - 16px);max-width:none;max-height:calc(100dvh - 12px);display:flex;overflow:hidden}.invoice-supply-edit-modal .modal-header{padding:8px 14px}.invoice-supply-edit-modal .modal-header h2{font-size:17px}.invoice-supply-edit-modal .modal-close{width:28px;height:28px;font-size:22px}.invoice-supply-edit-modal .invoice-supply-modal-subtitle{text-overflow:ellipsis;white-space:nowrap;max-width:none;margin-top:1px;font-size:11px;line-height:1.15;overflow:hidden}.invoice-supply-edit-modal .modal-body{min-height:0;padding:7px 14px 8px;overflow:visible}.invoice-supply-edit-modal .alert{margin-bottom:5px;padding:5px 8px;font-size:10.5px;line-height:1.15}.invoice-supply-edit-modal .invoice-supply-form-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 10px}.invoice-supply-edit-modal .invoice-supply-field-wide{grid-column:span 3}.invoice-supply-edit-modal .form-group:has(#invoice-supply-product){grid-column:span 2}.invoice-supply-edit-modal .form-group:has(#invoice-supply-notes){grid-column:span 2}.invoice-supply-edit-modal .form-group.invoice-supply-field-wide:has(.invoice-supply-option-main){grid-column:span 2}:is(.invoice-supply-edit-modal .form-group:has(#invoice-supply-source-assignment),.invoice-supply-edit-modal .form-group:has(#invoice-supply-assignment)){grid-column:span 3}.invoice-supply-edit-modal .form-group{gap:2px;margin-bottom:0}.invoice-supply-edit-modal .form-group label{margin-bottom:0;font-size:11px;line-height:1.05}.invoice-supply-edit-modal .form-group input,.invoice-supply-edit-modal .form-group select,.invoice-supply-edit-modal .form-group textarea{border-radius:6px;min-height:30px;padding:4px 7px;font-size:12px;line-height:1.15}.invoice-supply-edit-modal .form-group select{padding-right:30px}.invoice-supply-edit-modal .form-group textarea{resize:none;height:36px;min-height:36px}.invoice-supply-edit-modal .form-group small,.invoice-supply-edit-modal .invoice-supply-option-main small{font-size:9px;line-height:1.05}.invoice-supply-edit-modal .invoice-supply-option-main{gap:0}.invoice-supply-edit-modal .invoice-supply-option-main strong{font-size:11px;line-height:1.05}.invoice-supply-edit-modal .invoice-supply-calculated-preview{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:6px;padding:6px 8px}.invoice-supply-edit-modal .invoice-supply-calculated-preview>div{gap:1px}.invoice-supply-edit-modal .invoice-supply-calculated-preview span{font-size:8.5px;line-height:1.05}.invoice-supply-edit-modal .invoice-supply-calculated-preview strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.1;overflow:hidden}.invoice-supply-edit-modal .modal-footer{gap:8px;padding:7px 14px 8px}.invoice-supply-edit-modal .modal-footer button{min-height:32px;padding-block:5px}}@media (width>=900px) and (height>=620px){.record-modal:has(#create-deal-modal-title){width:min(1180px,100vw - 32px);max-width:none;max-height:calc(100vh - 24px);overflow:hidden}.record-modal.record-modal-compact:has(#create-deal-modal-title){width:min(860px,100vw - 32px)}.record-modal:has(#create-deal-modal-title) form{grid-template-rows:minmax(0,1fr) auto;display:grid}.record-modal:has(#create-deal-modal-title) .record-modal-header{padding:11px 18px}.record-modal:has(#create-deal-modal-title) .record-modal-step{margin-bottom:2px;font-size:10px}.record-modal:has(#create-deal-modal-title) .record-modal-header p{margin-top:2px;font-size:12px;line-height:1.2}.record-modal:has(#create-deal-modal-title) .record-modal-body{padding:9px 18px 10px;overflow:visible}.record-modal.record-modal-compact:has(#create-deal-modal-title) .record-modal-grid-single{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}.record-modal.record-modal-wide:has(#create-deal-modal-title) .record-modal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px}.record-modal.record-modal-wide:has(#create-deal-modal-title) .record-modal-field-wide{grid-column:span 2}.record-modal:has(#create-deal-modal-title) .record-modal-field{gap:3px}:is(.record-modal:has(#create-deal-modal-title) .record-modal-field input,.record-modal:has(#create-deal-modal-title) .record-modal-field select,.record-modal:has(#create-deal-modal-title) .record-modal-field textarea){border-radius:7px;min-height:33px;padding:6px 9px}.record-modal:has(#create-deal-modal-title) .record-modal-field select{padding-right:36px}.record-modal:has(#create-deal-modal-title) .record-modal-field textarea{resize:none;height:42px;min-height:42px}.record-modal:has(#create-deal-modal-title) .record-modal-field small{font-size:10px;line-height:1.12}.record-modal:has(#create-deal-modal-title) .record-modal-flow-summary{gap:8px;margin-bottom:8px;padding:7px 10px}.record-modal:has(#create-deal-modal-title) .record-modal-flow-summary span{font-size:9px}.record-modal:has(#create-deal-modal-title) .record-modal-flow-summary strong{font-size:12px}.record-modal:has(#create-deal-modal-title) .record-modal-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-self:end;gap:6px;display:grid}.record-modal:has(#create-deal-modal-title) .record-modal-check{justify-content:center;padding:7px 8px;font-size:12px}.record-modal:has(#create-deal-modal-title) .alert{margin-bottom:7px;padding:7px 9px;font-size:11.5px;line-height:1.2}.record-modal:has(#create-deal-modal-title) .record-modal-footer{padding:9px 18px 11px}.record-modal:has(#create-deal-modal-title) .record-modal-footer-actions{flex-wrap:nowrap}}.outreach-flow-alerts{background:linear-gradient(135deg,#eff6ff 0%,#f8fafc 100%);border:1px solid #dbeafe;border-radius:14px;padding:14px 16px}.outreach-flow-alerts h3{color:#1e3a8a;margin:0 0 8px;font-size:.95rem}.outreach-flow-alerts p{color:#334155;margin:5px 0 0;font-size:.88rem;line-height:1.45}.outreach-flow-branches{border-top:1px dashed #cbd5e1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding-top:14px;display:grid}.outreach-flow-branch{background:#fff;border:1px solid #dbe3ee;border-radius:12px;overflow:hidden}.outreach-flow-branch summary{cursor:pointer;padding:11px 38px 11px 13px;font-size:.84rem;font-weight:850;line-height:1.3;list-style:none;position:relative}.outreach-flow-branch summary::-webkit-details-marker{display:none}.outreach-flow-branch summary:after{content:"⌄";font-size:1rem;transition:transform .16s;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.outreach-flow-branch[open] summary:after{transform:translateY(-50%)rotate(180deg)}.outreach-flow-branch ul{color:#475569;margin:0;padding:0 14px 13px 30px;font-size:.82rem;line-height:1.5}.outreach-flow-branch li+li{margin-top:5px}.outreach-flow-branch.is-automation{background:#eff6ff;border-color:#bfdbfe}.outreach-flow-branch.is-automation summary{color:#1d4ed8}.outreach-flow-branch.is-activity{background:#ecfdf5;border-color:#a7f3d0}.outreach-flow-branch.is-activity summary{color:#047857}.outreach-flow-branch.is-action{background:#f5f3ff;border-color:#ddd6fe}.outreach-flow-branch.is-action summary{color:#6d28d9}.outreach-flow-branch.is-status{background:#fffbeb;border-color:#fde68a}.outreach-flow-branch.is-status summary{color:#b45309}.outreach-flow-branch.is-stop{background:#fef2f2;border-color:#fecaca}.outreach-flow-branch.is-stop summary{color:#b91c1c}@media (width<=760px){.outreach-flow-branches{grid-template-columns:1fr}}html{background:var(--surface-soft,#f5f9fb);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;min-height:100%}body,#root{min-height:100dvh}body{overscroll-behavior-y:none;overflow-x:hidden}body.mobile-menu-open{overflow:hidden}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}.app-loading-screen,.login-route-shell{min-height:100dvh;padding:max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));background:radial-gradient(circle at 15% 10%, #22c55e24, transparent 34%), radial-gradient(circle at 85% 88%, #0ea5e929, transparent 36%), var(--surface-soft,#f5f9fb);place-items:center;display:grid}.app-loading-card,.login-route-brand{color:var(--text-primary,#102a3a);text-align:center;flex-direction:column;align-items:center;gap:7px;display:flex}.app-loading-mark,.login-route-brand>span{background:var(--gradient-primary,linear-gradient(135deg, #0a8f82, #0d6f9c));color:#fff;border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:8px;font-size:34px;font-weight:800;display:grid;box-shadow:0 16px 36px #0a746d38}.app-loading-card strong,.login-route-brand strong{font-size:19px}.app-loading-card span,.login-route-brand small{color:var(--text-muted,#647d89);font-size:13px}.login-route-brand{opacity:0;pointer-events:none}.mobile-bottom-nav{display:none}@media (width<=768px){:root{--mobile-bottom-nav-height:68px}body{background:var(--surface-soft,#f5f9fb)}input,select,textarea{font-size:16px!important}button,[role=button],.primary-button-small,.pagination-button,.filter-select{min-height:44px}.app-shell,.app-container{min-height:100dvh}.app-container{overflow:hidden}.app-main{min-width:0;padding-bottom:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.app-header{z-index:80;min-height:calc(58px + env(safe-area-inset-top));height:auto;padding:env(safe-area-inset-top) 10px 0;gap:8px;position:sticky;top:0;box-shadow:0 1px 10px #0f172a0f}.header-left{gap:8px}.header-menu-button{border-radius:12px;place-items:center;width:44px;height:44px;padding:0;font-size:22px;display:grid}.header-title-section{min-width:0}.header-title{text-overflow:ellipsis;white-space:nowrap;max-width:28vw;font-size:15px;overflow:hidden}.header-right,.header-actions{gap:5px;min-width:0}.header-presence-button,.header-softphone-button,.push-notification-toggle,.notification-button,.user-menu-trigger{border-radius:12px;place-items:center;display:grid;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important}.header-presence-copy,.header-softphone-call{display:none!important}.page-container{box-sizing:border-box;width:100%;max-width:none;padding:18px 12px 24px}.page-header{align-items:stretch;gap:14px;width:100%;margin-bottom:18px}.page-header>div{min-width:0}.page-header h2{font-size:22px;line-height:1.2}.page-description{font-size:13px;line-height:1.45}.page-header .primary-button-small,.page-header>button,.page-header>a{text-align:center;justify-content:center;width:100%}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-grid,.dashboard-section{margin-bottom:20px}.activity-item{align-items:flex-start;gap:10px;padding:14px 12px}.activity-item>div:not(.activity-icon){min-width:0}.activity-item strong,.activity-item small{overflow-wrap:anywhere}.activity-item time{white-space:normal;margin-left:0;font-size:10px}.list-controls{gap:10px;margin-bottom:16px}.search-input-small,.filter-select{box-sizing:border-box;width:100%;min-width:0}.list-table{-webkit-overflow-scrolling:touch;scrollbar-width:thin;border-radius:12px;width:calc(100vw - 24px);max-width:100%;overflow-x:auto}.list-table table{min-width:680px}.list-table th,.list-table td{padding:12px 10px}.list-pagination{padding:14px 10px}.pagination-buttons{width:100%}.pagination-button{flex:1}.sidebar{width:min(88vw,320px);height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.sidebar-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#04141e85;position:fixed;inset:0}.sidebar-link{min-height:48px;padding:12px 18px}.sidebar-close{place-items:center;width:44px;height:44px}.mobile-bottom-nav{z-index:85;min-height:calc(var(--mobile-bottom-nav-height) + env(safe-area-inset-bottom));padding:6px 5px env(safe-area-inset-bottom);border-top:1px solid var(--border-light,#dbe5e8);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #0f172a14}.mobile-bottom-nav-item{min-width:0;min-height:56px;color:var(--text-muted,#647d89);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px 2px;font-size:9px;font-weight:700;text-decoration:none;display:flex}.mobile-bottom-nav-item.active{background:var(--blue-50,#eff6ff);color:var(--blue-700,#0369a1)}.mobile-bottom-nav-icon{font-size:19px;line-height:1}.auth-modal-overlay{padding:max(10px, env(safe-area-inset-top)) 0 0;align-items:flex-end}.auth-modal-content,.auth-modal-content-signup{max-width:none;max-height:calc(100dvh - max(10px, env(safe-area-inset-top)));padding:44px 20px calc(24px + env(safe-area-inset-bottom));border-bottom:0;border-left:0;border-right:0;border-radius:22px 22px 0 0;animation-name:mobileAuthModalSlideIn}.auth-modal-form{gap:16px}.auth-modal-group input,.auth-modal-submit{min-height:48px}.auth-modal-close{width:44px;height:44px;top:8px;right:10px}.auth-modal-header{margin-bottom:22px}.auth-modal-header h2{font-size:24px}.login-route-shell .auth-modal-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:radial-gradient(circle at 15% 10%,#22c55e29,#0000 34%),radial-gradient(circle at 85% 88%,#0ea5e92e,#0000 36%),#f5f9fbfa}}@media (width<=430px){.header-title{max-width:24vw;font-size:14px}.header-presence-button,.header-softphone-button,.push-notification-toggle,.notification-button,.user-menu-trigger{width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important}.metrics-grid{grid-template-columns:1fr}.page-container{padding-left:10px;padding-right:10px}.list-table{width:calc(100vw - 20px)}.mobile-bottom-nav-item{font-size:8px}}@keyframes mobileAuthModalSlideIn{0%{opacity:.92;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@media (width<=768px){.mobile-bottom-nav{grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}body.message-drawer-open .mobile-bottom-nav{display:none!important}body:has(.customer-chat-drawer-layer) .mobile-bottom-nav{display:none!important}body:has(.message-inbox-thread.mobile-open) .mobile-bottom-nav{display:none!important}body:has(.message-inbox-thread.mobile-open){overflow:hidden!important}.message-inbox-thread.mobile-open{z-index:6500!important;background:#fff!important;border:0!important;border-radius:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;position:fixed!important;inset:0!important;overflow:hidden!important}.message-inbox-thread.mobile-open .inbox-thread-content,.message-inbox-thread.mobile-open .phone-thread-shell{height:100%!important;min-height:0!important}.message-inbox-thread.mobile-open .phone-thread-shell{border-radius:0!important;flex-direction:column!important;display:flex!important}.message-inbox-thread.mobile-open .phone-thread-header{z-index:60!important;min-height:58px!important;padding:max(8px, env(safe-area-inset-top)) 10px 8px!important;background:#fffffffa!important;border-bottom:1px solid #e7eaec!important;flex:none!important;display:flex!important;position:relative!important;top:auto!important;box-shadow:0 2px 12px #0f172a14!important}.message-inbox-thread.mobile-open .phone-thread-back{border-radius:14px!important;flex:none!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:44px!important;height:44px!important;padding:0 10px!important;display:inline-flex!important}.message-inbox-thread.mobile-open .phone-thread-avatar{flex:0 0 38px!important;width:38px!important;height:38px!important;display:grid!important}.message-inbox-thread.mobile-open .phone-thread-heading{flex:auto!important;min-width:0!important;display:block!important}.message-inbox-thread.mobile-open .phone-thread-heading h2{color:#102a3a!important;text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;margin:0!important;font-size:16px!important;font-weight:800!important;display:block!important;overflow:hidden!important}.message-inbox-thread.mobile-open .phone-thread-contact-line{min-width:0!important;margin-top:2px!important;font-size:11px!important;display:flex!important;overflow:hidden!important}.message-inbox-thread.mobile-open .phone-thread-contact-line span{text-overflow:ellipsis!important;white-space:nowrap!important;min-width:0!important;overflow:hidden!important}.message-inbox-thread.mobile-open .phone-message-scroll{-webkit-overflow-scrolling:touch;flex:auto!important;min-height:0!important;padding-bottom:18px!important;overflow-y:auto!important}.message-inbox-thread.mobile-open .phone-message-composer{z-index:20!important;box-sizing:border-box!important;width:100%!important;padding-bottom:max(12px, env(safe-area-inset-bottom))!important;background:#fff!important;flex:none!important;position:relative!important;bottom:auto!important;box-shadow:0 -6px 18px #0f172a1a!important}body.message-drawer-open{overflow:hidden!important}.customer-chat-drawer-layer{z-index:5000!important;background:#fff!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;position:fixed!important;inset:0!important;overflow:hidden!important}.customer-chat-drawer-backdrop{display:none!important}.customer-chat-drawer{box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;box-shadow:none!important;border-radius:0!important;position:absolute!important;inset:0!important}.customer-chat-drawer-titlebar{z-index:10;flex:none;position:relative;min-height:48px!important;padding:max(5px, env(safe-area-inset-top)) 10px 5px!important}.customer-chat-drawer-titlebar>div{min-width:0}.customer-chat-drawer-eyebrow{display:none!important}.customer-chat-drawer-titlebar h2{text-overflow:ellipsis;white-space:nowrap;max-width:calc(100vw - 72px);overflow:hidden;margin:0!important;font-size:16px!important}.customer-chat-drawer-close{flex:0 0 36px!important;width:36px!important;height:36px!important}.customer-chat-drawer-content,.customer-chat-drawer .customer-message-panel,.customer-chat-drawer .customer-message-frame,.customer-chat-drawer .phone-thread-shell,.customer-chat-message-column{min-height:0!important}.customer-chat-drawer-content,.customer-chat-drawer-content--workspace{flex:auto!important;height:auto!important;overflow:hidden!important}.customer-chat-message-column{flex-direction:column;height:100%;display:flex;overflow:hidden!important}.customer-chat-drawer .customer-message-panel{flex:auto;overflow:hidden;gap:0!important}.customer-chat-drawer .customer-message-panel-toolbar{background:#fff;border-bottom:1px solid #edf0f2;flex:none!important;min-height:0!important;margin:0!important;padding:4px 8px!important}.customer-chat-drawer .customer-message-panel-description{display:none!important}.customer-chat-drawer .customer-message-panel-toolbar .secondary-button-small{border-radius:999px!important;min-height:32px!important;padding:4px 10px!important;font-size:12px!important;line-height:1.1!important}.customer-chat-drawer .customer-message-start-controls{border-width:0 0 1px!important;border-radius:0!important;gap:6px!important;margin:0!important;padding:7px 8px!important}.customer-chat-drawer .customer-message-frame{height:auto!important;min-height:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;flex:auto!important;margin:0!important}.customer-chat-drawer .phone-thread-shell{height:100%!important;min-height:0!important;box-shadow:none!important;border-radius:0!important;flex-direction:column!important;display:flex!important}.customer-chat-drawer .phone-thread-header{flex:none;min-height:50px!important;padding:5px 8px!important}.customer-chat-drawer .phone-thread-avatar{width:36px!important;height:36px!important}.customer-chat-drawer .phone-thread-heading h2,.customer-chat-drawer .phone-thread-contact-line span{max-width:100%}.customer-chat-drawer .phone-thread-contact-line{margin-top:1px!important}.customer-chat-drawer .phone-message-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:auto!important;min-height:0!important;padding:8px 8px 10px!important;overflow-y:auto!important}.customer-chat-drawer .phone-message-content{min-width:0;max-width:94%!important}.customer-chat-drawer .phone-message-bubble{overflow-wrap:anywhere;word-break:break-word;white-space:pre-wrap;max-width:100%;font-size:15px;line-height:1.42}.customer-chat-drawer .phone-message-media-grid,.customer-chat-drawer .phone-message-image-button,.customer-chat-drawer .phone-message-image-button img{max-width:100%}.customer-chat-drawer .phone-message-composer{z-index:12;background:#fff;border-top:1px solid #e3e7e9;flex:none;position:relative;overflow-y:auto;box-shadow:0 -4px 16px #0f172a14;max-height:38dvh!important;padding:6px 8px max(8px, env(safe-area-inset-bottom))!important}.customer-chat-drawer .phone-quick-responses{margin-bottom:4px}.customer-chat-drawer .phone-quick-responses-label{margin-bottom:3px!important}.customer-chat-drawer .phone-quick-responses-list{width:calc(100vw - 16px);max-width:100%;padding-bottom:2px}.customer-chat-drawer .phone-quick-response-button{max-width:78vw;min-height:36px;padding:6px 11px}.customer-chat-drawer .phone-composer-row{gap:6px}.customer-chat-drawer .phone-composer-row textarea{min-width:0;min-height:42px;font-size:16px}.customer-chat-drawer .phone-attach-button,.customer-chat-drawer .phone-send-button{flex-basis:42px;width:42px;height:42px}.customer-chat-drawer .phone-composer-hint,.customer-chat-drawer--workspace .customer-chat-workspace-column{display:none!important}.customer-chat-drawer--workspace .customer-chat-drawer-content--workspace{display:block!important}.record-detail-page .customer-message-panel{padding-bottom:calc(var(--mobile-bottom-nav-height,68px) + env(safe-area-inset-bottom) + 16px)}[data-record-top-actions]{align-items:stretch!important}[data-record-top-actions]>button{text-align:center;justify-content:center;flex:none!important;align-self:auto!important;width:min(100%,250px)!important;min-width:min(100%,250px)!important;max-width:250px!important}[data-record-top-actions]>button.btn-secondary[title]{white-space:nowrap;min-height:44px;line-height:normal;background:var(--gradient-primary)!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:10px 20px!important;font-size:13px!important;font-weight:700!important}[data-record-top-actions]>button.btn-secondary[title]:hover:not(:disabled),[data-record-top-actions]>button.btn-secondary[title]:focus-visible:not(:disabled){box-shadow:var(--shadow-primary-button);outline:none;transform:translateY(-1px)}[data-record-top-actions]>button.btn-secondary[title]:disabled{opacity:.6}}.phone-quick-responses{align-items:center;gap:10px;min-width:0;margin-bottom:9px;display:flex}.phone-quick-responses-label{color:#61757f;white-space:nowrap;flex:none;font-size:11px;font-weight:750}.phone-quick-responses-list{overscroll-behavior-x:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:1;gap:8px;min-width:0;padding:2px 2px 4px;display:flex;overflow-x:auto}.phone-quick-response-button{color:#08745c;min-height:34px;font:inherit;white-space:nowrap;cursor:pointer;touch-action:manipulation;background:#edf9f5;border:1px solid #a8dfcf;border-radius:999px;flex:none;padding:7px 12px;font-size:12px;font-weight:750;line-height:1.2;transition:background .16s,border-color .16s,transform .16s,opacity .16s}.phone-quick-response-button:hover:not(:disabled){background:#dff5ed;border-color:#20a980;transform:translateY(-1px)}.phone-quick-response-button:focus-visible{outline-offset:2px;outline:3px solid #20a98033}.phone-quick-response-button:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (width<=720px){.phone-quick-responses{margin-bottom:8px;display:block}.phone-quick-responses-label{margin:0 0 5px 2px;display:block}.phone-quick-responses-list{width:100%;padding-bottom:5px}.phone-quick-response-button{text-overflow:ellipsis;max-width:min(82vw,340px);min-height:44px;padding:10px 14px;font-size:13px;overflow:hidden}}.floating-softphone{z-index:1200;width:min(390px,100vw - 32px);max-height:min(760px,100vh - 96px);color:var(--text-primary);background:var(--surface);border:1px solid var(--border-light);border-radius:22px;flex-direction:column;animation:.18s ease-out softphone-pop-in;display:flex;position:fixed;bottom:24px;right:24px;overflow:hidden;box-shadow:0 30px 80px #0f2a3a3d}@keyframes softphone-pop-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.softphone-header{color:#fff;background:linear-gradient(135deg,#087f73 0%,#0679a7 100%);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:14px 16px;display:flex}.softphone-header>div:first-child,.softphone-window-actions,.softphone-header>div:first-child>div{align-items:center;display:flex}.softphone-header>div:first-child{gap:11px;min-width:0}.softphone-header>div:first-child>div{flex-direction:column;align-items:flex-start;gap:1px}.softphone-header strong{font-size:15px;line-height:1.2}.softphone-header small{color:#ffffffc7;font-size:11px}.softphone-header-icon{background:#ffffff24;border:1px solid #ffffff3d;border-radius:12px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:18px;display:grid}.softphone-window-actions{gap:6px}.softphone-window-actions button{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:10px;place-items:center;width:34px;height:34px;transition:background .15s,transform .15s;display:grid}.softphone-window-actions button:hover{background:#ffffff38;transform:translateY(-1px)}.softphone-body{overscroll-behavior:contain;padding:18px;overflow-y:auto}.softphone-mode-row,.softphone-active-badges,.softphone-call-details,.softphone-controls,.softphone-finished-actions{align-items:center;display:flex}.softphone-mode-row,.softphone-active-badges{justify-content:space-between;gap:12px}.softphone-provider-badge,.softphone-call-status,.softphone-route-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-items:center;gap:7px;font-size:11px;font-weight:800;display:inline-flex}.softphone-provider-badge{padding:7px 10px}.softphone-provider-badge.twilio{color:#047857;background:#d1fae5}.softphone-provider-badge.mock{color:#92400e;background:#fef3c7}.softphone-mode-help{color:var(--text-muted);font-size:12px}.softphone-method-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0;display:grid}.softphone-method-picker button{border:1px solid var(--border-light);min-width:0;color:var(--text-primary);background:var(--surface-soft);cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:10px;padding:12px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex}.softphone-method-picker button:hover:not(:disabled){border-color:var(--blue-300);transform:translateY(-1px)}.softphone-method-picker button.active{border-color:var(--blue-500);background:var(--blue-50);box-shadow:0 0 0 3px #0ea5e91a}.softphone-method-picker button>span:first-child{font-size:21px}.softphone-method-picker button>span:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.softphone-method-picker strong{font-size:13px}.softphone-method-picker small{color:var(--text-muted);font-size:10px}.softphone-field{flex-direction:column;gap:7px;margin-top:14px;display:flex}.softphone-field>span{color:var(--text-secondary);letter-spacing:.02em;text-transform:uppercase;font-size:11px;font-weight:800}.softphone-field input,.softphone-field select{border:1px solid var(--border-light);width:100%;min-height:46px;color:var(--input-text);background:var(--input-bg);border-radius:12px;padding:10px 12px;font-size:15px}.softphone-field input:focus,.softphone-field select:focus{border-color:var(--blue-400);outline:0;box-shadow:0 0 0 3px #0ea5e91f}.softphone-keypad{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px auto 8px;display:grid}.softphone-keypad button{border:1px solid var(--border-light);min-height:51px;color:var(--text-primary);background:var(--surface-soft);cursor:pointer;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:0;transition:transform .12s,border-color .12s,background .12s;display:flex}.softphone-keypad button:hover:not(:disabled){border-color:var(--blue-300);background:var(--blue-50);transform:translateY(-1px)}.softphone-keypad button:active:not(:disabled){transform:scale(.97)}.softphone-keypad button strong{font-size:18px;line-height:1.1}.softphone-keypad button small{min-height:10px;color:var(--text-muted);letter-spacing:.08em;font-size:8px}.softphone-backspace{width:100%;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;padding:6px;font-size:11px}.softphone-backspace:disabled{opacity:.45;cursor:default}.softphone-call-button,.softphone-secondary-button,.softphone-finished-actions button{cursor:pointer;border:0;border-radius:13px;font-weight:800}.softphone-call-button{color:#fff;background:linear-gradient(135deg,#059669 0%,#0284c7 100%);justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;margin-top:18px;padding:12px 18px;display:flex;box-shadow:0 13px 28px #0891b23b}.softphone-call-button:hover:not(:disabled){transform:translateY(-1px)}.softphone-call-button:disabled,.softphone-method-picker button:disabled,.softphone-controls button:disabled,.softphone-keypad button:disabled{opacity:.5;cursor:not-allowed}.softphone-alert,.softphone-warning{border-radius:12px;margin-top:14px;padding:11px 12px;font-size:12px;line-height:1.45}.softphone-alert{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.softphone-warning{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.softphone-active-view{text-align:center}.softphone-call-status,.softphone-route-badge{padding:7px 10px}.softphone-call-status{color:var(--blue-700);background:var(--blue-50)}.softphone-call-status>span,.softphone-browser-state>span{background:currentColor;border-radius:999px;flex:0 0 8px;width:8px;height:8px}.softphone-call-status.status-in_progress,.softphone-call-status.status-ringing{color:#047857;background:#d1fae5}.softphone-call-status.status-failed,.softphone-call-status.status-busy,.softphone-call-status.status-no_answer,.softphone-call-status.status-canceled,.softphone-call-status.status-missed{color:#b91c1c;background:#fee2e2}.softphone-call-status.status-completed{color:#475569;background:#e2e8f0}.softphone-route-badge{color:var(--text-secondary);background:var(--surface-secondary)}.softphone-customer-avatar{border:1px solid var(--border-light);background:var(--gradient-soft);width:76px;height:76px;box-shadow:var(--shadow-subtle);border-radius:24px;place-items:center;margin:18px auto 12px;font-size:31px;display:grid}.softphone-customer{flex-direction:column;align-items:center;gap:4px;display:flex}.softphone-customer>span{color:var(--text-muted);letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:800}.softphone-customer>strong{letter-spacing:-.02em;font-size:24px}.softphone-customer p{min-height:20px;color:var(--text-secondary);margin:2px 0 0;font-size:12px}.softphone-call-time{border:1px solid var(--border-light);background:var(--surface-soft);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:3px;margin:18px 0 14px;padding:14px;display:flex}.softphone-call-time span{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.softphone-call-time strong{font-variant-numeric:tabular-nums;letter-spacing:.03em;font-size:34px;line-height:1.05}.softphone-call-details{align-items:stretch;gap:10px;margin-bottom:12px}.softphone-call-details>div{border:1px solid var(--border-light);background:var(--surface);text-align:left;border-radius:13px;flex-direction:column;flex:1;gap:4px;min-width:0;padding:11px;display:flex}.softphone-call-details span{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:800}.softphone-call-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.softphone-browser-state{color:#047857;text-align:left;background:#ecfdf5;border-radius:13px;align-items:center;gap:10px;padding:10px 12px;display:flex}.softphone-browser-state>div{flex-direction:column;gap:1px;display:flex}.softphone-browser-state strong{font-size:11px}.softphone-browser-state small{color:#4b7669;font-size:10px}.softphone-browser-state.state-error{color:#b91c1c;background:#fee2e2}.softphone-dtmf-pad{border:1px solid var(--border-light);background:var(--surface-soft);border-radius:16px;margin-top:14px;padding:10px}.softphone-controls{justify-content:center;gap:18px;margin-top:18px}.softphone-controls button{border:1px solid var(--border-light);width:64px;height:64px;color:var(--text-primary);background:var(--surface-soft);cursor:pointer;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex}.softphone-controls button span{font-size:20px}.softphone-controls button small{text-transform:uppercase;font-size:9px;font-weight:800}.softphone-controls button.active{color:var(--blue-700);border-color:var(--blue-300);background:var(--blue-50)}.softphone-controls button.end{color:#fff;background:#dc2626;border-color:#dc2626}.softphone-secondary-button{width:100%;color:var(--blue-700);background:var(--blue-50);margin-top:14px;padding:11px 14px}.softphone-finished-actions{justify-content:center;gap:10px;margin-top:18px}.softphone-finished-actions button{color:var(--text-primary);background:var(--surface-secondary);flex:1;padding:11px 14px}.softphone-finished-actions button:first-child{color:#fff;background:var(--gradient-primary)}.softphone-mini-wrap{z-index:1200;border:1px solid var(--border-light);background:var(--surface);border-radius:18px;align-items:stretch;display:flex;position:fixed;bottom:24px;right:24px;overflow:hidden;box-shadow:0 20px 55px #0f2a3a3d}.softphone-mini-bar{min-width:260px;color:var(--text-primary);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:10px 12px;display:flex}.softphone-mini-icon{color:#047857;background:#d1fae5;border-radius:13px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.softphone-mini-icon.status-failed,.softphone-mini-icon.status-busy,.softphone-mini-icon.status-no_answer,.softphone-mini-icon.status-canceled,.softphone-mini-icon.status-missed{color:#b91c1c;background:#fee2e2}.softphone-mini-details{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.softphone-mini-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.softphone-mini-details small{color:var(--text-muted);font-size:10px}.softphone-mini-timer{font-variant-numeric:tabular-nums;font-size:14px;font-weight:800}.softphone-mini-end{color:#fff;cursor:pointer;background:#dc2626;border:0;width:50px;font-weight:900}@media (width<=768px){.floating-softphone{border-radius:20px;width:calc(100vw - 16px);max-height:calc(100dvh - 76px);bottom:8px;right:8px}.softphone-body{padding:15px}.softphone-keypad{gap:7px}.softphone-keypad button{min-height:47px}.softphone-mini-wrap{width:calc(100vw - 16px);bottom:8px;right:8px}.softphone-mini-bar{flex:1;min-width:0}}@media (width<=420px){.softphone-method-picker button{padding:10px}.softphone-call-details{flex-direction:column}.softphone-controls{gap:12px}}.call-forwarding-settings-container{margin-top:-4px;padding-top:0!important}.call-forwarding-settings-card{max-width:1100px}.call-forwarding-heading{margin-bottom:18px}.call-forwarding-badge{color:#047857;background:#ecfdf5}.call-forwarding-list{gap:14px;display:grid}.call-forwarding-line{border:1px solid var(--border-light);background:#f8fafc;border-radius:12px;padding:18px;transition:border-color .16s,box-shadow .16s,background .16s}.call-forwarding-line-enabled{background:#f7fee7;border-color:#86efac;box-shadow:0 0 0 1px #22c55e0f}.call-forwarding-line-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.call-forwarding-line-name{align-items:center;gap:11px;min-width:0;display:flex}.call-forwarding-line-name>div{flex-direction:column;gap:3px;min-width:0;display:flex}.call-forwarding-line-name strong{color:var(--text-primary);font-size:15px}.call-forwarding-line-name span{color:var(--text-muted);font-size:13px}.call-forwarding-status-dot{background:#94a3b8;border-radius:50%;flex:0 0 11px;width:11px;height:11px;box-shadow:0 0 0 4px #94a3b824}.call-forwarding-status-dot.is-enabled{background:#16a34a;box-shadow:0 0 0 4px #16a34a24}.call-forwarding-toggle{color:var(--text-secondary);white-space:nowrap;cursor:pointer;align-items:center;gap:8px;font-size:12px;font-weight:800;display:inline-flex}.call-forwarding-toggle input{accent-color:#16a34a;width:17px;height:17px}.call-forwarding-toggle input:disabled{cursor:not-allowed}.call-forwarding-fields{grid-template-columns:minmax(0,1fr) minmax(180px,220px);gap:14px;margin-top:16px;display:grid}.call-forwarding-fields select{box-sizing:border-box;border:1px solid var(--border-light);width:100%;color:var(--text-primary);font:inherit;background:#fff;border-radius:8px;padding:11px 12px;font-size:14px}.call-forwarding-fields select:focus{border-color:var(--blue-400);outline:none;box-shadow:0 0 0 3px #0ea5e91a}.call-forwarding-fields input:disabled,.call-forwarding-fields select:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.call-forwarding-line-note{color:var(--text-muted);margin:12px 0 0;font-size:11px;line-height:1.45}.call-forwarding-actions{margin-top:18px}.call-forwarding-empty{border:1px dashed var(--border-light);color:var(--text-muted);text-align:center;border-radius:10px;padding:22px;font-size:13px}@media (width<=768px){.call-forwarding-line-header{flex-direction:column;align-items:flex-start}.call-forwarding-fields{grid-template-columns:1fr}.call-forwarding-toggle,.call-forwarding-actions .primary-button-small{width:100%}}.lead-outreach-settings{margin-top:24px}.lead-outreach-settings form{gap:22px;display:grid}.lead-outreach-switch{border:1px solid var(--border-color,#d9e2e7);background:var(--surface-subtle,#f7fafb);border-radius:12px;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.lead-outreach-switch input{width:18px;height:18px;margin-top:2px}.lead-outreach-switch span{gap:4px;display:grid}.lead-outreach-switch small,.lead-outreach-template small,.lead-outreach-preview small{color:var(--text-muted,#667780);line-height:1.45}.lead-outreach-variable-help{gap:10px;display:grid}.lead-outreach-variable-help>div{flex-wrap:wrap;gap:8px;display:flex}.lead-outreach-variable-help code{color:#155e63;background:#e9f4f5;border-radius:7px;padding:5px 8px;font-size:.82rem}.lead-outreach-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.lead-outreach-template{gap:8px;display:grid}.lead-outreach-template-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lead-outreach-template-heading>span{gap:4px;display:grid}.lead-outreach-template textarea,.lead-outreach-opt-out textarea{resize:vertical;border:1px solid var(--border-color,#cdd9df);width:100%;font:inherit;background:var(--surface,#fff);color:inherit;border-radius:10px;padding:12px;line-height:1.5}.lead-outreach-template textarea:focus,.lead-outreach-opt-out textarea:focus{border-color:#157e84;outline:2px solid #157e8433}.lead-outreach-preview-button,.lead-outreach-refresh{color:#157e84;cursor:pointer;background:0 0;border:0;font-weight:700}.lead-outreach-opt-out{gap:14px;padding-top:4px;display:grid}.lead-outreach-preview{background:#f1f9f9;border:1px solid #b9d9dc;border-radius:12px;gap:10px;padding:16px;display:grid}.lead-outreach-preview>div{gap:3px;display:grid}.lead-outreach-preview pre{white-space:pre-wrap;word-break:break-word;font:inherit;margin:0;line-height:1.55}.lead-outreach-panel{border:1px solid var(--border-color,#d9e2e7);background:var(--surface,#fff);border-radius:16px;gap:18px;margin:24px 0;padding:22px;display:grid;box-shadow:0 8px 24px #1f3f480f}.lead-outreach-panel-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.lead-outreach-panel-header h3,.lead-outreach-task-header h4{margin:0}.lead-outreach-panel-header p{color:var(--text-muted,#667780);margin:6px 0 0}.lead-outreach-state{border-radius:999px;flex:none;padding:6px 10px;font-size:.78rem;font-weight:800}.lead-outreach-state.is-active{color:#17633a;background:#dff4e7}.lead-outreach-state.is-inactive{color:#59666d;background:#edf0f2}.lead-outreach-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.lead-outreach-summary>div{background:var(--surface-subtle,#f7fafb);border-radius:11px;gap:5px;min-width:0;padding:13px;display:grid}.lead-outreach-summary span{color:var(--text-muted,#667780);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem}.lead-outreach-summary strong{overflow-wrap:anywhere}.lead-outreach-override-note{background:#fff7e7;border-left:4px solid #c18b29;border-radius:8px;padding:12px 14px}.lead-outreach-actions{flex-wrap:wrap;gap:10px;display:flex}.lead-outreach-task-header{border-top:1px solid var(--border-color,#e2e8eb);justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.lead-outreach-task-header>div{align-items:center;gap:10px;display:flex}.lead-outreach-task-header span{color:var(--text-muted,#667780);font-size:.82rem}.lead-outreach-task-list{gap:10px;display:grid}.lead-outreach-task{border:1px solid var(--border-color,#dde5e8);background:var(--surface-subtle,#fbfcfc);border-radius:12px;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.lead-outreach-task>div{min-width:0}.lead-outreach-task-title{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.lead-outreach-task p{color:var(--text-muted,#667780);margin:5px 0}.lead-outreach-task small{color:var(--text-muted,#667780);display:block}.lead-outreach-task-error{margin-top:5px;color:#a43d3d!important}.task-status{text-transform:capitalize;border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:800}.task-status-open{color:#245f8e;background:#e4f2ff}.task-status-completed{color:#17633a;background:#dff4e7}.task-status-canceled{color:#59666d;background:#edf0f2}.lead-outreach-empty{border:1px dashed var(--border-color,#cfdadd);color:var(--text-muted,#667780);text-align:center;border-radius:12px;padding:18px}@media (width<=900px){.lead-outreach-template-grid,.lead-outreach-summary{grid-template-columns:1fr 1fr}}@media (width<=640px){.lead-outreach-template-grid,.lead-outreach-summary{grid-template-columns:1fr}.lead-outreach-panel-header,.lead-outreach-task{flex-direction:column;align-items:stretch}.lead-outreach-state{align-self:flex-start}.lead-outreach-task button{width:100%}}body.settings-modal-open{overflow:hidden}.outreach-settings-extension{margin-top:-4px;padding-top:0!important}.outreach-settings-hub{max-width:1100px}.outreach-settings-heading{margin-bottom:18px}.outreach-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.outreach-setting-card{border:1px solid var(--border-light);background:#f8fafc;border-radius:14px;flex-direction:column;gap:16px;min-width:0;min-height:218px;padding:20px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex}.outreach-setting-card:not(.outreach-setting-card-coming-soon):hover{border-color:var(--blue-300);transform:translateY(-1px);box-shadow:0 14px 34px #0ea5e917}.outreach-setting-card-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.outreach-setting-icon{width:38px;height:38px;color:var(--teal-800);background:linear-gradient(135deg,#dff9ef 0%,#e2f5ff 100%);border-radius:11px;place-items:center;font-size:14px;font-weight:900;display:grid}.outreach-setting-icon-customer{color:#4f46e5;background:#eef2ff}.outreach-setting-copy{gap:6px;display:grid}.outreach-setting-copy h4{color:var(--text-primary);margin:0;font-size:15px}.outreach-setting-copy p{color:var(--text-muted);margin:0;font-size:12px;line-height:1.55}.outreach-setting-meta{flex-wrap:wrap;gap:8px;display:flex}.outreach-setting-meta span{color:var(--text-secondary);background:#fff;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.outreach-setting-action,.outreach-setting-disabled-action{justify-content:center;align-items:center;width:100%;min-height:38px;margin-top:auto;display:inline-flex}.outreach-setting-card-coming-soon{box-shadow:none;background:#fbfcfd;border-style:dashed}.outreach-coming-soon-badge{color:#4f46e5;background:#eef2ff;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}.outreach-setting-disabled-action{border:1px solid var(--border-light);color:#94a3b8;background:#f1f5f9;border-radius:8px;font-size:12px;font-weight:800}.lead-outreach-modal-backdrop{z-index:1400;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a94;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.lead-outreach-modal{background:#fff;border:1px solid #ffffffb3;border-radius:18px;flex-direction:column;width:min(1080px,100%);max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 28px 90px #0f172a47}.lead-outreach-modal-header{border-bottom:1px solid var(--border-light);background:linear-gradient(135deg,#f0fdf9 0%,#f0f9ff 100%);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.lead-outreach-modal-header>div{min-width:0}.lead-outreach-modal-eyebrow{color:var(--teal-700);letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:900}.lead-outreach-modal-header h2{color:var(--text-primary);margin:5px 0 4px;font-size:21px}.lead-outreach-modal-header p{color:var(--text-muted);margin:0;font-size:12px}.lead-outreach-modal-close{border:1px solid var(--border-light);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;background:#ffffffe6;border-radius:10px;flex:0 0 38px;place-items:center;font-size:24px;line-height:1;display:grid}.lead-outreach-modal-close:hover{border-color:var(--blue-300);color:var(--text-primary)}.lead-outreach-modal-body{overscroll-behavior:contain;min-height:0;padding:24px;overflow-y:auto}.lead-outreach-editor-form{gap:22px;display:grid}.lead-outreach-modal-actions{z-index:2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff7;margin:0 -24px -24px;padding:16px 24px;position:sticky;bottom:-24px;box-shadow:0 -12px 24px #0f172a0d}.lead-outreach-modal-action-buttons{align-items:center;gap:10px;display:flex}@media (width<=768px){.outreach-settings-grid{grid-template-columns:1fr}.lead-outreach-modal-backdrop{padding:0}.lead-outreach-modal{border:0;border-radius:0;width:100%;height:100dvh;max-height:100dvh}.lead-outreach-modal-header,.lead-outreach-modal-body{padding:18px 16px}.lead-outreach-modal-actions{margin:0 -16px -18px;padding:14px 16px;bottom:-18px}.lead-outreach-modal-action-buttons{width:100%}.lead-outreach-modal-action-buttons button{flex:1}}.outreach-setting-card-coming-soon{display:none}.customer-outreach-settings-extension{margin-top:-18px}.customer-outreach-settings-hub{padding-top:0}.customer-outreach-settings-hub>.customer-outreach-tile-grid{grid-template-columns:minmax(0,1fr)}.customer-outreach-setting-card{background:linear-gradient(145deg,#f8fafc 0%,#eef2ff 100%);min-height:190px}.customer-outreach-modal-header{background:linear-gradient(135deg,#eef2ff 0%,#f0fdf9 100%)}.customer-outreach-timing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.customer-outreach-existing-switch{background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;padding:14px}.customer-outreach-panel{border:1px solid var(--border-light);background:#fff;border-radius:16px;gap:18px;margin:22px 0;padding:22px;display:grid;box-shadow:0 12px 32px #0f172a0d}.customer-outreach-panel-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.customer-outreach-panel-header h3{color:var(--text-primary);margin:0;font-size:17px}.customer-outreach-panel-header p{max-width:760px;color:var(--text-muted);margin:5px 0 0;font-size:12px;line-height:1.55}.customer-lifecycle-path{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:4px 0 8px;display:grid;overflow-x:auto}.customer-lifecycle-step{border:1px solid var(--border-light);min-width:126px;color:var(--text-muted);background:#f8fafc;border-radius:12px;align-items:flex-start;gap:9px;padding:12px;display:flex;position:relative}.customer-lifecycle-step:after{content:"";background:#cbd5e1;width:9px;height:2px;position:absolute;top:27px;right:-9px}.customer-lifecycle-step:last-child:after{display:none}.customer-lifecycle-step.is-complete{color:#065f46;background:#ecfdf5;border-color:#a7f3d0}.customer-lifecycle-step.is-current{color:#3730a3;background:#eef2ff;border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.customer-lifecycle-dot{color:#475569;background:#e2e8f0;border-radius:999px;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:10px;font-weight:900;display:grid}.customer-lifecycle-step.is-complete .customer-lifecycle-dot{color:#fff;background:#10b981}.customer-lifecycle-step.is-current .customer-lifecycle-dot{color:#fff;background:#6366f1}.customer-lifecycle-step strong,.customer-lifecycle-step small{display:block}.customer-lifecycle-step strong{font-size:12px}.customer-lifecycle-step small{margin-top:3px;font-size:10px;line-height:1.35}.customer-lifecycle-terminal{color:#991b1b;background:#fef2f2;border-radius:12px;gap:4px;padding:14px 16px;display:grid}.customer-lifecycle-terminal-do_not_contact{color:#9a3412;background:#fff7ed}.customer-lifecycle-terminal strong{font-size:13px}.customer-lifecycle-terminal span{font-size:11px}.customer-outreach-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-follow-up-history{border:1px solid var(--border-light);background:#f8fafc;border-radius:12px}.customer-follow-up-history summary{cursor:pointer;color:var(--text-secondary);padding:12px 14px;font-size:11px;font-weight:800}.customer-follow-up-history-list{gap:8px;padding:0 14px 14px;display:grid}.customer-follow-up-history-item{border:1px solid var(--border-light);background:#fff;border-radius:10px;gap:4px;padding:10px 12px;display:grid}.customer-follow-up-history-item>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.customer-follow-up-history-item strong{color:var(--text-primary);font-size:12px}.customer-follow-up-history-item span,.customer-follow-up-history-item small{color:var(--text-muted);font-size:10px;line-height:1.45}.customer-follow-up-history-item a{font-weight:700}.customer-outreach-actions{flex-wrap:wrap}.customer-outreach-review-button.is-active{display:none}.customer-outreach-schedule-editor{background:#eef2ff;border:1px solid #c7d2fe;border-radius:12px;justify-content:space-between;align-items:flex-end;gap:14px;padding:14px;display:flex}.customer-outreach-schedule-editor label{gap:6px;min-width:240px;display:grid}.customer-outreach-schedule-editor label span{color:var(--text-secondary);font-size:11px;font-weight:800}.customer-outreach-schedule-editor input{border:1px solid var(--border-light);background:#fff;border-radius:8px;min-height:38px;padding:8px 10px}.customer-outreach-schedule-editor>div{gap:8px;display:flex}.customer-owner-task-overdue{background:#fff7f7;border-color:#fca5a5;box-shadow:inset 4px 0 #dc2626}.customer-owner-task-overdue .task-status{color:#991b1b;background:#fee2e2}.customer-outreach-filter-badge{color:#4338ca;white-space:nowrap;background:#eef2ff;border-radius:999px;align-items:center;padding:4px 8px;font-size:10px;font-weight:800;display:inline-flex}.status-new_customer,.status-returning_customer{color:#065f46;background:#d1fae5}.status-cooling,.status-waiting_for_response,.status-initial_reminder_set,.status-last_message_scheduled,.status-contact_needed{color:#92400e;background:#fef3c7}.status-cold,.status-do_not_contact,.status-owner_action_overdue,.status-stopped{color:#7f1d1d;background:#fee2e2}.status-outreach_complete,.status-contacted,.status-last_message_sent{color:#065f46;background:#d1fae5}@media (width<=900px){.customer-outreach-summary,.customer-outreach-timing-grid{grid-template-columns:1fr 1fr}}@media (width<=640px){.customer-outreach-panel{margin:16px 0;padding:16px}.customer-outreach-panel-header,.customer-outreach-schedule-editor{flex-direction:column;align-items:stretch}.customer-outreach-summary,.customer-outreach-timing-grid{grid-template-columns:1fr}.customer-follow-up-history-item>div{flex-direction:column;align-items:flex-start;gap:2px}.customer-outreach-schedule-editor label{min-width:0}.customer-outreach-schedule-editor>div button{flex:1}}.outreach-flow-info-trigger{z-index:2;color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font:700 16px/1 Georgia,serif;transition:border-color .16s,color .16s,transform .16s,box-shadow .16s;display:inline-flex;position:absolute;top:78px;right:24px;box-shadow:0 4px 12px #0f172a14}.outreach-flow-info-trigger:hover{color:#1d4ed8;border-color:#2563eb;transform:translateY(-1px);box-shadow:0 7px 18px #2563eb26}.outreach-flow-info-trigger:focus-visible{outline-offset:2px;outline:3px solid #2563eb40}.outreach-flow-info-trigger-customer:hover{color:#4338ca;border-color:#4f46e5}.outreach-flow-card-shell .outreach-setting-copy{padding-right:42px}.outreach-flow-backdrop{z-index:1200}.outreach-flow-modal{width:min(1040px,100vw - 32px);max-height:min(900px,100vh - 40px)}.outreach-flow-modal-header{align-items:flex-start}.outreach-flow-modal-body{overscroll-behavior:contain;gap:22px;display:grid;overflow-y:auto}.customer-outreach-action-definition{background:linear-gradient(135deg,#f5f3ff 0%,#faf5ff 100%);border:2px solid #c4b5fd;border-radius:16px;grid-template-columns:54px minmax(0,1fr);align-items:flex-start;gap:16px;padding:18px;display:grid;box-shadow:0 10px 28px #6d28d914}.customer-outreach-action-icon{color:#fff;background:#7c3aed;border-radius:14px;place-items:center;width:48px;height:48px;font-size:1.1rem;font-weight:900;display:grid;box-shadow:0 0 0 5px #7c3aed1f}.customer-outreach-action-label{color:#6d28d9;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:.72rem;font-weight:900;display:block}.customer-outreach-action-definition h3{color:#4c1d95;margin:0 0 6px;font-size:1.08rem}.customer-outreach-action-definition p{color:#5b21b6;margin:0;font-size:.92rem;line-height:1.55}.customer-outreach-action-rules{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.customer-outreach-action-rules span{color:#5b21b6;background:#fff;border:1px solid #ddd6fe;border-radius:999px;padding:5px 9px;font-size:.76rem;font-weight:800}.outreach-flow-color-key{flex-wrap:wrap;gap:8px;display:flex}.outreach-flow-color-key span,.outreach-flow-step-heading>span{border:1px solid #0000;border-radius:999px;align-items:center;padding:5px 9px;font-size:.72rem;font-weight:850;line-height:1;display:inline-flex}.outreach-flow-color-key .is-automation,.outreach-flow-step.is-automation .outreach-flow-step-heading>span{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.outreach-flow-color-key .is-action,.outreach-flow-step.is-action .outreach-flow-step-heading>span{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.outreach-flow-color-key .is-activity,.outreach-flow-step.is-activity .outreach-flow-step-heading>span{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.outreach-flow-color-key .is-status,.outreach-flow-step.is-status .outreach-flow-step-heading>span{color:#b45309;background:#fffbeb;border-color:#fde68a}.outreach-flow-color-key .is-stop,.outreach-flow-step.is-stop .outreach-flow-step-heading>span{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.outreach-flow-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.outreach-flow-summary-grid>section{background:#f8fafc;border:1px solid #dbe3ee;border-radius:14px;min-width:0;padding:14px}.outreach-flow-summary-grid>section>span{color:#0f172a;letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px;font-size:.78rem;font-weight:800;display:block}.outreach-flow-summary-grid p,.outreach-flow-summary-grid ul{color:#475569;margin:0;font-size:.9rem;line-height:1.55}.outreach-flow-summary-grid ul{padding-left:18px}.outreach-flow-summary-grid li+li{margin-top:6px}.outreach-flow-field-list{flex-wrap:wrap;gap:6px;display:flex}.outreach-flow-field-list code{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 8px;font-family:inherit;font-size:.78rem;font-weight:700}.outreach-flow-modal-customer .outreach-flow-field-list code:last-child{color:#6d28d9;background:#f5f3ff;border-color:#c4b5fd}.outreach-flow-timeline{gap:14px;display:grid}.outreach-flow-step{grid-template-columns:38px minmax(0,1fr);align-items:flex-start;gap:12px;display:grid}.outreach-flow-step-number{color:#fff;background:#0f766e;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.86rem;font-weight:800;display:inline-flex;box-shadow:0 0 0 5px #ecfdf5}.outreach-flow-step-content{background:#fff;border:1px solid #dbe3ee;border-radius:15px;min-width:0;padding:15px 16px}.outreach-flow-step-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.outreach-flow-step-content h3{color:#0f172a;margin:0;font-size:1rem}.outreach-flow-step-content dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.outreach-flow-step-content dl>div{min-width:0}.outreach-flow-step-content dt{color:#64748b;letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:.72rem;font-weight:800}.outreach-flow-step-content dd{color:#334155;margin:0;font-size:.9rem;line-height:1.55}.outreach-flow-step.is-automation .outreach-flow-step-number{background:#2563eb;box-shadow:0 0 0 5px #eff6ff}.outreach-flow-step.is-automation .outreach-flow-step-content{border-left:5px solid #60a5fa}.outreach-flow-step.is-action .outreach-flow-step-number{background:#7c3aed;box-shadow:0 0 0 5px #f5f3ff}.outreach-flow-step.is-action .outreach-flow-step-content{background:#faf7ff;border:2px solid #c4b5fd;border-left:7px solid #7c3aed;box-shadow:0 8px 24px #6d28d914}.outreach-flow-step.is-action .outreach-flow-step-content h3{color:#5b21b6}.outreach-flow-step.is-activity .outreach-flow-step-number{background:#059669;box-shadow:0 0 0 5px #ecfdf5}.outreach-flow-step.is-activity .outreach-flow-step-content{border-left:5px solid #34d399}.outreach-flow-step.is-status .outreach-flow-step-number{background:#d97706;box-shadow:0 0 0 5px #fffbeb}.outreach-flow-step.is-status .outreach-flow-step-content{border-left:5px solid #fbbf24}.outreach-flow-step.is-stop .outreach-flow-step-number{background:#dc2626;box-shadow:0 0 0 5px #fef2f2}.outreach-flow-step.is-stop .outreach-flow-step-content{border-left:5px solid #f87171}.outreach-flow-footer-note{color:#854d0e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:12px 14px;font-size:.88rem;line-height:1.5}@media (width<=760px){.outreach-flow-info-trigger{top:76px;right:18px}.outreach-flow-summary-grid,.outreach-flow-step-content dl{grid-template-columns:1fr}.outreach-flow-modal{width:min(100vw - 16px,1040px);max-height:calc(100dvh - 16px)}.outreach-flow-modal-body{padding-bottom:max(18px, env(safe-area-inset-bottom))}.customer-outreach-action-definition{grid-template-columns:1fr}.customer-outreach-action-icon{width:42px;height:42px}.outreach-flow-step-heading{flex-direction:column;align-items:flex-start;gap:7px}}.outreach-settings-combined-host{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1100px;display:grid}.outreach-settings-combined-heading{grid-column:1/-1;margin-bottom:2px}.outreach-flow-card-shell{min-width:0;position:relative}.outreach-flow-card-shell>.outreach-settings-extension,.outreach-flow-card-shell>.outreach-settings-extension>.outreach-settings-hub,.outreach-flow-card-shell .outreach-settings-grid{display:contents}.outreach-flow-card-shell .outreach-settings-heading{display:none}.outreach-settings-combined-host .outreach-setting-card,.outreach-settings-combined-host .customer-outreach-setting-card{height:100%;min-height:218px}.outreach-settings-combined-host .customer-outreach-setting-card{background:linear-gradient(145deg,#f8fafc 0%,#eef2ff 100%)}@media (width<=900px){.outreach-settings-combined-host{grid-template-columns:1fr}}.quick-links-menu{position:relative}.header-quick-links-button{border:1px solid var(--border-color,#d9dde5);background:var(--surface,#fff);cursor:pointer;border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-weight:700;display:inline-flex}.quick-links-popover{z-index:120;background:#fff;border:1px solid #dfe3ea;border-radius:12px;width:min(320px,100vw - 24px);padding:8px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 14px 40px #00000024}.quick-links-popover-title{text-transform:uppercase;letter-spacing:.05em;color:#697386;padding:7px 9px;font-size:12px;font-weight:800}.quick-links-empty{color:#697386;padding:12px 10px;font-size:13px}.quick-links-item{color:inherit;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:10px;font-weight:650;text-decoration:none;display:flex}.quick-links-item:hover{background:#f5f7fa}.quick-links-settings-extension{margin-top:18px;margin-bottom:18px}.quick-links-settings-card{box-sizing:border-box;width:100%;max-width:1100px;margin:0;padding:24px;overflow:hidden}.quick-links-settings-header h3{margin:0}.quick-links-settings-header p{color:#697386;margin:4px 0 14px}.quick-links-editor{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:end;gap:12px 16px;width:100%;min-width:0;margin-bottom:16px;display:grid}.quick-links-editor>.form-group{min-width:0}.quick-links-editor input,.quick-links-editor select{box-sizing:border-box;width:100%;min-width:0}.quick-links-profile-field{grid-column:1/-1}.quick-links-role-select{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.quick-links-role-select label{cursor:pointer;background:#fff;border:1px solid #dfe3ea;border-radius:999px;align-items:center;gap:6px;max-width:100%;padding:6px 9px;font-size:12px;display:inline-flex}.quick-links-role-select label.selected{background:#f0f2ff;border-color:#7687ff;font-weight:700}.quick-links-role-select input{width:auto;margin:0}.quick-links-editor-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.quick-links-row-actions{flex-wrap:wrap;gap:6px;display:flex}.quick-links-delete{color:#b42318!important}.quick-links-url-cell{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.quick-links-table{width:100%;max-width:100%;overflow-x:auto}.quick-links-table table{table-layout:fixed;width:100%;min-width:0}.quick-links-table th:first-child{width:16%}.quick-links-table th:nth-child(2){width:30%}.quick-links-table th:nth-child(3){width:24%}.quick-links-table th:nth-child(4){width:12%}.quick-links-table th:nth-child(5){width:18%}.quick-links-table td{overflow-wrap:anywhere}@media (width<=900px){.quick-links-editor{grid-template-columns:1fr}.quick-links-profile-field,.quick-links-editor-actions{grid-column:auto}.quick-links-table{overflow-x:auto}.quick-links-table table{table-layout:auto;min-width:680px}.quick-links-button-label{display:none}}@media (width<=640px){.quick-links-settings-card{padding:20px}.quick-links-editor{grid-template-columns:1fr}.header-quick-links-button{padding:8px}.quick-links-editor-actions{flex-direction:column;justify-content:stretch}.quick-links-editor-actions button{width:100%}.quick-links-popover{left:12px;right:12px;top:calc(62px + env(safe-area-inset-top));width:auto;max-height:calc(100dvh - 88px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;z-index:180;position:fixed;overflow-y:auto}}.record-delete-floating{z-index:42;color:#b42332;font:inherit;cursor:pointer;background:#fff;border:1px solid #dc3545;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:800;transition:background .16s,color .16s,transform .16s;position:fixed;bottom:92px;right:24px;box-shadow:0 8px 24px #102a3a24}.record-delete-floating:hover,.record-delete-floating:focus-visible{color:#fff;background:#b42332;outline:none;transform:translateY(-1px)}.record-delete-button,.record-delete-inline{color:#b42332;font:inherit;cursor:pointer;background:#fff;border:1px solid #dc3545;border-radius:8px;padding:9px 13px;font-weight:800;transition:background .16s,color .16s}.record-delete-button:hover,.record-delete-button:focus-visible,.record-delete-inline:hover,.record-delete-inline:focus-visible{color:#fff;background:#b42332;outline:none}.record-delete-inline{padding:6px 10px;font-size:12px}.record-delete-table-cell{text-align:right;white-space:nowrap;width:1%}.record-delete-backdrop{z-index:1400;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#06182394;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.record-delete-modal{background:#fff;border-radius:14px;width:min(520px,100%);overflow:hidden;box-shadow:0 24px 70px #06182347}.record-delete-modal header,.record-delete-modal footer{justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.record-delete-modal header{border-bottom:1px solid var(--border-light,#dcebed)}.record-delete-modal header span{color:#b42332;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.record-delete-modal h2{color:var(--text-primary,#102a3a);margin:0;font-size:21px}.record-delete-close{color:var(--text-muted,#78909c);cursor:pointer;background:0 0;border:0;font-size:28px;line-height:1}.record-delete-close:disabled{cursor:not-allowed;opacity:.5}.record-delete-body{padding:20px}.record-delete-body p{color:var(--text-secondary,#536b79);margin:0 0 12px;line-height:1.55}.record-delete-body .record-delete-preserved-note{color:#7f2934;background:#fff7f8;border:1px solid #f2d3d7;border-radius:8px;padding:11px 12px;font-size:13px}.record-delete-body label{color:var(--text-primary,#102a3a);margin:18px 0 7px;font-size:13px;display:block}.record-delete-body input{box-sizing:border-box;border:1px solid var(--border-light,#dcebed);width:100%;color:var(--text-primary,#102a3a);font:inherit;letter-spacing:.08em;border-radius:8px;padding:11px 12px;font-weight:800}.record-delete-body input:focus{border-color:#dc3545;outline:none;box-shadow:0 0 0 3px #dc35451f}.record-delete-modal footer{border-top:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);justify-content:flex-end}.record-delete-confirm-button{color:#fff;font:inherit;cursor:pointer;background:#b42332;border:1px solid #b42332;border-radius:8px;padding:10px 16px;font-weight:800}.record-delete-confirm-button:disabled{cursor:not-allowed;opacity:.45}@media (width<=900px){.vendor-mobile-card-open{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.vendor-mobile-card-footer .btn-secondary,.vendor-mobile-card-footer .record-delete-inline{width:auto;min-height:34px;padding:6px 10px}}@media (width<=768px){.record-delete-floating{z-index:auto;box-sizing:border-box;width:calc(100% - 24px);min-height:44px;margin:16px 12px 0;display:block;position:static;bottom:auto;right:auto}.record-delete-modal footer{grid-template-columns:1fr 1fr;display:grid}.record-delete-modal footer button{width:100%}}.specialist-guide-layer{z-index:1200;justify-content:flex-end;display:flex;position:fixed;inset:0}.specialist-guide-backdrop{cursor:default;background:#0f172a7a;border:0;width:100%;height:100%;position:absolute;inset:0}.specialist-guide-drawer{z-index:1;background:#fff;flex-direction:column;width:min(760px,92vw);height:100dvh;display:flex;position:relative;overflow:hidden;box-shadow:-18px 0 48px #0f172a33}.specialist-guide-header{border-bottom:1px solid var(--border-light);background:linear-gradient(135deg,#0ea5e917,#7c3aed12);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 18px;display:flex}.specialist-guide-eyebrow{color:var(--blue-700);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.specialist-guide-header h2{color:var(--text-primary);margin:0;font-size:25px}.specialist-guide-header p{max-width:590px;color:var(--text-secondary);margin:7px 0 0;font-size:13px;line-height:1.5}.specialist-guide-close{border:1px solid var(--border-light);width:38px;height:38px;color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:10px;flex-shrink:0;font-size:18px}.specialist-guide-close:hover{background:var(--surface-soft);color:var(--text-primary)}.specialist-guide-tools{border-bottom:1px solid var(--border-light);background:#fff;flex-shrink:0;padding:14px 20px}.specialist-guide-search{border:1px solid var(--border-medium);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 12px;display:flex}.specialist-guide-search>span{color:var(--text-muted);font-size:18px}.specialist-guide-search input{min-width:0;height:42px;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:13px}.specialist-guide-search button{color:var(--blue-700);cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:800}.specialist-guide-jumps{scrollbar-width:thin;gap:7px;padding-top:10px;display:flex;overflow-x:auto}.specialist-guide-jumps button{border:1px solid var(--border-light);background:var(--surface-soft);color:var(--text-secondary);cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:5px;padding:7px 10px;font-size:11px;font-weight:700;display:inline-flex}.specialist-guide-jumps button:hover{border-color:var(--blue-300,#7dd3fc);color:var(--blue-700)}.specialist-guide-body{overscroll-behavior:contain;scroll-behavior:smooth;flex:1;min-height:0;padding:20px 24px 40px;overflow-y:auto}.specialist-guide-callout{color:var(--text-secondary);background:#0ea5e912;border:1px solid #0ea5e940;border-radius:12px;gap:4px;margin-bottom:24px;padding:14px 16px;font-size:13px;line-height:1.5;display:grid}.specialist-guide-callout strong{color:var(--blue-700)}.specialist-guide-section{margin-bottom:30px;scroll-margin-top:18px}.specialist-guide-section-heading{align-items:flex-start;gap:11px;margin-bottom:12px;display:flex}.specialist-guide-section-icon{background:var(--surface-soft);border-radius:10px;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:18px;display:grid}.specialist-guide-section h3{color:var(--text-primary);margin:0;font-size:17px}.specialist-guide-section-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px;line-height:1.45}.specialist-guide-card-grid{gap:10px;display:grid}.specialist-guide-card{border:1px solid var(--border-light);border-left:4px solid var(--border-medium);background:#fff;border-radius:12px;padding:14px 16px}.specialist-guide-card.tone-good{background:#16a34a09;border-left-color:#16a34a}.specialist-guide-card.tone-info{background:#0284c709;border-left-color:#0284c7}.specialist-guide-card.tone-warn{background:#d977060a;border-left-color:#d97706}.specialist-guide-card.tone-danger{background:#dc262609;border-left-color:#dc2626}.specialist-guide-card h4{color:var(--text-primary);margin:0;font-size:14px}.specialist-guide-card-lead{color:var(--text-secondary);margin:7px 0 0;font-size:12px;font-weight:650;line-height:1.5}.specialist-guide-card ul{color:var(--text-secondary);margin:9px 0 0;padding-left:19px;font-size:12px;line-height:1.55}.specialist-guide-card li+li{margin-top:5px}.specialist-guide-empty{text-align:center;color:var(--text-secondary);gap:7px;padding:38px 20px;display:grid}.specialist-guide-empty strong{color:var(--text-primary)}.sidebar-guide-button{width:100%;color:var(--blue-700);cursor:pointer;background:#0ea5e914;border:1px solid #0ea5e94d;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:12px;font-weight:800;transition:all .16s;display:flex}.sidebar-guide-button:hover{background:#0ea5e921;border-color:#0ea5e98c}@media (width<=768px){.specialist-guide-drawer{width:100vw}.specialist-guide-header{padding:18px 18px 14px}.specialist-guide-header h2{font-size:21px}.specialist-guide-tools{padding:12px 14px}.specialist-guide-body{padding:16px 15px 32px}}.approver-notification{position:relative}.approver-notification-button{border:1px solid var(--border-light);background:var(--surface-soft);width:40px;height:40px;color:var(--text-primary);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s,transform .15s;display:inline-flex;position:relative}.approver-notification-button:hover,.approver-notification-button[aria-expanded=true]{border-color:var(--blue-300);background:var(--blue-50);transform:translateY(-1px)}.approver-notification-button.has-action{color:var(--blue-800);border-color:#dc262657}.approver-notification-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.approver-notification-dollar{background:var(--green-600);color:#fff;border:1px solid #fff;border-radius:999px;justify-content:center;align-items:center;width:15px;height:15px;font-size:9px;font-weight:900;line-height:1;display:inline-flex;position:absolute;bottom:3px;left:4px}.approver-notification-count{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:800;line-height:1;display:inline-flex;position:absolute;top:-6px;right:-7px;box-shadow:0 2px 5px #0f172a2e}.approver-notification-panel{z-index:160;border:1px solid var(--border-light);background:#fff;border-radius:16px;width:min(430px,100vw - 28px);position:absolute;top:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 20px 50px #0f172a2e}.approver-notification-panel:before{border-top:1px solid var(--border-light);border-left:1px solid var(--border-light);content:"";background:#fff;width:12px;height:12px;position:absolute;top:-7px;right:17px;transform:rotate(45deg)}.approver-notification-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:14px;padding:15px 16px 13px;display:flex;position:relative}.approver-notification-header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.approver-notification-header strong{color:var(--text-primary);font-size:14px}.approver-notification-header small{color:var(--text-muted);font-size:11px}.approver-notification-header button{color:var(--blue-700);cursor:pointer;background:0 0;border:0;flex-shrink:0;font-size:12px;font-weight:700}.approver-notification-header button:hover{color:var(--blue-800);text-decoration:underline}.approver-notification-list{max-height:min(500px,100vh - 160px);overflow-y:auto}.approver-notification-item{border:0;border-bottom:1px solid var(--border-light);width:100%;color:inherit;cursor:pointer;text-align:left;background:#fff;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:11px;padding:13px 15px;transition:background .14s;display:grid}.approver-notification-item:hover,.approver-notification-item:focus-visible{background:var(--blue-50);outline:none}.approver-notification-item.needs-action{background:#fffaf0}.approver-notification-item.needs-action:hover,.approver-notification-item.needs-action:focus-visible{background:#fff4d6}.approver-notification-item.is-unread .approver-notification-title-line strong{font-weight:800}.approver-notification-status{background:var(--surface-soft);width:34px;height:34px;color:var(--blue-700);border-radius:50%;justify-content:center;align-items:center;font-size:13px;font-weight:900;display:inline-flex}.approver-notification-item.needs-action .approver-notification-status{color:#b91c1c;background:#fee2e2}.approver-notification-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.approver-notification-title-line{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.approver-notification-title-line strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.approver-notification-title-line time{color:var(--text-muted);flex-shrink:0;font-size:10px}.approver-notification-body{color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.approver-notification-state{color:var(--text-muted);font-size:10px;font-weight:700}.approver-notification-state.needs-action{color:#b91c1c}.approver-notification-empty{min-height:165px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:24px;font-size:12px;display:flex}.approver-notification-empty>span{background:var(--green-100);width:34px;height:34px;color:var(--green-700);border-radius:50%;justify-content:center;align-items:center;margin-bottom:3px;font-size:18px;font-weight:800;display:inline-flex}.approver-notification-empty strong{color:var(--text-primary);font-size:13px}.approver-notification-empty small{font-size:11px}.approver-notification-empty.is-error{color:#b91c1c}@media (width<=768px){.approver-notification-button{width:38px;height:38px}.approver-notification-panel{width:auto;position:fixed;top:66px;left:10px;right:10px}.approver-notification-panel:before{display:none}.approver-notification-header{align-items:flex-start}}.missed-call-notifications{position:relative}.missed-call-trigger{border:1px solid var(--border-color,#d9dee7);background:var(--surface-color,#fff);width:40px;height:40px;color:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;font-size:18px;display:inline-flex;position:relative}.missed-call-trigger.has-missed-calls{color:#b91c1c;background:#fff7f7;border-color:#ef4444}.missed-call-count{color:#fff;text-align:center;min-width:19px;height:19px;box-shadow:0 0 0 2px var(--surface-color,#fff);background:#dc2626;border-radius:999px;padding:0 5px;font-size:11px;font-weight:700;line-height:19px;position:absolute;top:-6px;right:-6px}.missed-call-popover{z-index:5000;pointer-events:auto;border:1px solid var(--border-color,#d9dee7);background:var(--surface-color,#fff);width:min(390px,100vw - 24px);max-height:min(620px,100vh - 96px);color:inherit;border-radius:16px;position:fixed;top:78px;right:24px;overflow:hidden;box-shadow:0 18px 50px #0f172a2e}.missed-call-popover-header{border-bottom:1px solid var(--border-color,#e5e7eb);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.missed-call-popover-header>div{gap:3px;display:grid}.missed-call-popover-header strong{font-size:15px}.missed-call-popover-header small{color:var(--text-muted,#667085);font-size:12px}.missed-call-popover-header button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:22px;line-height:1}.missed-call-error{color:#991b1b;background:#fef2f2;border-radius:10px;margin:12px 16px 0;padding:10px 12px;font-size:12px}.missed-call-list{max-height:520px;overflow-y:auto}.missed-call-item+.missed-call-item{border-top:1px solid var(--border-color,#eef0f4)}.missed-call-summary{width:100%;color:inherit;text-align:left;background:0 0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px 16px;display:grid}.missed-call-summary:hover{background:#94a3b814}.missed-call-item-icon{color:#dc2626;background:#fef2f2;border-radius:10px;justify-content:center;align-items:center;width:32px;height:32px;font-weight:700;display:inline-flex}.missed-call-item-copy{gap:2px;min-width:0;display:grid}.missed-call-item-copy strong,.missed-call-item-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.missed-call-item-copy strong{font-size:13px}.missed-call-item-copy small{color:var(--text-muted,#667085);font-size:11px}.missed-call-caller-link,.missed-call-caller-static{gap:2px;min-width:0;display:grid}.missed-call-caller-link{width:fit-content;max-width:100%;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;padding:0}.missed-call-caller-link strong{color:var(--primary-color,#2563eb);text-underline-offset:2px;text-decoration:underline;text-decoration-thickness:1px}.missed-call-caller-link:hover strong,.missed-call-caller-link:focus-visible strong{text-decoration-thickness:2px}.missed-call-chevron{width:32px;height:32px;color:var(--text-muted,#667085);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:11px;display:inline-flex}.missed-call-chevron:hover,.missed-call-chevron:focus-visible{background:#94a3b824}.missed-call-details{padding:0 16px 16px 60px}.missed-call-details dl{gap:8px;margin:0 0 12px;display:grid}.missed-call-details dl>div{gap:1px;display:grid}.missed-call-details dt{color:var(--text-muted,#667085);text-transform:uppercase;letter-spacing:.04em;font-size:10px}.missed-call-details dd{margin:0;font-size:12px;font-weight:600}.missed-call-detail-link{color:var(--primary-color,#2563eb);font:inherit;text-align:left;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.missed-call-actions{z-index:1;gap:8px;display:flex;position:relative}.missed-call-actions button{cursor:pointer;pointer-events:auto;touch-action:manipulation;border-radius:10px;min-height:36px;padding:0 14px;font-weight:700}.missed-call-callback{color:#fff;background:#2563eb;border:1px solid #2563eb}.missed-call-clear{border:1px solid var(--border-color,#d9dee7);background:var(--surface-color,#fff);color:inherit}.missed-call-clear:disabled{opacity:.6;cursor:wait}.missed-call-empty{color:var(--text-muted,#667085);text-align:center;justify-items:center;gap:8px;padding:28px 18px;display:grid}.missed-call-empty span{color:#15803d;background:#ecfdf3;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;font-weight:700;display:inline-flex}.missed-call-empty p{margin:0;font-size:13px}@media (width<=640px){.missed-call-trigger{border-radius:10px;width:36px;height:36px}.missed-call-popover{width:auto;max-height:calc(100vh - 84px);top:70px;left:12px;right:12px}.missed-call-list{max-height:calc(100vh - 190px)}.missed-call-details{padding-left:16px}}.push-notification-toggle{border:1px solid var(--border-light);background:var(--surface-soft);width:38px;height:38px;color:var(--text-muted);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex;position:relative}.push-notification-toggle:hover:not(:disabled){border-color:var(--blue-300);background:var(--blue-50);color:var(--blue-700);transform:translateY(-1px)}.push-notification-toggle:disabled{cursor:wait;opacity:.65}.push-notification-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6px;width:22px;height:22px}.push-notification-toggle .push-notification-bell{fill:var(--surface);stroke-width:1.4px}.push-notification-status-dot{border:2px solid var(--surface);background:#94a3b8;border-radius:999px;width:8px;height:8px;position:absolute;top:4px;right:4px}.push-notification-toggle.is-active{color:#15803d;background:#f0fdf4;border-color:#86efac}.push-notification-toggle.is-active .push-notification-status-dot{background:#22c55e}.push-notification-toggle.status-blocked,.push-notification-toggle.status-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.push-notification-toggle.status-blocked .push-notification-status-dot,.push-notification-toggle.status-error .push-notification-status-dot{background:#ef4444}.push-notification-toggle.status-install-required .push-notification-status-dot{background:#f59e0b}@media (width<=768px){.push-notification-toggle{width:36px;height:36px}}.message-notification{position:relative}.message-notification .notification-button{border:1px solid var(--border-light);background:var(--surface-soft);width:40px;height:40px;color:var(--text-primary);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0;transition:background .15s,border-color .15s,transform .15s;display:inline-flex;position:relative}.message-notification .notification-button:hover,.message-notification .notification-button[aria-expanded=true]{border-color:var(--blue-300);background:var(--blue-50);transform:translateY(-1px)}.message-notification .notification-button.has-unread{color:var(--blue-700);border-color:#0ea5e961}.notification-bell-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.notification-count{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:800;line-height:1;display:inline-flex;position:absolute;top:-6px;right:-7px;box-shadow:0 2px 5px #0f172a2e}.message-notification-panel{z-index:150;border:1px solid var(--border-light);background:#fff;border-radius:16px;width:min(390px,100vw - 28px);position:absolute;top:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 20px 50px #0f172a2e}.message-notification-panel:before{border-top:1px solid var(--border-light);border-left:1px solid var(--border-light);content:"";background:#fff;width:12px;height:12px;position:absolute;top:-7px;right:17px;transform:rotate(45deg)}.message-notification-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:16px;padding:15px 16px 13px;display:flex;position:relative}.message-notification-header>div{flex-direction:column;gap:2px;display:flex}.message-notification-header strong{color:var(--text-primary);font-size:14px}.message-notification-header small{color:var(--text-muted);font-size:11px}.message-notification-header button,.message-notification-footer{color:var(--blue-700);cursor:pointer;background:0 0;border:0;font-size:12px;font-weight:700}.message-notification-header button:hover,.message-notification-footer:hover{color:var(--blue-800);text-decoration:underline}.message-notification-list{max-height:min(440px,100vh - 160px);overflow-y:auto}.message-notification-item{border:0;border-bottom:1px solid var(--border-light);width:100%;color:inherit;cursor:pointer;text-align:left;background:#fff;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px 15px;transition:background .14s;display:grid}.message-notification-item:hover,.message-notification-item:focus-visible{background:var(--blue-50);outline:none}.message-notification-avatar{background:linear-gradient(145deg, var(--blue-100), var(--green-100));width:42px;height:42px;color:var(--blue-800);border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.message-notification-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.message-notification-name-line{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.message-notification-name-line strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.message-notification-name-line time{color:var(--text-muted);flex-shrink:0;font-size:10px}.message-notification-message{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.message-notification-meta{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.message-notification-thread-count{background:var(--blue-600);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-top:20px;padding:0 5px;font-size:10px;font-weight:800;display:inline-flex}.message-notification-empty{min-height:155px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:24px;font-size:12px;display:flex}.message-notification-empty>span{background:var(--green-100);width:34px;height:34px;color:var(--green-700);border-radius:50%;justify-content:center;align-items:center;margin-bottom:3px;font-size:18px;font-weight:800;display:inline-flex}.message-notification-empty strong{color:var(--text-primary);font-size:13px}.message-notification-empty small{font-size:11px}.message-notification-error{color:#b91c1c}.message-notification-footer{background:var(--surface-soft);text-align:center;border-top:0;width:100%;padding:12px 16px}@media (width<=768px){.message-notification .notification-button{width:38px;height:38px}.message-notification-panel{width:auto;position:fixed;top:66px;left:10px;right:10px}.message-notification-panel:before{display:none}}.header-presence-button{border:1px solid var(--border-light);background:var(--surface-soft);min-width:142px;height:42px;color:var(--text-primary);cursor:pointer;border-radius:12px;justify-content:flex-start;align-items:center;gap:10px;padding:7px 12px;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s;display:inline-flex}.header-presence-button:hover:not(:disabled){transform:translateY(-1px)}.header-presence-button:focus-visible{outline:none;box-shadow:0 0 0 3px #0ea5e929}.header-presence-button:disabled{cursor:wait;opacity:.7}.header-presence-button.status-online{background:#f0fdf4;border-color:#86efac}.header-presence-button.status-online:hover:not(:disabled){background:#dcfce7;border-color:#22c55e}.header-presence-button.status-offline{background:#f8fafc;border-color:#cbd5e1}.header-presence-button.status-offline:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.header-presence-button.status-error{background:#fef2f2;border-color:#fecaca}.header-presence-dot{background:#94a3b8;border:3px solid #fff;border-radius:999px;flex:0 0 12px;width:12px;height:12px;box-shadow:0 0 0 2px #94a3b838}.header-presence-button.status-online .header-presence-dot{background:#16a34a;box-shadow:0 0 0 2px #16a34a33,0 0 12px #16a34a59}.header-presence-button.status-offline .header-presence-dot{background:#64748b}.header-presence-button.status-error .header-presence-dot{background:#dc2626}.header-presence-copy{text-align:left;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;display:flex}.header-presence-copy strong{color:inherit;font-size:12px;line-height:1.15}.header-presence-copy small{color:var(--text-muted);white-space:nowrap;font-size:9px;line-height:1.15}@media (width<=768px){.header-presence-button{justify-content:center;width:40px;min-width:40px;height:40px;padding:0}.header-presence-copy{display:none}}.capital-borrower-view .capital-panel>.capital-summary-grid .capital-stat-card:nth-child(3),.capital-borrower-view .capital-page>.capital-summary-grid .capital-stat-card:nth-child(4){display:none}.capital-borrower-view .capital-panel>.capital-summary-grid,.capital-borrower-view .capital-page>.capital-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.capital-borrower-view .capital-request-terms span:nth-of-type(2),.capital-borrower-view .capital-request-terms strong:nth-of-type(2){display:none}@media (width<=900px){.capital-borrower-view .capital-panel>.capital-summary-grid,.capital-borrower-view .capital-page>.capital-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.capital-borrower-view .capital-panel>.capital-summary-grid,.capital-borrower-view .capital-page>.capital-summary-grid{grid-template-columns:1fr}}.auth-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#04141e7a;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.auth-modal-content{box-sizing:border-box;color:#102a3a;background:#fff;border:1px solid #d7e3e7;border-radius:16px;width:100%;max-width:420px;max-height:calc(100vh - 32px);padding:48px 40px;animation:.25s ease-out authModalSlideIn;position:relative;overflow-y:auto;box-shadow:0 28px 80px #04141e47}.auth-modal-content-signup{max-width:560px}@keyframes authModalSlideIn{0%{opacity:0;transform:translateY(-24px)}to{opacity:1;transform:translateY(0)}}.auth-modal-close{color:#647d89;cursor:pointer;background:#fff;border:0;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;font-size:30px;line-height:1;display:grid;position:absolute;top:14px;right:14px}.auth-modal-close:hover{color:#102a3a;background:#f4f8f9}.auth-modal-header{text-align:center;margin-bottom:28px}.auth-modal-header h2{color:#0a746d;margin:0 0 8px;font-size:30px;font-weight:800}.auth-modal-header p{color:#536b79;margin:0;font-size:15px;font-weight:500}.auth-modal-alert{border:1px solid;border-left-width:4px;border-radius:9px;margin-bottom:20px;padding:13px 15px;font-size:14px;line-height:1.45}.auth-modal-alert-error{color:#991b1b;background:#fef2f2;border-color:#fecaca #fecaca #fecaca #dc2626}.auth-modal-alert-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0 #bbf7d0 #bbf7d0 #16a34a}.auth-modal-alert-info{color:#0c4a6e;background:#f0f9ff;border-color:#bae6fd #bae6fd #bae6fd #0284c7}.auth-modal-form{flex-direction:column;gap:20px;margin-bottom:28px;display:flex}.auth-modal-signup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.auth-modal-group{flex-direction:column;gap:7px;min-width:0;display:flex}.auth-modal-group label{color:#18384a;font-size:13px;font-weight:700}.auth-modal-group input{box-sizing:border-box;color:#102a3a;background:#fff;border:1.5px solid #cbd9df;border-radius:8px;width:100%;padding:12px 13px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.auth-modal-group input::placeholder{color:#8aa0aa}.auth-modal-group input:hover{border-color:#72b9b0}.auth-modal-group input:focus{border-color:#0a8f82;outline:none;box-shadow:0 0 0 3px #0a8f821f}.auth-modal-group input:disabled{color:#80939c;cursor:not-allowed;background:#f1f5f6}.auth-modal-group small{color:#647d89;margin-top:-2px;font-size:11px;line-height:1.4}.auth-modal-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0a8f82 0%,#0d6f9c 100%);border:0;border-radius:8px;width:100%;padding:12px 24px;font-size:15px;font-weight:700;transition:transform .2s,box-shadow .2s;box-shadow:0 8px 22px #0a746d33}.auth-modal-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 28px #0a746d47}.auth-modal-submit:disabled{opacity:.6;cursor:not-allowed}.auth-modal-confirmation-copy{color:#536b79;text-align:center;margin-bottom:24px;font-size:14px;line-height:1.55}.auth-modal-confirmation-copy p{margin:6px 0}.auth-modal-confirmation-actions{flex-direction:column;gap:10px;display:flex}.auth-modal-link-spaced{text-align:center;padding:10px!important}.auth-modal-footer{color:#647d89;text-align:center;justify-content:center;align-items:center;font-size:14px;display:flex}.auth-modal-footer-content{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.auth-modal-divider{color:#b6c5cb}.auth-modal-link{color:#0a746d;cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:700;text-decoration:none}.auth-modal-link:hover{color:#075b56;text-decoration:underline}@media (width<=640px){.auth-modal-content,.auth-modal-content-signup{max-width:100%;padding:42px 24px 30px}.auth-modal-signup-grid{grid-template-columns:1fr;gap:16px}.auth-modal-header h2{font-size:25px}}.site-shell{min-height:100vh;overflow:hidden}.site-header{z-index:10;justify-content:space-between;align-items:center;width:min(1220px,100% - 48px);min-height:88px;margin:0 auto;display:flex;position:relative}.brand{color:var(--text-primary);align-items:center;gap:13px;text-decoration:none;display:inline-flex}.brand-mark{background:var(--gradient-primary);width:45px;height:45px;box-shadow:var(--shadow-brand);border:1px solid #fff6;border-radius:14px;place-items:center;display:grid;position:relative}.brand-cross-horizontal,.brand-cross-vertical{background:#fff;border-radius:999px;position:absolute}.brand-cross-horizontal{width:21px;height:7px}.brand-cross-vertical{width:7px;height:21px}.brand-copy strong,.brand-copy small{display:block}.brand-copy strong{letter-spacing:-.02em;font-size:17px;font-weight:800}.brand-copy small{color:var(--text-muted);letter-spacing:.02em;margin-top:3px;font-size:11px;font-weight:600}.header-actions{align-items:center;gap:24px;display:flex}.header-link{color:var(--text-secondary);font-size:14px;font-weight:700;text-decoration:none;transition:color .16s,transform .16s}.header-link:hover{color:var(--blue-700);transform:translateY(-1px)}.sign-in-button,.primary-button,.secondary-button{border-radius:var(--radius-button);font:inherit;cursor:pointer;border:0;font-weight:800;transition:transform .16s,box-shadow .16s,background .16s}.sign-in-button{color:#fff;background:var(--navy-900);padding:11px 19px;box-shadow:0 8px 18px #0f283b24}.sign-in-button:hover,.primary-button:hover,.secondary-button:hover{transform:translateY(-2px)}.hero{grid-template-columns:minmax(0,1fr) minmax(460px,.88fr);align-items:center;gap:clamp(54px,7vw,94px);width:min(1220px,100% - 48px);margin:78px auto 0;display:grid}.hero-content{z-index:2;position:relative}.eyebrow,.section-label{color:var(--green-700);letter-spacing:.13em;text-transform:uppercase;align-items:center;gap:9px;font-size:12px;font-weight:900;display:inline-flex}.eyebrow-dot{background:var(--green-500);border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 5px #10b9811f}.hero h1{max-width:720px;color:var(--text-primary);letter-spacing:-.058em;margin:22px 0 21px;font-size:clamp(45px,5.3vw,72px);line-height:1.02}.hero h1 span{background:var(--gradient-text);color:#0000;-webkit-background-clip:text;background-clip:text}.hero-description{max-width:660px;color:var(--text-secondary);margin:0;font-size:18px;line-height:1.75}.hero-actions{align-items:center;gap:13px;margin-top:33px;display:flex}.primary-button,.secondary-button{justify-content:center;align-items:center;gap:11px;min-height:50px;padding:0 22px;text-decoration:none;display:inline-flex}.primary-button{color:#fff;background:var(--gradient-primary);box-shadow:var(--shadow-primary-button)}.primary-button:hover{box-shadow:0 16px 34px #0891b247}.secondary-button{border:1px solid var(--border-medium);color:var(--text-primary);box-shadow:var(--shadow-subtle);background:#ffffffd1}.trust-row{flex-wrap:wrap;gap:22px;margin-top:38px;display:flex}.trust-row span{min-width:130px;color:var(--text-muted);flex-direction:column;font-size:11px;line-height:1.55;display:flex}.trust-row strong{color:var(--text-primary);margin-bottom:2px;font-size:12px}.preview-wrapper{position:relative}.preview-glow{filter:blur(55px);pointer-events:none;border-radius:999px;position:absolute}.preview-glow-green{background:#10b98133;width:250px;height:250px;top:-46px;right:-24px}.preview-glow-blue{background:#0ea5e92b;width:240px;height:240px;bottom:-54px;left:-50px}.dashboard-preview{z-index:2;box-shadow:var(--shadow-dashboard);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#ffffffe6;border:1px solid #a9c8d299;border-radius:27px;padding:25px;position:relative}.preview-topbar,.preview-title,.activity-heading,.activity-row,.feature-top{align-items:center;display:flex}.preview-topbar,.activity-heading,.feature-top{justify-content:space-between}.preview-title{gap:11px}.preview-logo{background:var(--gradient-soft);border-radius:12px;width:37px;height:37px;position:relative}.preview-logo:before,.preview-logo:after{content:"";background:var(--green-600);border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.preview-logo:before{width:17px;height:5px}.preview-logo:after{width:5px;height:17px}.preview-title small,.preview-title strong,.activity-heading small,.activity-heading strong{display:block}.preview-title small,.activity-heading small{color:var(--text-muted);letter-spacing:.02em;font-size:10px;font-weight:700}.preview-title strong{color:var(--text-primary);margin-top:3px;font-size:20px}.live-badge{color:var(--green-800);background:var(--green-50);border:1px solid #10b98124;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:10px;font-weight:900;display:inline-flex}.live-badge span{background:var(--green-500);border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 4px #10b9811f}.metric-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px;display:grid}.metric-card{border:1px solid var(--border-light);background:var(--surface-soft);border-radius:17px;min-height:117px;padding:17px;position:relative;overflow:hidden}.metric-card:after{content:"";background:#0ea5e914;border-radius:999px;width:75px;height:75px;position:absolute;bottom:-30px;right:-22px}.metric-card-profit{background:linear-gradient(145deg,#ecfdf5f5,#f0f9fff5)}.metric-label,.metric-card strong,.metric-card small{z-index:1;display:block;position:relative}.metric-label{color:var(--text-muted);font-size:10px;font-weight:700}.metric-card strong{color:var(--text-primary);letter-spacing:-.03em;margin-top:9px;font-size:24px}.metric-card small{color:var(--green-700);margin-top:6px;font-size:9px;font-weight:700}.activity-card{border:1px solid var(--border-light);background:#fff;border-radius:17px;margin-top:13px;padding:18px}.activity-heading strong{color:var(--text-primary);margin-top:3px;font-size:14px}.activity-heading button{color:var(--blue-700);cursor:pointer;background:0 0;border:0;font-size:10px;font-weight:800}.activity-list{margin-top:6px}.activity-row{border-bottom:1px solid var(--border-subtle);gap:11px;padding:12px 0}.activity-row:last-child{border-bottom:0;padding-bottom:2px}.activity-icon{border-radius:11px;flex:none;place-items:center;width:35px;height:35px;font-size:11px;font-weight:900;display:grid}.activity-icon-green{color:var(--green-800);background:var(--green-100)}.activity-icon-blue{color:var(--blue-800);background:var(--blue-100)}.activity-icon-teal{color:var(--teal-800);background:var(--teal-100)}.activity-copy{flex:1;min-width:0}.activity-copy strong,.activity-copy small{display:block}.activity-copy strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.activity-copy small{color:var(--text-muted);margin-top:3px;font-size:9px}.activity-row time{color:var(--text-muted);white-space:nowrap;font-size:8px}.workflow-section,.features-section,.security-section{width:min(1220px,100% - 48px);margin-left:auto;margin-right:auto}.workflow-section{margin-top:150px}.workflow-heading{max-width:740px}.workflow-heading h2,.section-heading h2,.security-copy h2{color:var(--text-primary);letter-spacing:-.045em;margin:14px 0 0;font-size:clamp(32px,4vw,50px);line-height:1.1}.workflow-track{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fffc;border-radius:22px;grid-template-columns:repeat(6,1fr);margin-top:44px;padding:24px;display:grid}.workflow-item{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:90px;display:flex;position:relative}.workflow-number{width:31px;height:31px;color:var(--green-800);background:var(--gradient-soft);border-radius:10px;place-items:center;font-size:11px;font-weight:900;display:grid}.workflow-item strong{color:var(--text-primary);font-size:12px}.workflow-arrow{color:var(--blue-300);font-size:18px;position:absolute;top:28px;right:-7px}.features-section{margin-top:135px}.section-heading{grid-template-columns:minmax(0,1fr) minmax(280px,.46fr);align-items:end;gap:70px;display:grid}.section-heading p{color:var(--text-secondary);margin:0;font-size:15px;line-height:1.8}.feature-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:45px;display:grid}.feature-card{border:1px solid var(--border-light);min-height:300px;box-shadow:var(--shadow-card);background:#fff;border-radius:22px;padding:28px;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.feature-card:hover{box-shadow:var(--shadow-card-hover);border-color:#0ea5e94d;transform:translateY(-5px)}.feature-card:after{content:"";background:var(--gradient-soft);opacity:.75;border-radius:999px;width:160px;height:160px;position:absolute;bottom:-70px;right:-56px}.feature-icon{color:#fff;background:var(--gradient-primary);width:44px;height:44px;box-shadow:var(--shadow-brand);border-radius:14px;place-items:center;font-size:13px;font-weight:900;display:grid}.feature-number{color:var(--blue-400);font-size:12px;font-weight:900}.feature-card h3,.feature-card p,.feature-link{z-index:1;position:relative}.feature-card h3{color:var(--text-primary);letter-spacing:-.025em;margin:50px 0 12px;font-size:22px}.feature-card p{color:var(--text-secondary);margin:0;font-size:14px;line-height:1.75}.feature-link{color:var(--green-700);align-items:center;gap:7px;margin-top:27px;font-size:12px;font-weight:900;display:inline-flex}.security-section{box-shadow:var(--shadow-card);background:radial-gradient(circle at 0 0,#10b98121,#0000 32%),radial-gradient(circle at 100% 100%,#0ea5e921,#0000 32%),#fff;border:1px solid #0ea5e924;border-radius:26px;grid-template-columns:auto minmax(0,1fr) minmax(240px,.45fr);align-items:center;gap:32px;margin-top:130px;margin-bottom:110px;padding:clamp(32px,5vw,58px);display:grid}.security-icon{background:var(--gradient-primary);width:70px;height:70px;box-shadow:var(--shadow-brand);border-radius:21px;place-items:center;display:grid;position:relative}.security-icon:before{content:"";border:4px solid #fff;border-radius:8px;width:28px;height:32px}.security-icon:after{content:"";border:4px solid #fff;border-bottom:0;border-radius:12px 12px 0 0;width:18px;height:14px;position:absolute;top:23px;transform:translateY(-9px)}.security-copy h2{max-width:660px;font-size:clamp(28px,3.2vw,42px)}.security-copy p{max-width:680px;color:var(--text-secondary);margin:17px 0 0;line-height:1.8}.security-list{flex-direction:column;gap:13px;display:flex}.security-list span{color:var(--text-primary);padding-left:25px;font-size:12px;font-weight:800;position:relative}.security-list span:before{content:"✓";color:#fff;background:var(--green-500);border-radius:999px;place-items:center;width:15px;height:15px;font-size:9px;display:grid;position:absolute;top:1px;left:0}.site-footer{border-top:1px solid var(--border-light);width:min(1220px,100% - 48px);color:var(--text-muted);justify-content:space-between;align-items:center;margin:0 auto;padding:28px 0;font-size:12px;display:flex}.footer-brand{color:var(--text-primary);align-items:center;gap:8px;font-weight:900;text-decoration:none;display:inline-flex}.footer-mark{color:#fff;background:var(--gradient-primary);border-radius:8px;place-items:center;width:24px;height:24px;font-size:17px;display:grid}@media (width<=980px){.hero{grid-template-columns:1fr}.preview-wrapper{width:min(100%,630px)}.workflow-track{grid-template-columns:repeat(3,1fr);gap:12px}.workflow-arrow{display:none}.feature-grid{grid-template-columns:1fr}.section-heading{grid-template-columns:1fr;gap:20px}.section-heading p{max-width:670px}.security-section{grid-template-columns:auto 1fr}.security-list{grid-column:2}}@media (width<=640px){.site-header,.hero,.workflow-section,.features-section,.security-section,.site-footer{width:min(100% - 28px,1220px)}.site-header{min-height:74px}.brand-copy small,.header-link{display:none}.hero{margin-top:46px}.hero h1{font-size:43px}.hero-description{font-size:16px}.hero-actions{flex-direction:column;align-items:stretch}.primary-button,.secondary-button{width:100%}.trust-row{grid-template-columns:1fr 1fr;display:grid}.dashboard-preview{border-radius:20px;padding:15px}.metric-grid{gap:9px}.metric-card{min-height:108px;padding:13px}.metric-card strong{font-size:20px}.activity-row time{display:none}.workflow-section,.features-section{margin-top:95px}.workflow-track{grid-template-columns:repeat(2,1fr);padding:15px}.security-section{grid-template-columns:1fr;margin-top:90px;margin-bottom:75px;padding:27px}.security-icon{width:58px;height:58px}.security-list{grid-column:auto}.site-footer{flex-direction:column;align-items:flex-start;gap:10px}}.legal-page-shell{color:#183342;background:#f6f9fa;min-height:100vh}.legal-page-header,.legal-page-footer{justify-content:space-between;align-items:center;gap:16px;max-width:960px;margin:0 auto;padding:22px 24px;display:flex}.legal-page-header{border-bottom:1px solid #dfe8eb}.legal-page-header a,.legal-page-footer a,.legal-page a{color:#0b7e64;text-decoration:none}.legal-page-header a:hover,.legal-page-footer a:hover,.legal-page a:hover{text-decoration:underline}.legal-brand{font-size:18px;font-weight:800;color:#102a3a!important}.legal-page{max-width:820px;margin:0 auto;padding:48px 24px 56px}.legal-page-title{margin-bottom:34px}.legal-page-title>span{color:#0b7e64;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:800;display:block}.legal-page-title h1{color:#102a3a;margin:0;font-size:clamp(34px,6vw,52px);line-height:1.05}.legal-page-title p{color:#6e828d;margin:12px 0 0}.legal-page section{background:#fff;border:1px solid #e1e8eb;border-radius:16px;margin-top:30px;padding:24px;box-shadow:0 8px 24px #102a3a0a}.legal-page section h2{color:#183342;margin:0 0 12px;font-size:18px}.legal-page section p{color:#526b77;margin:0;font-size:15px;line-height:1.75}.legal-page section p+p{margin-top:14px}.legal-page strong{color:#183342}.legal-emphasis{background:#eef9f5;border-radius:12px;padding:14px 16px;font-weight:700;color:#235f52!important}.legal-page-footer{color:#71838d;border-top:1px solid #dfe8eb;font-size:13px}@media (width<=640px){.legal-page-header,.legal-page-footer{flex-direction:column;align-items:flex-start;padding-inline:18px}.legal-page{padding:34px 16px 44px}.legal-page section{border-radius:14px;margin-top:18px;padding:18px}}.dashboard-courier-funds{margin-top:22px}.dashboard-courier-funds-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:14px;display:flex}.dashboard-courier-funds-heading h4{color:var(--text-primary);margin:0 0 4px;font-size:15px}.dashboard-courier-funds-heading p{max-width:720px;color:var(--text-muted);margin:0;font-size:12px;line-height:1.45}.dashboard-courier-funds-refresh{flex-shrink:0;align-items:center;gap:10px;display:flex}.dashboard-courier-funds-refresh span{color:var(--text-muted);white-space:nowrap;font-size:10px}.dashboard-courier-funds-refresh button{border:1px solid var(--border-light);color:var(--blue-700);cursor:pointer;background:#fff;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:700}.dashboard-courier-funds-refresh button:hover:not(:disabled){border-color:var(--blue-300);background:var(--blue-50)}.dashboard-courier-funds-refresh button:disabled{cursor:default;opacity:.55}.dashboard-courier-funds-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px;display:grid}.dashboard-courier-fund-card{border:1px solid var(--border-light);background:#fff;border-radius:14px;min-width:0;padding:16px;box-shadow:0 4px 12px #0f172a0a}.dashboard-courier-fund-card.is-inactive{background:var(--surface-soft);opacity:.82}.dashboard-courier-fund-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dashboard-courier-fund-card-header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.dashboard-courier-fund-card-header strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.dashboard-courier-fund-card-header small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.dashboard-courier-status{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex-shrink:0;padding:4px 8px;font-size:9px;font-weight:800}.dashboard-courier-status.is-online{background:var(--green-100,#dcfce7);color:var(--green-700,#15803d)}.dashboard-courier-status.is-offline{background:var(--amber-100,#fef3c7);color:var(--amber-800,#92400e)}.dashboard-courier-status.is-inactive{color:#475569;background:#e2e8f0}.dashboard-courier-fund-primary{background:var(--blue-50,#eff6ff);border-radius:12px;margin-top:17px;padding:14px}.dashboard-courier-fund-primary small{color:var(--blue-700,#1d4ed8);margin-bottom:3px;font-size:10px;font-weight:700;display:block}.dashboard-courier-fund-primary strong{color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:24px;line-height:1.15;display:block}.dashboard-courier-fund-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px;display:grid}.dashboard-courier-fund-breakdown span{border:1px solid var(--border-light);background:var(--surface-soft);border-radius:10px;min-width:0;padding:9px 10px}.dashboard-courier-fund-breakdown small,.dashboard-courier-fund-breakdown strong{display:block}.dashboard-courier-fund-breakdown small{color:var(--text-muted);text-transform:uppercase;margin-bottom:2px;font-size:9px}.dashboard-courier-fund-breakdown strong{color:var(--text-primary);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.dashboard-courier-level{color:var(--text-muted);text-transform:capitalize;margin-top:10px;font-size:9px;font-weight:700}.dashboard-courier-funds-empty{border:1px dashed var(--border-light);color:var(--text-muted);text-align:center;border-radius:12px;grid-column:1/-1;padding:22px;font-size:12px}@media (width<=768px){.dashboard-courier-funds-heading{flex-direction:column;align-items:flex-start}.dashboard-courier-funds-refresh{justify-content:space-between;width:100%}.dashboard-courier-funds-grid{grid-template-columns:1fr}}.lead-conversion-section{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;padding:20px}.lead-conversion-heading{align-items:flex-start;margin-bottom:16px}.lead-conversion-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.lead-conversion-history-note{background:var(--blue-100,#e0f2fe);color:var(--blue-800,#075985);white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.lead-conversion-report-link{border:1px solid var(--blue-200,#bae6fd);background:var(--blue-50,#f0f9ff);color:var(--blue-700,#0369a1);font:inherit;cursor:pointer;white-space:nowrap;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:800}.lead-conversion-report-link:hover{border-color:var(--blue-400,#38bdf8);background:var(--blue-100,#e0f2fe)}.lead-conversion-report-link:focus-visible,.lead-conversion-summary-card--clickable:focus-visible,.lead-conversion-bar-row--clickable:focus-visible{outline:2px solid var(--blue-500,#0ea5e9);outline-offset:2px}.lead-conversion-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:16px;padding:12px;font-size:12px}.lead-conversion-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.lead-conversion-summary-card{border:1px solid var(--border-light);background:var(--surface-soft,#f8fafc);width:100%;min-width:0;color:inherit;font:inherit;text-align:left;border-radius:10px;flex-direction:column;gap:5px;padding:16px;display:flex}.lead-conversion-summary-card--clickable{cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.lead-conversion-summary-card--clickable:hover{border-color:var(--blue-300,#7dd3fc);box-shadow:var(--shadow-subtle);transform:translateY(-1px)}.lead-conversion-summary-card>span{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:800}.lead-conversion-summary-card strong{color:var(--text-primary);font-size:30px;line-height:1.05}.lead-conversion-summary-card small{color:var(--text-secondary);font-size:12px}.lead-conversion-content-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:16px;display:grid}.lead-conversion-panel{border:1px solid var(--border-light);background:#fff;border-radius:10px;min-width:0;padding:16px}.lead-conversion-panel-header{margin-bottom:15px}.lead-conversion-panel-header h4{color:var(--text-primary);margin:0;font-size:15px}.lead-conversion-panel-header p{color:var(--text-secondary);margin:4px 0 0;font-size:12px}.lead-conversion-bars{flex-direction:column;gap:6px;display:flex}.lead-conversion-bar-row{width:100%;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:56px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:6px;display:grid}.lead-conversion-bar-row--clickable{cursor:pointer}.lead-conversion-bar-row--clickable:hover{background:var(--surface-soft,#f8fafc)}.lead-conversion-bar-row--clickable:hover .lead-conversion-month{color:var(--blue-700,#0369a1)}.lead-conversion-month{color:var(--text-secondary);font-size:11px;font-weight:700}.lead-conversion-track{background:var(--surface-soft,#f1f5f9);border-radius:999px;height:9px;overflow:hidden}.lead-conversion-track>span{border-radius:inherit;background:var(--blue-500,#0ea5e9);height:100%;transition:width .18s;display:block}.lead-conversion-bar-row>strong{color:var(--text-primary);text-align:right;font-size:12px}.lead-conversion-recent-list{flex-direction:column;display:flex}.lead-conversion-recent-row{border:0;border-bottom:1px solid var(--border-light);width:100%;min-width:0;color:inherit;font:inherit;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;display:flex}.lead-conversion-recent-row:last-child{border-bottom:0}.lead-conversion-recent-row--clickable{cursor:pointer}.lead-conversion-recent-row--clickable:hover .lead-conversion-recent-copy strong{color:var(--blue-700,#0369a1)}.lead-conversion-recent-row--clickable:focus-visible{outline:2px solid var(--blue-500,#0ea5e9);outline-offset:2px;border-radius:6px}.lead-conversion-recent-copy,.lead-conversion-recent-meta{flex-direction:column;gap:3px;min-width:0;display:flex}.lead-conversion-recent-copy strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.lead-conversion-recent-copy small,.lead-conversion-recent-meta time{color:var(--text-muted);font-size:11px}.lead-conversion-recent-meta{flex:none;align-items:flex-end}.lead-conversion-type{background:var(--surface-soft,#f1f5f9);color:var(--text-secondary);white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.lead-conversion-type--new_customer{color:#166534;background:#dcfce7}.lead-conversion-type--existing_customer{color:#075985;background:#e0f2fe}.lead-conversion-type--legacy_import{color:#6b21a8;background:#f3e8ff}.lead-conversion-empty{color:var(--text-muted);text-align:center;padding:28px 12px;font-size:12px}@media (width<=1050px){.lead-conversion-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-conversion-content-grid{grid-template-columns:1fr}}@media (width<=640px){.lead-conversion-section{padding:16px}.lead-conversion-heading{flex-direction:column}.lead-conversion-heading-actions{justify-content:flex-start;width:100%}.lead-conversion-history-note{align-self:flex-start}.lead-conversion-summary-grid{grid-template-columns:1fr 1fr}.lead-conversion-recent-row{flex-direction:column;align-items:flex-start;gap:7px}.lead-conversion-recent-meta{flex-direction:row;justify-content:space-between;align-items:center;width:100%}}@media (width<=420px){.lead-conversion-summary-grid{grid-template-columns:1fr}}.dashboard-action-priority-section{grid-column:1/-1;margin-bottom:4px}.dashboard-action-priority-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.dashboard-action-priority-heading h3{color:var(--text-primary);margin:0;font-size:15px;font-weight:800}.dashboard-action-priority-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.dashboard-action-retry{border:1px solid var(--border-light);color:var(--text-secondary);font:inherit;cursor:pointer;background:#fff;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700}.dashboard-action-priority-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.dashboard-action-tile{text-align:left;min-width:0;font:inherit;cursor:pointer;border-radius:14px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:18px 20px;transition:transform .16s,box-shadow .16s,outline-color .16s;display:grid}.dashboard-action-tile:hover{transform:translateY(-2px)}.dashboard-action-tile:focus-visible{outline:3px solid color-mix(in srgb, currentColor 34%, transparent);outline-offset:3px}.dashboard-action-tile.is-selected{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 22%, transparent), 0 12px 28px #0f172a1f}.dashboard-action-tile-immediate{color:#5b21b6;background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%);border:1px solid #c4b5fd;box-shadow:0 8px 24px #6d28d91a}.dashboard-action-tile-overdue{color:#92400e;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a;box-shadow:0 8px 24px #92400e14}.dashboard-action-tile-urgent{color:#c2410c;background:linear-gradient(135deg,#fff7ed 0%,#ffedd5 100%);border:1px solid #fdba74;box-shadow:0 8px 24px #c2410c1a}.dashboard-action-tile-critical{color:#991b1b;background:linear-gradient(135deg,#fff1f2 0%,#fee2e2 100%);border:1px solid #fca5a5;box-shadow:0 8px 24px #991b1b24}.dashboard-action-icon{background:#fffc;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:18px;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffffbf}.dashboard-action-copy{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 14px;min-width:0;display:grid}.dashboard-action-copy>span{color:currentColor;min-width:0;font-size:13px;font-weight:800}.dashboard-action-copy strong{color:currentColor;letter-spacing:-.04em;grid-area:1/2/span 2;font-size:clamp(28px,3vw,38px);line-height:1}.dashboard-action-copy small{color:color-mix(in srgb, currentColor 72%, transparent);font-size:11px;line-height:1.35}.dashboard-action-copy .dashboard-action-breakdown{color:currentColor;letter-spacing:.01em;font-size:10px;font-weight:800}.dashboard-action-records{border:1px solid var(--border-light);background:var(--surface-primary,#fff);border-radius:14px;margin-top:14px;overflow:hidden}.dashboard-action-records-heading{border-bottom:1px solid var(--border-light);background:color-mix(in srgb, var(--surface-primary,#fff) 92%, var(--text-primary) 8%);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.dashboard-action-records-heading>div{align-items:baseline;gap:8px;display:flex}.dashboard-action-records-heading strong{color:var(--text-primary);font-size:13px}.dashboard-action-records-heading span{color:var(--text-muted);font-size:11px}.dashboard-action-record-list{display:grid}.dashboard-action-record-link{border-bottom:1px solid var(--border-light);color:inherit;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 16px;text-decoration:none;transition:background .15s;display:grid}.dashboard-action-record-link:last-child{border-bottom:0}.dashboard-action-record-link:hover,.dashboard-action-record-link:focus-visible{background:color-mix(in srgb, var(--surface-primary,#fff) 90%, #7c3aed 10%)}.dashboard-action-record-link:focus-visible{outline-offset:-2px;outline:2px solid #7c3aed}.dashboard-action-record-type{text-align:center;letter-spacing:.03em;text-transform:uppercase;border-radius:999px;min-width:66px;padding:5px 8px;font-size:10px;font-weight:800}.dashboard-action-record-type.is-lead{color:#5b21b6;background:#ede9fe}.dashboard-action-record-type.is-customer{color:#1d4ed8;background:#dbeafe}.dashboard-action-record-main{gap:3px;min-width:0;display:grid}.dashboard-action-record-main strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.dashboard-action-record-main small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.dashboard-action-record-due{color:var(--text-secondary);white-space:nowrap;align-items:center;gap:10px;font-size:11px;font-weight:700;display:inline-flex}.dashboard-action-record-due b{font-size:16px}.dashboard-action-records-empty{color:var(--text-muted);text-align:center;padding:22px 16px;font-size:12px}@media (width<=1100px){.dashboard-action-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.dashboard-action-priority-grid{grid-template-columns:1fr}.dashboard-action-record-link{grid-template-columns:auto minmax(0,1fr)}.dashboard-action-record-due{grid-column:2;justify-content:space-between}}@media (width<=480px){.dashboard-action-tile{padding:16px}.dashboard-action-record-link{padding:12px}.dashboard-action-record-type{min-width:58px}}.dashboard-outreach-section{margin-top:0}.dashboard-outreach-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-customer-outreach-groups{gap:28px;display:grid}.dashboard-customer-outreach-group+.dashboard-customer-outreach-group{border-top:1px solid #e2e8f0;padding-top:24px}.dashboard-customer-outreach-subheading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;display:flex}.dashboard-customer-outreach-subheading h4{color:#0f172a;margin:0 0 4px;font-size:15px;line-height:1.3}.dashboard-customer-outreach-subheading p{color:#64748b;margin:0;font-size:13px;line-height:1.5}.dashboard-customer-outreach-subheading>span{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;flex:none;padding:6px 10px;font-size:12px;font-weight:700}.dashboard-outreach-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 14px;display:flex}.dashboard-outreach-error button{color:#991b1b;cursor:pointer;font:inherit;background:#fff;border:1px solid #fca5a5;border-radius:6px;padding:7px 12px;font-size:12px;font-weight:700}@media (width<=1100px){.dashboard-outreach-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.dashboard-outreach-metrics{grid-template-columns:1fr}.dashboard-customer-outreach-subheading{flex-direction:column;align-items:stretch;gap:10px}.dashboard-customer-outreach-subheading>span{align-self:flex-start}.dashboard-outreach-error{flex-direction:column;align-items:stretch}}.dashboard-pipeline-card{width:100%}.pipeline-heading-actions{align-items:flex-start;gap:12px;display:flex}.pipeline-range-toggle{border:1px solid var(--border-light);background:var(--surface-soft,#f8fafc);border-radius:9px;padding:3px;display:inline-flex}.pipeline-range-button{color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:7px 11px;font-size:12px;font-weight:700}.pipeline-range-button:hover{color:var(--text-primary)}.pipeline-range-button.is-active{color:var(--blue-700);box-shadow:var(--shadow-subtle);background:#fff}.pipeline-load-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:16px;padding:12px;font-size:12px}@media (width<=720px){.dashboard-pipeline-card .pipeline-heading{flex-direction:column}.pipeline-heading-actions{justify-content:space-between;width:100%}}@media (width<=480px){.pipeline-heading-actions{flex-direction:column;align-items:stretch}.pipeline-range-toggle{width:100%}.pipeline-range-button{flex:1}.pipeline-total{align-self:flex-start}}.negotiating-deals-extension{padding-top:0}.negotiating-deals-section{margin-top:0}.negotiating-deals-title-row{align-items:center;gap:10px;margin-bottom:4px;display:flex}.negotiating-deals-title-row .section-title{margin:0}.negotiating-deals-count{background:var(--amber-100,#fef3c7);min-width:28px;color:var(--amber-800,#92400e);text-align:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800;line-height:1}.profit-period-card[role=button]{cursor:pointer;transition:background-color .16s,box-shadow .16s,transform .16s}.profit-period-card[role=button]:hover{z-index:1;background:#fff;position:relative;transform:translateY(-1px);box-shadow:0 8px 18px #0f172a14}.profit-period-card[role=button]:focus-visible{z-index:2;outline:2px solid var(--blue-500);outline-offset:-2px;position:relative}.profit-period-card[role=button] small:after{content:"  View details →";color:var(--blue-700);font-weight:700}.negotiating-deals-table{overflow-x:auto}.negotiating-deals-table table{min-width:900px}.negotiating-deals-message{text-align:center;color:var(--text-muted)!important;padding:24px!important}.negotiating-deals-error{color:var(--danger-600,#dc2626)!important}@media (width<=768px){.negotiating-deals-section .section-header{flex-direction:column}.negotiating-deals-section .view-all-link{align-self:flex-start}}.form-card{background:var(--surface,#fff);border:1px solid var(--border-light,#dcebed);border-radius:8px;max-width:600px;margin:0 auto;padding:32px;box-shadow:0 1px 3px #0000000d}fieldset{border:none;margin:0 0 24px;padding:0}fieldset legend{color:var(--text-primary,#1f2937);margin-bottom:12px;padding:0;font-size:14px;font-weight:600}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{box-shadow:none;border-color:#d1d5db;outline:none}.form-group input[type=number]{font-family:Courier New,monospace}.form-group small{color:var(--text-secondary,#6b7280);font-size:12px}.form-actions{border-top:1px solid var(--border,#e5e7eb);justify-content:flex-end;gap:12px;margin-top:24px;padding-top:24px;display:flex}.btn-primary,.btn-secondary{cursor:pointer;border:none;border-radius:6px;padding:10px 24px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s;display:inline-block}.btn-primary:hover:not(:disabled){background:#0284c7;transform:translateY(-1px);box-shadow:0 4px 12px #0ea5e94d}.btn-secondary{background:var(--surface-secondary,#f3f4f6);color:var(--text-primary,#1f2937);border:1px solid var(--border,#e5e7eb)}.alert{border-radius:6px;margin-bottom:16px;padding:12px 16px;font-size:14px}.alert-error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.alert-success{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0}.alert-warning{color:#92400e;background:#fef3c7;border:1px solid #fcd34d}.alert-info{color:#0c4a6e;background:#dbeafe;border:1px solid #bfdbfe}.invoice-create-card{max-width:820px}.invoice-create-section{border:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);border-radius:12px;overflow:hidden}.invoice-create-section-heading{border-bottom:1px solid var(--border-light,#dcebed);background:var(--surface-secondary,#f5f9fa);justify-content:space-between;align-items:flex-start;gap:20px;padding:16px 18px;display:flex}.invoice-create-section-heading span{color:#078ec8;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:800;display:block}.invoice-create-section-heading h3{color:var(--text-primary,#1f2937);margin:0;font-size:17px}.invoice-create-section-heading small{color:var(--text-secondary,#6b7280);font-size:12px}.invoice-create-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:22px;display:grid}.invoice-create-full-width{grid-column:1/-1}.invoice-create-readonly-status{border:1px solid var(--border,#e5e7eb);background:var(--surface-secondary,#f3f4f6);min-height:42px;color:var(--text-primary,#1f2937);border-radius:6px;align-items:center;gap:9px;padding:10px 12px;font-size:14px;font-weight:700;display:flex}.invoice-create-status-dot{background:#0fba91;border-radius:50%;flex:none;width:9px;height:9px;box-shadow:0 0 0 4px #0fba911f}.invoice-create-vendor-section{border-color:#0fba9159}.invoice-create-vendor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;padding:22px;display:grid}.invoice-create-vendor-grid label{color:var(--text-secondary,#6b7280);letter-spacing:.05em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.invoice-create-vendor-grid p{overflow-wrap:anywhere;color:var(--text-primary,#1f2937);margin:0;font-size:14px;font-weight:600}@media (width<=768px){.form-card{padding:20px}.form-actions{flex-direction:column-reverse}.btn-primary,.btn-secondary{width:100%}.invoice-create-grid,.invoice-create-vendor-grid{grid-template-columns:1fr;padding:18px}.invoice-create-full-width{grid-column:auto}.invoice-create-section-heading{flex-direction:column}}.courier-dashboard-page,.courier-pay-page{width:100%}.courier-dashboard-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:20px;display:grid}.courier-stat-card{text-align:left;flex-direction:column;gap:5px;min-width:0;display:flex}.courier-stat-card>small{opacity:.72;font-weight:600}.courier-stat-card>strong{font-size:clamp(1.65rem,4vw,2.2rem);line-height:1.05}.courier-stat-card>span{opacity:.76;font-size:.86rem}button.courier-stat-card{width:100%;color:inherit;cursor:pointer}button.courier-stat-card.is-clickable:hover{transform:translateY(-1px)}.courier-owner-stat-card{border-width:2px}.courier-push-card{gap:8px}.courier-push-enable{align-self:flex-start;margin-top:4px}.courier-push-help{color:#9a3412;background:#fff7ed;border-radius:9px;margin-top:3px;padding:9px 10px;font-size:.78rem;line-height:1.4}.courier-push-help.is-success{color:#166534;background:#ecfdf3}.courier-dashboard-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid}.courier-dashboard-section{width:100%;max-width:none;margin-bottom:18px}.courier-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.courier-section-heading h3{margin:0}.courier-section-heading small{margin-top:3px;display:block}.courier-activity-list{gap:9px;display:grid}.courier-activity-row,.courier-notification-row{border:1px solid var(--border-color,#ddd);width:100%;color:inherit;text-align:left;background:0 0;border-radius:10px;padding:12px}.courier-activity-row{cursor:pointer;justify-content:space-between;align-items:center;gap:14px;display:flex}.courier-activity-row>span{flex-direction:column;gap:2px;min-width:0;display:flex}.courier-activity-row>span:last-child{text-align:right;align-items:flex-end}.courier-notification-row p{margin:4px 0 7px}.courier-owner-pickup-list{gap:10px;display:grid}.courier-owner-pickup-row{border:1px solid var(--border-color,#ddd);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:13px;display:grid}.courier-owner-pickup-primary{min-width:0}.courier-owner-pickup-title{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:4px;display:flex}.courier-owner-pickup-badge{color:#9a3412;letter-spacing:.02em;background:#fff7ed;border-radius:999px;align-items:center;padding:4px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.courier-owner-pickup-primary>small{opacity:.72;display:block}.courier-owner-pickup-primary p{overflow-wrap:anywhere;margin:8px 0 0}.courier-owner-pickup-amount{text-align:right;white-space:nowrap;flex-direction:column;align-items:flex-end;gap:3px;display:flex}.courier-owner-pickup-amount small,.courier-owner-pickup-amount span{opacity:.72}.courier-owner-pickup-amount span{font-weight:700}.courier-quick-actions{flex-wrap:wrap;gap:10px;display:flex}.courier-pay-summary{margin-bottom:20px}.courier-pay-list{gap:10px;display:grid}.courier-pay-row{border:1px solid var(--border-color,#ddd);border-radius:10px;grid-template-columns:minmax(150px,1.5fr) repeat(5,minmax(110px,1fr));align-items:start;gap:12px;padding:13px;display:grid}.courier-pay-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.courier-pay-row small{opacity:.68;font-weight:600}.courier-pay-row span{opacity:.75;overflow-wrap:anywhere;font-size:.82rem}@media (width<=900px){.courier-dashboard-columns{grid-template-columns:1fr}.courier-pay-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.courier-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.courier-stat-card{padding:13px}.courier-stat-card>strong{font-size:1.55rem}.courier-push-card{grid-column:1/-1}.courier-push-enable{align-self:stretch;width:100%;min-height:48px}.courier-activity-row{align-items:flex-start}.courier-owner-pickup-row{grid-template-columns:1fr}.courier-owner-pickup-amount{text-align:left;white-space:normal;align-items:flex-start}.courier-quick-actions{grid-template-columns:1fr;display:grid}.courier-quick-actions button,.courier-section-heading button{width:100%}.courier-pay-row{grid-template-columns:1fr 1fr;gap:10px}.courier-pay-row>div:first-child,.courier-pay-row>div:last-child{grid-column:1/-1}}@media (width<=390px){.courier-dashboard-grid{grid-template-columns:1fr}.courier-push-card{grid-column:1}.courier-pay-row{grid-template-columns:1fr}.courier-pay-row>div{grid-column:1}}.profit-performance-page{max-width:1600px}.profit-performance-header{align-items:flex-start;margin-bottom:20px}.profit-back-link{color:var(--blue-700);cursor:pointer;font:inherit;background:0 0;border:0;margin:0 0 10px;padding:0;font-size:12px;font-weight:700}.profit-back-link:hover{color:var(--blue-800);text-decoration:underline}.profit-period-tabs{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:10px;gap:4px;margin-bottom:18px;padding:4px;display:inline-flex}.profit-period-tabs button{color:var(--text-secondary);cursor:pointer;font:inherit;background:0 0;border:0;border-radius:7px;padding:9px 14px;font-size:12px;font-weight:700}.profit-period-tabs button:hover{background:var(--surface-soft);color:var(--text-primary)}.profit-period-tabs button.is-active{background:var(--blue-700);color:#fff}.profit-month-switcher{border:1px solid var(--border-light);width:fit-content;box-shadow:var(--shadow-subtle);background:#fff;border-radius:10px;align-items:end;gap:8px;margin:0 0 18px;padding:10px;display:flex}.profit-month-arrow,.profit-current-month-button{border:1px solid var(--border-light);min-height:40px;color:var(--text-primary);cursor:pointer;font:inherit;background:#fff;border-radius:8px;font-size:12px;font-weight:700}.profit-month-arrow{width:42px;font-size:18px}.profit-current-month-button{color:var(--blue-700);padding:0 14px}.profit-month-arrow:hover:not(:disabled),.profit-current-month-button:hover{border-color:var(--blue-500);background:var(--surface-soft)}.profit-month-arrow:disabled{cursor:not-allowed;opacity:.45}.profit-month-picker{flex-direction:column;gap:5px;min-width:190px;display:flex}.profit-month-picker>span{color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.profit-month-picker input{border:1px solid var(--border-light);width:100%;min-height:40px;color:var(--text-primary);font:inherit;background:#fff;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600}.profit-month-picker input:focus{border-color:var(--blue-500);outline:2px solid #0ea5e933}.profit-detail-summary,.profit-detail-list-section{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px}.profit-detail-summary{margin-bottom:24px;overflow:hidden}.profit-detail-summary-heading{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:flex-start;gap:24px;padding:22px 24px;display:flex}.profit-detail-summary-heading span,.profit-detail-metrics span{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:700}.profit-detail-summary-heading h3{color:var(--text-primary);margin:5px 0 3px;font-size:22px}.profit-detail-summary-heading p{color:var(--text-muted);margin:0;font-size:13px}.profit-detail-summary-heading>strong{color:var(--green-700,#047857);letter-spacing:-.03em;white-space:nowrap;font-size:clamp(28px,4vw,40px);line-height:1}.profit-detail-metrics{grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.profit-detail-metrics>div{border-right:1px solid var(--border-light);min-width:0;padding:18px 20px}.profit-detail-metrics>div:last-child{border-right:0}.profit-detail-metrics strong{color:var(--text-primary);margin-top:6px;font-size:21px;line-height:1.1;display:block}.profit-detail-list-section{overflow:hidden}.profit-detail-list-heading{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.profit-detail-list-heading h3{color:var(--text-primary);margin:0;font-size:16px}.profit-detail-list-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.profit-search-field{width:min(360px,100%)}.profit-search-field input{border:1px solid var(--border-light);width:100%;color:var(--text-primary);font:inherit;background:#fff;border-radius:8px;padding:10px 12px;font-size:13px}.profit-search-field input:focus{border-color:var(--blue-500);outline:2px solid #0ea5e933}.profit-detail-list-section>.alert{margin:16px 20px 0}.profit-detail-table-wrap{overflow-x:auto}.profit-detail-table{border-collapse:collapse;width:100%;min-width:1120px}.profit-detail-table thead{background:var(--surface-soft)}.profit-detail-table th{text-align:left;color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;padding:12px 16px;font-size:11px;font-weight:700}.profit-detail-table td{border-top:1px solid var(--border-light);color:var(--text-primary);vertical-align:top;padding:14px 16px;font-size:13px}.profit-detail-row{cursor:pointer}.profit-detail-row:hover{background:#0ea5e908}.profit-detail-row:focus-visible{outline:2px solid var(--blue-500);outline-offset:-2px}.profit-close-date{white-space:nowrap;color:var(--text-muted)!important;font-size:12px!important}.profit-customer-deal{flex-direction:column;gap:4px;min-width:190px;display:flex}.profit-customer-deal strong{color:var(--text-primary)}.profit-customer-deal span{color:var(--blue-700);font-size:12px}.profit-products{flex-direction:column;align-items:flex-start;gap:6px;min-width:250px;display:flex}.profit-products button{max-width:100%;color:var(--blue-700);cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0}.profit-products button:hover>span{text-decoration:underline}.profit-products button>span,.profit-products button>small{display:block}.profit-products button>span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.profit-products button>small{color:var(--text-muted);margin-top:2px;font-size:11px}.profit-no-products{color:var(--text-muted);font-size:12px}.profit-money,.profit-margin{white-space:nowrap;font-weight:700}.profit-positive{color:var(--green-700,#047857)!important}.profit-detail-message{text-align:center;color:var(--text-muted)!important;padding:34px 20px!important}@media (width<=1000px){.profit-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-detail-metrics>div:nth-child(3){border-right:0}.profit-detail-metrics>div:nth-child(n+4){border-top:1px solid var(--border-light)}}@media (width<=720px){.profit-performance-page{padding:16px!important}.profit-period-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.profit-period-tabs button{padding-inline:8px}.profit-month-switcher{flex-wrap:wrap;width:100%}.profit-month-picker{flex:180px;min-width:0}.profit-current-month-button{flex:1 0 100%}.profit-detail-summary-heading,.profit-detail-list-heading{flex-direction:column;align-items:stretch}.profit-detail-summary-heading>strong{font-size:32px}.profit-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-detail-metrics>div,.profit-detail-metrics>div:nth-child(3){border-right:1px solid var(--border-light)}.profit-detail-metrics>div:nth-child(2n){border-right:0}.profit-detail-metrics>div:nth-child(n+3){border-top:1px solid var(--border-light)}.profit-search-field{width:100%}}@media (width<=480px){.profit-period-tabs{grid-template-columns:1fr}.profit-month-switcher{grid-template-columns:42px minmax(0,1fr) 42px;align-items:end;display:grid}.profit-current-month-button{grid-column:1/-1}.profit-detail-metrics{grid-template-columns:1fr}.profit-detail-metrics>div,.profit-detail-metrics>div:nth-child(2n){border-right:0}.profit-detail-metrics>div:nth-child(n+2){border-top:1px solid var(--border-light)}}.lead-conversion-report-page{max-width:1500px}.lead-conversion-report-header{align-items:flex-start;margin-bottom:20px}.lead-conversion-back-link{color:var(--blue-700,#0369a1);font:inherit;cursor:pointer;background:0 0;border:0;margin:0 0 8px;padding:0;font-size:12px;font-weight:800}.lead-conversion-back-link:hover{text-decoration:underline}.lead-conversion-month-switcher{border:1px solid var(--border-light);background:#fff;border-radius:12px;align-items:flex-end;gap:10px;margin-bottom:20px;padding:12px;display:flex}.lead-conversion-month-arrow,.lead-conversion-current-month-button{border:1px solid var(--border-light);min-height:42px;color:var(--text-primary);font:inherit;cursor:pointer;background:#fff;border-radius:9px;font-size:12px;font-weight:800}.lead-conversion-month-arrow{flex:0 0 42px;width:42px;font-size:18px}.lead-conversion-current-month-button{color:var(--blue-700,#0369a1);padding:0 14px}.lead-conversion-month-arrow:hover:not(:disabled),.lead-conversion-current-month-button:hover{border-color:var(--blue-300,#7dd3fc);background:var(--blue-50,#f0f9ff)}.lead-conversion-month-arrow:disabled{opacity:.4;cursor:not-allowed}.lead-conversion-month-picker{flex-direction:column;gap:5px;min-width:210px;display:flex}.lead-conversion-month-picker span{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:800}.lead-conversion-month-picker input,.lead-conversion-month-picker select{border:1px solid var(--border-light);width:100%;min-height:42px;color:var(--text-primary);font:inherit;background:#fff;border-radius:9px;padding:8px 10px}.lead-conversion-report-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;margin-bottom:18px;padding:12px;font-size:12px}.lead-conversion-report-summary,.lead-conversion-report-list-section{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;margin-bottom:24px;padding:20px}.lead-conversion-report-summary-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.lead-conversion-report-summary-heading>div{min-width:0}.lead-conversion-report-summary-heading span{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:800}.lead-conversion-report-summary-heading h3{color:var(--text-primary);margin:4px 0 2px;font-size:24px}.lead-conversion-report-summary-heading p{color:var(--text-secondary);margin:0;font-size:13px}.lead-conversion-report-summary-heading>strong{color:var(--blue-700,#0369a1);flex:none;font-size:clamp(34px,5vw,48px);line-height:1}.lead-conversion-report-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.lead-conversion-report-metrics>div{border:1px solid var(--border-light);background:var(--surface-soft,#f8fafc);border-radius:10px;flex-direction:column;gap:4px;min-width:0;padding:14px;display:flex}.lead-conversion-report-metrics span{color:var(--text-muted);font-size:11px;font-weight:800}.lead-conversion-report-metrics strong{color:var(--text-primary);font-size:24px}.lead-conversion-report-list-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:16px;display:flex}.lead-conversion-report-list-heading h3{color:var(--text-primary);margin:0;font-size:18px}.lead-conversion-report-list-heading p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.lead-conversion-report-search{width:min(100%,390px)}.lead-conversion-report-search input{border:1px solid var(--border-light);width:100%;min-height:40px;color:var(--text-primary);font:inherit;background:#fff;border-radius:9px;padding:9px 11px;font-size:13px}.lead-conversion-report-table-wrap{overflow-x:auto}.lead-conversion-report-table{border-collapse:collapse;width:100%;min-width:900px}.lead-conversion-report-table th,.lead-conversion-report-table td{border-bottom:1px solid var(--border-light);text-align:left;vertical-align:middle;padding:12px 14px}.lead-conversion-report-table th{background:var(--surface-soft,#f8fafc);color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.lead-conversion-report-table td{color:var(--text-secondary);font-size:12px}.lead-conversion-report-table td strong,.lead-conversion-report-table td small{display:block}.lead-conversion-report-table td strong{color:var(--text-primary);font-size:13px}.lead-conversion-report-table td small{color:var(--text-muted);margin-top:3px;font-size:11px}.lead-conversion-report-customer{color:var(--blue-700,#0369a1)!important}.lead-conversion-report-clickable-row{cursor:pointer}.lead-conversion-report-clickable-row:hover td{background:var(--blue-50,#f0f9ff)}.lead-conversion-report-clickable-row:focus{outline:2px solid var(--blue-500,#0ea5e9);outline-offset:-2px}.lead-conversion-report-type{background:var(--surface-soft,#f1f5f9);width:fit-content;color:var(--text-secondary);white-space:nowrap;border-radius:999px;padding:4px 8px;font-weight:800;font-size:10px!important;display:inline-flex!important}.lead-conversion-report-type--new_customer{color:#166534;background:#dcfce7}.lead-conversion-report-type--existing_customer{color:#075985;background:#e0f2fe}.lead-conversion-report-type--legacy_import{color:#6b21a8;background:#f3e8ff}.lead-conversion-report-message{color:var(--text-muted)!important;text-align:center!important;padding:28px!important}@media (width<=1050px){.lead-conversion-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.lead-conversion-month-switcher,.lead-conversion-report-list-heading,.lead-conversion-report-summary-heading{flex-wrap:wrap;align-items:stretch}.lead-conversion-month-picker{flex:190px}.lead-conversion-current-month-button{flex:140px}.lead-conversion-report-summary-heading{flex-direction:column}.lead-conversion-report-summary-heading>strong{align-self:flex-start}.lead-conversion-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-conversion-report-list-heading{flex-direction:column}.lead-conversion-report-search{width:100%}}@media (width<=460px){.lead-conversion-report-summary,.lead-conversion-report-list-section{padding:16px}.lead-conversion-report-metrics{grid-template-columns:1fr}}.record-modal-overlay{z-index:1200;background:#0f2a3a6b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.record-modal{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:14px;width:100%;max-height:min(90vh,900px);overflow-y:auto;box-shadow:0 25px 60px #0f2a3a38}.record-modal-wide{max-width:820px}.record-modal-compact{max-width:560px}.record-modal-header{border-bottom:1px solid var(--border-light,#dcebed);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.record-modal-header h2{color:var(--text-primary,#102a3a);margin:0;font-size:20px}.record-modal-header p{color:var(--text-secondary,#536b79);margin:6px 0 0;font-size:13px;line-height:1.45}.record-modal-step{color:#078ec8;letter-spacing:.04em;text-transform:uppercase;margin-bottom:6px;font-size:11px;font-weight:800;display:inline-block}.record-modal-close{width:34px;height:34px;color:var(--text-muted,#78909c);cursor:pointer;background:0 0;border:0;flex-shrink:0;place-items:center;padding:0;font-size:25px;line-height:1;display:grid}.record-modal-close:hover:not(:disabled){color:var(--text-primary,#102a3a)}.record-modal-close:disabled{cursor:not-allowed;opacity:.5}.record-modal-body{padding:24px}.record-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.record-modal-grid-single{grid-template-columns:1fr}.record-modal-field{flex-direction:column;gap:7px;min-width:0;display:flex}.record-modal-field-wide{grid-column:1/-1}.record-modal-field>span,.record-modal-subsection h3{color:var(--text-primary,#102a3a);font-size:13px;font-weight:700}.record-modal-field input,.record-modal-field select,.record-modal-field textarea{box-sizing:border-box;border:1px solid var(--border-light,#dcebed);width:100%;color:var(--text-primary,#102a3a);font:inherit;background:#fff;border-radius:8px;padding:10px 12px}.record-modal-field input:focus,.record-modal-field select:focus,.record-modal-field textarea:focus{border-color:#078ec8;outline:none;box-shadow:0 0 0 3px #078ec81f}.record-modal-field input:disabled,.record-modal-field input:read-only{background:var(--surface-soft,#f7fbfc);color:var(--text-secondary,#536b79)}.record-modal-field textarea{resize:vertical}.record-modal-field small{color:var(--text-muted,#78909c);font-size:12px;line-height:1.4}.record-modal-subsection{border-bottom:1px solid var(--border-light,#dcebed);padding-top:4px}.record-modal-subsection h3{margin:0 0 8px}.record-modal-flow-summary{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px;padding:14px;display:grid}.record-modal-flow-summary>div{flex-direction:column;gap:4px;min-width:0;display:flex}.record-modal-flow-summary span{color:var(--text-muted,#78909c);letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:700}.record-modal-flow-summary strong{color:var(--text-primary,#102a3a);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.record-modal-check-grid{flex-wrap:wrap;gap:12px;display:flex}.record-modal-check{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);color:var(--text-primary,#102a3a);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:10px 12px;font-size:13px;font-weight:600;display:inline-flex}.record-modal-check input{margin:0}.record-modal-footer{border-top:1px solid var(--border-light,#dcebed);justify-content:flex-end;gap:12px;padding:18px 24px 22px;display:flex}.record-modal-footer-wrap{flex-wrap:wrap}.record-modal-footer-between{justify-content:space-between;align-items:center}.record-modal-footer-summary{color:var(--text-secondary,#536b79);font-size:13px;font-weight:700}.record-modal-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.record-detail-success{margin-bottom:16px}@media (width>=721px){.record-modal:has(#create-supply-title){max-width:1080px;max-height:calc(100vh - 32px);overflow:hidden}.record-modal:has(#create-supply-title) .record-modal-header{padding:15px 20px}.record-modal:has(#create-supply-title) .record-modal-header p{margin-top:3px}.record-modal:has(#create-supply-title) .record-modal-body{padding:14px 20px 16px}.record-modal:has(#create-supply-title) .record-modal-flow-summary{gap:10px;margin-bottom:12px;padding:9px 12px}.record-modal:has(#create-supply-title) .record-modal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 14px}.record-modal:has(#create-supply-title) .record-modal-field-wide{grid-column:auto}.record-modal:has(#create-supply-title) .record-modal-field:has(input[name=product_name]){grid-column:span 2}.record-modal:has(#create-supply-title) .record-modal-field{gap:4px}:is(.record-modal:has(#create-supply-title) .record-modal-field input,.record-modal:has(#create-supply-title) .record-modal-field select,.record-modal:has(#create-supply-title) .record-modal-field textarea){padding:8px 10px}.record-modal:has(#create-supply-title) .record-modal-field small{font-size:11px;line-height:1.2}.record-modal:has(#create-supply-title) .record-modal-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-self:end;gap:7px;display:grid}.record-modal:has(#create-supply-title) .record-modal-check{justify-content:center;padding:8px}.record-modal:has(#create-supply-title) textarea[name=notes]{resize:none;height:38px;min-height:38px}.record-modal:has(#create-supply-title) .record-modal-footer{padding:12px 20px 14px}.record-modal:has(#create-supply-title) .record-modal-footer-actions{flex-wrap:nowrap}}@media (width<=720px){.record-modal-overlay{align-items:end;padding:12px}.record-modal{border-radius:14px 14px 10px 10px;max-height:92vh}.record-modal-header,.record-modal-body{padding:18px}.record-modal-footer{flex-direction:column-reverse;align-items:stretch;padding:16px 18px 18px;display:flex}.record-modal-footer>button,.record-modal-footer-actions,.record-modal-footer-actions>button{width:100%}.record-modal-footer-actions{flex-direction:column-reverse;display:flex}.record-modal-footer-summary{text-align:center}.record-modal-grid,.record-modal-flow-summary{grid-template-columns:1fr}.record-modal-field-wide{grid-column:auto}}.phone-thread-shell{background:#f7f7f8;border-radius:18px;flex-direction:column;width:100%;height:100%;min-height:560px;display:flex;overflow:hidden;box-shadow:0 12px 32px #0f2a3a14}.phone-thread-header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:2;background:#fffffff5;border-bottom:1px solid #e7eaec;align-items:center;gap:12px;min-height:76px;padding:12px 18px;display:flex;position:relative}.phone-thread-back{color:#0b9f7c;cursor:pointer;background:#eefaf6;border:0;border-radius:50%;place-items:center;width:36px;height:36px;font-size:30px;line-height:1;display:grid}.phone-thread-back:hover{background:#dff5ed}.phone-thread-avatar,.inbox-person-avatar{color:#0b6b59;letter-spacing:.02em;background:linear-gradient(145deg,#dff5ed,#e5f2ff);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.phone-thread-avatar{width:44px;height:44px;font-size:14px}.phone-thread-heading{flex:1;min-width:0}.phone-thread-heading h2{text-overflow:ellipsis;white-space:nowrap;color:#102a3a;margin:0;font-size:16px;font-weight:750;overflow:hidden}.phone-thread-contact-line{color:#6d7f89;align-items:center;gap:6px;margin-top:4px;font-size:12px;line-height:1.35;display:flex;overflow:hidden}.phone-thread-contact-line span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.phone-thread-controls{flex:none;align-items:center;gap:8px;display:flex}.phone-thread-selector{color:#102a3a;max-width:230px;font:inherit;background:#fff;border:1px solid #d9e0e4;border-radius:10px;padding:8px 32px 8px 10px;font-size:12px}.phone-message-scroll{scroll-behavior:smooth;background:linear-gradient(#ffffff9e,#ffffff9e),radial-gradient(circle at 0 0,#edf8f4 0,#0000 34%),radial-gradient(circle at 100% 100%,#edf5fb 0,#0000 35%),#f5f6f7;flex:1;min-height:0;padding:18px 18px 24px;overflow-y:auto}.phone-thread-state{text-align:center;color:#71838d;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:320px;padding:24px;display:flex}.phone-thread-state strong{color:#294352}.phone-thread-empty-icon{font-size:32px}.phone-message-block{width:100%}.phone-date-divider{justify-content:center;align-items:center;margin:16px 0 12px;display:flex}.phone-date-divider span{color:#657983;background:#e1e6e9d6;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700}.phone-message-row{width:100%;margin-top:9px;display:flex}.phone-message-row.grouped-previous{margin-top:3px}.phone-message-row.inbound{justify-content:flex-start}.phone-message-row.outbound{justify-content:flex-end}.phone-message-content{flex-direction:column;max-width:min(72%,620px);display:flex}.phone-message-row.outbound .phone-message-content{align-items:flex-end}.phone-message-row.inbound .phone-message-content{align-items:flex-start}.phone-message-bubble{white-space:pre-wrap;word-break:break-word;border-radius:19px;padding:10px 14px;font-size:15px;line-height:1.38;position:relative;box-shadow:0 1px 1px #0f2a3a0d}.phone-message-row.inbound .phone-message-bubble{color:#111827;background:#e5e5ea;border-bottom-left-radius:5px}.phone-message-row.outbound .phone-message-bubble{color:#fff;background:#20b987;border-bottom-right-radius:5px}.phone-message-row.inbound.grouped-next .phone-message-bubble,.phone-message-row.inbound.grouped-previous .phone-message-bubble{border-top-left-radius:9px;border-bottom-left-radius:9px}.phone-message-row.outbound.grouped-next .phone-message-bubble,.phone-message-row.outbound.grouped-previous .phone-message-bubble{border-top-right-radius:9px;border-bottom-right-radius:9px}.phone-message-row.inbound:not(.grouped-next) .phone-message-bubble:after{content:"";clip-path:polygon(100% 0,100% 100%,0 100%);background:#e5e5ea;width:10px;height:12px;position:absolute;bottom:0;left:-5px}.phone-message-row.outbound:not(.grouped-next) .phone-message-bubble:after{content:"";clip-path:polygon(0 0,100% 100%,0 100%);background:#20b987;width:10px;height:12px;position:absolute;bottom:0;right:-5px}.phone-message-meta{color:#71838d;gap:4px;margin-top:4px;padding:0 4px;font-size:10px;line-height:1.2;display:flex}.phone-message-meta.failed,.phone-message-failure{color:#b42318}.phone-message-failure{text-align:right;max-width:360px;margin-top:3px;padding:0 4px;font-size:11px}.phone-thread-simulator{background:#fff8e6;border-top:1px solid #f1e2b8;padding:10px 16px}.phone-simulator-form{grid-template-columns:1fr auto auto;gap:8px;display:grid}.phone-simulator-form textarea{resize:vertical;min-height:42px;font:inherit;border:1px solid #d9e0e4;border-radius:10px;padding:9px 11px}.phone-message-composer{background:#fffffffa;border-top:1px solid #e3e7e9;padding:11px 14px 12px}.phone-composer-row{align-items:flex-end;gap:9px;display:flex}.phone-composer-row textarea{color:#102a3a;min-height:42px;max-height:140px;font:inherit;resize:vertical;background:#fff;border:1px solid #ccd4d8;border-radius:22px;flex:1;padding:10px 14px;font-size:14px;line-height:1.35}.phone-composer-row textarea:focus{border-color:#20a980;outline:none;box-shadow:0 0 0 3px #20a9801f}.phone-send-button{color:#fff;cursor:pointer;background:#20b987;border:0;border-radius:50%;flex:0 0 40px;place-items:center;width:40px;height:40px;font-size:24px;font-weight:800;line-height:1;transition:transform .16s,opacity .16s;display:grid}.phone-send-button:hover:not(:disabled){transform:translateY(-1px)}.phone-send-button:disabled{opacity:.38;cursor:not-allowed}.phone-composer-hint{color:#8a989f;text-align:right;margin:4px 48px 0 14px;font-size:10px}.phone-composer-error{color:#b42318;background:#fef3f2;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:12px}.message-inbox-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);gap:18px;height:calc(100vh - 230px);min-height:680px;display:grid}.message-inbox-sidebar{background:#fff;border:1px solid #dfe5e8;border-radius:16px;flex-direction:column;min-height:0;display:flex;overflow:hidden;box-shadow:0 10px 28px #0f2a3a0d}.message-inbox-toolbar{border-bottom:1px solid #edf0f2;grid-template-columns:minmax(0,1fr) 124px;gap:8px;padding:14px;display:grid}.message-inbox-toolbar input,.message-inbox-toolbar select{color:#102a3a;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d8e0e4;border-radius:10px;padding:10px 11px;font-size:13px}.message-inbox-list{flex:1;min-height:0;overflow-y:auto}.inbox-person-row{width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf0f2;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:11px;padding:13px 14px;display:grid}.inbox-person-main{min-width:0}.inbox-person-name-line,.inbox-person-preview-line{align-items:center;gap:7px;min-width:0;display:flex}.inbox-person-name{color:#102a3a;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:750;overflow:hidden}.inbox-person-phone,.inbox-person-line{color:#71838d;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:11px;overflow:hidden}.inbox-person-preview{color:#526872;text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:12px;overflow:hidden}.inbox-person-preview strong{color:#294352}.inbox-person-meta{color:#7a8c95;white-space:nowrap;flex-direction:column;align-items:flex-end;gap:7px;padding-top:2px;font-size:10px;display:flex}.inbox-unread-badge{color:#fff;background:#20b987;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:10px;font-weight:800;display:grid}.inbox-line-count{color:#61757f;background:#edf2f4;border-radius:999px;align-items:center;padding:2px 6px;font-size:10px;font-weight:700;display:inline-flex}.message-inbox-thread{background:#fff;border:1px solid #dfe5e8;border-radius:18px;min-width:0;min-height:0;overflow:hidden}.message-inbox-empty{color:#71838d;text-align:center;place-items:center;height:100%;min-height:560px;padding:32px;display:grid}.customer-message-panel{flex-direction:column;gap:12px;display:flex}.customer-message-panel-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.customer-message-panel-description{color:#71838d;margin:0;font-size:13px}.customer-message-start-controls{background:#f8fafb;border:1px solid #e1e6e9;border-radius:14px;grid-template-columns:minmax(180px,1fr) minmax(210px,1fr) auto;gap:9px;width:100%;padding:14px;display:grid}.customer-message-start-controls select,.customer-conversation-selector{color:#102a3a;min-width:0;font:inherit;background:#fff;border:1px solid #d8e0e4;border-radius:10px;padding:10px 11px;font-size:13px}.customer-message-frame{background:#fff;border:1px solid #dfe5e8;border-radius:18px;height:650px;min-height:560px;overflow:hidden}.customer-message-empty{color:#71838d;text-align:center;background:#fbfcfc;border:1px dashed #cfd8dc;border-radius:14px;place-items:center;min-height:300px;padding:28px;display:grid}@media (width<=1000px){.message-inbox-layout{grid-template-columns:320px minmax(0,1fr)}.phone-thread-controls,.phone-thread-selector{max-width:185px}}@media (width<=820px){.message-inbox-layout{height:auto;min-height:580px;display:block}.message-inbox-sidebar{min-height:580px}.message-inbox-thread.mobile-open{z-index:1200;border:0;border-radius:0;position:fixed;inset:0}.message-inbox-thread.mobile-open .phone-thread-shell{border-radius:0;min-height:100dvh}.message-inbox-thread:not(.mobile-open){display:none}.customer-message-start-controls{grid-template-columns:1fr}.customer-message-frame{height:620px}.phone-thread-controls,.phone-thread-selector{max-width:150px}}@media (width<=560px){.phone-thread-header{padding:10px 12px}.phone-thread-avatar{width:38px;height:38px}.phone-thread-contact-line{display:block}.phone-thread-contact-line span[aria-hidden=true]{display:none}.phone-thread-controls{max-width:118px}.phone-thread-selector{max-width:118px;padding-right:24px}.phone-message-scroll{padding:14px 12px 20px}.phone-message-content{max-width:84%}.phone-message-bubble{font-size:14px}.message-inbox-toolbar{grid-template-columns:1fr}.customer-message-frame{height:580px;margin-inline:-4px}}.customer-message-launch-card{color:#102a3a;text-align:left;cursor:pointer;background:linear-gradient(135deg,#fff 0%,#f2fbf8 100%);border:1px solid #d7e3e8;border-radius:14px;align-items:center;gap:14px;width:100%;padding:16px;transition:border-color .16s,box-shadow .16s,transform .16s;display:flex}.customer-message-launch-card:hover{border-color:#0fba91;transform:translateY(-1px);box-shadow:0 10px 28px #102a3a1a}.customer-message-launch-icon{background:#daf7ee;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;font-size:21px;display:grid}.customer-message-launch-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.customer-message-launch-copy strong{font-size:14px}.customer-message-launch-copy span{color:#617986;font-size:13px;line-height:1.45}.customer-message-launch-arrow{color:#0fba91;font-size:28px;line-height:1}.customer-chat-drawer-layer{z-index:1200;justify-content:flex-end;display:flex;position:fixed;inset:0}.customer-chat-drawer-backdrop{cursor:default;background:#0f232f6b;border:0;width:100%;height:100%;padding:0;animation:.18s ease-out customer-chat-fade-in;position:absolute;inset:0}.customer-chat-drawer{z-index:1;background:#fff;flex-direction:column;width:min(500px,100vw - 40px);height:100%;animation:.22s ease-out customer-chat-slide-in;display:flex;position:relative;box-shadow:-18px 0 50px #102a3a38}.customer-chat-drawer-titlebar{background:#fff;border-bottom:1px solid #e5edf1;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px 18px;display:flex}.customer-chat-drawer-titlebar h2{color:#102a3a;margin:2px 0 0;font-size:18px}.customer-chat-drawer-eyebrow{color:#78909c;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.customer-chat-drawer-close{color:#536b79;cursor:pointer;background:#fff;border:1px solid #d7e3e8;border-radius:50%;place-items:center;width:38px;height:38px;font-size:26px;line-height:1;display:grid}.customer-chat-drawer-close:hover{color:#0f8f71;border-color:#0fba91}.customer-chat-drawer-content{background:#eef3f5;flex:1;min-height:0;overflow:hidden}.customer-chat-drawer .customer-message-panel{flex-direction:column;gap:0;height:100%;min-height:0;display:flex}.customer-chat-drawer .customer-message-panel-toolbar,.customer-chat-drawer .customer-message-start-controls,.customer-chat-drawer .alert{margin:12px 14px 0}.customer-chat-drawer .customer-message-panel-toolbar{flex:none}.customer-chat-drawer .customer-message-frame{background:#fff;border:1px solid #d7e3e8;border-radius:18px;flex:1;min-height:0;margin:12px;overflow:hidden;box-shadow:0 12px 30px #102a3a14}.customer-chat-drawer .phone-thread-shell{height:100%;min-height:0}.customer-chat-drawer .customer-message-empty{margin:16px}.phone-message-bubble.has-media{padding:5px;overflow:hidden}.phone-message-bubble.has-media .phone-message-text{white-space:pre-wrap;padding:8px 10px 7px}.phone-message-media-grid{border-radius:14px;gap:3px;display:grid;overflow:hidden}.phone-message-media-grid.media-count-1{grid-template-columns:minmax(190px,320px)}.phone-message-media-grid.media-count-2,.phone-message-media-grid.media-count-3,.phone-message-media-grid.media-count-4{grid-template-columns:repeat(2,minmax(100px,170px))}.phone-message-image-button{cursor:zoom-in;background:#dce7eb;border:0;border-radius:11px;min-width:0;padding:0;overflow:hidden}.phone-message-image-button img{object-fit:cover;width:100%;height:190px;display:block}.phone-message-media-grid.media-count-2 .phone-message-image-button img,.phone-message-media-grid.media-count-3 .phone-message-image-button img,.phone-message-media-grid.media-count-4 .phone-message-image-button img{height:132px}.phone-message-media-placeholder{min-width:190px;min-height:120px;color:inherit;text-align:center;background:#ffffff80;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.phone-message-media-placeholder span{font-size:25px}.phone-message-media-placeholder small{opacity:.8;max-width:210px;font-size:11px;line-height:1.35}.phone-message-media-placeholder.failed{color:#a2162f;background:#fff1f2}.phone-composer-image-previews{gap:8px;padding:0 2px;display:flex;overflow-x:auto}.phone-composer-image-preview{flex:0 0 68px;width:68px;height:68px;position:relative;overflow:visible}.phone-composer-image-preview img{object-fit:cover;border:1px solid #cfdde3;border-radius:12px;width:100%;height:100%;display:block}.phone-composer-image-preview button{color:#fff;cursor:pointer;background:#344b58;border:2px solid #fff;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;font-size:16px;line-height:1;display:grid;position:absolute;top:-7px;right:-7px}.phone-attach-button{color:#0f8f71;cursor:pointer;background:#fff;border:1px solid #cbd9df;border-radius:50%;flex:0 0 36px;place-items:center;width:36px;height:36px;padding:0;font-size:25px;font-weight:400;line-height:1;display:grid}.phone-attach-button:hover:not(:disabled){background:#effbf7;border-color:#0fba91}.phone-attach-button:disabled{cursor:not-allowed;opacity:.5}.message-image-lightbox{z-index:1500;place-items:center;padding:30px;display:grid;position:fixed;inset:0}.message-image-lightbox-backdrop{background:#040f16e0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.message-image-lightbox-content{z-index:1;max-width:min(1000px,94vw);max-height:90vh;position:relative}.message-image-lightbox-content img{object-fit:contain;border-radius:12px;max-width:100%;max-height:90vh;display:block;box-shadow:0 20px 80px #00000073}.message-image-lightbox-close{z-index:2;color:#fff;cursor:pointer;background:#1e333f;border:2px solid #ffffffd9;border-radius:50%;place-items:center;width:38px;height:38px;padding:0;font-size:25px;display:grid;position:absolute;top:-16px;right:-16px}@keyframes customer-chat-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes customer-chat-fade-in{0%{opacity:0}to{opacity:1}}@media (width<=720px){.customer-chat-drawer{width:100vw}.customer-chat-drawer .customer-message-frame{border-radius:12px;margin:8px}.customer-chat-drawer-titlebar{min-height:64px;padding:10px 14px}.phone-message-media-grid.media-count-1{grid-template-columns:minmax(170px,280px)}.phone-message-image-button img{height:170px}.message-image-lightbox{padding:14px}}.phone-message-composer{overscroll-behavior:contain;flex:none;max-height:min(48vh,360px);position:relative;overflow-y:auto}.phone-composer-row textarea{resize:none;white-space:pre-wrap;overflow-wrap:anywhere;height:42px;min-height:42px;max-height:176px;transition:height 90ms;overflow-y:hidden}.phone-paste-notice{z-index:4;color:#08745c;pointer-events:none;background:#ecfdf7;border:1px solid #b8eadb;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;position:absolute;top:-34px;right:14px;box-shadow:0 6px 18px #0f2a3a1f}.phone-composer-image-previews+.phone-composer-row{margin-top:10px}.phone-composer-hint{white-space:normal;line-height:1.35}.customer-chat-drawer .phone-message-composer{max-height:min(44vh,330px)}@media (width<=820px){body:has(.message-inbox-thread.mobile-open){overflow:hidden}.message-inbox-thread.mobile-open{top:calc(58px + env(safe-area-inset-top));right:0;bottom:calc(var(--mobile-bottom-nav-height,68px) + env(safe-area-inset-bottom));height:auto;min-height:0;left:0}.message-inbox-thread.mobile-open .phone-thread-shell{height:100%;min-height:0}.message-inbox-thread.mobile-open .phone-thread-header{z-index:8;flex:none;min-height:64px;padding:8px 12px;position:sticky;top:0;box-shadow:0 2px 12px #0f172a14}.message-inbox-thread.mobile-open .phone-thread-back{white-space:nowrap;border-radius:14px;justify-content:center;align-items:center;gap:5px;width:auto;min-width:44px;height:44px;padding:0 11px 0 9px;font-size:0;display:inline-flex}.message-inbox-thread.mobile-open .phone-thread-back:before{content:"←";font-size:23px;line-height:1}.message-inbox-thread.mobile-open .phone-thread-back:after{content:"Messages";font-size:12px;font-weight:800;line-height:1}.message-inbox-thread.mobile-open .phone-message-scroll{min-height:0;padding-bottom:20px}.message-inbox-thread.mobile-open .phone-message-composer{z-index:3;padding-bottom:12px;box-shadow:0 -8px 24px #0f172a14}}@media (width<=720px){.phone-message-composer{max-height:46vh;padding-bottom:max(12px, env(safe-area-inset-bottom))}.message-inbox-thread.mobile-open .phone-message-composer{padding-bottom:12px}.phone-composer-row textarea{max-height:148px}.phone-composer-hint{text-align:left;margin-right:4px}}@media (width<=430px){.message-inbox-thread.mobile-open .phone-thread-header{gap:8px}.message-inbox-thread.mobile-open .phone-thread-back{padding-inline:9px}.message-inbox-thread.mobile-open .phone-thread-back:after{content:"Back"}.message-inbox-thread.mobile-open .phone-thread-avatar{width:36px;height:36px}}.customer-message-start-controls.has-recipient-choice{box-sizing:border-box;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr) 72px;align-items:end;gap:8px;min-width:0;padding:9px 10px}.customer-message-compact-field{gap:4px;min-width:0;display:grid}.customer-message-compact-field>span{color:#526872;letter-spacing:.03em;text-transform:uppercase;font-size:10px;font-weight:800}.customer-message-compact-field select{box-sizing:border-box;color:#102a3a;width:100%;min-width:0;max-width:100%;min-height:36px;font:inherit;text-overflow:ellipsis;background:#fff;border:1px solid #d8e0e4;border-radius:9px;padding:7px 30px 7px 9px;font-size:12px}.customer-message-compact-field select:focus{border-color:#20a980;outline:none;box-shadow:0 0 0 2px #20a9801f}.customer-message-start-button{box-sizing:border-box;white-space:nowrap;justify-self:end;width:72px;min-width:0;min-height:36px;padding-inline:10px}@media (width<=720px){.customer-message-start-controls.has-recipient-choice{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.customer-message-start-button{grid-column:1/-1;justify-self:stretch;width:100%}}@media (width<=560px){.customer-message-start-controls.has-recipient-choice{grid-template-columns:minmax(0,1fr);align-items:stretch}.customer-message-start-button{grid-column:auto;width:100%}}.customer-recent-purchases{gap:.85rem;display:grid}.customer-recent-purchases-note{color:var(--text-muted,#667085);font-size:.84rem;line-height:1.45}.customer-recent-purchases-list{gap:.7rem;display:grid}.customer-recent-purchase-card{border:1px solid var(--border-color,#e5e7eb);background:var(--surface,#fff);border-radius:12px;gap:.7rem;padding:.85rem .95rem;display:grid}.customer-recent-purchase-main{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.customer-recent-purchase-name{gap:.35rem;min-width:0;display:grid}.customer-recent-purchase-name strong{color:var(--text-primary,#111827);font-size:.96rem;line-height:1.3}.customer-recent-purchase-name span{background:var(--surface-muted,#f3f4f6);width:fit-content;color:var(--text-secondary,#475467);border-radius:999px;padding:.18rem .5rem;font-size:.72rem;font-weight:700}.customer-recent-purchase-price{text-align:right;flex:none;gap:.15rem;display:grid}.customer-recent-purchase-price small,.customer-recent-purchase-history span{color:var(--text-muted,#667085);font-size:.72rem;font-weight:600}.customer-recent-purchase-price strong{color:var(--text-primary,#111827);font-size:1.05rem}.customer-recent-purchase-meta{color:var(--text-secondary,#475467);flex-wrap:wrap;gap:.45rem .9rem;font-size:.76rem;display:flex}.customer-recent-purchase-meta strong{color:var(--text-primary,#111827)}.customer-recent-purchase-history{border-top:1px solid var(--border-color,#e5e7eb);flex-wrap:wrap;align-items:baseline;gap:.35rem .6rem;padding-top:.6rem;display:flex}.customer-recent-purchase-history strong{color:var(--text-primary,#111827);font-size:.82rem}.customer-recent-purchase-history small{color:var(--text-muted,#667085);font-size:.72rem}.customer-recent-purchases-state{border:1px dashed var(--border-color,#d0d5dd);color:var(--text-muted,#667085);border-radius:10px;padding:.9rem;font-size:.84rem}.customer-recent-purchases-state.is-error{color:var(--danger-text,#b42318);background:var(--danger-surface,#fff5f4)}.customer-recent-purchases.is-compact{gap:.65rem}.customer-recent-purchases.is-compact .customer-recent-purchases-note{font-size:.76rem}.customer-recent-purchases.is-compact .customer-recent-purchases-list{gap:.55rem}.customer-recent-purchases.is-compact .customer-recent-purchase-card{border-radius:10px;gap:.55rem;padding:.72rem}.customer-recent-purchases.is-compact .customer-recent-purchase-name strong{font-size:.86rem}.customer-recent-purchases.is-compact .customer-recent-purchase-price strong{font-size:.94rem}.customer-recent-purchases.is-compact .customer-recent-purchase-meta,.customer-recent-purchases.is-compact .customer-recent-purchase-history strong{font-size:.72rem}@media (width<=680px){.customer-recent-purchase-main{gap:.65rem}.customer-recent-purchase-price strong{font-size:.95rem}.customer-recent-purchase-meta{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.customer-recent-purchase-meta span:last-child{grid-column:1/-1}}.customer-workspace-status-card,.customer-workspace-status-editor{background:#edf9f5;border:1px solid #bfe9dc;border-radius:12px;margin-bottom:10px;padding:12px}.customer-workspace-status-card-heading,.customer-workspace-status-editor-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.customer-workspace-status-card-heading>div,.customer-workspace-status-editor-heading>div{min-width:0}.customer-workspace-status-card-heading span,.customer-workspace-status-card-heading strong,.customer-workspace-status-card-heading small,.customer-workspace-status-editor-heading span,.customer-workspace-status-editor-heading strong{display:block}.customer-workspace-status-card-heading span,.customer-workspace-status-editor-heading span,.customer-workspace-status-summary span,.customer-workspace-status-editor label>span{color:#0b7e64;letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:850}.customer-workspace-status-card-heading strong,.customer-workspace-status-editor-heading strong{color:#0c4f43;margin-top:3px;font-size:14px}.customer-workspace-status-card-heading small{color:#4c746b;margin-top:3px;font-size:10px}.customer-workspace-status-card-heading button,.customer-workspace-status-editor-heading button{color:#0b6b59;font:inherit;cursor:pointer;background:#fff;border:1px solid #9edacb;border-radius:8px;flex:none;padding:6px 9px;font-size:10px;font-weight:800}.customer-workspace-status-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px;display:grid}.customer-workspace-status-summary>div{background:#ffffffb8;border-radius:9px;min-width:0;padding:8px}.customer-workspace-status-summary span,.customer-workspace-status-summary strong{display:block}.customer-workspace-status-summary strong{color:#193f36;text-overflow:ellipsis;margin-top:2px;font-size:10px;line-height:1.35;overflow:hidden}.customer-workspace-status-editor{gap:10px;display:grid}.customer-workspace-status-editor label{gap:5px;display:grid}.customer-workspace-status-editor select,.customer-workspace-status-editor input[type=datetime-local],.customer-workspace-status-editor textarea{box-sizing:border-box;color:#173b33;width:100%;font:inherit;background:#fff;border:1px solid #bfd6cf;border-radius:9px;font-size:11px}.customer-workspace-status-editor select,.customer-workspace-status-editor input[type=datetime-local]{min-height:36px;padding:7px 9px}.customer-workspace-status-editor textarea{resize:vertical;min-height:58px;padding:8px 9px}.customer-workspace-status-editor label small{color:#55776e;font-size:9px;line-height:1.4}.customer-workspace-reset-row{background:#ffffffa3;border-radius:9px;grid-template-columns:auto 1fr;align-items:center;padding:8px;gap:7px!important}.customer-workspace-reset-row input{margin:0}.customer-workspace-reset-row span{color:#315f54!important;letter-spacing:0!important;text-transform:none!important;font-size:10px!important;font-weight:700!important}.customer-workspace-status-error{color:#b42318;background:#fff1f0;border-radius:8px;padding:8px 9px;font-size:10px}.customer-workspace-status-actions{justify-content:flex-end;gap:7px;display:flex}.customer-workspace-status-actions button{min-height:34px;font:inherit;cursor:pointer;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:800}.customer-workspace-status-actions .secondary{color:#315f54;background:#fff;border:1px solid #bfd6cf}.customer-workspace-status-actions .primary{color:#fff;background:#0b7e64;border:1px solid #0b7e64}.customer-workspace-status-actions button:disabled,.customer-workspace-status-card-heading button:disabled,.customer-workspace-status-editor-heading button:disabled{cursor:not-allowed;opacity:.55}@media (width<=560px){.customer-workspace-status-summary{grid-template-columns:1fr}}.record-call-history-layer{z-index:1200;justify-content:flex-end;display:flex;position:fixed;inset:0}.record-call-history-backdrop{cursor:default;background:#0f172a7a;border:0;position:absolute;inset:0}.record-call-history-drawer{z-index:1;background:#fff;flex-direction:column;width:min(620px,96vw);height:100%;display:flex;position:relative;box-shadow:-18px 0 48px #0f172a33}.record-call-history-header{border-bottom:1px solid var(--border-light,#e5e7eb);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.record-call-history-header span{color:var(--text-secondary,#64748b);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:12px;font-weight:800;display:block}.record-call-history-header h2{margin:0;font-size:24px}.record-call-history-header small{color:var(--text-secondary,#64748b);margin-top:5px;display:block}.record-call-history-close{border:1px solid var(--border-light,#e5e7eb);cursor:pointer;background:#fff;border-radius:10px;width:38px;height:38px;font-size:24px;line-height:1}.record-call-history-filters{border-bottom:1px solid var(--border-light,#e5e7eb);background:#f8fafc;flex-wrap:wrap;gap:8px;padding:14px 24px;display:flex}.record-call-history-filters button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe3ec;border-radius:999px;padding:7px 12px;font-weight:700}.record-call-history-filters button.active{color:#fff;background:#111827;border-color:#111827}.record-call-history-content{background:#f8fafc;flex:1;min-height:0;padding:18px 20px 28px;overflow-y:auto}.record-call-history-list{gap:12px;display:grid}.record-call-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;box-shadow:0 1px 2px #0f172a0a}.record-call-history-card-top,.record-call-history-direction,.record-call-history-actions{align-items:center;display:flex}.record-call-history-card-top{justify-content:space-between;gap:14px}.record-call-history-direction{gap:10px}.record-call-history-direction>span{background:#eef2ff;border-radius:50%;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.record-call-history-direction strong,.record-call-history-direction small{display:block}.record-call-history-direction small{color:#64748b;margin-top:2px}.record-call-history-status{color:#475569;background:#eef2f7;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.record-call-history-status.status-missed,.record-call-history-status.status-failed,.record-call-history-status.status-no_answer,.record-call-history-status.status-busy{color:#b91c1c;background:#fef2f2}.record-call-history-status.status-completed{color:#047857;background:#ecfdf5}.record-call-history-status.status-ringing,.record-call-history-status.status-in_progress{color:#1d4ed8;background:#eff6ff}.record-call-history-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.record-call-history-meta>div{background:#f8fafc;border-radius:10px;min-width:0;padding:10px}.record-call-history-meta span,.record-call-history-meta strong,.record-call-history-meta small{display:block}.record-call-history-meta span{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:700}.record-call-history-meta strong{color:#0f172a;margin-top:3px;font-size:13px}.record-call-history-meta small{color:#64748b;margin-top:2px}.record-call-history-actions{flex-wrap:wrap;gap:10px;margin-top:14px}.record-call-history-state{color:#64748b;text-align:center;place-items:center;min-height:180px;padding:24px;display:grid}.record-call-history-state.is-error{color:#b42318}@media (width<=640px){.record-call-history-drawer{width:100vw}.record-call-history-header,.record-call-history-filters{padding-left:16px;padding-right:16px}.record-call-history-content{padding:14px}.record-call-history-meta{grid-template-columns:1fr}}.message-inbox-layout.has-record-workspace{grid-template-columns:minmax(300px,350px) minmax(420px,1fr) minmax(260px,320px);gap:14px}.inbox-desktop-workspace{min-width:0;min-height:0;overflow:hidden}.inbox-desktop-workspace>.inbox-record-workspace{height:100%}.inbox-mobile-workspace{display:none}.inbox-thread-content{width:100%;height:100%;min-height:0}.inbox-outreach-controls:has(>div>button:not(.danger))>span{display:none!important}.inbox-outreach-controls:has(>div>button:not(.danger))>div>button:not(.danger){display:none!important}@media (width<=1180px) and (width>=821px){.message-inbox-layout.has-record-workspace{grid-template-columns:300px minmax(380px,1fr) 250px;gap:10px}}@media (width<=920px) and (width>=821px){.message-inbox-layout.has-record-workspace{grid-template-columns:290px minmax(0,1fr)}.inbox-desktop-workspace{display:none}.message-inbox-thread{flex-direction:column;display:flex;overflow:hidden}.inbox-mobile-workspace{flex:none;max-height:36%;display:block;overflow-y:auto}.inbox-thread-content{flex:1;min-height:0}}@media (width<=820px){.inbox-desktop-workspace{display:none}.message-inbox-thread.mobile-open{background:#f7f9fa;flex-direction:column;z-index:5000!important;border:0!important;border-radius:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important}.message-inbox-thread.mobile-open .inbox-mobile-workspace{display:none!important}.message-inbox-thread.mobile-open .inbox-thread-content{flex:auto;width:100%;height:100%;min-height:0;overflow:hidden}.message-inbox-thread.mobile-open .phone-thread-shell{width:100%;height:100%!important;min-height:0!important;max-height:100dvh!important;box-shadow:none!important;border-radius:0!important}.message-inbox-thread.mobile-open .phone-thread-header{flex:none;padding-top:max(8px, env(safe-area-inset-top))!important}.message-inbox-thread.mobile-open .phone-message-scroll{-webkit-overflow-scrolling:touch;flex:auto!important;min-height:0!important;padding:12px 10px 18px!important;overflow-y:auto!important}.message-inbox-thread.mobile-open .phone-message-content{min-width:0;max-width:90%!important}.message-inbox-thread.mobile-open .phone-message-bubble,.message-inbox-thread.mobile-open .phone-message-text{word-break:break-word;max-width:100%;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.message-inbox-thread.mobile-open .phone-message-composer{background:#fff;flex:none;max-height:42dvh;overflow-y:auto;padding-bottom:max(12px, env(safe-area-inset-bottom))!important}.message-inbox-thread.mobile-open .phone-composer-row textarea{min-width:0;font-size:16px}}.inbox-record-workspace{background:#fff;border:1px solid #dfe5e8;border-radius:18px;min-width:0;min-height:0;overflow-y:auto;box-shadow:0 10px 28px #0f2a3a0d}.inbox-record-workspace-header{box-sizing:border-box;border-bottom:1px solid #edf0f2;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;min-width:0;padding:16px;display:grid;overflow:hidden}.inbox-record-workspace-heading{min-width:0;overflow:hidden}.inbox-record-workspace-heading>span{color:#71838d;letter-spacing:.07em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:800;display:block;overflow:hidden}.inbox-record-workspace-heading h3{color:#102a3a;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 2px;font-size:17px;overflow:hidden}.inbox-record-workspace-heading small{color:#71838d;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;display:block;overflow:hidden}.inbox-record-open,.inbox-record-section-title button{color:#0b7e64;font:inherit;cursor:pointer;background:#eef8f5;border:0;border-radius:9px;font-size:11px;font-weight:750}.inbox-record-open{box-sizing:border-box;white-space:nowrap;align-self:start;max-width:100%;padding:7px 9px}.inbox-record-workspace-state{color:#71838d;text-align:center;place-items:center;min-height:220px;padding:24px;display:grid}.inbox-record-notice{border-radius:10px;margin:12px 14px 0;padding:9px 10px;font-size:11px}.inbox-record-notice.is-success{color:#0b6b59;background:#edf9f5}.inbox-record-notice.is-error{color:#b42318;background:#fef3f2}.inbox-record-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 14px 4px;display:grid}.inbox-record-quick-actions button{color:#294352;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8e0e4;border-radius:10px;font-size:12px;font-weight:750}.inbox-record-quick-actions button:first-child{color:#0b7e64;background:#edf9f5;border-color:#bfe9dc}.inbox-record-quick-actions button:disabled,.inbox-review-actions button:disabled,.inbox-outreach-controls button:disabled{cursor:not-allowed;opacity:.5}.inbox-record-section{border-bottom:1px solid #edf0f2;padding:14px}.inbox-record-section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.inbox-record-section-title h4{color:#294352;margin:0;font-size:12px}.inbox-record-section-title button{padding:6px 9px}.inbox-follow-up-card{background:#edf9f5;border:1px solid #bfe9dc;border-radius:12px;margin-bottom:10px;padding:12px}.inbox-follow-up-card span,.inbox-follow-up-card strong,.inbox-follow-up-card small{display:block}.inbox-follow-up-card span{color:#0b7e64;letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:850}.inbox-follow-up-card strong{color:#0c4f43;margin-top:3px;font-size:14px}.inbox-follow-up-card small{color:#4c746b;margin-top:3px;font-size:10px}.inbox-record-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.inbox-record-status-grid>div{background:#f8fafb;border-radius:10px;min-width:0;padding:9px 10px}.inbox-record-status-grid span,.inbox-outreach-controls>span{color:#7a8c95;letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:800;display:block}.inbox-record-status-grid strong{color:#102a3a;text-overflow:ellipsis;font-size:11px;line-height:1.35;display:block;overflow:hidden}.inbox-last-call-card,.inbox-next-action{background:#fbfcfc;border:1px solid #e1e7ea;border-radius:11px;padding:10px 11px}.inbox-last-call-card>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.inbox-last-call-card strong,.inbox-next-action strong{color:#102a3a;font-size:12px}.inbox-last-call-card span{color:#61757f;background:#edf2f4;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800}.inbox-last-call-card small,.inbox-next-action small{color:#71838d;margin-top:4px;font-size:10px;display:block}.inbox-record-empty{color:#71838d;text-align:center;border:1px dashed #d6dfe3;border-radius:10px;padding:12px;font-size:11px}.inbox-next-action{gap:2px;display:grid}.inbox-next-action>span{color:#7a8c95;letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:800}.inbox-next-action.needs-review{background:#f7f2ff;border-color:#d7c5f8}.inbox-next-action.needs-review>span,.inbox-next-action.needs-review strong{color:#6842a8}.inbox-review-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.inbox-review-actions button,.inbox-outreach-controls button{color:#294352;min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8e0e4;border-radius:9px;padding:7px 8px;font-size:10px;font-weight:750}.inbox-review-actions .is-active{color:#0b6b59;background:#edf9f5;border-color:#bfe9dc}.inbox-review-actions .is-warming{color:#9a6700;background:#fff8e6;border-color:#fde0a3}.inbox-review-actions .is-cooling{color:#285f9b;background:#eff6ff;border-color:#c8dcf7}.inbox-review-actions .is-lost,.inbox-review-actions .is-do_not_contact,.inbox-outreach-controls button.danger{color:#b42318;background:#fff4f3;border-color:#f3c6c3}.inbox-outreach-controls{border-top:1px solid #edf0f2;margin-top:12px;padding-top:10px}.inbox-outreach-controls>div{flex-wrap:wrap;gap:6px;display:flex}.inbox-outreach-controls button{flex:42px}.inbox-outreach-controls button.danger{flex-basis:100%}.inbox-record-stop-reason{color:#7a5a08;background:#fff8e6;border-radius:10px;margin:12px 14px 14px;padding:10px 11px;font-size:11px}.inbox-row-call-summary{color:#6d7f89;align-items:center;gap:4px;margin-top:4px;font-size:9px;display:inline-flex}@media (width<=1180px){.inbox-record-status-grid,.inbox-record-quick-actions{grid-template-columns:1fr}}@media (width<=920px){.inbox-record-workspace{box-shadow:none;border:0;border-bottom:1px solid #dfe5e8;border-radius:0;max-height:42dvh}.inbox-record-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-record-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=560px){.inbox-record-workspace-header,.inbox-record-section,.inbox-record-quick-actions{padding-inline:12px}.inbox-record-workspace-header{gap:8px}.inbox-record-open{padding-inline:8px;font-size:10px}.inbox-record-status-grid,.inbox-review-actions,.inbox-record-quick-actions{grid-template-columns:1fr}}.customer-chat-drawer--workspace{width:min(980px,100vw - 32px)}.customer-chat-drawer-content--workspace{grid-template-columns:minmax(0,1fr) 340px;min-height:0;display:grid;overflow:hidden}.customer-chat-message-column,.customer-chat-workspace-column{min-width:0;min-height:0}.customer-chat-message-column{overflow:hidden}.customer-chat-workspace-column{background:#f8fafb;border-left:1px solid #d7e3e8;overflow-y:auto}.customer-chat-workspace-column .inbox-record-workspace{min-height:100%;box-shadow:none;border:0;border-radius:0;overflow:visible}.customer-chat-workspace-column .inbox-record-workspace-header{z-index:2;background:#fff;position:sticky;top:0}@media (width<=900px){.customer-chat-drawer--workspace{width:min(760px,100vw)}.customer-chat-drawer-content--workspace{grid-template-rows:minmax(0,1fr) minmax(230px,40dvh);grid-template-columns:1fr}.customer-chat-workspace-column{border-top:1px solid #d7e3e8;border-left:0}.customer-chat-workspace-column .inbox-record-workspace{max-height:none}}@media (width<=720px){.customer-chat-drawer--workspace{width:100vw}.customer-chat-drawer-content--workspace{grid-template-rows:minmax(0,1fr) minmax(210px,38dvh)}}.customer-outreach-master-state{white-space:nowrap;border-radius:999px;align-items:center;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.customer-outreach-master-state.is-off{color:#65727a;background:#f1f3f5}.customer-outreach-master-state.is-on{color:#087458;background:#dcf8ec}.customer-outreach-disabled-banner{color:#53656e;background:#f8fafb;border:1px solid #dfe5e8;border-radius:10px;padding:11px 13px;font-size:12px;line-height:1.45}.customer-outreach-action-section,.customer-outreach-automation-section{gap:10px;display:grid}.customer-outreach-action-card{background:linear-gradient(135deg,#faf7ff,#fff);border:1px solid #d9c9fa;border-left:5px solid #7c3aed;border-radius:12px;gap:12px;padding:16px;display:grid}.customer-outreach-action-card.is-overdue{background:snow;border-color:#f1c4c4 #f1c4c4 #f1c4c4 #c93636}.customer-outreach-action-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.customer-outreach-action-heading span{color:#7c3aed;letter-spacing:.08em;text-transform:uppercase;font-size:9px;font-weight:900;display:block}.customer-outreach-action-heading h5{color:#2e174f;margin:3px 0 0;font-size:16px}.customer-outreach-action-heading>strong{color:#6330ac;text-transform:capitalize;background:#eee6ff;border-radius:999px;padding:4px 8px;font-size:10px}.customer-outreach-action-card p{color:#534365;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.customer-outreach-action-meta{color:#776789;flex-wrap:wrap;gap:8px 16px;font-size:11px;display:flex}.customer-outreach-action-empty{color:#74828a;text-align:center;border:1px dashed #d7dce0;border-radius:10px;padding:16px}.customer-outreach-review{border-top:1px solid #ebe2fa;gap:10px;padding-top:4px;display:grid}.customer-outreach-review label{gap:5px;display:grid}.customer-outreach-review label span{color:#654e7b;font-size:10px;font-weight:800}.customer-outreach-review textarea{width:100%;font:inherit;resize:vertical;background:#fff;border:1px solid #d7c9e9;border-radius:9px;padding:9px}.customer-outreach-review-buttons{flex-wrap:wrap;gap:7px;display:flex}.customer-outreach-review-button{color:#4e3766;cursor:pointer;background:#fff;border:1px solid #d7c9e9;border-radius:8px;min-height:34px;padding:0 11px;font-size:11px;font-weight:800}.customer-outreach-review-button:hover{background:#f5efff}.customer-outreach-review-button.is-active{color:#087458;border-color:#86cdb7}.customer-outreach-review-button.is-warming{color:#8a5c0b;border-color:#e4b768}.customer-outreach-review-button.is-cooling{color:#17617f;border-color:#7bb4d0}.customer-outreach-review-button.is-lost,.customer-outreach-review-button.is-do_not_contact{color:#a32d2d;border-color:#dfa0a0}.customer-outreach-review-button:disabled{opacity:.55;cursor:not-allowed}.customer-outreach-automation-list{gap:8px;display:grid}.customer-outreach-automation-task{background:#fff;border:1px solid #e1e7ea;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.customer-outreach-automation-task p{color:#62737c;margin:5px 0;font-size:12px;line-height:1.4}.customer-outreach-automation-task small{color:#849198;margin-top:3px;font-size:10px;display:block}@media (width<=720px){.customer-outreach-action-heading,.customer-outreach-automation-task{flex-direction:column;align-items:stretch}.customer-outreach-review-buttons{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.customer-outreach-review-button:last-child{grid-column:1/-1}}.product-name-autocomplete{width:100%;position:relative}.product-name-autocomplete>input{width:100%}.product-name-suggestions{z-index:120;border:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);border-radius:10px;max-height:260px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 14px 34px #102a3a2e}.product-name-suggestions button{width:100%;color:var(--text-primary,#102a3a);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:9px 10px;font-weight:650;line-height:1.3;display:block}.product-name-suggestions button:hover,.product-name-suggestions button.is-active{background:var(--teal-50,#f0fdfa);color:var(--teal-800,#115e59)}.product-name-suggestions button:focus-visible{outline:2px solid var(--teal-500,#14b8a6);outline-offset:-2px}.admin-center-page{min-width:0;max-width:1600px}.admin-center-header{align-items:flex-end}.admin-invite-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.admin-invite-button span{font-size:18px;line-height:1}.admin-alert{border:1px solid;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-size:13px;font-weight:600}.admin-alert-success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.admin-alert-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.admin-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.admin-summary-card{border:1px solid var(--border-light);min-width:0;box-shadow:var(--shadow-subtle);background:#fff;border-radius:12px;padding:16px 18px}.admin-summary-card span,.admin-summary-card small{color:var(--text-muted);font-size:11px;display:block}.admin-summary-card span{text-transform:uppercase;letter-spacing:.03em;font-weight:800}.admin-summary-card strong{color:var(--text-primary);margin:6px 0 4px;font-size:27px;line-height:1;display:block}.admin-toolbar{border:1px solid var(--border-light);background:#fff;border-radius:12px;align-items:center;gap:10px;margin-bottom:18px;padding:12px;display:flex}.admin-search-wrap{flex:1;min-width:240px;position:relative}.admin-search-wrap .search-input-small{width:100%;min-width:0;padding-left:38px}.admin-search-icon{z-index:1;color:var(--text-muted);pointer-events:none;font-size:18px;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.admin-toolbar .filter-select{min-width:145px}.admin-user-table table{min-width:1050px}.admin-user-cell{align-items:center;gap:11px;min-width:190px;display:flex}.admin-user-cell strong{color:var(--text-primary);font-size:13px;display:block}.admin-user-cell small{color:var(--text-muted);margin-top:3px;font-size:11px;display:block}.admin-user-avatar{background:linear-gradient(135deg, var(--blue-100,#e0f2fe), var(--green-100,#d1fae5));width:38px;height:38px;color:var(--blue-800,#075985);border-radius:11px;flex:0 0 38px;place-items:center;font-size:13px;font-weight:900;display:grid}.admin-user-avatar-large{border-radius:13px;flex-basis:46px;width:46px;height:46px;font-size:15px}.admin-platform-label{font-weight:700;color:var(--blue-700,#0369a1)!important}.admin-contact-cell{min-width:205px}.admin-contact-cell a,.admin-contact-cell small{display:block}.admin-contact-cell a{max-width:250px;color:var(--blue-700,#0369a1);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.admin-contact-cell small{color:var(--text-muted);margin-top:4px;font-size:11px}.admin-membership-chips{flex-wrap:wrap;gap:5px;min-width:145px;display:flex}.admin-organization-chip,.admin-role-badge,.admin-status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.admin-organization-chip{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe}.admin-role-owner{color:#6d28d9;background:#ede9fe}.admin-role-admin{color:#1d4ed8;background:#dbeafe}.admin-role-sales{color:#15803d;background:#dcfce7}.admin-role-operations{color:#92400e;background:#fef3c7}.admin-role-viewer{color:#475569;background:#f1f5f9}.admin-status-badge.is-active{color:#15803d;background:#dcfce7}.admin-status-badge.is-inactive{color:#b91c1c;background:#fee2e2}.admin-muted,.admin-date-cell{color:var(--text-muted);font-size:11px}.admin-date-cell{min-width:120px}.admin-action-cell{text-align:right}.admin-manage-button,.admin-membership-toggle,.admin-modal-close,.admin-danger-button,.admin-activate-button{font:inherit;cursor:pointer}.admin-manage-button{border:1px solid var(--border-light);color:var(--blue-700,#0369a1);background:#fff;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800}.admin-manage-button:hover{border-color:var(--blue-300,#7dd3fc);background:var(--blue-50,#f0f9ff)}.admin-list-summary{border-top:1px solid var(--border-light);justify-content:flex-start}.admin-state-card{border:1px dashed var(--border-light);min-height:250px;color:var(--text-muted);text-align:center;background:#fff;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:36px 24px;display:flex}.admin-state-card strong{color:var(--text-primary);font-size:15px}.admin-state-card p{max-width:520px;margin:0;font-size:13px}.admin-state-error{background:snow;border-color:#fecaca}.admin-spinner{border:2px solid var(--border-light);border-top-color:var(--blue-500,#0ea5e9);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite admin-spin}.admin-modal-backdrop{z-index:1000;background:#0f172a94;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.admin-modal{border:1px solid var(--border-light);background:#fff;border-radius:16px;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 24px 70px #0f172a47}.admin-invite-modal{width:min(640px,100%)}.admin-modal-header,.admin-modal-footer{justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.admin-modal-header{z-index:2;border-bottom:1px solid var(--border-light);background:#fff;position:sticky;top:0}.admin-modal-header h3{color:var(--text-primary);margin:0;font-size:18px}.admin-modal-header p{color:var(--text-muted);margin:4px 0 0;font-size:12px}.admin-modal-close{width:34px;height:34px;color:var(--text-muted);background:0 0;border:0;border-radius:50%;flex:0 0 34px;place-items:center;padding:0;font-size:24px;display:grid}.admin-modal-close:hover:not(:disabled){color:var(--text-primary);background:#f1f5f9}.admin-modal-body{gap:16px;padding:20px;display:grid}.admin-modal-footer{border-top:1px solid var(--border-light);background:#fff;justify-content:flex-end;position:sticky;bottom:0}.admin-access-section,.admin-role-guide{border:1px solid var(--border-light);background:#fff;border-radius:12px;padding:16px}.admin-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.admin-section-heading h4,.admin-role-guide h4{color:var(--text-primary);margin:0;font-size:14px}.admin-section-heading p{color:var(--text-muted);margin:4px 0 0;font-size:11px}.admin-danger-button,.admin-activate-button{white-space:nowrap;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:800}.admin-danger-button{color:#b91c1c;background:#fff;border:1px solid #fecaca}.admin-danger-button:hover:not(:disabled){background:#fef2f2}.admin-activate-button{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.admin-membership-list{gap:9px;margin-top:14px;display:grid}.admin-membership-row{border:1px solid var(--border-light);background:#f8fafc;border-radius:10px;grid-template-columns:minmax(180px,1fr) 150px auto;align-items:center;gap:12px;padding:12px;display:grid}.admin-membership-row.is-inactive{opacity:.72}.admin-membership-row strong,.admin-membership-row small{display:block}.admin-membership-row strong{color:var(--text-primary);font-size:12px}.admin-membership-row small{color:var(--text-muted);margin-top:3px;font-size:10px}.admin-membership-row .filter-select{width:100%}.admin-membership-toggle{border:1px solid var(--border-light);color:var(--text-secondary);background:#fff;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800}.admin-empty-membership{color:var(--text-muted);text-align:center;background:#f8fafc;border-radius:10px;margin:0;padding:16px;font-size:12px}.admin-reassign-section{background:var(--surface-soft,#f8fafc)}.admin-reassign-grid{grid-template-columns:minmax(180px,1fr) minmax(140px,.6fr) auto;align-items:end;gap:12px;margin-top:14px;display:grid}.admin-reassign-grid label,.admin-form-grid label{color:var(--text-secondary);gap:6px;font-size:11px;font-weight:700;display:grid}.admin-reassign-grid select,.admin-form-grid input,.admin-form-grid select{border:1px solid var(--border-light);width:100%;color:var(--text-primary);font:inherit;background:#fff;border-radius:8px;padding:10px 11px;font-size:13px}.admin-role-guide div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin-top:10px;display:grid}.admin-role-guide p{color:var(--text-muted);margin:0;font-size:11px;line-height:1.45}.admin-role-guide strong{color:var(--text-primary)}.admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.admin-form-wide{grid-column:1/-1}.admin-invite-note{background:var(--blue-50,#f0f9ff);color:var(--blue-800,#075985);border-radius:10px;align-items:flex-start;gap:10px;padding:12px;font-size:12px;display:flex}.admin-invite-note strong{white-space:nowrap}.admin-modal button:disabled,.admin-center-page button:disabled{opacity:.55;cursor:not-allowed}@keyframes admin-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-toolbar{flex-wrap:wrap}.admin-search-wrap{flex-basis:100%}}@media (width<=720px){.admin-center-header{align-items:flex-start}.admin-summary-grid{grid-template-columns:1fr 1fr}.admin-toolbar{align-items:stretch}.admin-toolbar .filter-select,.admin-search-wrap{width:100%;min-width:0}.admin-modal-backdrop{align-items:end;padding:0}.admin-modal{border-radius:16px 16px 0 0;width:100%;max-height:92vh}.admin-section-heading{flex-direction:column;align-items:flex-start}.admin-membership-row,.admin-reassign-grid,.admin-form-grid,.admin-role-guide div{grid-template-columns:1fr}.admin-form-wide{grid-column:auto}.admin-membership-toggle,.admin-reassign-grid button{width:100%}}@media (width<=460px){.admin-summary-grid{grid-template-columns:1fr}.admin-modal-header,.admin-modal-body,.admin-modal-footer{padding-left:15px;padding-right:15px}}.courier-operations-page{width:100%}.courier-operations-page .form-card{width:100%;max-width:none;margin-left:0;margin-right:0}.courier-operations-section{margin-bottom:18px}.courier-operations-page .list-table{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.courier-pickup-confirmation{border:1px solid var(--border-light,#dcebed);background:var(--surface-secondary,#f8fafc);border-radius:10px;margin-top:14px;padding:16px}.courier-pickup-confirmation h4{color:var(--text-primary,#1f2937);margin:0 0 6px;font-size:16px}.courier-pickup-confirmation>p{color:var(--text-secondary,#6b7280);margin:0 0 14px;font-size:13px}.courier-pickup-review-items{gap:10px;margin:12px 0 16px;display:grid}.courier-pickup-review-item{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(100px,.7fr));align-items:center;gap:12px;padding:12px 14px;display:grid}.courier-pickup-review-item strong,.courier-pickup-review-item span{overflow-wrap:anywhere}.courier-pickup-review-item small{color:var(--text-muted,#6b7280);letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:700;display:block}.courier-pickup-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.courier-pickup-actions .btn-primary,.courier-pickup-actions .btn-secondary{min-height:44px}.courier-modify-panel{border-top:1px solid var(--border-light,#dcebed);margin-top:16px;padding-top:16px}.courier-modify-item{border-bottom:1px solid var(--border-light,#dcebed);grid-template-columns:minmax(180px,1.35fr) repeat(3,minmax(130px,.8fr)) minmax(110px,.55fr);align-items:end;gap:14px;padding:14px 0;display:grid}.courier-modify-item:first-child{padding-top:0}.courier-modify-item:last-child{border-bottom:0}.courier-modify-product{align-self:center}.courier-modify-product strong{overflow-wrap:anywhere;display:block}.courier-accepted-toggle{align-items:center;gap:8px;min-height:42px;font-size:14px;font-weight:600;display:flex}.courier-accepted-toggle input{width:18px;height:18px}.courier-desktop-pickups{display:block}.courier-mobile-pickups{display:none}.courier-mobile-pickup-card{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:10px;padding:14px}.courier-mobile-pickup-card+.courier-mobile-pickup-card{margin-top:12px}.courier-mobile-pickup-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.courier-mobile-pickup-header small{color:var(--text-muted,#6b7280);margin-top:2px;display:block}.courier-mobile-pickup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.courier-mobile-field{min-width:0}.courier-mobile-field>small{color:var(--text-muted,#6b7280);letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:800;display:block}.courier-mobile-field.is-full{grid-column:1/-1}@media (width<=900px){.courier-pickup-review-item{grid-template-columns:minmax(0,1fr) repeat(2,minmax(95px,.6fr))}.courier-pickup-review-item>:last-child{grid-column:2/-1}.courier-modify-item{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.courier-modify-product,.courier-accepted-toggle{grid-column:1/-1}}@media (width<=768px){.courier-operations-page{max-width:none;padding-left:12px;padding-right:12px}.courier-operations-page .form-card{border-radius:10px;padding:16px}.courier-operations-page .page-header{margin-bottom:18px}.courier-operations-page .form-actions,.courier-pickup-actions{flex-direction:column;align-items:stretch;gap:8px}.courier-operations-page .form-actions .btn-primary,.courier-operations-page .form-actions .btn-secondary,.courier-operations-page .form-actions .admin-manage-button,.courier-pickup-actions .btn-primary,.courier-pickup-actions .btn-secondary,.courier-pickup-actions .admin-manage-button,.courier-operations-page>.form-card>.btn-primary,.courier-operations-page>.form-card>.btn-secondary{width:100%;min-height:48px;padding:12px 16px}.courier-desktop-pickups{display:none}.courier-mobile-pickups{display:block}.courier-pickup-confirmation{padding:14px}.courier-pickup-review-item,.courier-modify-item{grid-template-columns:1fr;gap:10px}.courier-pickup-review-item>:last-child,.courier-modify-product,.courier-accepted-toggle{grid-column:auto}.courier-modify-item .form-group input,.courier-modify-item .form-group select{min-height:46px;font-size:16px}.courier-mobile-pickup-grid{grid-template-columns:1fr 1fr}.courier-mobile-pickup-card .admin-manage-button,.courier-mobile-pickup-card .btn-primary,.courier-mobile-pickup-card .btn-secondary{width:100%;min-height:46px}}@media (width<=420px){.courier-mobile-pickup-grid{grid-template-columns:1fr}.courier-mobile-field.is-full{grid-column:auto}}.courier-routing-page{min-width:0;max-width:1600px}.courier-routing-header{align-items:flex-end}.courier-summary-grid,.courier-management-section{margin-bottom:22px}.courier-section-heading,.courier-subsection-heading,.courier-line-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.courier-section-heading{margin-bottom:12px}.courier-section-heading h3,.courier-subsection-heading h5,.courier-line-title h4{color:var(--text-primary);margin:0}.courier-section-heading h3{font-size:17px}.courier-section-heading p,.courier-subsection-heading p,.courier-line-title p{color:var(--text-muted);margin:4px 0 0;font-size:12px;line-height:1.45}.courier-count-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;flex:none;padding:6px 9px;font-size:10px;font-weight:800}.courier-management-table table{min-width:760px}.courier-user-cell{align-items:center;gap:11px;min-width:220px;display:flex}.courier-user-cell strong,.courier-user-cell small,.courier-line-table td strong,.courier-owner-table td strong{display:block}.courier-user-cell strong,.courier-line-table td strong,.courier-owner-table td strong{color:var(--text-primary);font-size:13px}.courier-user-cell small,.courier-cell-note{color:var(--text-muted);margin-top:3px;font-size:11px;display:block}.courier-avatar{background:linear-gradient(135deg, var(--blue-100,#e0f2fe), var(--green-100,#d1fae5));width:38px;height:38px;color:var(--blue-800,#075985);border-radius:11px;flex:0 0 38px;place-items:center;font-size:12px;font-weight:900;display:grid}.courier-role-badge,.courier-permission-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.courier-role-badge{color:#475569;background:#f1f5f9}.courier-permission-badge{color:#64748b;background:#f1f5f9}.courier-permission-badge.is-enabled{color:#15803d;background:#dcfce7}.courier-money-input-wrap{border:1px solid var(--border-light);background:#fff;border-radius:8px;align-items:center;width:138px;display:flex;overflow:hidden}.courier-money-input-wrap>span{color:var(--text-muted);padding-left:10px;font-size:12px;font-weight:800}.courier-money-input-wrap input,.courier-tier-input,.courier-timeout-control input{min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;font-size:12px}.courier-money-input-wrap input{width:100%;padding:9px 10px 9px 5px}.courier-money-input-wrap:focus-within,.courier-tier-input:focus,.courier-timeout-control>div:focus-within{border-color:var(--blue-300,#7dd3fc);box-shadow:0 0 0 2px #0ea5e914}.courier-money-input-wrap input:focus,.courier-tier-input:focus,.courier-timeout-control input:focus{outline:none}.courier-empty-state,.courier-inline-empty{border:1px dashed var(--border-light);color:var(--text-muted);text-align:center;background:#fff;border-radius:12px;font-size:12px}.courier-empty-state{padding:26px 18px}.courier-inline-empty{padding:18px}.courier-line-stack{gap:16px;display:grid}.courier-line-card{border:1px solid var(--border-light);box-shadow:var(--shadow-subtle);background:#fff;border-radius:14px;overflow:hidden}.courier-line-header{border-bottom:1px solid var(--border-light);background:var(--surface-soft,#f8fafc);padding:16px 18px}.courier-line-title{align-items:center;gap:11px;min-width:220px;display:flex}.courier-line-title h4{font-size:15px}.courier-line-title p{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.courier-line-icon{color:#0369a1;background:#e0f2fe;border-radius:11px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:17px;display:grid}.courier-line-metrics{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.courier-line-metrics span{border:1px solid var(--border-light);color:var(--text-muted);white-space:nowrap;background:#fff;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:700}.courier-line-metrics strong{color:var(--text-primary)}.courier-timeout-control{min-width:210px}.courier-timeout-control>label{color:var(--text-muted);letter-spacing:.03em;text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:800;display:block}.courier-timeout-control>div{align-items:center;gap:7px;display:flex}.courier-timeout-control input{border:1px solid var(--border-light);background:#fff;border-radius:8px;width:58px;padding:8px 9px}.courier-timeout-control span{color:var(--text-muted);font-size:11px}.courier-line-subsection{padding:16px 18px 18px}.courier-line-subsection+.courier-line-subsection{border-top:1px solid var(--border-light)}.courier-subsection-heading{margin-bottom:10px}.courier-subsection-heading h5{font-size:13px}.courier-line-table table,.courier-owner-table table{min-width:690px}.courier-tier-input{border:1px solid var(--border-light);background:#fff;border-radius:8px;width:76px;padding:8px 9px}.courier-remove-button{color:#b91c1c;font:inherit;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800}.courier-remove-button:hover:not(:disabled){background:#fef2f2}.courier-routing-page button:disabled{opacity:.55;cursor:not-allowed}@media (width<=980px){.courier-line-header{flex-wrap:wrap;align-items:flex-start}.courier-line-title{flex:280px}.courier-line-metrics{order:3;width:100%}.courier-timeout-control{flex:none}}@media (width<=760px){.courier-routing-header .page-description{max-width:none}.courier-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.courier-section-heading{align-items:flex-start}.courier-line-header,.courier-line-subsection{padding-left:14px;padding-right:14px}.courier-timeout-control{width:100%;min-width:0}}@media (width<=520px){.courier-summary-grid{grid-template-columns:1fr 1fr;gap:10px}.courier-summary-grid .admin-summary-card{padding:13px 14px}.courier-summary-grid .admin-summary-card strong{font-size:23px}.courier-section-heading{gap:10px}.courier-section-heading p{font-size:11px}.courier-count-badge{display:none}.courier-line-title{min-width:0}.courier-line-metrics{gap:6px}}.courier-compact-permission-section{min-width:0}.courier-compact-user-picker{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;display:grid}.courier-compact-user{border:1px solid var(--border-light);min-width:0;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:9px;padding:9px 10px;transition:border-color .14s,background .14s,box-shadow .14s;display:flex}.courier-compact-user:hover:not(:disabled){border-color:var(--blue-300,#7dd3fc);background:var(--blue-50,#f0f9ff)}.courier-compact-user.is-selected{background:#f0fdf4;border-color:#86efac;box-shadow:inset 0 0 0 1px #16a34a0d}.courier-compact-avatar{color:#075985;background:#e0f2fe;border-radius:8px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:10px;font-weight:900;display:grid}.courier-compact-user.is-selected .courier-compact-avatar{color:#15803d;background:#dcfce7}.courier-compact-user-copy{flex:1;min-width:0}.courier-compact-user-copy strong,.courier-compact-user-copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.courier-compact-user-copy strong{color:var(--text-primary);font-size:12px;line-height:1.25}.courier-compact-user-copy small{color:var(--text-muted);margin-top:2px;font-size:10px}.courier-compact-state{color:#64748b;background:#f1f5f9;border-radius:50%;flex:0 0 23px;place-items:center;width:23px;height:23px;font-size:14px;font-weight:900;display:grid}.courier-compact-user.is-selected .courier-compact-state{color:#fff;background:#16a34a}.courier-compact-user:focus-visible{outline:2px solid var(--blue-400,#38bdf8);outline-offset:2px}.courier-compact-user:disabled{opacity:.55;cursor:not-allowed}@media (width<=640px){.courier-compact-user-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=430px){.courier-compact-user-picker{grid-template-columns:1fr}}.vendor-modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a94;place-items:center;padding:24px;animation:.16s ease-out vendor-backdrop-in;display:grid;position:fixed;inset:0}.vendor-modal-panel{background:var(--surface,#fff);border:1px solid #94a3b840;border-radius:18px;flex-direction:column;width:min(780px,100%);max-height:min(900px,100vh - 48px);animation:.18s ease-out vendor-modal-in;display:flex;overflow:hidden;box-shadow:0 30px 80px #0f172a47}.vendor-modal-header{border-bottom:1px solid var(--border-light,#e5e7eb);background:linear-gradient(135deg,#0ea5e912,#10b98112);justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 28px 20px;display:flex}.vendor-modal-eyebrow{color:var(--blue-700,#0369a1);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.vendor-modal-header h2{color:var(--text-primary,#111827);margin:0;font-size:24px;line-height:1.2}.vendor-modal-header p{color:var(--text-secondary,#6b7280);margin:6px 0 0;font-size:13px}.vendor-modal-close{border:1px solid var(--border-light,#e5e7eb);width:38px;height:38px;color:var(--text-secondary,#64748b);cursor:pointer;background:#fffc;border-radius:10px;flex:0 0 38px;place-items:center;padding:0;font-size:25px;line-height:1;transition:all .16s;display:grid}.vendor-modal-close:hover:not(:disabled){border-color:var(--blue-300,#7dd3fc);color:var(--blue-700,#0369a1);transform:translateY(-1px)}.vendor-modal-form{flex-direction:column;flex:1;min-height:0;display:flex}.vendor-modal-body{overscroll-behavior:contain;min-height:0;padding:24px 28px 8px;overflow-y:auto}.vendor-form-section{border:0;min-width:0;margin:0 0 24px;padding:0}.vendor-form-section legend{border-bottom:1px solid var(--border-light,#e5e7eb);width:100%;color:var(--text-primary,#111827);margin-bottom:14px;padding-bottom:8px;font-size:13px;font-weight:800}.vendor-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.vendor-form-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.vendor-form-span-two{grid-column:span 2}.vendor-form-span-three{grid-column:span 3}.vendor-form-span-two-column{grid-column:span 2}.required-marker{color:#dc2626}.currency-input-wrap{position:relative}.currency-input-wrap>span{z-index:1;color:var(--text-muted,#64748b);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.currency-input-wrap input{width:100%;padding-left:27px}.vendor-number-readonly{background:var(--surface-soft,#f8fafc);color:var(--text-secondary,#64748b);cursor:not-allowed}.vendor-number-readonly:focus{border-color:var(--border-light,#e5e7eb);box-shadow:none}.vendor-field-help{color:var(--text-muted,#64748b);margin-top:6px;font-size:11px;line-height:1.4;display:block}.vendor-modal-footer{border-top:1px solid var(--border-light,#e5e7eb);background:var(--surface-soft,#f8fafc);justify-content:flex-end;gap:12px;padding:18px 28px;display:flex}.vendor-modal-footer .btn-primary,.vendor-modal-footer .btn-secondary{min-width:126px}@keyframes vendor-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes vendor-modal-in{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=720px){.vendor-modal-backdrop{align-items:end;padding:0}.vendor-modal-panel{border-radius:20px 20px 0 0;width:100%;max-height:96dvh}.vendor-modal-header{padding:20px 18px 16px}.vendor-modal-header h2{font-size:21px}.vendor-modal-body{padding:20px 18px 4px}.vendor-form-grid,.vendor-form-grid-three{grid-template-columns:1fr;gap:14px}.vendor-form-span-two,.vendor-form-span-three,.vendor-form-span-two-column{grid-column:span 1}.vendor-modal-footer{padding:14px 18px calc(14px + env(safe-area-inset-bottom));position:sticky;bottom:0}.vendor-modal-footer .btn-primary,.vendor-modal-footer .btn-secondary{width:100%;min-width:0}}.invoice-preview-overlay{z-index:1200;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#081a26b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.invoice-preview-dialog{background:#eef4f5;border-radius:16px;flex-direction:column;width:min(1120px,100%);max-height:94vh;display:flex;overflow:hidden;box-shadow:0 30px 80px #04141e59}.invoice-preview-toolbar,.invoice-preview-footer{background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.invoice-preview-toolbar{border-bottom:1px solid #d7e3e7}.invoice-preview-toolbar h2{color:#102a3a;margin:2px 0 0;font-size:20px}.invoice-preview-eyebrow{color:#647d89;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.invoice-preview-close{color:#536b79;cursor:pointer;background:#fff;border:1px solid #d7e3e7;border-radius:50%;place-items:center;width:38px;height:38px;font-size:25px;line-height:1;display:grid}.invoice-preview-close:hover{color:#102a3a;border-color:#8aa3ae}.invoice-preview-scroll{padding:28px;overflow:auto}.invoice-preview-paper{box-sizing:border-box;color:#111827;background:#fff;width:min(900px,100%);min-height:700px;margin:0 auto;padding:48px;box-shadow:0 10px 35px #102a3a26}.invoice-preview-settings-warning{color:#92400e;background:#fffbeb;border:1px solid #fcd34d;border-radius:7px;margin-bottom:22px;padding:10px 12px;font-size:12px;font-weight:700}.invoice-preview-document-header{justify-content:space-between;align-items:flex-start;gap:32px;min-height:150px;margin-bottom:28px;display:flex}.invoice-preview-company-mark{color:#0a746d;letter-spacing:.12em;border:2px solid #0a8f82;padding:10px 14px;font-size:15px;font-weight:900}.invoice-preview-company-details{text-align:right;flex-direction:column;align-items:flex-end;gap:5px;max-width:52%;font-size:14px;display:flex}.invoice-preview-company-details h1{margin:0 0 7px;font-size:23px}.invoice-preview-details-table,.invoice-preview-items-table{box-sizing:border-box;border-collapse:collapse;border:1px solid #111827;width:100%}.invoice-preview-details-table{margin-bottom:24px}.invoice-preview-details-table th,.invoice-preview-details-table td,.invoice-preview-items-table th,.invoice-preview-items-table td{border:1px solid #111827;padding:9px}.invoice-preview-details-table tr:last-child th,.invoice-preview-details-table tr:last-child td,.invoice-preview-items-table tr:last-child td{border-bottom:1px solid #111827}.invoice-preview-details-table th,.invoice-preview-items-table th{background:#f2f2f2;font-weight:800}.invoice-preview-details-table th{text-align:left;width:18%}.invoice-preview-details-table td{overflow-wrap:anywhere}.invoice-preview-section-title{text-align:center;margin:0 0 12px;font-size:18px}.invoice-preview-table-wrap{width:100%;padding-bottom:1px;overflow-x:auto}.invoice-preview-items-table{table-layout:fixed}.invoice-preview-items-table th{white-space:nowrap;text-align:left}.invoice-preview-center{text-align:center}.invoice-preview-money{text-align:right;white-space:nowrap}.invoice-preview-empty{text-align:center;color:#64748b;padding:24px!important}.invoice-preview-total-row td{text-align:right;font-weight:900}.invoice-preview-pdf-status{background:#f7fbfc;border-top:1px solid #d7e3e7;flex-direction:column;gap:8px;padding:12px 22px;display:flex}.invoice-preview-pdf-status>div:last-child{flex-direction:column;gap:3px;display:flex}.invoice-preview-pdf-status strong{color:#102a3a;font-size:13px}.invoice-preview-pdf-status span{color:#647d89;overflow-wrap:anywhere;font-size:12px}.invoice-preview-pdf-message{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:7px;padding:9px 11px;font-size:12px;font-weight:700}.invoice-preview-pdf-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.invoice-preview-footer{border-top:1px solid #d7e3e7}.invoice-preview-footer>span{color:#647d89;max-width:380px;font-size:13px;line-height:1.4}.invoice-preview-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.invoice-preview-footer-actions button:disabled{cursor:not-allowed;opacity:.6}@media (width<=768px){.invoice-preview-overlay{padding:0}.invoice-preview-dialog{border-radius:0;width:100%;min-height:100vh;max-height:100vh}.invoice-preview-scroll{padding:14px}.invoice-preview-paper{min-width:720px;min-height:0;padding:30px}.invoice-preview-footer{flex-direction:column;align-items:stretch}.invoice-preview-footer>span{max-width:none}.invoice-preview-footer-actions{grid-template-columns:1fr;display:grid}.invoice-preview-footer-actions button{width:100%}}.invoice-header{border-bottom:1px solid var(--border-light,#dcebed);justify-content:space-between;align-items:flex-start;gap:32px;margin-bottom:24px;padding-bottom:24px;display:flex}.invoice-header-left{flex:1}.invoice-label{color:var(--text-muted,#78909c);margin-bottom:8px;font-size:12px;font-weight:700;display:inline-block}.invoice-number{color:var(--text-primary,#102a3a);letter-spacing:-.02em;margin:0 0 12px;font-size:32px;font-weight:800}.invoice-vendor{align-items:center;gap:8px;font-size:14px;display:flex}.invoice-vendor-label{color:var(--text-muted,#78909c)}.invoice-vendor-link{color:var(--text-primary,#102a3a);cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;-webkit-text-decoration:underline #0000;text-decoration:underline #0000;transition:text-decoration-color .2s}.invoice-vendor-link:hover{-webkit-text-decoration-color:var(--text-primary,#102a3a);text-decoration-color:var(--text-primary,#102a3a)}.invoice-header-right{align-items:center;gap:16px;display:flex}.invoice-actions{gap:8px;display:flex}.btn-primary-small,.btn-secondary-small{cursor:pointer;border:none;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.btn-primary-small{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%)}.btn-primary-small:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0fba914d}.btn-secondary-small{color:var(--text-primary,#102a3a);border:1px solid var(--border-light,#dcebed);background:#fff}.btn-secondary-small:hover:not(:disabled){background:var(--surface-soft,#f7fbfc);border-color:var(--text-muted,#78909c)}.invoice-status-path{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:8px;align-items:center;gap:16px;margin-bottom:32px;padding:16px;display:flex}.status-step{text-align:center;color:var(--text-muted,#78909c);border-radius:6px;flex:1;padding:8px 12px;font-size:13px;font-weight:600;transition:all .2s}.status-step.active{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%)}.status-connector{background:var(--border-light,#dcebed);flex-shrink:0;width:16px;height:2px}.invoice-layout{grid-template-columns:1fr 320px;gap:24px;display:grid}.invoice-main{flex-direction:column;gap:24px;display:flex}.invoice-section{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:12px;padding:24px}.invoice-section h3{color:var(--text-primary,#102a3a);margin:0 0 16px;font-size:16px;font-weight:700}.invoice-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.invoice-grid>div>label{color:var(--text-muted,#78909c);text-transform:uppercase;letter-spacing:.02em;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.invoice-grid>div>p{color:var(--text-primary,#102a3a);margin:0;font-size:14px}.invoice-financial{flex-direction:column;gap:12px;display:flex}.financial-row{justify-content:space-between;padding:8px 0;font-size:14px;display:flex}.financial-row span:first-child{color:var(--text-secondary,#536b79)}.financial-row span:last-child{color:var(--text-primary,#102a3a);font-weight:600}.financial-divider{background:var(--border-light,#dcebed);height:1px;margin:8px 0}.financial-amount-paid span:last-child{color:#10b981}.financial-balance span:last-child{color:#ef4444}.vendor-card{flex-direction:column;gap:16px;display:flex}.vendor-name-section{align-items:center;gap:12px;display:flex}.vendor-name-section h4{color:var(--text-primary,#102a3a);margin:0;font-size:16px}.vendor-number{background:var(--surface-soft,#f7fbfc);color:var(--text-muted,#78909c);border-radius:4px;padding:4px 8px;font-size:12px;font-weight:600}.vendor-card>div{flex-direction:column;gap:4px;display:flex}.vendor-card label{color:var(--text-muted,#78909c);text-transform:uppercase;letter-spacing:.02em;font-size:12px;font-weight:700}.vendor-card p{color:var(--text-primary,#102a3a);margin:0;font-size:14px}.invoice-items-table{border-collapse:collapse;width:100%;font-size:14px}.invoice-items-table thead{background:var(--surface-soft,#f7fbfc);border-bottom:1px solid var(--border-light,#dcebed)}.invoice-items-table th{text-align:left;color:var(--text-muted,#78909c);text-transform:uppercase;letter-spacing:.02em;padding:12px;font-size:12px;font-weight:700}.invoice-items-table td{border-bottom:1px solid var(--border-light,#dcebed);color:var(--text-primary,#102a3a);padding:12px}.invoice-items-table tbody tr:hover{background:var(--surface-soft,#f7fbfc)}.payments-list{flex-direction:column;gap:12px;display:flex}.payment-item{background:var(--surface-soft,#f7fbfc);border:1px solid var(--border-light,#dcebed);border-radius:6px;padding:12px}.payment-header{justify-content:space-between;margin-bottom:4px;display:flex}.payment-date{color:var(--text-muted,#78909c);font-size:12px;font-weight:600}.payment-amount{color:#10b981;font-size:14px;font-weight:700}.payment-notes{color:var(--text-secondary,#536b79);margin:8px 0 0;font-size:12px}.pdf-placeholder{text-align:center;background:var(--surface-soft,#f7fbfc);border:2px dashed var(--border-light,#dcebed);border-radius:8px;padding:32px}.pdf-placeholder p{color:var(--text-secondary,#536b79);margin:0 0 16px}.pdf-viewer{flex-direction:column;gap:16px;display:flex}.pdf-controls{justify-content:flex-end;gap:8px;display:flex}.invoice-activity{border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:12px;height:fit-content;padding:24px;position:sticky;top:24px}.invoice-activity h3{color:var(--text-primary,#102a3a);margin:0 0 16px;font-size:16px;font-weight:700}.activity-list{flex-direction:column;gap:12px;display:flex}.activity-item{background:var(--surface-soft,#f7fbfc);border-left:3px solid #0284c7;border-radius:6px;padding:12px}.activity-type{color:#0284c7;text-transform:uppercase;letter-spacing:.02em;margin-bottom:4px;font-size:11px;font-weight:700}.activity-description{color:var(--text-primary,#102a3a);margin:0 0 6px;font-size:13px}.activity-time{color:var(--text-muted,#78909c);font-size:11px}.activity-empty{text-align:center;color:var(--text-muted,#78909c);padding:16px 0}.modal-overlay{z-index:1000;background:#0000004d;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px #00000026}.modal-header{border-bottom:1px solid var(--border-light,#dcebed);justify-content:space-between;align-items:center;padding:24px;display:flex}.modal-header h2{color:var(--text-primary,#102a3a);margin:0;font-size:20px}.modal-close{color:var(--text-muted,#78909c);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:24px;display:flex}.modal-close:hover{color:var(--text-primary,#102a3a)}.modal-body{padding:24px}.modal-footer{border-top:1px solid var(--border-light,#dcebed);justify-content:flex-end;gap:12px;padding:24px;display:flex}.btn-primary,.btn-secondary{cursor:pointer;border:none;border-radius:6px;padding:10px 24px;font-size:14px;font-weight:600;transition:all .2s}.btn-primary{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:var(--text-primary,#102a3a);border:1px solid var(--border-light,#dcebed);background:#fff}.form-group{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border-light,#dcebed);color:var(--text-primary,#102a3a);background:#fff;border-radius:6px;padding:10px 12px;font-family:inherit;font-size:14px;transition:border-color .2s}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-muted,#78909c)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{background:#fff;border-color:#0284c7;outline:none}@media (width<=1024px){.invoice-layout{grid-template-columns:1fr}.invoice-activity{position:static}}@media (width<=768px){.invoice-header{flex-direction:column;gap:16px}.invoice-number{font-size:24px}.invoice-grid{grid-template-columns:1fr}.invoice-status-path{gap:8px}.status-step{padding:6px 8px;font-size:12px}.modal-content{max-height:95vh}.invoice-items-table{font-size:12px}.invoice-items-table th,.invoice-items-table td{padding:8px}}.invoice-status-path{scrollbar-width:thin;gap:8px;overflow-x:auto}.status-step{min-width:118px}.status-step.completed{color:#065f46;background:#d1fae5}.status-connector.completed{background:#10b981}.invoice-actions button:disabled{cursor:not-allowed;opacity:.6}@media (width<=900px){.invoice-header,.invoice-header-right{flex-direction:column;align-items:stretch}.invoice-actions{flex-wrap:wrap}}.invoice-detail-deal-enhancer{display:contents}.invoice-deal-cell{min-width:190px}.invoice-deal-cell-stack{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.invoice-deal-link{max-width:220px;color:var(--blue-700,#0369a1);background:var(--blue-50,#f0f9ff);text-align:left;cursor:pointer;white-space:normal;border:0;border-radius:8px;padding:5px 8px;font-weight:700;line-height:1.3;display:inline-flex}.invoice-deal-link:hover{color:var(--teal-800,#115e59);background:var(--teal-100,#ccfbf1)}.invoice-deal-link:focus-visible,.invoice-deal-review-button:focus-visible{outline-offset:2px;outline:3px solid #14b8a63d}.invoice-deal-review-button{color:#fff;font:inherit;cursor:pointer;background:#0f766e;border:1px solid #0f766e;border-radius:8px;justify-content:center;align-items:center;padding:6px 9px;font-size:.76rem;font-weight:800;line-height:1.2;display:inline-flex}.invoice-deal-review-button:hover{background:#115e59}.invoice-deal-review-status{max-width:220px;color:var(--text-muted,#78909c);font-size:.72rem;font-weight:700;line-height:1.3;display:inline-flex}.invoice-deal-review-status.is-complete{color:#047857}.invoice-deal-empty{color:var(--text-muted,#78909c)}.invoice-deal-modal{width:min(760px,100vw - 32px);max-height:min(88vh,820px);overflow:hidden}.invoice-deal-modal-header{align-items:flex-start}.invoice-deal-modal-header h2{margin:4px 0 2px}.invoice-deal-modal-header p{color:var(--text-secondary,#536b79);margin:0}.invoice-deal-modal-eyebrow{color:var(--teal-700,#0f766e);letter-spacing:.08em;text-transform:uppercase;font-weight:800}.invoice-deal-modal-body{overflow-y:auto}.invoice-deal-modal .modal-footer{z-index:2;border-top:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);position:sticky;bottom:0;box-shadow:0 -10px 24px #102a3a14}.invoice-deal-modal .modal-footer .btn-primary{min-width:230px;font-size:0}.invoice-deal-modal .modal-footer .btn-primary:after{content:"Go to Deal — View / Edit →";font-size:.95rem;font-weight:800}.invoice-deal-status-row{color:var(--text-secondary,#536b79);align-items:center;gap:10px;margin-bottom:18px;font-weight:700;display:flex}.invoice-deal-stat-grid,.invoice-deal-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.invoice-deal-stat-grid{margin-bottom:18px}.invoice-deal-stat-grid>div,.invoice-deal-detail-grid>div,.invoice-deal-long-field{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:12px;padding:14px}.invoice-deal-stat-grid label,.invoice-deal-detail-grid label,.invoice-deal-long-field label{color:var(--text-muted,#78909c);letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:.78rem;font-weight:800;display:block}.invoice-deal-stat-grid strong{color:var(--text-primary,#102a3a);font-size:1.08rem}.invoice-deal-detail-grid p,.invoice-deal-long-field p{color:var(--text-primary,#102a3a);white-space:pre-wrap;margin:0}.invoice-deal-long-field{margin-top:12px}@media (width<=720px){.invoice-deal-stat-grid,.invoice-deal-detail-grid{grid-template-columns:1fr}.invoice-deal-cell{min-width:155px}.invoice-deal-modal .modal-footer{flex-direction:column-reverse}.invoice-deal-modal .modal-footer button{width:100%}}.invoice-final-revision-notices{gap:.75rem;margin-bottom:1rem;display:grid}.invoice-final-revision-banner{justify-content:space-between;align-items:center;gap:1rem;display:flex}.invoice-final-revision-copy{gap:.25rem;display:grid}.invoice-final-revision-copy span{line-height:1.45}.invoice-final-revision-banner.is-active{border-width:2px}.invoice-final-revision-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.invoice-item-clickable-row[data-final-revision-locked=true]{cursor:not-allowed}.invoice-item-clickable-row[data-final-revision-locked=true] .invoice-item-row-action{display:none}.invoice-final-revision-modal{width:min(920px,100vw - 2rem);max-width:920px}.invoice-final-revision-eyebrow{letter-spacing:.08em;text-transform:uppercase;margin-bottom:.25rem;font-weight:700;display:block}.invoice-final-revision-items{gap:1rem;margin-top:1rem;display:grid}.invoice-final-revision-item{border:1px solid var(--border-color,#d9e2e8);border-radius:12px;gap:1rem;padding:1rem;display:grid}.invoice-final-revision-item-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.invoice-final-revision-item-heading>div{gap:.2rem;display:grid}.invoice-final-revision-item-heading small{opacity:.75}.invoice-final-revision-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;display:grid}.invoice-final-revision-item-grid .form-group{margin:0}.invoice-final-revision-item-grid label span{margin-bottom:.4rem;font-weight:600;display:block}.invoice-final-revision-total{border-top:1px solid var(--border-color,#d9e2e8);justify-content:space-between;align-items:center;margin-top:1rem;padding-top:1rem;font-size:1.05rem;display:flex}@media (width<=760px){.invoice-final-revision-banner,.invoice-final-revision-item-heading{flex-direction:column;align-items:stretch}.invoice-final-revision-actions{grid-template-columns:1fr;align-items:stretch;width:100%;display:grid}.invoice-final-revision-banner button,.invoice-final-revision-actions button{width:100%}.invoice-final-revision-item-grid{grid-template-columns:1fr}}.invoice-detail-v2 .invoice-layout{grid-template-columns:minmax(0,1fr)}.invoice-detail-v2 .invoice-layout>.invoice-activity{display:none}.invoice-activity-bottom{box-sizing:border-box;width:calc(100% - 48px);max-width:1352px;margin:-8px auto 32px;position:static}.invoice-activity-bottom-header{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:16px;display:flex}.invoice-activity-bottom-header h3{margin:0}.invoice-activity-bottom-header small{color:var(--text-muted,#78909c)}.invoice-activity-groups{gap:16px;display:grid}.invoice-activity-group{background:var(--surface-soft,#f7fbfc);border:1px solid var(--border-light,#dcebed);border-radius:10px;overflow:hidden}.invoice-activity-group-time{color:var(--text-secondary,#536b79);background:#0284c714;padding:10px 14px;font-size:12px;font-weight:700;display:block}.invoice-activity-group-items{display:grid}.invoice-activity-group .activity-item{background:#fff;border:0;border-left:3px solid #0284c7;border-radius:0;padding:12px 14px}.invoice-activity-group .activity-item+.activity-item{border-top:1px solid var(--border-light,#dcebed)}.invoice-final-revision-deal{color:var(--text-muted,#78909c);flex-wrap:wrap;align-items:center;gap:5px;margin-top:5px;font-size:12px;display:flex}.invoice-final-revision-deal>span:first-child{font-weight:700}.invoice-final-revision-deal-link{color:#0284c7;cursor:pointer;font:inherit;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.invoice-final-revision-deal-link:hover{color:#0369a1}@media (width<=768px){.invoice-activity-bottom{width:calc(100% - 32px);margin-bottom:24px}.invoice-activity-group-time,.invoice-activity-group .activity-item{padding-left:12px;padding-right:12px}}.message-inbox-sidebar-header{background:#fff;border-bottom:1px solid #edf0f2;justify-content:space-between;align-items:center;gap:12px;padding:16px 16px 12px;display:flex}.message-inbox-sidebar-header span{color:#7a8c95;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:10px;font-weight:800;display:block}.message-inbox-sidebar-header h2{color:#102a3a;margin:0;font-size:18px;line-height:1.2}.message-inbox-count{color:#0b6b59;text-align:center;background:#edf9f5;border-radius:12px;place-items:center;min-width:52px;padding:7px 10px;display:grid}.message-inbox-count strong{font-size:16px;line-height:1}.message-inbox-count small{color:#5f7b72;margin-top:2px;font-size:9px}.message-inbox-toolbar{background:#fbfcfc;border-bottom:1px solid #e7ecee;grid-template-columns:1fr;gap:9px;padding:12px;display:grid}.message-inbox-search{background:#fff;border:1px solid #d8e0e4;border-radius:11px;align-items:center;gap:8px;padding:0 10px;display:flex}.message-inbox-search>span{color:#7d8d95;font-size:18px;line-height:1}.message-inbox-search input{color:#102a3a;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;padding:10px 0;font-size:13px}.message-inbox-filter-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.message-inbox-filter-row select,.message-inbox-custom-dates input{color:#294352;min-width:0;height:36px;font:inherit;background:#fff;border:1px solid #d8e0e4;border-radius:9px;padding:7px 28px 7px 9px;font-size:11px}.message-inbox-filter-row select{flex:105px}.message-inbox-filter-row select:first-child{flex-basis:118px}.message-inbox-filter-row select:focus,.message-inbox-custom-dates input:focus,.message-inbox-search:focus-within{border-color:#20a980;outline:none;box-shadow:0 0 0 3px #20a9801a}.message-inbox-clear{color:#526872;cursor:pointer;background:#eef2f4;border:0;border-radius:9px;height:36px;padding:0 10px;font-size:11px;font-weight:750}.message-inbox-clear:hover{color:#294352;background:#e2e9ec}.message-inbox-custom-dates{background:#fff;border:1px solid #e2e8ea;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;display:grid}.message-inbox-custom-dates label{gap:4px;min-width:0;display:grid}.message-inbox-custom-dates label>span{color:#687b84;letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:800}.message-inbox-custom-dates input{width:100%;padding-right:7px}.message-inbox-filter-summary{color:#7a8c95;justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.message-inbox-filter-summary span:last-child{color:#0b8a6d;font-weight:800}.message-inbox-list{background:#f7f9fa}.inbox-person-row{background:#fff;border-bottom:1px solid #e9eef0;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:11px 12px}.inbox-person-row:hover{background:#f7fbfa}.inbox-person-row.active{background:#edf9f5;box-shadow:inset 3px 0 #20b987}.inbox-person-avatar{width:40px;height:40px;font-size:12px}.inbox-person-name-line{gap:5px}.inbox-person-name{color:#102a3a;flex:0 auto;font-size:13px}.inbox-record-type{color:#61757f;letter-spacing:.03em;text-transform:uppercase;background:#eef2f4;border-radius:999px;flex:none;padding:2px 6px;font-size:8px;font-weight:800}.inbox-record-type.customer{color:#0b6b59;background:#e9f7f2}.inbox-record-type.lead{color:#285f9b;background:#edf4ff}.inbox-line-count{justify-content:center;min-width:18px;padding-inline:5px}.inbox-person-subline{color:#7a8c95;white-space:nowrap;align-items:center;gap:5px;min-width:0;margin-top:3px;font-size:10px;display:flex}.inbox-person-subline span:last-child{text-overflow:ellipsis;min-width:0;overflow:hidden}.inbox-person-preview{color:#526872;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;line-height:1.35;display:block;overflow:hidden}.inbox-person-meta{gap:6px;font-size:9px}.inbox-unread-badge{min-width:18px;height:18px;padding:0 5px;font-size:9px}.message-inbox-empty-copy{margin-top:5px;font-size:12px}@media (width<=820px){.message-inbox-sidebar-header{padding-inline:14px}.message-inbox-toolbar{padding:10px}.message-inbox-filter-row select{flex:calc(50% - 7px)}.message-inbox-clear{flex:100%}}@media (width<=480px){.message-inbox-custom-dates{grid-template-columns:1fr}.inbox-record-type{display:none}}.message-history-shell{flex-direction:column;gap:14px;display:flex}.message-history-header{background:#fff;border:1px solid #e4eaed;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex}.message-history-header>div:first-child>span{color:#7a8c95;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:800;display:block}.message-history-header h2{color:#102a3a;margin:0;font-size:22px;line-height:1.2}.message-history-header p{color:#6f828b;margin:5px 0 0;font-size:13px}.message-history-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.message-history-count{color:#0b6b59;text-align:center;background:#edf9f5;border-radius:12px;place-items:center;min-width:58px;padding:8px 11px;display:grid}.message-history-count strong{font-size:17px;line-height:1}.message-history-count small{color:#5f7b72;margin-top:3px;font-size:9px}.message-history-note{color:#536b79;background:#f7fbfc;border:1px solid #dbe7ec;border-radius:10px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:12px;line-height:1.45;display:flex}.message-history-note>span:first-child{color:#2388a4;flex:none;font-size:14px}.message-history-toolbar{background:#fbfcfc;border:1px solid #e4eaed;border-radius:13px;gap:9px;padding:12px;display:grid}.message-history-search{background:#fff;border:1px solid #d8e0e4;border-radius:11px;align-items:center;gap:8px;padding:0 10px;display:flex}.message-history-search>span{color:#7d8d95;font-size:18px;line-height:1}.message-history-search input{color:#102a3a;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;padding:10px 0;font-size:13px}.message-history-filter-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.message-history-filter-row select,.message-history-custom-dates input{color:#294352;min-width:0;height:36px;font:inherit;background:#fff;border:1px solid #d8e0e4;border-radius:9px;padding:7px 28px 7px 9px;font-size:11px}.message-history-filter-row select{flex:120px}.message-history-filter-row select:first-child{flex-basis:132px}.message-history-search:focus-within,.message-history-filter-row select:focus,.message-history-custom-dates input:focus{border-color:#20a980;outline:none;box-shadow:0 0 0 3px #20a9801a}.message-history-clear{color:#526872;cursor:pointer;background:#eef2f4;border:0;border-radius:9px;height:36px;padding:0 11px;font-size:11px;font-weight:750}.message-history-clear:hover{color:#294352;background:#e2e9ec}.message-history-custom-dates{background:#fff;border:1px solid #e2e8ea;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;display:grid}.message-history-custom-dates label{gap:4px;min-width:0;display:grid}.message-history-custom-dates label>span{color:#687b84;letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:800}.message-history-custom-dates input{width:100%;padding-right:7px}.message-history-filter-summary{color:#7a8c95;justify-content:space-between;align-items:center;gap:8px;font-size:10px;display:flex}.message-history-filter-summary span:last-child{color:#0b8a6d;font-weight:800}.message-history-list{flex-direction:column;gap:8px;display:flex}.message-history-item{background:#fff;border:1px solid #e0e7ea;border-radius:12px;grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:11px;padding:12px;display:grid;box-shadow:0 1px 2px #102a3a08}.message-history-item:hover{border-color:#cfdcda;box-shadow:0 4px 12px #102a3a0f}.message-history-item.inbound{border-left:3px solid #4c8dd8}.message-history-item.outbound{border-left:3px solid #20a980}.message-history-avatar{color:#405a66;background:#edf3f5;border-radius:50%;place-items:center;width:40px;height:40px;font-size:12px;font-weight:800;display:grid}.message-history-main{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;min-width:0;display:grid}.message-history-identity{min-width:0}.message-history-name-row{align-items:center;gap:6px;min-width:0;display:flex}.message-history-name-row strong,.message-history-record-link{color:#102a3a;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:800;overflow:hidden}.message-history-record-link{color:#0b6b59;cursor:pointer;text-align:left;text-underline-offset:3px;background:0 0;border:0;padding:0;-webkit-text-decoration:underline #0b6b5947;text-decoration:underline #0b6b5947}.message-history-record-link:hover{color:#08745e;text-decoration-color:currentColor}.message-history-record-link:focus-visible{outline-offset:2px;border-radius:4px;outline:3px solid #20a9802e}.message-history-record-type{color:#61757f;letter-spacing:.03em;text-transform:uppercase;background:#eef2f4;border-radius:999px;flex:none;padding:2px 6px;font-size:8px;font-weight:800}.message-history-record-type.customer{color:#0b6b59;background:#e9f7f2}.message-history-record-type.lead{color:#285f9b;background:#edf4ff}.message-history-contact-line{color:#7a8c95;white-space:nowrap;align-items:center;gap:5px;min-width:0;margin-top:3px;font-size:10px;display:flex}.message-history-contact-line span{text-overflow:ellipsis;overflow:hidden}.message-history-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;display:flex}.message-history-direction,.message-history-status{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:8px;font-weight:800}.message-history-direction.inbound{color:#285f9b;background:#edf4ff}.message-history-direction.outbound{color:#0b6b59;background:#e9f7f2}.message-history-status{color:#61757f;background:#eef2f4}.message-history-status.status-delivered,.message-history-status.status-received,.message-history-status.status-sent{color:#13745e;background:#ecf8f3}.message-history-status.status-failed,.message-history-status.status-canceled{color:#b42318;background:#fff0f0}.message-history-status.status-queued,.message-history-status.status-sending{color:#9b5d00;background:#fff7e8}.message-history-body{color:#294352;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fa;border-radius:9px;grid-column:1/-1;padding:9px 10px;font-size:12px;line-height:1.45}.message-history-failure{color:#b42318;background:#fff0f0;border-radius:8px;grid-column:1/-1;padding:7px 9px;font-size:10px}.message-history-time{color:#7a8c95;white-space:nowrap;justify-items:end;gap:2px;min-width:82px;font-size:9px;display:grid}.message-history-time strong{color:#536b79;font-size:10px}@media (width<=820px){.message-history-header{flex-direction:column;align-items:stretch}.message-history-header-actions{justify-content:space-between}.message-history-item{grid-template-columns:36px minmax(0,1fr)}.message-history-avatar{width:36px;height:36px}.message-history-time{grid-area:2/2;justify-items:start;gap:5px;min-width:0;display:flex}}@media (width<=560px){.message-history-header,.message-history-toolbar{border-radius:10px}.message-history-header-actions{flex-direction:column;align-items:stretch}.message-history-header-actions .btn-primary-small{width:100%}.message-history-count{grid-template-columns:auto auto;justify-content:center;gap:4px}.message-history-count small{margin-top:0}.message-history-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.message-history-filter-row select,.message-history-clear{width:100%}.message-history-custom-dates,.message-history-main{grid-template-columns:1fr}.message-history-badges{justify-content:flex-start}.message-history-name-row{flex-wrap:wrap;align-items:flex-start}.message-history-contact-line{white-space:normal;flex-wrap:wrap}.message-history-item{padding:10px}}.sms-opt-outs-panel{gap:18px;display:grid}.sms-opt-outs-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.sms-opt-outs-header h2,.sms-opt-outs-header p{margin:0}.sms-opt-outs-header p{color:var(--text-secondary,#64748b);margin-top:6px}.sms-opt-outs-header>button{background:var(--surface,#fff);border:1px solid var(--border-color,#dbe3ec);color:var(--text-primary,#0f172a);cursor:pointer;font:inherit;border-radius:8px;padding:9px 14px;font-weight:700}.sms-opt-outs-header>button:disabled{cursor:default;opacity:.6}.sms-opt-outs-title-row{align-items:center;gap:10px;display:flex}.sms-opt-outs-title-row>span{color:#991b1b;text-align:center;background:#fee2e2;border-radius:999px;min-width:28px;padding:4px 9px;font-size:12px;font-weight:800}.sms-opt-outs-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;gap:3px;padding:12px 14px;display:grid}.sms-opt-outs-table-wrap{background:var(--surface,#fff);border:1px solid var(--border-color,#e2e8f0);border-radius:12px;overflow-x:auto}.sms-opt-outs-table{border-collapse:collapse;width:100%;min-width:980px}.sms-opt-outs-table th,.sms-opt-outs-table td{border-bottom:1px solid var(--border-color,#e2e8f0);text-align:left;vertical-align:middle;padding:13px 14px}.sms-opt-outs-table th{background:var(--surface-subtle,#f8fafc);color:var(--text-secondary,#64748b);letter-spacing:.02em;text-transform:uppercase;font-size:12px;font-weight:800}.sms-opt-outs-table tbody tr:last-child td{border-bottom:0}.sms-opt-outs-clickable-row{cursor:pointer}.sms-opt-outs-clickable-row:hover,.sms-opt-outs-clickable-row:focus-visible{background:#f8fafc;outline:none}.sms-opt-outs-type,.sms-opt-outs-keyword{border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.sms-opt-outs-type-lead{color:#1d4ed8;background:#dbeafe}.sms-opt-outs-type-customer{color:#166534;background:#dcfce7}.sms-opt-outs-type-unlinked{color:#475569;background:#f1f5f9}.sms-opt-outs-keyword{color:#991b1b;background:#fee2e2}.sms-opt-outs-arrow{color:var(--text-secondary,#64748b);width:24px;font-size:22px;text-align:right!important}.sms-opt-outs-message{color:var(--text-secondary,#64748b);text-align:center!important;padding:30px!important}@media (width<=640px){.sms-opt-outs-header{flex-direction:column;align-items:stretch}.sms-opt-outs-header>button{align-self:flex-start}}.communications-container{flex-direction:column;gap:0;display:flex;padding:0!important}.mock-mode-banner{background:linear-gradient(135deg,#ecf0f1 0%,#e8f4f8 100%);border-bottom:1px solid #d1d5db;justify-content:space-between;align-items:center;padding:12px 24px;display:flex}.mock-mode-content{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.mock-mode-text{color:#536b79;font-size:13px;font-weight:500}.mock-mode-button{cursor:not-allowed;opacity:.6;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:4px;padding:6px 12px;font-size:12px;font-weight:600}.communications-tabs{background:#fff;border-bottom:1px solid #d1d5db;gap:0;padding:0 24px;display:flex}.tab{color:#78909c;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;padding:12px 24px;font-size:14px;font-weight:600;transition:all .2s;position:relative;bottom:-1px}.tab:hover{color:#0fba91;background:#f7fbfc}.tab.active{color:#0fba91;border-bottom-color:#0fba91}.communications-content{flex:1;padding:24px;overflow-y:auto}.communications-inbox{grid-template-columns:320px 1fr;gap:24px;height:100%;display:grid}.inbox-list-panel{background:#fff;border:1px solid #d1d5db;border-radius:12px;flex-direction:column;gap:16px;display:flex;overflow:hidden}.inbox-controls{border-bottom:1px solid #f0f4f8;flex-direction:column;gap:8px;padding:16px;display:flex}.conversations-list{flex:1;overflow-y:auto}.conversation-item{cursor:pointer;border-bottom:1px solid #f0f4f8;padding:12px 16px;transition:background .2s}.conversation-item:hover{background:#f7fbfc}.conversation-item.active{background:#ecf0f1;border-left:3px solid #0fba91}.conv-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.conv-name{color:#102a3a;font-size:14px;font-weight:600}.conv-time{color:#78909c;font-size:12px}.conv-phone{color:#78909c;margin-bottom:4px;font-size:13px}.conv-priority{color:#d97706;text-transform:uppercase;font-size:11px;font-weight:700}.inbox-thread-panel{background:#fff;border:1px solid #d1d5db;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.inbox-thread-panel.empty{justify-content:center;align-items:center}.conversation-thread{flex-direction:column;height:100%;display:flex}.thread-header{border-bottom:1px solid #f0f4f8;align-items:center;gap:12px;padding:16px;display:flex}.back-button{cursor:pointer;color:#0fba91;background:0 0;border:none;padding:4px 8px;font-size:16px}.thread-header-info{flex:1}.thread-header-info h2{color:#102a3a;margin:0;font-size:16px}.thread-phone{color:#78909c;margin:4px 0 0;font-size:12px}.messages-container{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.message{word-wrap:break-word;border-radius:8px;max-width:70%;padding:12px 16px}.message.inbound{color:#102a3a;background:#f0f4f8;align-self:flex-start}.message.outbound{color:#fff;background:#0fba91;align-self:flex-end}.message-body{margin:0 0 4px;font-size:14px}.message-meta{opacity:.7;font-size:11px}.thread-simulator{border-top:1px solid #f0f4f8;padding:12px 16px}.simulator-form{flex-direction:column;gap:8px;display:flex}.simulator-form textarea{resize:vertical;border:1px solid #d1d5db;border-radius:6px;min-height:50px;padding:8px 12px;font-family:inherit;font-size:13px}.simulator-buttons{gap:8px;display:flex}.mock-mode-note{color:#78909c;border-top:1px solid #f0f4f8;padding-top:8px;font-size:12px}.message-composer{border-top:1px solid #f0f4f8;flex-direction:column;gap:8px;padding:16px;display:flex}.message-input{resize:vertical;color:#102a3a;background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:60px;padding:12px;font-family:inherit;font-size:14px}.message-input:focus{background:#fff;border-color:#0284c7;outline:none}.composer-footer{justify-content:space-between;align-items:center;display:flex}.char-count{color:#78909c;font-size:12px}.communications-calls{flex-direction:column;gap:24px;display:flex}.calls-header{justify-content:space-between;align-items:center;display:flex}.calls-header h2{margin:0}.dialer-panel{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:24px}.dialer-form{flex-direction:column;gap:16px;display:flex}.dialer-form label{color:#102a3a;font-size:13px;font-weight:600}.dialer-form input,.dialer-form select{color:#102a3a;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px;font-family:inherit;font-size:14px}.dialer-form input:focus,.dialer-form select:focus{border-color:#0284c7;outline:none}.dialer-actions{gap:8px;display:flex}.calls-list{background:#fff;border:1px solid #d1d5db;border-radius:12px;overflow:hidden}.calls-table{border-collapse:collapse;width:100%;font-size:13px}.calls-table thead{background:#f7fbfc;border-bottom:1px solid #d1d5db}.calls-table th{text-align:left;color:#78909c;text-transform:uppercase;padding:12px 16px;font-size:11px;font-weight:700}.calls-table td{color:#102a3a;border-bottom:1px solid #f0f4f8;padding:12px 16px}.calls-table tbody tr:hover{background:#f7fbfc}.call-active{background:#fff;border:1px solid #d1d5db;border-radius:12px;justify-content:center;align-items:center;min-height:400px;display:flex}.call-active-container{text-align:center;flex-direction:column;gap:32px;padding:48px;display:flex}.call-contact h2{color:#102a3a;margin:0;font-size:28px}.call-status{flex-direction:column;gap:8px;display:flex}.status-text{color:#78909c;text-transform:capitalize;margin:0;font-size:14px}.call-timer{color:#0fba91;margin:0;font-size:24px;font-weight:700}.call-actions{justify-content:center;gap:12px;display:flex}.communications-team{flex-direction:column;gap:24px;display:flex}.team-header h2{margin:0 0 8px}.team-description{color:#78909c;margin:0;font-size:14px}.team-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;display:grid}.team-card{background:#fff;border:1px solid #d1d5db;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.role-badge{color:#0fba91;text-transform:uppercase;background:#ecf0f1;border-radius:3px;padding:2px 6px;font-size:11px;font-weight:700}.card-body{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex}.email{color:#78909c;margin:0;font-size:13px}.stats{flex-direction:column;gap:8px;display:flex}.stat{justify-content:space-between;font-size:12px;display:flex}.stat .label{color:#78909c}.stat .value{color:#102a3a;font-weight:600}.communications-numbers{flex-direction:column;gap:24px;display:flex}.numbers-header{justify-content:space-between;align-items:center;display:flex}.numbers-header h2{margin:0}.number-form-card{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:24px}.form{flex-direction:column;gap:16px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:#102a3a;font-size:13px;font-weight:600}.form-control{color:#102a3a;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px;font-family:inherit;font-size:14px}.form-control:focus{border-color:#0284c7;outline:none}.form-actions{gap:12px;display:flex}.mock-note{color:#536b79;background:#ecf0f1;border-radius:6px;padding:12px;font-size:12px}.numbers-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;display:grid}.number-card{background:#fff;border:1px solid #d1d5db;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.card-header{border-bottom:1px solid #f0f4f8;justify-content:space-between;align-items:flex-start;padding:16px;display:flex}.card-header h3{color:#102a3a;margin:0;font-size:14px}.badges{gap:6px;display:flex}.badge{text-transform:uppercase;border-radius:3px;padding:2px 6px;font-size:11px;font-weight:700}.badge.default{color:#0fba91;background:#ecf0f1}.badge.active{color:#15803d;background:#dcfce7}.badge.inactive{color:#991b1b;background:#fee2e2}.phone-number{color:#0fba91;margin:0 0 12px;font-family:Monaco,Courier New,monospace;font-size:16px;font-weight:600}.capabilities{gap:8px;margin-bottom:12px;display:flex}.capability{color:#536b79;background:#f0f4f8;border-radius:4px;padding:4px 8px;font-size:12px}.provider-info{justify-content:space-between;font-size:12px;display:flex}.provider-info .label{color:#78909c}.provider-info .value{color:#102a3a;font-weight:600}.card-actions{border-top:1px solid #f0f4f8;gap:8px;padding:16px;display:flex}.btn-primary,.btn-secondary,.btn-primary-small,.btn-secondary-small,.btn-danger,.btn-danger-small{cursor:pointer;border:none;border-radius:6px;font-size:14px;font-weight:600;transition:all .2s}.btn-primary{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%);padding:10px 24px}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #0fba914d}.btn-secondary{color:#102a3a;background:#fff;border:1px solid #d1d5db;padding:10px 24px}.btn-secondary:hover{background:#f7fbfc}.btn-primary-small{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%);padding:8px 16px;font-size:13px}.btn-secondary-small{color:#102a3a;background:#fff;border:1px solid #d1d5db;padding:8px 16px;font-size:13px}.btn-danger{color:#fff;background:#ef4444;padding:10px 24px}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-danger-small{color:#fff;background:#ef4444;padding:8px 16px;font-size:13px}.loading-state,.empty-state{text-align:center;color:#78909c;padding:48px 24px;font-size:14px}.empty-state{flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.empty-state p{margin:0}.alert{border-left:4px solid;border-radius:6px;margin-bottom:16px;padding:12px 16px;font-size:14px}.alert-error{color:#991b1b;background:#fef2f2;border-left-color:#dc2626}.tab-placeholder{text-align:center;color:#78909c;padding:48px 24px}@media (width<=1024px){.communications-inbox{grid-template-columns:1fr}.team-grid,.numbers-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}@media (width<=768px){.mock-mode-banner,.mock-mode-content{flex-direction:column;align-items:flex-start}.communications-tabs{padding:0 12px;overflow-x:auto}.tab{padding:12px 16px}.communications-content{padding:12px}.communications-inbox{grid-template-columns:1fr}.message{max-width:85%}.team-grid,.numbers-grid{grid-template-columns:1fr}.team-card,.number-card{max-width:100%}.dialer-actions,.card-actions{flex-direction:column}.btn-primary,.btn-secondary,.btn-danger{width:100%}}.calls-header>div:first-child{flex-direction:column;gap:4px;display:flex}.calls-header p{color:#78909c;margin:0;font-size:13px}.dialer-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.dialer-heading h3{color:#102a3a;margin:0 0 5px;font-size:18px}.dialer-heading p{color:#78909c;margin:0;font-size:13px;line-height:1.5}.provider-mode-badge{white-space:nowrap;text-transform:uppercase;letter-spacing:.04em;border-radius:999px;align-items:center;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.provider-mode-badge.live{color:#047857;background:#d1fae5;border:1px solid #a7f3d0}.provider-mode-badge.mock{color:#536b79;background:#f0f4f8;border:1px solid #d1d5db}.dialer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.dialer-business-number{grid-column:1/-1}.field-help{color:#78909c;font-size:11px;line-height:1.45}.dialer-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;margin-top:16px;padding:12px 14px;font-size:13px}.dialer-panel .dialer-actions{margin-top:20px}.calls-table-scroll{width:100%;overflow-x:auto}.call-status-badge{color:#536b79;background:#f0f4f8;border-radius:999px;justify-content:center;align-items:center;min-width:82px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-flex}.call-status-badge.status-in_progress,.call-status-badge.status-completed{color:#047857;background:#d1fae5}.call-status-badge.status-ringing,.call-status-badge.status-queued{color:#0369a1;background:#e0f2fe}.call-status-badge.status-failed,.call-status-badge.status-busy,.call-status-badge.status-no_answer,.call-status-badge.status-missed,.call-status-badge.status-canceled{color:#b91c1c;background:#fee2e2}.call-active-container{width:min(520px,100%)}.call-active-icon{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%);border-radius:50%;place-items:center;width:72px;height:72px;margin:0 auto -14px;font-size:30px;display:grid;box-shadow:0 14px 30px #0fba9138}.call-active-eyebrow{color:#78909c;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px;font-size:11px;font-weight:800;display:block}.call-status-message{color:#536b79;margin:0;font-size:13px;line-height:1.5}.call-route-summary{text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.call-route-summary>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}.call-route-summary span{color:#78909c;text-transform:uppercase;font-size:11px;font-weight:700}.call-route-summary strong{color:#102a3a;font-size:14px}.btn-primary:disabled,.btn-secondary:disabled,.btn-danger:disabled{cursor:not-allowed;opacity:.55;box-shadow:none;transform:none}@media (width<=768px){.calls-header,.dialer-heading{flex-direction:column;align-items:stretch}.dialer-form-grid,.call-route-summary{grid-template-columns:1fr}.dialer-business-number{grid-column:auto}.call-active{min-height:360px}.call-active-container{gap:24px;padding:32px 18px}}.call-method-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.call-method-picker button{text-align:left;min-height:76px;color:var(--text-primary,#102a3a);background:var(--surface-soft,#f7fbfc);border:1px solid var(--border-light,#dcebed);cursor:pointer;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex}.call-method-picker button:hover:not(:disabled){border-color:#7dd3c7;transform:translateY(-1px)}.call-method-picker button.active{background:#0fba9114;border-color:#0fba91;box-shadow:0 0 0 3px #0fba911a}.call-method-picker button>span:last-child{flex-direction:column;gap:3px;display:flex}.call-method-picker strong{font-size:14px}.call-method-picker small{color:var(--text-muted,#78909c);font-size:11px}.call-method-icon{background:var(--surface,#fff);border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.browser-permission-card{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:12px;align-items:center;gap:12px;min-height:76px;padding:14px 16px;display:flex}.browser-permission-card>div{flex-direction:column;gap:4px;display:flex}.browser-permission-card strong{color:var(--text-primary,#102a3a);font-size:14px}.browser-permission-card span:last-child{color:var(--text-muted,#78909c);font-size:11px;line-height:1.45}.browser-permission-icon{background:#0369a11a;border-radius:10px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.call-active{background:radial-gradient(circle at top, #0fba911a, transparent 36%), var(--surface-soft,#f7fbfc);border-color:var(--border-light,#dcebed);align-items:flex-start;min-height:540px;padding:24px}.call-active-container{text-align:center;background:var(--surface,#fff);border:1px solid var(--border-light,#dcebed);border-radius:18px;gap:20px;width:min(600px,100%);margin:0 auto;padding:26px;box-shadow:0 18px 44px #102a3a14}.call-active-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.call-live-badge,.call-route-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.call-live-badge{color:#0369a1;background:#e0f2fe}.call-live-badge.status-in_progress,.call-live-badge.status-completed{color:#047857;background:#d1fae5}.call-live-badge.status-failed,.call-live-badge.status-busy,.call-live-badge.status-no_answer,.call-live-badge.status-canceled,.call-live-badge.status-missed{color:#b91c1c;background:#fee2e2}.call-live-dot{background:currentColor;border-radius:999px;width:7px;height:7px;box-shadow:0 0 0 4px #0369a117}.call-live-badge.status-in_progress .call-live-dot{animation:1.6s ease-in-out infinite callPulse}.call-route-badge{color:var(--text-secondary,#536b79);background:var(--surface-secondary,#f0f4f8)}.call-active-icon{width:78px;height:78px;margin:2px auto 0;font-size:31px}.call-contact{flex-direction:column;align-items:center;gap:7px;display:flex}.call-contact h2{color:var(--text-primary,#102a3a);font-size:clamp(25px,5vw,34px)}.call-active-eyebrow{margin:0}.call-status-message{max-width:430px;color:var(--text-secondary,#536b79)}.call-duration-card{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:18px 20px;display:flex}.call-duration-card span{color:var(--text-muted,#78909c);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.call-duration-card strong{color:var(--text-primary,#102a3a);font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:34px}.browser-audio-status{text-align:left;border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:11px;align-items:center;gap:11px;padding:11px 13px;display:flex}.browser-audio-status>div{flex-direction:column;gap:2px;display:flex}.browser-audio-status strong{color:var(--text-primary,#102a3a);font-size:12px}.browser-audio-status span:last-child{color:var(--text-muted,#78909c);font-size:11px}.browser-audio-dot{background:#0fba91;border-radius:999px;flex:0 0 10px;width:10px;height:10px}.browser-audio-status.state-preparing .browser-audio-dot,.browser-audio-status.state-connecting .browser-audio-dot,.browser-audio-status.state-ringing .browser-audio-dot,.browser-audio-status.state-reconnecting .browser-audio-dot{animation:1.6s ease-in-out infinite callPulse}.browser-audio-status.state-error .browser-audio-dot{background:#dc2626}.call-route-summary>div{background:var(--surface-soft,#f7fbfc);border-color:var(--border-light,#dcebed)}.call-route-summary span{color:var(--text-muted,#78909c)}.call-route-summary strong{color:var(--text-primary,#102a3a)}.call-actions{margin-top:2px}.call-actions .btn-primary,.call-actions .btn-secondary,.call-actions .btn-danger{min-width:120px}.softphone-mute.is-muted{color:#b45309;background:#fffbeb;border-color:#f59e0b}@keyframes callPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}@media (width<=768px){.call-method-picker{grid-template-columns:1fr}.call-active{min-height:0;padding:12px}.call-active-container{gap:17px;padding:20px 16px}.call-active-topbar{align-items:flex-start}.call-live-badge,.call-route-badge{font-size:10px}.call-duration-card strong{font-size:30px}.call-actions{flex-direction:column}.call-actions .btn-primary,.call-actions .btn-secondary,.call-actions .btn-danger{width:100%}}.active-call-strip{border:1px solid var(--border-light);width:100%;color:var(--text-primary);box-shadow:var(--shadow-subtle);cursor:pointer;text-align:left;background:linear-gradient(135deg,#10b98114,#0ea5e914);border-radius:16px;align-items:center;gap:13px;margin-bottom:18px;padding:13px 15px;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex}.active-call-strip:hover{border-color:var(--blue-300);box-shadow:var(--shadow-card);transform:translateY(-1px)}.active-call-strip-icon{color:#047857;background:#d1fae5;border-radius:14px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.active-call-strip-icon.status-failed,.active-call-strip-icon.status-busy,.active-call-strip-icon.status-no_answer,.active-call-strip-icon.status-canceled,.active-call-strip-icon.status-missed{color:#b91c1c;background:#fee2e2}.active-call-strip-details{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.active-call-strip-details strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.active-call-strip-details small{color:var(--text-muted);font-size:11px}.active-call-strip-time{font-variant-numeric:tabular-nums;font-size:17px;font-weight:800}.active-call-strip-action{color:var(--blue-700);background:var(--blue-50);text-transform:uppercase;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}@media (width<=640px){.active-call-strip-action{display:none}.active-call-strip-time{font-size:14px}}.calls-header-enhanced{align-items:flex-end;gap:24px}.calls-eyebrow{color:#0fba91;letter-spacing:.09em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.calls-header-enhanced h2{color:var(--text-primary,#102a3a);font-size:28px}.calls-header-actions{flex-shrink:0;gap:10px;display:flex}.call-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.call-metric-card{border:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);border-radius:14px;min-width:0;padding:18px;position:relative;overflow:hidden;box-shadow:0 8px 24px #1449580d}.call-metric-card:after{content:"";background:#0ea5e912;border-radius:0 0 0 68px;width:68px;height:68px;position:absolute;top:0;right:0}.call-metric-card.inbound:after{background:#0fba9117}.call-metric-card.missed:after{background:#ef444414}.call-metric-card span,.call-metric-card small{color:var(--text-muted,#78909c);display:block}.call-metric-card span{margin-bottom:10px;font-size:12px;font-weight:700}.call-metric-card strong{color:var(--text-primary,#102a3a);margin-bottom:4px;font-size:25px;line-height:1;display:block}.call-metric-card small{font-size:11px}.calls-workspace-card{border:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);border-radius:14px;overflow:hidden;box-shadow:0 10px 30px #1449580d}.calls-toolbar{border-bottom:1px solid var(--border-light,#dcebed);background:var(--surface,#fff);align-items:center;gap:12px;padding:14px;display:flex}.calls-search-wrap{flex:1;min-width:220px;position:relative}.calls-search-wrap input{width:100%;min-height:42px;color:var(--text-primary,#102a3a);border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:9px;padding:10px 13px 10px 38px}.calls-search-wrap input:focus{border-color:#7dd3c7;outline:none;box-shadow:0 0 0 3px #0fba911a}.calls-search-icon{z-index:1;color:var(--text-muted,#78909c);pointer-events:none;font-size:17px;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.calls-filter-group{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:10px;padding:3px;display:inline-flex}.calls-filter-group button{min-height:34px;color:var(--text-muted,#78909c);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 12px;font-size:12px;font-weight:700}.calls-filter-group button.active{color:#047857;background:#fff;box-shadow:0 1px 4px #0f172a1a}.calls-status-filter{min-height:42px;color:var(--text-primary,#102a3a);border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:9px;padding:9px 34px 9px 12px;font-size:12px;font-weight:600}.calls-list-enhanced{border:0;border-radius:0}.calls-table-enhanced th,.calls-table-enhanced td{white-space:nowrap}.call-party-cell{align-items:center;gap:10px;display:flex}.call-party-icon{border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:17px;font-weight:800;display:grid}.call-party-icon.inbound{color:#047857;background:#d1fae5}.call-party-icon.outbound{color:#0369a1;background:#e0f2fe}.call-party-cell strong,.call-party-cell small{display:block}.call-party-cell strong{margin-bottom:2px;font-size:13px}.call-party-cell small{color:var(--text-muted,#78909c);font-size:10px}.call-direction-badge{border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.call-direction-badge.inbound{color:#047857;background:#d1fae5}.call-direction-badge.outbound{color:#0369a1;background:#e0f2fe}.call-row-action{color:#047857;cursor:pointer;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700}.call-row-action:hover{background:#d1fae5}.calls-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:42px 24px;display:flex}.calls-empty-state.compact{min-height:220px}.calls-empty-state h3{color:var(--text-primary,#102a3a);margin:0 0 7px;font-size:17px}.calls-empty-state p{max-width:480px;color:var(--text-muted,#78909c);margin:0 0 18px;font-size:13px;line-height:1.55}.calls-empty-icon{color:#047857;background:linear-gradient(135deg,#ecfdf5 0%,#e0f2fe 100%);border:1px solid #a7f3d0;border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:16px;font-size:25px;display:grid}.inbound-preview-backdrop{z-index:1500;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a85;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.inbound-preview-card{background:#fff;border:1px solid #ffffffa6;border-radius:22px;width:min(460px,100%);max-height:calc(100vh - 32px);padding:20px;overflow-y:auto;box-shadow:0 30px 90px #0f172a47}.inbound-preview-topbar{justify-content:space-between;align-items:center;display:flex}.inbound-preview-label{color:#0369a1;letter-spacing:.06em;text-transform:uppercase;background:#f0f9ff;border:1px solid #bae6fd;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}.inbound-preview-close{width:32px;height:32px;color:var(--text-muted,#78909c);background:var(--surface-soft,#f7fbfc);cursor:pointer;border:0;border-radius:9px;place-items:center;padding:0;font-size:22px;display:grid}.inbound-preview-icon{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%);border-radius:50%;place-items:center;width:76px;height:76px;margin:8px auto 14px;font-size:31px;display:grid;box-shadow:0 16px 34px #0fba9147}.inbound-preview-icon.state-ringing{animation:1.4s ease-in-out infinite inbound-ring-pulse}.inbound-preview-icon.state-ended{box-shadow:none;background:#78909c}@keyframes inbound-ring-pulse{0%,to{transform:scale(1);box-shadow:0 16px 34px #0fba913d}50%{transform:scale(1.05);box-shadow:0 18px 42px #0fba9161}}.inbound-preview-heading{text-align:center}.inbound-preview-heading>span{color:#0fba91;text-transform:uppercase;margin-bottom:5px;font-size:12px;font-weight:800;display:block}.inbound-preview-heading h2{color:var(--text-primary,#102a3a);margin:0 0 4px;font-size:24px}.inbound-preview-heading strong{color:var(--text-secondary,#536b79);font-size:16px}.inbound-preview-match{border:1px solid var(--border-light,#dcebed);background:var(--surface-soft,#f7fbfc);border-radius:12px;gap:11px;margin-top:20px;padding:13px;display:flex}.inbound-preview-avatar{color:#0369a1;background:#e0f2fe;border-radius:11px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.inbound-preview-match strong,.inbound-preview-match span{display:block}.inbound-preview-match strong{color:var(--text-primary,#102a3a);margin-bottom:3px;font-size:12px}.inbound-preview-match span{color:var(--text-muted,#78909c);font-size:11px;line-height:1.45}.inbound-preview-route{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.inbound-preview-route>div{border:1px solid var(--border-light,#dcebed);border-radius:11px;padding:12px}.inbound-preview-route span,.inbound-preview-route strong,.inbound-preview-route small{display:block}.inbound-preview-route span{color:var(--text-muted,#78909c);text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:700}.inbound-preview-route strong{color:var(--text-primary,#102a3a);margin-bottom:2px;font-size:12px}.inbound-preview-route small{color:var(--text-muted,#78909c);font-size:11px}.inbound-preview-notes{margin-top:12px;display:block}.inbound-preview-notes>span{color:var(--text-primary,#102a3a);margin-bottom:6px;font-size:11px;font-weight:800;display:block}.inbound-preview-notes textarea{resize:vertical;width:100%;color:var(--text-primary,#102a3a);border:1px solid var(--border-light,#dcebed);background:#fff;border-radius:10px;padding:10px 12px;font-size:12px}.inbound-preview-ended{color:#536b79;background:#f7fbfc;border:1px solid #dcebed;border-radius:10px;margin-top:12px;padding:11px 12px;font-size:11px;line-height:1.5}.inbound-preview-actions{gap:10px;margin-top:18px;display:flex}.inbound-call-action{cursor:pointer;border:0;border-radius:12px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:13px;font-weight:800;display:flex}.inbound-call-action span{font-size:18px}.inbound-call-action.answer,.inbound-call-action.done{color:#fff;background:linear-gradient(135deg,#0fba91 0%,#078ec8 100%)}.inbound-call-action.decline{color:#b91c1c;background:#fee2e2}.inbound-call-action.end{color:#fff;background:#dc2626}@media (width<=1000px){.call-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calls-toolbar{flex-wrap:wrap}.calls-search-wrap{flex-basis:100%}}@media (width<=768px){.calls-header-actions{flex-direction:column;width:100%}.calls-header-actions .btn-primary,.calls-header-actions .btn-secondary{width:100%}.calls-filter-group{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.calls-status-filter{width:100%}.inbound-preview-backdrop{align-items:end;padding:10px}.inbound-preview-card{border-radius:20px 20px 14px 14px;width:100%;max-height:calc(100vh - 20px)}}@media (width<=520px){.call-metrics-grid{grid-template-columns:1fr 1fr;gap:10px}.call-metric-card{padding:15px}.call-metric-card strong{font-size:21px}.inbound-preview-route{grid-template-columns:1fr}}.payroll-planner-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);align-items:start;gap:14px;display:grid}.payroll-compact-card{padding:14px}.payroll-compact-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.payroll-compact-header h3{margin:0}.payroll-inline-fields{grid-template-columns:repeat(4,minmax(140px,1fr));align-items:end;gap:10px;display:grid}.payroll-inline-fields .form-group{margin:0}.payroll-inline-fields label{margin-bottom:4px;font-size:12px}.payroll-help{opacity:.72;font-size:12px}.payroll-auto-row{grid-template-columns:minmax(210px,1fr) minmax(150px,.45fr) auto;align-items:end;gap:10px;margin-top:10px;display:grid}.payroll-auto-toggle{align-items:center;gap:8px;font-weight:600;display:flex}.payroll-auto-preview{background:var(--surface-subtle,#f6f7f9);border-radius:8px;margin-top:10px;padding:9px 10px;font-size:13px}.payroll-calendar{border:1px solid var(--border-color,#e1e4e8);background:var(--surface,#fff);border-radius:10px;padding:10px}.payroll-calendar-empty{opacity:.7;justify-content:center;align-items:center;min-height:170px;font-size:13px;display:flex}.payroll-calendar-title{margin-bottom:8px;font-size:13px;font-weight:700}.payroll-calendar-grid{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.payroll-calendar-weekdays{text-align:center;opacity:.65;margin-bottom:3px;font-size:10px}.payroll-calendar-day{aspect-ratio:1;border-radius:6px;justify-content:center;align-items:center;font-size:11px;display:flex;position:relative}.payroll-calendar-day.is-included{background:#e7f0ff;font-weight:700}.payroll-calendar-day.is-payday{background:#dff5e4;outline:2px solid #2e7d32;font-weight:800}.payroll-calendar-day.is-included.is-payday{background:#dff5e4}.payroll-calendar-legend{opacity:.8;flex-wrap:wrap;gap:12px;margin-top:8px;font-size:10px;display:flex}.legend-box{border-radius:3px;width:9px;height:9px;margin-right:4px;display:inline-block}.legend-box.included{background:#e7f0ff}.legend-box.payday{background:#dff5e4;outline:1px solid #2e7d32}.payroll-calendar-summary{margin-top:7px;font-size:11px;font-weight:600}.payroll-section-divider{background:var(--border-color,#e1e4e8);height:1px;margin:12px 0}.payroll-selected-strip{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.payroll-selected-strip .form-group{flex:1;min-width:320px;margin:0}.payroll-status-note{opacity:.72;font-size:12px}.payroll-frequency-warning{margin-top:4px;font-size:11px}.payroll-primary-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (width<=900px){.payroll-planner-grid{grid-template-columns:1fr}.payroll-inline-fields{grid-template-columns:repeat(2,minmax(140px,1fr))}.payroll-auto-row{grid-template-columns:1fr 1fr}.payroll-auto-row .primary-button-small{grid-column:1/-1;justify-self:start}}@media (width<=620px){.payroll-inline-fields,.payroll-auto-row{grid-template-columns:1fr}.payroll-auto-row .primary-button-small{grid-column:auto}.payroll-selected-strip .form-group{min-width:100%}}.capital-page{max-width:1400px;margin:0 auto}.capital-header{align-items:flex-start;gap:24px}.capital-header-actions{flex-wrap:wrap;gap:10px;display:flex}.capital-eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#64748b;margin:0 0 6px;font-size:.75rem;font-weight:700}.capital-primary-action,.capital-secondary-action,.capital-approve,.capital-decline{cursor:pointer;border-radius:10px;padding:11px 16px;font-weight:700}.capital-primary-action{color:#fff;white-space:nowrap;background:#0f172a;border:0}.capital-secondary-action{color:#334155;background:#fff;border:1px solid #cbd5e1}.capital-primary-action:disabled,.capital-secondary-action:disabled,.capital-approve:disabled,.capital-decline:disabled{opacity:.45;cursor:not-allowed}.capital-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;display:grid}.capital-stat-card,.capital-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 1px 2px #0f172a0a}.capital-stat-card{padding:18px}.capital-stat-card span{color:#64748b;font-size:.85rem;display:block}.capital-stat-card strong{color:#0f172a;margin:6px 0;font-size:1.8rem;display:block}.capital-stat-card small{color:#94a3b8}.capital-stat-card-warning{border-color:#fed7aa}.capital-panel>.capital-summary-grid .capital-stat-card:nth-child(3),.capital-page>.capital-summary-grid .capital-stat-card:nth-child(4){background:#f0fdf4;border-color:#86efac}.capital-panel>.capital-summary-grid .capital-stat-card:nth-child(3) strong,.capital-page>.capital-summary-grid .capital-stat-card:nth-child(4) strong{color:#15803d}.capital-panel>.capital-summary-grid .capital-stat-card:nth-child(3) span,.capital-page>.capital-summary-grid .capital-stat-card:nth-child(4) span{color:#166534}.capital-layout{grid-template-columns:1.2fr .8fr;gap:20px;display:grid}.capital-panel{padding:22px}.capital-panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.capital-panel-heading h2{margin:0 0 4px;font-size:1.15rem}.capital-panel-heading p{color:#64748b;margin:0;font-size:.9rem}.capital-badge,.capital-next-step,.capital-status{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:999px;align-items:center;padding:6px 10px;font-size:.75rem;font-weight:700;display:inline-flex}.capital-status-approved,.capital-status-active{color:#166534;background:#dcfce7}.capital-status-declined,.capital-status-cancelled{color:#991b1b;background:#fee2e2}.capital-status-requested{color:#92400e;background:#fef3c7}.capital-terms-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.capital-terms-grid>div{background:#f8fafc;border-radius:10px;padding:14px}.capital-terms-grid span{color:#64748b;font-size:.8rem;display:block}.capital-terms-grid strong{color:#0f172a;margin-top:4px;display:block}.capital-example{background:#f8fafc;border-radius:12px;margin-top:18px;padding:16px}.capital-example h3{margin:0 0 12px;font-size:.95rem}.capital-example-row{justify-content:space-between;gap:16px;padding:7px 0;display:flex}.capital-example p{color:#64748b;margin:10px 0 0;font-size:.82rem;line-height:1.5}.capital-empty-state{text-align:center;padding:28px 12px}.capital-empty-icon{margin-bottom:8px;font-size:2rem}.capital-empty-state h3{margin:0 0 8px}.capital-empty-state p{color:#64748b;max-width:460px;margin:0 auto 16px;line-height:1.55}.capital-agreements-panel{margin-top:20px}.capital-empty-table{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:30px 16px}.capital-empty-table span,.capital-empty-table small{display:block}.capital-empty-table span{color:#334155;font-weight:700}.capital-empty-table small{color:#64748b;margin-top:5px}.capital-alert{border-radius:10px;margin:16px 0;padding:12px 14px;font-weight:600}.capital-alert-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.capital-alert-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.capital-funder-card,.capital-request-row{border-top:1px solid #e2e8f0;align-items:center;gap:14px;padding:14px 0;display:flex}.capital-funder-card:first-of-type,.capital-request-row:first-of-type{border-top:0}.capital-funder-avatar{color:#334155;background:#e2e8f0;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.capital-funder-card>div:nth-child(2),.capital-request-row>div:first-child{flex:1;min-width:0}.capital-funder-card strong,.capital-funder-card span,.capital-request-row strong,.capital-request-row span,.capital-request-row small{display:block}.capital-funder-card span,.capital-request-row span,.capital-request-row small{color:#64748b}.capital-request-row>div:first-child>strong{color:#0f172a;font-size:1.05rem}.capital-request-row small{margin-top:4px;font-size:.78rem}.capital-request-terms{text-align:right}.capital-request-terms span{font-size:.76rem}.capital-request-terms strong{color:#0f172a;margin-top:2px}.capital-row-actions{gap:8px;display:flex}.capital-approve{color:#166534;background:#f0fdf4;border:1px solid #86efac}.capital-decline{color:#991b1b;background:#fff;border:1px solid #fecaca}.capital-modal-backdrop{z-index:1000;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.capital-modal{background:#fff;border-radius:16px;width:min(560px,100%);max-height:90vh;padding:22px;overflow:auto;box-shadow:0 24px 60px #0f172a40}.capital-modal-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.capital-modal-heading h2{margin:0 0 4px}.capital-modal-heading p{color:#64748b;margin:0}.capital-modal-heading>button{cursor:pointer;background:0 0;border:0;font-size:1.1rem}.capital-form{gap:14px;display:grid}.capital-form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.capital-form label{color:#334155;gap:6px;font-size:.85rem;font-weight:700;display:grid}.capital-form input,.capital-form select,.capital-form textarea{box-sizing:border-box;width:100%;font:inherit;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:10px 11px}.capital-form input:focus,.capital-form select:focus,.capital-form textarea:focus{outline-offset:1px;outline:2px solid #cbd5e1}.capital-modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.capital-request-preview{background:#f8fafc;border-radius:10px;gap:8px;padding:14px;display:grid}.capital-request-preview span{color:#475569;justify-content:space-between;gap:18px;display:flex}.capital-request-preview strong{color:#0f172a}.capital-request-preview small{color:#64748b;line-height:1.45}@media (width<=900px){.capital-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.capital-layout{grid-template-columns:1fr}.capital-request-row{flex-wrap:wrap;align-items:flex-start}.capital-request-terms{text-align:left}}@media (width<=600px){.capital-header{flex-direction:column}.capital-header-actions,.capital-primary-action,.capital-secondary-action{width:100%}.capital-header-actions button{flex:1}.capital-summary-grid,.capital-terms-grid,.capital-form-grid{grid-template-columns:1fr}.capital-panel{padding:18px}.capital-request-row{display:grid}.capital-row-actions{width:100%}.capital-row-actions button{flex:1}.capital-modal{padding:18px}.capital-modal-actions{flex-direction:column-reverse}.capital-modal-actions button{width:100%}}.admin-task-page{flex-direction:column;gap:1.25rem;width:100%;max-width:1180px;margin:0 auto;padding-bottom:2rem;display:flex}.admin-task-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.admin-task-page-header h1{color:var(--text-primary,#111827);margin:.25rem 0 .35rem}.admin-task-page-header p,.admin-task-muted,.admin-task-section-heading p,.admin-task-form p{color:var(--text-secondary,#6b7280);margin:0;line-height:1.55}.admin-task-back-link{color:var(--primary-color,#2563eb);font-size:.9rem;font-weight:600;text-decoration:none}.admin-task-role-badge,.admin-task-pill{white-space:nowrap;border-radius:999px;align-items:center;font-size:.78rem;font-weight:700;line-height:1;display:inline-flex}.admin-task-role-badge{color:#3730a3;background:#eef2ff;padding:.55rem .75rem}.admin-task-role-badge.worker{color:#047857;background:#ecfdf5}.admin-task-alert{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:.75rem;padding:.8rem 1rem;font-weight:600}.admin-task-alert.error,.admin-task-error-text{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.admin-task-card,.admin-task-batch,.admin-task-stat{border:1px solid var(--border-color,#e5e7eb);background:var(--surface-color,#fff);border-radius:.9rem;box-shadow:0 1px 2px #0f172a0d}.admin-task-card,.admin-task-batch{padding:1rem}.admin-task-access-denied{max-width:620px}.admin-task-access-denied h2{margin-top:0}.admin-task-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.admin-task-stat{flex-direction:column;gap:.25rem;padding:1rem;display:flex}.admin-task-stat strong{color:var(--text-primary,#111827);font-size:1.65rem}.admin-task-stat span{color:var(--text-secondary,#6b7280);font-size:.85rem}.admin-task-requester-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.admin-task-form{flex-direction:column;gap:.8rem;display:flex}.admin-task-form h2,.admin-task-section h2,.admin-task-batch h3{color:var(--text-primary,#111827);margin:0}.admin-task-form label,.admin-task-invoice-action label{color:var(--text-primary,#111827);flex-direction:column;gap:.35rem;font-size:.86rem;font-weight:700;display:flex}.admin-task-form label span,.admin-task-invoice-action label span{color:var(--text-secondary,#6b7280);font-weight:500}.admin-task-form input,.admin-task-form textarea,.admin-task-form select,.admin-task-invoice-action input{border:1px solid var(--border-color,#d1d5db);background:var(--surface-color,#fff);width:100%;color:var(--text-primary,#111827);font:inherit;box-sizing:border-box;border-radius:.65rem;padding:.7rem .75rem}.admin-task-form textarea{resize:vertical;min-height:84px}.admin-task-form input:focus,.admin-task-form textarea:focus,.admin-task-form select:focus,.admin-task-invoice-action input:focus{outline:2px solid color-mix(in srgb, var(--primary-color,#2563eb) 25%, transparent);border-color:var(--primary-color,#2563eb)}.admin-task-button{font:inherit;cursor:pointer;border:0;border-radius:.65rem;padding:.68rem .9rem;font-weight:700}.admin-task-button.primary{background:var(--primary-color,#2563eb);color:#fff}.admin-task-button:disabled{cursor:not-allowed;opacity:.55}.admin-task-section{flex-direction:column;gap:.75rem;display:flex}.admin-task-section-heading{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.admin-task-section-heading>span{color:var(--text-secondary,#6b7280);white-space:nowrap;font-size:.85rem}.admin-task-batch{flex-direction:column;gap:.9rem;display:flex}.admin-task-batch-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.admin-task-batch-title-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.admin-task-batch-counts{flex-wrap:wrap;justify-content:flex-end;gap:.35rem;display:flex}.admin-task-batch-counts span{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:.35rem .55rem;font-size:.75rem;font-weight:700}.admin-task-pill{padding:.35rem .5rem}.admin-task-pill.status-open{color:#1d4ed8;background:#eff6ff}.admin-task-pill.status-awaiting_signoff{color:#c2410c;background:#fff7ed}.admin-task-pill.status-archived,.admin-task-pill.invoiced{color:#4b5563;background:#f3f4f6}.admin-task-pill.ready{color:#047857;background:#ecfdf5}.admin-task-list{border-top:1px solid var(--border-color,#e5e7eb)}.admin-task-row{border-bottom:1px solid var(--border-color,#e5e7eb);justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 0;display:flex}.admin-task-row:last-child{border-bottom:0;padding-bottom:0}.admin-task-row-main{min-width:0}.admin-task-row-main p{color:var(--text-primary,#111827);white-space:pre-wrap;margin:.45rem 0 0;line-height:1.5}.admin-task-row-topline{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.admin-task-date,.admin-task-history{color:var(--text-secondary,#6b7280);font-size:.78rem}.admin-task-history{margin-top:.25rem}.admin-task-actions{flex:none}.admin-task-empty-row,.admin-task-empty{color:var(--text-secondary,#6b7280)}.admin-task-empty-row{padding-top:.9rem}.admin-task-invoice-action,.admin-task-invoice-summary{background:#f8fafc;border-radius:.75rem;justify-content:space-between;align-items:end;gap:.75rem;padding:.8rem;display:flex}.admin-task-invoice-action label{flex:1}.admin-task-invoice-summary{color:var(--text-secondary,#6b7280);flex-wrap:wrap;justify-content:flex-start;align-items:center;font-size:.85rem}.admin-task-invoice-summary strong{color:var(--text-primary,#111827)}@media (width<=900px){.admin-task-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-task-requester-tools{grid-template-columns:1fr}}@media (width<=640px){.admin-task-page-header,.admin-task-batch-header,.admin-task-row,.admin-task-invoice-action{flex-direction:column;align-items:stretch}.admin-task-role-badge{align-self:flex-start}.admin-task-batch-counts{justify-content:flex-start}.admin-task-actions,.admin-task-actions .admin-task-button,.admin-task-invoice-action .admin-task-button{width:100%}}.admin-task-button.secondary{border:1px solid var(--border-color,#d1d5db);background:var(--surface-color,#fff);color:var(--text-primary,#111827)}.admin-task-inline-edit{background:#f8fafc;border-radius:.75rem;padding:.85rem}.admin-task-inline-edit.compact{min-width:min(560px,70vw);margin-top:.65rem}.admin-task-inline-actions,.admin-task-batch-actions,.admin-task-actions{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.admin-task-batch-actions{background:#f8fafc;border-radius:.75rem;justify-content:flex-end;padding:.75rem}.admin-task-batch-actions.top-actions{background:0 0;justify-content:flex-start;padding:0}.admin-task-action-note{color:var(--text-secondary,#6b7280);flex:1;font-size:.84rem;line-height:1.45}@media (width<=640px){.admin-task-inline-edit.compact{width:100%;min-width:0}.admin-task-inline-actions,.admin-task-batch-actions,.admin-task-actions{flex-direction:column;align-items:stretch;width:100%}.admin-task-inline-actions .admin-task-button,.admin-task-batch-actions .admin-task-button,.admin-task-actions .admin-task-button{width:100%}}.admin-task-entry-mode{border:1px solid var(--border-color,#d1d5db);background:#f8fafc;border-radius:.7rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding:.35rem;display:grid}.admin-task-entry-mode-button{color:var(--text-secondary,#6b7280);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.5rem;padding:.62rem .75rem;font-size:.85rem;font-weight:700}.admin-task-entry-mode-button.active{background:var(--surface-color,#fff);color:var(--text-primary,#111827);box-shadow:0 1px 2px #0f172a1a}.admin-task-bulk-help{color:var(--text-secondary,#6b7280);background:#f8fafc;border-radius:.65rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .75rem;font-size:.8rem;line-height:1.4;display:flex}.admin-task-bulk-help strong{color:var(--text-primary,#111827);white-space:nowrap}@media (width<=640px){.admin-task-bulk-help{flex-direction:column;align-items:flex-start}.admin-task-bulk-help strong{white-space:normal}}.admin-courier-access-section{background:#f8fafc}.admin-courier-access-controls{grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:14px;margin-top:14px;display:grid}.admin-courier-access-controls>label{color:var(--text-secondary);gap:6px;font-size:11px;font-weight:700;display:grid}.admin-courier-pay-input{border:1px solid var(--border-light);background:#fff;border-radius:8px;align-items:center;width:180px;display:flex;overflow:hidden}.admin-courier-pay-input>span{color:var(--text-muted);padding-left:11px;font-size:12px;font-weight:800}.admin-courier-pay-input input{width:100%;min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:none;padding:10px 11px 10px 5px;font-size:13px}.admin-courier-pay-input:focus-within{border-color:var(--blue-300,#7dd3fc);box-shadow:0 0 0 2px #0ea5e914}.admin-courier-access-error{color:#b91c1c;margin:10px 0 0;font-size:11px;font-weight:700}.admin-role-courier{color:#0369a1;background:#e0f2fe}.courier-routing-page .courier-summary-grid+.courier-management-section{display:none}@media (width<=640px){.admin-courier-access-controls{grid-template-columns:1fr;align-items:stretch}.admin-courier-pay-input,.admin-courier-access-controls .primary-button-small{width:100%}}.admin-organizations-page{padding-top:0}.admin-organizations-header{margin-top:8px;margin-bottom:20px}.admin-org-alert{border:1px solid;border-radius:10px;margin-bottom:16px;padding:12px 14px;font-size:13px;font-weight:650}.admin-org-alert-success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.admin-org-alert-error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.admin-org-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.admin-org-summary-grid article{border:1px solid var(--border-light);background:#fff;border-radius:13px;flex-direction:column;gap:5px;min-width:0;padding:17px 18px;display:flex}.admin-org-summary-grid span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.035em;font-size:12px;font-weight:750}.admin-org-summary-grid strong{color:var(--text-primary);font-size:25px;line-height:1}.admin-org-state-card{border:1px dashed var(--border-light);min-height:160px;color:var(--text-muted);background:#fff;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:28px;display:flex}.admin-org-spinner{border:2px solid var(--border-light);border-top-color:var(--blue-500,#0ea5e9);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite admin-org-spin}.admin-org-table td{vertical-align:middle}.admin-org-name-cell,.admin-org-table td:nth-child(3),.admin-org-table td:nth-child(4){flex-direction:column;gap:3px;display:flex}.admin-org-name-cell strong,.admin-org-table td:nth-child(3) strong,.admin-org-table td:nth-child(4) strong{color:var(--text-primary)}.admin-org-name-cell small,.admin-org-table td:nth-child(3) small,.admin-org-table td:nth-child(4) small{color:var(--text-muted);font-size:11px}.admin-org-status,.admin-org-delete-state,.admin-org-member-status,.admin-org-role{border-radius:999px;align-items:center;width:fit-content;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.admin-org-status.is-active,.admin-org-member-status.is-active,.admin-org-delete-state.is-ready{color:#047857;background:#ecfdf5}.admin-org-status.is-archived,.admin-org-member-status.is-inactive{color:#64748b;background:#f1f5f9}.admin-org-delete-state.is-blocked{color:#c2410c;background:#fff7ed}.admin-org-action-cell{text-align:right}.admin-org-manage-button,.admin-org-remove-member-button,.admin-org-restore-button,.admin-org-archive-button,.admin-org-delete-button{font:inherit;cursor:pointer;border-radius:8px;font-size:12px;font-weight:800;transition:transform .14s,border-color .14s,background .14s}.admin-org-manage-button{color:#0f172a;background:#fff;border:1px solid #cbd5e1;padding:7px 12px}.admin-org-manage-button:hover{background:#f0f9ff;border-color:#38bdf8}.admin-org-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8f;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.admin-org-modal{background:#fff;border:1px solid #cbd5e1e6;border-radius:18px;width:min(880px,100%);max-height:min(88vh,900px);overflow:hidden;box-shadow:0 30px 80px #0f172a3d}.admin-org-modal-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;display:flex}.admin-org-modal-header h3{color:var(--text-primary);margin:0;font-size:20px}.admin-org-modal-header p{color:var(--text-muted);margin:5px 0 0;font-size:13px}.admin-org-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;font-size:22px;display:grid}.admin-org-modal-body{max-height:calc(88vh - 86px);padding:22px 24px 26px;overflow-y:auto}.admin-org-details-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.admin-org-details-grid article{border:1px solid var(--border-light);background:#f8fafc;border-radius:11px;flex-direction:column;gap:5px;padding:13px 14px;display:flex}.admin-org-details-grid span{color:var(--text-muted);text-transform:uppercase;font-size:11px;font-weight:750}.admin-org-details-grid strong{color:var(--text-primary);font-size:16px}.admin-org-section{border-top:1px solid var(--border-light);padding:18px 0}.admin-org-section-heading h4{color:var(--text-primary);margin:0;font-size:15px}.admin-org-section-heading p{color:var(--text-muted);margin:5px 0 0;font-size:12px;line-height:1.55}.admin-org-member-list{gap:10px;margin-top:14px;display:grid}.admin-org-member-list article{border:1px solid var(--border-light);background:#fff;border-radius:11px;grid-template-columns:minmax(190px,1fr) auto auto auto;align-items:center;gap:10px;padding:12px 13px;display:grid}.admin-org-member-list article.is-inactive{opacity:.82;background:#f8fafc}.admin-org-member-list article>div{min-width:0}.admin-org-member-list strong,.admin-org-member-list small{display:block}.admin-org-member-list small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;overflow:hidden}.admin-org-role-owner{color:#92400e;background:#fef3c7}.admin-org-role-admin{color:#6d28d9;background:#ede9fe}.admin-org-role-sales{color:#0369a1;background:#e0f2fe}.admin-org-role-operations{color:#15803d;background:#dcfce7}.admin-org-role-viewer{color:#475569;background:#f1f5f9}.admin-org-remove-member-button{color:#b91c1c;background:#fff;border:1px solid #fecaca;padding:7px 10px}.admin-org-remove-member-button:hover:not(:disabled){background:#fef2f2}.admin-org-danger-zone{background:snow;border:1px solid #fecaca;border-radius:13px;margin-top:2px;padding:18px}.admin-org-confirmation{gap:7px;margin-top:15px;display:grid}.admin-org-confirmation span{color:#7f1d1d;font-size:12px}.admin-org-confirmation input{width:100%;color:var(--text-primary);font:inherit;background:#fff;border:1px solid #fca5a5;border-radius:8px;padding:10px 11px}.admin-org-danger-actions{flex-wrap:wrap;gap:10px;margin-top:13px;display:flex}.admin-org-restore-button,.admin-org-archive-button,.admin-org-delete-button{padding:9px 13px}.admin-org-restore-button{color:#047857;background:#ecfdf5;border:1px solid #86efac}.admin-org-archive-button{color:#c2410c;background:#fff7ed;border:1px solid #fdba74}.admin-org-delete-button{color:#fff;background:#dc2626;border:1px solid #ef4444}.admin-org-delete-help,.admin-org-owner-only,.admin-org-empty{color:var(--text-muted);margin:12px 0 0;font-size:12px;line-height:1.5}.admin-org-owner-only{background:#f8fafc;border-radius:9px;padding:12px}.admin-org-manage-button:disabled,.admin-org-remove-member-button:disabled,.admin-org-restore-button:disabled,.admin-org-archive-button:disabled,.admin-org-delete-button:disabled{opacity:.48;cursor:not-allowed}@keyframes admin-org-spin{to{transform:rotate(360deg)}}@media (width<=900px){.admin-org-summary-grid,.admin-org-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-org-member-list article{grid-template-columns:minmax(0,1fr) auto}.admin-org-member-list article .admin-org-member-status,.admin-org-member-list article .admin-org-remove-member-button{justify-self:start}}@media (width<=640px){.admin-organizations-page{padding-left:14px;padding-right:14px}.admin-org-summary-grid,.admin-org-details-grid{grid-template-columns:1fr}.admin-org-modal-backdrop{align-items:end;padding:0}.admin-org-modal{border-radius:18px 18px 0 0;width:100%;max-height:94vh}.admin-org-modal-body{max-height:calc(94vh - 82px);padding:18px 16px 24px}.admin-org-member-list article{grid-template-columns:1fr}.admin-org-danger-actions{flex-direction:column}.admin-org-restore-button,.admin-org-archive-button,.admin-org-delete-button{width:100%}}.admin-org-table td:nth-child(3),.admin-org-table td:nth-child(4){display:table-cell}.admin-org-table td:nth-child(3)>strong,.admin-org-table td:nth-child(3)>small,.admin-org-table td:nth-child(4)>strong,.admin-org-table td:nth-child(4)>small{display:block}.admin-org-table td:nth-child(3)>small,.admin-org-table td:nth-child(4)>small{margin-top:3px}
