:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}:root{color:#1f2937;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button,a{font-family:inherit}button{cursor:pointer}.crm-app{background:#f5f7fb;min-height:100vh;display:flex}.sidebar{z-index:10;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;width:250px;min-height:100vh;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{border-bottom:1px solid #f0f1f3;align-items:center;gap:12px;height:76px;padding:0 24px;display:flex}.brand-logo{color:#fff;background:#d71920;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:21px;font-weight:800;display:flex}.brand h1{color:#111827;margin:0;font-size:18px;line-height:20px}.brand span{color:#d71920;letter-spacing:2px;font-size:12px;font-weight:700}.sidebar-menu{flex:1;padding:20px 14px;overflow-y:auto}.menu-section{color:#9ca3af;letter-spacing:1px;padding:12px 12px 8px;font-size:10px;font-weight:700}.menu-item{color:#6b7280;border-radius:8px;align-items:center;gap:12px;min-height:44px;margin-bottom:4px;padding:0 13px;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.menu-item span{text-align:center;width:20px;font-size:16px}.menu-item:hover{color:#d71920;background:#fef2f2}.menu-item.active{color:#fff;background:#d71920;font-weight:600}.sidebar-bottom{border-top:1px solid #f0f1f3;padding:16px}.company-info{align-items:center;gap:10px;display:flex}.company-avatar{color:#d71920;background:#fef2f2;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:10px;font-weight:800;display:flex}.company-info strong{color:#374151;font-size:11px;display:block}.company-info small{color:#9ca3af;margin-top:3px;font-size:10px;display:block}.main-content{width:calc(100% - 250px);min-height:100vh;margin-left:250px}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:76px;padding:0 32px;display:flex}.topbar h2{color:#111827;margin:0;font-size:21px}.topbar p{color:#9ca3af;margin:4px 0 0;font-size:12px}.topbar-right{align-items:center;gap:20px;display:flex}.notification-button{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:38px;height:38px;font-size:15px}.user-profile{align-items:center;gap:10px;display:flex}.user-avatar{color:#fff;background:#d71920;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:flex}.user-profile strong{color:#374151;font-size:12px;display:block}.user-profile small{color:#9ca3af;margin-top:2px;font-size:10px;display:block}.dashboard-content{padding:28px 32px 40px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:15px;padding:20px;display:flex}.stat-icon{border-radius:9px;justify-content:center;align-items:center;width:45px;height:45px;font-size:18px;font-weight:700;display:flex}.stat-icon.blue{color:#2563eb;background:#eff6ff}.stat-icon.green{color:#059669;background:#ecfdf5}.stat-icon.orange{color:#ea580c;background:#fff7ed}.stat-icon.red{color:#dc2626;background:#fef2f2}.stat-card span{color:#9ca3af;font-size:11px;display:block}.stat-card strong{color:#111827;margin:3px 0;font-size:25px;display:block}.stat-card small{color:#9ca3af;font-size:10px;display:block}.dashboard-grid{grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:20px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:22px}.dashboard-grid .dashboard-card{margin-bottom:0}.card-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;display:flex}.card-header h3{color:#111827;margin:0;font-size:15px}.card-header p{color:#9ca3af;margin:5px 0 0;font-size:11px}.view-button{color:#d71920;background:0 0;border:none;font-size:11px;font-weight:600}.pipeline{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.pipeline-item{text-align:center;background:#f9fafb;border-radius:8px;padding:18px 10px}.pipeline-item span{color:#9ca3af;margin-bottom:7px;font-size:10px;display:block}.pipeline-item strong{color:#111827;font-size:22px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:145px;display:flex}.empty-icon{color:#059669;background:#ecfdf5;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:10px;display:flex}.empty-state strong{color:#374151;font-size:12px}.empty-state span{color:#9ca3af;margin-top:5px;font-size:10px}.quick-actions{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.quick-actions button{color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-height:75px;font-size:11px;font-weight:500;transition:all .2s}.quick-actions button:hover{color:#d71920;background:#fef2f2;border-color:#d71920}.quick-actions button span{margin-bottom:7px;font-size:20px;display:block}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(3,1fr)}}@media (width<=768px){.sidebar{width:70px}.brand{justify-content:center;padding:0}.brand>div:last-child,.menu-section,.menu-item{font-size:0}.menu-item{justify-content:center;padding:0}.menu-item span{font-size:17px}.company-info>div:last-child{display:none}.company-info{justify-content:center}.main-content{width:calc(100% - 70px);margin-left:70px}.topbar{padding:0 20px}.dashboard-content{padding:20px}.user-profile>div:last-child{display:none}.stats-grid,.pipeline,.quick-actions{grid-template-columns:1fr 1fr}}@media (width<=500px){.stats-grid,.quick-actions{grid-template-columns:1fr}.topbar h2{font-size:18px}.topbar p{font-size:10px}}.page-content{box-sizing:border-box;width:100%;padding:0}.page-content>.leads-page,.page-content>.dashboard-content{box-sizing:border-box;width:100%}.sidebar{z-index:1000;position:fixed;top:0;bottom:0;left:0}.main-content{box-sizing:border-box;width:calc(100% - 180px);min-height:100vh;margin-left:180px}.topbar{z-index:100;position:sticky;top:0}.menu-item.active{color:#fff;background:#e31b23}.menu-item:hover{background:#f5f5f5}.menu-item.active:hover{color:#fff;background:#e31b23}html,body,#root{width:100%;min-width:100%;min-height:100%;margin:0;padding:0}.crm-app{width:100%;min-height:100vh;display:flex}.sidebar{z-index:1000;width:180px;min-width:180px;position:fixed;top:0;bottom:0;left:0}.main-content{box-sizing:border-box;min-width:0;width:calc(100% - 180px)!important;max-width:none!important;margin-left:180px!important}.topbar{box-sizing:border-box;width:100%;max-width:none!important}.page-content{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:24px 32px!important}.dashboard-content{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;display:grid}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;width:100%;display:grid}.dashboard-card{box-sizing:border-box;width:100%}.quick-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;display:grid}@media (width<=1000px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.sidebar{width:220px;min-width:220px}.main-content{width:calc(100% - 220px)!important;margin-left:220px!important}.page-content{padding:16px!important}.stats-grid,.quick-actions{grid-template-columns:1fr}}.crm-app{--sidebar-width:230px;width:100%;min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);min-width:var(--sidebar-width);z-index:1000;background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;transition:width .25s,min-width .25s;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-toggle{color:#d71920;cursor:pointer;z-index:1100;background:#fff;border:1px solid #e5e7eb;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;font-weight:700;transition:all .2s;display:flex;position:absolute;top:14px;right:-18px;box-shadow:0 2px 8px #00000014}.sidebar-toggle:hover{color:#fff;background:#d71920}.main-content{width:calc(100% - var(--sidebar-width));min-width:0;margin-left:var(--sidebar-width);transition:margin-left .25s,width .25s}.crm-app.sidebar-collapsed{--sidebar-width:70px}.crm-app.sidebar-collapsed .sidebar{width:70px;min-width:70px}.crm-app.sidebar-collapsed .main-content{width:calc(100% - 70px);margin-left:70px}.crm-app.sidebar-collapsed .brand{justify-content:center;padding-left:0;padding-right:0}.crm-app.sidebar-collapsed .brand>div:last-child,.crm-app.sidebar-collapsed .menu-section{display:none}.crm-app.sidebar-collapsed .menu-item{justify-content:center;padding-left:0;padding-right:0}.crm-app.sidebar-collapsed .menu-item span{margin-right:0}.crm-app.sidebar-collapsed .menu-item{font-size:0}.crm-app.sidebar-collapsed .menu-item span{font-size:16px}.crm-app.sidebar-collapsed .company-info{justify-content:center}.crm-app.sidebar-collapsed .company-info>div:last-child{display:none}.dashboard-content,.leads-page,.pipeline-page{box-sizing:border-box;width:100%;max-width:none}@media (width<=768px){.crm-app{--sidebar-width:0px}.sidebar{width:230px;min-width:230px;transition:transform .25s;transform:translate(-100%)}.main-content{width:100%;margin-left:0}.crm-app:not(.sidebar-collapsed) .sidebar{transform:translate(0)}.crm-app.sidebar-collapsed .sidebar{width:230px;min-width:230px;transform:translate(-100%)}.crm-app.sidebar-collapsed .main-content{width:100%;margin-left:0}.sidebar-toggle{top:12px;right:-46px}}html,body,#root{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow-x:hidden!important}.crm-app{--kapten-sidebar-collapsed:72px;--kapten-sidebar-expanded:240px;background:#f5f7fb!important;width:100%!important;min-width:0!important;min-height:100vh!important;display:block!important}@media (width>=769px){.crm-app .sidebar{width:var(--kapten-sidebar-collapsed)!important;min-width:var(--kapten-sidebar-collapsed)!important;max-width:var(--kapten-sidebar-collapsed)!important;z-index:1000!important;background:#fff!important;border-right:1px solid #e6eaf0!important;flex-direction:column!important;height:100vh!important;transition:width .22s,min-width .22s,max-width .22s,box-shadow .22s!important;display:flex!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;overflow:hidden!important}.crm-app.sidebar-collapsed .sidebar:hover{width:var(--kapten-sidebar-expanded)!important;min-width:var(--kapten-sidebar-expanded)!important;max-width:var(--kapten-sidebar-expanded)!important;box-shadow:10px 0 28px #1018281f!important}.crm-app .main-content,.crm-app.sidebar-collapsed .main-content{width:calc(100% - var(--kapten-sidebar-collapsed))!important;min-width:0!important;margin-left:var(--kapten-sidebar-collapsed)!important;min-height:100vh!important;transition:margin-left .22s,width .22s!important}.crm-app.sidebar-collapsed .sidebar:hover~.main-content{width:calc(100% - var(--kapten-sidebar-collapsed))!important;margin-left:var(--kapten-sidebar-collapsed)!important}.crm-app .brand,.crm-app.sidebar-collapsed .brand{flex:0 0 76px!important;justify-content:center!important;gap:0!important;width:100%!important;height:76px!important;min-height:76px!important;padding:0!important}.crm-app.sidebar-collapsed .brand>div:last-child{display:none!important}.crm-app.sidebar-collapsed .sidebar:hover .brand{justify-content:flex-start!important;gap:11px!important;padding:0 16px!important}.crm-app.sidebar-collapsed .sidebar:hover .brand>div:last-child{display:block!important}.crm-app .sidebar-menu{padding:14px 9px!important;overflow:hidden auto!important}.crm-app .menu-item,.crm-app.sidebar-collapsed .menu-item{justify-content:center!important;gap:0!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0 0 4px!important;padding:0!important;overflow:hidden!important}.crm-app.sidebar-collapsed .menu-item>span:nth-child(2){display:none!important}.crm-app.sidebar-collapsed .sidebar:hover .menu-item{justify-content:flex-start!important;gap:11px!important;padding:0 12px!important}.crm-app.sidebar-collapsed .sidebar:hover .menu-item>span:nth-child(2){white-space:nowrap!important;display:block!important}.crm-app .sidebar-bottom{padding:10px!important}.crm-app.sidebar-collapsed .company-info{justify-content:center!important;padding:4px!important}.crm-app.sidebar-collapsed .company-info>div:last-child{display:none!important}.crm-app.sidebar-collapsed .sidebar:hover .company-info{justify-content:flex-start!important;padding:8px!important}.crm-app.sidebar-collapsed .sidebar:hover .company-info>div:last-child{display:block!important}.crm-app .mobile-menu-button{display:none!important}.crm-app .topbar{z-index:900!important;width:100%!important;height:76px!important;min-height:76px!important;padding:0 24px!important;position:sticky!important;top:0!important}}@media (width<=768px){.crm-app{width:100%!important;min-width:0!important;overflow-x:hidden!important}.crm-app .sidebar,.crm-app.sidebar-collapsed .sidebar{z-index:1200!important;width:min(280px,84vw)!important;min-width:min(280px,84vw)!important;max-width:min(280px,84vw)!important;height:100dvh!important;transition:transform .22s!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;overflow:hidden!important;transform:translate(-105%)!important;box-shadow:12px 0 32px #10182829!important}.crm-app.sidebar-open .sidebar{transform:translate(0)!important}.crm-app.sidebar-collapsed .sidebar:hover{width:min(280px,84vw)!important;transform:translate(-105%)!important}.crm-app.sidebar-open .sidebar:hover{transform:translate(0)!important}.crm-app .main-content,.crm-app.sidebar-collapsed .main-content,.crm-app.sidebar-open .main-content{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding-top:54px!important;overflow-x:hidden!important}.crm-app .topbar{z-index:1150!important;-webkit-backdrop-filter:blur(12px)!important;background:#fffffff5!important;border-bottom:1px solid #e7eaf0!important;width:100%!important;height:54px!important;min-height:54px!important;padding:7px 10px!important;position:fixed!important;top:0!important;left:0!important;right:0!important;box-shadow:0 1px 8px #1018280f!important}.crm-app .mobile-menu-button{color:#344054!important;background:#fff!important;border:1px solid #dfe3e8!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;width:34px!important;min-width:34px!important;height:34px!important;margin:0!important;padding:0!important;font-size:18px!important;line-height:1!important;display:flex!important}.crm-app .mobile-menu-button:hover{background:#f8fafc!important}.crm-app .topbar>div:first-child{flex:auto!important;gap:7px!important;min-width:0!important}.crm-app .topbar h2{white-space:nowrap!important;text-overflow:ellipsis!important;max-width:48vw!important;margin:0!important;font-size:15px!important;line-height:18px!important;overflow:hidden!important}.crm-app .topbar p{display:none!important}.crm-app .topbar-right{flex:none!important;gap:5px!important}.crm-app .theme-toggle,.crm-app .notification-button{border-radius:8px!important;width:32px!important;min-width:32px!important;height:32px!important;padding:0!important;font-size:14px!important}.crm-app .user-profile{gap:0!important}.crm-app .user-profile>div:last-child{display:none!important}.crm-app .user-avatar{width:32px!important;min-width:32px!important;height:32px!important;font-size:12px!important}.crm-app .page-content{width:100%!important;min-width:0!important;max-width:100%!important;padding:12px 10px 24px!important;overflow-x:hidden!important}.crm-app.sidebar-open .brand{justify-content:flex-start!important;gap:11px!important;padding:0 16px!important}.crm-app.sidebar-open .brand>div:last-child{display:block!important}.crm-app.sidebar-open .menu-item{justify-content:flex-start!important;gap:11px!important;padding:0 12px!important}.crm-app.sidebar-open .menu-item>span:nth-child(2){display:block!important}.crm-app.sidebar-open .company-info{justify-content:flex-start!important;padding:8px!important}.crm-app.sidebar-open .company-info>div:last-child{display:block!important}.crm-app .mobile-sidebar-backdrop{display:none!important}.crm-app.sidebar-open .mobile-sidebar-backdrop{z-index:1100!important;background:#0f172a61!important;border:0!important;border-radius:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;display:block!important;position:fixed!important;inset:0!important}.crm-app .dashboard-grid,.crm-app .report-grid,.crm-app .card-grid,.crm-app .form-grid,.crm-app .content-grid,.crm-app .two-column,.crm-app .three-column{grid-template-columns:1fr!important;width:100%!important}.crm-app .stats-grid,.crm-app .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}.crm-app table{min-width:650px!important}.crm-app .table-container,.crm-app .table-wrapper,.crm-app .table-responsive,.crm-app .data-table-wrapper{-webkit-overflow-scrolling:touch!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}}@media (width<=480px){.crm-app .topbar{height:52px!important;min-height:52px!important;padding:6px 9px!important}.crm-app .main-content,.crm-app.sidebar-collapsed .main-content,.crm-app.sidebar-open .main-content{padding-top:52px!important}.crm-app .page-content{padding:10px 10px 20px!important}.crm-app .stats-grid{grid-template-columns:1fr 1fr!important}.crm-app .quick-actions{grid-template-columns:1fr!important}}.crm-app.dark-mode .mobile-menu-button{color:#e7e9ed!important;background:#23262c!important;border-color:#353941!important}.users-page{width:100%}.users-add-button{color:#fff;cursor:pointer;background:#d71920;border:none;border-radius:7px;padding:10px 16px;font-size:13px;font-weight:600}.users-form-header h3{color:#1f2937;margin:0;font-size:17px}.users-close-button{color:#6b7280;cursor:pointer;background:#f3f4f6;border:none;border-radius:6px;width:32px;height:32px;font-size:20px}.users-form-field input,.users-form-field select{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:10px 12px;font-size:13px}.users-form-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.users-cancel-button,.users-save-button{cursor:pointer;border:none;border-radius:7px;padding:9px 16px;font-size:13px;font-weight:600}.users-table-header{border-bottom:1px solid #e5e7eb;padding:18px 20px}.users-table-header span{color:#9ca3af;margin-top:4px;font-size:12px;display:block}.users-table th{text-align:center;color:#6b7280;text-transform:uppercase;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:12px 20px;font-size:11px;font-weight:700}.users-name-cell{align-items:center;gap:10px;font-weight:600;display:flex}.users-avatar{color:#d71920;background:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:flex}.users-role{color:#4b5563;background:#f3f4f6;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.users-status{border-radius:20px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.users-delete-button{color:#dc2626;cursor:pointer;background:0 0;border:none;font-size:12px;font-weight:600}.crm-app.dark-mode .users-form-header p{color:#9aa2ad}.crm-app.dark-mode .users-table-header{border-bottom-color:#2b3037}.crm-app.dark-mode .users-table th{color:#8d96a3;background:#181b1f;border-bottom-color:#2b3037}.crm-app.dark-mode .users-close-button,.crm-app.dark-mode .users-cancel-button,.crm-app.dark-mode .users-role{color:#cbd1d8;background:#292e35}@media (width<=768px){.users-page-header{flex-direction:column}.users-add-button{width:100%}.users-form-grid{grid-template-columns:1fr}.users-form-card{padding:18px}.users-page-header h2{font-size:21px}}.users-page{width:100%;max-width:100%}.users-page-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;display:flex}.users-page-header h2{color:#18212f;margin:0;font-size:22px;font-weight:700}.users-page-header p{color:#8b96a7;margin:6px 0 0;font-size:13px}.users-add-button{color:#fff;cursor:pointer;background:#d71920;border:0;border-radius:7px;padding:10px 16px;font-size:13px;font-weight:600;transition:background .15s,transform .15s}.users-add-button:hover{background:#b9151b}.users-add-button:active{transform:translateY(1px)}.users-form-card{background:#fff;border:1px solid #e5e9ef;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 2px 8px #1018280a}.users-form-header{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.users-form-header h3{color:#18212f;margin:0;font-size:16px;font-weight:700}.users-form-header p{color:#8b96a7;margin:5px 0 0;font-size:12px}.users-close-button{color:#667085;cursor:pointer;background:#f3f5f7;border:0;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;line-height:1;display:flex}.users-close-button:hover{background:#e9ecef}.users-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.users-form-field{flex-direction:column;gap:7px;display:flex}.users-form-field label{color:#344054;font-size:12px;font-weight:600}.users-form-field input,.users-form-field select{box-sizing:border-box;color:#18212f;background:#fff;border:1px solid #d9dee7;border-radius:7px;outline:none;width:100%;min-height:40px;padding:9px 11px;font-family:inherit;font-size:13px;transition:border-color .15s}.users-form-field input::placeholder{color:#a3acb9}.users-form-field input:focus,.users-form-field select:focus{border-color:#d71920}.users-form-actions{border-top:1px solid #edf0f3;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:18px;display:flex}.users-cancel-button,.users-save-button{cursor:pointer;border:0;border-radius:7px;min-width:90px;padding:9px 15px;font-size:12px;font-weight:600}.users-cancel-button{color:#475467;background:#f1f3f5}.users-cancel-button:hover{background:#e5e7eb}.users-save-button{color:#fff;background:#d71920}.users-save-button:hover{background:#b9151b}.users-table-card{background:#fff;border:1px solid #e5e9ef;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #1018280a}.users-table-header{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.users-table-header h3{color:#18212f;margin:0;font-size:15px;font-weight:700}.users-table-header p{color:#98a2b3;margin:4px 0 0;font-size:11px}.users-table-wrapper{width:100%;overflow-x:auto}.users-table{border-collapse:collapse;width:100%;min-width:760px}.users-table th{color:#667085;text-align:left;text-transform:uppercase;letter-spacing:.03em;background:#fafbfc;border-bottom:1px solid #edf0f3;padding:12px 20px;font-size:10px;font-weight:700}.users-table td{color:#475467;border-bottom:1px solid #f0f2f5;padding:14px 20px;font-size:12px}.users-table tbody tr:last-child td{border-bottom:0}.users-table tbody tr:hover{background:#fcfcfd}.users-name-cell{align-items:center;gap:10px;display:flex}.users-name-cell strong{color:#18212f;font-size:12px;font-weight:600}.users-avatar{color:#d71920;background:#fee2e2;border-radius:50%;flex:0 0 34px;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:flex}.users-role{color:#475467;background:#f2f4f7;border-radius:5px;align-items:center;padding:5px 9px;font-size:10px;font-weight:600;display:inline-flex}.users-status{border-radius:20px;align-items:center;gap:6px;padding:5px 9px;font-size:10px;font-weight:600;display:inline-flex}.users-status.active{color:#027a48;background:#ecfdf3}.users-status.inactive{color:#667085;background:#f2f4f7}.users-status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.users-delete-button{color:#d71920;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:11px;font-weight:600}.users-delete-button:hover{text-decoration:underline}.crm-app.dark-mode .users-page-header h2{color:#e5e7eb}.crm-app.dark-mode .users-page-header p{color:#98a2b3}.crm-app.dark-mode .users-form-card,.crm-app.dark-mode .users-table-card{box-shadow:none;background:#1d2126;border-color:#2b3037}.crm-app.dark-mode .users-form-header h3,.crm-app.dark-mode .users-table-header h3{color:#e5e7eb}.crm-app.dark-mode .users-form-header p,.crm-app.dark-mode .users-table-header p{color:#98a2b3}.crm-app.dark-mode .users-form-field label{color:#d0d5dd}.crm-app.dark-mode .users-form-field input,.crm-app.dark-mode .users-form-field select{color:#e5e7eb;background:#15181c;border-color:#343a42}.crm-app.dark-mode .users-form-field input::placeholder{color:#667085}.crm-app.dark-mode .users-form-actions{border-top-color:#2b3037}.crm-app.dark-mode .users-cancel-button,.crm-app.dark-mode .users-close-button{color:#d0d5dd;background:#292e35}.crm-app.dark-mode .users-table-header,.crm-app.dark-mode .users-table th{border-bottom-color:#2b3037}.crm-app.dark-mode .users-table th{color:#98a2b3;background:#181b1f}.crm-app.dark-mode .users-table td{color:#d0d5dd;border-bottom-color:#2b3037}.crm-app.dark-mode .users-table tbody tr:hover{background:#22272e}.crm-app.dark-mode .users-name-cell strong{color:#e5e7eb}.crm-app.dark-mode .users-role{color:#d0d5dd;background:#292e35}@media (width<=768px){.users-page-header{flex-direction:column;gap:14px}.users-add-button{width:100%}.users-form-grid{grid-template-columns:1fr}.users-form-card{padding:17px}.users-table-card{border-radius:8px}.users-table th,.users-table td{padding-left:14px;padding-right:14px}}.crm-app .page-content table th,.crm-app .page-content table td{text-align:center;vertical-align:middle}.crm-app .page-content .users-table .users-name-cell{justify-content:center}.customers-page table{table-layout:fixed;width:100%}.customers-page table th,.customers-page table td{text-align:center;vertical-align:middle}.customers-page table th:first-child,.customers-page table td:first-child{width:24%}.customers-page table th:nth-child(2),.customers-page table td:nth-child(2){width:12%}.customers-page table th:nth-child(3),.customers-page table td:nth-child(3),.customers-page table th:nth-child(4),.customers-page table td:nth-child(4){width:14%}.customers-page table th:nth-child(5),.customers-page table td:nth-child(5),.customers-page table th:nth-child(6),.customers-page table td:nth-child(6){width:18%}.customers-page table td:last-child{white-space:nowrap;text-align:center!important;vertical-align:middle!important}.customers-page table td:last-child>div{align-items:center;gap:6px;width:100%;margin:0 auto;display:flex;justify-content:center!important}.customers-page table td:last-child>button{margin-left:3px;margin-right:3px}.customers-page table td:last-child>div>button{margin:0}.crm-app .page-content table:not(.users-table) th,.crm-app .page-content table:not(.users-table) td{text-align:center!important;vertical-align:middle!important}.crm-app .page-content table:not(.users-table) td:last-child{white-space:nowrap;text-align:center!important}.crm-app .page-content table:not(.users-table) td:last-child>div{align-items:center;gap:6px;width:100%;margin:0 auto;display:flex;justify-content:center!important}.crm-app .page-content .users-table td:last-child{white-space:nowrap;text-align:center!important;padding-left:20px!important;padding-right:20px!important}.crm-app .page-content .users-table td:last-child button{margin-left:5px!important;margin-right:5px!important}.crm-app .page-content .users-table th:first-child,.crm-app .page-content .users-table td:first-child{text-align:left!important;padding-left:20px!important;padding-right:20px!important}.crm-app .page-content .users-table .users-name-cell{justify-content:flex-start!important;align-items:center!important;gap:12px!important;width:100%!important;margin:0!important;padding:0!important;display:flex!important}.crm-app .page-content .users-table .users-avatar{flex:0 0 34px!important;width:34px!important;height:34px!important;margin:0!important}.crm-app .page-content .users-table .users-name-cell>div:last-child{text-align:left!important;margin:0!important;padding:0!important}.crm-app .page-content .users-table .users-name-cell strong{white-space:nowrap;text-align:left!important;margin:0!important;padding:0!important;display:block!important}.leads-page{padding:30px 32px}.leads-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.leads-header h2{color:#111827;margin:0;font-size:21px}.leads-header p{color:#9ca3af;margin:5px 0 0;font-size:12px}.add-lead-button{color:#fff;background:#d71920;border:none;border-radius:7px;padding:11px 17px;font-size:12px;font-weight:600}.add-lead-button:hover{background:#b9151b}.leads-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.leads-toolbar{border-bottom:1px solid #e5e7eb;gap:10px;padding:18px;display:flex}.leads-toolbar input,.leads-toolbar select{color:#374151;border:1px solid #d1d5db;border-radius:7px;outline:none;height:38px;padding:0 12px;font-size:12px}.leads-toolbar input{width:300px}.leads-toolbar input:focus,.leads-toolbar select:focus{border-color:#d71920}.leads-empty{text-align:center;color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.empty-lead-icon{color:#d71920;background:#fef2f2;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:12px;font-size:20px;display:flex}.leads-empty strong{color:#374151;font-size:13px}.leads-empty span{color:#9ca3af;margin-top:6px;font-size:11px}.leads-error{text-align:center;color:#dc2626;padding:30px;font-size:13px}.table-wrapper{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:#6b7280;text-transform:uppercase;background:#f9fafb;padding:13px 16px;font-size:10px;font-weight:700}td{color:#6b7280;border-top:1px solid #f0f1f3;padding:15px 16px;font-size:12px}td strong{color:#374151}.status-badge{color:#2563eb;background:#eff6ff;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:600;display:inline-block}.action-button{color:#d71920;background:#fef2f2;border:none;border-radius:5px;padding:6px 10px;font-size:10px;font-weight:600}.leads-footer{color:#9ca3af;border-top:1px solid #e5e7eb;padding:14px 18px;font-size:11px}.leads-footer strong{color:#374151}@media (width<=700px){.leads-page{padding:20px}.leads-header{align-items:flex-start;gap:15px}.leads-toolbar{flex-direction:column}.leads-toolbar input{width:100%}}.lead-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;overflow:hidden}.lead-form-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.lead-form-header h3{color:#111827;margin:0;font-size:17px}.lead-form-header p{color:#9ca3af;margin:5px 0 0;font-size:11px}.close-form-button{color:#6b7280;cursor:pointer;background:#f3f4f6;border:none;border-radius:6px;width:32px;height:32px;font-size:20px}.form-section{border-bottom:1px solid #f0f1f3;padding:22px}.form-section h4{color:#374151;margin:0 0 18px;font-size:13px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.form-group{flex-direction:column;display:flex}.form-group.full-width{grid-column:1/-1}.form-group label{color:#4b5563;margin-bottom:7px;font-size:11px;font-weight:600}.form-group label span{color:#d71920}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:10px 12px;font-family:inherit;font-size:12px}.form-group input,.form-group select{height:40px}.form-group textarea{resize:vertical;min-height:80px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#d71920}.form-group small{color:#9ca3af;margin-top:5px;font-size:9px}.form-actions{background:#fafafa;justify-content:flex-end;gap:10px;padding:18px 22px;display:flex}.cancel-button,.save-button{cursor:pointer;border-radius:7px;height:38px;padding:0 18px;font-size:12px;font-weight:600}.cancel-button{color:#4b5563;background:#fff;border:1px solid #d1d5db}.save-button{color:#fff;background:#d71920;border:none}.save-button:hover{background:#b9151b}.save-button:disabled,.cancel-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=700px){.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.lead-form-header,.form-section,.form-actions{padding:16px}}
