:root{--font-sans:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--bg-navy-dark:#070d18;--bg-navy-main:#0b1329;--bg-navy-surface:#101c36;--border-navy-card:#ffffff14;--border-navy-subtle:#ffffff0a;--color-primary-50:#eff6ff;--color-primary-100:#dbeafe;--color-primary-200:#bfdbfe;--color-primary-500:#3b82f6;--color-primary-600:#2563eb;--color-primary-700:#1d4ed8;--color-primary-800:#1e40af;--bg-canvas:#f1f5f9;--bg-canvas-gradient:linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);--bg-card:#fff;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--text-light:#94a3b8;--border-input:#e2e8f0;--border-input-hover:#cbd5e1;--border-input-focus:#2563eb;--color-danger-500:#ef4444;--color-danger-600:#dc2626;--color-danger-surface:#fef2f2;--color-danger-border:#fecaca;--shadow-subtle:0 1px 2px 0 #0000000a;--shadow-form-card:0 20px 25px -5px #0f172a0f, 0 8px 10px -6px #0f172a08, 0 0 0 1px #0f172a0d;--shadow-btn:0 1px 2px 0 #1018280f;--shadow-btn-hover:0 4px 12px 0 #2563eb40;--focus-ring:0 0 0 3px #2563eb29;--radius-sm:6px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-full:9999px}*,:before,:after{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-feature-settings:"cv02", "cv03", "cv04", "cv11";min-height:100%;margin:0;padding:0}body{min-height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;line-height:var(--type-line-body);letter-spacing:-.011em;background-color:var(--bg-canvas);color:var(--text-primary);margin:0;padding:0}#root{flex-direction:column;min-height:100vh;display:flex}.login-page-container{width:100%;min-height:100vh;display:flex}.brand-panel{background-color:var(--bg-navy-main);color:#fff;border-right:1px solid var(--border-navy-card);flex-direction:column;flex:1.25;justify-content:space-between;padding:3rem 3.5rem;display:flex;position:relative;overflow:hidden}.brand-bg-glow{pointer-events:none;z-index:1;background:radial-gradient(circle,#2563eb29 0%,#1e40af0d 45%,#0000 70%);width:580px;height:580px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.brand-bg-grid-overlay{pointer-events:none;z-index:1;background-image:linear-gradient(90deg,#ffffff06 1px,#0000 1px),linear-gradient(#ffffff06 1px,#0000 1px);background-size:36px 36px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(circle,#000 45%,#0000 85%);mask-image:radial-gradient(circle,#000 45%,#0000 85%)}.brand-header{z-index:3;justify-content:space-between;align-items:center;display:flex}.brand-identity{align-items:center;gap:.875rem;display:flex}.brand-logo-icon{border-radius:var(--radius-md);background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 100%);border:1px solid #ffffff2e;justify-content:center;align-items:center;width:40px;height:40px;display:flex;box-shadow:0 4px 14px #1d4ed859}.brand-logo-icon svg{color:#fff;width:22px;height:22px}.brand-text{flex-direction:column;display:flex}.brand-title{font-size:var(--type-section-title);letter-spacing:-.02em;color:#fff;font-weight:700;line-height:var(--type-line-heading)}.brand-company{font-size:var(--type-badge);color:#94a3b8;letter-spacing:.02em;font-weight:500}.brand-center-composition{z-index:3;justify-content:center;align-items:center;margin:2rem 0;display:flex}.abstract-crm-wrapper{width:100%;max-width:510px;position:relative}.abstract-crm-backdrop-card{border-radius:var(--radius-xl);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1;pointer-events:none;background:#0e182e73;border:1px solid #ffffff0a;padding:1rem 1.25rem;position:absolute;inset:-12px -10px 12px 20px}.backdrop-card-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.backdrop-pill{border-radius:var(--radius-full);background-color:#ffffff14;width:50px;height:8px}.backdrop-dots{gap:4px;display:flex}.backdrop-dots span{background-color:#ffffff0f;border-radius:50%;width:6px;height:6px}.backdrop-card-body{flex-direction:column;gap:.6rem;display:flex}.backdrop-bar-row{gap:.5rem;display:flex}.backdrop-bar{border-radius:var(--radius-full);background-color:#ffffff0d;height:6px}.bar-1{width:45%}.bar-2{width:30%}.bar-3{width:25%}.bar-4{width:55%}.abstract-crm-main-card{z-index:2;border-radius:var(--radius-xl);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0d162ad9;border:1px solid #ffffff17;padding:1.25rem;position:relative;box-shadow:inset 0 1px #ffffff1f,0 25px 45px -12px #00000080,0 0 0 1px #00000040}.abstract-app-header{border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.85rem;display:flex}.abstract-dots{align-items:center;gap:6px;display:flex}.abstract-dots .dot{opacity:.75;border-radius:50%;width:9px;height:9px}.dot-red{background-color:#ef4444}.dot-amber{background-color:#f59e0b}.dot-green{background-color:#10b981}.abstract-header-center{align-items:center;gap:6px;display:flex}.abstract-header-tab{border-radius:var(--radius-full);background-color:#ffffff14;width:32px;height:8px}.abstract-header-tab.active{background-color:#3b82f659;width:44px}.abstract-header-right{align-items:center;gap:8px;display:flex}.abstract-search-bar{border-radius:var(--radius-full);background-color:#ffffff0d;width:90px;height:12px}.abstract-header-avatar{background-color:#3b82f666;border-radius:50%;width:16px;height:16px}.abstract-dashboard-content{flex-direction:column;gap:.85rem;display:flex}.abstract-widget{border-radius:var(--radius-lg);background-color:#14213ea6;border:1px solid #ffffff0f;padding:.95rem 1.15rem;box-shadow:inset 0 1px #ffffff0f}.widget-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.widget-title-skeleton{align-items:center;gap:.5rem;display:flex}.skeleton-icon{background-color:#3b82f640;border-radius:3px;width:14px;height:14px}.skeleton-line-title{border-radius:var(--radius-full);background-color:#fff3;width:85px;height:8px}.widget-badge-pill{border-radius:var(--radius-full);background-color:#2563eb33;border:1px solid #3b82f640;width:40px;height:14px}.abstract-chart-area{width:100%;height:48px;margin:.4rem 0 .85rem}.abstract-chart-svg{width:100%;height:100%;overflow:visible}.abstract-metrics-grid{border-top:1px solid #ffffff0a;grid-template-columns:repeat(3,1fr);gap:.75rem;padding-top:.75rem;display:grid}.metric-box{flex-direction:column;gap:5px;display:flex}.metric-label-line{border-radius:var(--radius-full);background-color:#ffffff1f;width:32px;height:5px}.metric-value-line{border-radius:var(--radius-full);background-color:#ffffff38;height:8px}.w-45{width:45%}.w-55{width:55%}.w-60{width:60%}.w-75{width:75%}.w-85{width:85%}.metric-progress-track{border-radius:var(--radius-full);background-color:#ffffff0f;width:100%;height:4px;margin-top:2px;overflow:hidden}.progress-fill{border-radius:var(--radius-full);height:100%}.fill-blue{background-color:#3b82f6}.fill-emerald{background-color:#10b981}.fill-indigo{background-color:#818cf8}.abstract-widgets-split{grid-template-columns:1.6fr 1fr;gap:.85rem;display:grid}.widget-table{flex-direction:column;gap:.55rem;padding:.75rem .95rem;display:flex}.abstract-data-row{border-bottom:1px solid #ffffff09;align-items:center;gap:.65rem;padding:.35rem 0;display:flex}.abstract-data-row:last-child{border-bottom:none;padding-bottom:0}.row-icon-silhouette{border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;display:flex}.row-icon-silhouette svg{width:12px;height:12px}.icon-shield{color:#34d399;background-color:#10b98126}.icon-doc{color:#60a5fa;background-color:#2563eb2e}.icon-user{color:#fbbf24;background-color:#f59e0b26}.row-lines-group{flex-direction:column;flex:1;gap:3px;display:flex}.row-line{border-radius:var(--radius-full);height:5px}.primary-line{background-color:#fff3}.secondary-line{background-color:#ffffff12}.row-pill{border-radius:var(--radius-full);width:28px;height:8px}.pill-emerald{background-color:#10b98159}.pill-blue{background-color:#3b82f659}.pill-amber{background-color:#f59e0b59}.widget-micro-stats{flex-direction:column;justify-content:space-between;padding:.75rem .95rem;display:flex}.mini-stat-header{align-items:center;gap:.4rem;display:flex}.mini-stat-dot{background-color:#38bdf8;border-radius:50%;width:6px;height:6px}.mini-stat-line{border-radius:var(--radius-full);background-color:#ffffff26;width:42px;height:6px}.mini-bars-container{justify-content:space-between;align-items:flex-end;height:48px;padding:.35rem .25rem 0;display:flex}.bar-col{background-color:#ffffff0d;border-radius:2px;align-items:flex-end;width:10px;height:100%;display:flex}.bar-fill{background-color:#3b82f680;border-radius:2px;width:100%}.bar-col.active .bar-fill{background-color:#38bdf8;box-shadow:0 0 8px #38bdf866}.mini-stat-footer-line{border-radius:var(--radius-full);background-color:#ffffff0d;width:100%;height:4px;margin-top:.35rem}.abstract-floating-badge{z-index:4;border-radius:var(--radius-full);background:#0f1930f2;border:1px solid #3b82f659;align-items:center;gap:.5rem;padding:.35rem .85rem;display:flex;position:absolute;bottom:-10px;right:18px;box-shadow:0 10px 20px #00000059,inset 0 1px #ffffff1a}.floating-badge-pulse{background-color:#38bdf8;border-radius:50%;width:6px;height:6px;box-shadow:0 0 6px #38bdf8}.floating-badge-lines{flex-direction:column;gap:2px;display:flex}.badge-line-top{border-radius:var(--radius-full);background-color:#ffffff59;width:44px;height:4px}.badge-line-bottom{border-radius:var(--radius-full);background-color:#ffffff26;width:24px;height:3px}.brand-footer{font-size:var(--type-helper);color:#64748b;border-top:1px solid var(--border-navy-subtle);z-index:3;padding-top:1.25rem}.form-section{background:var(--bg-canvas-gradient);flex:1;justify-content:center;align-items:center;padding:3rem 2.5rem;display:flex}.login-card-container{justify-content:center;width:100%;margin-top:-1.5rem;display:flex}.form-card{background-color:var(--bg-card);border-radius:var(--radius-xl);width:100%;max-width:450px;box-shadow:var(--shadow-form-card);border:1px solid var(--border-input);padding:2.75rem 2.5rem}.form-header{margin-bottom:2rem}.form-title{font-size:var(--type-page-title);letter-spacing:-.025em;color:var(--text-primary);font-weight:700;line-height:var(--type-line-heading);margin:0 0 .4rem}.form-subtitle{font-size:var(--type-helper);color:var(--text-secondary);line-height:var(--type-line-heading);margin:0}.login-form{flex-direction:column;gap:1.35rem;display:flex}.form-group{flex-direction:column;gap:.45rem;display:flex}.form-label{font-size:var(--type-label);color:var(--text-primary);font-weight:600}.input-container{align-items:center;display:flex;position:relative}.input-icon-adornment{color:var(--text-light);pointer-events:none;justify-content:center;align-items:center;transition:color .15s;display:flex;position:absolute;left:1rem}.input-icon-adornment svg{width:18px;height:18px}.input-container:focus-within .input-icon-adornment{color:var(--color-primary-600)}.form-input{width:100%;height:46px;font-size:var(--type-input);color:var(--text-primary);border:1.5px solid var(--border-input);border-radius:var(--radius-md);box-shadow:var(--shadow-subtle);background-color:#fff;padding:.65rem 1rem .65rem 2.85rem;font-family:inherit;transition:border-color .15s,box-shadow .15s}.form-input:hover{border-color:var(--border-input-hover)}.form-input:focus{border-color:var(--border-input-focus);box-shadow:var(--focus-ring);outline:none}.form-input.has-error{border-color:var(--color-danger-500);background-color:var(--color-danger-surface)}.form-input.has-error:focus{box-shadow:0 0 0 3px #ef444426}.toggle-password-btn{color:var(--text-muted);cursor:pointer;border-radius:var(--radius-sm);background:0 0;border:none;justify-content:center;align-items:center;padding:.35rem;transition:color .15s;display:flex;position:absolute;right:.75rem}.toggle-password-btn:hover{color:var(--text-primary)}.toggle-password-btn:focus-visible{outline:2px solid var(--color-primary-600);outline-offset:1px}.toggle-password-btn svg{width:18px;height:18px}.field-error-message{font-size:var(--type-helper);color:var(--color-danger-600);align-items:center;gap:.35rem;margin-top:.2rem;font-weight:500;display:flex}.field-error-message svg{flex-shrink:0;width:14px;height:14px}.remember-me-group{-webkit-user-select:none;user-select:none;align-items:center;gap:.55rem;margin:.15rem 0;display:flex}.custom-checkbox{width:18px;height:18px;accent-color:var(--color-primary-700);cursor:pointer;border-radius:4px}.remember-me-label{font-size:var(--type-label);color:var(--text-secondary);cursor:pointer;font-weight:500}.submit-btn{color:#fff;width:100%;height:48px;font-size:var(--type-button);border-radius:var(--radius-md);cursor:pointer;box-shadow:var(--shadow-btn);background:linear-gradient(#2563eb 0%,#1d4ed8 100%);border:1px solid #00000014;justify-content:center;align-items:center;gap:.6rem;margin-top:.35rem;font-family:inherit;font-weight:600;transition:all .15s;display:inline-flex}.submit-btn:hover{box-shadow:var(--shadow-btn-hover);background:linear-gradient(#1d4ed8 0%,#1e40af 100%)}.submit-btn:active{background:#1e40af;transform:translateY(1px)}.submit-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #2563eb59}.submit-btn:disabled{color:#64748b;cursor:not-allowed;box-shadow:none;background:#cbd5e1;transform:none}.form-status-banner{border-radius:var(--radius-md);font-size:var(--type-body);line-height:var(--type-line-compact);align-items:center;gap:.5rem;margin-bottom:1.25rem;padding:.75rem .95rem;font-weight:500;display:flex}.form-status-banner.info{background-color:var(--color-primary-50);border:1px solid var(--color-primary-200);color:var(--color-primary-800)}.form-status-banner.error{background-color:var(--color-danger-surface);border:1px solid var(--color-danger-border);color:var(--color-danger-600)}.btn-spinner{border:2.5px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=960px){.login-page-container{flex-direction:column}.brand-panel{border-right:none;border-bottom:1px solid var(--border-navy-card);flex:none;padding:2rem 1.75rem}.brand-bg-glow,.brand-center-composition,.brand-footer{display:none}.form-section{padding:2.5rem 1.5rem 3.5rem}.login-card-container{margin-top:0}.form-card{max-width:480px;padding:2.25rem 1.75rem}}@media (width<=480px){.brand-panel{padding:1.5rem 1.25rem}.form-section{padding:1.25rem 1rem 2rem}.form-card{border-radius:var(--radius-lg);padding:1.75rem 1.25rem;box-shadow:0 4px 6px -1px #0f172a0d,0 2px 4px -2px #0f172a08}.form-title{font-size:var(--type-page-title)}}.toast-container{z-index:var(--crm-layer-toast);pointer-events:none;flex-direction:column;gap:.65rem;width:calc(100% - 3rem);max-width:380px;display:flex;position:fixed;top:1.5rem;right:1.5rem}.toast-card{-webkit-backdrop-filter:blur(16px)saturate(180%);pointer-events:auto;background:#fffffff5;border:1px solid #0f172a14;border-radius:12px;align-items:flex-start;gap:.85rem;padding:.85rem 1rem;transition:transform .18s,opacity .18s,box-shadow .18s;animation:.28s cubic-bezier(.21,1.02,.46,1) forwards toastSpringIn;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 6px -1px #0f172a0a,0 12px 24px -4px #0f172a14,0 0 0 1px #0f172a08}.toast-card:hover{box-shadow:0 6px 12px -2px #0f172a0f,0 16px 32px -4px #0f172a1a,0 0 0 1px #0f172a0a}@keyframes toastSpringIn{0%{opacity:0;transform:translateY(-8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.toast-card:before{content:"";border-top-left-radius:12px;border-bottom-left-radius:12px;width:3.5px;position:absolute;top:0;bottom:0;left:0}.toast-leading-icon{border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;margin-top:1px;display:flex}.toast-leading-icon svg{width:15px;height:15px}.toast-content-wrapper{flex-direction:column;flex:1;gap:2px;min-width:0;padding-top:1px;display:flex}.toast-heading{font-size:var(--type-body);color:#0f172a;font-weight:600;line-height:var(--type-line-heading);letter-spacing:-.01em}.toast-description{font-size:var(--type-helper);color:#334155;font-weight:500;line-height:var(--type-line-compact);word-break:break-word}.toast-dismiss-trigger{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;margin:1px -.25rem 0 0;padding:0;transition:background-color .15s,color .15s;display:flex}.toast-dismiss-trigger svg{width:14px;height:14px}.toast-dismiss-trigger:hover{color:#1e293b;background-color:#0f172a0f}.toast-variant-success:before{background:#10b981}.toast-variant-success .toast-leading-icon{color:#059669;background:#ecfdf5;border:1px solid #10b98133}.toast-variant-error:before{background:#f43f5e}.toast-variant-error .toast-leading-icon{color:#e11d48;background:#fff1f2;border:1px solid #e11d4833}.toast-variant-warning:before{background:#f59e0b}.toast-variant-warning .toast-leading-icon{color:#d97706;background:#fffbeb;border:1px solid #f59e0b40}.toast-variant-info:before{background:#3b82f6}.toast-variant-info .toast-leading-icon{color:#2563eb;background:#eff6ff;border:1px solid #2563eb33}@media (width<=480px){.toast-container{width:auto;max-width:none;top:1rem;left:1rem;right:1rem}.toast-card{padding:.75rem .85rem}}:root{--shell-sidebar-bg:#0b1329;--shell-sidebar-border:#ffffff14;--shell-sidebar-hover:#ffffff0f;--shell-sidebar-active:#2563eb33;--shell-sidebar-active-text:#60a5fa;--shell-sidebar-text:#94a3b8;--shell-sidebar-text-muted:#64748b;--shell-topbar-bg:#fff;--shell-topbar-border:#e2e8f0;--shell-content-bg:#f8fafc;--shell-card-bg:#fff;--shell-card-border:#e2e8f0;--shell-text-heading:#0f172a;--shell-text-body:#475569;--shell-text-muted:#94a3b8;--shell-input-bg:#f1f5f9;--shell-input-border:#e2e8f0;--shell-dropdown-bg:#fff;--shell-dropdown-border:#e2e8f0;--shell-dropdown-hover:#f1f5f9;--crm-page-bg:var(--shell-content-bg);--crm-surface:#fff;--crm-surface-elevated:#fff;--crm-surface-muted:#f3f6fa;--crm-surface-strong:#eaf0f7;--crm-border:#64748b38;--crm-border-strong:#64748b57;--crm-border-soft:#64748b24;--crm-text-primary:#10213a;--crm-text-secondary:#5d6c82;--crm-text-muted:#8b98aa;--crm-accent:#245fd3;--crm-accent-hover:#183f8c;--crm-accent-soft:#245fd317;--crm-accent-border:#245fd340;--crm-primary:#143664;--crm-success:#087a5b;--crm-warning:#a65a08;--crm-danger:#c53b47;--crm-scrollbar-track:transparent;--crm-scrollbar-thumb:color-mix(in srgb, var(--crm-text-muted) 58%, transparent);--crm-scrollbar-thumb-hover:color-mix(in srgb, var(--crm-accent) 58%, var(--crm-text-muted));--crm-radius-sm:7px;--crm-radius-md:11px;--crm-radius-lg:14px;--crm-shadow-soft:0 10px 28px -22px #0f172a80, 0 2px 5px #0f172a09;--crm-shadow-elevated:0 18px 38px -18px #0f172a5c, 0 4px 10px #0f172a14;--crm-focus-ring:0 0 0 3px var(--crm-accent-soft);--crm-space-1:.25rem;--crm-space-2:.5rem;--crm-space-3:.75rem;--crm-space-4:1rem;--crm-space-5:1.25rem;--crm-space-6:1.5rem;--crm-control-sm:34px;--crm-control-md:40px;--crm-control-lg:44px;--crm-layer-menu:210;--crm-layer-modal:300;--crm-layer-floating:320;--crm-layer-tooltip:330;--crm-layer-toast:400}[data-theme=dark]{--shell-sidebar-bg:#070c1b;--shell-sidebar-border:#ffffff0f;--shell-sidebar-hover:#ffffff0d;--shell-sidebar-active:#2563eb38;--shell-sidebar-active-text:#60a5fa;--shell-sidebar-text:#94a3b8;--shell-sidebar-text-muted:#64748b;--shell-topbar-bg:#0d1527;--shell-topbar-border:#ffffff14;--shell-content-bg:#090e1a;--shell-card-bg:#111b33;--shell-card-border:#ffffff12;--shell-text-heading:#f8fafc;--shell-text-body:#94a3b8;--shell-text-muted:#64748b;--shell-input-bg:#ffffff0d;--shell-input-border:#ffffff14;--shell-dropdown-bg:#0f1a30;--shell-dropdown-border:#ffffff1a;--shell-dropdown-hover:#ffffff0f;--crm-page-bg:var(--shell-content-bg);--crm-surface:#111b31;--crm-surface-elevated:#14213a;--crm-surface-muted:#0d172a;--crm-surface-strong:#192943;--crm-border:#94a3b82e;--crm-border-strong:#94a3b84d;--crm-border-soft:#94a3b81a;--crm-text-primary:#edf4ff;--crm-text-secondary:#aab7c9;--crm-text-muted:#718198;--crm-accent:#67a1ff;--crm-accent-hover:#8ab6ff;--crm-accent-soft:#3b82f626;--crm-accent-border:#60a5fa4d;--crm-primary:#245da9;--crm-success:#40d2a3;--crm-warning:#f5bd62;--crm-danger:#fb8790;--crm-scrollbar-thumb:color-mix(in srgb, var(--crm-text-muted) 66%, transparent);--crm-scrollbar-thumb-hover:color-mix(in srgb, var(--crm-accent) 54%, var(--crm-text-muted));--crm-shadow-soft:0 14px 30px -24px #000000e6, 0 2px 6px #00000029;--crm-shadow-elevated:0 22px 44px -18px #000000b8, 0 5px 12px #0000004d}@media (hover:hover) and (pointer:fine){html,body,*{scrollbar-width:thin;scrollbar-color:var(--crm-scrollbar-thumb) var(--crm-scrollbar-track)}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:var(--crm-scrollbar-track)}::-webkit-scrollbar-thumb{background-color:var(--crm-scrollbar-thumb);background-clip:padding-box;border:1px solid #0000;border-radius:999px;min-width:32px;min-height:32px}::-webkit-scrollbar-thumb:hover{background-color:var(--crm-scrollbar-thumb-hover)}::-webkit-scrollbar-corner{background:0 0}}.app-content-surface,.modal-generic-card .modal-content,.notif-list,.data-detail-table-scroll{scrollbar-gutter:stable}.app-shell-root{background-color:var(--shell-content-bg);height:100dvh;min-height:0;color:var(--shell-text-body);font-family:var(--font-sans);transition:background-color .2s;display:flex;overflow:hidden}.app-main-viewport{flex-direction:column;flex:1;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.app-sidebar{background-color:var(--shell-sidebar-bg);border-right:1px solid var(--shell-sidebar-border);z-index:100;flex-direction:column;flex-shrink:0;width:260px;height:100vh;transition:width .22s cubic-bezier(.2,0,0,1),background-color .2s;display:flex;position:sticky;top:0}.app-sidebar.is-collapsed{width:72px}.sidebar-brand-header{border-bottom:1px solid var(--shell-sidebar-border);flex-shrink:0;align-items:center;gap:.75rem;height:64px;padding:0 1.25rem;display:flex}.sidebar-brand-logo-box{color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex;box-shadow:0 2px 8px #2563eb59}.sidebar-brand-logo-box svg{width:19px;height:19px}.sidebar-brand-text{white-space:nowrap;align-items:center;gap:.4rem;display:flex;overflow:hidden}.brand-name{font-size:var(--type-body-strong);color:#fff;letter-spacing:-.02em;font-weight:700}.brand-badge{font-size:var(--type-badge);color:#60a5fa;background:#2563eb40;border:1px solid #3b82f64d;border-radius:4px;padding:.15rem .4rem;font-weight:700}.sidebar-nav-container{flex-direction:column;flex:1;gap:1.08rem;padding:1.05rem .7rem 1.2rem;display:flex;overflow:hidden auto}.app-sidebar.is-collapsed .sidebar-nav-container{gap:.75rem}.sidebar-nav-group{flex-direction:column;display:flex}.sidebar-group-title{font-size:var(--type-sidebar);color:color-mix(in srgb, var(--shell-sidebar-text) 68%, transparent);letter-spacing:.115em;text-transform:uppercase;-webkit-user-select:none;user-select:none;padding:0 .72rem .46rem;font-weight:720}.sidebar-menu-list{flex-direction:column;gap:.28rem;margin:0;padding:0;list-style:none;display:flex}.sidebar-nav-btn{width:100%;min-height:42px;color:var(--shell-sidebar-text);font-size:var(--type-sidebar);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:9px;align-items:center;gap:.68rem;padding:.58rem .72rem;font-weight:570;transition:background-color .15s,color .15s,box-shadow .15s;display:flex;position:relative}.sidebar-nav-btn:hover{background-color:var(--shell-sidebar-hover);color:#f8fafc}.sidebar-nav-btn:focus-visible,.sidebar-submenu-btn:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--shell-sidebar-active-text) 42%, transparent);outline:0}.sidebar-nav-btn.is-active{background-color:color-mix(in srgb, var(--shell-sidebar-active) 76%, transparent);color:var(--shell-sidebar-active-text);font-weight:650}.sidebar-icon{flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;display:flex}.sidebar-icon svg{width:18px;height:18px}.sidebar-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.sidebar-parent-btn .sidebar-label{flex:1}.sidebar-parent-btn{min-height:46px;color:color-mix(in srgb, var(--shell-sidebar-text) 94%, #fff 6%);background:color-mix(in srgb, var(--shell-sidebar-hover) 48%, var(--shell-sidebar-bg));border:1px solid #0000;border-radius:9px;font-weight:640;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}.sidebar-parent-btn:hover{border-color:color-mix(in srgb, var(--shell-sidebar-text) 10%, transparent);background:color-mix(in srgb, var(--shell-sidebar-hover) 72%, var(--shell-sidebar-bg))}.sidebar-parent-btn.is-active{border-color:color-mix(in srgb, var(--shell-sidebar-active-text) 10%, transparent);color:#fff;background:color-mix(in srgb, var(--shell-sidebar-active) 31%, var(--shell-sidebar-bg));box-shadow:0 8px 20px -20px #000000e6}.sidebar-parent-heading{cursor:pointer}.sidebar-parent-heading:hover{color:#fff;border-color:color-mix(in srgb, var(--shell-sidebar-text) 10%, transparent);background:color-mix(in srgb, var(--shell-sidebar-hover) 72%, var(--shell-sidebar-bg))}.sidebar-parent-heading.is-open,.sidebar-parent-heading.is-open:hover,.sidebar-parent-heading.is-active,.sidebar-parent-heading.is-active:hover{color:#fff;border-color:color-mix(in srgb, var(--shell-sidebar-active-text) 10%, transparent);background:color-mix(in srgb, var(--shell-sidebar-active) 31%, var(--shell-sidebar-bg))}.sidebar-parent-heading.is-open .sidebar-label,.sidebar-parent-heading.is-active .sidebar-label{color:#fff}.sidebar-parent-chevron{width:16px;height:16px;color:color-mix(in srgb, var(--shell-sidebar-text) 72%, transparent);flex:none;justify-content:center;align-items:center;transition:transform .15s,color .15s;display:inline-flex}.sidebar-parent-chevron svg{width:14px;height:14px}.sidebar-parent-heading.is-open .sidebar-parent-chevron{color:#fff;transform:rotate(180deg)}.sidebar-parent-btn .sidebar-icon{color:color-mix(in srgb, var(--shell-sidebar-text) 82%, transparent)}.sidebar-parent-btn.is-active .sidebar-icon{color:color-mix(in srgb, var(--shell-sidebar-active-text) 78%, var(--shell-sidebar-text))}.sidebar-submenu-list{flex-direction:column;gap:.18rem;margin:0 0 0 .72rem;padding:.3rem 0 .36rem;list-style:none;display:flex;overflow:hidden}.sidebar-submenu-list>li:first-child{padding-top:0}.sidebar-submenu-list>li:last-child{padding-bottom:0}.sidebar-submenu-btn{width:100%;min-height:38px;color:color-mix(in srgb, var(--shell-sidebar-text) 88%, #f8fafc 12%);font:inherit;font-size:var(--type-sidebar-child);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:4px 7px 7px 4px;align-items:center;gap:.56rem;padding:.46rem .58rem;font-weight:580;transition:background-color .14s,color .14s,box-shadow .14s;display:flex}.sidebar-submenu-btn:hover{color:#f8fafc;background:color-mix(in srgb, var(--shell-sidebar-hover) 62%, transparent)}.sidebar-submenu-btn.is-active{color:#f8fafc;background:color-mix(in srgb, var(--shell-sidebar-active) 25%, var(--shell-sidebar-bg));box-shadow:none;font-weight:660}.sidebar-submenu-icon{width:18px;height:18px;color:color-mix(in srgb, var(--shell-sidebar-text) 78%, transparent);opacity:.82;flex:none;justify-content:center;align-items:center;display:inline-flex}.sidebar-submenu-icon svg{width:15px;height:15px}.sidebar-submenu-btn.is-active .sidebar-submenu-icon{color:var(--shell-sidebar-active-text);opacity:1}.app-sidebar.is-collapsed .sidebar-nav-btn{justify-content:center;padding:.58rem 0}.app-sidebar.is-collapsed .sidebar-parent-btn.is-active{box-shadow:none}.sidebar-collapsed-flyout.crm-popover-content{width:264px;padding:.42rem}.sidebar-flyout-header{border-bottom:1px solid var(--crm-border-soft);align-items:center;gap:.58rem;min-height:52px;padding:.42rem .48rem .58rem;display:flex}.sidebar-flyout-header>span{border:1px solid var(--crm-accent-border);width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.sidebar-flyout-header>span svg{width:17px;height:17px}.sidebar-flyout-header>div{flex-direction:column;gap:.12rem;min-width:0;display:flex}.sidebar-flyout-header strong{color:var(--crm-text-primary);font-size:var(--type-sidebar-child);font-weight:690}.sidebar-flyout-header small{color:var(--crm-text-muted);font-size:var(--type-sidebar-child)}.sidebar-flyout-list{flex-direction:column;gap:.16rem;padding-top:.34rem;display:flex}.sidebar-flyout-item{width:100%;min-height:38px;color:var(--crm-text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:.52rem;padding:.42rem .5rem;transition:background-color .14s,border-color .14s,color .14s;display:flex}.sidebar-flyout-item:hover{color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-soft)}.sidebar-flyout-item:focus-visible{border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring);outline:0}.sidebar-flyout-item.is-active{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border)}.sidebar-flyout-item>span{color:currentColor;background:var(--crm-surface-elevated);border-radius:7px;flex:none;justify-content:center;align-items:center;width:25px;height:25px;display:inline-flex}.sidebar-flyout-item>span svg{width:14px;height:14px}.sidebar-flyout-item>strong{min-width:0;font-size:var(--type-sidebar-child);text-overflow:ellipsis;white-space:nowrap;font-weight:630;overflow:hidden}.app-sidebar.is-collapsed .sidebar-nav-btn[data-tooltip]:hover:after{content:attr(data-tooltip);color:#f8fafc;font-size:var(--type-sidebar);white-space:nowrap;z-index:1000;pointer-events:none;background:#0f172a;border:1px solid #ffffff1a;border-radius:6px;padding:.35rem .65rem;font-weight:500;position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%);box-shadow:0 4px 12px #00000040}.sidebar-footer{border-top:1px solid var(--shell-sidebar-border);flex-shrink:0;padding:.72rem}.sidebar-collapse-toggle-btn{background-color:color-mix(in srgb, var(--shell-sidebar-hover) 48%, transparent);border:1px solid var(--shell-sidebar-border);width:100%;min-height:42px;color:color-mix(in srgb, var(--shell-sidebar-text) 82%, transparent);font-size:var(--type-sidebar);cursor:pointer;border-radius:9px;align-items:center;gap:.65rem;padding:.55rem .72rem;font-weight:500;transition:background-color .15s,border-color .15s,color .15s;display:flex}.sidebar-collapse-toggle-btn:hover{background-color:var(--shell-sidebar-hover);color:#f8fafc;border-color:color-mix(in srgb, var(--shell-sidebar-active-text) 18%, var(--shell-sidebar-border))}.app-sidebar.is-collapsed .sidebar-collapse-toggle-btn{justify-content:center;padding:.55rem 0}.sidebar-collapse-toggle-btn svg{flex-shrink:0;width:18px;height:18px}.app-topbar{background-color:var(--shell-topbar-bg);border-bottom:1px solid var(--shell-topbar-border);z-index:90;flex:0 0 64px;justify-content:space-between;align-items:center;height:64px;padding:0 1.75rem;transition:background-color .2s,border-color .2s;display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:1rem;display:flex}.topbar-mobile-menu-btn{border:1px solid var(--shell-topbar-border);width:36px;height:36px;color:var(--shell-text-body);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;display:none}.topbar-mobile-menu-btn svg{width:18px;height:18px}.topbar-breadcrumb{align-items:center;gap:.5rem;display:flex}.breadcrumb-root{color:var(--shell-text-muted);font-size:var(--type-helper);font-weight:500}.breadcrumb-separator{color:var(--shell-text-muted);font-size:var(--type-helper)}.breadcrumb-current{font-size:var(--type-body);color:var(--shell-text-heading);margin:0;font-weight:600}.topbar-right{align-items:center;gap:.75rem;display:flex}.topbar-search-wrapper{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:8px;align-items:center;gap:.5rem;width:250px;height:38px;padding:0 .75rem;transition:all .18s;display:flex}.topbar-search-wrapper:focus-within{border-color:var(--color-primary-500);background-color:var(--shell-card-bg);width:290px;box-shadow:0 0 0 3px #2563eb1f}.search-icon-adornment{color:var(--shell-text-muted);align-items:center;display:flex}.search-icon-adornment svg{width:15px;height:15px}.topbar-search-input{font-size:var(--type-input);color:var(--shell-text-heading);background:0 0;border:none;outline:none;flex:1;min-width:0}.topbar-search-input::placeholder{color:var(--shell-text-muted)}.search-shortcut-badge{font-size:var(--type-badge);color:var(--shell-text-muted);background:#0000000d;border:1px solid #00000014;border-radius:4px;padding:.15rem .4rem;font-weight:600}[data-theme=dark] .search-shortcut-badge{background:#ffffff14;border-color:#ffffff1a}.topbar-action-icon-btn{width:38px;height:38px;color:var(--shell-text-body);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.topbar-action-icon-btn:hover{background-color:var(--shell-input-bg);color:var(--shell-text-heading)}.topbar-action-icon-btn svg{width:18px;height:18px}.notif-badge-dot{border:1.5px solid var(--shell-topbar-bg);color:#fff;box-sizing:border-box;min-width:17px;height:17px;font-size:var(--type-badge);font-weight:700;line-height:var(--type-line-control);font-variant-numeric:tabular-nums;background-color:#ef4444;border-radius:999px;place-items:center;padding:0 4px;display:grid;position:absolute;top:3px;right:1px}.topbar-dropdown-container{position:relative}.topbar-dropdown-panel{background:var(--shell-dropdown-bg);border:1px solid var(--shell-dropdown-border);z-index:1000;border-radius:10px;animation:.15s dropdownPop;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 10px 25px -5px #00000026,0 8px 10px -6px #00000014}@keyframes dropdownPop{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.notif-panel{flex-direction:column;width:min(380px,100vw - 24px);max-height:min(520px,100vh - 76px);padding:0;display:flex;overflow:hidden}.dropdown-panel-header{border-bottom:1px solid var(--shell-dropdown-border);justify-content:space-between;align-items:center;margin:0;padding:.85rem .85rem .65rem;display:flex}.panel-title{font-size:var(--type-body);color:var(--shell-text-heading);font-weight:600}.panel-badge{font-size:var(--type-badge);color:#2563eb;background:#2563eb1a;border-radius:4px;padding:.15rem .4rem;font-weight:600}.dropdown-empty-state{text-align:center;font-size:var(--type-helper);color:var(--shell-text-muted);flex-direction:column;justify-content:center;align-items:center;padding:1.5rem .5rem;display:flex}.notif-panel-body{min-height:0;overflow:hidden}.notif-list{flex-direction:column;gap:2px;max-height:390px;padding:.5rem;display:flex;overflow-y:auto}.notif-list-item{width:100%;color:var(--shell-text-body);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:.65rem;padding:.7rem .65rem;transition:background-color .15s;display:flex}.notif-list-item:hover{background:var(--shell-input-bg)}.notif-list-item.is-unread,.notif-list-item.is-recently-seen{background:#2563eb12}.notif-item-indicator{background:0 0;border-radius:50%;flex:0 0 7px;width:7px;height:7px;margin-top:5px}.notif-list-item.is-unread .notif-item-indicator{background:#2563eb}.notif-item-icon{width:30px;height:30px;color:var(--crm-accent);background:var(--crm-accent-soft);border-radius:8px;flex:0 0 30px;place-items:center;display:grid}.notif-item-content{flex-direction:column;gap:.22rem;min-width:0;display:flex}.notif-item-content strong{color:var(--shell-text-heading);font-size:var(--type-body-strong);line-height:var(--type-line-compact)}.notif-item-content>span{color:var(--shell-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact)}.notif-item-content time{color:var(--text-subtle);font-size:var(--type-helper)}.notif-retry-button{color:#2563eb;font-size:var(--type-button);cursor:pointer;background:0 0;border:0;margin-top:.55rem;padding:0;font-weight:600}.notif-panel-footer{border-top:1px solid var(--shell-dropdown-border);background:var(--shell-dropdown-bg);flex:none;padding:.5rem}.notif-all-button{border:1px solid var(--shell-dropdown-border);width:100%;min-height:36px;color:var(--shell-text-heading);font-size:var(--type-button);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:.45rem;padding:0 .7rem;font-weight:600;transition:background-color .15s,border-color .15s,color .15s;display:flex}.notif-all-button:hover{background:var(--shell-input-bg);color:#2563eb;border-color:#2563eb59}.notif-all-button:focus-visible{box-shadow:var(--focus-ring);outline:0}.notif-all-button svg{width:15px;height:15px}.topbar-profile-trigger{border:1px solid var(--shell-topbar-border);cursor:pointer;background:0 0;border-radius:9999px;align-items:center;gap:.65rem;height:40px;padding:0 .65rem 0 .4rem;transition:all .15s;display:flex}.topbar-profile-trigger:hover{background-color:var(--shell-input-bg)}.profile-avatar-pill{color:#fff;width:30px;height:30px;font-size:var(--type-badge);background:linear-gradient(135deg,#2563eb,#3b82f6);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:flex}.profile-meta-text{text-align:left;flex-direction:column;display:flex}.profile-full-name{font-size:var(--type-body-strong);color:var(--shell-text-heading);font-weight:600;line-height:var(--type-line-compact)}.profile-role-badge{font-size:var(--type-badge);color:var(--shell-text-muted);font-weight:500}.profile-chevron-icon{width:16px;height:16px;color:var(--shell-text-muted);transition:transform .15s}.profile-panel{width:220px;padding:.4rem}.profile-dropdown-header{padding:.6rem .75rem}.dropdown-user-name{font-size:var(--type-body-strong);color:var(--shell-text-heading);font-weight:600}.dropdown-user-email{font-size:var(--type-badge);color:var(--shell-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dropdown-divider{background-color:var(--shell-dropdown-border);height:1px;margin:.35rem 0}.dropdown-menu-item{width:100%;font-size:var(--type-helper);color:var(--shell-text-body);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.65rem;padding:.55rem .75rem;font-weight:500;transition:all .12s;display:flex}.dropdown-menu-item:hover{background-color:var(--shell-dropdown-hover);color:var(--shell-text-heading)}.dropdown-menu-item svg{width:16px;height:16px;color:var(--shell-text-muted)}.dropdown-menu-item.logout-item:hover,.dropdown-menu-item.logout-item:hover svg{color:#ef4444}.app-content-surface{background-color:var(--shell-content-bg);flex:1;min-height:0;padding:1.75rem 2rem 3rem;transition:background-color .2s;overflow-y:auto}.content-shell-container{flex-direction:column;gap:1.5rem;width:100%;margin-left:auto;margin-right:auto;display:flex}.content-shell-container.content-wide,.content-wide{max-width:1680px}.content-shell-container.content-standard,.content-standard{max-width:1180px}.content-shell-container.content-narrow,.content-narrow{max-width:900px}.content-shell-container.content-full,.content-full{max-width:100%}.content-page-header{justify-content:space-between;align-items:center;display:flex}.content-page-title{font-size:var(--type-page-title);color:var(--shell-text-heading);letter-spacing:-.02em;margin:0;font-weight:700}.content-page-subtitle{font-size:var(--type-helper);color:var(--shell-text-muted);margin:.25rem 0 0}.placeholder-stats-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;display:grid}.placeholder-content-grid{grid-template-columns:2fr 1fr;gap:1.25rem;display:grid}.placeholder-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:12px;padding:1.5rem;transition:background-color .2s,border-color .2s;box-shadow:0 1px 3px #00000008}.card-skeleton-header{justify-content:space-between;align-items:center;display:flex}.skeleton-pill{background:var(--shell-input-bg);border-radius:var(--radius-full);height:12px}.skeleton-line{background:var(--shell-input-bg);border-radius:var(--radius-full);height:10px}.skeleton-line-tall{background:var(--shell-input-bg);border-radius:6px;height:24px}.skeleton-icon-box{background:var(--shell-input-bg);border-radius:8px;width:32px;height:32px}.panel-header-row{border-bottom:1px solid var(--shell-card-border);justify-content:space-between;align-items:center;padding-bottom:.75rem;display:flex}.wireframe-block{background:var(--shell-input-bg);border:1px dashed var(--shell-card-border);border-radius:8px}.w-20{width:80px}.w-24{width:96px}.w-28{width:112px}.w-32{width:128px}.w-36{width:144px}.w-40{width:160px}.w-44{width:176px}.w-48{width:192px}.w-full{width:100%}.h-12{height:48px}.h-20{height:80px}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mb-3{margin-bottom:.75rem}@media (width<=960px){.app-sidebar{visibility:hidden;pointer-events:none;box-shadow:none;transition:transform .22s,visibility 0s linear .22s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%)}.app-sidebar.is-mobile-open{visibility:visible;pointer-events:auto;transition:transform .22s,visibility linear;transform:translate(0);box-shadow:0 0 24px #0006}.app-main-viewport{flex-basis:100%;width:100%}.sidebar-mobile-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99;background:#0000008c;position:fixed;inset:0}.topbar-mobile-menu-btn{display:flex}.placeholder-stats-grid,.placeholder-content-grid{grid-template-columns:1fr}.topbar-search-wrapper{width:180px}.topbar-search-wrapper:focus-within{width:220px}}@media (width<=640px){.app-topbar{padding:0 1rem}.app-content-surface{padding:1.25rem 1rem 2rem}.topbar-search-wrapper,.profile-meta-text{display:none}.topbar-profile-trigger{border:none;padding:0}.profile-chevron-icon{display:none}}.users-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.invite-user-btn{background-color:var(--color-primary-600);color:#fff;border:1px solid var(--color-primary-700);border-radius:var(--radius-md);height:40px;font-size:var(--type-button);cursor:pointer;letter-spacing:-.01em;align-items:center;gap:.5rem;padding:0 1.15rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 3px #2563eb40}.invite-user-btn:hover{background-color:var(--color-primary-700);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.invite-user-btn .btn-leading-icon{width:18px;height:18px}.users-toolbar-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-lg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;transition:background-color .2s,border-color .2s;display:flex;box-shadow:0 1px 3px #00000005}.toolbar-search-wrapper{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);flex:1;align-items:center;gap:.5rem;min-width:260px;max-width:420px;height:38px;padding:0 .75rem;transition:all .15s;display:flex}.toolbar-search-wrapper:focus-within{border-color:var(--color-primary-500);background-color:var(--shell-card-bg);box-shadow:0 0 0 3px #2563eb1f}.toolbar-search-icon svg{width:16px;height:16px;color:var(--shell-text-muted)}.toolbar-search-input{font-size:var(--type-input);color:var(--shell-text-heading);background:0 0;border:none;outline:none;flex:1;min-width:0}.toolbar-search-input::placeholder{color:var(--shell-text-muted)}.toolbar-clear-btn{color:var(--shell-text-muted);cursor:pointer;background:0 0;border:none;align-items:center;padding:0;display:flex}.toolbar-clear-btn svg{width:14px;height:14px}.toolbar-filters-group{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.toolbar-select-wrapper{position:relative}.toolbar-select-input{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);height:38px;color:var(--shell-text-heading);font-size:var(--type-input);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-position:right .6rem center;background-repeat:no-repeat;background-size:14px;outline:none;padding:0 2rem 0 .85rem;font-weight:500;transition:all .15s}.toolbar-select-input:focus{border-color:var(--color-primary-500);box-shadow:0 0 0 3px #2563eb1f}.users-table-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-lg);flex-direction:column;transition:background-color .2s,border-color .2s;display:flex;overflow:hidden;box-shadow:0 1px 3px #00000005}.table-responsive-wrapper{width:100%;overflow-x:auto}.enterprise-data-table{border-collapse:collapse;text-align:left;width:100%}.enterprise-data-table thead tr{background-color:var(--shell-input-bg);border-bottom:1px solid var(--shell-card-border)}.enterprise-data-table th{font-size:var(--type-table-header);color:var(--shell-text-muted);letter-spacing:.04em;text-transform:uppercase;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:.75rem 1rem;font-weight:600}.enterprise-data-table tbody tr{border-bottom:1px solid var(--shell-card-border);transition:background-color .12s}.enterprise-data-table tbody tr:last-child{border-bottom:none}.enterprise-data-table tbody tr:hover{background-color:var(--shell-sidebar-hover)}.enterprise-data-table td{font-size:var(--type-table-body);color:var(--shell-text-body);vertical-align:middle;padding:.75rem 1rem}.table-skeleton-row td{padding:.85rem 1rem}.table-skeleton-row .skeleton-pill,.table-skeleton-row .skeleton-avatar,.table-skeleton-row .skeleton-icon-box{animation:1.5s ease-in-out infinite skeletonPulse}.skeleton-avatar{background-color:var(--shell-input-bg);border-radius:50%;flex-shrink:0;width:34px;height:34px}@keyframes skeletonPulse{0%,to{opacity:1}50%{opacity:.45}}.table-user-cell{align-items:center;gap:.75rem;display:flex}.table-user-avatar{color:#fff;width:34px;height:34px;font-size:var(--type-table-body);background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:600;display:flex}.table-user-meta{flex-direction:column;gap:2px;display:flex}.table-user-name{font-size:var(--type-table-body);color:var(--shell-text-heading);font-weight:600;line-height:var(--type-line-compact)}.table-user-email{font-size:var(--type-table-body);color:var(--shell-text-muted);line-height:var(--type-line-compact)}.table-role-tag{font-size:var(--type-table-body);color:#2563eb;background-color:#2563eb14;border:1px solid #2563eb26;border-radius:6px;padding:.2rem .6rem;font-weight:600;display:inline-block}[data-theme=dark] .table-role-tag{color:#60a5fa;background-color:#2563eb2e;border-color:#2563eb40}.table-cell-text{font-size:var(--type-table-body);color:var(--shell-text-body)}.table-cell-date{font-size:var(--type-table-body);color:var(--shell-text-muted);font-variant-numeric:tabular-nums}.user-status-pill{border-radius:var(--radius-full);font-size:var(--type-badge);letter-spacing:.01em;align-items:center;gap:.45rem;padding:.2rem .65rem;font-weight:600;display:inline-flex}.status-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.badge-status-active{color:#059669;background-color:#10b9811a;border:1px solid #10b98133}.badge-status-active .status-dot{background-color:#10b981}.badge-status-inactive{color:#64748b;background-color:#94a3b81f;border:1px solid #94a3b833}.badge-status-inactive .status-dot{background-color:#94a3b8}.badge-status-suspended{color:#d97706;background-color:#f59e0b1a;border:1px solid #f59e0b33}.badge-status-suspended .status-dot{background-color:#f59e0b}[data-theme=dark] .badge-status-active{color:#34d399}[data-theme=dark] .badge-status-suspended{color:#fbbf24}.table-actions-container{display:inline-block;position:relative}.table-action-trigger-btn{width:32px;height:32px;color:var(--shell-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;transition:all .12s;display:inline-flex}.table-action-trigger-btn:hover,.table-action-trigger-btn.is-active{background-color:var(--shell-input-bg);color:var(--shell-text-heading);border-color:var(--shell-card-border)}.table-action-trigger-btn svg{width:18px;height:18px}.table-actions-dropdown,.table-actions-portal-dropdown{background:var(--shell-dropdown-bg);border:1px solid var(--shell-dropdown-border);min-width:165px;z-index:var(--crm-layer-menu);border-radius:8px;padding:.35rem;animation:.12s cubic-bezier(.16,1,.3,1) dropdownPop;position:fixed;box-shadow:0 10px 25px -5px #0003,0 8px 10px -6px #0000001a}.table-dropdown-item{width:100%;font-family:inherit;font-size:var(--type-table-body);color:var(--shell-text-body);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;padding:.45rem .65rem;font-weight:500;transition:background-color .1s,color .1s;align-items:center!important;gap:.5rem!important;display:flex!important}.table-dropdown-item:hover{background-color:var(--shell-dropdown-hover);color:var(--shell-text-heading)}.table-dropdown-item svg{color:var(--shell-text-muted);flex-shrink:0!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important}.table-dropdown-item.item-danger:hover{color:#ef4444;background-color:#ef444414}.table-dropdown-item.item-danger:hover svg{color:#ef4444}.table-dropdown-item.item-success:hover{color:#10b981;background-color:#10b98114}.table-dropdown-item.item-success:hover svg{color:#10b981}.table-dropdown-divider{background-color:var(--shell-dropdown-border);height:1px;margin:.3rem 0}.table-empty-cell{text-align:center;padding:3.5rem 1rem!important}.table-empty-content{flex-direction:column;justify-content:center;align-items:center;gap:.65rem;display:flex}.empty-icon{width:32px;height:32px;color:var(--shell-text-muted);opacity:.6}.empty-title{font-size:var(--type-body);color:var(--shell-text-muted);font-weight:500}.table-pagination-footer{border-top:1px solid var(--shell-card-border);background-color:var(--shell-card-bg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.25rem;display:flex}.pagination-info{font-size:var(--type-helper);color:var(--shell-text-muted)}.pagination-info strong{color:var(--shell-text-heading)}.pagination-controls{align-items:center;gap:.65rem;display:flex}.pagination-page-indicator{font-size:var(--type-helper);color:var(--shell-text-muted);font-weight:500}.pagination-btn{border:1px solid var(--shell-card-border);background-color:var(--shell-input-bg);width:30px;height:30px;color:var(--shell-text-body);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;transition:all .12s;display:inline-flex}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-btn:not(:disabled):hover{background-color:var(--shell-dropdown-hover);color:var(--shell-text-heading)}.pagination-btn svg{width:14px;height:14px}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:var(--crm-layer-modal);background-color:#070d18a6;justify-content:center;align-items:center;padding:1.25rem;animation:.15s modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.modal-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-xl);flex-direction:column;width:100%;max-width:520px;animation:.18s cubic-bezier(.16,1,.3,1) modalPop;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0000004d,0 0 0 1px #ffffff0d}@keyframes modalPop{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-header{border-bottom:1px solid var(--shell-card-border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.5rem 1.5rem 1rem;display:flex}.modal-title-group{flex-direction:column;gap:.25rem;display:flex}.modal-title{font-size:var(--type-modal-title);color:var(--shell-text-heading);letter-spacing:-.015em;margin:0;font-weight:700}.modal-subtitle{font-size:var(--type-helper);color:var(--shell-text-muted);line-height:var(--type-line-heading);margin:0}.modal-close-btn{border-radius:var(--radius-md);width:32px;height:32px;color:var(--shell-text-muted);cursor:pointer;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;transition:background-color .12s,color .12s;display:flex}.modal-close-btn:hover{background-color:var(--shell-input-bg);color:var(--shell-text-heading)}.modal-close-btn svg{width:18px;height:18px}.modal-form{flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.modal-form-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.modal-form-group{flex-direction:column;gap:.45rem;display:flex}.modal-label{font-size:var(--type-label);color:var(--shell-text-heading);align-items:center;gap:.25rem;font-weight:600;display:flex}.label-required{color:#ef4444}.modal-input{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);width:100%;height:40px;font-size:var(--type-input);color:var(--shell-text-heading);outline:none;padding:0 .85rem;transition:all .15s}.modal-input:focus{border-color:var(--color-primary-500);background-color:var(--shell-card-bg);box-shadow:0 0 0 3px #2563eb1f}.modal-select-wrapper{position:relative}.modal-select{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);width:100%;height:40px;font-size:var(--type-input);color:var(--shell-text-heading);cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat;background-size:14px;outline:none;padding:0 2rem 0 .85rem;transition:all .15s}.modal-select:focus{border-color:var(--color-primary-500);background-color:var(--shell-card-bg);box-shadow:0 0 0 3px #2563eb1f}.modal-footer{justify-content:flex-end;align-items:center;gap:.75rem;padding-top:.5rem;display:flex}.modal-btn{border-radius:var(--radius-md);height:40px;font-size:var(--type-button);cursor:pointer;justify-content:center;align-items:center;gap:.5rem;padding:0 1.25rem;font-weight:600;transition:all .15s;display:inline-flex}.modal-btn-secondary{background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);color:var(--shell-text-body)}.modal-btn-secondary:hover{background-color:var(--shell-dropdown-hover);color:var(--shell-text-heading)}.modal-btn-primary{background-color:var(--color-primary-600);border:1px solid var(--color-primary-700);color:#fff;box-shadow:0 1px 3px #2563eb40}.modal-btn-primary:hover:not(:disabled){background-color:var(--color-primary-700);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb59}.modal-btn-primary:disabled{opacity:.6;cursor:not-allowed}.modal-success-view{flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.invite-summary-card{background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-md);flex-direction:column;gap:.65rem;padding:1rem 1.25rem;display:flex}.summary-row{font-size:var(--type-body);justify-content:space-between;align-items:center;display:flex}.summary-label{color:var(--shell-text-muted);font-weight:500}.summary-value{color:var(--shell-text-heading);font-weight:500}.summary-value.font-medium{font-weight:600}.summary-value.badge-role{font-size:var(--type-badge);color:#2563eb;background-color:#2563eb1a;border-radius:4px;padding:.15rem .5rem;font-weight:600}[data-theme=dark] .summary-value.badge-role{color:#60a5fa;background-color:#2563eb33}.summary-value.text-expiry{font-size:var(--type-body-strong);color:#d97706;font-weight:600}[data-theme=dark] .summary-value.text-expiry{color:#fbbf24}.invite-link-box-wrapper{flex-direction:column;gap:.45rem;display:flex}.invite-link-field{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);align-items:center;gap:.5rem;padding:.25rem .25rem .25rem .85rem;display:flex}.invite-link-input{font-size:var(--type-input);color:var(--shell-text-heading);background:0 0;border:none;outline:none;flex:1;min-width:0;font-family:monospace}.invite-copy-btn{background-color:var(--color-primary-600);border-radius:var(--radius-sm);color:#fff;height:34px;font-size:var(--type-button);cursor:pointer;border:none;flex-shrink:0;align-items:center;gap:.4rem;padding:0 .85rem;font-weight:600;transition:all .12s;display:inline-flex}.invite-copy-btn:hover{background-color:var(--color-primary-700)}.invite-copy-btn.is-copied{background-color:#10b981}.invite-copy-btn svg{width:14px;height:14px}@media (width<=540px){.modal-form-grid{grid-template-columns:1fr}}.user-detail-page-content{flex-direction:column;gap:1.5rem;display:flex}.user-detail-top-nav{align-items:center;margin-bottom:-.25rem;display:flex}.user-detail-back-btn{border-radius:var(--radius-md);background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);color:var(--shell-text-muted);font-size:var(--type-button);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem .85rem;font-weight:500;transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s;display:inline-flex;box-shadow:0 1px 2px #00000008}.user-detail-back-btn:hover{background-color:var(--shell-dropdown-hover);color:var(--shell-text-heading);border-color:var(--color-primary-500)}.user-detail-back-btn svg{width:15px;height:15px}.user-profile-hero-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-xl);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.75rem 2rem;transition:border-color .15s,box-shadow .15s;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 20px -2px #0000000a,0 2px 6px -1px #00000005}.user-profile-hero-card:hover{border-color:#2563eb40;box-shadow:0 6px 24px -2px #0000000d,0 2px 6px -1px #00000005}.user-profile-hero-card:before{content:"";opacity:.85;background:linear-gradient(90deg,#2563eb,#3b82f6,#60a5fa);height:3px;position:absolute;top:0;left:0;right:0}.hero-user-identity{align-items:center;gap:1.5rem;display:flex}.hero-avatar-wrapper{flex-shrink:0;position:relative}.hero-avatar-circle{color:#fff;width:68px;height:68px;font-size:var(--type-page-title);background:linear-gradient(135deg,#1e40af,#2563eb 60%,#3b82f6);border:2px solid #fff3;border-radius:50%;justify-content:center;align-items:center;font-weight:700;display:flex;box-shadow:0 6px 16px -2px #2563eb59}.hero-status-indicator{border:2px solid var(--shell-card-bg);border-radius:50%;width:14px;height:14px;position:absolute;bottom:2px;right:2px}.hero-status-indicator.indicator-active{background-color:#10b981}.hero-status-indicator.indicator-inactive{background-color:#94a3b8}.hero-status-indicator.indicator-suspended{background-color:#ef4444}.hero-meta-group{flex-direction:column;gap:.4rem;display:flex}.hero-name-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.hero-full-name{font-size:var(--type-body-strong);color:var(--shell-text-heading);letter-spacing:-.025em;font-weight:700;line-height:var(--type-line-compact);margin:0}.hero-id-badge{font-family:monospace;font-size:var(--type-badge);color:var(--shell-text-muted);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-sm);padding:.15rem .45rem;font-weight:600}.hero-email-row{font-size:var(--type-body);color:var(--shell-text-muted);align-items:center;gap:.65rem;display:flex}.inline-meta-icon{width:14px;height:14px;color:var(--shell-text-muted);vertical-align:-2px;margin-right:.35rem;display:inline-block}.hero-email{color:var(--shell-text-body);font-weight:500}.hero-divider{color:var(--shell-card-border)}.hero-role-tag{font-size:var(--type-badge);color:#2563eb;border-radius:var(--radius-sm);background-color:#2563eb1a;border:1px solid #2563eb26;padding:.15rem .55rem;font-weight:600}[data-theme=dark] .hero-role-tag{color:#60a5fa;background-color:#2563eb33;border-color:#2563eb4d}.hero-action-buttons{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.detail-action-btn{border-radius:var(--radius-md);height:38px;font-size:var(--type-button);cursor:pointer;border:1px solid #0000;align-items:center;gap:.45rem;padding:0 1.1rem;font-weight:600;transition:background-color .15s,border-color .15s,box-shadow .15s,color .15s;display:inline-flex}.detail-action-btn svg{width:15px;height:15px}.detail-action-btn.btn-primary{background-color:var(--color-primary-600);border-color:var(--color-primary-700);color:#fff;box-shadow:0 2px 4px #2563eb33}.detail-action-btn.btn-primary:hover{background-color:var(--color-primary-700);box-shadow:0 4px 12px #2563eb4d}.detail-action-btn.btn-secondary-warning{background-color:var(--shell-input-bg);color:#d97706;border-color:#f59e0b59}.detail-action-btn.btn-secondary-warning:hover{color:#b45309;background-color:#f59e0b1f;border-color:#d97706}.detail-action-btn.btn-secondary-danger{background-color:var(--shell-input-bg);color:#ef4444;border-color:#ef444459}.detail-action-btn.btn-secondary-danger:hover{color:#dc2626;background-color:#ef44441f;border-color:#ef4444}.detail-action-btn.btn-secondary-success{background-color:var(--shell-input-bg);color:#059669;border-color:#10b98159}.detail-action-btn.btn-secondary-success:hover{background-color:#10b9811f;border-color:#059669}[data-theme=dark] .detail-action-btn.btn-secondary-warning{color:#fbbf24}[data-theme=dark] .detail-action-btn.btn-secondary-success{color:#34d399}[data-theme=dark] .detail-action-btn.btn-secondary-danger{color:#f87171}.summary-cards-grid{grid-template-columns:repeat(3,1fr);gap:1.25rem;display:grid}.summary-kpi-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-lg);flex-direction:column;gap:.65rem;padding:1.25rem 1.4rem;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #00000005}.summary-kpi-card:hover{border-color:#2563eb40;box-shadow:0 4px 12px #00000008}.kpi-header{justify-content:space-between;align-items:center;display:flex}.kpi-label{font-size:var(--type-label);text-transform:uppercase;letter-spacing:.04em;color:var(--shell-text-muted);font-weight:600}.kpi-icon-badge{border-radius:var(--radius-sm);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);width:28px;height:28px;color:var(--shell-text-muted);justify-content:center;align-items:center;display:flex}.kpi-icon-badge svg{width:14px;height:14px}.kpi-value-row{flex-direction:column;gap:.2rem;display:flex}.kpi-main-text{font-size:var(--type-card-title);color:var(--shell-text-heading);letter-spacing:-.01em;font-weight:700}.kpi-sub-text{font-size:var(--type-badge);color:var(--shell-text-muted)}.user-detail-grid{grid-template-columns:1fr 1fr;gap:1.25rem;display:grid}.detail-section-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-xl);flex-direction:column;gap:1rem;padding:1.5rem;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #00000005}.detail-section-card:hover{border-color:#2563eb40;box-shadow:0 4px 12px #00000008}.section-card-header{border-bottom:1px solid var(--shell-card-border);justify-content:space-between;align-items:center;padding-bottom:.85rem;display:flex}.section-title-wrap{align-items:center;gap:.55rem;display:flex}.section-header-icon{width:17px;height:17px;color:var(--color-primary-500)}.section-card-title{font-size:var(--type-card-title);color:var(--shell-text-heading);letter-spacing:-.015em;margin:0;font-weight:700}.detail-keyvalue-list{flex-direction:column;display:flex}.keyvalue-row{font-size:var(--type-body-strong);border-bottom:1px solid #ffffff08;justify-content:space-between;align-items:center;padding:.65rem 0;display:flex}.keyvalue-row:last-child{border-bottom:none;padding-bottom:0}.key-label{color:var(--shell-text-muted);font-weight:500;font-size:var(--type-label)}.key-value{color:var(--shell-text-heading);text-align:right;font-weight:500}.key-value.font-medium{font-weight:600}.key-value.text-primary{color:#2563eb}[data-theme=dark] .key-value.text-primary{color:#60a5fa}.key-value.text-secondary{color:var(--shell-text-body)}.key-value.code-slug{font-family:monospace;font-size:var(--type-code);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-sm);color:var(--shell-text-body);padding:.15rem .5rem;font-weight:600}.key-value.text-muted{color:var(--shell-text-muted)}.recent-activity-card{margin-top:.25rem}.activity-count-badge{font-size:var(--type-badge);color:var(--shell-text-muted);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-sm);padding:.15rem .45rem;font-weight:600}.activity-timeline-list{flex-direction:column;gap:1rem;padding-left:.25rem;display:flex}.timeline-item{align-items:flex-start;gap:.85rem;display:flex;position:relative}.timeline-item:not(:last-child):after{content:"";background-color:var(--shell-card-border);width:1px;position:absolute;top:18px;bottom:-10px;left:5px}.timeline-bullet{border-radius:50%;flex-shrink:0;width:11px;height:11px;margin-top:4px}.timeline-bullet.bullet-primary{background-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.timeline-bullet.bullet-info{background-color:#0284c7;box-shadow:0 0 0 3px #0284c726}.timeline-bullet.bullet-success{background-color:#10b981;box-shadow:0 0 0 3px #10b98126}.timeline-content{flex-direction:column;flex:1;gap:.2rem;display:flex}.timeline-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.timeline-title{font-size:var(--type-body);color:var(--shell-text-heading);font-weight:600}.timeline-time{font-size:var(--type-helper);color:var(--shell-text-muted);font-weight:500}.timeline-desc{font-size:var(--type-helper);color:var(--shell-text-muted);line-height:var(--type-line-compact);margin:0}.table-user-cell.is-clickable{cursor:pointer}.table-user-name.user-link:hover{color:var(--color-primary-600);text-decoration:underline}.confirm-modal-body{gap:1rem;display:flex}.confirm-icon-box{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.confirm-icon-box.is-danger{color:#ef4444;background-color:#ef44441f}.confirm-icon-box.is-primary{color:#2563eb;background-color:#2563eb1f}.confirm-icon-box svg{width:22px;height:22px}.confirm-text-group{flex-direction:column;gap:.35rem;display:flex}.confirm-title{font-size:var(--type-modal-title);color:var(--shell-text-heading);margin:0;font-weight:700}.confirm-message{font-size:var(--type-body);color:var(--shell-text-body);line-height:var(--type-line-compact);margin:0}.modal-btn-danger{color:#fff;background-color:#ef4444;border:1px solid #dc2626;box-shadow:0 1px 3px #ef444440}.modal-btn-danger:hover:not(:disabled){background-color:#dc2626;box-shadow:0 4px 12px #ef444459}@media (width<=900px){.summary-cards-grid{grid-template-columns:1fr}}@media (width<=768px){.user-detail-grid{grid-template-columns:1fr}.user-profile-hero-card{flex-direction:column;align-items:flex-start;padding:1.25rem}.hero-user-identity{flex-direction:column;align-items:flex-start;gap:1rem}}.permissions-page-content{flex-direction:column;gap:1.25rem;padding-bottom:2rem;display:flex}.permissions-user-banner{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-xl);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.75rem;display:flex;box-shadow:0 1px 3px #00000005}.banner-identity-group{align-items:center;gap:1rem;display:flex}.banner-meta{flex-direction:column;gap:.25rem;display:flex}.banner-name-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.banner-name{font-size:var(--type-body-strong);color:var(--shell-text-heading);letter-spacing:-.02em;margin:0;font-weight:700}.banner-sub-row{font-size:var(--type-helper);color:var(--shell-text-muted);align-items:center;gap:.5rem;display:flex}.banner-email{color:var(--shell-text-body)}.banner-actions{align-items:center;gap:.75rem;display:flex}.detail-action-btn.btn-secondary-outline{background-color:var(--shell-input-bg);border-color:var(--shell-card-border);color:var(--shell-text-heading)}.detail-action-btn.btn-secondary-outline:hover{background-color:var(--shell-dropdown-hover);border-color:var(--color-primary-500)}.permissions-toolbar-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-lg);padding:.75rem 1rem;box-shadow:0 1px 2px #00000005}.permissions-search-box{background-color:var(--shell-input-bg);border:1px solid var(--shell-input-border);border-radius:var(--radius-md);align-items:center;gap:.5rem;height:38px;padding:0 .75rem;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex}.permissions-search-box:focus-within{border-color:var(--color-primary-500);background-color:var(--shell-card-bg);box-shadow:0 0 0 3px #2563eb1a}.permissions-search-box .search-icon{width:16px;height:16px;color:var(--shell-text-muted);flex-shrink:0}.permissions-search-input{font-size:var(--type-input);color:var(--shell-text-heading);background:0 0;border:none;outline:none;flex:1;min-width:0}.search-clear-btn{color:var(--shell-text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:.2rem;display:flex}.search-clear-btn:hover{color:var(--shell-text-heading);background-color:var(--shell-dropdown-hover)}.search-clear-btn svg{width:14px;height:14px}.permissions-modules-container{flex-direction:column;gap:1.25rem;display:flex}.permission-module-card{background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-xl);overflow:hidden;box-shadow:0 1px 3px #00000005}.module-card-header{background-color:var(--shell-input-bg);border-bottom:1px solid var(--shell-card-border);justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.module-title-wrap{align-items:center;gap:.5rem;display:flex}.module-icon{width:17px;height:17px;color:var(--color-primary-500)}.module-title{font-size:var(--type-card-title);color:var(--shell-text-heading);letter-spacing:-.01em;margin:0;font-weight:700}.module-count-badge{font-size:var(--type-badge);color:var(--shell-text-muted);background-color:var(--shell-card-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-sm);padding:.15rem .5rem;font-weight:600}.module-permissions-list{flex-direction:column;display:flex}.permission-row-item{border-bottom:1px solid var(--shell-card-border);justify-content:space-between;align-items:center;gap:1.5rem;padding:1rem 1.5rem;transition:background-color .12s;display:flex}.permission-row-item:last-child{border-bottom:none}.permission-row-item:hover{background-color:#ffffff04}.perm-info-col{flex-direction:column;flex:1;gap:.3rem;min-width:0;display:flex}.perm-title-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.perm-name{font-size:var(--type-body-strong);color:var(--shell-text-heading);font-weight:600}.perm-slug{font-size:var(--type-badge)}.perm-desc{font-size:var(--type-badge);color:var(--shell-text-muted);line-height:var(--type-line-compact);margin:0}.effective-badge{font-size:var(--type-badge);white-space:nowrap;border-radius:4px;padding:.12rem .45rem;font-weight:600}.badge-role-allow{color:#2563eb;background-color:#2563eb14;border:1px solid #2563eb33}[data-theme=dark] .badge-role-allow{color:#60a5fa;background-color:#2563eb2e}.badge-user-allow{color:#059669;background-color:#10b98114;border:1px solid #10b98140}[data-theme=dark] .badge-user-allow{color:#34d399;background-color:#10b9812e}.badge-user-deny{color:#ef4444;background-color:#ef444414;border:1px solid #ef444440}[data-theme=dark] .badge-user-deny{color:#f87171;background-color:#ef44442e}.badge-none{color:var(--shell-text-muted);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border)}.perm-control-col{flex-shrink:0}.segmented-control{background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-md);align-items:center;gap:2px;padding:2px;display:inline-flex}.segmented-option{border-radius:calc(var(--radius-md) - 2px);font-size:var(--type-badge);color:var(--shell-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:.35rem .75rem;font-weight:500;transition:background-color .12s,color .12s,border-color .12s,box-shadow .12s}.segmented-option:hover:not(.is-selected){color:var(--shell-text-heading)}.segmented-option.is-selected{background-color:var(--shell-card-bg);color:var(--shell-text-heading);font-weight:600;box-shadow:0 1px 3px #00000014}.segmented-option.opt-allow.is-selected{color:#059669;background-color:#10b98126;border:1px solid #10b9814d}[data-theme=dark] .segmented-option.opt-allow.is-selected{color:#34d399}.segmented-option.opt-deny.is-selected{color:#ef4444;background-color:#ef444426;border:1px solid #ef44444d}[data-theme=dark] .segmented-option.opt-deny.is-selected{color:#f87171}.permissions-sticky-footer{background-color:var(--shell-card-bg);border:1px solid var(--color-primary-500);border-radius:var(--radius-xl);z-index:50;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;animation:.15s modalPop;display:flex;position:sticky;bottom:1.25rem;box-shadow:0 10px 25px -5px #0003,0 0 0 1px #2563eb33}.footer-message{font-size:var(--type-body);color:var(--shell-text-heading)}.footer-message strong{color:var(--color-primary-600)}.footer-buttons{align-items:center;gap:.75rem;display:flex}@media (width<=768px){.permission-row-item{flex-direction:column;align-items:flex-start;gap:.75rem}.permissions-sticky-footer{flex-direction:column;align-items:flex-start}.footer-buttons{justify-content:flex-end;width:100%}}.table-role-cell{flex-direction:column;gap:.25rem;display:flex}.table-role-name-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.table-role-main-name{font-size:var(--type-table-body);color:var(--shell-text-heading);font-weight:600;transition:color .12s}.table-role-main-name.is-clickable:hover{color:#2563eb;cursor:pointer}[data-theme=dark] .table-role-main-name.is-clickable:hover{color:#60a5fa}.role-system-tag{font-size:var(--type-badge);text-transform:uppercase;letter-spacing:.05em;color:#6366f1;font-weight:700;line-height:var(--type-line-compact);background-color:#6366f11a;border:1px solid #6366f140;border-radius:4px;padding:.1rem .45rem}[data-theme=dark] .role-system-tag{color:#818cf8}.table-role-slug{font-family:monospace;font-size:var(--type-table-body);color:var(--shell-text-muted)}.table-desc-text{font-size:var(--type-table-body);color:var(--shell-text-muted);line-height:var(--type-line-compact);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.table-count-badge{font-size:var(--type-table-body);color:var(--shell-text-body);background-color:var(--shell-input-bg);border:1px solid var(--shell-card-border);border-radius:var(--radius-sm);white-space:nowrap;align-items:center;gap:.35rem;padding:.2rem .55rem;font-weight:500;display:inline-flex}.badge-mini-icon{width:13px;height:13px;color:var(--shell-text-muted);flex-shrink:0}.role-perm-checkbox-row:hover{background-color:#2563eb05}:root{--type-page-title:26px;--type-modal-title:20px;--type-section-title:18px;--type-card-title:16px;--type-body:14px;--type-body-strong:14px;--type-label:14px;--type-input:14px;--type-button:14px;--type-table-header:13px;--type-table-body:14px;--type-sidebar:14px;--type-sidebar-child:14px;--type-helper:13px;--type-badge:12px;--type-code:12px;--type-line-heading:1.3;--type-line-body:1.55;--type-line-compact:1.4;--type-line-control:1.25;--type-line-relaxed:1.65}:where(body){font-size:var(--type-body);line-height:var(--type-line-body)}:where(body) :where(input,select,textarea){font-size:var(--type-input);line-height:var(--type-line-control)}:where(body) :where(button){font-size:var(--type-button);line-height:var(--type-line-control)}:where(body) :where(table,td){font-size:var(--type-table-body);line-height:var(--type-line-body)}:where(body) :where(th){font-size:var(--type-table-header);line-height:var(--type-line-compact)}:where(body) :where(small){font-size:var(--type-helper);line-height:var(--type-line-compact)}:where(body) :where(code,pre,kbd,samp){font-size:var(--type-code);line-height:var(--type-line-compact)}.app-shell-root textarea{resize:none}.app-shell-root{font-size:var(--type-body);line-height:var(--type-line-body)}.crm-button,.crm-icon-button,.crm-input,.crm-textarea,.crm-select-trigger,.crm-date-trigger,.crm-checkbox,.crm-radio-control,.crm-switch{font:inherit}.crm-button,.crm-icon-button{cursor:pointer;box-sizing:border-box;border:1px solid #0000;outline:0;justify-content:center;align-items:center;font-family:inherit;text-decoration:none;transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s,opacity .14s;display:inline-flex}.crm-button{min-height:var(--crm-control-md,40px);font-size:var(--type-button);font-weight:600;line-height:var(--type-line-control);white-space:nowrap;border-radius:9px;gap:8px;padding:.55rem 1.15rem}.crm-button.is-sm{min-height:var(--crm-control-sm,34px);font-size:var(--type-button);font-weight:600;line-height:var(--type-line-control);border-radius:8px;gap:8px;padding:.38rem .95rem}.crm-button.is-lg{min-height:var(--crm-control-lg,44px);font-size:var(--type-button);font-weight:600;line-height:var(--type-line-control);border-radius:10px;gap:8px;padding:.65rem 1.35rem}.crm-button.is-primary{color:#fff;background:var(--crm-primary);border-color:color-mix(in srgb, var(--crm-primary) 72%, transparent);box-shadow:0 5px 14px -9px color-mix(in srgb, var(--crm-primary) 85%, transparent), inset 0 1px #ffffff1f}.crm-button.is-primary:hover:not(:disabled){background:var(--crm-accent-hover)}.crm-button.is-secondary{color:var(--crm-text-secondary);background:var(--crm-surface-elevated);border-color:var(--crm-border);box-shadow:var(--crm-shadow-soft)}.crm-button.is-secondary:hover:not(:disabled){color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-strong)}.crm-button.is-ghost{color:var(--crm-text-muted);background:0 0}.crm-button.is-ghost:hover:not(:disabled){color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-soft)}.crm-button.is-danger{color:#fff;background:var(--crm-danger);border-color:color-mix(in srgb, var(--crm-danger) 75%, transparent)}.crm-button.is-danger:hover:not(:disabled){background:color-mix(in srgb, var(--crm-danger) 85%, #000)}.crm-button:disabled,.crm-icon-button:disabled{opacity:.46;cursor:not-allowed}.crm-button-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;animation:.65s linear infinite crmSpin}@keyframes crmSpin{to{rotate:360deg}}.crm-icon-button{width:38px;min-width:36px;height:38px;min-height:36px;color:var(--crm-text-muted);background:0 0;border-radius:9px;padding:0}.crm-icon-button.is-sm{border-radius:8px;width:34px;min-width:34px;height:34px;min-height:34px}.crm-icon-button.is-lg{border-radius:10px;width:44px;min-width:42px;height:44px;min-height:42px}.crm-icon-button:hover:not(:disabled),.crm-icon-button[data-state=open]{color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-soft)}.crm-icon-button.is-danger:hover:not(:disabled){color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 8%, transparent);border-color:color-mix(in srgb, var(--crm-danger) 18%, transparent)}.crm-button:focus-visible,.crm-icon-button:focus-visible,.crm-input:focus-visible,.crm-textarea:focus-visible,.crm-select-trigger:focus-visible,.crm-date-trigger:focus-visible,.crm-date-clear:focus-visible,.crm-checkbox:focus-visible,.crm-switch:focus-visible,.crm-radio-input:focus-visible+.crm-radio-control,.crm-segmented-tab:focus-visible,.crm-dropdown-item:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.crm-input,.crm-textarea{background:var(--crm-surface-muted);width:100%;box-shadow:inset 0 0 0 1px var(--crm-border-soft);color:var(--crm-text-primary);font-size:var(--type-input);border:1px solid #0000;border-radius:8px;outline:0;font-weight:500;transition:background-color .14s,border-color .14s,box-shadow .14s}.crm-input{min-height:var(--crm-control-md);height:auto;padding:0 .72rem}.crm-textarea{min-height:94px;line-height:var(--type-line-control);resize:none;padding:.7rem .72rem}.crm-textarea.is-sm{min-height:72px}.crm-textarea.is-lg{min-height:142px}.crm-input:hover:not(:disabled),.crm-textarea:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--crm-border)}.crm-input:focus,.crm-textarea:focus,.crm-input-shell:focus-within{background:var(--crm-surface-elevated);border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring)}.crm-input:disabled,.crm-textarea:disabled{opacity:.5;cursor:not-allowed}.crm-input:read-only,.crm-textarea:read-only{color:var(--crm-text-secondary);background:var(--crm-surface-strong);cursor:default}.crm-input.is-invalid,.crm-textarea.is-invalid,.crm-input-shell.is-invalid{border-color:color-mix(in srgb, var(--crm-danger) 55%, transparent);box-shadow:0 0 0 3px color-mix(in srgb, var(--crm-danger) 10%, transparent)}.crm-input::placeholder,.crm-textarea::placeholder,.crm-search-input input::placeholder{color:var(--crm-text-muted)}.crm-input[type=number]{appearance:textfield}.crm-input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.crm-input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.crm-input-shell,.crm-search-input{color:var(--crm-text-muted);background:var(--crm-surface-muted);box-shadow:inset 0 0 0 1px var(--crm-border-soft);border:1px solid #0000;border-radius:9px;align-items:center;display:flex}.crm-input-shell .crm-input{min-width:0;box-shadow:none;background:0 0;border:0}.crm-input-icon,.crm-input-suffix{flex:none;padding:0 .7rem;display:inline-flex}.crm-search-input{width:min(390px,100%);min-width:260px;min-height:var(--crm-control-lg);gap:.55rem;padding:0 .42rem 0 .78rem;transition:background-color .14s,border-color .14s,box-shadow .14s}.crm-search-input:focus-within{background:var(--crm-surface-elevated);border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring)}.crm-search-input input{min-width:0;color:var(--crm-text-primary);font:inherit;font-size:var(--type-input);background:0 0;border:0;outline:0;flex:1}.crm-search-input input::-webkit-search-cancel-button{display:none}.crm-choice-label,.crm-switch-field{color:var(--crm-text-secondary);font-size:var(--type-body);cursor:pointer;align-items:center;gap:.55rem;display:inline-flex}.crm-choice-label.is-disabled,.crm-switch-field.is-disabled{opacity:.5;cursor:not-allowed}.crm-checkbox{border:1px solid var(--crm-border);background:var(--crm-surface-elevated);color:#0000;cursor:pointer;border-radius:5px;flex:none;justify-content:center;align-items:center;width:18px;height:18px;padding:0;transition:background-color .12s,border-color .12s,box-shadow .12s,color .12s;display:inline-flex}.crm-checkbox[data-state=checked],.crm-checkbox[data-state=indeterminate]{color:#fff;background:var(--crm-accent);border-color:var(--crm-accent)}.crm-checkbox:disabled{opacity:.46;cursor:not-allowed}.crm-checkbox-indicator{display:inline-flex}.crm-radio-input{opacity:0;width:1px;height:1px;position:absolute}.crm-radio-control{border:1px solid var(--crm-border);background:var(--crm-surface-elevated);width:18px;height:18px;box-shadow:inset 0 0 0 4px var(--crm-surface-elevated);border-radius:50%}.crm-radio-input:checked+.crm-radio-control{background:var(--crm-accent);border-color:var(--crm-accent)}.crm-switch{border:1px solid var(--crm-border);background:var(--crm-surface-strong);cursor:pointer;border-radius:999px;align-items:center;width:38px;height:22px;padding:2px;transition:background-color .14s,border-color .14s;display:inline-flex}.crm-switch[aria-checked=true]{background:var(--crm-accent);border-color:var(--crm-accent)}.crm-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:translate .14s;translate:0;box-shadow:0 1px 3px #0f172a3d}.crm-switch[aria-checked=true] .crm-switch-thumb{translate:16px}.crm-select-trigger{width:100%;min-height:var(--crm-control-md);background:var(--crm-surface-muted);box-shadow:inset 0 0 0 1px var(--crm-border-soft);color:var(--crm-text-primary);font-size:var(--type-input);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:8px;outline:0;justify-content:space-between;align-items:center;gap:.6rem;padding:0 .64rem 0 .72rem;font-weight:520;display:inline-flex}.crm-select-trigger[data-state=open]{background:var(--crm-surface-elevated);border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring)}.crm-select-trigger.is-invalid{border-color:var(--crm-danger)}.crm-select-trigger:disabled{opacity:.46;cursor:not-allowed}.crm-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.crm-select-chevron{color:var(--crm-text-muted);flex:none;display:inline-flex}.crm-select-content{z-index:var(--crm-layer-floating);width:var(--radix-select-trigger-width);min-width:190px;max-width:min(360px,100vw - 20px);max-height:min(360px, var(--radix-select-content-available-height));background:var(--crm-surface-elevated);border:1px solid var(--crm-border);box-shadow:var(--crm-shadow-elevated);border-radius:10px;animation:.12s ease-out crmFade;overflow:hidden}@keyframes crmFade{0%{opacity:0}to{opacity:1}}.crm-select-viewport{padding:.34rem}.crm-select-scroll-button{height:26px;color:var(--crm-text-muted);justify-content:center;align-items:center;display:flex}.crm-select-item{min-height:38px;color:var(--crm-text-secondary);font-size:var(--type-input);cursor:default;-webkit-user-select:none;user-select:none;border-radius:7px;outline:0;align-items:center;padding:.42rem 2rem .42rem .52rem;display:flex;position:relative}.crm-select-item[data-highlighted]{color:var(--crm-text-primary);background:var(--crm-surface-muted)}.crm-select-item[data-disabled]{opacity:.38}.crm-select-item-layout{align-items:center;gap:.58rem;min-width:0;display:flex}.crm-select-item-copy{flex-direction:column;gap:.08rem;min-width:0;display:flex}.crm-select-item-copy strong{color:inherit;font-size:var(--type-input);text-overflow:ellipsis;white-space:nowrap;font-weight:640;overflow:hidden}.crm-select-item-copy small{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.crm-select-avatar{width:27px;height:27px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);font-size:var(--type-input);border-radius:7px;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.crm-select-check{color:var(--crm-accent);display:inline-flex;position:absolute;right:.58rem}.crm-form-field{flex-direction:column;gap:.42rem;display:flex}.crm-form-label{color:var(--crm-text-primary);font-size:var(--type-label);align-items:baseline;gap:.34rem;font-weight:640;display:flex}.crm-form-label em{color:var(--crm-danger);font-style:normal}.crm-form-label small{color:var(--crm-text-muted);font-size:var(--type-helper);margin-left:auto;font-weight:480}.crm-form-hint,.crm-form-error{font-size:var(--type-helper);line-height:var(--type-line-compact)}.crm-form-hint{color:var(--crm-text-muted)}.crm-form-error{color:var(--crm-danger)}.crm-badge,.crm-status-badge{border:1px solid var(--crm-border-soft);width:fit-content;color:var(--crm-text-muted);background:var(--crm-surface-muted);font-size:var(--type-badge);white-space:nowrap;border-radius:7px;align-items:center;font-weight:640;display:inline-flex}.crm-badge{gap:.3rem;padding:.2rem .48rem}.crm-status-badge{gap:.37rem;padding:.2rem .48rem}.crm-status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.crm-badge.is-success,.crm-status-badge.is-success{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 8%, transparent);border-color:color-mix(in srgb, var(--crm-success) 18%, transparent)}.crm-badge.is-info,.crm-status-badge.is-info{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border)}.crm-badge.is-warning,.crm-status-badge.is-warning{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 8%, transparent);border-color:color-mix(in srgb, var(--crm-warning) 18%, transparent)}.crm-badge.is-danger,.crm-status-badge.is-danger{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 8%, transparent);border-color:color-mix(in srgb, var(--crm-danger) 18%, transparent)}.crm-segmented-tabs-shell{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:12px;width:fit-content;max-width:100%;padding:4px;overflow-x:auto}.crm-segmented-tabs{grid-auto-columns:minmax(168px,1fr);grid-auto-flow:column;gap:3px;display:grid}.crm-segmented-tab{min-height:var(--crm-control-md);color:var(--crm-text-muted);font:inherit;font-size:var(--type-button);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.48rem;padding:0 .85rem;font-weight:600;display:inline-flex}.crm-segmented-tab:hover{color:var(--crm-text-secondary);background:color-mix(in srgb, var(--crm-surface-elevated) 55%, transparent)}.crm-segmented-tab.is-active{color:var(--crm-accent-hover);background:var(--crm-surface-elevated);border-color:var(--crm-border-soft);box-shadow:0 1px 3px #0f172a14}.crm-pagination{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;gap:1rem;min-height:55px;padding:.62rem .82rem;display:flex}.crm-pagination-summary{color:var(--crm-text-muted);font-size:var(--type-helper);align-items:baseline;gap:.24rem;display:flex}.crm-pagination-summary strong,.crm-page-indicator strong{color:var(--crm-text-primary);font-weight:680}.crm-pagination-controls{align-items:center;gap:.45rem;display:flex}.crm-page-indicator{min-width:76px;color:var(--crm-text-muted);font-size:var(--type-helper);text-align:center}.crm-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.42rem;min-height:260px;padding:2.6rem 1rem;display:flex}.crm-state-icon{border-radius:var(--crm-radius-lg);width:54px;height:54px;color:var(--crm-accent);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);justify-content:center;align-items:center;margin-bottom:.38rem;display:inline-flex}.crm-state strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680}.crm-state p{max-width:430px;color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-body);margin:0 0 .58rem}.crm-error-state .crm-state-icon{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 7%, transparent);border-color:color-mix(in srgb, var(--crm-danger) 16%, transparent)}.crm-skeleton{background:var(--crm-surface-strong);border-radius:999px;width:min(100%,126px);height:10px;animation:1.4s ease-in-out infinite crmSkeleton;display:block}.crm-skeleton.is-short{width:18px}@keyframes crmSkeleton{0%,to{opacity:1}50%{opacity:.38}}.crm-stat-summary-strip{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);display:grid;overflow:hidden}.crm-stat-summary-strip.has-1-columns{grid-template-columns:1fr}.crm-stat-summary-strip.has-2-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-stat-summary-strip.has-3-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-stat-summary-strip.has-4-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-stat-summary-strip.has-5-columns{grid-template-columns:repeat(5,minmax(0,1fr))}.crm-stat-summary-strip.has-6-columns{grid-template-columns:repeat(6,minmax(0,1fr))}.crm-stat-summary-item{border:0;border-left:1px solid var(--crm-border-soft);min-width:0;min-height:84px;color:inherit;font:inherit;text-align:left;background:0 0;border-radius:0;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:14px 18px;display:grid}.crm-stat-summary-strip>.crm-stat-summary-item:first-child,.crm-stat-summary-strip.has-2-columns>.crm-stat-summary-item:nth-child(odd),.crm-stat-summary-strip.has-3-columns>.crm-stat-summary-item:nth-child(3n+1),.crm-stat-summary-strip.has-4-columns>.crm-stat-summary-item:nth-child(4n+1),.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:nth-child(5n+1),.crm-stat-summary-strip.has-6-columns>.crm-stat-summary-item:nth-child(6n+1){border-left:0}.crm-stat-summary-strip.has-2-columns>.crm-stat-summary-item:nth-child(n+3),.crm-stat-summary-strip.has-3-columns>.crm-stat-summary-item:nth-child(n+4),.crm-stat-summary-strip.has-4-columns>.crm-stat-summary-item:nth-child(n+5),.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:nth-child(n+6),.crm-stat-summary-strip.has-6-columns>.crm-stat-summary-item:nth-child(n+7){border-top:1px solid var(--crm-border-soft)}.crm-stat-summary-icon{border-radius:var(--crm-radius-md);width:38px;height:38px;color:var(--crm-accent);background:var(--crm-accent-soft);flex:0 0 38px;justify-content:center;align-items:center;display:inline-flex}.crm-stat-summary-item.is-success .crm-stat-summary-icon{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 9%, var(--crm-surface-elevated))}.crm-stat-summary-item.is-warning .crm-stat-summary-icon{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 9%, var(--crm-surface-elevated))}.crm-stat-summary-item.is-danger .crm-stat-summary-icon{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 9%, var(--crm-surface-elevated))}.crm-stat-summary-copy{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.crm-stat-summary-copy small{min-width:0;color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:680;line-height:var(--type-line-compact);white-space:normal;overflow-wrap:anywhere}.crm-stat-summary-copy strong{min-width:0;color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-compact);text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.crm-stat-summary-helper{min-width:0;color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.crm-stat-summary-copy strong.is-hidden-value{letter-spacing:.08em}.crm-stat-summary-skeleton{width:56px;height:16px}.crm-stat-summary-item.is-interactive{cursor:pointer;transition:background-color var(--crm-transition-fast), box-shadow var(--crm-transition-fast)}.crm-stat-summary-item.is-interactive:hover{background:color-mix(in srgb, var(--crm-accent-soft) 45%, transparent)}.crm-stat-summary-item.is-interactive:focus-visible{z-index:1;box-shadow:inset 0 0 0 2px var(--crm-accent-border);outline:0;position:relative}.crm-stat-summary-item.is-interactive.is-active{background:var(--crm-accent-soft);box-shadow:inset 0 -2px var(--crm-accent)}.crm-stat-summary-item.is-interactive:disabled{opacity:.48;cursor:not-allowed}@media (width>=769px) and (width<=1024px){.crm-stat-summary-strip.has-1-columns{grid-template-columns:minmax(0,1fr)}.crm-stat-summary-strip.has-2-columns,.crm-stat-summary-strip.has-4-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-stat-summary-strip.has-3-columns,.crm-stat-summary-strip.has-5-columns,.crm-stat-summary-strip.has-6-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-stat-summary-strip>.crm-stat-summary-item{border-top:0;border-left:0}.crm-stat-summary-strip.has-2-columns>.crm-stat-summary-item:nth-child(2n),.crm-stat-summary-strip.has-4-columns>.crm-stat-summary-item:nth-child(2n),.crm-stat-summary-strip.has-3-columns>.crm-stat-summary-item:not(:nth-child(3n+1)),.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:not(:nth-child(3n+1)),.crm-stat-summary-strip.has-6-columns>.crm-stat-summary-item:not(:nth-child(3n+1)){border-left:1px solid var(--crm-border-soft)}.crm-stat-summary-strip.has-4-columns>.crm-stat-summary-item:nth-child(n+3),.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:nth-child(n+4),.crm-stat-summary-strip.has-6-columns>.crm-stat-summary-item:nth-child(n+4){border-top:1px solid var(--crm-border-soft)}}@media (width<=768px){.crm-stat-summary-strip.has-1-columns{grid-template-columns:minmax(0,1fr)}.crm-stat-summary-strip.has-2-columns,.crm-stat-summary-strip.has-3-columns,.crm-stat-summary-strip.has-4-columns,.crm-stat-summary-strip.has-5-columns,.crm-stat-summary-strip.has-6-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-stat-summary-strip>.crm-stat-summary-item{border-top:0;border-left:0;min-width:0}.crm-stat-summary-strip>.crm-stat-summary-item:nth-child(2n){border-left:1px solid var(--crm-border-soft)}.crm-stat-summary-strip>.crm-stat-summary-item:nth-child(n+3){border-top:1px solid var(--crm-border-soft)}.crm-stat-summary-strip.has-3-columns>.crm-stat-summary-item:last-child,.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:last-child{border-left:0;grid-column:1/-1}}@media (width<=400px){.crm-stat-summary-strip.has-1-columns,.crm-stat-summary-strip.has-2-columns,.crm-stat-summary-strip.has-3-columns,.crm-stat-summary-strip.has-4-columns,.crm-stat-summary-strip.has-5-columns,.crm-stat-summary-strip.has-6-columns{grid-template-columns:minmax(0,1fr)}.crm-stat-summary-strip.has-3-columns>.crm-stat-summary-item:last-child,.crm-stat-summary-strip.has-5-columns>.crm-stat-summary-item:last-child{grid-column:auto}.crm-stat-summary-strip>.crm-stat-summary-item,.crm-stat-summary-strip>.crm-stat-summary-item:nth-child(2n){border-left:0}.crm-stat-summary-strip>.crm-stat-summary-item+.crm-stat-summary-item{border-top:1px solid var(--crm-border-soft)}}.crm-table-shell{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);min-width:0;max-width:100%;box-shadow:var(--crm-shadow-soft);overflow:hidden}.crm-table-scroll{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;width:100%;max-width:100%;overflow:auto visible}.crm-table-scroll>:where(.crm-table){min-width:max(100%, var(--crm-table-min-width,900px))}.crm-table{border-collapse:separate;border-spacing:0;width:100%;color:var(--crm-text-secondary);font-size:var(--type-table-body);line-height:var(--type-line-body)}.crm-table thead th{z-index:1;background:var(--crm-surface-strong);border-bottom:1px solid var(--crm-border);color:var(--crm-text-secondary);font-size:var(--type-table-header);font-weight:660;line-height:var(--type-line-compact);text-align:left;white-space:nowrap;padding:.72rem .78rem;position:sticky;top:0}.crm-table tbody td{border-bottom:1px solid var(--crm-border-soft);vertical-align:middle;padding:.72rem .78rem}.crm-table tbody tr:last-child td{border-bottom:0}.crm-table tbody tr:hover{background:color-mix(in srgb, var(--crm-accent-soft) 35%, transparent)}.crm-table tbody tr.is-selected{background:var(--crm-accent-soft);box-shadow:inset 3px 0 var(--crm-accent)}.crm-dropdown-content{z-index:var(--crm-layer-floating);background:var(--crm-surface-elevated);border:1px solid var(--crm-border);width:190px;box-shadow:var(--crm-shadow-elevated);border-radius:10px;padding:.34rem;animation:.12s ease-out crmFade}.crm-dropdown-item{min-height:36px;color:var(--crm-text-secondary);font-size:var(--type-body);cursor:default;-webkit-user-select:none;user-select:none;border-radius:7px;outline:0;align-items:center;gap:.55rem;padding:.45rem .55rem;font-weight:560;display:flex}.crm-dropdown-item[data-highlighted]{color:var(--crm-text-primary);background:var(--crm-surface-muted)}.crm-dropdown-item[data-disabled]{opacity:.42;cursor:not-allowed}.crm-dropdown-item.is-danger{color:var(--crm-danger)}.crm-dropdown-separator{background:var(--crm-border-soft);height:1px;margin:.25rem .4rem}.crm-tooltip{z-index:var(--crm-layer-tooltip);border-radius:var(--crm-radius-sm);background:var(--crm-text-primary);max-width:240px;color:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-elevated);font-size:var(--type-badge);line-height:var(--type-line-compact);padding:.38rem .52rem}.crm-tooltip-arrow{fill:var(--crm-text-primary)}.crm-date-control{min-width:0;position:relative}.crm-date-trigger{width:100%;min-height:var(--crm-control-md);background:var(--crm-surface-muted);box-shadow:inset 0 0 0 1px var(--crm-border-soft);color:var(--crm-text-primary);font-size:var(--type-input);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:8px;outline:0;align-items:center;gap:.48rem;padding:0 .65rem 0 .72rem;font-weight:540;display:flex}.content-page-title{font-size:var(--type-page-title)}.content-page-subtitle{font-size:var(--type-helper);line-height:var(--type-line-heading)}.topbar-breadcrumb,.breadcrumb-root,.breadcrumb-current{font-size:var(--type-body)}.crm-date-trigger[data-state=open]{background:var(--crm-surface-elevated);border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring)}.crm-date-trigger.is-invalid{border-color:var(--crm-danger)}.crm-date-trigger:disabled{opacity:.46;cursor:not-allowed}.crm-date-trigger>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.crm-date-trigger .is-placeholder,.crm-date-trigger-icon,.crm-date-chevron{color:var(--crm-text-muted)}.crm-date-trigger-icon,.crm-date-chevron{flex:none}.crm-date-chevron{transition:rotate .14s}.crm-date-chevron.is-open{rotate:180deg}.crm-date-control:has(.crm-date-clear) .crm-date-trigger{padding-right:2.45rem}.crm-date-clear{width:24px;height:24px;color:var(--crm-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:7px;right:26px}.crm-date-clear:hover{color:var(--crm-text-primary);background:var(--crm-surface-strong)}.crm-date-popover{z-index:var(--crm-layer-floating);background:var(--crm-surface-elevated);border:1px solid var(--crm-border);width:324px;max-width:calc(100vw - 24px);box-shadow:var(--crm-shadow-elevated);color:var(--crm-text-primary);border-radius:12px;animation:.12s ease-out crmFade;overflow:hidden}.crm-date-popover-arrow{fill:var(--crm-surface-elevated)}.crm-popover-content{z-index:var(--crm-layer-floating);width:min(340px,100vw - 24px);color:var(--crm-text-primary);border:1px solid var(--crm-border);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-elevated);border-radius:12px;padding:.72rem;animation:.12s ease-out crmFade}.crm-popover-arrow{fill:var(--crm-surface-elevated)}.crm-date-range-hint{color:var(--crm-text-muted);font-size:var(--type-helper);padding:.62rem .75rem 0;font-weight:580}.crm-date-popover .rdp-root{--rdp-day-width:36px;--rdp-day-height:36px;margin:0;padding:.7rem .7rem .55rem;position:relative}.crm-date-popover .rdp-months,.crm-date-popover .rdp-month{max-width:100%}.crm-date-popover .rdp-month_caption{justify-content:center;align-items:center;min-height:36px;padding:0 2.4rem;display:flex}.crm-date-popover .rdp-caption_label{color:var(--crm-text-primary);font-size:var(--type-helper);text-transform:capitalize;font-weight:690}.crm-date-popover .rdp-nav{pointer-events:none;justify-content:space-between;display:flex;position:absolute;inset:.7rem .7rem auto}.crm-date-popover .rdp-button_previous,.crm-date-popover .rdp-button_next{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);width:32px;height:32px;color:var(--crm-text-secondary);cursor:pointer;pointer-events:auto;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex}.crm-date-popover .rdp-button_previous:hover:not(:disabled),.crm-date-popover .rdp-button_next:hover:not(:disabled){color:var(--crm-accent);border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.crm-date-popover .rdp-month_grid{border-collapse:collapse;table-layout:fixed;width:100%}.crm-date-popover .rdp-weekday{height:30px;color:var(--crm-text-muted);font-size:var(--type-badge);text-align:center;font-weight:650}.crm-date-popover .rdp-day{text-align:center;width:36px;height:36px;padding:0}.crm-date-popover .rdp-day_button{width:34px;height:34px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;outline:0;justify-content:center;align-items:center;margin:1px auto;padding:0;font-weight:560;display:inline-flex}.crm-date-popover .rdp-day_button:hover{color:var(--crm-text-primary);background:var(--crm-surface-strong)}.crm-date-popover .rdp-day_button:focus-visible{border-color:var(--crm-accent);box-shadow:0 0 0 2px var(--crm-accent-soft)}.crm-date-popover .rdp-today:not(.rdp-selected) .rdp-day_button{color:var(--crm-accent-hover);border-color:var(--crm-accent-border);font-weight:720}.crm-date-popover .rdp-outside .rdp-day_button{color:var(--crm-text-muted);opacity:.48}.crm-date-popover .rdp-disabled .rdp-day_button{opacity:.34;cursor:not-allowed}.crm-date-popover .rdp-selected .rdp-day_button,.crm-date-popover .rdp-range_start .rdp-day_button,.crm-date-popover .rdp-range_end .rdp-day_button{color:#fff;background:var(--crm-accent);border-color:var(--crm-accent);font-weight:700}.crm-date-popover .rdp-range_middle{background:var(--crm-accent-soft)}.crm-date-popover .rdp-range_middle .rdp-day_button{width:100%;color:var(--crm-accent-hover);background:0 0;border-radius:0}.crm-date-quick-actions{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);grid-template-columns:repeat(4,1fr);gap:.28rem;padding:.55rem .65rem;display:grid}.crm-date-quick-actions button{min-height:30px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:.25rem .38rem;font-weight:610}.crm-date-quick-actions button:hover,.crm-date-quick-actions button:focus-visible{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border);outline:0}.crm-date-quick-actions button:only-child{grid-column:1/-1}.crm-date-caption-button{color:var(--crm-text-primary);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:.3rem;padding:.28rem .5rem;display:inline-flex}.crm-date-caption-button:hover,.crm-date-caption-button:focus-visible{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border);outline:0}.crm-date-month-year-panel{gap:.65rem;padding:.7rem;display:grid}.crm-date-month-year-heading{color:var(--crm-text-primary);justify-content:space-between;align-items:center;gap:.75rem;display:flex}.crm-date-month-year-heading strong{font-size:var(--type-body-strong);font-weight:720}.crm-date-month-year-heading button{color:var(--crm-accent-hover);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.25rem .38rem;font-weight:650}.crm-date-month-year-heading button:hover,.crm-date-month-year-heading button:focus-visible{background:var(--crm-accent-soft);outline:0}.crm-date-year-grid{scrollbar-gutter:stable;border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;grid-template-columns:repeat(4,minmax(0,1fr));gap:.28rem;max-height:142px;padding:.12rem;display:grid;overflow-y:auto}.crm-date-month-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.3rem;display:grid}.crm-date-year-grid button,.crm-date-month-grid button{min-height:34px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:.25rem;font-weight:620}.crm-date-year-grid button:hover,.crm-date-year-grid button:focus-visible,.crm-date-month-grid button:hover,.crm-date-month-grid button:focus-visible{color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border);outline:0}.crm-date-year-grid button.is-selected,.crm-date-month-grid button.is-selected{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border);font-weight:720}.crm-date-manual-entry{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.4rem;padding:.58rem .65rem;display:grid}.crm-date-manual-entry label{gap:.25rem;min-width:0;display:grid}.crm-date-manual-entry label>span{color:var(--crm-text-muted);font-size:var(--type-label);letter-spacing:.025em;font-weight:680}.crm-date-manual-entry input{border:1px solid var(--crm-border);background:var(--crm-surface);width:100%;min-width:0;min-height:34px;color:var(--crm-text-primary);font:inherit;font-size:var(--type-input);border-radius:7px;outline:0;padding:0 .55rem}.crm-date-manual-entry input:focus{border-color:var(--crm-accent);box-shadow:var(--crm-focus-ring)}.crm-date-manual-entry input[aria-invalid=true]{border-color:var(--crm-danger)}.crm-date-manual-entry>button{border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);min-height:34px;color:var(--crm-accent-hover);font:inherit;font-size:var(--type-button);cursor:pointer;border-radius:7px;padding:0 .65rem;font-weight:700}.crm-date-manual-entry>button:hover,.crm-date-manual-entry>button:focus-visible{background:var(--crm-surface-muted);border-color:var(--crm-accent);outline:0}.crm-date-manual-entry small{color:var(--crm-danger);font-size:var(--type-helper);line-height:var(--type-line-compact);grid-column:1/-1}.modal-backdrop{z-index:var(--crm-layer-modal)}.modal-card{background:var(--crm-surface-elevated);border-color:var(--crm-border);color:var(--crm-text-primary)}.modal-card .modal-title,.modal-confirm-card .confirm-title{font-size:var(--type-modal-title)}.app-shell-root :is(.crm-page-title,.content-page-title,[class*=-page-title]){font-size:var(--type-page-title)}.app-shell-root :is(.crm-section-title,[class*=-section-title]){font-size:var(--type-section-title)}.app-shell-root :is(.crm-card-title,.crm-module-title,[class*=-card-title]){font-size:var(--type-card-title)}#root .app-shell-root :is(.crm-button,[class*=-button],[class*=-btn]){font-size:var(--type-button)}#root .app-shell-root :is(.crm-form-label,[class*=-form-label],.data-control-label){font-size:var(--type-label)}#root .app-shell-root :is(.crm-input,.crm-textarea,.crm-select-trigger,.crm-date-trigger,.customer-combobox-input,.topbar-search-input){font-size:var(--type-input)}#root .app-shell-root :is(.crm-table,[class*=-table]) tbody td{font-size:var(--type-table-body)}#root .app-shell-root :is(.crm-table,[class*=-table]) thead th{font-size:var(--type-table-header)}#root .app-shell-root :is(.crm-page-subtitle,.content-page-subtitle,.crm-form-hint,.crm-form-error,[class*=-helper],[class*=-subtitle],[class*=-meta]){font-size:var(--type-helper)}#root .app-shell-root :is(.crm-badge,.crm-status-badge,[class*=-badge],[class*=-chip]){font-size:var(--type-badge)}#root .app-shell-root :is(.sidebar-nav-btn,.sidebar-collapse-toggle-btn){font-size:var(--type-sidebar)}#root .app-shell-root :is(.sidebar-submenu-btn,.sidebar-flyout-item>strong){font-size:var(--type-sidebar-child)}.modal-backdrop .modal-card :is(.crm-button,[class*=-button],[class*=-btn]){font-size:var(--type-button)}.modal-backdrop .modal-card :is(.crm-form-label,[class*=-form-label]){font-size:var(--type-label)}.modal-backdrop .modal-card :is(.crm-input,.crm-textarea,.crm-select-trigger,.crm-date-trigger,.customer-combobox-input){font-size:var(--type-input)}.modal-backdrop .modal-card :is(.crm-form-hint,.crm-form-error,[class*=-helper],[class*=-subtitle],[class*=-meta]){font-size:var(--type-helper)}.modal-backdrop .modal-card :is(.crm-badge,.crm-status-badge,[class*=-badge],[class*=-chip]){font-size:var(--type-badge)}.customer-combobox-root{width:100%;position:relative}.customer-combobox-input-wrapper{align-items:center;width:100%;display:flex;position:relative}.customer-combobox-search-icon{color:var(--crm-text-muted);pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;left:.75rem}.customer-combobox-input{width:100%;min-height:var(--crm-control-md,40px);background:var(--crm-surface);border:1px solid var(--crm-border);color:var(--crm-text-primary);font:inherit;font-size:var(--type-input);border-radius:9px;outline:0;padding:.55rem 2.4rem .55rem 2.35rem;font-weight:500;transition:border-color .14s,box-shadow .14s}.customer-combobox-input:focus{border-color:var(--crm-accent);box-shadow:var(--crm-focus-ring)}.customer-combobox-root.is-invalid .customer-combobox-input,.customer-combobox-root.is-invalid .customer-combobox-selected-surface{border-color:var(--crm-danger)}.customer-combobox-input:disabled{background:var(--crm-surface-muted);color:var(--crm-text-muted);cursor:not-allowed}.customer-combobox-spinner{border:2px solid var(--crm-border-soft);border-top-color:var(--crm-accent);border-radius:50%;width:16px;height:16px;animation:.75s linear infinite customerComboboxSpin;position:absolute;right:.75rem}.customer-combobox-spinner.is-inline{margin-right:.4rem;display:inline-block;position:static}@keyframes customerComboboxSpin{to{transform:rotate(360deg)}}.customer-combobox-input-clear{background:var(--crm-surface-muted);width:22px;height:22px;color:var(--crm-text-muted);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:color .12s,background .12s;display:inline-flex;position:absolute;right:.75rem}.customer-combobox-input-clear:hover{color:var(--crm-text-primary);background:var(--crm-border-soft)}.customer-combobox-chevron{color:var(--crm-text-muted);pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;right:.75rem}.customer-combobox-selected-surface{width:100%;min-height:var(--crm-control-md,40px);background:var(--crm-surface);border:1px solid var(--crm-border);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:9px;justify-content:space-between;align-items:center;gap:.65rem;padding:.35rem .65rem;transition:border-color .14s,box-shadow .14s,background .14s;display:flex}.customer-combobox-selected-surface:hover{border-color:var(--crm-border-strong);background:var(--crm-surface-elevated)}.customer-combobox-selected-surface:focus-visible{border-color:var(--crm-accent);box-shadow:var(--crm-focus-ring);outline:0}.customer-combobox-selected-left{flex:1;align-items:center;gap:.6rem;min-width:0;display:flex}.customer-combobox-avatar-badge{background:var(--crm-accent-soft);width:28px;height:28px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.customer-combobox-selected-copy{text-align:left;min-width:0;line-height:var(--type-line-control);flex-direction:column;display:flex}.customer-combobox-name{color:var(--crm-text-primary);font-size:var(--type-input);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.customer-combobox-meta{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:.3rem;display:flex;overflow:hidden}.customer-combobox-sep{opacity:.5}.customer-combobox-selected-actions{flex-shrink:0;align-items:center;gap:.35rem;display:flex}.customer-combobox-clear-btn{width:24px;height:24px;color:var(--crm-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;transition:color .12s,background .12s;display:inline-flex}.customer-combobox-clear-btn:hover{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 10%, transparent)}.customer-combobox-dropdown{z-index:1000;background:var(--crm-surface-elevated);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);flex-direction:column;max-height:300px;animation:.14s cubic-bezier(.16,1,.3,1) customerComboboxDrop;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:hidden;box-shadow:0 10px 28px #0000001f,0 2px 8px #0000000f}@keyframes customerComboboxDrop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.customer-combobox-list{flex-direction:column;flex:1;gap:.15rem;padding:.35rem;display:flex;overflow-y:auto}.customer-combobox-item{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:7px;align-items:center;gap:.65rem;padding:.55rem .75rem;transition:background .1s;display:flex}.customer-combobox-item:hover,.customer-combobox-item.is-highlighted{background:var(--crm-surface-muted)}.customer-combobox-item.is-selected{background:var(--crm-accent-soft);color:var(--crm-accent-hover)}.customer-combobox-item-avatar{background:var(--crm-surface-muted);width:28px;height:28px;color:var(--crm-text-secondary);border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.customer-combobox-item.is-selected .customer-combobox-item-avatar{background:var(--crm-accent-soft);color:var(--crm-accent-hover)}.customer-combobox-item-copy{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.customer-combobox-item-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.customer-combobox-item-title{color:var(--crm-text-primary);font-size:var(--type-input);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.customer-combobox-item-status-badge{font-size:var(--type-badge);background:var(--crm-surface-muted);color:var(--crm-text-muted);text-transform:capitalize;border-radius:999px;padding:.1rem .4rem;font-weight:600}.customer-combobox-item-meta{color:var(--crm-text-secondary);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:.3rem;display:flex;overflow:hidden}.customer-combobox-check-icon{color:var(--crm-accent-hover);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.customer-combobox-state-msg{color:var(--crm-text-muted);font-size:var(--type-input);text-align:center;justify-content:center;align-items:center;gap:.45rem;padding:1.15rem 1rem;display:flex}.customer-combobox-state-msg.is-error{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 7%, transparent);border-bottom:1px solid color-mix(in srgb, var(--crm-danger) 18%, transparent);text-align:left;justify-content:flex-start}.customer-combobox-state-msg.is-empty{flex-direction:column;gap:.2rem;padding-bottom:.5rem}.customer-combobox-state-msg.is-empty small{color:var(--crm-text-secondary);font-size:var(--type-input)}.customer-combobox-empty-wrapper{flex-direction:column;align-items:center;padding-bottom:.65rem;display:flex}.customer-combobox-create-action-btn,.customer-combobox-footer-create-btn{border:1px dashed var(--crm-accent-border);background:var(--crm-accent-soft);width:calc(100% - 1rem);color:var(--crm-accent-hover);font:inherit;font-size:var(--type-input);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:.4rem;margin:0 .5rem;padding:.45rem .75rem;font-weight:650;transition:background .12s,border-color .12s;display:inline-flex}.customer-combobox-create-action-btn:hover,.customer-combobox-footer-create-btn:hover{background:color-mix(in srgb, var(--crm-accent) 20%, transparent);border-color:var(--crm-accent)}.customer-combobox-dropdown-footer{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);padding:.4rem 0 .45rem}@media (width<=640px){.crm-search-input{width:100%;min-width:0}.crm-pagination{flex-direction:column;align-items:flex-start}.crm-pagination-controls{justify-content:flex-end;width:100%}}@media (width<=768px){.modal-backdrop .crm-table-shell,.modal-backdrop .crm-table-scroll{overflow:visible}.modal-backdrop .crm-table.is-modal-responsive-table,.modal-backdrop .crm-table.is-modal-responsive-table tbody{width:100%;display:block}.modal-backdrop .crm-table.is-modal-responsive-table{table-layout:auto}.modal-backdrop .crm-table.is-modal-responsive-table thead,.modal-backdrop .crm-table.is-modal-responsive-table colgroup{display:none}.modal-backdrop .crm-table.is-modal-responsive-table tbody{padding:.72rem}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem .9rem;min-width:0;padding:.85rem;display:grid}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr+tr{margin-top:.72rem}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr>td{white-space:normal;border:0;flex-direction:column;align-items:flex-start;gap:.28rem;width:auto;min-width:0;height:auto;padding:0;display:flex}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr>td[data-label]:before{content:attr(data-label);color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:650;line-height:var(--type-line-compact)}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr>td[colspan]{grid-column:1/-1}.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr>td.crm-col-actions,.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr>td.data-cell-actions{text-align:left;grid-column:1/-1;align-items:flex-start}.modal-backdrop .crm-table.is-modal-responsive-table :where(.crm-button,.crm-select-trigger,.crm-input){max-width:100%}}@media (width<=520px){.modal-backdrop .crm-table.is-modal-responsive-table tbody>tr{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.crm-button,.crm-icon-button,.crm-input,.crm-textarea,.crm-select-content,.crm-date-popover,.crm-dropdown-content{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.crm-admin-page{width:100%;color:var(--crm-text-secondary);flex-direction:column;gap:1rem;display:flex}.crm-page-header,.crm-entity-hero,.crm-toolbar,.crm-permission-toolbar,.crm-sticky-actions{justify-content:space-between;align-items:center;gap:1rem;display:flex}.crm-page-header{min-height:62px}.crm-page-heading{min-width:0}.crm-page-title{color:var(--crm-text-primary);font-size:var(--type-page-title);letter-spacing:-.025em;margin:0;font-weight:720}.crm-page-subtitle{max-width:720px;color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:.28rem 0 0}.crm-page-actions,.crm-toolbar-filters,.crm-inline-actions{align-items:center;gap:.55rem;display:flex}.crm-toolbar,.crm-permission-toolbar{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);padding:.72rem}.crm-toolbar .crm-search-input,.crm-permission-toolbar .crm-search-input{flex:1}.crm-toolbar-filters .crm-select-trigger{min-width:160px}.crm-toolbar-filters .is-wide{min-width:205px}.crm-list-filter-toolbar{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:11px;display:flex}.crm-list-filter-card{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;padding:.75rem 1rem;display:flex}.crm-toolbar.crm-list-filter-toolbar,.crm-permission-toolbar.crm-list-filter-toolbar,.data-toolbar.crm-list-filter-toolbar,.notifications-toolbar.crm-list-filter-toolbar,.contact-access-toolbar.crm-list-filter-toolbar{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);min-height:0;box-shadow:var(--crm-shadow-soft);padding:.75rem 1rem}.crm-list-filter-main{flex:720px;min-width:0}.crm-list-filter-count,.data-result-count,:is(.data-list-meta,.notifications-list-meta)>span:first-child{min-height:42px;color:var(--crm-text-secondary);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);font-size:var(--type-helper);white-space:nowrap;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:.35rem;padding:.35rem .85rem;display:inline-flex}.crm-list-filter-count strong,.data-result-count strong,:is(.data-list-meta,.notifications-list-meta)>span:first-child strong{color:var(--crm-text-primary);font-weight:750}.crm-toolbar.crm-list-filter-toolbar,.crm-permission-toolbar.crm-list-filter-toolbar,.data-toolbar.crm-list-filter-toolbar,.data-toolbar-group.crm-list-filter-toolbar,.customers-toolbar-left.crm-list-filter-toolbar,.notifications-filter-grid.crm-list-filter-toolbar,.notifications-toolbar.crm-list-filter-toolbar,.commission-row-actions.crm-list-filter-toolbar{flex-flow:wrap;justify-content:flex-start;align-items:center;gap:11px}.crm-list-filter-toolbar .crm-search-input{flex:0 340px;width:min(340px,100%);min-width:300px;max-width:360px;height:42px}.data-toolbar.crm-list-filter-toolbar .crm-search-input{flex:0 340px;width:min(340px,100%);min-width:300px;max-width:360px}.crm-list-filter-toolbar .crm-list-filter-control{flex:0 170px;width:170px;min-width:150px;max-width:190px}.crm-list-filter-toolbar .crm-list-filter-control.is-wide{flex-basis:190px;width:190px}.crm-list-filter-toolbar .crm-list-filter-control.is-date{flex-basis:210px;width:210px;min-width:180px;max-width:220px}.crm-list-filter-toolbar .crm-list-filter-control.is-date>.crm-button{width:100%;height:42px}.crm-list-filter-toolbar>.crm-date-control{flex:0 210px;width:210px;min-width:180px;max-width:220px}.crm-list-filter-toolbar .crm-toolbar-filters{display:contents}.crm-list-filter-toolbar .crm-toolbar-filters .crm-select-trigger,.crm-list-filter-toolbar>.crm-select-trigger{width:170px;min-width:150px;max-width:190px}.crm-list-filter-toolbar .crm-select-trigger,.crm-list-filter-toolbar .crm-date-trigger,.crm-list-filter-toolbar>.crm-button{height:42px;min-height:42px}.crm-list-filter-toolbar>.crm-segmented-tabs-shell{min-height:42px;padding:2px}.crm-list-filter-toolbar>.crm-segmented-tabs-shell .crm-segmented-tabs{grid-auto-columns:minmax(86px,auto)}.crm-list-filter-toolbar>.crm-segmented-tabs-shell .crm-segmented-tab{min-height:36px}.crm-list-filter-toolbar .data-filter-grid,.crm-list-filter-toolbar .call-history-filter-grid,.crm-list-filter-toolbar .call-operations-filter-grid{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:11px;min-width:0;display:flex}.crm-list-filter-toolbar .data-control-label{flex:0 170px;justify-content:center;gap:0;width:170px;min-width:150px;max-width:190px}.crm-list-filter-toolbar .data-control-label>span:not(.sr-only){display:none}.crm-list-filter-toolbar .data-control-label.is-date-range,.crm-list-filter-toolbar .contact-access-date-filter{flex-basis:210px;width:210px;max-width:220px}.crm-list-filter-toolbar .data-control-label.is-date{flex-basis:180px;width:180px;min-width:180px;max-width:190px}.crm-table .crm-col-user{min-width:240px}.crm-table .crm-col-description{min-width:250px}.crm-table .crm-col-medium{min-width:150px}.crm-table .crm-col-status{min-width:118px}.crm-table .crm-col-actions{text-align:center;white-space:nowrap;width:96px;min-width:96px}.crm-table .crm-col-actions .crm-icon-button{margin-inline:auto}.crm-person-cell,.crm-primary-cell,.crm-person-copy,.crm-cell-stack{min-width:0;display:flex}.crm-person-cell{align-items:center;gap:.68rem}.crm-primary-cell,.crm-person-copy,.crm-cell-stack{flex-direction:column;gap:.16rem}.crm-person-avatar,.crm-entity-avatar{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);flex:none;justify-content:center;align-items:center;font-weight:720;display:inline-flex}.crm-person-avatar{width:34px;height:34px;font-size:var(--type-badge);border-radius:9px}.crm-entity-avatar{width:58px;height:58px;font-size:var(--type-section-title);border-radius:15px}.crm-cell-title{color:var(--crm-text-primary);font-size:var(--type-body);font-weight:660}.crm-cell-link{cursor:pointer}.crm-cell-link:hover{color:var(--crm-accent-hover);text-underline-offset:3px;text-decoration:underline}.crm-cell-subtitle,.crm-cell-description{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading)}.crm-cell-description{max-width:420px;display:block}.crm-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--type-code)}.crm-table-badge-link{cursor:pointer}.crm-back-row{align-items:center;min-height:34px;display:flex}.crm-entity-hero{background:linear-gradient(145deg, var(--crm-surface-elevated), var(--crm-surface));border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-soft);align-items:flex-start;padding:1rem 1.05rem}.crm-entity-copy{min-width:0}.crm-entity-title-row,.crm-entity-meta{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.crm-entity-title{color:var(--crm-text-primary);font-size:var(--type-card-title);letter-spacing:-.02em;margin:0;font-weight:720}.crm-entity-meta{color:var(--crm-text-muted);font-size:var(--type-helper);margin-top:.3rem}.crm-entity-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.crm-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.crm-stat-card,.crm-detail-card,.crm-permission-module,.crm-summary-panel{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft)}.crm-stat-card{flex-direction:column;justify-content:space-between;gap:.6rem;min-height:108px;padding:.85rem;display:flex}.crm-stat-label{color:var(--crm-text-muted);font-size:var(--type-label);letter-spacing:.035em;text-transform:uppercase;font-weight:650}.crm-stat-value{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:690}.crm-stat-note{color:var(--crm-text-muted);font-size:var(--type-helper);margin-top:.2rem}.crm-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.crm-detail-card{overflow:hidden}.crm-card-header,.crm-permission-module-header{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;gap:.75rem;min-height:48px;padding:.7rem .82rem;display:flex}.crm-card-title{color:var(--crm-text-primary);font-size:var(--type-card-title);align-items:center;gap:.48rem;margin:0;font-weight:680;display:flex}.crm-key-values{margin:0}.crm-key-value{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);align-items:center;gap:.75rem;min-height:45px;padding:.62rem .82rem;display:grid}.crm-key-value:last-child{border-bottom:0}.crm-key-value dt{color:var(--crm-text-muted);font-size:var(--type-helper)}.crm-key-value dd{min-width:0;color:var(--crm-text-primary);font-size:var(--type-body);overflow-wrap:anywhere;margin:0;font-weight:580}.crm-activity-list{padding:.2rem .82rem}.crm-activity-item{border-bottom:1px solid var(--crm-border-soft);padding:.72rem 0 .72rem 1rem;position:relative}.crm-activity-item:last-child{border-bottom:0}.crm-activity-item:before{content:"";background:var(--crm-accent);border-radius:50%;width:6px;height:6px;position:absolute;top:1rem;left:0}.crm-activity-head{color:var(--crm-text-primary);font-size:var(--type-body);justify-content:space-between;gap:1rem;font-weight:630;display:flex}.crm-activity-time{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:500}.crm-activity-item p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-body);margin:.22rem 0 0}.crm-permissions-layout{flex-direction:column;gap:.8rem;display:flex}.crm-permission-modules{flex-direction:column;gap:.65rem;display:flex}.crm-permission-module{overflow:hidden}.crm-module-heading{align-items:center;gap:.5rem;min-width:0;display:flex}.crm-module-title{color:var(--crm-text-primary);font-size:var(--type-card-title);margin:0;font-weight:680}.crm-permission-list{flex-direction:column;display:flex}.crm-permission-row{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;min-height:68px;padding:.72rem .82rem;display:grid}.crm-permission-row:last-child{border-bottom:0}.crm-permission-row:hover{background:color-mix(in srgb, var(--crm-accent-soft) 25%, transparent)}.crm-permission-copy{min-width:0}.crm-permission-title-row{flex-wrap:wrap;align-items:center;gap:.42rem;display:flex}.crm-permission-options{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;align-items:center;gap:.5rem;padding:.38rem;display:flex}.crm-permission-options .crm-choice-label{font-size:var(--type-label);white-space:nowrap;padding:.24rem .34rem}.crm-sticky-actions{background:color-mix(in srgb, var(--crm-surface-elevated) 94%, transparent);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-elevated);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:.72rem .8rem;position:sticky;bottom:.75rem}.crm-sticky-message{color:var(--crm-text-secondary);font-size:var(--type-helper)}.crm-modal-form{flex-direction:column;gap:18px;padding:0;display:flex}.crm-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;display:grid}.crm-modal-section{gap:14px;min-width:0;display:grid}.crm-modal-section+.crm-modal-section{border-top:1px solid var(--crm-border-soft);padding-top:23px}.crm-modal-section-header{gap:5px;min-width:0;display:grid}.crm-modal-section-header h4{color:var(--crm-text-primary);font-size:var(--type-card-title);font-weight:700;line-height:var(--type-line-heading);margin:0}.crm-modal-section-header p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-body);margin:0}.crm-modal-section-content{gap:18px;min-width:0;display:grid}.crm-modal-form-grid,.crm-modal-detail-grid{gap:18px 16px;min-width:0;margin:0;display:grid}.crm-modal-form-grid.is-1-columns,.crm-modal-detail-grid.is-1-columns{grid-template-columns:minmax(0,1fr)}.crm-modal-form-grid.is-2-columns,.crm-modal-detail-grid.is-2-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-modal-form-grid.is-3-columns,.crm-modal-detail-grid.is-3-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-modal-detail-grid.is-4-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-modal-form-grid>.is-full,.crm-modal-detail-grid>.is-full{grid-column:1/-1}.crm-modal-detail-grid>div{border-bottom:1px solid var(--crm-border-soft);align-content:start;gap:5px;min-width:0;padding:11px 0;display:grid}.crm-modal-detail-grid :where(dt,.crm-modal-detail-label){color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:600}.crm-modal-detail-grid :where(dd,.crm-modal-detail-value){min-width:0;color:var(--crm-text-primary);font-size:var(--type-body);overflow-wrap:anywhere;margin:0;font-weight:650}.crm-modal-footer{border-top:1px solid var(--crm-border-soft);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:11px;padding:16px 20px;display:flex}.data-modal-footer.crm-modal-footer,.call-session-footer.crm-modal-footer{justify-content:flex-end;gap:11px;padding:16px 20px}.modal-backdrop .modal-generic-card{border-radius:var(--crm-radius-lg);flex-direction:column;width:fit-content;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);display:flex;overflow:hidden}.modal-backdrop .modal-generic-card.is-sm{width:min(500px,100vw - 40px)}.modal-backdrop .modal-generic-card.is-md{width:min(680px,100vw - 40px)}.modal-backdrop .modal-generic-card.is-lg{width:min(900px,100vw - 40px)}.modal-backdrop .modal-generic-card.is-content{width:fit-content;min-width:min(880px,100vw - 40px);max-width:calc(100vw - 40px)}.modal-backdrop .modal-generic-card .modal-header{background:var(--crm-surface-elevated);border-bottom:1px solid var(--crm-border-soft);box-shadow:none;flex:none;align-items:flex-start;gap:16px;padding:20px 24px}.modal-backdrop .modal-generic-card .modal-title-group{gap:5px;min-width:0}.modal-backdrop .modal-generic-card .modal-title{color:var(--crm-text-primary);font-size:var(--type-modal-title);font-weight:700;line-height:var(--type-line-heading);margin:0}.modal-backdrop .modal-generic-card .modal-subtitle{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:0}.modal-backdrop .modal-generic-card .modal-close-btn{flex:none;width:34px;height:34px;margin:-2px -4px 0 0}.modal-backdrop .modal-generic-card .modal-content{flex-direction:column;flex:auto;min-width:0;max-width:100%;min-height:0;display:flex;overflow-x:hidden}.modal-backdrop .modal-generic-card .modal-content:not(.has-canonical-footer){-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:22px 24px;overflow-y:auto}.modal-backdrop .modal-generic-card .modal-content.has-canonical-footer{padding:0;overflow:hidden}.modal-backdrop .modal-generic-card .modal-layout-root{flex-direction:column;flex:auto;gap:0;min-width:0;min-height:0;max-height:100%;display:flex;overflow:hidden}.modal-backdrop .modal-generic-card .modal-scroll-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;flex:auto;align-items:stretch;gap:18px;min-width:0;min-height:0;padding:22px 24px;scroll-padding-block:22px;display:flex;overflow:hidden auto}.modal-backdrop .modal-generic-card .modal-scroll-body .customer-combobox-root.is-open{z-index:1}.modal-backdrop .modal-generic-card .modal-scroll-body .customer-combobox-dropdown{width:100%;max-height:min(300px,45dvh);margin-top:4px;position:relative;inset:auto}.modal-backdrop .modal-generic-card :is(.modal-scroll-body,.modal-content:not(.has-canonical-footer))>*{flex:none;min-width:0;max-width:100%}.modal-backdrop .modal-generic-card.is-content .modal-content{width:max-content;max-width:100%}.modal-backdrop .modal-generic-card.is-content :is(.modal-layout-root,.modal-scroll-body){width:100%;max-width:100%}.modal-backdrop .modal-generic-card .modal-content :where(.crm-table-shell,.crm-table-scroll,.crm-table,.crm-form-grid,.modal-form-grid,.crm-input-shell,.crm-select-trigger,.crm-date-trigger,.customer-combobox-root){min-width:0;max-width:100%}.modal-backdrop .modal-generic-card .modal-content :where(input,select,textarea,button,img,svg){max-width:100%}.modal-backdrop .modal-generic-card .modal-content :where(.crm-table-scroll){overflow:visible}.modal-backdrop .modal-generic-card .modal-content :where(.crm-table){table-layout:auto;width:100%}.modal-backdrop .modal-generic-card .modal-content :where(.crm-table th,.crm-table td){white-space:normal;overflow-wrap:anywhere;min-width:0}.modal-backdrop .modal-generic-card .modal-content :where(.crm-table .is-numeric,.crm-table .crm-col-actions){white-space:nowrap}.modal-backdrop .modal-generic-card .modal-content :where(pre,code){white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.modal-backdrop .modal-generic-card .crm-modal-footer,.modal-backdrop .modal-generic-card .modal-canonical-footer{z-index:2;border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);min-height:68px;box-shadow:none;flex:none;justify-content:flex-end;align-items:center;gap:11px;margin:0;padding:16px 24px;display:flex;position:relative}.modal-backdrop .modal-generic-card .crm-modal-footer>.crm-button,.modal-backdrop .modal-generic-card .modal-canonical-footer>.crm-button{max-width:100%}.modal-backdrop .modal-generic-card .crm-form-field,.modal-backdrop .modal-generic-card .modal-form-group{gap:7px}.modal-backdrop .modal-generic-card .crm-modal-form{gap:18px}.modal-backdrop .modal-generic-card .crm-modal-form:has(>.crm-modal-section){gap:23px}.modal-backdrop .modal-generic-card :is(.crm-form-grid,.modal-form-grid){gap:18px 16px}.modal-backdrop .modal-generic-card :is(.crm-form-label,.modal-label){color:var(--crm-text-primary);font-size:var(--type-label);font-weight:600;line-height:var(--type-line-compact)}.modal-backdrop .modal-generic-card .crm-form-label small{color:var(--crm-text-muted);font-size:var(--type-helper);margin-left:0;font-weight:500}.modal-backdrop .modal-generic-card :is(.crm-form-hint,.crm-form-error){font-size:var(--type-helper);line-height:var(--type-line-compact);margin-top:0}.modal-backdrop .modal-generic-card :is(.crm-input,.crm-input-shell,.crm-select-trigger,.crm-date-trigger,.customer-combobox-input,.modal-input,.modal-select){min-height:42px;font-size:var(--type-input)}.modal-backdrop .modal-generic-card .crm-textarea{resize:none;min-height:116px;font-size:var(--type-input)}.modal-backdrop .modal-confirm-card{border-radius:var(--crm-radius-lg);flex-direction:column;width:min(100vw - 40px,500px);max-width:500px;max-height:calc(100dvh - 40px);display:flex;overflow:hidden}.modal-backdrop .modal-confirm-card .confirm-modal-body{gap:16px;min-height:0;padding:0}.modal-backdrop .modal-confirm-card .confirm-title{font-size:var(--type-modal-title);font-weight:700;line-height:var(--type-line-heading)}.modal-backdrop .modal-confirm-card .confirm-message{font-size:var(--type-body);line-height:var(--type-line-body)}.modal-backdrop .modal-confirm-card .confirm-footer{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:11px;min-height:68px;margin:0;padding:16px 24px;display:flex}@media (width<=900px){.crm-modal-form-grid.is-3-columns,.crm-modal-detail-grid.is-3-columns,.crm-modal-detail-grid.is-4-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.modal-backdrop{padding:8px}.modal-backdrop .modal-generic-card{width:calc(100vw - 16px);min-width:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.modal-backdrop .modal-generic-card .modal-header,.modal-backdrop .modal-generic-card .modal-scroll-body,.modal-backdrop .modal-generic-card .modal-content:not(.has-canonical-footer){padding-inline:20px}.modal-backdrop .modal-generic-card .crm-modal-footer,.modal-backdrop .modal-generic-card .modal-canonical-footer{flex-wrap:wrap;padding:14px 20px}.modal-backdrop .modal-confirm-card{width:min(100vw - 16px,500px);max-height:calc(100dvh - 16px)}.modal-backdrop .modal-confirm-card .confirm-modal-body{padding:0}.modal-backdrop .modal-confirm-card .confirm-footer{padding:14px 20px}.crm-modal-form-grid.is-2-columns,.crm-modal-form-grid.is-3-columns,.crm-modal-detail-grid.is-2-columns,.crm-modal-detail-grid.is-3-columns,.crm-modal-detail-grid.is-4-columns{grid-template-columns:minmax(0,1fr)}.crm-modal-form-grid>.is-full,.crm-modal-detail-grid>.is-full{grid-column:auto}}.crm-summary-panel{background:var(--crm-surface-muted);box-shadow:none;flex-direction:column;gap:.55rem;padding:.78rem;display:flex}.crm-summary-row{color:var(--crm-text-secondary);font-size:var(--type-body);grid-template-columns:132px minmax(0,1fr);gap:.75rem;display:grid}.crm-summary-row>span:first-child{color:var(--crm-text-muted)}.crm-copy-row{grid-template-columns:minmax(0,1fr) auto;gap:.5rem;display:grid}.crm-notice{color:var(--crm-text-secondary);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);font-size:var(--type-helper);line-height:var(--type-line-body);border-radius:9px;align-items:flex-start;gap:.55rem;padding:.72rem;display:flex}.crm-tab-label{align-items:center;gap:.42rem;display:inline-flex}.crm-inline-empty{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md)}@media (width<=980px){.crm-page-header,.crm-entity-hero,.crm-toolbar,.crm-permission-toolbar{flex-direction:column;align-items:stretch}.crm-page-actions,.crm-entity-actions{justify-content:flex-start}.crm-toolbar-filters{flex-wrap:wrap;width:100%}.crm-toolbar-filters .crm-select-trigger{flex:1;min-width:150px}.crm-toolbar.crm-list-filter-toolbar,.crm-permission-toolbar.crm-list-filter-toolbar{flex-direction:row;align-items:center}.crm-stats-grid{grid-template-columns:1fr}}@media (width<=720px){.crm-list-filter-card{align-items:stretch}.crm-list-filter-main{flex-basis:100%}.crm-list-filter-count{margin-left:auto}.crm-list-filter-toolbar .crm-search-input,.data-toolbar.crm-list-filter-toolbar .crm-search-input,.crm-list-filter-toolbar .crm-list-filter-control,.crm-list-filter-toolbar .crm-list-filter-control.is-wide,.crm-list-filter-toolbar .crm-list-filter-control.is-date,.crm-list-filter-toolbar .data-control-label,.crm-list-filter-toolbar .data-control-label.is-date,.crm-list-filter-toolbar .data-control-label.is-date-range,.crm-list-filter-toolbar .contact-access-date-filter,.crm-list-filter-toolbar .crm-toolbar-filters .crm-select-trigger,.crm-list-filter-toolbar>.crm-select-trigger,.crm-list-filter-toolbar>.crm-date-control{flex:100%;width:100%;min-width:0;max-width:none}.crm-list-filter-toolbar .data-filter-grid,.crm-list-filter-toolbar .call-history-filter-grid,.crm-list-filter-toolbar .call-operations-filter-grid{width:100%}.crm-details-grid,.crm-form-grid,.crm-permission-row{grid-template-columns:1fr}.crm-permission-options{flex-wrap:wrap;width:100%}.crm-sticky-actions{flex-direction:column;align-items:stretch}.crm-inline-actions{flex-wrap:wrap;justify-content:flex-end}.crm-key-value{grid-template-columns:1fr;gap:.18rem}.crm-activity-head{flex-direction:column;gap:.2rem}}@media (width<=520px){.crm-page-actions,.crm-page-actions .crm-button,.crm-toolbar-filters,.crm-toolbar-filters .crm-select-trigger{width:100%}.crm-page-actions{flex-direction:column}.crm-entity-identity{align-items:flex-start}.crm-entity-actions .crm-button{flex:1}.crm-summary-row{grid-template-columns:1fr;gap:.16rem}.crm-copy-row{grid-template-columns:1fr}}.typography-trigger-glyph{color:currentColor;font-size:var(--type-card-title);letter-spacing:-.055em;font-weight:720;line-height:var(--type-line-compact);justify-content:center;align-items:baseline;display:inline-flex}.typography-popover.crm-popover-content{width:min(370px,100vw - 24px);max-height:min(620px,100dvh - 84px);padding:0;overflow:hidden}.typography-popover-header{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 14px;display:flex}.typography-popover-header>div{flex-direction:column;gap:2px;min-width:0;display:flex}.typography-popover-header strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700}.typography-popover-header span{color:var(--crm-text-muted);font-size:var(--type-badge)}.typography-reset{color:var(--crm-accent-hover);font:inherit;font-size:var(--type-badge);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:5px 7px;font-weight:650}.typography-reset:hover{background:var(--crm-accent-soft)}.typography-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:12px 14px;display:grid}.typography-presets button{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);min-width:0;min-height:36px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;border-radius:8px;padding:0 6px;font-weight:620;transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s}.typography-presets button:hover{color:var(--crm-text-primary);border-color:var(--crm-border-strong);background:var(--crm-surface-elevated)}.typography-presets button.is-active{color:var(--crm-accent-hover);border-color:var(--crm-accent-border);background:var(--crm-accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--crm-accent) 8%, transparent)}.typography-advanced-toggle{border:0;border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);width:100%;min-height:42px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-helper);cursor:pointer;justify-content:space-between;align-items:center;padding:0 14px;font-weight:650;display:flex}.typography-advanced-toggle:hover{color:var(--crm-text-primary);background:var(--crm-surface-muted)}.typography-advanced-toggle>span:last-child{font-size:var(--type-section-title);font-weight:500;transition:rotate .15s;rotate:90deg}.typography-advanced-toggle>span:last-child.is-open{rotate:-90deg}.typography-advanced{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface);max-height:min(430px,100dvh - 250px);padding:4px 14px 14px;overflow-y:auto}.typography-setting{border-bottom:1px solid var(--crm-border-soft);padding:10px 0}.typography-setting:last-child{border-bottom:0}.typography-setting-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;display:flex}.typography-setting-heading label{color:var(--crm-text-secondary);font-size:var(--type-label);font-weight:620}.typography-setting-heading output{min-width:38px;color:var(--crm-text-primary);font-size:var(--type-badge);text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.typography-setting-control{grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:8px;display:grid}.typography-setting-control button{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);width:30px;height:30px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;padding:0;font-weight:650;display:inline-flex}.typography-setting-control button:hover:not(:disabled){color:var(--crm-accent-hover);border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.typography-setting-control button:disabled{opacity:.4;cursor:not-allowed}.typography-setting-control input[type=range]{width:100%;accent-color:var(--crm-accent);cursor:pointer}@media (width<=560px){.typography-popover.crm-popover-content{max-height:calc(100dvh - 76px)}.typography-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}.sales-target-card{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:linear-gradient(135deg, color-mix(in srgb, var(--crm-accent) 6%, var(--crm-surface)) 0%, var(--crm-surface) 58%);box-shadow:var(--crm-shadow-soft);gap:.9rem;padding:1.15rem 1.25rem;display:grid;overflow:hidden}.sales-target-card.is-achieved,.sales-target-card.is-on_track{border-color:color-mix(in srgb, var(--crm-success) 34%, var(--crm-border))}.sales-target-card.is-close{border-color:color-mix(in srgb, var(--crm-warning) 32%, var(--crm-border))}.sales-target-card.is-behind{border-color:color-mix(in srgb, var(--crm-danger) 28%, var(--crm-border))}.sales-target-card.is-loading{align-content:center;min-height:190px}.sales-target-card.is-empty{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.sales-target-card.is-empty h2{color:var(--crm-text-primary);font-size:var(--type-card-title);margin:.18rem 0}.sales-target-card.is-empty p{color:var(--crm-text-secondary);font-size:var(--type-helper);margin:0}.sales-target-card-heading,.sales-target-card-heading>div,.sales-target-card-heading-actions,.sales-target-amount-row{align-items:center;display:flex}.sales-target-card-heading,.sales-target-amount-row{justify-content:space-between;gap:1rem}.sales-target-card-heading>div,.sales-target-card-heading-actions{gap:.68rem}.sales-target-card-heading small,.sales-target-card.is-empty small{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.05em;font-weight:750}.sales-target-card-heading h2{color:var(--crm-text-primary);margin:.1rem 0 0;font-size:1.05rem}.sales-target-card-icon{width:38px;height:38px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.sales-target-amount-row>div{flex-wrap:wrap;align-items:baseline;gap:.42rem;min-width:0;display:flex}.sales-target-amount-row strong{color:var(--crm-text-primary);letter-spacing:-.035em;font-size:clamp(1.35rem,2vw,1.9rem);font-weight:800}.sales-target-amount-row span{color:var(--crm-text-secondary);font-size:var(--type-body-strong);font-weight:650}.sales-target-amount-row b{color:var(--crm-accent-hover);font-size:1.2rem}.sales-target-progress{background:var(--crm-surface-muted);border-radius:999px;height:10px;position:relative;overflow:visible}.sales-target-progress>span{border-radius:inherit;background:linear-gradient(90deg, var(--crm-accent), var(--crm-accent-hover));transition:width .24s;position:absolute;inset:0 auto 0 0}.sales-target-card.is-achieved .sales-target-progress>span,.sales-target-card.is-on_track .sales-target-progress>span{background:var(--crm-success)}.sales-target-card.is-close .sales-target-progress>span{background:var(--crm-warning)}.sales-target-card.is-behind .sales-target-progress>span{background:var(--crm-danger)}.sales-target-progress>i{background:var(--crm-text-primary);opacity:.38;border-radius:99px;width:2px;height:16px;position:absolute;top:-3px;transform:translate(-1px)}.sales-target-metrics{border-top:1px solid var(--crm-border-soft);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.sales-target-metrics>div{gap:.22rem;min-width:0;padding:.78rem .85rem 0 0;display:grid}.sales-target-metrics small{color:var(--crm-text-muted);font-size:var(--type-badge)}.sales-target-metrics strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);overflow-wrap:anywhere}.sales-target-data-warning{color:var(--crm-warning-strong,#9a5b00);border-radius:var(--crm-radius-sm);background:color-mix(in srgb, var(--crm-warning) 9%, transparent);font-size:var(--type-helper);align-items:center;gap:.38rem;margin:0;padding:.58rem .7rem;display:flex}.sales-target-inline-progress{gap:.3rem;min-width:150px;display:grid}.sales-target-inline-progress>div{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.sales-target-inline-progress span{background:var(--crm-surface-muted);border-radius:99px;height:6px;overflow:hidden}.sales-target-inline-progress span i{border-radius:inherit;background:var(--crm-accent);height:100%;display:block}.sales-target-page{gap:1rem;display:grid}.sales-target-page-header{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.sales-target-page-header h1{color:var(--crm-text-primary);font-size:var(--type-page-title);margin:0}.sales-target-page-header p{color:var(--crm-text-secondary);font-size:var(--type-body);margin:.25rem 0 0}.sales-target-page-actions{align-items:center;gap:.55rem;display:flex}.sales-target-period-input{width:165px}@media (width<=760px){.sales-target-card.is-empty{grid-template-columns:auto minmax(0,1fr)}.sales-target-card.is-empty .crm-button{grid-column:1/-1;width:100%}.sales-target-card-heading,.sales-target-page-header{flex-direction:column;align-items:flex-start}.sales-target-card-heading-actions,.sales-target-page-actions{width:100%}.sales-target-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-target-page-actions{flex-wrap:wrap}.sales-target-period-input{width:100%}}.dashboard-page{color:var(--crm-text-secondary);flex-direction:column;gap:.9rem;display:flex}.dashboard-header{justify-content:space-between;align-items:center;gap:1.25rem;min-height:92px;display:flex}.dashboard-heading{min-width:0}.dashboard-eyebrow{margin-bottom:.42rem}.dashboard-heading h1{color:var(--crm-text-primary);font-size:var(--type-page-title);letter-spacing:-.035em;margin:0;font-weight:740}.dashboard-heading p{max-width:700px;color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:.3rem 0 0}.dashboard-summary-strip{background:var(--crm-border-soft);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.dashboard-metric{background:var(--crm-surface);align-items:center;gap:.72rem;min-height:104px;padding:.85rem .9rem;display:flex}.dashboard-metric-icon,.dashboard-row-icon,.dashboard-avatar{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);flex:none;justify-content:center;align-items:center;display:inline-flex}.dashboard-metric-icon{border-radius:10px;width:38px;height:38px}.dashboard-metric-copy{flex-direction:column;min-width:0;display:flex}.dashboard-metric-copy>span{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.035em;text-transform:uppercase;font-weight:660}.dashboard-metric-copy strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);letter-spacing:-.03em;margin-top:.18rem;font-weight:740}.dashboard-metric-copy small{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;margin-top:.1rem;overflow:hidden}.dashboard-metric-skeleton{width:56px;height:18px;margin:.34rem 0 .2rem}.dashboard-workspace{grid-template-columns:minmax(0,1.55fr) minmax(320px,.82fr);align-items:start;gap:.9rem;display:grid}.dashboard-workspace.is-single-column{grid-template-columns:1fr}.dashboard-main-column,.dashboard-side-column{flex-direction:column;gap:.9rem;display:flex}.dashboard-panel{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);overflow:hidden}.dashboard-panel-header{min-height:64px;color:var(--crm-text-muted);background:var(--crm-surface-muted);border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:.8rem;padding:.78rem .86rem;display:flex}.dashboard-panel-header>div{min-width:0}.dashboard-panel-header h2{color:var(--crm-text-primary);font-size:var(--type-section-title);letter-spacing:-.015em;margin:.1rem 0 0;font-weight:700}.dashboard-panel-header p{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact);margin:.2rem 0 0}.dashboard-section-kicker{color:var(--crm-accent-hover);font-size:var(--type-badge);letter-spacing:.09em;font-weight:720}.dashboard-today-panel .crm-state{min-height:205px}.dashboard-panel .crm-state{min-height:178px;padding-block:1.55rem}.dashboard-panel .crm-error-state{min-height:178px}.dashboard-list{flex-direction:column;display:flex}.dashboard-list-row{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;min-height:72px;padding:.72rem .86rem;display:grid}.dashboard-list-row:last-child{border-bottom:0}.dashboard-list.is-compact .dashboard-list-row{min-height:66px;padding-block:.64rem}.dashboard-row-icon{border-radius:8px;width:32px;height:32px}.dashboard-avatar{width:34px;height:34px;font-size:var(--type-badge);border-radius:9px;font-weight:720}.dashboard-list-primary{flex-direction:column;gap:.2rem;min-width:0;display:flex}.dashboard-list-primary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:660;overflow:hidden}.dashboard-list-primary span{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-list-primary i{margin:0 .32rem;font-style:normal}.dashboard-list-meta{text-align:right;flex-direction:column;align-items:flex-end;gap:.3rem;display:flex}.dashboard-list-meta time{color:var(--crm-text-muted);font-size:var(--type-helper);white-space:nowrap}.dashboard-list-meta>strong{color:var(--crm-text-primary);font-size:var(--type-helper);font-weight:680}.dashboard-short-skeleton{width:76px}@media (width<=1180px){.dashboard-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-workspace{grid-template-columns:minmax(0,1.35fr) minmax(290px,.8fr)}}@media (width<=920px){.dashboard-workspace{grid-template-columns:1fr}.dashboard-side-column{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (width<=680px){.dashboard-header{flex-direction:column;align-items:stretch;padding-block:.4rem}.dashboard-header>.crm-button{width:100%}.dashboard-summary-strip{grid-template-columns:1fr}.dashboard-side-column{display:flex}.dashboard-list-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.dashboard-list-meta{text-align:left;grid-column:2;align-items:flex-start}}@media (width<=430px){.dashboard-panel-header{align-items:flex-start}.dashboard-panel-header .crm-button{flex:none}.dashboard-list-row.is-distribution{grid-template-columns:auto minmax(0,1fr)}}:root{--dm-surface:var(--crm-surface);--dm-surface-raised:var(--crm-surface-elevated);--dm-surface-muted:var(--crm-surface-muted);--dm-surface-strong:var(--crm-surface-strong);--dm-surface-accent:var(--crm-accent-soft);--dm-border:var(--crm-border);--dm-border-soft:var(--crm-border-soft);--dm-border-accent:var(--crm-accent-border);--dm-text:var(--crm-text-primary);--dm-text-secondary:var(--crm-text-secondary);--dm-text-muted:var(--crm-text-muted);--dm-accent:var(--crm-accent);--dm-accent-strong:var(--crm-accent-hover);--dm-accent-soft:var(--crm-accent-soft);--dm-navy:var(--crm-primary);--dm-success:var(--crm-success);--dm-warning:var(--crm-warning);--dm-danger:var(--crm-danger);--dm-radius-sm:var(--crm-radius-sm);--dm-radius-md:var(--crm-radius-md);--dm-shadow-soft:var(--crm-shadow-soft);--dm-shadow-float:var(--crm-shadow-elevated);--dm-layer-menu:var(--crm-layer-menu);--dm-layer-modal:var(--crm-layer-modal);--dm-layer-floating:var(--crm-layer-floating)}.data-management-page{color:var(--dm-text-secondary);gap:1.35rem}.data-management-page .sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.data-page-header{border-bottom:1px solid var(--dm-border-soft);justify-content:space-between;align-items:center;gap:1.5rem;padding:.2rem 0 1.15rem;display:flex}.data-page-heading{min-width:0}.data-page-heading .content-page-title{color:var(--dm-text);font-size:var(--type-page-title);letter-spacing:-.028em;font-weight:720}.data-page-heading .content-page-subtitle{max-width:690px;color:var(--dm-text-muted);line-height:var(--type-line-heading);margin-top:.32rem}.data-module,.data-view-stack{flex-direction:column;min-width:0;display:flex}.data-module{gap:1rem}.data-view-stack{gap:.72rem}.data-tabs-shell{background:var(--dm-surface-muted);border:1px solid var(--dm-border-soft);border-radius:12px;width:fit-content;max-width:100%;padding:4px;overflow-x:auto;box-shadow:inset 0 1px 2px #0f172a09}.data-tabs{grid-template-columns:repeat(3,minmax(168px,1fr));align-items:center;gap:3px;display:grid}.data-tab{min-height:38px;color:var(--dm-text-muted);font:inherit;font-size:var(--type-helper);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.48rem;padding:0 .85rem;font-weight:600;transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s;display:inline-flex}.data-tab:hover{color:var(--dm-text-secondary);background:color-mix(in srgb, var(--dm-surface-raised) 55%, transparent)}.data-tab:focus-visible{outline:2px solid var(--dm-accent);outline-offset:1px}.data-tab.is-active{color:var(--dm-accent-strong);background:var(--dm-surface-raised);border-color:var(--dm-border-soft);box-shadow:0 1px 3px #0f172a14}.data-tab-panel{min-width:0}.data-button{min-height:38px;font:inherit;font-size:var(--type-button);font-weight:650;line-height:var(--type-line-control);white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:.48rem;padding:.5rem .95rem;transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s,opacity .14s;display:inline-flex}.data-button:focus-visible,.data-icon-button:focus-visible,.data-page-button:focus-visible,.data-link-button:focus-visible,.data-action-menu-item:focus-visible,.data-select-trigger:focus-visible,.data-date-trigger:focus-visible,.data-date-clear:focus-visible,.data-checkbox-root:focus-visible{outline:2px solid var(--dm-accent);outline-offset:2px}.data-button:disabled,.data-icon-button:disabled,.data-page-button:disabled,.data-select-trigger:disabled,.data-date-trigger:disabled,.data-checkbox-root:disabled{opacity:.46;cursor:not-allowed}.data-button-primary{color:#fff;background:var(--dm-navy);border-color:#0e2d58b8;box-shadow:0 5px 14px -9px #0d366fd9,inset 0 1px #ffffff1f}.data-button-primary:hover:not(:disabled){background:var(--dm-accent-strong);box-shadow:0 7px 16px -10px #0d366fe6,inset 0 1px #ffffff24}.data-button-secondary{color:var(--dm-text-secondary);background:var(--dm-surface-raised);border-color:var(--dm-border-soft);box-shadow:0 1px 2px #0f172a0a}.data-button-secondary:hover:not(:disabled){color:var(--dm-text);background:var(--dm-surface-muted);border-color:var(--dm-border)}.data-button-ghost{min-height:36px;color:var(--dm-text-muted);background:0 0;border-color:#0000;padding-inline:.62rem}.data-button-ghost:hover:not(:disabled){color:var(--dm-accent);background:var(--dm-accent-soft)}.data-toolbar{background:var(--dm-surface);border:1px solid var(--dm-border-soft);border-radius:var(--dm-radius-md);min-width:0;min-height:72px;box-shadow:var(--dm-shadow-soft);justify-content:space-between;align-items:flex-end;gap:1rem;padding:.85rem .9rem;display:flex}.data-pool-toolbar{background:var(--dm-surface)}.data-toolbar-group,.data-filter-grid{align-items:flex-end;gap:.6rem;min-width:0;display:flex}.data-filter-grid{flex:1;justify-content:flex-end}.data-dynamic-filter-bar{background:var(--dm-surface-muted);border:1px solid var(--dm-border-soft);border-radius:var(--dm-radius-md);justify-content:space-between;align-items:flex-end;gap:.75rem;min-width:0;padding:.72rem .78rem;display:flex}.data-dynamic-filter-list{flex-wrap:wrap;flex:1;align-items:flex-end;gap:.6rem;min-width:0;display:flex}.data-dynamic-filter{flex-direction:column;flex:220px;gap:.34rem;min-width:205px;max-width:310px;display:flex}.data-dynamic-filter-head{min-height:24px;color:var(--dm-text-secondary);font-size:var(--type-badge);justify-content:space-between;align-items:center;gap:.45rem;font-weight:650;display:flex}.data-dynamic-filter-head>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.data-dynamic-filter .crm-input,.data-dynamic-filter .crm-select-trigger,.data-dynamic-filter .crm-date-trigger{height:38px}.data-dynamic-filter:has(.crm-date-control){min-width:268px;max-width:350px}.data-dynamic-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;display:grid}.data-toolbar-copy{flex-direction:column;align-self:center;gap:.18rem;min-width:210px;display:flex}.data-toolbar-copy strong{color:var(--dm-text);font-size:var(--type-body-strong);font-weight:680}.data-toolbar-copy span{color:var(--dm-text-muted);font-size:var(--type-badge)}.data-search-control{width:min(390px,100%);min-width:260px;height:42px;color:var(--dm-text-muted);background:var(--dm-surface-muted);box-shadow:inset 0 0 0 1px var(--dm-border-soft);border:1px solid #0000;border-radius:9px;align-items:center;gap:.55rem;padding:0 .78rem;transition:background-color .14s,border-color .14s,box-shadow .14s;display:flex}.data-search-control:focus-within{background:var(--dm-surface-raised);border-color:var(--dm-border-accent);box-shadow:0 0 0 3px var(--dm-accent-soft)}.data-search-control input{min-width:0;color:var(--dm-text);font:inherit;font-size:var(--type-input);background:0 0;border:0;outline:0;flex:1}.data-search-control input::placeholder{color:var(--dm-text-muted)}.data-search-control input::-webkit-search-cancel-button{display:none}.data-search-control button{width:26px;height:26px;color:var(--dm-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.data-search-control button:hover{color:var(--dm-text);background:var(--dm-surface-strong)}.data-control-label,.data-form-field{color:var(--dm-text-secondary);font-size:var(--type-label);flex-direction:column;gap:.32rem;font-weight:630;display:flex}.data-control-label{min-width:158px}.data-control-label.is-compact{min-width:120px;max-width:150px}.data-control-label.is-date{min-width:144px}.data-control-label.is-date-range{min-width:268px}.data-control{background:var(--dm-surface-muted);width:100%;height:38px;box-shadow:inset 0 0 0 1px var(--dm-border-soft);color:var(--dm-text);font:inherit;font-size:var(--type-badge);border:1px solid #0000;border-radius:8px;outline:0;padding:0 .7rem;font-weight:520;transition:background-color .14s,border-color .14s,box-shadow .14s}.data-control:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--dm-border)}.data-control:focus{background:var(--dm-surface-raised);border-color:var(--dm-border-accent);box-shadow:0 0 0 3px var(--dm-accent-soft)}.data-control:disabled{opacity:.5;cursor:not-allowed}[data-theme=dark] .data-control{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.data-select-trigger{background:var(--dm-surface-muted);width:100%;height:38px;box-shadow:inset 0 0 0 1px var(--dm-border-soft);color:var(--dm-text);font:inherit;font-size:var(--type-input);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:8px;outline:0;justify-content:space-between;align-items:center;gap:.6rem;padding:0 .64rem 0 .72rem;font-weight:520;transition:background-color .14s,border-color .14s,box-shadow .14s;display:inline-flex}.data-select-trigger:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--dm-border)}.data-select-trigger[data-state=open]{background:var(--dm-surface-raised);border-color:var(--dm-border-accent);box-shadow:0 0 0 3px var(--dm-accent-soft)}.data-select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.data-select-chevron{color:var(--dm-text-muted);flex:none;display:inline-flex}.data-select-content{z-index:var(--dm-layer-floating);width:var(--radix-select-trigger-width);min-width:190px;max-width:min(360px,100vw - 20px);max-height:min(360px, var(--radix-select-content-available-height));background:var(--dm-surface-raised);border:1px solid var(--dm-border);box-shadow:var(--dm-shadow-float);border-radius:10px;animation:.12s ease-out dmMenuFade;overflow:hidden}.data-date-control{min-width:0;position:relative}.data-date-trigger{background:var(--dm-surface-muted);width:100%;height:38px;box-shadow:inset 0 0 0 1px var(--dm-border-soft);color:var(--dm-text);font:inherit;font-size:var(--type-input);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:8px;outline:0;align-items:center;gap:.48rem;padding:0 .65rem 0 .72rem;font-weight:540;transition:background-color .14s,border-color .14s,box-shadow .14s;display:flex}.data-date-trigger:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--dm-border)}.data-date-trigger[data-state=open]{background:var(--dm-surface-raised);border-color:var(--dm-border-accent);box-shadow:0 0 0 3px var(--dm-accent-soft)}.data-date-trigger>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.data-date-trigger .is-placeholder,.data-date-trigger-icon,.data-date-chevron{color:var(--dm-text-muted)}.data-date-trigger-icon,.data-date-chevron{flex:none}.data-date-chevron{transition:rotate .14s}.data-date-chevron.is-open{rotate:180deg}.data-date-control:has(.data-date-clear) .data-date-trigger{padding-right:2.45rem}.data-date-clear{width:24px;height:24px;color:var(--dm-text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:7px;right:26px}.data-date-clear:hover{color:var(--dm-text);background:var(--dm-surface-strong)}.data-date-popover{z-index:var(--dm-layer-floating);background:var(--dm-surface-raised);border:1px solid var(--dm-border);width:324px;max-width:calc(100vw - 24px);box-shadow:var(--dm-shadow-float);color:var(--dm-text);border-radius:12px;animation:.12s ease-out dmMenuFade;overflow:hidden}.data-date-popover-arrow{fill:var(--dm-surface-raised)}.data-date-range-hint{color:var(--dm-text-muted);font-size:var(--type-helper);padding:.62rem .75rem 0;font-weight:580}.data-date-popover .rdp-root{--rdp-day-width:36px;--rdp-day-height:36px;margin:0;padding:.7rem .7rem .55rem;position:relative}.data-date-popover .rdp-months,.data-date-popover .rdp-month{max-width:100%}.data-date-popover .rdp-month_caption{justify-content:center;align-items:center;min-height:36px;padding:0 2.4rem;display:flex}.data-date-popover .rdp-caption_label{color:var(--dm-text);font-size:var(--type-helper);text-transform:capitalize;font-weight:690}.data-date-popover .rdp-nav{pointer-events:none;justify-content:space-between;display:flex;position:absolute;inset:.7rem .7rem auto}.data-date-popover .rdp-button_previous,.data-date-popover .rdp-button_next{border:1px solid var(--dm-border-soft);background:var(--dm-surface-muted);width:32px;height:32px;color:var(--dm-text-secondary);cursor:pointer;pointer-events:auto;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex}.data-date-popover .rdp-button_previous:hover:not(:disabled),.data-date-popover .rdp-button_next:hover:not(:disabled){color:var(--dm-accent);border-color:var(--dm-border-accent);background:var(--dm-surface-accent)}.data-date-popover .rdp-month_grid{border-collapse:collapse;table-layout:fixed;width:100%}.data-date-popover .rdp-weekday{height:30px;color:var(--dm-text-muted);font-size:var(--type-badge);text-align:center;font-weight:650}.data-date-popover .rdp-day{text-align:center;width:36px;height:36px;padding:0}.data-date-popover .rdp-day_button{width:34px;height:34px;color:var(--dm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;outline:0;justify-content:center;align-items:center;margin:1px auto;padding:0;font-weight:560;display:inline-flex}.data-date-popover .rdp-day_button:hover{color:var(--dm-text);background:var(--dm-surface-strong)}.data-date-popover .rdp-day_button:focus-visible{border-color:var(--dm-accent);box-shadow:0 0 0 2px var(--dm-accent-soft)}.data-date-popover .rdp-today:not(.rdp-selected) .rdp-day_button{color:var(--dm-accent-strong);border-color:var(--dm-border-accent);font-weight:720}.data-date-popover .rdp-outside .rdp-day_button{color:var(--dm-text-muted);opacity:.48}.data-date-popover .rdp-disabled .rdp-day_button{opacity:.34;cursor:not-allowed}.data-date-popover .rdp-selected .rdp-day_button,.data-date-popover .rdp-range_start .rdp-day_button,.data-date-popover .rdp-range_end .rdp-day_button{color:#fff;background:var(--dm-accent);border-color:var(--dm-accent);font-weight:700}.data-date-popover .rdp-range_middle{background:var(--dm-surface-accent)}.data-date-popover .rdp-range_middle .rdp-day_button{width:100%;color:var(--dm-accent-strong);background:0 0;border-radius:0}.data-date-quick-actions{border-top:1px solid var(--dm-border-soft);background:var(--dm-surface-muted);grid-template-columns:repeat(4,1fr);gap:.28rem;padding:.55rem .65rem;display:grid}.data-date-quick-actions button{min-height:30px;color:var(--dm-text-secondary);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:.25rem .38rem;font-weight:610}.data-date-quick-actions button:hover,.data-date-quick-actions button:focus-visible{color:var(--dm-accent-strong);background:var(--dm-surface-accent);border-color:var(--dm-border-accent);outline:0}.data-date-quick-actions button:only-child{grid-column:1/-1}.data-select-viewport{padding:.35rem}.data-select-scroll-button{height:26px;color:var(--dm-text-muted);background:var(--dm-surface-raised);justify-content:center;align-items:center;display:flex}.data-select-item{min-height:36px;color:var(--dm-text-secondary);font-size:var(--type-input);cursor:default;-webkit-user-select:none;user-select:none;border-radius:7px;outline:0;align-items:center;padding:.43rem 2rem .43rem .55rem;display:flex;position:relative}.data-select-item[data-highlighted]{color:var(--dm-text);background:var(--dm-surface-muted)}.data-select-item[data-state=checked]{color:var(--dm-accent-strong);background:var(--dm-accent-soft)}.data-select-item-layout{align-items:center;gap:.55rem;min-width:0;display:flex}.data-select-item-copy{flex-direction:column;gap:.08rem;min-width:0;display:flex}.data-select-item-copy strong{color:inherit;font-size:var(--type-input);text-overflow:ellipsis;white-space:nowrap;font-weight:620;overflow:hidden}.data-select-item-copy small{color:var(--dm-text-muted);font-size:var(--type-input);text-overflow:ellipsis;white-space:nowrap;font-weight:450;overflow:hidden}.data-select-avatar{width:28px;height:28px;color:var(--dm-accent-strong);background:var(--dm-accent-soft);border:1px solid var(--dm-border-accent);font-size:var(--type-input);border-radius:8px;flex:none;justify-content:center;align-items:center;font-weight:720;display:inline-flex}.data-select-check{color:var(--dm-accent);display:inline-flex;position:absolute;right:.58rem}.data-clear-filters{align-self:flex-end}.data-result-count{align-self:center}.data-list-meta{min-height:31px;color:var(--dm-text-muted);font-size:var(--type-helper);justify-content:space-between;align-items:center;gap:1rem;padding:.1rem .35rem;display:flex}.data-list-meta strong{color:var(--dm-text);font-size:var(--type-helper);font-weight:680}.data-bulk-bar{background:var(--dm-surface-accent);border:1px solid var(--dm-border-accent);border-radius:var(--dm-radius-md);min-height:52px;box-shadow:var(--dm-shadow-soft);justify-content:space-between;align-items:center;gap:1rem;padding:.5rem .58rem .5rem .78rem;display:flex}.data-bulk-summary{color:var(--dm-text);font-size:var(--type-helper);align-items:center;gap:.62rem;display:flex}.data-bulk-icon,.data-modal-summary-icon{color:var(--dm-accent);background:var(--dm-surface-raised);border:1px solid var(--dm-border-accent);flex:none;justify-content:center;align-items:center;display:inline-flex}.data-bulk-icon{border-radius:8px;width:28px;height:28px}.data-link-button{color:var(--dm-text-muted);font:inherit;font-size:var(--type-button);cursor:pointer;background:0 0;border:0;padding:.2rem}.data-link-button:hover{color:var(--dm-accent);text-decoration:underline}.data-table-card{background:var(--dm-surface);border:1px solid var(--dm-border);min-width:0;box-shadow:var(--dm-shadow-soft);border-radius:13px;overflow:hidden}.data-table-scroll{overscroll-behavior-inline:contain;width:100%;overflow:auto}.data-table{border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;width:100%}.data-pool-table,.data-history-table{min-width:1160px}.data-distribution-detail{flex-direction:column;gap:.9rem;min-width:0;display:flex}.data-detail-info-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.62rem;display:grid}.data-detail-info-item{background:var(--dm-surface-muted);border:1px solid var(--dm-border-soft);border-radius:10px;flex-direction:column;justify-content:center;gap:.22rem;min-width:0;min-height:68px;padding:.68rem .75rem;display:flex}.data-detail-info-item.is-wide{grid-column:span 2}.data-detail-info-item span{color:var(--dm-text-muted);font-size:var(--type-badge);font-weight:560}.data-detail-info-item strong{min-width:0;color:var(--dm-text);font-size:var(--type-body-strong);font-weight:680;line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.data-detail-toolbar{justify-content:space-between;align-items:center;gap:1rem;min-width:0;display:flex}.data-detail-toolbar-copy{flex-direction:column;gap:.12rem;min-width:0;display:flex}.data-detail-toolbar-copy strong{color:var(--dm-text);font-size:var(--type-body-strong);font-weight:680}.data-detail-toolbar-copy span{color:var(--dm-text-muted);font-size:var(--type-badge)}.data-detail-actions{justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.data-detail-table-shell{border:1px solid var(--dm-border);min-width:0;box-shadow:none;border-radius:11px;overflow:hidden}.data-detail-table-scroll{overflow:visible}.data-detail-col-check{width:48px}.data-detail-col-person{width:190px}.data-detail-col-phone{width:145px}.data-detail-col-campaign{width:170px}.data-detail-col-date{width:155px}.data-detail-col-status{width:145px}.data-detail-col-eligibility{width:170px}.data-detail-col-action{width:145px}.data-detail-table .crm-button{white-space:nowrap}.data-phone-text{color:var(--dm-text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap}.data-detail-permission-note{color:var(--dm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact);margin:0}.data-detail-permission-note code{color:var(--dm-text-secondary);font:inherit;font-weight:650}.data-batches-table{min-width:1220px}.data-table thead{background:var(--dm-surface-strong)}.data-table th{z-index:1;border-bottom:1px solid var(--dm-border);background:var(--dm-surface-strong);height:45px;color:var(--dm-text-secondary);font-size:var(--type-table-header);letter-spacing:-.005em;text-transform:none;white-space:nowrap;padding:.66rem .85rem;font-weight:650;position:sticky;top:0}.data-table td{border-bottom:1px solid var(--dm-border-soft);height:63px;color:var(--dm-text-secondary);font-size:var(--type-table-body);vertical-align:middle;padding:.72rem .85rem}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background-color .12s}.data-table tbody tr:not(.data-skeleton-row):hover{background:color-mix(in srgb, var(--dm-surface-accent) 62%, transparent)}.data-table tbody tr.is-selected{background:var(--dm-surface-accent);box-shadow:inset 3px 0 var(--dm-accent)}.data-table th.is-numeric,.data-table td.is-numeric{text-align:right;font-variant-numeric:tabular-nums}.data-col-check{width:48px}.data-col-person{width:220px}.data-col-phone{width:170px}.data-col-campaign{width:190px}.data-col-location{width:160px}.data-col-date{width:165px}.data-col-status{width:115px}.data-col-actions{width:76px}.data-cell-check,.data-cell-actions{text-align:center}.data-primary-cell{flex-direction:column;gap:.14rem;min-width:0;display:flex}.data-primary-cell strong{min-width:0;color:var(--dm-text);font-size:var(--type-body-strong);font-weight:650;line-height:var(--type-line-compact)}.data-primary-cell span,.data-primary-cell time,.data-secondary-text,.data-date-text{color:var(--dm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact)}.data-date-text{white-space:nowrap;font-variant-numeric:tabular-nums;display:inline-block}.data-phone-cell,.data-file-cell,.data-person-cell{align-items:center;min-width:0;display:flex}.data-phone-cell{gap:.44rem}.data-file-cell{gap:.5rem}.data-person-cell{gap:.62rem}.data-phone-cell>span:first-child{color:var(--dm-text);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:var(--type-helper);letter-spacing:.012em}.data-count-chip,.data-format-badge,.data-target-chip,.data-number{width:fit-content;font-size:var(--type-badge);white-space:nowrap;border-radius:6px;align-items:center;font-weight:650;display:inline-flex}.data-count-chip{color:var(--dm-accent-strong);background:var(--dm-accent-soft);border:1px solid var(--dm-border-accent);padding:.1rem .35rem}.data-format-badge{color:var(--dm-accent-strong);background:var(--dm-accent-soft);border:1px solid var(--dm-border-accent);flex:none;padding:.15rem .4rem}.data-format-badge.is-xlsx,.data-format-badge.is-xls{color:var(--dm-success);background:#10b98114;border-color:#10b98133}.data-target-chip{color:var(--dm-warning);background:#f59e0b14;border:1px solid #f59e0b2e;padding:.2rem .48rem}.data-number{color:var(--dm-text);background:var(--dm-surface-muted);border:1px solid var(--dm-border-soft);font-variant-numeric:tabular-nums;justify-content:flex-end;padding:.16rem .38rem}.data-number.is-success{color:var(--dm-success)}.data-number.is-warning{color:var(--dm-warning)}.data-number.is-danger{color:var(--dm-danger)}.data-avatar{width:31px;height:31px;color:var(--dm-accent-strong);background:var(--dm-accent-soft);border:1px solid var(--dm-border-accent);font-size:var(--type-badge);border-radius:9px;flex:none;justify-content:center;align-items:center;font-weight:720;display:inline-flex}.data-ellipsis{max-width:165px;color:var(--dm-text-secondary);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.data-ellipsis.is-wide{max-width:230px}.data-status-badge{border:1px solid var(--dm-border-soft);color:var(--dm-text-muted);background:var(--dm-surface-muted);font-size:var(--type-badge);white-space:nowrap;border-radius:7px;align-items:center;gap:.37rem;padding:.2rem .48rem;font-weight:640;display:inline-flex}.data-status-dot{width:6px;height:6px;box-shadow:0 0 0 2px color-mix(in srgb, currentColor 12%, transparent);background:currentColor;border-radius:50%;flex:none}.data-status-badge.is-success{color:var(--dm-success);background:#10b98113;border-color:#10b9812e}.data-status-badge.is-info{color:var(--dm-accent-strong);background:var(--dm-accent-soft);border-color:var(--dm-border-accent)}.data-status-badge.is-warning{color:var(--dm-warning);background:#f59e0b13;border-color:#f59e0b2e}.data-status-badge.is-danger{color:var(--dm-danger);background:#ef444413;border-color:#ef44442e}.data-checkbox-root{border:1px solid var(--dm-border);background:var(--dm-surface-raised);color:#0000;cursor:pointer;border-radius:5px;justify-content:center;align-items:center;width:18px;height:18px;padding:0;transition:background-color .12s,border-color .12s,box-shadow .12s,color .12s;display:inline-flex}.data-checkbox-root:hover:not(:disabled){border-color:var(--dm-border-accent)}.data-checkbox-root[data-state=checked],.data-checkbox-root[data-state=indeterminate]{color:#fff;background:var(--dm-accent);border-color:var(--dm-accent)}.data-checkbox-indicator{justify-content:center;align-items:center;display:inline-flex}.data-icon-button{width:33px;height:33px;color:var(--dm-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}.data-icon-button:hover,.data-icon-button[data-state=open]{color:var(--dm-text);background:var(--dm-surface-muted);border-color:var(--dm-border-soft)}.data-icon-button.is-danger:hover{color:var(--dm-danger);background:#ef444412;border-color:#ef444429}.data-action-menu{z-index:var(--dm-layer-menu);background:var(--dm-surface-raised);border:1px solid var(--dm-border);width:190px;box-shadow:var(--dm-shadow-float);border-radius:10px;padding:.34rem;animation:.12s ease-out dmMenuFade}@keyframes dmMenuFade{0%{opacity:0}to{opacity:1}}.data-action-menu-item{min-height:36px;color:var(--dm-text-secondary);font-size:var(--type-badge);cursor:default;-webkit-user-select:none;user-select:none;border-radius:7px;outline:0;align-items:center;gap:.55rem;padding:.45rem .55rem;font-weight:560;transition:background-color .1s,color .1s;display:flex}.data-action-menu-item[data-highlighted]{color:var(--dm-text);background:var(--dm-surface-muted)}.data-action-menu-separator{background:var(--dm-border-soft);height:1px;margin:.25rem .4rem}.data-skeleton-row:hover{background:0 0}.data-skeleton-line{background:var(--dm-surface-strong);border-radius:999px;width:min(100%,126px);height:10px;animation:1.4s ease-in-out infinite dmSkeletonPulse;display:block}.data-skeleton-line.is-short{width:18px}@keyframes dmSkeletonPulse{0%,to{opacity:1}50%{opacity:.38}}.data-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.42rem;min-height:260px;padding:2.6rem 1rem;display:flex}.data-state-icon{width:54px;height:54px;color:var(--dm-accent);background:var(--dm-surface-accent);border:1px solid var(--dm-border-accent);border-radius:14px;justify-content:center;align-items:center;margin-bottom:.38rem;display:inline-flex}.data-state strong{color:var(--dm-text);font-size:var(--type-body-strong);font-weight:680}.data-state p{max-width:430px;color:var(--dm-text-muted);font-size:var(--type-body);line-height:var(--type-line-body);margin:0 0 .58rem}.data-state-error .data-state-icon{color:var(--dm-danger);background:#ef444412;border-color:#ef444429}.data-pagination{border-top:1px solid var(--dm-border-soft);background:var(--dm-surface-muted);justify-content:space-between;align-items:center;gap:1rem;min-height:55px;padding:.62rem .82rem;display:flex}.data-pagination-summary{color:var(--dm-text-muted);font-size:var(--type-badge);align-items:baseline;gap:.24rem;display:flex}.data-pagination-summary strong{color:var(--dm-text);font-weight:680}.data-pagination-controls{align-items:center;gap:.45rem;display:flex}.data-page-button{border:1px solid var(--dm-border-soft);background:var(--dm-surface-raised);width:31px;height:31px;color:var(--dm-text-secondary);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background-color .12s,border-color .12s,color .12s;display:inline-flex}.data-page-button:hover:not(:disabled){color:var(--dm-accent);background:var(--dm-surface-accent);border-color:var(--dm-border-accent)}.data-page-indicator{min-width:76px;color:var(--dm-text-muted);font-size:var(--type-badge);text-align:center}.data-page-indicator strong{color:var(--dm-text);font-weight:680}.data-form-field{color:var(--dm-text);font-size:var(--type-badge);gap:.42rem}.data-form-field>label,.data-form-field>span{color:var(--dm-text);font-size:var(--type-label);align-items:baseline;gap:.34rem;font-weight:640;display:flex}.data-form-field em{color:var(--dm-danger);font-style:normal}.data-form-field small{color:var(--dm-text-muted);font-size:var(--type-helper);font-weight:450;line-height:var(--type-line-compact)}.data-distribute-form .data-select-trigger,.data-distribute-form .crm-select-trigger,.data-distribute-form .data-control,.data-distribute-form .crm-input{background:var(--dm-surface-muted);height:42px}.data-modal-summary{border:1px solid var(--dm-border-accent);background:var(--dm-surface-accent);border-radius:10px;align-items:center;gap:.68rem;min-height:58px;padding:.65rem .72rem;display:flex}.data-modal-summary-icon{border-radius:9px;width:32px;height:32px}.data-modal-summary>div{flex-direction:column;gap:.08rem;display:flex}.data-modal-summary span{color:var(--dm-text-muted);font-size:var(--type-badge)}.data-modal-summary strong{color:var(--dm-text);font-size:var(--type-body-strong);font-weight:680}.data-wizard-view{min-width:0}.data-wizard-view>div{border-color:var(--dm-border)!important;box-shadow:var(--dm-shadow-soft)!important}.data-wizard-view .modal-btn{transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s}.data-wizard-view .modal-btn-primary{background:var(--dm-navy);border-color:#0e2d58b8}.data-wizard-view .modal-btn-primary:hover:not(:disabled){background:var(--dm-accent-strong);transform:none}.data-wizard-preview-tabs{width:100%;margin-bottom:1.1rem}.data-wizard-preview-tabs .crm-segmented-tabs{grid-auto-columns:minmax(112px,1fr);width:100%}.data-wizard-finish-button{min-width:200px}@media (width<=1280px){.data-pool-toolbar{flex-direction:column;align-items:stretch}.data-pool-toolbar .data-search-control{width:100%;max-width:none}.data-filter-grid{flex-wrap:wrap;justify-content:flex-start}}@media (width<=900px){.data-toolbar{flex-direction:column;align-items:stretch}.data-toolbar-group,.data-date-filter-group{flex-wrap:wrap}.data-search-control{width:100%;max-width:none}.data-list-meta{flex-direction:column;align-items:flex-start;gap:.15rem}.data-dynamic-filter-bar{flex-direction:column;align-items:stretch}.data-dynamic-filter-bar>.crm-button{align-self:flex-end}.data-detail-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-detail-toolbar{flex-direction:column;align-items:stretch}.data-detail-actions{flex-wrap:wrap;justify-content:flex-start}}@media (width<=640px){.data-page-header{flex-direction:column;align-items:stretch}.data-page-header .data-button,.data-page-header .crm-button{width:100%}.data-tabs{grid-template-columns:repeat(3,minmax(150px,1fr))}.data-filter-grid{grid-template-columns:1fr;display:grid}.data-control-label,.data-control-label.is-compact,.data-control-label.is-date,.data-control-label.is-date-range{width:100%;max-width:none}:is(.data-dynamic-filter,.data-dynamic-filter:has(.crm-date-control)){flex-basis:100%;width:100%;min-width:0;max-width:none}.data-dynamic-filter-bar>.crm-button,.data-clear-filters{width:100%}.data-bulk-bar,.data-bulk-summary{flex-direction:column;align-items:stretch}.data-bulk-summary{gap:.42rem}.data-bulk-bar .data-button,.data-bulk-bar .crm-button{width:100%}.data-pagination{flex-direction:column;align-items:flex-start}.data-pagination-controls{justify-content:flex-end;width:100%}.data-modal-footer{flex-direction:column-reverse;align-items:stretch}.data-modal-footer .data-button,.data-modal-footer .crm-button{width:100%}.data-detail-info-grid{grid-template-columns:1fr}.data-detail-info-item.is-wide{grid-column:auto}.data-detail-actions,.data-detail-actions .crm-button{width:100%}.data-detail-actions{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){.data-management-page *,.data-action-menu,.data-select-content,.data-date-popover{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.my-data-page{flex-direction:column;display:flex}.my-data-summary{background:var(--crm-border-soft);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.my-data-summary-card{background:var(--crm-surface);align-items:center;gap:.72rem;min-height:100px;padding:.85rem .9rem;display:flex}.my-data-summary-icon{width:38px;height:38px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.my-data-summary-card>div{flex-direction:column;min-width:0;display:flex}.my-data-summary-card>div>span{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.035em;text-transform:uppercase;font-weight:660}.my-data-summary-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);letter-spacing:-.03em;margin-top:.18rem;font-weight:740}.my-data-summary-card small{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;margin-top:.1rem;overflow:hidden}.my-data-summary-skeleton{width:72px;height:18px;margin:.34rem 0 .2rem}.my-data-table th,.my-data-table td{white-space:nowrap}.my-data-table th:first-child,.my-data-table td:first-child{min-width:220px}.my-data-action-placeholder{color:var(--crm-text-muted);font-size:var(--type-badge);cursor:help;align-items:center;gap:.32rem;display:inline-flex}.my-data-action-placeholder:focus-visible{outline:2px solid var(--crm-accent);outline-offset:3px;border-radius:4px}.call-session-workspace{flex-direction:column;gap:.85rem;display:flex}.call-session-overview,.call-session-section,.call-session-action-zone{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md)}.call-session-overview{background:var(--crm-surface-muted);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem;display:flex}.call-session-state,.call-session-customer-meta,.call-session-state>div,.call-phone-copy{display:flex}.call-session-state{align-items:center;gap:.65rem}.call-session-state>div,.call-phone-copy{flex-direction:column;gap:.12rem}.call-session-state-icon,.call-session-action-icon{width:38px;height:38px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.call-session-state span,.call-phone-copy span{color:var(--crm-text-muted);font-size:var(--type-badge);font-weight:640}.call-session-state strong,.call-phone-copy strong{color:var(--crm-text-primary)}.call-session-state small{color:var(--crm-text-muted);font-size:var(--type-helper)}.call-session-customer-meta{color:var(--crm-text-secondary);font-size:var(--type-helper);flex-wrap:wrap;justify-content:flex-end;gap:.45rem .8rem}.call-session-customer-meta span{align-items:center;gap:.3rem;display:inline-flex}.call-session-section{overflow:hidden}.call-session-section-head{background:var(--crm-surface-muted);border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:.75rem;min-height:58px;padding:.72rem .85rem;display:flex}.call-session-section-head h4{color:var(--crm-text-primary);font-size:var(--type-card-title);margin:0}.call-session-section-head p{color:var(--crm-text-muted);font-size:var(--type-badge);margin:.18rem 0 0}.call-phone-list{flex-direction:column;display:flex}.call-phone-row{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:.8rem;min-height:66px;padding:.7rem .85rem;display:flex}.call-phone-row:last-child{border-bottom:0}.call-phone-row.is-restricted{background:var(--crm-surface-muted)}.call-phone-copy strong{font-size:var(--type-body-strong);letter-spacing:.015em}.call-phone-row.is-restricted .call-phone-copy strong{color:var(--crm-text-muted)}.call-phone-copy{min-width:0}.call-phone-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.call-phone-action-summary{color:var(--crm-text-secondary);font-size:var(--type-badge);flex-wrap:wrap;align-items:center;gap:.3rem .55rem;margin-top:.35rem;display:flex}.call-phone-action-summary strong{color:var(--crm-accent-hover);font-size:var(--type-body-strong)}.call-phone-action-summary p{width:100%;color:var(--crm-text-muted);line-height:var(--type-line-compact);white-space:normal;margin:0}.call-session-action-zone{padding:0;display:block;overflow:hidden}.call-action-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;padding:.9rem;display:grid}.call-action-form-head{border-bottom:1px solid var(--crm-border-soft);grid-column:1/-1;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.7rem;display:flex}.call-action-form-head>div{flex-direction:column;gap:.12rem;display:flex}.call-action-form-head span{color:var(--crm-text-muted);font-size:var(--type-badge);font-weight:640}.call-action-form-head strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.call-product-list{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);flex-direction:column;gap:.48rem;margin-top:.45rem;padding:.55rem;display:flex}.call-action-form-footer{grid-column:1/-1;justify-content:flex-end;display:flex}.call-session-footer{justify-content:flex-end;gap:.55rem;display:flex}.call-history-title-block{flex-direction:column;gap:.12rem;display:flex}.call-history-title-kicker{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.08em;font-weight:680;line-height:var(--type-line-heading);text-transform:uppercase}.call-history-customer-name{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:730;line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.call-history-header-meta{flex-wrap:wrap;align-items:center;gap:.38rem .72rem;display:flex}.call-history-header-meta>span:not(.crm-status-badge){color:var(--crm-text-secondary);font-size:var(--type-badge);align-items:center;gap:.28rem;display:inline-flex}.call-history{min-height:300px}.call-history-loading{gap:.72rem;display:grid}.call-history-loading-card{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);align-content:center;gap:.58rem;min-height:92px;padding:.88rem;display:grid}.call-history-list{gap:0;display:grid}.call-history-event{--timeline-accent:var(--crm-text-muted);padding:0 0 1rem 2.75rem;position:relative}.call-history-event.is-info{--timeline-accent:var(--crm-accent)}.call-history-event.is-success{--timeline-accent:var(--crm-success)}.call-history-event.is-warning{--timeline-accent:var(--crm-warning)}.call-history-event.is-danger{--timeline-accent:var(--crm-danger)}.call-history-event:not(:last-child):before{content:"";background:var(--crm-border-strong);width:1px;position:absolute;top:2.05rem;bottom:-.05rem;left:1.04rem}.call-history-marker{z-index:1;width:2.08rem;height:2.08rem;color:var(--timeline-accent);border:1px solid color-mix(in srgb, var(--timeline-accent) 28%, var(--crm-border));background:color-mix(in srgb, var(--timeline-accent) 9%, var(--crm-surface-elevated));box-shadow:0 0 0 4px var(--crm-surface-elevated);border-radius:999px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:.15rem;left:0}.call-history-event-card{border:1px solid var(--crm-border-soft);border-left:3px solid color-mix(in srgb, var(--timeline-accent) 42%, var(--crm-border-soft));border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);padding:.9rem .95rem;transition:border-color .15s,background-color .15s,box-shadow .15s}.call-history-event.is-system .call-history-event-card{background:var(--crm-surface-muted);box-shadow:none}.call-history-event.is-editing .call-history-event-card{border-color:var(--crm-accent-border);border-left-color:var(--crm-accent);background:color-mix(in srgb, var(--crm-accent-soft) 42%, var(--crm-surface));box-shadow:var(--crm-focus-ring), var(--crm-shadow-soft)}.call-history-event-head,.call-history-action-meta,.call-history-edit-state,.call-history-event-meta,.call-history-system-detail>span{align-items:center;display:flex}.call-history-event-head{justify-content:space-between;gap:.85rem}.call-history-event-heading{flex-direction:column;gap:.34rem;min-width:0;display:flex}.call-history-event-heading>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:690}.call-history-event-meta{flex-wrap:wrap;gap:.3rem .78rem}.call-history-event-meta>span{color:var(--crm-text-muted);font-size:var(--type-helper);align-items:center;gap:.23rem;display:inline-flex}.call-history-action-detail{border-top:1px solid var(--crm-border-soft);gap:.68rem;margin-top:.78rem;padding-top:.72rem;display:grid}.call-history-action-meta{flex-wrap:wrap;gap:.42rem}.call-history-phone{color:var(--crm-text-secondary);font-size:var(--type-badge);align-items:center;gap:.3rem;font-weight:620;display:inline-flex}.call-history-note{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);padding:.72rem .78rem}.call-history-note>span,.call-history-products>span,.call-history-callback>div>span{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.045em;text-transform:uppercase;margin-bottom:.28rem;font-weight:680;display:block}.call-history-note p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.call-history-products{gap:.08rem;display:grid}.call-history-products>div{flex-wrap:wrap;gap:.38rem;display:flex}.call-history-callback{border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-sm);background:var(--crm-accent-soft);align-items:center;gap:.55rem;width:fit-content;padding:.55rem .7rem;display:flex}.call-history-detail-icon{width:1.8rem;height:1.8rem;color:var(--crm-accent-hover);background:var(--crm-surface-elevated);border-radius:7px;flex:none;justify-content:center;align-items:center;display:inline-flex}.call-history-callback>div{flex-direction:column;display:flex}.call-history-callback>div>span{margin:0}.call-history-callback strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.call-history-edit-state{justify-content:flex-end;gap:.5rem;min-height:1.9rem}.call-history-edit-state>span{color:var(--crm-text-muted);font-size:var(--type-badge)}.call-history-inline-edit{border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-md);background:var(--crm-surface-elevated);margin-top:.12rem;overflow:hidden}.call-history-inline-edit .call-action-form{padding:.9rem}.call-history-system-detail{border-top:1px solid var(--crm-border-soft);gap:.5rem;margin-top:.68rem;padding-top:.62rem;display:grid}.call-history-system-detail>span{color:var(--crm-text-secondary);font-size:var(--type-badge);gap:.3rem}@media (width<=720px){.call-session-overview{flex-direction:column;align-items:flex-start}.call-session-customer-meta{justify-content:flex-start}.call-phone-row{flex-direction:column;align-items:flex-start}.call-phone-controls{justify-content:space-between;width:100%}.call-action-form{grid-template-columns:1fr}.call-session-footer{flex-direction:column-reverse;align-items:stretch}.call-history-header-meta{gap:.34rem .58rem}.call-history{min-height:260px}.call-history-event{padding-left:2.35rem}.call-history-event:not(:last-child):before{left:.88rem}.call-history-marker{width:1.78rem;height:1.78rem}.call-history-event-card{padding:.78rem}.call-history-event-head{flex-direction:column;align-items:flex-start;gap:.55rem}.call-history-event-meta{gap:.3rem .58rem}.call-history-callback{width:100%}.call-history-edit-state{justify-content:flex-start}}@media (width<=820px){.my-data-summary{grid-template-columns:1fr}}.today-calls-page{flex-direction:column;display:flex}.today-calls-summary{background:var(--crm-border-soft);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.today-calls-summary-card{background:var(--crm-surface);align-items:center;gap:.72rem;min-height:96px;padding:.85rem .9rem;display:flex}.today-calls-summary-icon{width:38px;height:38px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.today-calls-summary-card.is-overdue .today-calls-summary-icon{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 8%, transparent);border-color:color-mix(in srgb, var(--crm-danger) 18%, transparent)}.today-calls-summary-card>div{flex-direction:column;min-width:0;display:flex}.today-calls-summary-card>div>span{color:var(--crm-text-muted);font-size:var(--type-helper);letter-spacing:.035em;text-transform:uppercase;font-weight:660}.today-calls-summary-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);letter-spacing:-.03em;margin-top:.18rem;font-weight:740}.today-calls-summary-card small{color:var(--crm-text-muted);font-size:var(--type-helper);margin-top:.1rem}.today-calls-summary-skeleton{width:72px;height:18px;margin:.34rem 0 .2rem}.today-calls-target-note{color:var(--crm-text-secondary);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);font-size:var(--type-badge);align-items:center;gap:.42rem;padding:.58rem .72rem;display:flex}.today-calls-toolbar .data-filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.today-calls-table th,.today-calls-table td{white-space:nowrap}.today-calls-table th:first-child,.today-calls-table td:first-child{min-width:220px}.today-calls-table tr.is-overdue td{background:color-mix(in srgb, var(--crm-danger) 5%, var(--crm-surface))}.today-calls-table tr.is-overdue:hover td{background:color-mix(in srgb, var(--crm-danger) 8%, var(--crm-surface))}.today-calls-overdue-state{align-items:center;gap:.42rem;display:flex}.today-calls-overdue-state small{color:var(--crm-danger);font-size:var(--type-helper);font-weight:650}@media (width<=820px){.today-calls-summary,.today-calls-toolbar .data-filter-grid{grid-template-columns:1fr}}.call-history-page{flex-direction:column;display:flex}.call-history-toolbar{align-items:end}.call-history-filter-grid{grid-template-columns:minmax(170px,1fr) repeat(2,minmax(150px,1fr));gap:.6rem;min-width:min(100%,620px);display:grid}.call-history-table th,.call-history-table td{white-space:nowrap}.call-history-table th:first-child,.call-history-table td:first-child{min-width:200px}.call-history-table th:nth-child(6),.call-history-table td:nth-child(6){white-space:normal;min-width:260px;max-width:320px}.call-history-phone-cell,.call-history-result-cell{flex-direction:column;align-items:flex-start;gap:.3rem;display:flex}.call-history-products-cell{max-width:180px;color:var(--crm-text-secondary);text-overflow:ellipsis;display:block;overflow:hidden}.call-history-explanation{color:var(--crm-text-secondary);font-size:var(--type-badge);line-height:var(--type-line-compact);white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.call-history-explanation+small{color:var(--crm-accent-hover);font-size:var(--type-helper);margin-top:.28rem;font-weight:650;display:block}@media (width<=980px){.call-history-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}}@media (width<=720px){.call-history-filter-grid{grid-template-columns:1fr}}.call-operations-page{flex-direction:column;display:flex}.call-operations-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:.62rem;margin-bottom:.9rem;display:grid}.call-operations-summary-card{border:1px solid var(--crm-border);background:var(--crm-surface-elevated);min-width:0;box-shadow:var(--crm-shadow-soft);border-radius:10px;align-items:center;gap:.58rem;padding:.72rem .78rem;display:flex}.call-operations-summary-card>span{width:1.9rem;height:1.9rem;color:var(--crm-text-secondary);background:var(--crm-surface-strong);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.call-operations-summary-card>div{gap:.06rem;min-width:0;display:grid}.call-operations-summary-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-compact)}.call-operations-summary-card small{color:var(--crm-text-muted);font-size:var(--type-helper);white-space:nowrap}.call-operations-summary-card.is-success>span{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 9%, transparent)}.call-operations-summary-card.is-danger>span{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 9%, transparent)}.call-operations-summary-card.is-info>span{color:var(--crm-accent);background:var(--crm-accent-soft)}.call-operations-summary-card.is-warning>span{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 9%, transparent)}.call-operations-toolbar{align-items:end}.call-operations-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr)) repeat(2,minmax(138px,.8fr));gap:.55rem;min-width:min(100%,960px);display:grid}.call-operations-table th,.call-operations-table td{white-space:nowrap}.call-operations-table th:first-child,.call-operations-table td:first-child{min-width:200px}.call-operations-table th:nth-child(7),.call-operations-table td:nth-child(7){white-space:normal;min-width:240px;max-width:310px}.call-operations-employee{color:var(--crm-text-primary);font-size:var(--type-badge);font-weight:620}.call-operations-phone{color:var(--crm-text-primary);font-size:var(--type-badge);align-items:center;gap:.34rem;font-weight:620;display:flex}.call-operations-reason{color:var(--crm-text-muted);font-size:var(--type-helper);margin-top:.22rem;display:block}.call-operations-callback{justify-items:start;gap:.22rem;display:grid}.call-operations-callback small{color:var(--crm-text-secondary);font-size:var(--type-helper)}@media (width<=1180px){.call-operations-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.call-operations-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0}}@media (width<=760px){.call-operations-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.call-operations-filter-grid{grid-template-columns:1fr}}.notifications-page{flex-direction:column;gap:1rem;display:flex}.notifications-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.notifications-page-header .content-page-subtitle{margin-top:.28rem}.notifications-summary{grid-template-columns:repeat(2,minmax(0,190px));gap:.75rem;display:grid}.notifications-summary article{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);min-height:76px;box-shadow:var(--crm-shadow-soft);align-items:center;gap:.75rem;padding:.9rem;display:flex}.notifications-summary-icon{width:36px;height:36px;color:var(--crm-text-muted);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:10px;flex:0 0 36px;justify-content:center;align-items:center;display:inline-flex}.notifications-summary article.is-unread .notifications-summary-icon{color:var(--crm-accent);background:var(--crm-accent-soft);border-color:var(--crm-accent-border)}.notifications-summary article div{flex-direction:column;gap:.12rem;display:flex}.notifications-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:720;line-height:var(--type-line-compact)}.notifications-summary small{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:580}.notifications-toolbar{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);flex-direction:column;gap:.75rem;padding:.8rem;display:flex}.notifications-filter-topline{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.notifications-filter-grid{grid-template-columns:minmax(260px,1fr) minmax(190px,.45fr) minmax(220px,.55fr);align-items:center;gap:.7rem;display:grid}.notifications-list-shell{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);overflow:hidden}.notifications-list-meta{min-height:46px;color:var(--crm-text-muted);background:var(--crm-surface-muted);border-bottom:1px solid var(--crm-border-soft);font-size:var(--type-helper);justify-content:space-between;align-items:center;gap:1rem;padding:.68rem .85rem;display:flex}.notifications-list-meta strong{color:var(--crm-text-primary);font-weight:700}.notifications-list{flex-direction:column;display:flex}.notification-center-item{border:0;border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface);width:100%;min-height:104px;color:var(--crm-text-secondary);font:inherit;text-align:left;cursor:pointer;grid-template-columns:42px minmax(0,1fr) 24px;align-items:start;gap:.85rem;padding:.9rem 1rem;transition:background-color .14s,box-shadow .14s;display:grid}.notification-center-item:last-child{border-bottom:0}.notification-center-item:hover{background:var(--crm-surface-muted)}.notification-center-item:focus-visible{z-index:1;outline:2px solid var(--crm-accent);outline-offset:-2px;position:relative}.notification-center-item.is-unread{background:color-mix(in srgb, var(--crm-accent-soft) 48%, var(--crm-surface));box-shadow:inset 3px 0 var(--crm-accent)}.notification-center-icon{width:42px;height:42px;color:var(--crm-text-muted);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:11px;justify-content:center;align-items:center;display:inline-flex}.notification-center-item.is-info .notification-center-icon{color:var(--crm-accent);background:var(--crm-accent-soft);border-color:var(--crm-accent-border)}.notification-center-item.is-success .notification-center-icon{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 8%, transparent);border-color:color-mix(in srgb, var(--crm-success) 18%, transparent)}.notification-center-item.is-warning .notification-center-icon{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 8%, transparent);border-color:color-mix(in srgb, var(--crm-warning) 18%, transparent)}.notification-center-item.is-danger .notification-center-icon{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 8%, transparent);border-color:color-mix(in srgb, var(--crm-danger) 18%, transparent)}.notification-center-content{flex-direction:column;gap:.38rem;min-width:0;display:flex}.notification-center-heading{align-items:center;gap:.5rem;display:flex}.notification-center-heading strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680;line-height:var(--type-line-heading);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notification-center-unread-dot{background:var(--crm-accent);border-radius:50%;flex:0 0 7px;width:7px;height:7px}.notification-center-message{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body)}.notification-center-meta{color:var(--crm-text-muted);font-size:var(--type-helper);flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.notification-center-meta time{margin-left:.15rem}.notification-center-target{color:var(--crm-text-muted);align-self:center}.notifications-loading{flex-direction:column;display:flex}.notifications-loading-row{border-bottom:1px solid var(--crm-border-soft);background:linear-gradient(90deg, var(--crm-surface) 0%, var(--crm-surface-muted) 50%, var(--crm-surface) 100%);background-size:220% 100%;height:104px;animation:1.35s ease-in-out infinite notificationSkeleton}.notifications-list-shell>.crm-state{min-height:300px}@keyframes notificationSkeleton{0%{background-position:100% 0}to{background-position:-100% 0}}@media (width<=900px){.notifications-filter-grid{grid-template-columns:1fr 1fr}.notifications-filter-grid .crm-search-input{grid-column:1/-1}}@media (width<=640px){.notifications-page-header,.notifications-filter-topline,.notifications-list-meta{flex-direction:column;align-items:stretch}.notifications-summary,.notifications-filter-grid{grid-template-columns:1fr}.notification-center-item{grid-template-columns:38px minmax(0,1fr);padding:.82rem}.notification-center-icon{width:38px;height:38px}.notification-center-target{display:none}}.help-page{--help-reading-width:76ch;gap:.9rem}.help-hero{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);grid-template-columns:auto minmax(0,1fr) minmax(260px,390px);align-items:center;gap:.9rem;padding:1.2rem 1.3rem;display:grid}.help-hero-icon,.help-guide-icon{color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);flex:none;justify-content:center;align-items:center;display:inline-flex}.help-hero-icon{border-radius:12px;width:3rem;height:3rem}.help-hero-copy{gap:.4rem;min-width:0;display:grid}.help-hero-kicker{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.help-hero-kicker>span{color:var(--crm-text-muted);font-size:var(--type-body)}.help-hero h1{color:var(--crm-text-primary);font-size:var(--type-page-title);line-height:var(--type-line-heading);margin:0}.help-hero p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:0}.help-search{width:100%;max-width:none}.help-search-summary{min-height:32px;color:var(--crm-text-muted);font-size:var(--type-body);line-height:var(--type-line-body);align-items:center;gap:.28rem;padding:0 .25rem;display:flex}.help-search-summary strong{color:var(--crm-accent-hover)}.help-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.help-navigation{scrollbar-gutter:stable;border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);max-height:calc(100vh - 7.5rem);box-shadow:var(--crm-shadow-soft);gap:1rem;padding:.78rem;display:grid;position:sticky;top:.8rem;overflow-y:auto}.help-navigation-group{gap:.4rem;display:grid}.help-navigation-group h2{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-heading);letter-spacing:.08em;margin:0;padding:0 .45rem}.help-navigation-list{gap:.22rem;display:grid}.help-navigation-item{width:100%;min-height:42px;color:var(--crm-text-secondary);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;outline:0;align-items:center;gap:.55rem;padding:.48rem .55rem;transition:color .14s,background-color .14s,border-color .14s;display:flex}.help-navigation-item>span{width:28px;height:28px;color:var(--crm-text-muted);background:var(--crm-surface-muted);border-radius:7px;flex:none;justify-content:center;align-items:center;display:inline-flex}.help-navigation-item strong{min-width:0;font-size:var(--type-body);font-weight:640;line-height:var(--type-line-compact)}.help-navigation-item:hover{color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-soft)}.help-navigation-item.is-active{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border)}.help-navigation-item.is-active strong{font-weight:700}.help-navigation-item.is-active>span{color:var(--crm-accent-hover);background:var(--crm-surface-elevated)}.help-navigation-item:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.help-content-panel{gap:1rem;min-width:0;scroll-margin-top:.8rem;display:grid}.help-content-panel>.crm-state{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);min-height:360px}.help-quick-start,.help-guide{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft)}.help-quick-start{gap:.85rem;padding:1rem;display:grid}.help-section-heading{gap:.24rem;display:grid}.help-section-heading>span,.help-guide-group{color:var(--crm-accent-hover);font-size:var(--type-badge);letter-spacing:.08em;font-weight:720}.help-section-heading h2{color:var(--crm-text-primary);font-size:var(--type-section-title);line-height:var(--type-line-heading);margin:0}.help-section-heading p{color:var(--crm-text-muted);font-size:var(--type-body);line-height:var(--type-line-heading);margin:0}.help-quick-start-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;display:grid}.help-quick-card{border:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);border-radius:10px;padding:.82rem}.help-quick-card header{align-items:center;gap:.45rem;display:flex}.help-quick-card header>span{width:30px;height:30px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.help-quick-card h3{color:var(--crm-text-primary);font-size:var(--type-card-title);line-height:var(--type-line-heading);margin:0}.help-quick-card ol{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);gap:.46rem;margin:.72rem 0 0;padding-left:1.25rem;display:grid}.help-guide{overflow:hidden}.help-guide-header{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);align-items:center;gap:.7rem;padding:1rem 1.1rem;display:flex}.help-guide-icon{border-radius:10px;width:2.55rem;height:2.55rem}.help-guide-header>div{gap:.12rem;min-width:0;display:grid}.help-guide-header h2{color:var(--crm-text-primary);font-size:var(--type-section-title);line-height:var(--type-line-heading);margin:0}.help-guide-block{border-bottom:1px solid var(--crm-border-soft);padding:1rem 1.1rem}.help-guide-block h3,.help-attention h3,.help-permissions h3{color:var(--crm-text-primary);font-size:var(--type-card-title);line-height:var(--type-line-heading);margin:0}.help-guide-block>p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:.55rem 0 0}.help-steps{gap:.5rem;margin:.7rem 0 0;padding:0;list-style:none;display:grid}.help-steps li{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.58rem;padding:.62rem .68rem;display:grid}.help-steps li>span{width:28px;height:28px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-surface-elevated);font-size:var(--type-badge);border-radius:7px;justify-content:center;align-items:center;font-weight:760;display:inline-flex}.help-steps p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:.08rem 0 0}.help-guide-toc{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);gap:.7rem;padding:.95rem 1.1rem;display:grid}.help-guide-toc>div{color:var(--crm-text-primary);align-items:center;gap:.42rem;display:flex}.help-guide-toc>div svg{color:var(--crm-accent-hover)}.help-guide-toc>div strong{font-size:var(--type-body)}.help-guide-toc ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:.38rem .65rem;margin:0;padding:0;list-style:none;display:grid}.help-guide-toc a{min-height:38px;color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-compact);border:1px solid #0000;border-radius:8px;align-items:center;gap:.5rem;padding:.42rem .5rem;text-decoration:none;transition:color .14s,background-color .14s,border-color .14s;display:flex}.help-guide-toc a:hover{color:var(--crm-text-primary);border-color:var(--crm-border-soft);background:var(--crm-surface-elevated)}.help-guide-toc a:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px}.help-guide-toc a span{width:26px;height:26px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);font-size:var(--type-badge);border-radius:7px;flex:none;justify-content:center;align-items:center;font-weight:760;display:inline-flex}.help-rich-guide{display:grid}.help-rich-section{border-bottom:1px solid var(--crm-border-soft);gap:.9rem;padding:1.1rem;scroll-margin-top:.8rem;display:grid}.help-rich-section>header{max-width:var(--help-reading-width);gap:.28rem;display:grid}.help-rich-section>header>span{color:var(--crm-accent-hover);font-size:var(--type-badge);letter-spacing:.08em;font-weight:750}.help-rich-section>header h3{color:var(--crm-text-primary);font-size:var(--type-card-title);line-height:var(--type-line-heading);margin:0}.help-rich-section>header p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:.12rem 0 0}.help-rich-section-content{gap:.82rem;display:grid}.help-rich-paragraph{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:0}.help-rich-bullets{max-width:var(--help-reading-width);gap:.46rem;margin:0;padding:0;list-style:none;display:grid}.help-rich-bullets li{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);padding-left:1.1rem;position:relative}.help-rich-bullets li:before{content:"";background:var(--crm-accent);border-radius:50%;width:5px;height:5px;position:absolute;top:.58em;left:.14rem}.help-rich-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.help-rich-steps li{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.58rem;min-width:0;padding:.7rem;display:grid}.help-rich-steps li>span{width:28px;height:28px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-surface-elevated);font-size:var(--type-badge);border-radius:7px;justify-content:center;align-items:center;font-weight:760;display:inline-flex}.help-rich-steps li>div{gap:.24rem;min-width:0;display:grid}.help-rich-steps strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-compact)}.help-rich-steps p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);margin:0}.help-rich-table-wrap{border:1px solid var(--crm-border-soft);background:var(--crm-surface);scrollbar-gutter:stable;border-radius:9px;min-width:0;overflow-x:auto}.help-rich-table-caption{color:var(--crm-text-primary);border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);font-size:var(--type-body);margin:0;padding:.62rem .7rem;font-weight:680}.help-rich-table{border-collapse:collapse;width:100%;min-width:560px}.help-rich-table th{color:var(--crm-text-muted);background:var(--crm-surface-muted);font-size:var(--type-badge);letter-spacing:.035em;text-align:left;vertical-align:top;padding:.58rem .65rem;font-weight:720}.help-rich-table td{color:var(--crm-text-secondary);border-top:1px solid var(--crm-border-soft);font-size:var(--type-body);line-height:var(--type-line-body);vertical-align:top;padding:.62rem .65rem}.help-rich-table td:first-child{color:var(--crm-text-primary);font-weight:650}.help-rich-callout{border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:9px;align-items:flex-start;gap:.58rem;padding:.75rem .8rem;display:flex}.help-rich-callout>span{color:var(--crm-accent-hover);margin-top:.02rem}.help-rich-callout>div{gap:.2rem;min-width:0;display:grid}.help-rich-callout strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.help-rich-callout p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:0}.help-rich-callout.is-warning{border-color:color-mix(in srgb, var(--crm-warning) 26%, transparent);background:color-mix(in srgb, var(--crm-warning) 7%, var(--crm-surface))}.help-rich-callout.is-warning>span{color:var(--crm-warning)}.help-rich-callout.is-danger{border-color:color-mix(in srgb, var(--crm-danger) 24%, transparent);background:color-mix(in srgb, var(--crm-danger) 6%, var(--crm-surface))}.help-rich-callout.is-danger>span{color:var(--crm-danger)}.help-rich-callout.is-success{border-color:color-mix(in srgb, var(--crm-success) 24%, transparent);background:color-mix(in srgb, var(--crm-success) 6%, var(--crm-surface))}.help-rich-callout.is-success>span{color:var(--crm-success)}.help-rich-formula{border:1px solid var(--crm-accent-border);background:var(--crm-surface-muted);border-radius:9px;gap:.55rem;padding:.8rem;display:grid}.help-rich-formula>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.help-rich-formula>div{gap:.24rem;display:grid}.help-rich-formula code{color:var(--crm-text-secondary);background:var(--crm-surface-elevated);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--type-code);line-height:var(--type-line-body);white-space:normal;border-radius:7px;padding:.42rem .52rem}.help-rich-formula p{color:var(--crm-accent-hover);font-size:var(--type-body-strong);margin:0;font-weight:700}.help-rich-faq{gap:.45rem;display:grid}.help-rich-faq details{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px}.help-rich-faq summary{color:var(--crm-text-primary);font-size:var(--type-card-title);font-weight:660;line-height:var(--type-line-compact);cursor:pointer;padding:.68rem .75rem}.help-rich-faq summary:focus-visible{outline:2px solid var(--crm-accent);outline-offset:2px;border-radius:8px}.help-rich-faq details[open] summary{border-bottom:1px solid var(--crm-border-soft)}.help-rich-faq p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:0;padding:.68rem .75rem}.help-attention{border:1px solid color-mix(in srgb, var(--crm-warning) 23%, transparent);background:color-mix(in srgb, var(--crm-warning) 7%, var(--crm-surface));border-radius:9px;align-items:flex-start;gap:.6rem;margin:1rem 1.1rem;padding:.78rem .84rem;display:flex}.help-attention>span{color:var(--crm-warning)}.help-attention p{max-width:var(--help-reading-width);color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);margin:.3rem 0 0}.help-permissions{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;gap:.65rem;margin:0 1.1rem 1rem;padding:.82rem;display:grid}.help-permissions-heading{color:var(--crm-text-muted);align-items:center;gap:.42rem;display:flex}.help-permission-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.help-permission-item{border:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);border-radius:8px;align-items:flex-start;gap:.48rem;padding:.58rem .62rem;display:flex}.help-permission-item>span{color:var(--crm-text-muted);margin-top:.05rem}.help-permission-item.is-granted>span{color:var(--crm-success)}.help-permission-item>div{gap:.15rem;min-width:0;display:grid}.help-permission-item strong{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-compact)}.help-permission-item code{color:var(--crm-text-muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--type-badge);line-height:var(--type-line-compact);overflow-wrap:anywhere}.help-guide-actions{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);flex-wrap:wrap;align-items:center;gap:.6rem;padding:.9rem 1.1rem;display:flex}.help-route-denied{min-height:var(--crm-control-md);color:var(--crm-text-muted);border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);font-size:var(--type-body);line-height:var(--type-line-compact);border-radius:9px;align-items:center;gap:.42rem;padding:.52rem .72rem;display:inline-flex}@media (width<=1080px){.help-hero{grid-template-columns:auto minmax(0,1fr)}.help-search{grid-column:1/-1}.help-layout{grid-template-columns:220px minmax(0,1fr)}.help-permission-list,.help-rich-steps{grid-template-columns:1fr}}@media (width<=820px){.help-layout{grid-template-columns:1fr}.help-navigation{max-height:none;position:static}.help-navigation-list{grid-template-columns:repeat(2,minmax(0,1fr))}.help-guide-toc ol{grid-template-columns:1fr}}@media (width<=600px){.help-hero{grid-template-columns:1fr;align-items:start}.help-hero-icon{display:none}.help-navigation-list,.help-quick-start-grid{grid-template-columns:1fr}.help-rich-section{padding:.82rem}.help-guide-toc{padding:.75rem .82rem}.help-guide-actions .crm-button,.help-route-denied{justify-content:center;width:100%}}.customer-create-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.customer-create-loading{gap:var(--crm-space-3);min-height:150px;display:grid}.customer-identity-conflict{align-items:flex-start;gap:var(--crm-space-3);padding:var(--crm-space-4);color:var(--crm-text-primary);background:color-mix(in srgb, var(--crm-warning) 9%, var(--crm-surface));border:1px solid color-mix(in srgb, var(--crm-warning) 32%, var(--crm-border));border-radius:var(--crm-radius-md);display:flex}.customer-identity-conflict>svg{color:var(--crm-warning);flex:none;margin-top:2px}.customer-identity-conflict strong,.customer-identity-conflict p{margin:0;display:block}.customer-identity-conflict p,.customer-identity-conflict ul{margin-top:var(--crm-space-1);color:var(--crm-text-secondary);font-size:var(--type-badge);line-height:var(--type-line-body)}.customer-identity-conflict ul{margin-bottom:0;padding-left:18px}@media (width<=680px){.customer-create-grid{grid-template-columns:minmax(0,1fr)}}.customers-page,.customer-detail-page{flex-direction:column;display:flex}.customers-page{gap:1.15rem}.customers-page-header{margin-bottom:.25rem}.customers-toolbar-left{min-width:0}.customers-search-input{flex:340px;min-width:220px}.customers-tag-filter-wrapper{flex-shrink:0;width:190px}.customers-tag-filter-wrapper .crm-select-trigger{width:100%}.customers-clear-filters-btn{color:var(--crm-text-muted);font-size:var(--type-button);font-weight:600}.customers-clear-filters-btn:hover{color:var(--crm-danger)}.customers-table-shell{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);overflow:hidden}.customers-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:1120px}.customers-col-identity{width:28%}.customers-col-phone{width:14%}.customers-col-product{width:13%}.customers-col-created{width:11%}.customers-col-last-call{width:14%}.customers-col-status{width:7%}.customers-col-actions{width:13%}.customers-table thead th{background:var(--crm-surface-muted);color:var(--crm-text-secondary);font-size:var(--type-table-header);letter-spacing:.035em;text-transform:uppercase;border-bottom:1px solid var(--crm-border);white-space:nowrap;-webkit-user-select:none;user-select:none;padding:.85rem 1rem;font-weight:700}.customers-table tbody td{box-sizing:border-box;border-bottom:1px solid var(--crm-border-soft);vertical-align:middle;height:72px;font-size:var(--type-table-body);white-space:nowrap;padding:.7rem 1rem}.customers-table-row{transition:background-color .12s}.customers-status-heading,.customers-status-cell{text-align:center}.customers-actions-heading,.customers-actions-cell{text-align:right}.customers-table-row:hover{background-color:color-mix(in srgb, var(--crm-accent) 3.5%, var(--crm-surface-muted))}.customers-table-row:last-child td{border-bottom:0}.customer-row-identity{align-items:center;gap:.85rem;min-width:0;display:flex}.customer-avatar-tile{background:var(--crm-accent-soft);width:40px;min-width:40px;height:40px;min-height:40px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.customer-identity-copy{flex-direction:column;flex:auto;gap:.2rem;min-width:0;display:flex}.customer-name-row{align-items:center;min-width:0;display:flex}.customer-name-link{color:var(--crm-text-primary);font:inherit;font-size:var(--type-body-strong);cursor:pointer;text-align:left;font-weight:750;line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;align-items:center;padding:0;transition:color .12s;display:inline-flex;overflow:hidden}.customer-identity-meta-row{align-items:center;gap:.55rem;min-width:0;display:flex}.customer-name-link:hover{color:var(--crm-accent-hover);text-underline-offset:2px;text-decoration:underline}.customer-chips-inline{flex:none;align-items:center;gap:.25rem;max-width:42%;display:inline-flex;overflow:hidden}.customer-mini-chip{font-size:var(--type-badge);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);color:var(--crm-text-secondary);font-weight:650;line-height:var(--type-line-control);border-radius:6px;align-items:center;padding:.1rem .45rem;display:inline-flex}.customer-mini-chip.is-muted{color:var(--crm-text-muted)}.customer-subline{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:.35rem;min-width:0;display:flex;overflow:hidden}.customer-subline>span{text-overflow:ellipsis;overflow:hidden}.customer-subline-sep{opacity:.45}.customer-phone-col{flex-wrap:wrap;align-items:center;gap:.45rem;min-width:0;display:flex}.customer-phone-number{color:var(--crm-text-primary);font-size:var(--type-body);letter-spacing:-.01em;text-overflow:ellipsis;font-weight:650;overflow:hidden}.customer-phone-badge{font-size:var(--type-badge);font-weight:650;line-height:var(--type-line-control);border-radius:6px;align-items:center;padding:.1rem .45rem;display:inline-flex}.customer-phone-badge.is-masked{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);color:var(--crm-text-secondary)}.customer-phone-badge.is-danger{background:color-mix(in srgb, var(--crm-danger) 12%, transparent);border:1px solid color-mix(in srgb, var(--crm-danger) 25%, transparent);color:var(--crm-danger)}.customer-phone-badge.is-warning{background:color-mix(in srgb, var(--crm-warning) 12%, transparent);border:1px solid color-mix(in srgb, var(--crm-warning) 25%, transparent);color:var(--crm-warning)}.customer-products-col{align-items:center;min-width:0;display:flex;overflow:hidden}.customer-product-chips{flex-wrap:nowrap;align-items:center;gap:.3rem;min-width:0;display:flex;overflow:hidden}.customer-product-chip{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);color:var(--crm-text-secondary);font-size:var(--type-badge);white-space:nowrap;border-radius:6px;align-items:center;padding:.15rem .5rem;font-weight:600;display:inline-flex}.customer-product-chip.is-more{color:var(--crm-text-muted);font-weight:700}.customer-cell-empty{color:var(--crm-text-muted);font-size:var(--type-body)}.customer-date-text{color:var(--crm-text-secondary);font-size:var(--type-helper);white-space:nowrap;font-weight:550}.customer-row-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.customer-detail-action{min-width:0;padding-inline:.72rem}.customer-more-action{width:34px;min-width:34px;padding-inline:0}.customer-detail-page{gap:.8rem}.customer-detail-loading{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);align-content:start;gap:.8rem;min-height:280px;padding:1.2rem;display:grid}.customer-detail-stack{gap:1rem;display:grid}.customer-overview-card{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);position:relative;overflow:hidden}.customer-overview-card .customer-hero{border:0;border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);box-shadow:none;border-radius:0}.customer-overview-summary{box-shadow:none;border:0;border-radius:0}.customer-section-nav{z-index:12;border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:color-mix(in srgb, var(--crm-surface-elevated) 94%, transparent);min-width:0;box-shadow:var(--crm-shadow-soft);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:none;align-items:center;gap:.28rem;padding:.38rem;display:flex;position:sticky;top:.75rem;overflow-x:auto}.customer-section-nav::-webkit-scrollbar{display:none}.customer-section-nav button{min-height:34px;color:var(--crm-text-secondary);border-radius:var(--crm-radius-sm);font:inherit;font-size:var(--type-helper);cursor:pointer;transition:color var(--crm-transition-fast), background-color var(--crm-transition-fast);background:0 0;border:0;flex:none;justify-content:center;align-items:center;gap:.4rem;padding:.42rem .7rem;font-weight:680;display:inline-flex}.customer-section-nav button:hover,.customer-section-nav button:focus-visible{color:var(--crm-accent-hover);background:var(--crm-accent-soft);outline:0}.customer-section-nav button>span{min-width:20px;height:20px;color:var(--crm-text-muted);border:1px solid var(--crm-border-soft);background:var(--crm-surface);font-size:var(--type-badge);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:0 .32rem;display:inline-flex}.customer-section-anchor{min-width:0;scroll-margin-top:76px;position:relative}.customer-overview-card.is-section-highlighted:after,.customer-section-anchor.is-section-highlighted:after{content:"";z-index:4;pointer-events:none;border:2px solid #0000;border-radius:16px;animation:1.4s ease-out customer-section-highlight;position:absolute;inset:-3px}.customer-overview-card.is-section-highlighted:after{border-radius:inherit;inset:0}@keyframes customer-section-highlight{0%{opacity:0;box-shadow:0 0 0 0 color-mix(in srgb, var(--crm-accent) 0%, transparent);border-color:#0000}22%{opacity:1;border-color:color-mix(in srgb, var(--crm-accent) 58%, transparent);box-shadow:0 0 0 5px color-mix(in srgb, var(--crm-accent) 12%, transparent)}62%{opacity:.72;border-color:color-mix(in srgb, var(--crm-accent) 34%, transparent);box-shadow:0 0 0 8px color-mix(in srgb, var(--crm-accent) 4%, transparent)}to{opacity:0;border-color:#0000;box-shadow:0 0 0 10px #0000}}@media (prefers-reduced-motion:reduce){.customer-overview-card.is-section-highlighted:after,.customer-section-anchor.is-section-highlighted:after{opacity:1;border-color:color-mix(in srgb, var(--crm-accent) 42%, transparent);box-shadow:0 0 0 4px color-mix(in srgb, var(--crm-accent) 8%, transparent);animation:none}}.customer-hero{border:1px solid color-mix(in srgb, var(--crm-accent) 16%, var(--crm-border));border-radius:var(--crm-radius-md);background:linear-gradient(135deg, var(--crm-surface-elevated) 0%, color-mix(in srgb, var(--crm-accent-soft) 35%, var(--crm-surface)) 100%);box-shadow:var(--crm-shadow-soft);justify-content:space-between;align-items:center;gap:1.25rem;padding:1.15rem 1.35rem;display:flex}.customer-hero-left{flex:auto;align-items:center;gap:1.1rem;min-width:0;display:flex}.customer-hero-avatar{width:54px;min-width:54px;height:54px;min-height:54px;color:var(--crm-primary);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:14px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-hero-copy{flex-direction:column;gap:.32rem;min-width:0;display:flex}.customer-hero-title-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.customer-hero-title-row h2{color:var(--crm-text-primary);font-size:var(--type-section-title);font-weight:700;line-height:var(--type-line-heading);letter-spacing:-.02em;margin:0}.customer-hero-status-badge,.customer-hero-type-badge{min-height:22px;font-size:var(--type-badge);border-radius:999px;padding:.15rem .52rem;font-weight:600}.customer-hero-meta{color:var(--crm-text-secondary);font-size:var(--type-helper);font-weight:500;line-height:var(--type-line-compact);flex-wrap:wrap;align-items:center;gap:.45rem;margin:0;display:flex}.customer-hero-meta-sep{color:var(--crm-text-muted);font-weight:700}.customer-hero-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:.55rem;margin-left:auto;display:flex}.customer-hero-more{justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-flex}.customer-profile-history-button{box-shadow:var(--crm-shadow-soft)}.customer-section-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:.78rem;display:grid}.customer-section-card{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);min-width:0;box-shadow:var(--crm-shadow-soft);flex-direction:column;padding:.86rem;display:flex}.customer-section-card>header{border-bottom:1px solid var(--crm-border-soft);align-items:center;gap:.52rem;margin-bottom:.68rem;padding-bottom:.6rem;display:flex}.customer-section-card>header>span,.customer-contact-icon{width:1.86rem;height:1.86rem;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-section-card h3{color:var(--crm-text-primary);font-size:var(--type-card-title);margin:0}.customer-section-card header p{color:var(--crm-text-muted);font-size:var(--type-badge);margin:.12rem 0 0}.customer-card-action{flex:none;margin-left:auto}.customer-section-card dl{gap:0;margin:0;display:grid}.customer-section-card dl>div{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:minmax(82px,.72fr) minmax(0,1fr);align-items:center;gap:.42rem;min-height:34px;padding:.38rem 0;display:grid}.customer-section-card dl>div:last-child{border-bottom:0}.customer-section-card dt{color:var(--crm-text-muted);font-size:var(--type-badge)}.customer-section-card dd{color:var(--crm-text-primary);font-size:var(--type-badge);overflow-wrap:anywhere;margin:0;font-weight:610}.customer-owner-value{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.customer-owner-transfer-button{width:100%;margin-top:auto}.customer-contact-list{gap:.62rem;display:grid}.customer-contact-list>div{align-items:flex-start;gap:.58rem;display:flex}.customer-contact-list>.customer-card-empty{display:block}.customer-contact-list>div>div{gap:.15rem;min-width:0;display:grid}.customer-contact-list small{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-contact-list strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);overflow-wrap:anywhere}.customer-contact-list div>span{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.customer-contact-reveal-button{width:100%;margin-top:auto}.customer-contact-revealed-badge{align-self:flex-start;margin-top:auto}.customer-contact-reveal-textarea{resize:none}.customer-detail-products{flex-wrap:wrap;gap:.4rem;display:flex}.customer-history-card>p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body)}.customer-detail-products .customer-card-empty{width:100%}.customer-card-empty .crm-state{gap:.28rem;min-height:142px;padding:.75rem .35rem}.customer-card-empty .crm-state-icon{border-radius:10px;width:38px;height:38px;margin-bottom:.15rem}.customer-card-empty .crm-state strong{font-size:var(--type-body-strong)}.customer-card-empty .crm-state p{font-size:var(--type-helper);margin-bottom:0}.customer-history-card>p{margin:.52rem 0 .72rem}.customer-history-card>.crm-button{align-self:flex-start;margin-top:auto}.customer-history-summary{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;gap:.12rem;padding:.55rem .62rem;display:grid}.customer-history-summary span{color:var(--crm-text-muted);font-size:var(--type-badge)}.customer-history-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:660}.customer-tags-shell{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.1rem;display:flex}.customer-tag-list{flex-wrap:wrap;align-items:center;gap:.32rem;display:flex}.customer-tag-chip{min-height:24px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);font-size:var(--type-badge);font-weight:600;line-height:var(--type-line-control);transition:background-color var(--crm-transition-fast), border-color var(--crm-transition-fast);border-radius:999px;align-items:center;gap:.28rem;padding:.12rem .55rem;display:inline-flex}.customer-tag-remove{width:14px;height:14px;color:inherit;cursor:pointer;opacity:0;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;margin-right:-.18rem;padding:0;transition:opacity .12s,background-color .12s;display:inline-flex}.customer-tag-chip:hover .customer-tag-remove,.customer-tag-chip:focus-within .customer-tag-remove{opacity:.75}.customer-tag-remove:hover{background:color-mix(in srgb, var(--crm-accent-hover) 20%, transparent);opacity:1!important}.customer-tag-add-button{border:1px dashed var(--crm-border-strong);min-height:24px;color:var(--crm-text-secondary);font:inherit;font-size:var(--type-button);font-weight:600;line-height:var(--type-line-control);cursor:pointer;transition:all var(--crm-transition-fast);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:.25rem;padding:.12rem .55rem;display:inline-flex}.customer-tag-add-button:hover{color:var(--crm-accent-hover);border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.customer-tag-overflow{min-height:24px;color:var(--crm-text-secondary);border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);font-size:var(--type-badge);font-weight:600;line-height:var(--type-line-compact);border-radius:999px;align-items:center;padding:.12rem .52rem;display:inline-flex}.customer-tags-empty{color:var(--crm-text-muted);font-size:var(--type-badge)}.customer-tag-popover{gap:.65rem;display:grid}.customer-tag-popover-header{gap:.12rem;display:grid}.customer-tag-popover-header strong{color:var(--crm-text-primary);font-size:var(--type-badge)}.customer-tag-popover-header span,.customer-tag-option-state{color:var(--crm-text-muted);font-size:var(--type-badge)}.customer-tag-popover .crm-search-input{width:100%}.customer-tag-options{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;gap:.18rem;max-height:188px;padding:.22rem;display:grid;overflow-y:auto}.customer-tag-options .crm-choice-label{border-radius:7px;padding:.38rem .42rem}.customer-tag-options .crm-choice-label:hover{background:var(--crm-surface-strong)}.customer-tag-option-state{text-align:center;padding:.65rem}.customer-tag-create{border-top:1px solid var(--crm-border-soft);padding-top:.62rem}.customer-tag-create-row{grid-template-columns:minmax(0,1fr) auto;gap:.42rem;display:grid}.customer-notes-card{width:100%}.customer-notes-header>div{min-width:0}.customer-note-add-button{flex:none;margin-left:auto}.customer-note-create{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:10px;margin-bottom:.9rem;padding:.78rem}.customer-note-textarea{resize:none}.customer-note-create-actions{justify-content:flex-end;gap:.42rem;margin-top:.52rem;display:flex}.customer-note-list{gap:.62rem;display:grid}.customer-note-item{border:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);border-radius:10px;padding:.78rem .84rem .78rem 1rem;position:relative}.customer-note-item:before{content:"";background:var(--crm-accent-border);border-radius:0 3px 3px 0;width:3px;position:absolute;inset:.65rem auto .65rem 0}.customer-note-item>header{border:0;justify-content:space-between;align-items:flex-start;gap:.65rem;margin:0 0 .58rem;padding:0;display:flex}.customer-note-item>header>div{min-width:0}.customer-note-author{align-items:center;gap:.48rem;display:flex}.customer-note-author>span{width:1.8rem;height:1.8rem;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-note-author>div{gap:.1rem;min-width:0;display:grid}.customer-note-item strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-note-item time,.customer-note-item small{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-note-item p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-relaxed);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.customer-note-item>small{margin-top:.5rem;display:block}.customer-contact-editor{gap:.85rem;display:grid}.customer-contact-editor-section{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:10px;gap:.7rem;padding:.78rem;display:grid}.customer-contact-editor-heading{justify-content:space-between;align-items:flex-start;gap:.72rem;display:flex}.customer-contact-editor-heading>div{gap:.18rem;min-width:0;display:grid}.customer-contact-editor-heading strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-contact-editor-heading span{color:var(--crm-text-muted);font-size:var(--type-badge);flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.customer-contact-editor-actions{justify-content:flex-end;gap:.42rem;display:flex}.customer-contact-editor-phones{gap:.42rem;display:grid}.customer-contact-editor-phone{border:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);border-radius:9px;justify-content:space-between;align-items:center;gap:.65rem;padding:.58rem .62rem;display:flex}.customer-contact-editor-phone>div:first-child{gap:.22rem;min-width:0;display:grid}.customer-contact-editor-phone>div:first-child>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);overflow-wrap:anywhere}.customer-contact-editor-phone>div:first-child>span,.customer-contact-editor-phone>div:last-child{flex-wrap:wrap;align-items:center;gap:.28rem;display:flex}.customer-contact-editor-phone-actions{justify-content:flex-end}.customer-phone-editor-form{border-top:1px solid var(--crm-border-soft);gap:.62rem;padding-top:.7rem;display:grid}.customer-profile-history{gap:.62rem;display:grid}.customer-profile-history-item{border:1px solid var(--crm-border-soft);background:var(--crm-surface-elevated);border-radius:10px;gap:.58rem;padding:.72rem .78rem;display:grid}.customer-profile-history-item>header{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.customer-profile-history-item>header>div{flex-wrap:wrap;align-items:center;gap:.38rem;display:flex}.customer-profile-history-item>header strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-profile-history-item time,.customer-profile-history-item footer{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-profile-history-values{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.55rem;display:grid}.customer-profile-history-values>span{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:8px;gap:.12rem;min-width:0;padding:.5rem .58rem;display:grid}.customer-profile-history-values small{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-profile-history-values strong{color:var(--crm-text-secondary);font-size:var(--type-body-strong);overflow-wrap:anywhere}.customer-profile-history-values>svg{color:var(--crm-text-muted)}.customer-profile-history-reason{border-left:3px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:0 8px 8px 0;padding:.55rem .62rem}.customer-profile-history-reason small{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-profile-history-reason p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);white-space:pre-wrap;overflow-wrap:anywhere;margin:.18rem 0 0}.customer-owner-transfer-loading{gap:.62rem;display:grid}.customer-owner-transfer-current{border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:9px;gap:.14rem;padding:.62rem .68rem;display:grid}.customer-owner-transfer-current small{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-owner-transfer-current strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-owner-transfer-reason{resize:none}@media (width<=1180px){.customer-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.customer-section-grid{grid-template-columns:1fr}.customers-toolbar{align-items:stretch}.customers-toolbar .crm-search-input,.customers-tag-filter{flex-basis:100%;width:100%;max-width:none}.customer-hero{flex-wrap:wrap;align-items:flex-start}.customer-hero-actions{width:100%;margin-left:0}.customer-profile-history-button{width:100%}.customer-section-card dl>div{grid-template-columns:1fr;gap:.18rem}.customer-tag-create-row{grid-template-columns:1fr}.customer-note-item>header{align-items:flex-start}.customer-notes-header{flex-wrap:wrap}.customer-note-add-button{width:100%;margin-left:0}.customer-contact-editor-heading,.customer-contact-editor-phone{flex-direction:column;align-items:stretch}.customer-contact-editor-heading>.crm-button,.customer-contact-editor-phone>div:last-child .crm-button{flex:auto}.customer-profile-history-values{grid-template-columns:1fr}.customer-profile-history-values>svg{display:none}}.customer-phone-cell>span:first-child,.customer-contact-list strong,.customer-section-card dd,.customer-history-summary strong,.customer-note-item strong,.customer-contact-editor-phone>div:first-child>strong,.customer-owner-transfer-current strong{font-size:var(--type-body-strong)}.customer-product-list>span,.customer-section-card dt,.customer-history-card>p,.customer-note-item p,.customer-profile-history-values strong,.customer-profile-history-reason p{font-size:var(--type-body-strong);line-height:var(--type-line-body)}.customer-hero-copy h2{font-size:var(--type-section-title);font-weight:700}.customer-hero-copy p span{font-size:var(--type-helper);line-height:var(--type-line-body)}.customer-section-card h3{font-size:var(--type-card-title)}.customer-section-card header p,.customer-card-empty .crm-state p,.customer-contact-editor-heading span,.customer-tag-popover-header span,.customer-tag-option-state{font-size:var(--type-badge);line-height:var(--type-line-heading)}.customer-section-card dl>div{min-height:38px}.customer-contact-list small,.customer-history-summary span,.customer-note-item time,.customer-note-item small,.customer-profile-history-item time,.customer-profile-history-item footer,.customer-profile-history-values small,.customer-profile-history-reason small,.customer-owner-transfer-current small{font-size:var(--type-helper);line-height:var(--type-line-compact)}.customer-card-empty .crm-state strong,.customer-tag-popover-header strong,.customer-contact-editor-heading strong,.customer-profile-history-item>header strong,.customer-tag-chip,.customer-tag-overflow,.customer-tags-empty,.customer-tag-option-state{font-size:var(--type-badge)}.customer-detail-page{--customer-cyan:#0891b2;--customer-purple:#7c3aed;--customer-indigo:#4f46e5}[data-theme=dark] .customer-detail-page{--customer-cyan:#67e8f9;--customer-purple:#c4b5fd;--customer-indigo:#a5b4fc}.customer-kpi-strip{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);grid-template-columns:repeat(5,minmax(0,1fr));min-height:76px;display:grid;overflow:hidden}.customer-kpi-strip article{border-right:1px solid var(--crm-border-soft);align-items:center;gap:.62rem;min-width:0;padding:1rem 1.15rem;display:flex}.customer-kpi-strip article:last-child{border-right:0}.customer-kpi-strip article{background:0 0}.customer-kpi-strip article:first-child>span{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 11%, transparent)}.customer-kpi-strip article:nth-child(3)>span{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 11%, transparent)}.customer-kpi-strip article:nth-child(4)>span{color:var(--customer-indigo);background:color-mix(in srgb, var(--customer-indigo) 10%, transparent)}.customer-kpi-strip article:nth-child(5)>span{color:var(--customer-purple);background:color-mix(in srgb, var(--customer-purple) 10%, transparent)}.customer-kpi-strip article>span{width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-kpi-strip article>div{gap:.12rem;min-width:0;display:grid}.customer-kpi-strip small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact)}.customer-kpi-strip strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-cockpit-grid{grid-template-columns:minmax(0,8fr) minmax(290px,4fr);align-items:start;gap:1rem;display:grid}.customer-cockpit-main,.customer-cockpit-rail{align-content:start;gap:1rem;min-width:0;display:grid}.customer-cockpit-rail{align-self:start;position:sticky;top:4.75rem}.customer-cockpit-main>.policy-wide-section{margin-top:0}.customer-hero,.customer-kpi-strip,.customer-policies-section,.customer-cockpit-grid .customer-section-card{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft)}.customer-cockpit-grid .customer-section-card{padding:1.15rem}.customer-cockpit-rail .customer-section-card,.customer-activity-card,.customer-notes-card{box-shadow:var(--crm-shadow-soft);transition:border-color var(--crm-transition-fast), background-color var(--crm-transition-fast)}.customer-cockpit-rail .customer-section-card:hover,.customer-activity-card:hover,.customer-notes-card:hover,.customer-cockpit-rail .customer-section-card:focus-within,.customer-activity-card:focus-within,.customer-notes-card:focus-within{border-color:color-mix(in srgb, var(--crm-accent) 24%, var(--crm-border))}.customer-cockpit-rail .customer-section-card{padding:1.15rem}.customer-cockpit-rail .customer-section-card>header,.customer-activity-card>header,.customer-notes-card>header{margin-bottom:.58rem;padding-bottom:.58rem}.customer-compact-empty{width:100%;min-height:56px;color:var(--crm-text-muted);border:1px dashed var(--crm-border-soft);background:var(--crm-surface-muted);font-size:var(--type-helper);border-radius:9px;justify-content:center;align-items:center;gap:.48rem;padding:.65rem;display:flex}.customer-activity-card{background:var(--crm-surface);padding-bottom:.42rem}.customer-activity-card>header>span{color:var(--customer-indigo);background:color-mix(in srgb, var(--customer-indigo) 11%, transparent)}.customer-activity-list{display:grid}.customer-activity-list>article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:32px minmax(0,1fr);gap:.62rem;min-height:64px;padding:.62rem .12rem;display:grid}.customer-activity-list>article:last-child{border-bottom:0}.customer-activity-list>article>span{width:30px;height:30px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.customer-activity-list>article>span.is-success{color:var(--crm-success)}.customer-activity-list>article>span.is-warning{color:var(--crm-warning)}.customer-activity-list>article>span.is-danger{color:var(--crm-danger)}.customer-activity-list article>div{min-width:0}.customer-activity-list strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-activity-list p{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-body);text-overflow:ellipsis;white-space:nowrap;margin:.18rem 0 0;overflow:hidden}.customer-activity-list small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact);margin-top:.2rem;display:block}.customer-activity-card>footer{justify-content:flex-end;padding-top:.38rem;display:flex}.customer-info-card dl>div{grid-template-columns:minmax(104px,.8fr) minmax(0,1fr)}.customer-info-card,.customer-contact-card{background:var(--crm-surface)}.customer-contact-card>header>span,.customer-contact-card .customer-contact-icon{color:var(--customer-cyan);background:color-mix(in srgb, var(--customer-cyan) 11%, transparent)}.customer-contact-card .customer-contact-list{gap:.72rem}.customer-contact-card .customer-contact-reveal-button{align-self:flex-start;width:auto;margin-top:.78rem}.customer-contact-card .customer-contact-revealed-badge{margin-top:.72rem}.customer-quick-actions>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.customer-quick-actions>div .crm-button{justify-content:flex-start;width:100%;min-width:0}.customer-quick-actions>div .crm-button:first-child{grid-column:1/-1}.customer-products-card .customer-detail-products{align-items:flex-start;min-height:32px}.customer-products-card,.customer-notes-card{background:var(--crm-surface)}.customer-notes-card>header>span,.customer-note-author>span{color:var(--customer-purple);background:color-mix(in srgb, var(--customer-purple) 10%, transparent)}.customer-notes-card>.customer-note-list>.crm-state{background:0 0;min-height:76px;padding-block:.6rem}.customer-note-item{padding-block:.7rem}.customer-policies-section{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);transition:border-color var(--crm-transition-fast);overflow:hidden}.customer-policies-section>header{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 1.35rem;display:flex}.customer-policies-section:hover,.customer-policies-section:focus-within{border-color:color-mix(in srgb, var(--crm-accent) 24%, var(--crm-border))}.customer-policy-heading{align-items:center;gap:.75rem;display:flex}.customer-policy-heading>div{min-width:0}.customer-policy-heading h3{font-size:var(--type-card-title);color:var(--crm-text-primary);align-items:center;gap:.5rem;margin:0;font-weight:700;display:flex}.customer-policy-heading p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:.18rem 0 0}.customer-section-icon{width:36px;height:36px;color:var(--crm-primary);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-section-count{min-width:22px;min-height:20px;color:var(--crm-text-secondary);border:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);font-size:var(--type-body-strong);border-radius:999px;justify-content:center;align-items:center;padding:.1rem .45rem;font-weight:600;display:inline-flex}.customer-policy-list{flex-direction:column;width:100%;display:flex}.customer-policy-row-shell{box-sizing:border-box;border-bottom:1px solid var(--crm-border-soft);width:100%;min-height:76px;transition:background-color var(--crm-transition-fast);background:0 0;grid-template-columns:minmax(0,2.4fr) minmax(170px,1.5fr) minmax(110px,.9fr) minmax(85px,.7fr) auto;align-items:center;gap:1.25rem;padding:.95rem 1.35rem;display:grid}.customer-policy-row-shell:last-child{border-bottom:0}.customer-policy-row-shell:hover{background:color-mix(in srgb, var(--crm-primary) 3.5%, var(--crm-surface))}.customer-policy-row-shell.is-renewal-warning{box-shadow:inset 3px 0 color-mix(in srgb, var(--crm-warning) 78%, var(--crm-border));background:color-mix(in srgb, var(--crm-warning) 3%, var(--crm-surface))}.customer-policy-row-shell.is-renewal-danger{box-shadow:inset 3px 0 var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 3%, var(--crm-surface))}.customer-policy-compact-empty{min-height:76px;color:var(--crm-text-muted);justify-content:center;align-items:center;gap:.65rem;padding:.85rem 1.35rem;display:flex}.customer-policy-compact-empty>svg{color:var(--crm-accent-hover);flex:none}.customer-policy-compact-empty>div{gap:.12rem;min-width:0;display:grid}.customer-policy-compact-empty strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.customer-policy-compact-empty span{color:var(--crm-text-muted);font-size:var(--type-helper)}.customer-policy-identity{grid-template-columns:36px minmax(0,1fr);align-items:center;gap:.75rem;min-width:0;display:grid}.customer-policy-icon{width:36px;height:36px;color:var(--crm-primary);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.customer-policy-main{flex-direction:column;gap:.2rem;min-width:0;display:flex}.customer-policy-main strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.customer-policy-main small{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-policy-premium-inline{font-weight:550;color:var(--crm-text-secondary)!important}.customer-policy-dates,.customer-policy-remaining,.customer-policy-statuses{flex-direction:column;align-items:flex-start;gap:.26rem;min-width:0;display:flex}.customer-policy-dates small,.customer-policy-remaining small,.customer-policy-statuses small{color:var(--crm-text-muted);font-size:var(--type-helper);letter-spacing:.02em;text-transform:uppercase;font-weight:600;line-height:var(--type-line-compact)}.customer-policy-dates strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.customer-policy-actions{flex:none;justify-content:flex-end;align-items:center;gap:.4rem;margin-left:auto;display:flex}.customer-policy-overflow{border-top:1px solid var(--crm-border-soft);color:var(--crm-text-muted);font-size:var(--type-helper);text-align:center;margin:0;padding:.8rem 1.35rem}@media (width<=1240px){.customer-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-kpi-strip article:nth-child(3){border-right:0}.customer-kpi-strip article:nth-child(n+4){border-top:1px solid var(--crm-border-soft)}.customer-policy-row-shell{grid-template-columns:minmax(0,2.2fr) minmax(160px,1.4fr) minmax(105px,.9fr) minmax(80px,.7fr) auto;gap:1rem;padding:.85rem 1.15rem}}@media (width<=980px){.customer-cockpit-grid{grid-template-columns:1fr}.customer-cockpit-rail{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.customer-policy-row-shell{grid-template-columns:minmax(0,2fr) minmax(150px,1.3fr) minmax(100px,.85fr) minmax(75px,.7fr) auto;gap:.85rem}}@media (width<=760px){.customer-policy-row-shell{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem 1rem}.customer-policy-identity{grid-column:1/2}.customer-policy-actions{grid-area:1/2/auto/3;justify-content:flex-end}.customer-policy-dates{flex-direction:row;grid-column:1/-1;align-items:center;gap:.6rem}.customer-policy-remaining{flex-direction:row;grid-column:1/2;align-items:center;gap:.5rem}.customer-policy-statuses{flex-direction:row;grid-column:2/3;justify-content:flex-end;align-items:center;gap:.5rem}}@media (width<=920px){.customer-hero{flex-direction:column;align-items:flex-start;gap:1rem}.customer-hero-left{width:100%}.customer-hero-actions{justify-content:flex-start;width:100%;max-width:none}}@media (width<=700px){.customer-hero-actions{justify-content:flex-start;max-width:none}.customer-hero-actions .crm-button:not(.customer-hero-more){flex:auto}.customer-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-kpi-strip article,.customer-kpi-strip article:nth-child(3){border-right:0;border-bottom:1px solid var(--crm-border-soft)}.customer-kpi-strip article:nth-child(odd){border-right:1px solid var(--crm-border-soft)}.customer-kpi-strip article:last-child{border-bottom:0}.customer-cockpit-rail{grid-template-columns:1fr}.customer-section-nav{margin-inline:-.15rem;top:.45rem}.customer-section-nav button{padding-inline:.58rem}.customer-quick-actions>div{grid-template-columns:1fr}.customer-quick-actions>div .crm-button:first-child{grid-column:auto}.customer-quick-actions>div .crm-button{width:100%}.customer-info-card dl>div{grid-template-columns:1fr}.customer-activity-list p{white-space:normal}}@media (width<=580px){.customer-hero-left{flex-direction:column;align-items:flex-start;gap:.75rem}}@media (width<=520px){.customer-policies-section>header{flex-direction:column;align-items:flex-start;gap:.75rem}.customer-policies-section>header .crm-button{justify-content:center;width:100%}.customer-policy-row-shell{grid-template-columns:1fr;gap:.65rem}.customer-policy-identity{grid-column:1/-1}.customer-policy-dates,.customer-policy-remaining,.customer-policy-statuses{flex-direction:row;grid-column:1/-1;justify-content:space-between;align-items:center}.customer-policy-actions{grid-column:1/-1;justify-content:stretch;padding-top:.25rem}.customer-policy-actions .crm-button{flex:auto;justify-content:center}}@media (width<=680px){.customers-toolbar-left{flex-direction:column;align-items:stretch;width:100%}.customers-search-input,.customers-tag-filter-wrapper{width:100%}}.policy-toolbar>.crm-search-input{flex:0 340px;width:340px;min-width:300px;max-width:360px;height:42px;margin:0}.policy-filter-control{flex:0 170px;min-width:150px}.policy-filter-control.is-insurer,.policy-filter-control.is-product,.policy-filter-control.is-status{flex-basis:170px}.policy-filter-control.is-employee{flex-basis:190px}.policy-filter-control .crm-select-trigger{width:100%;min-width:0}.policy-date-filter-trigger{flex:0 auto;justify-content:flex-start;min-width:126px;max-width:176px}.policy-date-filter-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.policy-date-filter-trigger.is-active{color:var(--crm-accent-hover);border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.policy-date-filter-trigger[data-state=open]{border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring)}.policy-clear-filters{min-width:max-content;color:var(--crm-text-muted)}.policy-date-filter-popover{width:min(370px,100vw - 24px);padding:0;overflow:visible}.policy-date-filter-heading{border-bottom:1px solid var(--crm-border-soft);gap:.2rem;padding:.78rem .82rem .68rem;display:grid}.policy-date-filter-heading strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-date-filter-heading span{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-heading)}.policy-date-filter-fields{gap:.68rem;padding:.75rem .82rem;display:grid}.policy-date-filter-fields label{gap:.32rem;min-width:0;display:grid}.policy-date-filter-fields label>span{color:var(--crm-text-secondary);font-size:var(--type-label);font-weight:650}.policy-date-filter-fields .crm-date-trigger{width:100%}.policy-date-filter-footer{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);border-radius:0 0 12px 12px;justify-content:flex-end;padding:.5rem .7rem;display:flex}.policy-table{min-width:1380px}.policy-number-link{color:var(--crm-accent-hover);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.policy-number-link:hover{text-underline-offset:3px;text-decoration:underline}.policy-premium-cell{white-space:nowrap;color:var(--crm-text-primary);font-weight:650}.policy-form .crm-select-trigger,.policy-form .crm-date-trigger{width:100%}@media (width>=721px){.policy-form .policy-sales-premium-grid.crm-modal-form-grid.is-3-columns{grid-template-columns:repeat(3,minmax(0,1fr))}}.policy-options-loading{grid-template-columns:1fr 1fr;gap:.8rem;padding:.4rem 0;display:grid}.policy-textarea{resize:none}.policy-document-picker{gap:.65rem;display:grid}.policy-document-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:fixed}.policy-document-dropzone{min-height:108px;color:var(--crm-text-secondary);background:var(--crm-surface);border:1px dashed var(--crm-border-strong);border-radius:var(--crm-radius-md);cursor:pointer;transition:border-color var(--crm-transition-fast), background-color var(--crm-transition-fast), color var(--crm-transition-fast);flex-direction:column;justify-content:center;align-items:center;gap:.28rem;padding:.8rem;display:flex}.policy-document-dropzone>span{width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.policy-document-dropzone strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-document-dropzone small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-document-dropzone:hover:not(:disabled),.policy-document-dropzone.is-dragging{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent)}.policy-document-dropzone:focus-visible{box-shadow:var(--crm-focus-ring);outline:0}.policy-document-dropzone:disabled{cursor:not-allowed;opacity:.62}.policy-document-queue{gap:.42rem;display:grid}.policy-document-queue article{background:var(--crm-surface);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);grid-template-columns:32px minmax(120px,1fr) minmax(150px,190px) auto;align-items:center;gap:.55rem;min-height:54px;padding:.45rem .5rem;display:grid}.policy-document-queue-icon{width:32px;height:32px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.policy-document-queue-copy{gap:.14rem;min-width:0;display:grid}.policy-document-queue-copy strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.policy-document-queue-copy small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-pdf-import-entry{border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-md);background:var(--crm-accent-soft);justify-content:space-between;align-items:center;gap:.75rem;min-height:58px;padding:.58rem .68rem;display:flex}.policy-pdf-import-entry>div{align-items:center;gap:.58rem;min-width:0;display:flex}.policy-pdf-import-entry>div>span{width:32px;height:32px;color:var(--crm-accent-hover);background:var(--crm-surface-elevated);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.policy-pdf-import-entry>div>div{gap:.1rem;min-width:0;display:grid}.policy-pdf-import-entry strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-import-entry p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact);margin:0}.policy-pdf-import-panel{border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);gap:.66rem;padding:.78rem;display:grid}.policy-pdf-import-panel>header{justify-content:space-between;align-items:center;gap:.72rem;display:flex}.policy-pdf-import-panel>header>div{align-items:center;gap:.55rem;min-width:0;display:flex}.policy-pdf-import-panel>header>div>span{width:34px;height:34px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.policy-pdf-import-panel>header>div>div{gap:.12rem;min-width:0;display:grid}.policy-pdf-import-panel>header strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-import-panel>header p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact);margin:0}.policy-pdf-dropzone{min-height:116px;color:var(--crm-text-secondary);border:1px dashed var(--crm-border-strong);border-radius:var(--crm-radius-md);background:var(--crm-surface);cursor:pointer;transition:border-color var(--crm-transition-fast), background-color var(--crm-transition-fast), color var(--crm-transition-fast);flex-direction:column;justify-content:center;align-items:center;gap:.3rem;padding:.82rem;display:flex}.policy-pdf-dropzone>span{width:38px;height:38px;color:var(--crm-accent-hover);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.policy-pdf-dropzone strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-dropzone small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-pdf-dropzone:hover:not(:disabled),.policy-pdf-dropzone.is-dragging{color:var(--crm-accent-hover);border-color:var(--crm-accent);background:var(--crm-accent-soft)}.policy-pdf-dropzone:focus-visible{box-shadow:var(--crm-focus-ring);outline:0}.policy-pdf-dropzone:disabled{cursor:not-allowed;opacity:.62}.policy-pdf-file{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.56rem;min-height:58px;padding:.5rem .56rem;display:grid}.policy-pdf-file>span{width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.policy-pdf-file.is-processed>span{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 8%, var(--crm-surface))}.policy-pdf-file>div:nth-child(2){gap:.12rem;min-width:0;display:grid}.policy-pdf-file>div:nth-child(2) strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.policy-pdf-file>div:nth-child(2) small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-pdf-file>div:last-child{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.28rem;display:flex}.policy-pdf-results{gap:.58rem;display:grid}.policy-pdf-result-summary{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);justify-content:space-between;align-items:center;gap:.65rem;min-height:48px;padding:.52rem .6rem;display:flex}.policy-pdf-result-summary>div:first-child{gap:.12rem;display:grid}.policy-pdf-result-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-result-summary span{color:var(--crm-text-muted);font-size:var(--type-badge)}.policy-pdf-duplicate{color:var(--crm-warning);align-items:center;gap:.36rem;display:flex}.policy-pdf-duplicate span{color:inherit;font-size:var(--type-badge);font-weight:680}.policy-pdf-duplicate-result{border:1px solid color-mix(in srgb, var(--crm-warning) 28%, var(--crm-border));border-radius:var(--crm-radius-md);background:var(--crm-surface);overflow:hidden}.policy-pdf-duplicate-result.is-exact{border-color:color-mix(in srgb, var(--crm-success) 28%, var(--crm-border))}.policy-pdf-duplicate-result>header{border-bottom:1px solid var(--crm-border-soft);background:color-mix(in srgb, var(--crm-warning) 5%, var(--crm-surface));align-items:flex-start;gap:.58rem;padding:.72rem .78rem;display:flex}.policy-pdf-duplicate-result.is-exact>header{background:color-mix(in srgb, var(--crm-success) 5%, var(--crm-surface))}.policy-pdf-duplicate-result>header>span{width:32px;height:32px;color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 10%, transparent);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.policy-pdf-duplicate-result.is-exact>header>span{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 10%, transparent)}.policy-pdf-duplicate-result>header>div{gap:.14rem;min-width:0;display:grid}.policy-pdf-duplicate-result>header strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-duplicate-result>header p{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);margin:0}.policy-pdf-duplicate-list{display:grid}.policy-pdf-duplicate-list article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:minmax(145px,1.15fr) minmax(130px,1fr) minmax(180px,1.2fr) auto auto;align-items:center;gap:.68rem;min-height:68px;padding:.68rem .78rem;display:grid}.policy-pdf-duplicate-list article:last-child{border-bottom:0}.policy-pdf-duplicate-list article>div{gap:.12rem;min-width:0;display:grid}.policy-pdf-duplicate-list small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-pdf-duplicate-list strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.policy-pdf-duplicate-list span{color:var(--crm-text-secondary);font-size:var(--type-badge)}.policy-pdf-duplicate-hidden{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-body);margin:0;padding:.78rem}.policy-pdf-duplicate-result>footer{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:flex-end;padding:.58rem .78rem;display:flex}.policy-pdf-resolution-warning,.policy-pdf-customer-suggestion{border:1px solid color-mix(in srgb, var(--crm-warning) 24%, var(--crm-border));border-radius:var(--crm-radius-sm);background:color-mix(in srgb, var(--crm-warning) 6%, var(--crm-surface));align-items:center;gap:.5rem;padding:.55rem .62rem;display:flex}.policy-pdf-resolution-warning>svg{color:var(--crm-warning);flex:none}.policy-pdf-resolution-warning p{color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);margin:0}.policy-pdf-customer-suggestion{border-color:color-mix(in srgb, var(--crm-success) 22%, var(--crm-border));background:color-mix(in srgb, var(--crm-success) 5%, var(--crm-surface));justify-content:space-between}.policy-pdf-customer-suggestion>div{align-items:center;gap:.48rem;min-width:0;display:flex}.policy-pdf-customer-suggestion svg{color:var(--crm-success);flex:none}.policy-pdf-customer-suggestion p{gap:.12rem;margin:0;display:grid}.policy-pdf-customer-suggestion strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-customer-suggestion span{color:var(--crm-text-muted);font-size:var(--type-badge)}.policy-pdf-customer-note{color:var(--crm-text-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);font-size:var(--type-helper);line-height:var(--type-line-body);margin:0;padding:.48rem .58rem}.policy-pdf-customer-resolution{border:1px solid color-mix(in srgb, var(--crm-warning) 24%, var(--crm-border));border-radius:var(--crm-radius-sm);background:color-mix(in srgb, var(--crm-warning) 6%, var(--crm-surface));justify-content:space-between;align-items:center;gap:.72rem;padding:.62rem;display:flex}.policy-pdf-customer-resolution>div:first-child{align-items:flex-start;gap:.48rem;min-width:0;display:flex}.policy-pdf-customer-resolution>div:first-child>svg{color:var(--crm-warning);flex:none;margin-top:.08rem}.policy-pdf-customer-resolution p{gap:.14rem;margin:0;display:grid}.policy-pdf-customer-resolution p strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-pdf-customer-resolution p span{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact)}.policy-pdf-customer-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.policy-pdf-customer-actions small{max-width:190px;color:var(--crm-warning);font-size:var(--type-helper);line-height:var(--type-line-compact)}.policy-pdf-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem;display:grid}.policy-pdf-field-grid article{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);gap:.24rem;min-width:0;padding:.52rem;display:grid}.policy-pdf-field-grid article>header{justify-content:space-between;align-items:center;gap:.42rem;display:flex}.policy-pdf-field-grid article>header strong{color:var(--crm-text-secondary);font-size:var(--type-body-strong)}.policy-pdf-field-grid article>p{overflow-wrap:anywhere;color:var(--crm-text-primary);font-size:var(--type-body);margin:0;font-weight:680}.policy-pdf-field-grid article>small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=720px){.policy-pdf-customer-resolution{flex-direction:column;align-items:stretch}.policy-pdf-customer-actions{justify-content:flex-start}.policy-pdf-duplicate-list article{grid-template-columns:1fr;align-items:start}.policy-pdf-duplicate-list article>.crm-button{justify-content:center;width:100%}}.policy-modal-message{color:var(--crm-text-secondary);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);font-size:var(--type-body);line-height:var(--type-line-body);margin:0;padding:.85rem}.policy-detail-loading{gap:1rem;padding-top:2rem;display:grid}.policy-detail-page{flex-direction:column;gap:1rem;padding-bottom:2rem;display:flex}.policy-overview-card{background:var(--crm-surface-elevated);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-soft);position:relative;overflow:hidden}.policy-detail-hero{background:var(--crm-surface-elevated);border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:1.25rem;padding:1.15rem 1.35rem;display:flex}.policy-overview-summary{box-shadow:none;border:0;border-radius:0}.policy-hero-main{flex-direction:column;gap:.35rem;min-width:0;display:flex}.policy-hero-back{color:var(--crm-text-muted);align-self:flex-start;margin:-.2rem 0 .2rem -.45rem}.policy-hero-title-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.policy-hero-title-row h1{overflow-wrap:anywhere;color:var(--crm-text-primary);font-size:var(--type-page-title);font-weight:750;line-height:var(--type-line-heading);letter-spacing:-.025em;margin:0}.policy-hero-status-badge{min-height:24px;font-size:var(--type-badge);border-radius:999px;padding:.15rem .6rem;font-weight:600}.policy-hero-meta{color:var(--crm-text-secondary);font-size:var(--type-helper);flex-wrap:wrap;align-items:center;gap:.45rem;font-weight:500;display:flex}.policy-hero-customer-link{color:var(--crm-accent-hover);font:inherit;font-size:var(--type-body);cursor:pointer;transition:color var(--crm-transition-fast);background:0 0;border:0;align-items:center;gap:.32rem;padding:0;font-weight:650;display:inline-flex}.policy-hero-customer-link:hover{text-underline-offset:3px;text-decoration:underline}.policy-hero-meta-sep{color:var(--crm-text-muted);font-weight:700}.policy-hero-meta-item{align-items:center;gap:.3rem;display:inline-flex}.policy-hero-meta-item svg{color:var(--crm-text-muted)}.policy-hero-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:.55rem;margin-left:auto;display:flex}.policy-hero-more{justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-flex}.policy-summary-surface{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-soft);overflow:hidden}.policy-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.policy-summary-tile{border-right:1px solid var(--crm-border-soft);align-items:flex-start;gap:.85rem;padding:1.15rem 1.25rem;display:flex}.policy-summary-tile:last-child{border-right:0}.policy-summary-icon{border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);width:38px;min-width:38px;height:38px;min-height:38px;color:var(--crm-primary);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.policy-summary-body{flex-direction:column;flex:1;gap:.28rem;min-width:0;display:flex}.policy-summary-label{color:var(--crm-text-muted);font-size:var(--type-label);letter-spacing:.05em;text-transform:uppercase;font-weight:700}.policy-summary-customer-line{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.policy-summary-value{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.policy-summary-quick-link{color:var(--crm-accent-hover);font:inherit;font-size:var(--type-helper);cursor:pointer;transition:color var(--crm-transition-fast);background:0 0;border:0;align-items:center;gap:.25rem;margin-top:.15rem;padding:0;font-weight:600;display:inline-flex}.policy-summary-quick-link:hover{text-underline-offset:2px;text-decoration:underline}.policy-summary-dl{gap:.2rem;width:100%;margin:0;display:grid}.policy-summary-dl>div{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.policy-summary-dl dt{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-summary-dl dd{color:var(--crm-text-primary);font-size:var(--type-helper);text-align:right;margin:0;font-weight:600}.policy-summary-premium-amount{color:var(--crm-text-primary);font-size:var(--type-body-strong);letter-spacing:-.02em;margin-top:.1rem;font-weight:750}.policy-summary-helper{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-summary-renewal-bar{border-top:1px solid var(--crm-border-soft);background:color-mix(in srgb, var(--crm-warning) 7%, var(--crm-surface));border-left:4px solid var(--crm-warning);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1.35rem;display:flex}.policy-section-nav{z-index:12;border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:color-mix(in srgb, var(--crm-surface-elevated) 94%, transparent);min-width:0;box-shadow:var(--crm-shadow-soft);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:none;align-items:center;gap:.28rem;padding:.38rem;display:flex;position:sticky;top:.75rem;overflow-x:auto}.policy-section-nav::-webkit-scrollbar{display:none}.policy-section-nav button{min-height:34px;color:var(--crm-text-secondary);border-radius:var(--crm-radius-sm);font:inherit;font-size:var(--type-helper);cursor:pointer;transition:color var(--crm-transition-fast), background-color var(--crm-transition-fast);background:0 0;border:0;flex:none;justify-content:center;align-items:center;gap:.4rem;padding:.42rem .7rem;font-weight:680;display:inline-flex}.policy-section-nav button:hover,.policy-section-nav button:focus-visible{color:var(--crm-accent-hover);background:var(--crm-accent-soft);outline:0}.policy-section-nav button>span{min-width:20px;height:20px;color:var(--crm-text-muted);border:1px solid var(--crm-border-soft);background:var(--crm-surface);font-size:var(--type-badge);font-variant-numeric:tabular-nums;border-radius:999px;justify-content:center;align-items:center;padding:0 .32rem;display:inline-flex}.policy-section-anchor{min-width:0;scroll-margin-top:76px;position:relative}.policy-overview-card.is-section-highlighted:after,.policy-section-anchor.is-section-highlighted:after{content:"";z-index:4;pointer-events:none;border:2px solid #0000;border-radius:16px;animation:1.4s ease-out policy-section-highlight;position:absolute;inset:-3px}.policy-overview-card.is-section-highlighted:after,.policy-wide-section.policy-section-anchor.is-section-highlighted:after{border-radius:inherit;inset:0}@keyframes policy-section-highlight{0%{opacity:0;box-shadow:0 0 0 0 color-mix(in srgb, var(--crm-accent) 0%, transparent);border-color:#0000}22%{opacity:1;border-color:color-mix(in srgb, var(--crm-accent) 58%, transparent);box-shadow:0 0 0 5px color-mix(in srgb, var(--crm-accent) 12%, transparent)}62%{opacity:.72;border-color:color-mix(in srgb, var(--crm-accent) 34%, transparent);box-shadow:0 0 0 8px color-mix(in srgb, var(--crm-accent) 4%, transparent)}to{opacity:0;border-color:#0000;box-shadow:0 0 0 10px #0000}}@media (prefers-reduced-motion:reduce){.policy-overview-card.is-section-highlighted:after,.policy-section-anchor.is-section-highlighted:after{opacity:1;border-color:color-mix(in srgb, var(--crm-accent) 42%, transparent);box-shadow:0 0 0 4px color-mix(in srgb, var(--crm-accent) 8%, transparent);animation:none}}.policy-renewal-info{align-items:center;gap:.65rem;display:flex}.policy-renewal-icon{width:32px;height:32px;color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 14%, transparent);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.policy-renewal-tag{color:var(--crm-text-secondary);font-size:var(--type-badge);font-weight:600}.policy-renewal-badge{color:var(--crm-text-primary);font-size:var(--type-badge);font-weight:750}.policy-renewal-actions{align-items:center;gap:.4rem;display:flex}.policy-cancellation-card{border:1px solid color-mix(in srgb, var(--crm-danger) 25%, var(--crm-border));border-radius:var(--crm-radius-lg);background:color-mix(in srgb, var(--crm-danger) 5%, var(--crm-surface));align-items:flex-start;gap:1rem;padding:1.15rem 1.35rem;display:flex}.policy-cancellation-icon{width:40px;height:40px;color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 12%, transparent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.policy-cancellation-copy h2{color:var(--crm-danger);font-size:var(--type-section-title);margin:0;font-weight:700}.policy-cancellation-copy p{color:var(--crm-text-muted);font-size:var(--type-helper);margin:.2rem 0 0}.policy-cancellation-copy strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-body);margin-top:.35rem;display:block}.policy-workspace-grid{grid-template-columns:minmax(0,8fr) minmax(320px,4fr);align-items:start;gap:1rem;display:grid}.policy-workspace-main,.policy-workspace-aside{gap:1rem;min-width:0;display:grid}.policy-workspace-aside{align-self:start;position:sticky;top:4.75rem}.policy-wide-section{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);box-shadow:var(--crm-shadow-soft);overflow:hidden}.policy-wide-section>header{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface);justify-content:space-between;align-items:center;gap:1rem;min-height:64px;padding:1rem 1.35rem;display:flex}.policy-wide-section>header h3{color:var(--crm-text-primary);font-size:var(--type-card-title);letter-spacing:-.015em;margin:0;font-weight:700}.policy-wide-section>header p{color:var(--crm-text-secondary);font-size:var(--type-helper);margin:.2rem 0 0}.policy-section-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.policy-compact-empty{min-height:72px;color:var(--crm-text-muted);text-align:left;background:var(--crm-surface);justify-content:center;align-items:center;gap:.75rem;padding:.85rem 1.15rem;display:flex}.policy-compact-empty>svg{color:var(--crm-accent-hover);flex:none}.policy-compact-empty div{flex-direction:column;gap:.15rem;display:flex}.policy-compact-empty strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:650}.policy-compact-empty span{font-size:var(--type-helper);line-height:var(--type-line-compact)}.policy-collections-accordion{display:grid}.policy-collections-accordion-trigger{width:100%;min-height:66px;color:inherit;background:var(--crm-surface);text-align:left;cursor:pointer;transition:background-color var(--crm-transition-fast);border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.9rem 1.2rem;display:grid}.policy-collections-accordion-trigger:hover,.policy-collections-accordion-trigger:focus-visible{background:color-mix(in srgb, var(--crm-accent) 4%, var(--crm-surface));outline:0}.policy-collections-accordion-icon{width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.policy-collections-accordion-copy{gap:.18rem;min-width:0;display:grid}.policy-collections-accordion-copy strong{color:var(--crm-text-primary);font-size:var(--type-card-title)}.policy-collections-accordion-copy small{color:var(--crm-text-secondary);font-size:var(--type-helper)}.policy-collections-accordion-state{color:var(--crm-text-secondary);font-size:var(--type-helper);align-items:center;gap:.42rem;font-weight:680;display:inline-flex}.policy-collections-accordion-state svg{transition:transform var(--crm-transition-fast)}.policy-collections-accordion.is-open .policy-collections-accordion-state svg{transform:rotate(180deg)}.policy-collections-accordion-panel{border-top:1px solid var(--crm-border-soft);min-width:0}.policy-collections-section{display:grid}.policy-collections-section.is-embedded{box-shadow:none;border:0;border-radius:0}.policy-collections-embedded-actions{justify-content:flex-end;display:flex}.policy-collections-content{gap:.85rem;min-width:0;padding:1rem;display:grid}.policy-collections-content>.crm-stat-summary-strip,.policy-collections-content>.crm-table-shell{box-shadow:none}.policy-collection-summary{background:var(--crm-surface-muted);border-bottom:1px solid var(--crm-border-soft);grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;padding:1rem 1.35rem;display:grid}.policy-collection-summary article{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);flex-direction:column;gap:.25rem;padding:.85rem 1rem;display:flex}.policy-collection-summary span{color:var(--crm-text-muted);font-size:var(--type-badge);font-weight:600}.policy-collection-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:750}.policy-collections-table{min-width:1000px}.policy-collections-table tbody tr{transition:background-color var(--crm-transition-fast)}.policy-collections-table tbody tr:hover{background:color-mix(in srgb, var(--crm-accent) 3%, var(--crm-surface))}.policy-collections-table td{vertical-align:middle;height:62px}.policy-collections-table th:nth-child(3),.policy-collections-table th:nth-child(5),.policy-collection-money{text-align:right}.policy-collection-money{color:var(--crm-text-primary);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:680}.policy-collections-preview-footer{border-top:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;gap:.75rem;min-height:44px;padding:.38rem .7rem;display:flex}.policy-collections-preview-footer>span{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-documents-loading{grid-template-columns:1fr 1fr;gap:.85rem;padding:1.15rem;display:grid}.policy-documents-upload-only{min-height:84px;color:var(--crm-text-secondary);align-items:center;gap:.75rem;padding:1.15rem 1.35rem;display:flex}.policy-documents-upload-only p{font-size:var(--type-helper);line-height:var(--type-line-body);margin:0}.policy-document-list{display:grid}.policy-document-list>article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:46px minmax(180px,1fr) auto;align-items:center;gap:1rem;min-height:76px;padding:.9rem 1.35rem;display:grid}.policy-document-list>article:last-child{border-bottom:0}.policy-document-preview{width:46px;height:46px;color:var(--crm-primary);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);cursor:pointer;transition:transform var(--crm-transition-fast), border-color var(--crm-transition-fast), box-shadow var(--crm-transition-fast);border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex;overflow:hidden}.policy-document-preview:hover{border-color:var(--crm-accent);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb26}.policy-document-preview img{object-fit:cover;width:100%;height:100%}.policy-document-copy{flex-direction:column;gap:.25rem;min-width:0;display:flex}.policy-document-copy strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.policy-document-copy span{color:var(--crm-text-secondary);font-size:var(--type-helper)}.policy-document-copy small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-document-actions{justify-content:flex-end;align-items:center;gap:.45rem;display:flex}.policy-deleted-documents{border-top:1px solid color-mix(in srgb, var(--crm-danger) 18%, var(--crm-border));background:color-mix(in srgb, var(--crm-danger) 3%, var(--crm-surface-muted))}.policy-deleted-documents-heading{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:.85rem;min-height:54px;padding:.85rem 1.35rem;display:flex}.policy-deleted-documents-heading>div{flex-direction:column;gap:.15rem;display:flex}.policy-deleted-documents-heading strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700}.policy-deleted-documents-heading span,.policy-deleted-documents-heading small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-deleted-document-list{display:grid}.policy-deleted-document-list article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:.85rem;padding:.9rem 1.35rem;display:grid}.policy-deleted-document-list article:last-child{border-bottom:0}.policy-deleted-document-icon{width:40px;height:40px;color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 10%, transparent);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.policy-deleted-document-copy{flex-direction:column;gap:.2rem;min-width:0;display:flex}.policy-deleted-document-copy strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.policy-deleted-document-copy span{color:var(--crm-text-secondary);font-size:var(--type-helper)}.policy-deleted-document-copy small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-deleted-document-copy p{color:var(--crm-text-secondary);background:var(--crm-surface);border:1px solid var(--crm-border-soft);font-size:var(--type-body);line-height:var(--type-line-compact);border-radius:8px;margin:.35rem 0 0;padding:.45rem .6rem}.policy-endorsement-list{display:grid}.policy-endorsement-list article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:40px minmax(0,1fr) auto;align-items:flex-start;gap:.85rem;min-height:76px;padding:.9rem 1.35rem;display:grid}.policy-endorsement-list article:last-child{border-bottom:0}.policy-endorsement-icon{width:40px;height:40px;color:var(--crm-primary);background:var(--crm-accent-soft);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.policy-endorsement-copy{flex-direction:column;gap:.25rem;min-width:0;display:flex}.policy-endorsement-title-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.policy-endorsement-title-row strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700}.policy-endorsement-type-badge{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);color:var(--crm-text-secondary);font-size:var(--type-badge);border-radius:999px;padding:.12rem .48rem;font-weight:600}.policy-endorsement-meta{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-endorsement-description{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-body);margin:.3rem 0 0}.policy-endorsement-actions{align-items:center;display:flex}.policy-quick-actions{display:grid}.policy-quick-actions>button{width:100%;min-height:58px;color:inherit;text-align:left;border:0;border-bottom:1px solid var(--crm-border-soft);cursor:pointer;transition:background-color var(--crm-transition-fast);background:0 0;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.68rem 1rem;display:grid}.policy-quick-actions>button:last-child{border-bottom:0}.policy-quick-actions>button:hover{background:var(--crm-surface-muted)}.policy-quick-actions>button:focus-visible{box-shadow:var(--crm-focus-ring);outline:0}.policy-quick-actions>button>span{width:34px;height:34px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.policy-quick-actions>button>div{gap:.12rem;min-width:0;display:grid}.policy-quick-actions strong,.policy-quick-actions small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.policy-quick-actions strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680}.policy-quick-actions small{color:var(--crm-text-muted);font-size:var(--type-helper)}.policy-quick-actions>button>svg{color:var(--crm-text-muted)}.policy-history-timeline{padding:.4rem 0;position:relative}.policy-history-timeline:before{content:"";background:var(--crm-border-soft);width:2px;position:absolute;top:20px;bottom:20px;left:29px}.policy-history-timeline>article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:32px minmax(0,1fr);gap:.85rem;padding:.95rem 1.35rem;display:grid;position:relative}.policy-history-timeline>article:last-child{border-bottom:0}.policy-history-node{z-index:1;width:32px;height:32px;color:var(--crm-primary);background:var(--crm-surface);border:2px solid var(--crm-border-soft);border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:relative}.policy-history-timeline article.is-success .policy-history-node{color:var(--crm-success);border-color:color-mix(in srgb, var(--crm-success) 35%, var(--crm-border))}.policy-history-timeline article.is-danger .policy-history-node{color:var(--crm-danger);border-color:color-mix(in srgb, var(--crm-danger) 35%, var(--crm-border))}.policy-history-content{flex-direction:column;gap:.2rem;min-width:0;display:flex}.policy-history-content strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700;display:block}.policy-history-content small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact);display:block}.policy-change-list{gap:.35rem;margin-top:.55rem;display:grid}.policy-change-list p{color:var(--crm-text-secondary);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);font-size:var(--type-helper);border-radius:8px;flex-wrap:wrap;align-items:center;gap:.35rem;margin:0;padding:.45rem .6rem;display:flex}.policy-change-list p>span{color:var(--crm-text-muted);font-weight:650}.policy-change-list del,.policy-change-list ins{border-radius:5px;padding:.15rem .35rem;font-weight:600;text-decoration:none}.policy-change-list del{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 10%, transparent)}.policy-change-list ins{color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 10%, transparent)}.policy-history-reason{color:var(--crm-text-secondary);background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);font-size:var(--type-helper);line-height:var(--type-line-body);border-radius:8px;margin:.5rem 0 0;padding:.45rem .6rem}@media (width<=1100px){.policy-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.policy-summary-tile:nth-child(2){border-right:0}.policy-summary-tile:nth-child(3){border-top:1px solid var(--crm-border-soft)}.policy-summary-tile:nth-child(4){border-top:1px solid var(--crm-border-soft);border-right:0}.policy-workspace-grid{grid-template-columns:minmax(0,1fr) minmax(290px,340px)}}@media (width<=900px){.policy-detail-hero{flex-direction:column;align-items:flex-start;gap:1rem}.policy-hero-actions{justify-content:flex-start;width:100%}.policy-summary-grid{grid-template-columns:1fr}.policy-summary-tile{border-bottom:1px solid var(--crm-border-soft);border-right:0!important}.policy-summary-tile:last-child{border-bottom:0}.policy-summary-renewal-bar{flex-direction:column;align-items:flex-start;gap:.75rem}.policy-renewal-actions{justify-content:flex-start;width:100%}.policy-workspace-grid{grid-template-columns:1fr}.policy-workspace-aside{position:static}.policy-collection-summary{grid-template-columns:1fr}}@media (width<=600px){.policy-detail-page{gap:.8rem}.policy-detail-hero{padding:1rem}.policy-hero-actions>.crm-button:not(.policy-hero-more){flex:auto}.policy-section-nav{margin-inline:-.15rem;top:.45rem}.policy-section-nav button{padding-inline:.58rem}.policy-collections-accordion-trigger{padding:.78rem .85rem}.policy-collections-accordion-copy small{display:none}.policy-collections-accordion-state{font-size:0}.policy-collections-accordion-state svg{width:18px;height:18px}.policy-collections-content{gap:.72rem;padding:.72rem}.policy-collections-preview-footer{flex-direction:column;align-items:flex-start}.policy-collections-preview-footer .crm-button{justify-content:center;width:100%}.policy-wide-section>header{align-items:flex-start;padding:.85rem 1rem}.policy-section-actions{justify-content:flex-start}.policy-document-list>article{grid-template-columns:46px minmax(0,1fr)}.policy-document-actions{grid-column:1/-1;justify-content:flex-start}.policy-endorsement-list article{grid-template-columns:40px minmax(0,1fr)}.policy-endorsement-actions{grid-column:1/-1;justify-content:flex-start}}.tasks-page{gap:18px;display:grid}.tasks-page-header{align-items:center}.tasks-list-surface{gap:14px;min-width:0;display:grid}.tasks-toolbar{padding:0}.tasks-toolbar-control{flex:0 170px;width:170px}.tasks-toolbar>.crm-search-input{flex:0 340px;width:340px;min-width:300px;max-width:360px;height:42px}.tasks-toolbar .crm-select-trigger,.tasks-toolbar .crm-date-trigger,.tasks-toolbar>.crm-button{height:42px;min-height:42px}.tasks-date-filter{flex:0 210px;width:210px}.tasks-table-shell{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);overflow:hidden}.tasks-table{table-layout:fixed;min-width:1080px}.tasks-table th:first-child{width:245px}.tasks-table th:nth-child(2){width:190px}.tasks-table th:nth-child(3){width:155px}.tasks-table th:nth-child(4){width:165px}.tasks-table th:nth-child(5){width:105px}.tasks-table th:nth-child(6){width:125px}.tasks-table th:nth-child(7){width:105px}.tasks-table td{vertical-align:middle;height:68px;font-size:var(--type-table-body)}.tasks-table tbody tr{transition:background-color .15s}.tasks-table tbody tr:hover{background:color-mix(in srgb, var(--crm-accent) 3%, var(--crm-surface-elevated))}.tasks-table tbody tr.is-overdue{background:color-mix(in srgb, var(--crm-danger) 2.5%, var(--crm-surface-elevated))}.tasks-title-cell,.tasks-relation-cell{gap:4px;min-width:0;display:grid}.tasks-title-cell strong,.tasks-relation-cell strong,.tasks-title-cell small,.tasks-relation-cell small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tasks-title-cell strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:730}.tasks-title-cell small,.tasks-relation-cell small{color:var(--crm-text-muted);font-size:var(--type-helper)}.tasks-relation-cell strong{color:var(--crm-text-secondary);font-size:var(--type-body-strong);font-weight:650}.tasks-assignee-cell{align-items:center;gap:8px;min-width:0;display:flex}.tasks-assignee-cell>span{width:28px;height:28px;color:var(--crm-accent);background:var(--crm-accent-soft);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.tasks-assignee-cell strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.tasks-due{color:var(--crm-text-secondary);font-size:var(--type-helper);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.tasks-due.is-overdue{color:var(--crm-danger);font-weight:680}.tasks-row-actions{justify-content:flex-end;align-items:center;gap:4px;display:inline-flex}.task-form-loading{gap:12px;padding-bottom:24px;display:grid}.task-form-grid .is-full{grid-column:1/-1}.task-due-picker{grid-template-columns:minmax(0,1fr) 174px;gap:8px;display:grid}.task-time-selects{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.task-time-selects>span{color:var(--crm-text-muted);font-size:var(--type-input);font-weight:700}.task-detail{gap:14px;display:grid}.task-detail-status{align-items:center;gap:8px;display:flex}.task-detail>p{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);color:var(--crm-text-secondary);background:var(--crm-surface-muted);font-size:var(--type-body);line-height:var(--type-line-body);white-space:pre-wrap;margin:0;padding:13px 14px}.task-relation-section{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);overflow:hidden}.task-relation-section>header{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;display:flex}.task-relation-heading{align-items:center;gap:10px;min-width:0;display:flex}.task-relation-heading>span{border-radius:var(--crm-radius-md);width:34px;height:34px;color:var(--crm-accent);background:var(--crm-accent-soft);flex:none;justify-content:center;align-items:center;display:inline-flex}.task-relation-heading h3{color:var(--crm-text-primary);font-size:var(--type-card-title);margin:0}.task-relation-heading p{color:var(--crm-text-muted);font-size:var(--type-helper);margin:2px 0 0}.task-relation-list{display:grid}.task-relation-list>article{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:4px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:10px 18px;display:grid}.task-relation-list>article:last-child{border-bottom:0}.task-relation-priority{background:var(--crm-border-strong);border-radius:999px;width:4px;height:28px}.task-relation-priority.is-high{background:var(--crm-warning)}.task-relation-priority.is-urgent{background:var(--crm-danger)}.task-relation-priority.is-normal{background:var(--crm-accent)}.task-relation-list article>div{gap:3px;min-width:0;display:grid}.task-relation-list article strong,.task-relation-list article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-relation-list article strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.task-relation-list article small{color:var(--crm-text-muted);font-size:var(--type-helper)}.task-relation-section>footer{border-top:1px solid var(--crm-border-soft);justify-content:flex-end;padding:7px 12px;display:flex}.task-relation-section .crm-empty-state{min-height:84px;padding:14px 18px}@media (width<=720px){.tasks-toolbar-control,.tasks-toolbar>.crm-search-input,.tasks-date-filter{flex:100%;width:100%;max-width:none}.task-form-grid .is-full{grid-column:auto}.task-form-grid-spacer{display:none}.task-due-picker{grid-template-columns:1fr}.task-relation-list>article{grid-template-columns:4px minmax(0,1fr)}.task-relation-list>article>.crm-badge{display:none}}.contact-access-page{flex-direction:column;gap:.85rem;display:flex}.contact-access-page-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.contact-access-toolbar{flex-wrap:wrap;justify-content:flex-start}.contact-access-toolbar .crm-search-input{flex:0 340px;width:min(100%,340px);max-width:360px}.contact-access-toolbar .data-control-label{width:min(100%,170px)}.contact-access-toolbar .crm-select-trigger{width:100%}.contact-access-toolbar .contact-access-date-filter{width:min(100%,210px)}.contact-access-table th,.contact-access-table td{vertical-align:top}.contact-access-table td:first-child{min-width:180px}.contact-access-table td:nth-child(2){min-width:190px}.contact-access-table td:nth-child(3){width:100%;min-width:320px}.contact-access-table tr.is-focused td{background:var(--crm-accent-soft)}.contact-access-reason{max-width:720px;color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}@media (width<=760px){.contact-access-page-header{flex-direction:column}.contact-access-toolbar{align-items:stretch}.contact-access-toolbar .crm-search-input,.contact-access-toolbar .data-control-label,.contact-access-toolbar .contact-access-date-filter{flex-basis:100%;width:100%;max-width:none}}.renewals-page{padding-bottom:1.5rem}.renewal-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-bottom:.75rem;display:grid}.renewal-summary-card{min-height:96px;color:inherit;text-align:left;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);cursor:pointer;transition:border-color var(--crm-transition-fast), background-color var(--crm-transition-fast), box-shadow var(--crm-transition-fast);grid-template-columns:36px minmax(0,1fr);align-items:start;gap:.62rem;padding:.78rem;display:grid}.renewal-summary-card:hover,.renewal-summary-card.is-selected{border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.renewal-summary-card.is-selected{box-shadow:var(--crm-focus-ring)}.renewal-summary-card>span{width:36px;height:36px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.renewal-summary-card>div{gap:.12rem;min-width:0;display:grid}.renewal-summary-card small{color:var(--crm-text-secondary);font-size:var(--type-helper);font-weight:720}.renewal-summary-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);line-height:var(--type-line-compact)}.renewal-summary-card p{color:var(--crm-text-muted);font-size:var(--type-helper);margin:0}.renewal-toolbar>.crm-search-input{flex:0 340px;width:340px;min-width:300px;max-width:360px}.renewal-filter-control{flex:0 170px;min-width:150px}.renewal-filter-control.is-wide{flex-basis:190px}.renewal-filter-control .crm-select-trigger{width:100%;min-width:0}.renewal-toolbar .crm-button.is-active{color:var(--crm-accent-hover);border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.renewal-clear{margin-left:0}.renewal-date-popover{width:min(350px,100vw - 24px);padding:0}.renewal-date-panel{gap:.4rem;padding:.78rem;display:grid}.renewal-date-panel strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.renewal-date-panel>span{color:var(--crm-text-muted);font-size:var(--type-badge)}.renewal-table{min-width:1180px}.renewal-table .crm-col-actions{min-width:220px}.renewal-row-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:.38rem;display:flex}.renewal-number{color:var(--crm-text-primary);font-size:var(--type-table-body);font-variant-numeric:tabular-nums;font-weight:650}.renewal-customer-link{color:var(--crm-text-primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:650}.renewal-customer-link:hover{color:var(--crm-accent-hover)}.renewal-days{border-radius:var(--crm-radius-sm);min-height:26px;font-size:var(--type-badge);white-space:nowrap;border:1px solid #0000;align-items:center;padding:4px 8px;font-weight:720;display:inline-flex}.renewal-days.is-overdue,.renewal-days.is-due_today{color:var(--crm-danger)}.renewal-days.is-upcoming{color:var(--crm-text-secondary)}.renewal-days.is-renewed{color:var(--crm-success)}.renewal-table tbody tr.is-urgency-overdue{background:color-mix(in srgb, var(--crm-danger) 9%, var(--crm-surface));box-shadow:inset 3px 0 var(--crm-danger)}.renewal-table tbody tr.is-urgency-critical{background:color-mix(in srgb, var(--crm-danger) 5%, var(--crm-surface))}.renewal-table tbody tr.is-urgency-high{background:color-mix(in srgb, var(--crm-warning) 7%, var(--crm-surface))}.renewal-table tbody tr.is-urgency-medium{background:color-mix(in srgb, var(--crm-warning) 4%, var(--crm-surface))}.renewal-table tbody tr.is-urgency-watch{background:color-mix(in srgb, var(--crm-info) 4%, var(--crm-surface))}.renewal-days.is-urgency-overdue{color:var(--crm-danger);border-color:color-mix(in srgb, var(--crm-danger) 24%, transparent);background:color-mix(in srgb, var(--crm-danger) 11%, transparent)}.renewal-days.is-urgency-critical{color:var(--crm-danger);border-color:color-mix(in srgb, var(--crm-danger) 20%, transparent);background:color-mix(in srgb, var(--crm-danger) 8%, transparent)}.renewal-days.is-urgency-high{color:var(--crm-warning);border-color:color-mix(in srgb, var(--crm-warning) 25%, transparent);background:color-mix(in srgb, var(--crm-warning) 11%, transparent)}.renewal-days.is-urgency-medium{color:var(--crm-warning);border-color:color-mix(in srgb, var(--crm-warning) 18%, transparent);background:color-mix(in srgb, var(--crm-warning) 7%, transparent)}.renewal-days.is-urgency-watch{color:var(--crm-info);border-color:color-mix(in srgb, var(--crm-info) 18%, transparent);background:color-mix(in srgb, var(--crm-info) 6%, transparent)}.policy-renewal-source{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-md);align-items:flex-start;gap:.65rem;padding:.72rem .8rem;display:flex}.policy-renewal-source>span{background:var(--crm-surface);border-radius:9px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.policy-renewal-source div{gap:.14rem;min-width:0;display:grid}.policy-renewal-source small{color:var(--crm-text-muted);font-size:var(--type-helper);text-transform:uppercase;font-weight:750}.policy-renewal-source strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.policy-renewal-source p{color:var(--crm-text-secondary);font-size:var(--type-body);margin:0}@media (width<=980px){.renewal-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.renewal-summary-grid{grid-template-columns:1fr}.renewal-toolbar>.crm-search-input{flex-basis:100%;width:100%;min-width:0;max-width:none}.renewal-filter-control{flex:calc(50% - .42rem)}.renewal-clear{margin-left:0}}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.commissions-page{gap:var(--crm-space-5)}.commission-summary-grid{gap:var(--crm-space-3);grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.commission-summary-card{align-items:center;gap:var(--crm-space-3);min-height:82px;padding:var(--crm-space-4);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);display:flex}.commission-summary-card>span{width:36px;height:36px;color:var(--crm-accent);border-radius:var(--crm-radius-md);background:var(--crm-accent-soft);flex:none;place-items:center;display:grid}.commission-summary-card div{gap:3px;min-width:0;display:grid}.commission-summary-card small{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:650}.commission-summary-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-variant-numeric:tabular-nums}.commission-section{gap:var(--crm-space-4);display:grid}.commission-section-header{justify-content:space-between;align-items:center;gap:var(--crm-space-4);padding:var(--crm-space-4);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface);display:flex}.commission-section-header h3,.commission-rule-block h4{color:var(--crm-text-primary);margin:0}.commission-section-header p{color:var(--crm-text-muted);font-size:var(--type-body);margin:4px 0 0}.commission-row-actions{justify-content:flex-end;align-items:center;gap:var(--crm-space-2);flex-wrap:wrap;display:flex}.crm-table .crm-col-actions.commission-action-column{width:140px;min-width:140px}.commission-table-row-actions{white-space:nowrap;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:6px;min-height:34px;display:inline-flex}.commission-table-row-actions .crm-button,.commission-row-overflow-trigger{flex:none}.crm-table .commission-action-column .commission-table-row-actions{margin-inline:auto}.commission-mapping-block,.commission-rule-block{gap:var(--crm-space-3);display:grid}.commission-mappings-section{gap:var(--crm-space-3)}.commission-mappings-header{padding-block:var(--crm-space-3)}.commission-mappings-profile{align-items:center;gap:var(--crm-space-2);min-width:min(100%,340px);display:flex}.commission-mappings-profile>span{color:var(--crm-text-muted);font-size:var(--type-badge);flex:none;font-weight:680}.commission-mappings-profile .crm-select-trigger{min-width:230px}.commission-mappings-panel{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);overflow:hidden}.commission-identity-summary{align-items:center;gap:var(--crm-space-2);padding:10px var(--crm-space-4);border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);flex-wrap:wrap;display:flex}.commission-identity-stat{min-height:30px;color:var(--crm-text-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);font-size:var(--type-badge);align-items:center;gap:6px;padding:4px 9px;font-weight:620;display:inline-flex}.commission-identity-stat strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-variant-numeric:tabular-nums}.commission-identity-stat.is-success strong{color:var(--crm-success)}.commission-identity-stat.is-warning strong{color:var(--crm-warning)}.commission-identity-stat.is-info strong{color:var(--crm-accent-hover)}.commission-mappings-group{gap:var(--crm-space-3);padding:var(--crm-space-4);display:grid}.commission-mappings-group.is-existing{border-top:1px solid var(--crm-border-soft)}.commission-mappings-group-header{justify-content:space-between;align-items:center;gap:var(--crm-space-3);display:flex}.commission-mappings-group-header h4,.commission-mapping-block-heading h5{color:var(--crm-text-primary);margin:0}.commission-mappings-group-header h4{font-size:var(--type-card-title)}.commission-mappings-group-header p{color:var(--crm-text-muted);font-size:var(--type-badge);margin:3px 0 0}.commission-mapping-block-heading{align-items:center;gap:var(--crm-space-2);min-height:24px;display:flex}.commission-mapping-block-heading h5{font-size:var(--type-helper);font-weight:680}.commission-employee-mapping-block{gap:var(--crm-space-2)}.commission-employee-resolution-grid{gap:var(--crm-space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.commission-employee-resolution-card{align-items:center;gap:var(--crm-space-3);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);grid-template-columns:minmax(120px,1fr) auto;min-width:0;padding:10px 12px;display:grid}.commission-employee-resolution-identity{gap:2px;min-width:0;display:grid}.commission-employee-resolution-identity strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-employee-resolution-identity span,.commission-employee-resolution-identity small{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-employee-resolution-side{justify-content:flex-end;align-items:center;gap:var(--crm-space-2);min-width:0;display:flex}.commission-resolution-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:4px;display:flex}.commission-pending-invite{justify-content:flex-end;align-items:center;display:flex}.commission-open-mapping-secondary{gap:var(--crm-space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.commission-chip-list{gap:var(--crm-space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.commission-chip-list button{text-align:left;min-width:0;color:var(--crm-text-primary);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);cursor:pointer;gap:4px;padding:11px 13px;transition:border-color .16s,background-color .16s;display:grid}.commission-chip-list button:hover:not(:disabled){border-color:var(--crm-border-strong);background:var(--crm-surface-muted)}.commission-chip-list button:disabled{cursor:default;opacity:.62}.commission-chip-list button strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-chip-list button span{color:var(--crm-text-muted);font-size:var(--type-button)}.commission-mapping-resolved{min-height:32px;color:var(--crm-success);font-size:var(--type-badge);border-radius:var(--crm-radius-sm);background:color-mix(in srgb, var(--crm-success) 6%, var(--crm-surface));align-items:center;gap:7px;margin:0;padding:6px 9px;font-weight:620;display:flex}.commission-mappings-table{box-shadow:none}.commission-mappings-table .crm-table{min-width:720px}.commission-mappings-table .crm-table tbody td{padding-block:.54rem}.commission-table-empty{padding:var(--crm-space-2);color:var(--crm-text-muted);font-size:var(--type-table-body);text-align:center;margin:0}.commission-plan-grid{gap:var(--crm-space-4);grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:start;display:grid}.commission-status-strip{gap:var(--crm-space-2);grid-template-columns:repeat(10,minmax(92px,1fr));display:grid;overflow-x:auto}.commission-status-strip button{min-width:96px;color:var(--crm-text-muted);text-align:left;border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);cursor:pointer;gap:5px;padding:10px 12px;display:grid}.commission-status-strip button strong{color:var(--crm-text-primary);font-size:var(--type-button)}.commission-preview-table{min-width:1540px}.commission-preview-table tbody tr.is-review-required{background:color-mix(in srgb, var(--crm-warning) 5%, var(--crm-surface))}.commission-policy-year{min-width:170px;color:var(--crm-text-secondary);font-size:var(--type-badge);white-space:nowrap;gap:3px;display:grid}.commission-policy-year strong{color:var(--crm-text-primary);font-weight:650}.commission-policy-year .crm-status-badge{justify-self:start;margin-top:3px}.commission-source-identity small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-compact)}.commission-rate-difference strong{color:var(--crm-text-primary)}.commission-rate-difference span{white-space:nowrap}.commission-preview-status{justify-items:start;gap:var(--crm-space-2);min-width:175px;display:grid}.commission-preview-status .crm-button{margin-top:2px}.commission-rule-snapshot{color:var(--crm-text-muted);font-size:var(--type-badge);line-height:var(--type-line-compact)}.commission-manual-adjustment-label{color:var(--crm-success);font-size:var(--type-badge);font-weight:680;line-height:var(--type-line-compact)}.commission-issue-code{max-width:170px;color:var(--crm-text-muted);font-family:ui-monospace,monospace;font-size:var(--type-code);overflow-wrap:anywhere;margin-top:5px;display:block}.commission-override-reason{margin-top:var(--crm-space-3);gap:.38rem;display:grid}.commission-override-reason label{color:var(--crm-text-primary);font-size:var(--type-label);font-weight:680}.commission-override-reason .crm-textarea{resize:none;min-height:96px}.commission-override-reason small{color:var(--crm-text-muted);font-size:var(--type-helper);text-align:right}.commission-adjustment-current{justify-content:space-between;align-items:center;gap:var(--crm-space-3);min-height:44px;padding:var(--crm-space-3);color:var(--crm-text-secondary);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);display:flex}.commission-adjustment-current span{font-size:var(--type-helper)}.commission-adjustment-current strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-variant-numeric:tabular-nums}.commission-workflow-section{gap:var(--crm-space-4);display:grid}.commission-workflow-toolbar .crm-status-badge{white-space:nowrap}.commission-workflow-mode-switch{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);align-items:center;padding:3px;display:inline-flex}.commission-workflow-mode-switch button{min-height:30px;color:var(--crm-text-muted);font-size:var(--type-button);border-radius:calc(var(--crm-radius-md) - 3px);cursor:pointer;background:0 0;border:0;padding:5px 11px;font-weight:720;transition:color .15s,background-color .15s,box-shadow .15s}.commission-workflow-mode-switch button.is-active{color:var(--crm-text-primary);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft)}.commission-workflow-layout{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface);min-height:680px;box-shadow:var(--crm-shadow-soft);grid-template-columns:210px minmax(0,1fr) 260px;display:grid;overflow:hidden}.commission-workflow-layout.is-simple{grid-template-columns:minmax(0,1fr) 280px}.commission-workflow-palette,.commission-workflow-config{gap:var(--crm-space-3);min-width:0;padding:var(--crm-space-4);background:var(--crm-surface-muted);flex-direction:column;display:flex;overflow-y:auto}.commission-workflow-palette{border-right:1px solid var(--crm-border-soft)}.commission-workflow-config{border-left:1px solid var(--crm-border-soft)}.commission-workflow-panel-title{justify-content:space-between;align-items:center;gap:var(--crm-space-2);color:var(--crm-text-primary);display:flex}.commission-workflow-panel-title span{color:var(--crm-text-muted);font-size:var(--type-badge)}.commission-workflow-palette-group{gap:6px;display:grid}.commission-workflow-palette-group>small{color:var(--crm-text-muted);font-size:var(--type-helper);letter-spacing:.08em;text-transform:uppercase;margin-top:4px;font-weight:750}.commission-workflow-palette-group button{min-height:34px;color:var(--crm-text-secondary);text-align:left;border-radius:var(--crm-radius-sm);cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:8px;padding:7px 9px;transition:color .15s,border-color .15s,background-color .15s;display:flex}.commission-workflow-palette-group button:hover:not(:disabled){color:var(--crm-text-primary);border-color:var(--crm-border-soft);background:var(--crm-surface)}.commission-workflow-palette-group button:disabled{cursor:default;opacity:.6}.commission-workflow-canvas{background:color-mix(in srgb, var(--crm-surface-muted) 42%, var(--crm-surface));min-width:0;min-height:680px}.commission-workflow-canvas .react-flow__minimap,.commission-workflow-canvas .react-flow__controls{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);overflow:hidden}.commission-workflow-canvas .react-flow__controls-button{color:var(--crm-text-primary);border-color:var(--crm-border-soft);background:var(--crm-surface)}.commission-workflow-canvas .react-flow__edge-path{stroke:var(--crm-accent);stroke-width:1.7px}.commission-workflow-canvas .react-flow__edge.selected .react-flow__edge-path{stroke:var(--crm-info);stroke-width:2.5px}.commission-workflow-node{width:210px;color:var(--crm-text-primary);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);transition:border-color .15s,box-shadow .15s;overflow:visible}.commission-workflow-node.is-selected{border-color:var(--crm-accent);box-shadow:0 0 0 2px var(--crm-accent-soft), var(--crm-shadow-soft)}.commission-business-node{width:225px;min-height:112px;color:var(--crm-text-primary);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);padding:13px 14px;transition:border-color .15s,box-shadow .15s,background-color .15s}.commission-business-node.is-selected{border-color:var(--crm-accent);background:color-mix(in srgb, var(--crm-accent) 5%, var(--crm-surface));box-shadow:0 0 0 2px var(--crm-accent-soft), var(--crm-shadow-soft)}.commission-business-node-kicker{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px;font-weight:780}.commission-business-node-title{align-items:center;gap:8px;display:flex}.commission-business-node-title svg{color:var(--crm-accent)}.commission-business-node-title strong{font-size:var(--type-body-strong)}.commission-business-node p{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);margin:7px 0 0}.commission-business-node-example{color:var(--crm-text-secondary);font-size:var(--type-badge);border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);justify-items:center;gap:2px;margin-top:9px;padding:7px;display:grid}.commission-business-node-example span:last-child{color:var(--crm-accent);font-weight:760}.commission-business-node .react-flow__handle{border:2px solid var(--crm-surface);background:var(--crm-accent);width:10px;height:10px}.commission-workflow-layout.is-simple .react-flow__edge-path{stroke:color-mix(in srgb, var(--crm-accent) 70%, var(--crm-border-strong));stroke-width:2px}.commission-workflow-node-head{border-bottom:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md) var(--crm-radius-md) 0 0;background:var(--crm-surface-muted);gap:3px;padding:10px 12px;display:grid}.commission-workflow-node-head span{font-size:var(--type-badge);font-weight:760}.commission-workflow-node-head small{color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-workflow-node-ports{grid-template-columns:1fr 1fr;gap:8px;padding:8px 0;display:grid}.commission-workflow-port{min-height:24px;color:var(--crm-text-secondary);font-size:var(--type-badge);align-items:center;gap:4px;display:flex;position:relative}.commission-workflow-port.is-input{justify-content:flex-start;padding-left:12px}.commission-workflow-port.is-output{text-align:right;justify-content:flex-end;padding-right:12px}.commission-workflow-port em{color:var(--crm-text-muted);font-size:var(--type-badge);font-style:normal}.commission-workflow-port .react-flow__handle{border:2px solid var(--crm-surface);background:var(--crm-accent);width:9px;height:9px}.commission-workflow-config>label{color:var(--crm-text-primary);font-size:var(--type-label);font-weight:700}.commission-workflow-config>small{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-body)}.commission-business-formula{color:var(--crm-text-muted);font-size:var(--type-badge);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);background:var(--crm-surface);grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7px 10px;padding:10px;display:grid}.commission-business-formula strong{color:var(--crm-text-primary);font-weight:680}.commission-workflow-test-panel{gap:var(--crm-space-3);padding-top:var(--crm-space-4);border-top:1px solid var(--crm-border-soft);margin-top:auto;display:grid}.commission-workflow-results{gap:var(--crm-space-3);display:grid}.commission-workflow-result-list{gap:var(--crm-space-2);display:grid}.commission-workflow-result-list details{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface);overflow:hidden}.commission-workflow-result-list details.has-error{border-color:color-mix(in srgb, var(--crm-danger) 35%, var(--crm-border-soft))}.commission-workflow-result-list summary{justify-content:space-between;align-items:center;gap:var(--crm-space-3);color:var(--crm-text-primary);cursor:pointer;padding:11px 14px;display:flex}.commission-workflow-result-body{gap:var(--crm-space-3);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:0 14px 14px;display:grid}.commission-workflow-result-body>div{min-width:0}.commission-workflow-result-body strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.commission-workflow-result-body pre{max-height:260px;color:var(--crm-text-secondary);font-size:var(--type-code);border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);margin:7px 0 0;padding:10px;overflow:auto}.commission-workflow-result-body ol{gap:5px;max-height:260px;margin:7px 0 0;padding:0;list-style:none;display:grid;overflow:auto}.commission-workflow-result-body li{color:var(--crm-text-secondary);font-size:var(--type-badge);border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;display:flex}.commission-workflow-result-body code{color:var(--crm-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-workflow-error{color:var(--crm-danger);font-size:var(--type-helper);border-radius:var(--crm-radius-sm);background:color-mix(in srgb, var(--crm-danger) 8%, var(--crm-surface));grid-column:1/-1;margin:0;padding:9px 11px}@media (width<=1200px){.commission-summary-grid{grid-template-columns:repeat(3,1fr)}.commission-chip-list{grid-template-columns:repeat(2,1fr)}.commission-plan-grid,.commission-employee-resolution-grid{grid-template-columns:1fr}}@media (width<=1280px){.commission-workflow-layout{grid-template-columns:190px minmax(620px,1fr) 240px;overflow-x:auto}.commission-workflow-layout.is-simple{grid-template-columns:minmax(760px,1fr) 260px}}@media (width<=780px){.commission-summary-grid{grid-template-columns:repeat(2,1fr)}.commission-section-header{flex-direction:column;align-items:stretch}.commission-row-actions{justify-content:flex-start}.commission-chip-list,.commission-employee-resolution-grid,.commission-open-mapping-secondary,.commission-rule-form{grid-template-columns:1fr}.commission-mappings-profile{width:100%}.commission-mappings-profile .crm-select-trigger{width:100%;min-width:0}.commission-mappings-group{padding:var(--crm-space-3)}.commission-employee-resolution-card{grid-template-columns:1fr;align-items:start}.commission-employee-resolution-side{flex-wrap:wrap;justify-content:space-between;align-items:flex-start}.commission-resolution-actions{flex-wrap:wrap;justify-content:flex-start}.commission-pending-invite{justify-content:flex-start}.commission-rule-footer{grid-column:auto}.commission-workflow-layout{grid-template-columns:1fr;overflow:visible}.commission-workflow-palette,.commission-workflow-config{border:0;border-bottom:1px solid var(--crm-border-soft);max-height:360px}.commission-workflow-canvas{min-height:560px}.commission-workflow-result-body{grid-template-columns:1fr}}@media (width<=520px){.commission-summary-grid{grid-template-columns:1fr}}.commission-collection-status-strip{grid-template-columns:repeat(auto-fit,minmax(148px,1fr))}.commission-collection-status-strip>div{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);min-width:0;padding:.72rem .8rem}.commission-collection-status-strip>div span,.commission-collection-status-strip>div strong{display:block}.commission-collection-status-strip>div span{color:var(--crm-text-muted);font-size:var(--type-badge)}.commission-collection-status-strip>div strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);margin-top:.25rem}.commission-collection-table{min-width:1180px}.commission-template-wizard{gap:var(--crm-space-4);min-width:0;display:grid}.commission-template-upload{gap:var(--crm-space-3);padding:var(--crm-space-5);border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);display:grid}.commission-template-section-heading{justify-content:space-between;align-items:center;gap:var(--crm-space-3);display:flex}.commission-template-section-heading>div{align-items:center;gap:var(--crm-space-3);min-width:0;display:flex}.commission-template-section-heading h3,.commission-template-extract-empty h3{color:var(--crm-text-primary);font-size:var(--type-section-title);margin:0;font-weight:700}.commission-template-section-heading p,.commission-template-extract-empty p{color:var(--crm-text-muted);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:3px 0 0}.commission-template-step-number{width:30px;height:30px;color:var(--crm-accent);font-size:var(--type-badge);border:1px solid var(--crm-accent-border);background:var(--crm-accent-soft);border-radius:50%;flex:0 0 30px;place-items:center;font-weight:750;display:inline-grid}.commission-template-file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.commission-template-dropzone{border:1px dashed var(--crm-border-strong);border-radius:var(--crm-radius-lg);background:color-mix(in srgb, var(--crm-surface-muted) 82%, transparent);min-width:0;transition:border-color .16s,background-color .16s,box-shadow .16s;overflow:hidden}.commission-template-dropzone:hover,.commission-template-dropzone.is-dragging{border-color:var(--crm-accent);background:color-mix(in srgb, var(--crm-accent-soft) 55%, var(--crm-surface));box-shadow:0 0 0 3px color-mix(in srgb, var(--crm-accent) 10%, transparent)}.commission-template-dropzone.has-file{border-style:solid;border-color:color-mix(in srgb, var(--crm-success) 42%, var(--crm-border));background:color-mix(in srgb, var(--crm-success) 5%, var(--crm-surface))}.commission-template-dropzone.has-error{border-color:color-mix(in srgb, var(--crm-danger) 55%, var(--crm-border))}.commission-template-dropzone-trigger{width:100%;min-height:174px;padding:var(--crm-space-5);color:var(--crm-text-secondary);text-align:center;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.commission-template-dropzone-trigger:focus-visible{outline:2px solid var(--crm-accent);outline-offset:-4px;border-radius:calc(var(--crm-radius-lg) - 2px)}.commission-template-dropzone-trigger:disabled{cursor:not-allowed;opacity:.65}.commission-template-dropzone-trigger>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);margin-top:3px;font-weight:700}.commission-template-dropzone-trigger>span:not(.commission-template-file-icon):not(.commission-template-format-list){color:var(--crm-text-muted);font-size:var(--type-badge)}.commission-template-file-icon{width:48px;height:48px;color:var(--crm-accent);border:1px solid var(--crm-accent-border);border-radius:var(--crm-radius-lg);background:var(--crm-accent-soft);flex:0 0 48px;place-items:center;display:inline-grid}.commission-template-file-icon.is-success{color:var(--crm-success);border-color:color-mix(in srgb, var(--crm-success) 30%, transparent);background:color-mix(in srgb, var(--crm-success) 10%, var(--crm-surface))}.commission-template-format-list{justify-content:center;align-items:center;gap:6px;margin-top:5px;display:flex}.commission-template-selected-file{min-height:112px;padding:var(--crm-space-4);align-items:center;gap:var(--crm-space-3);grid-template-columns:auto minmax(0,1fr) auto;display:grid}.commission-template-file-copy{min-width:0}.commission-template-file-copy>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.commission-template-file-copy strong{max-width:min(100%,520px);color:var(--crm-text-primary);font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.commission-template-file-copy>span{color:var(--crm-text-muted);font-size:var(--type-badge);margin-top:5px;display:block}.commission-template-file-actions,.commission-template-primary-actions{justify-content:flex-end;align-items:center;gap:var(--crm-space-2);flex-wrap:wrap;display:flex}.commission-template-file-error{color:var(--crm-danger);font-size:var(--type-helper);align-items:center;gap:7px;margin:0;display:flex}.commission-template-recognize-action{padding-top:var(--crm-space-3);justify-content:space-between;align-items:center;gap:var(--crm-space-4);border-top:1px solid var(--crm-border-soft);display:flex}.commission-template-recognize-action>div{min-width:0}.commission-template-recognize-action strong,.commission-template-recognize-action span{display:block}.commission-template-recognize-action strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680}.commission-template-recognize-action span{color:var(--crm-text-muted);font-size:var(--type-badge);margin-top:3px}.commission-template-recognition,.commission-template-step-state,.commission-template-profile-fields{align-items:end;gap:var(--crm-space-3);display:flex}.commission-template-profile-fields .crm-form-field{flex:260px}.commission-template-recognition,.commission-template-step-state{padding:var(--crm-space-4);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface-muted);justify-content:space-between;align-items:center}.commission-template-step-state{z-index:auto;position:static;inset:auto}.commission-template-recognition{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.commission-template-recognition.is-success{border-color:color-mix(in srgb, var(--crm-success) 28%, var(--crm-border));background:color-mix(in srgb, var(--crm-success) 5%, var(--crm-surface))}.commission-template-recognition.is-pending{border-color:color-mix(in srgb, var(--crm-warning) 28%, var(--crm-border));background:color-mix(in srgb, var(--crm-warning) 5%, var(--crm-surface))}.commission-template-recognition-icon,.commission-template-extract-icon{width:38px;height:38px;color:var(--crm-accent);border-radius:var(--crm-radius-md);background:var(--crm-accent-soft);flex:0 0 38px;place-items:center;display:inline-grid}.commission-template-recognition>div{min-width:0}.commission-template-recognition strong,.commission-template-recognition span,.commission-template-step-state span,.commission-template-map-table td small{display:block}.commission-template-recognition strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700}.commission-template-recognition span,.commission-template-map-table td small{color:var(--crm-text-muted);font-size:var(--type-table-body);margin-top:3px}.commission-template-extract-empty{min-height:220px;padding:var(--crm-space-6) var(--crm-space-5);justify-content:center;align-items:center;gap:var(--crm-space-3);text-align:center;border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:linear-gradient(180deg, var(--crm-surface), var(--crm-surface-muted));flex-direction:column;display:flex}.commission-template-extract-empty p{max-width:520px}.modal-backdrop .modal-generic-card .commission-template-wizard .crm-table-shell{min-height:max-content}.commission-template-map-table td{vertical-align:middle}.commission-template-map-table .crm-select-trigger{min-width:220px}.commission-template-warning-stack{gap:var(--crm-space-2);display:grid;position:static}.commission-template-warning{z-index:auto;color:var(--crm-warning);font-size:var(--type-badge);border:1px solid color-mix(in srgb, var(--crm-warning) 35%, transparent);border-radius:var(--crm-radius-md);background:color-mix(in srgb, var(--crm-warning) 9%, transparent);margin:0;padding:9px 12px;position:static;inset:auto}.commission-template-test-results{gap:var(--crm-space-2);display:grid}.commission-template-test-results details{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface)}.commission-template-test-results summary{justify-content:space-between;align-items:center;gap:var(--crm-space-2);cursor:pointer;padding:10px 12px;display:flex}.commission-template-test-grid{gap:var(--crm-space-3);grid-template-columns:repeat(3,minmax(0,1fr));padding:0 12px 12px;display:grid}.commission-template-test-grid pre{font-size:var(--type-code);white-space:pre-wrap;word-break:break-word;border-radius:var(--crm-radius-sm);background:var(--crm-surface-muted);margin:6px 0 0;padding:10px;overflow:hidden}.commission-template-actions{justify-content:flex-end}.commission-template-actions .commission-template-primary-actions{gap:11px}@media (width<=900px){.commission-template-profile-fields{flex-wrap:wrap;align-items:stretch}.commission-template-selected-file{grid-template-columns:auto minmax(0,1fr)}.commission-template-file-actions{grid-column:1/-1;justify-content:flex-end}.commission-template-test-grid{grid-template-columns:1fr}}@media (width<=640px){.commission-template-upload{padding:var(--crm-space-3)}.commission-template-section-heading,.commission-template-recognize-action{flex-direction:column;align-items:stretch}.commission-template-section-heading>.crm-badge{align-self:flex-start}.commission-template-recognize-action .crm-button{width:100%}.commission-template-selected-file{text-align:center;grid-template-columns:1fr}.commission-template-selected-file .commission-template-file-icon{margin-inline:auto}.commission-template-file-copy>div,.commission-template-file-actions{justify-content:center}.commission-template-file-actions .crm-button{flex:150px}.commission-template-recognition{grid-template-columns:auto minmax(0,1fr)}.commission-template-recognition>.crm-status-badge{grid-column:1/-1;justify-self:start}.commission-template-actions{flex-direction:column-reverse;align-items:stretch}.commission-template-actions>.crm-button,.commission-template-primary-actions,.commission-template-primary-actions .crm-button{width:100%}.commission-template-primary-actions{grid-template-columns:1fr;display:grid}}.commission-statements-panel .crm-list-filter-toolbar .crm-search-input{flex:0 340px;width:340px}.commission-statements-panel .crm-list-filter-toolbar .crm-select-trigger{width:190px}.commission-statements-panel .crm-list-filter-toolbar .crm-date-range-picker{width:210px}.commission-statements-table{min-width:1040px}.commission-statements-table .is-numeric,.commission-statement-movements .is-numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.commission-negative-amount{color:var(--crm-danger)!important}.commission-statement-detail{gap:14px;display:grid}.commission-statement-summary{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);grid-template-columns:1fr 1fr 1fr auto;align-items:center;gap:18px;padding:15px 18px;display:grid}.commission-statement-summary>div{gap:4px;display:grid}.commission-statement-summary span{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:650}.commission-statement-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.commission-statement-movements td{vertical-align:middle}.commission-inline-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.commission-dispute-resolution{gap:18px;display:grid}.commission-dispute-resolution>div:first-child{gap:7px;display:grid}.commission-dispute-resolution textarea{resize:none}@media (width<=760px){.commission-statements-panel .crm-list-filter-toolbar .crm-search-input,.commission-statements-panel .crm-list-filter-toolbar .crm-select-trigger,.commission-statements-panel .crm-list-filter-toolbar .crm-date-range-picker{flex:100%;width:100%;max-width:none}.commission-statement-summary{grid-template-columns:1fr 1fr}}.commission-resolution-center>.crm-segmented-tabs{margin-bottom:16px}.commission-disputes-center{gap:16px;display:grid}.commission-dispute-detail,.commission-correction-form{gap:18px;display:grid}.commission-dispute-detail-summary{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface-muted);grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:14px;padding:16px;display:grid}.commission-dispute-detail-summary>div,.commission-dispute-columns section,.commission-correction-form{min-width:0}.commission-dispute-detail-summary span,.commission-dispute-columns dt{color:var(--crm-text-muted);font-size:var(--type-helper)}.commission-dispute-detail-summary strong{margin-top:4px;display:block}.commission-dispute-guidance{border-left:3px solid var(--crm-primary);border-radius:var(--crm-radius-md);background:var(--crm-accent-soft);padding:14px 16px}.commission-dispute-guidance p,.commission-correction-form p,.commission-dispute-timeline p{color:var(--crm-text-secondary);margin:5px 0 0}.commission-dispute-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.commission-dispute-columns section,.commission-correction-form{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);padding:16px}.commission-dispute-columns h4,.commission-dispute-timeline h4,.commission-correction-form h4{margin:0 0 12px}.commission-dispute-columns dl{grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:9px 14px;margin:14px 0 0;display:grid}.commission-dispute-columns dd{overflow-wrap:anywhere;margin:0}.commission-dispute-timeline{gap:10px;display:grid}.commission-dispute-timeline article{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);padding:12px 14px}.commission-dispute-timeline article>div{align-items:center;gap:10px;display:flex}.commission-dispute-timeline time{color:var(--crm-text-muted);font-size:var(--type-helper);margin-left:auto}.commission-dispute-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.commission-correction-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}@media (width<=760px){.commission-dispute-detail-summary,.commission-dispute-columns,.commission-correction-grid{grid-template-columns:1fr}}.my-commissions-page{gap:18px;display:grid}.my-commissions-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.my-commissions-heading{min-width:0}.my-commissions-heading p{max-width:720px}.my-commissions-header-actions{flex:none;align-items:center;gap:12px;display:flex}.my-commissions-period{border-right:1px solid var(--crm-border-soft);color:var(--crm-text-muted);font-size:var(--type-helper);align-items:baseline;gap:5px;padding-right:14px;display:inline-flex}.my-commissions-period strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680}.my-commissions-summary{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-lg);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.my-commissions-summary-item{grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;min-height:92px;padding:15px 18px;display:grid}.my-commissions-summary-item+.my-commissions-summary-item{border-left:1px solid var(--crm-border-soft)}.my-commissions-summary-icon{border:1px solid color-mix(in srgb, var(--crm-accent) 14%, transparent);border-radius:var(--crm-radius-md);width:40px;height:40px;color:var(--crm-accent);background:var(--crm-accent-soft);justify-content:center;align-items:center;display:inline-flex}.my-commissions-summary-item.is-warning .my-commissions-summary-icon{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 9%, var(--crm-surface-elevated))}.my-commissions-summary-item.is-danger .my-commissions-summary-icon{color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 9%, var(--crm-surface-elevated))}.my-commissions-summary-item>div{gap:3px;min-width:0;display:grid}.my-commissions-summary-item small{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:680}.my-commissions-summary-item strong{color:var(--crm-text-primary);font-size:var(--type-section-title);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-commissions-summary-item span:last-child{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-commissions-ledger{gap:14px;min-width:0;display:grid}.my-commissions-ledger-header{justify-content:space-between;align-items:center;gap:16px;padding:0 2px;display:flex}.my-commissions-ledger-header h2{color:var(--crm-text-primary);font-size:var(--type-section-title);line-height:var(--type-line-heading);margin:0}.my-commissions-ledger-header p{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);margin:3px 0 0}.my-commissions-toolbar{padding:0}.my-commissions-filter-control{flex:0 190px;width:190px}.my-commissions-date-filter{flex:0 210px;width:210px}.my-commissions-toolbar .crm-select-trigger,.my-commissions-toolbar .crm-date-trigger,.my-commissions-toolbar>.crm-button{height:42px;min-height:42px}.my-commissions-table-shell{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);box-shadow:var(--crm-shadow-soft);overflow:hidden}.my-commissions-table{table-layout:fixed;min-width:920px}.my-commissions-table th,.my-commissions-table td{vertical-align:middle}.my-commissions-table th{color:var(--crm-text-muted);font-size:var(--type-table-header);letter-spacing:.02em;padding-block:11px}.my-commissions-table td{height:66px;color:var(--crm-text-secondary);font-size:var(--type-table-body);padding-block:10px}.my-commissions-table tbody tr{transition:background-color .15s,border-color .15s}.my-commissions-table tbody tr:hover{background:color-mix(in srgb, var(--crm-accent) 3%, var(--crm-surface-elevated))}.my-commissions-table th:first-child{width:150px}.my-commissions-table th:nth-child(2),.my-commissions-table th:nth-child(3),.my-commissions-table th:nth-child(4){width:155px}.my-commissions-table th:nth-child(5){width:100px}.my-commissions-table th:nth-child(6){width:190px}.my-commissions-table th:nth-child(7){width:84px}.my-commissions-table .is-numeric,.my-commissions-movement-table .is-numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.my-commissions-policy-number{color:var(--crm-text-primary);letter-spacing:.01em;font-weight:750}.my-commissions-company-cell{gap:3px;min-width:0;display:grid}.my-commissions-company-cell strong,.my-commissions-company-cell small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-commissions-company-cell strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:680}.my-commissions-company-cell small{color:var(--crm-text-muted);font-size:var(--type-helper)}.my-commissions-amount{white-space:nowrap;font-weight:780;color:var(--crm-text-primary)!important;font-size:var(--type-body-strong)!important}.my-commissions-amount.is-reversal{color:var(--crm-danger)!important}.my-commissions-statement-detail{gap:14px;display:grid}.my-commissions-statement-overview{border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);grid-template-columns:1.2fr .8fr 1.2fr auto;align-items:center;gap:18px;padding:15px 18px;display:grid}.my-commissions-statement-overview>div{gap:4px;display:grid}.my-commissions-statement-overview span{color:var(--crm-text-muted);font-size:var(--type-helper);font-weight:650}.my-commissions-statement-overview strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.my-commissions-dispute-alert{border:1px solid color-mix(in srgb, var(--crm-danger) 25%, var(--crm-border-soft));border-radius:var(--crm-radius-md);color:var(--crm-danger);background:color-mix(in srgb, var(--crm-danger) 7%, var(--crm-surface-elevated));font-size:var(--type-body);align-items:center;gap:9px;padding:11px 13px;font-weight:650;display:flex}.my-commissions-movement-table{width:100%}.my-commissions-movement-table th{font-size:var(--type-table-header)}.my-commissions-movement-table td{height:64px;font-size:var(--type-table-body)}.my-commissions-dispute-state{justify-items:start;gap:5px;max-width:190px;display:grid}.my-commissions-dispute-state small{width:100%;color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=1120px){.my-commissions-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.my-commissions-summary-item:nth-child(3){border-top:1px solid var(--crm-border-soft);border-left:0}.my-commissions-summary-item:nth-child(4){border-top:1px solid var(--crm-border-soft)}}@media (width<=760px){.my-commissions-header{flex-direction:column;align-items:flex-start}.my-commissions-header-actions{justify-content:space-between;width:100%}.my-commissions-period{border-right:0;padding-right:0}.my-commissions-summary{grid-template-columns:1fr}.my-commissions-summary-item+.my-commissions-summary-item{border-top:1px solid var(--crm-border-soft);border-left:0}.my-commissions-ledger-header{flex-direction:column;align-items:flex-start}.my-commissions-filter-control,.my-commissions-date-filter{flex:100%;width:100%;max-width:none}.my-commissions-statement-overview{grid-template-columns:1fr 1fr}.my-commissions-statement-modal .my-commissions-movement-table .is-numeric{text-align:left;align-items:flex-start}.my-commissions-statement-modal .my-commissions-movement-table td:nth-child(3),.my-commissions-statement-modal .my-commissions-movement-table td:nth-child(7){grid-column:1/-1}}@media (width<=520px){.my-commissions-statement-modal .my-commissions-statement-overview{grid-template-columns:1fr}}.my-commissions-dispute-state{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-items:start;gap:5px;padding:0;display:grid}.my-commissions-dispute-state small{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}.my-commissions-dispute-detail,.my-commissions-dispute-timeline,.my-commissions-reply-form{gap:14px;display:grid}.my-commissions-period-disputes{gap:8px;display:grid}.my-commissions-period-disputes>button{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);background:var(--crm-surface-muted);width:100%;color:inherit;text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;display:flex}.my-commissions-period-disputes>button div{gap:3px;min-width:0;display:grid}.my-commissions-period-disputes>button span:not(.crm-status-badge){color:var(--crm-text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.my-commissions-dispute-detail-header{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface-muted);grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr);gap:16px;padding:16px;display:grid}.my-commissions-dispute-detail-header span{color:var(--crm-text-muted);font-size:var(--type-helper);margin-bottom:6px;display:block}.my-commissions-dispute-timeline h3{margin:0}.my-commissions-dispute-timeline article{border:1px solid var(--crm-border);border-radius:var(--crm-radius-md);padding:12px 14px}.my-commissions-dispute-timeline article>div{justify-content:space-between;gap:12px;display:flex}.my-commissions-dispute-timeline time{color:var(--crm-text-muted);font-size:var(--type-helper)}.my-commissions-dispute-timeline p{margin:7px 0 0}.insurers-code-column{min-width:132px}.insurers-alias-column{min-width:190px}.insurer-code-badge{letter-spacing:.025em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.insurer-alias-summary{color:var(--crm-text-secondary);align-items:baseline;gap:.3rem;display:flex}.insurer-alias-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong)}.insurer-alias-summary span{font-size:var(--type-badge)}.insurer-alias-summary small{max-width:150px;color:var(--crm-text-muted);font-size:var(--type-helper);text-overflow:ellipsis;white-space:nowrap;margin-left:.25rem;display:block;overflow:hidden}.insurer-description-input{resize:none}.insurer-alias-editor{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;display:grid}.insurer-alias-chips{background:var(--crm-surface-muted);border:1px solid var(--crm-border-soft);border-radius:var(--crm-radius-sm);flex-wrap:wrap;align-items:center;gap:.4rem;min-height:38px;padding:.48rem;display:flex}.insurer-alias-chip{min-height:27px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border:1px solid var(--crm-accent-border);font-size:var(--type-badge);border-radius:8px;align-items:center;gap:.18rem;padding-left:.55rem;font-weight:620;display:inline-flex}.insurer-alias-chip .crm-icon-button{width:25px;height:25px;color:inherit}.insurer-alias-empty{color:var(--crm-text-muted);font-size:var(--type-badge)}@media (width<=640px){.insurer-alias-editor{grid-template-columns:1fr}.insurer-alias-editor .crm-button{width:100%}}.role-permissions-page{--role-rail-width:270px}.crm-permissions-layout{gap:1.15rem;display:grid}.crm-entity-hero{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);justify-content:space-between;align-items:center;gap:1.25rem;padding:1.15rem 1.35rem;display:flex}.crm-entity-identity{align-items:center;gap:1.1rem;min-width:0;display:flex}.crm-entity-avatar{border:1px solid var(--crm-accent-border);width:52px;min-width:52px;height:52px;min-height:52px;color:var(--crm-primary);background:var(--crm-accent-soft);border-radius:14px;justify-content:center;align-items:center;display:inline-flex}.crm-entity-copy{flex-direction:column;gap:.35rem;min-width:0;display:flex}.crm-entity-title-row{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.crm-entity-title{color:var(--crm-text-primary);font-size:var(--type-card-title);font-weight:700;line-height:var(--type-line-heading);letter-spacing:-.02em;margin:0}.crm-entity-meta{color:var(--crm-text-secondary);font-size:var(--type-helper);flex-wrap:wrap;align-items:center;gap:.55rem;font-weight:500;display:flex}.crm-mono{border:1px solid var(--crm-border-soft);color:var(--crm-text-primary);background:var(--crm-surface-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--type-code);border-radius:6px;padding:.12rem .45rem;font-weight:600}.role-permission-toolbar{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);min-height:58px;box-shadow:var(--crm-shadow-soft);justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 1rem;display:flex}.role-permission-toolbar .crm-search-input{flex:1;max-width:560px}.role-permission-toolbar-summary{border-left:1px solid var(--crm-border-soft);min-width:120px;color:var(--crm-text-muted);font-size:var(--type-helper);justify-content:flex-end;align-items:baseline;gap:.45rem;padding-left:1rem;font-weight:500;display:flex}.role-permission-toolbar-summary strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:750}.role-permission-workspace{grid-template-columns:var(--role-rail-width) minmax(0, 1fr);align-items:start;gap:1rem;min-height:560px;display:grid}.role-module-rail,.role-permission-panel{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft)}.role-module-rail{position:sticky;top:.75rem;overflow:hidden}.role-module-rail-heading{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;min-height:52px;padding:.8rem 1rem;display:flex}.role-module-rail-heading>span:first-child,.role-panel-kicker{color:var(--crm-text-muted);font-size:var(--type-badge);letter-spacing:.06em;font-weight:750}.role-module-list{flex-direction:column;gap:.32rem;padding:.55rem;display:flex}.role-module-item{width:100%;min-height:58px;color:var(--crm-text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.6rem .75rem;transition:color .14s,background-color .14s,border-color .14s,box-shadow .14s;display:grid}.role-module-item:hover{color:var(--crm-text-primary);background:var(--crm-surface-muted);border-color:var(--crm-border-soft)}.role-module-item:focus-visible,.role-preset-card:focus-visible{border-color:var(--crm-accent-border);box-shadow:var(--crm-focus-ring);outline:0}.role-module-item.is-active{color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-color:var(--crm-accent-border);box-shadow:inset 3px 0 var(--crm-accent)}.role-module-icon{border:1px solid var(--crm-border-soft);width:36px;height:36px;color:var(--crm-text-muted);background:var(--crm-surface-elevated);border-radius:9px;justify-content:center;align-items:center;display:inline-flex}.role-module-item.is-active .role-module-icon{color:var(--crm-accent-hover);border-color:var(--crm-accent-border)}.role-module-copy{flex-direction:column;gap:.18rem;min-width:0;display:flex}.role-module-copy strong{font-size:var(--type-body-strong);text-overflow:ellipsis;white-space:nowrap;color:var(--crm-text-primary);font-weight:650;overflow:hidden}.role-module-copy small{color:var(--crm-text-muted);font-size:var(--type-helper)}.role-module-count{min-width:44px;color:var(--crm-text-muted);background:var(--crm-surface-muted);font-size:var(--type-body-strong);text-align:center;font-weight:700;line-height:var(--type-line-compact);border-radius:999px;padding:.22rem .5rem}.role-module-item.is-active .role-module-count{color:var(--crm-accent-hover);background:var(--crm-surface-elevated)}.role-permission-panel{min-width:0;overflow:hidden}.role-permission-panel-header{border-bottom:1px solid var(--crm-border-soft);background:linear-gradient(145deg, var(--crm-surface-elevated), var(--crm-surface));justify-content:space-between;align-items:center;gap:1.2rem;min-height:104px;padding:1.25rem 1.35rem;display:flex}.role-permission-panel-header h3{color:var(--crm-text-primary);font-size:var(--type-card-title);letter-spacing:-.018em;font-weight:700;line-height:var(--type-line-heading);margin:.25rem 0 0}.role-permission-panel-header p{max-width:760px;color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);margin:.35rem 0 0}.role-preset-section{border-bottom:1px solid var(--crm-border-soft);background:color-mix(in srgb, var(--crm-accent-soft) 24%, var(--crm-surface));padding:1.1rem 1.35rem 1.2rem}.role-preset-heading h4,.role-permission-list-heading h4{color:var(--crm-text-primary);font-size:var(--type-card-title);align-items:center;gap:.5rem;margin:0;font-weight:700;display:flex}.role-preset-heading h4 svg{color:var(--crm-accent)}.role-preset-heading p,.role-permission-list-heading p{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-heading);margin:.3rem 0 0}.role-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:.85rem;display:grid}.role-preset-card{border:1px solid var(--crm-border);min-height:124px;color:var(--crm-text-secondary);background:var(--crm-surface-elevated);box-shadow:var(--crm-shadow-soft);font:inherit;text-align:left;cursor:pointer;border-radius:10px;grid-template-rows:auto 1fr;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:.35rem .65rem;padding:.95rem 1rem;transition:color .14s,background-color .14s,border-color .14s,box-shadow .14s;display:grid}.role-preset-card:hover,.role-preset-card.is-selected{border-color:var(--crm-accent-border);background:var(--crm-accent-soft)}.role-preset-card.is-selected{box-shadow:inset 0 0 0 1px var(--crm-accent-border)}.role-preset-card>span{width:32px;height:32px;color:var(--crm-accent-hover);background:var(--crm-accent-soft);border-radius:8px;grid-row:1/3;justify-content:center;align-self:start;align-items:center;display:inline-flex}.role-preset-card strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700;line-height:var(--type-line-compact)}.role-preset-card small{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-compact);align-self:start}.role-preset-card b{color:var(--crm-accent-hover);font-size:var(--type-badge);white-space:nowrap;align-self:start;font-weight:700}.role-preset-preview{border:1px solid var(--crm-accent-border);background:var(--crm-surface-elevated);border-radius:10px;justify-content:space-between;align-items:center;gap:1rem;margin-top:.85rem;padding:.95rem 1.1rem;display:flex}.role-preset-preview-copy{min-width:0}.role-preset-preview-copy>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:650}.role-preset-permissions{flex-wrap:wrap;gap:.35rem;margin-top:.45rem;display:flex}.role-preset-permissions code,.role-permission-copy>code{border:1px solid var(--crm-border-soft);width:fit-content;color:var(--crm-text-secondary);background:var(--crm-surface-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--type-code);border-radius:6px;padding:.2rem .45rem;font-weight:500}.role-permission-list-section{background:var(--crm-surface)}.role-permission-list-heading{border-bottom:1px solid var(--crm-border-soft);justify-content:space-between;align-items:center;gap:1rem;min-height:64px;padding:.95rem 1.35rem;display:flex}.role-permission-list{flex-direction:column;display:flex}.role-permission-row{border-bottom:1px solid var(--crm-border-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.25rem;min-height:96px;padding:1.1rem 1.35rem;transition:background-color .14s;display:grid}.role-permission-row:last-child{border-bottom:0}.role-permission-row:hover{background:color-mix(in srgb, var(--crm-accent-soft) 20%, transparent)}.role-permission-row.is-locked{background:color-mix(in srgb, var(--crm-warning) 5%, var(--crm-surface))}.role-permission-copy{flex-direction:column;align-items:flex-start;gap:.45rem;min-width:0;display:flex}.role-permission-title-line{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.role-permission-title-line>strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700;line-height:var(--type-line-heading)}.role-permission-copy>p{max-width:820px;color:var(--crm-text-secondary);font-size:var(--type-body);line-height:var(--type-line-body);margin:0}.role-permission-lock-reason{color:var(--crm-warning);font-size:var(--type-badge);align-items:center;gap:.35rem;margin-top:.2rem;font-weight:600;display:inline-flex}.role-permission-save-bar{z-index:20;border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:color-mix(in srgb, var(--crm-surface-elevated) 97%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-height:74px;box-shadow:var(--crm-shadow-soft);justify-content:space-between;align-items:center;gap:1rem;padding:.9rem 1.35rem;display:flex}.role-permission-save-bar.has-changes{border-color:var(--crm-accent-border);box-shadow:var(--crm-shadow-elevated), inset 3px 0 var(--crm-accent)}.role-save-status{align-items:center;gap:.75rem;display:flex}.role-save-status>span{width:38px;height:38px;color:var(--crm-success);background:color-mix(in srgb, var(--crm-success) 12%, transparent);border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.role-permission-save-bar.has-changes .role-save-status>span{color:var(--crm-warning);background:color-mix(in srgb, var(--crm-warning) 12%, transparent)}.role-save-status>div{flex-direction:column;gap:.18rem;display:flex}.role-save-status strong{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:650}.role-save-status small{color:var(--crm-text-secondary);font-size:var(--type-helper);font-weight:500}@media (width<=1040px){.role-permission-workspace{grid-template-columns:230px minmax(0,1fr)}.role-preset-grid{grid-template-columns:1fr}.role-preset-card{min-height:94px}}@media (width<=820px){.crm-entity-hero{flex-direction:column;align-items:flex-start;gap:1rem}.crm-entity-actions,.crm-entity-actions .crm-button{width:100%}.role-permission-workspace{flex-direction:column;display:flex}.role-module-rail{width:100%;position:static}.role-module-list{scrollbar-gutter:stable;flex-direction:row;overflow-x:auto}.role-module-item{width:220px;min-width:220px}.role-permission-panel{width:100%}}@media (width<=680px){.role-permission-toolbar{flex-direction:column;align-items:stretch}.role-permission-toolbar-summary{border-top:1px solid var(--crm-border-soft);border-left:0;justify-content:flex-start;padding:.5rem 0 0}.role-permission-panel-header,.role-preset-preview,.role-permission-list-heading,.role-permission-save-bar{flex-direction:column;align-items:stretch;gap:.85rem}.role-permission-panel-header .crm-inline-actions,.role-preset-preview .crm-inline-actions,.role-permission-save-bar .crm-inline-actions{width:100%}.role-permission-panel-header .crm-button,.role-preset-preview .crm-button,.role-permission-save-bar .crm-button{flex:1}.role-permission-row{grid-template-columns:minmax(0,1fr) auto}}@media (width<=460px){.crm-entity-identity{flex-direction:column;align-items:flex-start;gap:.75rem}.role-module-item{width:195px;min-width:195px}.role-permission-panel-header,.role-preset-section,.role-permission-list-heading,.role-permission-row{padding-left:.85rem;padding-right:.85rem}.role-permission-save-bar .crm-inline-actions{flex-direction:column}}.crm-permission-modules{gap:1rem;display:grid}.crm-permission-module{border:1px solid var(--crm-border);border-radius:var(--crm-radius-lg);background:var(--crm-surface);box-shadow:var(--crm-shadow-soft);overflow:hidden}.crm-permission-module-header{border-bottom:1px solid var(--crm-border-soft);background:var(--crm-surface-muted);justify-content:space-between;align-items:center;min-height:54px;padding:.85rem 1.25rem;display:flex}.crm-module-heading{color:var(--crm-text-primary);align-items:center;gap:.55rem;display:flex}.crm-module-title{font-size:var(--type-section-title);margin:0;font-weight:700}.crm-permission-name{color:var(--crm-text-primary);font-size:var(--type-body-strong);font-weight:700}.crm-permission-description{color:var(--crm-text-secondary);font-size:var(--type-helper);line-height:var(--type-line-body);margin:0}.crm-permission-options{align-items:center;gap:.85rem;display:flex}
