@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";html,body,#root{min-width:100%;min-height:100%;margin:0}:root{color:#172033;background:#f5f7fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100vh;margin:0}body{background:#f5f7fa;margin:0}button,input,textarea,select{font:inherit}.crm-shell{min-height:100vh;display:flex}.crm-sidebar{z-index:200;color:#fff;background:linear-gradient(#072c47 0%,#042238 100%);flex-direction:column;width:238px;min-width:238px;height:100vh;display:flex;position:fixed;top:0;left:0}.crm-brand{border-bottom:1px solid #ffffff14;align-items:center;gap:11px;height:88px;padding:20px;display:flex}.crm-brand-mark{background:linear-gradient(135deg,#27ae60,#7ac943);border-radius:10px;justify-content:center;align-items:center;width:39px;height:39px;font-size:20px;font-weight:800;display:flex}.crm-brand strong,.crm-brand span{display:block}.crm-brand span{color:#9fc0d5;margin-top:2px;font-size:10px}.crm-navigation{flex-direction:column;gap:3px;padding:15px 10px;display:flex}.crm-nav-item{color:#c8d9e5;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:11px;width:100%;height:42px;padding:0 12px;font-size:12px;display:flex}.crm-nav-item:hover{color:#fff;background:#ffffff0f}.crm-nav-item.active{color:#fff;background:linear-gradient(90deg,#1479f8,#0566e6);box-shadow:0 4px 12px #0060ff38}.crm-sidebar-bottom{margin-top:auto;padding:10px}.crm-user{border-top:1px solid #ffffff1a;align-items:center;gap:9px;margin-top:10px;padding:13px 10px;display:flex}.crm-user-avatar,.crm-top-avatar{color:#17324d;background:#e8eef5;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-weight:700;display:flex}.crm-user strong,.crm-user span{display:block}.crm-user span{color:#93b0c2;margin-top:2px;font-size:8px}.crm-main{width:calc(100% - 238px);min-height:100vh;margin-left:238px}.crm-topbar{z-index:100;background:#fff;border-bottom:1px solid #e4e9ef;justify-content:space-between;align-items:center;height:66px;padding:0 24px;display:flex;position:sticky;top:0}.crm-global-search{color:#8a96a5;align-items:center;gap:8px;width:min(500px,48%);display:flex}.crm-global-search input{color:#27364b;border:0;outline:none;width:100%;height:38px;font-size:12px}.crm-global-search input::placeholder{color:#98a2b3}.crm-topbar-actions{align-items:center;gap:10px;display:flex}.crm-last-sync{flex-direction:column;align-items:flex-end;display:flex}.crm-last-sync strong{color:#475467;font-size:9px}.crm-sync-button{color:#fff;cursor:pointer;background:#0875f5;border:0;border-radius:6px;align-items:center;gap:6px;height:35px;padding:0 11px;font-size:10px;font-weight:600;display:flex}.crm-icon-button{color:#526174;background:#fff;border:1px solid #e5e9ef;border-radius:7px;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.crm-content{width:100%;max-width:1600px;margin:0 auto;padding:24px}.page-heading{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.page-heading h1{color:#182230;margin:0;font-size:22px;font-weight:700}.page-heading p{color:#667085;margin:5px 0 0;font-size:11px}.crm-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:16px;display:grid}.crm-kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.crm-kpi-card{background:#fff;border:1px solid #e4e9ef;border-radius:8px;min-height:88px;padding:15px 16px;box-shadow:0 1px 2px #10182808}.crm-kpi-card strong{color:#182230;font-size:23px;font-weight:700;display:block}.crm-kpi-card span{color:#56657a;margin-top:6px;font-size:10px;font-weight:500;display:block}.crm-kpi-card small{color:#18a66a;margin-top:3px;font-size:8px;display:block}.crm-panel{background:#fff;border:1px solid #e4e9ef;border-radius:8px;margin-bottom:14px;overflow:hidden;box-shadow:0 1px 2px #10182808}.crm-panel-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;min-height:59px;padding:12px 15px;display:flex}.crm-panel-header h2{color:#263548;margin:0;font-size:12px}.crm-panel-header span{color:#98a2b3;margin-top:3px;font-size:8px;display:block}.crm-panel-header button{color:#0875f5;cursor:pointer;background:0 0;border:0;font-size:9px}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:14px;margin-bottom:14px;display:grid}.crm-table-scroll{width:100%;overflow-x:auto}.crm-table{border-collapse:collapse;width:100%;font-size:10px}.crm-table th{color:#667085;text-align:left;text-transform:uppercase;letter-spacing:.25px;background:#fafbfc;border-bottom:1px solid #e8edf2;padding:10px 13px;font-size:8px;font-weight:600}.crm-table td{color:#354356;border-bottom:1px solid #f0f2f5;height:48px;padding:8px 13px}.crm-table tbody tr:last-child td{border-bottom:0}.crm-table tbody tr:hover{background:#f7faff}.clickable-row{cursor:pointer}.table-link{font-weight:500;color:#0875f5!important}.company-cell,.contact-table-name{align-items:center;gap:9px;display:flex}.company-cell strong,.contact-table-name strong{color:#243348;font-size:10px}.tiny-avatar{color:#42526a;background:#eef2f6;border-radius:50%;justify-content:center;align-items:center;width:27px;height:27px;font-size:9px;font-weight:700;display:flex}.tiny-avatar.company{color:#0875f5;background:#e8f1fe;border-radius:7px}.status-pill{border-radius:999px;align-items:center;min-height:20px;padding:3px 7px;font-size:8px;font-weight:600;display:inline-flex}.status-pill.active,.status-pill.signed{color:#188653;background:#eaf9f1}.status-pill.inactive{color:#667085;background:#f1f3f5}.status-pill.opportunity{color:#1769d2;background:#edf5ff}.priority-high{color:#cf3d2e;background:#fff0ed}.priority-normal{color:#1769d2;background:#edf5ff}.priority-low{color:#667085;background:#f2f4f7}.table-empty{color:#98a2b3;text-align:center;padding:25px;font-size:10px}.pipeline-summary{padding:18px}.pipeline-summary>div{margin-bottom:22px}.pipeline-summary span{color:#667085;font-size:9px}.pipeline-summary strong{float:right;color:#263548;font-size:11px}.pipeline-track{background:#edf0f4;border-radius:10px;height:7px;margin-top:9px;overflow:hidden}.pipeline-fill{border-radius:inherit;height:100%}.pipeline-fill.signed{background:#20a66a}.pipeline-fill.opportunity{background:#1680ef}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.report-card{padding-bottom:14px}.report-bar{padding:8px 17px}.report-bar-label{color:#56657a;justify-content:space-between;margin-bottom:7px;font-size:9px;display:flex}.report-bar-track{background:#edf0f4;border-radius:10px;height:10px;overflow:hidden}.report-bar-fill{border-radius:inherit;background:#0875f5;height:100%}.report-bar-fill.danger{background:#e45545}.client-drawer-overlay{z-index:500;background:#0f172a38;justify-content:flex-end;display:flex;position:fixed;inset:0}.client-drawer{background:#fff;width:510px;max-width:96vw;height:100%;overflow-y:auto;box-shadow:-12px 0 35px #0f172a24}.client-drawer-header{text-align:center;border-bottom:1px solid #e7ebf0;min-height:195px;padding:24px;position:relative}.drawer-close{background:#f3f5f7;border:0;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:absolute;top:15px;right:15px}.drawer-client-avatar{color:#fff;background:linear-gradient(135deg,#0875f5,#21a3ff);border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;margin:0 auto 10px;font-size:21px;font-weight:700;display:flex}.client-drawer-header h2{color:#1e2c3d;margin:0;font-size:16px}.client-drawer-header>span{color:#7b8796;margin-top:4px;font-size:9px;display:block}.drawer-actions{justify-content:center;gap:8px;margin-top:15px;display:flex}.drawer-actions button{color:#455468;background:#fff;border:1px solid #dce2e9;border-radius:6px;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:9px;display:flex}.drawer-tabs{border-bottom:1px solid #e7ebf0;align-items:flex-end;height:45px;padding:0 16px;display:flex;overflow-x:auto}.drawer-tabs button{color:#667085;background:0 0;border:0;border-bottom:2px solid #0000;height:45px;padding:0 10px;font-size:9px}.drawer-tabs button.active{color:#0875f5;border-bottom-color:#0875f5}.drawer-info-row{border-bottom:1px solid #eef1f4;justify-content:space-between;gap:20px;min-height:40px;padding:8px 0;display:flex}.drawer-info-row span{color:#8a96a5;font-size:9px}.drawer-info-row strong{color:#344054;text-align:right;font-size:9px}.drawer-section{margin-top:22px}.drawer-section h3{color:#344054;margin:0 0 10px;font-size:11px}.drawer-next-action{background:#f8fbff;border:1px solid #e1e8ef;border-radius:7px;padding:12px}.drawer-next-action strong{color:#263548;font-size:10px;display:block}.drawer-next-action span{color:#7a8796;margin-top:5px;font-size:9px;display:block}.drawer-empty{color:#98a2b3;font-size:9px}.drawer-body .projects-section,.drawer-body .contacts-section,.drawer-body .follow-up-section,.drawer-body .notes-section{padding:0}.contact-card,.project-card,.follow-up-form-card,.follow-up-card,.note-card,.note-form,.notes-form{background:#fff;border:1px solid #e4e9ef;border-radius:7px}.contact-card,.project-card,.follow-up-card,.note-card{margin-bottom:8px;padding:11px}.contacts-list,.project-list{flex-direction:column;gap:8px;display:flex}.contact-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.contact-details span,.contact-address span{color:#98a2b3;font-size:8px}.contact-header h4{margin:0;font-size:10px}.follow-up-form-card,.note-form,.notes-form{margin-bottom:12px;padding:11px}.follow-up-form textarea,.note-form textarea,.notes-form textarea{border:1px solid #d5dce4;border-radius:6px;width:100%;min-height:72px;padding:8px}.follow-up-form-row{grid-template-columns:1fr;gap:8px;margin-top:8px;display:grid}.follow-up-form-row div{flex-direction:column;gap:4px;display:flex}.follow-up-form-row label{color:#667085;font-size:8px}.follow-up-form-row input,.follow-up-form-row select{border:1px solid #d5dce4;border-radius:6px;height:33px}.follow-up-add-button,.note-form button,.notes-form button{color:#fff;background:#0875f5;border:0;border-radius:6px;min-height:32px;margin-top:8px;padding:0 10px;font-size:9px}.follow-up-card{justify-content:space-between;gap:10px;display:flex}.follow-up-meta{color:#7b8796;margin-top:5px;font-size:8px}.follow-up-actions button{background:#fff;border:1px solid #d9e0e7;border-radius:5px;min-height:28px;font-size:8px}.crm-loading{color:#7b8796;text-align:center;padding:80px 20px;font-size:12px}.spin{animation:1s linear infinite crm-spin}@keyframes crm-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.crm-kpi-grid,.crm-kpi-grid.four{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.report-grid{grid-template-columns:1fr}}@media (width<=800px){.crm-sidebar{width:68px;min-width:68px}.crm-main{width:calc(100% - 68px);margin-left:68px}.crm-brand{justify-content:center;padding:12px}.crm-brand>div:last-child,.crm-nav-item span,.crm-user>div:last-child{display:none}.crm-nav-item,.crm-user{justify-content:center}}@media (width<=600px){.crm-content{padding:14px}.crm-kpi-grid,.crm-kpi-grid.four{grid-template-columns:1fr}.crm-global-search{width:60%}.crm-last-sync{display:none}}.crm-last-sync strong,.crm-sync-button{font-size:11px}.crm-table th{font-size:10px}.crm-table td,.company-cell strong,.contact-table-name strong,.table-link{font-size:12px}.status-pill{font-size:10px}.drawer-tabs button,.drawer-info-row span,.drawer-info-row strong{font-size:11px}.contact-details span,.contact-address span{font-size:10px}.follow-up-meta,.follow-up-actions button{font-size:10px}.crm-loading,.table-empty{font-size:12px}body{font-size:15px}.crm-nav-item{font-size:14px}.crm-brand strong{font-size:17px}.crm-brand span,.crm-user strong{font-size:12px}.crm-last-sync span{font-size:11px}.crm-last-sync strong,.crm-sync-button{font-size:12px}.page-heading h1{font-size:26px}.page-heading p{font-size:13px}.crm-kpi-card strong{font-size:27px}.crm-kpi-card span{font-size:13px}.crm-panel-header h2{font-size:15px}.crm-panel-header span{font-size:11px}.crm-table th{font-size:11px;font-weight:700}.crm-table td,.company-cell strong,.contact-table-name strong,.table-link{font-size:13px}.status-pill{padding:4px 8px;font-size:11px}.pipeline-summary span{font-size:12px}.pipeline-summary strong{font-size:13px}.client-drawer-header h2{font-size:20px}.client-drawer-header>span{font-size:12px}.drawer-info-row span,.drawer-info-row strong{font-size:12px}.drawer-section h3{font-size:14px}.drawer-next-action strong{font-size:13px}.drawer-next-action span{font-size:11px}.drawer-empty{font-size:12px}.contact-header h4{font-size:14px}.contact-status{font-size:10px}.contact-details span,.contact-address span,.contact-note span{font-size:11px}.contact-details strong,.contact-address strong,.contact-note p{font-size:12px}.project-card h3,.project-card h4{font-size:14px}.project-card p,.project-card span{font-size:12px}.follow-up-form-card h3,.follow-up-list h3{font-size:14px}.follow-up-form-row label{font-size:11px}.follow-up-form textarea,.follow-up-form-row input,.follow-up-form-row select{font-size:12px}.follow-up-add-button{font-size:11px}.follow-up-title-row strong{font-size:12px}.follow-up-meta,.follow-up-actions button{font-size:11px}.notes-form textarea,.note-form textarea{font-size:12px}.note-card p{font-size:13px}.note-meta{font-size:11px}.table-empty,.crm-loading{font-size:13px}.drawer-body .project-list{gap:14px}.crm-project-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:18px;box-shadow:0 1px 3px #1018280a}.crm-project-card:hover{border-color:#b7d5fb;box-shadow:0 4px 12px #1018280f}.crm-project-header{border-bottom:1px solid #eef1f4;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px;padding-bottom:14px;display:flex}.crm-project-number{color:#1769d2;letter-spacing:.2px;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.crm-project-header h3{color:#182230;margin:0;font-size:16px;font-weight:700;line-height:1.4}.crm-project-status{border-radius:999px;flex-shrink:0;padding:5px 9px;font-size:10px;font-weight:700}.crm-project-status.signed{color:#188653;background:#eaf9f1}.crm-project-status.opportunity{color:#1769d2;background:#edf5ff}.crm-project-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.crm-project-field{flex-direction:column;gap:5px;min-width:0;display:flex}.crm-project-field span{color:#98a2b3;text-transform:uppercase;letter-spacing:.45px;font-size:10px;font-weight:600}.crm-project-field strong{color:#344054;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.project-empty-state{color:#98a2b3;text-align:center;background:#fff;border:1px dashed #d0d5dd;border-radius:9px;padding:40px 20px;font-size:12px}.drawer-tabs button{height:52px;padding:0 12px;font-size:12px;font-weight:600}.drawer-tabs button.active{color:#0875f5;border-bottom-width:3px}@media (width<=650px){.crm-project-details{grid-template-columns:1fr}}.crm-section-heading{margin:22px 0 10px}.crm-section-heading h3{color:#182230;margin:0;font-size:15px}.crm-section-heading span{color:#98a2b3;margin-top:3px;font-size:11px;display:block}.crm-form-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:18px;box-shadow:0 1px 3px #1018280a}.crm-form-heading{margin-bottom:15px}.crm-form-heading h3{color:#182230;margin:0;font-size:15px}.crm-form-heading p{color:#98a2b3;margin:4px 0 0;font-size:11px}.crm-form-field{flex-direction:column;gap:6px;display:flex}.crm-form-field label{color:#667085;font-size:11px;font-weight:600}.crm-form-field textarea,.crm-form-field input,.crm-form-field select{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:7px;outline:none;width:100%}.crm-form-field textarea{resize:vertical;min-height:90px;padding:10px}.crm-form-field input,.crm-form-field select{height:38px;padding:0 9px}.crm-form-field textarea:focus,.crm-form-field input:focus,.crm-form-field select:focus{border-color:#84adff;box-shadow:0 0 0 3px #2e90fa1f}.crm-followup-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.crm-form-actions{margin-top:14px}.crm-primary-button{color:#fff;background:#0875f5;border:0;border-radius:7px;height:36px;padding:0 14px;font-size:11px;font-weight:700}.crm-primary-button:hover{background:#0967d9}.crm-secondary-button{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:6px;height:32px;padding:0 10px;font-size:10px;font-weight:600}.crm-danger-button{color:#b42318;background:#fff;border:1px solid #fecdca;border-radius:6px;height:32px;padding:0 10px;font-size:10px;font-weight:600}.crm-contact-list{flex-direction:column;gap:14px;display:flex}.crm-contact-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;padding:18px;box-shadow:0 1px 3px #1018280a}.crm-contact-card-header{border-bottom:1px solid #eef1f4;justify-content:space-between;align-items:flex-start;margin-bottom:14px;padding-bottom:14px;display:flex}.crm-contact-identity{align-items:center;gap:11px;display:flex}.crm-contact-avatar{color:#fff;background:linear-gradient(135deg,#0875f5,#38a6ff);border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-size:13px;font-weight:700;display:flex}.crm-contact-avatar.large{width:48px;height:48px}.crm-contact-identity h3{color:#182230;margin:0;font-size:14px}.crm-contact-identity span{color:#98a2b3;margin-top:3px;font-size:10px;display:block}.crm-contact-status{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:700}.crm-contact-status.active{color:#188653;background:#eaf9f1}.crm-contact-status.inactive{color:#667085;background:#f2f4f7}.crm-contact-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;display:grid}.crm-contact-field{flex-direction:column;gap:5px;min-width:0;display:flex}.crm-contact-field strong,.crm-contact-address strong{color:#344054;overflow-wrap:anywhere;font-size:12px}.crm-contact-address{flex-direction:column;gap:5px;margin-top:16px;display:flex}.crm-contact-note{border-top:1px solid #eef1f4;margin-top:16px;padding-top:14px}.crm-contact-note p{color:#475467;margin:6px 0 0;font-size:12px;line-height:1.55}.crm-followup-wrapper{width:100%}.crm-followup-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;margin-bottom:12px;padding:16px;box-shadow:0 1px 3px #1018280a}.crm-followup-card.overdue{border-left:4px solid #d92d20}.crm-followup-card-top{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.crm-followup-card-top h4{color:#182230;margin:0 0 7px;font-size:13px;line-height:1.45}.crm-followup-status{border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700;display:inline-flex}.crm-followup-status.pending{color:#c4320a;background:#fff6ed}.crm-followup-status.completed{color:#188653;background:#eaf9f1}.crm-overdue-badge{color:#b42318;background:#fef3f2;border-radius:999px;flex-shrink:0;padding:4px 8px;font-size:9px;font-weight:700}.crm-followup-details{border-top:1px solid #eef1f4;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;display:grid}.crm-followup-details div{flex-direction:column;gap:4px;display:flex}.crm-followup-details span{color:#98a2b3;text-transform:uppercase;font-size:9px;font-weight:600}.crm-followup-actions{gap:7px;margin-top:15px;display:flex}.crm-notes-wrapper{width:100%}.crm-note-card{background:#fff;border:1px solid #e4e9ef;border-radius:10px;margin-bottom:12px;padding:16px;box-shadow:0 1px 3px #1018280a}.crm-note-card-header{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.crm-note-author{align-items:center;gap:9px;display:flex}.crm-note-avatar{color:#42526a;background:#eef2f6;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:flex}.crm-note-author strong{color:#344054;font-size:11px;display:block}.crm-note-author span{color:#98a2b3;margin-top:2px;font-size:9px;display:block}.crm-note-delete{color:#b42318;background:0 0;border:0;font-size:10px}.crm-note-card p{color:#475467;white-space:pre-wrap;margin:0;font-size:12px;line-height:1.6}.crm-client-overview{flex-direction:column;gap:14px;display:flex}.crm-overview-card-heading h3{color:#182230;margin:0;font-size:14px}.crm-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;display:grid}.crm-overview-field{flex-direction:column;gap:5px;display:flex}.crm-overview-field strong{color:#344054;font-size:12px}.overview-value-active{color:#188653!important}.crm-primary-contact{align-items:center;gap:12px;display:flex}.crm-primary-contact-info{flex-direction:column;gap:3px;display:flex}.crm-primary-contact-info strong{color:#182230;font-size:13px}.crm-primary-contact-info span{color:#667085;font-size:11px}.crm-next-action-top{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.crm-next-action-top>strong{color:#263548;font-size:12px}.crm-next-action-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:14px;display:grid}.crm-next-action-details div{flex-direction:column;gap:4px;display:flex}.crm-next-action-details span{color:#98a2b3;text-transform:uppercase;font-size:9px}.crm-recent-note p{color:#475467;margin:0 0 10px;font-size:12px;line-height:1.6}.drawer-empty-state,.drawer-loading-state{color:#98a2b3;text-align:center;background:#fff;border:1px dashed #d0d5dd;border-radius:9px;padding:34px 18px;font-size:12px}.drawer-empty-state.compact{padding:18px}@media (width<=650px){.crm-contact-details,.crm-overview-grid,.crm-followup-details,.crm-next-action-details,.crm-followup-grid{grid-template-columns:1fr}}:root{--text-primary:#1f2937;--text-secondary:#475467;--text-muted:#667085;--text-soft:#98a2b3;--font-xs:12px;--font-sm:13px;--font-md:14px;--font-lg:16px;--font-xl:20px}body{font-size:var(--font-md);color:var(--text-primary);line-height:1.5}.crm-nav-item{font-size:14px;font-weight:500}.crm-brand strong{font-size:17px;font-weight:700}.crm-brand span{font-size:12px}.crm-user strong{font-size:13px}.crm-user span{font-size:12px}.crm-global-search input{font-size:14px}.crm-last-sync span{color:var(--text-muted);font-size:12px}.crm-last-sync strong{font-size:12px}.crm-sync-button{font-size:13px}.page-heading h1{font-size:26px;line-height:1.25}.page-heading p{font-size:14px;line-height:1.5}.crm-kpi-card strong{font-size:28px;line-height:1.1}.crm-kpi-card span{color:var(--text-secondary);font-size:13px}.crm-kpi-card small{font-size:12px}.crm-panel-header h2{font-size:15px;line-height:1.4}.crm-panel-header span{color:var(--text-muted);font-size:12px}.crm-panel-header button{font-size:12px}.crm-table{font-size:13px}.crm-table th{color:#344054;letter-spacing:0;font-size:12px;font-weight:600}.crm-table td{font-size:13px;line-height:1.45}.company-cell strong,.contact-table-name strong,.table-link{font-size:13px}.status-pill{font-size:11px;font-weight:600}.client-drawer-header h2{font-size:20px;line-height:1.3}.client-drawer-header>span{color:var(--text-muted);font-size:13px}.drawer-actions button{font-size:12px}.drawer-tabs button{font-size:13px;font-weight:500}.crm-overview-card-heading h3,.crm-form-heading h3,.crm-section-heading h3{font-size:15px;line-height:1.4}.crm-overview-field span,.crm-contact-field span,.crm-contact-address span,.crm-contact-note span,.crm-followup-details span,.crm-next-action-details span,.crm-form-field label{text-transform:none;letter-spacing:0;color:var(--text-muted);font-size:12px;font-weight:500}.crm-overview-field strong,.crm-contact-field strong,.crm-contact-address strong,.crm-followup-details strong,.crm-next-action-details strong,.crm-primary-contact-info strong{color:var(--text-primary);font-size:14px;line-height:1.45}.crm-project-field span{text-transform:none;letter-spacing:0;font-size:12px}.crm-project-field strong{font-size:14px}.crm-contact-identity span{font-size:12px}.crm-contact-status{font-size:11px}.crm-followup-card-top h4{font-size:14px;line-height:1.5}.crm-followup-status,.crm-overdue-badge{font-size:11px}.crm-followup-meta,.crm-followup-actions button,.crm-form-heading p{font-size:12px}.crm-form-field textarea,.crm-form-field input,.crm-form-field select,.crm-note-author strong{font-size:13px}.crm-note-author span{font-size:12px}.crm-note-card p,.crm-recent-note p{font-size:14px;line-height:1.6}.crm-recent-note span{font-size:12px}.drawer-empty-state,.drawer-loading-state,.table-empty,.crm-loading{color:var(--text-muted);font-size:13px}.drawer-body{padding:24px}.crm-overview-card,.crm-contact-card,.crm-project-card,.crm-followup-card,.crm-note-card,.crm-form-card{padding:20px}.crm-contact-details,.crm-project-details{gap:20px 24px}.client-drawer{width:680px}.drawer-tabs{height:56px;padding:0 24px}.drawer-tabs button{color:#475467;height:56px;padding:0 15px;font-size:14px;font-weight:600}.drawer-tabs button.active{color:#0568e8;font-weight:700}.crm-project-card,.crm-overview-card,.crm-contact-card,.crm-followup-card,.crm-note-card,.crm-form-card{background:#fff;border:1px solid #dfe4ea;border-radius:11px;padding:22px;box-shadow:0 2px 6px #1018280f}.crm-project-number{color:#0875f5;margin-bottom:7px;font-size:14px;font-weight:700}.crm-project-header h3{color:#172033;font-size:17px;font-weight:700;line-height:1.4}.crm-project-status{padding:6px 11px;font-size:12px;font-weight:700}.crm-project-field span{color:#667085;text-transform:none;letter-spacing:0;margin-bottom:2px;font-size:13px;font-weight:600}.crm-project-field strong{color:#1d2939;font-size:15px;font-weight:600;line-height:1.5}.crm-project-details{gap:24px 34px}.crm-project-header{border-bottom:1px solid #e4e7ec;margin-bottom:19px;padding-bottom:17px}.crm-overview-card-heading h3,.crm-section-heading h3,.crm-form-heading h3{color:#172033;font-size:16px;font-weight:700}.crm-overview-field span{color:#667085;text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}.crm-overview-field strong{color:#1d2939;font-size:15px;font-weight:600;line-height:1.5}.crm-contact-identity h3{color:#172033;font-size:16px;font-weight:700}.crm-contact-identity span{color:#667085;font-size:13px}.crm-contact-field span,.crm-contact-address span,.crm-contact-note span{color:#667085;text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}.crm-contact-field strong,.crm-contact-address strong{color:#1d2939;font-size:15px;font-weight:600;line-height:1.5}.crm-primary-contact-info strong{color:#172033;font-size:15px;font-weight:700}.crm-primary-contact-info span{color:#475467;font-size:14px;line-height:1.5}.crm-followup-card-top h4{color:#172033;font-size:15px;font-weight:700}.crm-followup-details span,.crm-next-action-details span{color:#667085;text-transform:none;font-size:13px;font-weight:600}.crm-followup-details strong,.crm-next-action-details strong{color:#1d2939;font-size:14px;font-weight:600}.crm-note-author strong{color:#172033;font-size:14px;font-weight:700}.crm-note-author span{color:#667085;font-size:12px}.crm-note-card p,.crm-recent-note p{color:#344054;font-size:15px;line-height:1.7}.drawer-empty-state,.drawer-loading-state{color:#667085;font-size:14px;line-height:1.6}.drawer-actions button{min-height:36px;padding:0 12px;font-size:12px;font-weight:600}.client-drawer{-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}html,body,button,input,textarea,select{font-family:Inter,sans-serif}body{letter-spacing:-.01em;font-weight:400}.page-heading h1,.client-drawer-header h2{letter-spacing:-.025em;font-weight:700}.crm-panel-header h2,.crm-overview-card-heading h3,.crm-section-heading h3,.crm-form-heading h3,.crm-project-header h3,.crm-contact-identity h3{letter-spacing:-.015em;font-weight:600}.crm-nav-item{font-weight:500}.crm-table{font-weight:400}.crm-table th{font-weight:600}.crm-table td{font-weight:400}.company-cell strong,.contact-table-name strong{font-weight:600}.crm-project-field span,.crm-overview-field span,.crm-contact-field span,.crm-contact-address span,.crm-followup-details span,.crm-next-action-details span,.crm-form-field label,.crm-project-field strong,.crm-overview-field strong,.crm-contact-field strong,.crm-contact-address strong,.crm-followup-details strong,.crm-next-action-details strong,button{font-weight:500}.status-pill,.crm-project-status,.crm-contact-status,.crm-followup-status{font-weight:600}.crm-kpi-card strong{font-weight:700}.crm-kpi-card span{font-weight:500}.client-drawer,.crm-main{font-feature-settings:"kern" 1, "liga" 1;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (width<=700px){.client-drawer{width:100%;max-width:100%}}.client-drawer{background:#fff;width:640px}.client-drawer-header{background:linear-gradient(#fff 0%,#fbfcfe 100%);border-bottom:1px solid #e8edf3;min-height:205px;padding:28px 24px 22px}.drawer-client-avatar{background:linear-gradient(135deg,#0f7af5 0%,#339cff 100%);border-radius:16px;width:62px;height:62px;margin-bottom:12px;font-size:22px;font-weight:700;box-shadow:0 6px 18px #0f7af52e}.client-drawer-header h2{letter-spacing:-.025em;font-size:21px;font-weight:700}.client-drawer-header>span{color:#667085;margin-top:5px;font-size:13px;font-weight:500}.drawer-actions{gap:9px;margin-top:18px}.drawer-actions button{color:#344054;background:#fff;border:1px solid #d8dee7;border-radius:8px;min-width:88px;height:38px;padding:0 13px;font-size:12px;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s}.drawer-actions button:hover{background:#f7faff;border-color:#9fc5fa;box-shadow:0 2px 6px #1018280f}.drawer-close{color:#667085;background:#fff;border:1px solid #e4e7ec;width:36px;height:36px;top:16px;right:16px}.drawer-close:hover{color:#101828;background:#f2f4f7}.drawer-tabs{background:#fff;border-bottom:1px solid #e7ebf0;gap:4px;height:54px;padding:0 24px}.drawer-tabs button{color:#667085;border-bottom:3px solid #0000;height:54px;padding:0 14px;font-size:13px;font-weight:500}.drawer-tabs button:hover{color:#344054;background:#fafbfc}.drawer-tabs button.active{color:#0f70e8;border-bottom-color:#0f70e8;font-weight:700}.drawer-body{background:#f6f8fb;padding:24px}.crm-client-overview{gap:12px}.crm-overview-card{background:#fff;border:1px solid #e2e7ed;border-radius:12px;padding:18px 20px;box-shadow:0 2px 7px #1018280b}.crm-overview-card-heading{margin-bottom:16px}.crm-overview-card-heading h3{color:#172033;font-size:15px;font-weight:700}.crm-overview-grid{gap:20px 28px}.crm-overview-field{gap:5px}.crm-overview-field span{color:#667085;font-size:12px;font-weight:500}.crm-overview-field strong{color:#182230;font-size:14px;font-weight:600}.overview-value-active{background:#ecfdf3;border-radius:999px;width:fit-content;padding:3px 8px;display:inline-flex;color:#027a48!important;font-size:12px!important;font-weight:700!important}.crm-primary-contact{gap:14px;padding:2px 0}.crm-contact-avatar.large{background:linear-gradient(135deg,#0f7af5,#38a6ff);border-radius:12px;width:48px;height:48px;box-shadow:0 4px 10px #0f7af51f}.crm-primary-contact-info{gap:4px}.crm-primary-contact-info strong{font-size:14px}.crm-primary-contact-info span{font-size:12px}.drawer-empty-state{color:#667085;background:#fbfcfd;border:1px dashed #d0d5dd;border-radius:9px;justify-content:center;align-items:center;min-height:72px;padding:18px 16px;font-size:12px;font-weight:500;display:flex}.drawer-empty-state.compact{min-height:66px;padding:16px}.crm-next-action-card{background:linear-gradient(#fbfdff 0%,#f5f9ff 100%);border:1px solid #d6e5fa;border-radius:9px;padding:16px}.crm-next-action-top>strong{color:#182230;font-size:14px;line-height:1.45}.crm-next-action-details{gap:20px;margin-top:16px}.crm-next-action-details span{color:#667085;font-size:11px}.crm-next-action-details strong{color:#344054;font-size:13px}.crm-recent-note{padding:2px 0}.crm-recent-note p{color:#344054;margin-bottom:12px;font-size:14px;line-height:1.65}.crm-recent-note span{color:#98a2b3;font-size:11px}.crm-project-card{border-radius:12px;padding:20px}.crm-project-number{font-size:13px}.crm-project-header h3{font-size:16px}.crm-project-field span{color:#667085;font-size:12px;font-weight:500}.crm-project-field strong{color:#182230;font-size:14px;font-weight:600}.crm-contact-card{border-radius:12px;padding:20px}.crm-contact-identity h3{font-size:15px}.crm-contact-field span,.crm-contact-address span{color:#667085;font-size:12px}.crm-contact-field strong,.crm-contact-address strong{color:#182230;font-size:14px}.crm-followup-card{border-radius:12px;padding:18px 20px}.crm-followup-card-top h4{font-size:14px}.crm-followup-details span{color:#667085;font-size:11px}.crm-followup-details strong{color:#182230;font-size:13px}.crm-note-card{border-radius:12px;padding:18px 20px}.crm-note-card p{font-size:14px;line-height:1.65}.client-drawer *{text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}@media (width<=700px){.client-drawer{width:100%;max-width:100%}}.crm-activity-timeline{width:100%}.crm-activity-item{grid-template-columns:42px minmax(0,1fr);gap:12px;min-height:110px;display:grid}.crm-activity-line-column{flex-direction:column;align-items:center;display:flex}.crm-activity-icon{color:#1769d2;background:#edf5ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.crm-activity-icon.note{color:#6941c6;background:#f3f0ff}.crm-activity-icon.completed{color:#188653;background:#eaf9f1}.crm-activity-line{background:#e4e9ef;flex:1;width:2px;margin-top:5px}.crm-activity-item:last-child .crm-activity-line{display:none}.crm-activity-content{background:#fff;border:1px solid #e4e9ef;border-radius:10px;margin-bottom:18px;padding:16px 18px;box-shadow:0 1px 3px #1018280a}.crm-activity-top{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.crm-activity-top h4{color:#182230;margin:0;font-size:14px;font-weight:700}.crm-activity-top div>span{color:#667085;margin-top:3px;font-size:12px;display:block}.crm-activity-top time{color:#98a2b3;flex-shrink:0;font-size:11px}.crm-activity-content p{color:#475467;white-space:pre-wrap;margin:14px 0 0;font-size:14px;line-height:1.6}.crm-activity-meta{flex-wrap:wrap;gap:8px;margin-top:13px;display:flex}.crm-activity-meta span{color:#475467;background:#f2f4f7;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:500}.global-activity-feed{width:100%}.global-activity-item{border-bottom:1px solid #eef1f4;grid-template-columns:40px minmax(0,1fr);gap:13px;padding:15px 0;display:grid}.global-activity-item:first-child{padding-top:2px}.global-activity-item:last-child{border-bottom:0;padding-bottom:2px}.global-activity-icon{color:#1769d2;background:#edf5ff;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.global-activity-icon.note{color:#6941c6;background:#f3f0ff}.global-activity-icon.completed{color:#188653;background:#eaf9f1}.global-activity-content{min-width:0}.global-activity-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.global-activity-heading strong{color:#182230;font-size:13px;font-weight:700;display:block}.global-activity-heading button{color:#1473e6;cursor:pointer;background:0 0;border:0;margin-top:3px;padding:0;font-size:12px;font-weight:600}.global-activity-heading button:hover{text-decoration:underline}.global-activity-heading time{color:#98a2b3;flex-shrink:0;font-size:11px}.global-activity-content p{color:#475467;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:9px 0 0;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.global-activity-footer{gap:12px;margin-top:8px;display:flex}.global-activity-footer span{color:#667085;font-size:11px}.global-activity-empty{text-align:center;color:#667085;padding:30px;font-size:13px}.global-activity-item{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:10px 0}.global-activity-icon{border-radius:8px;width:30px;height:30px}.global-activity-content{padding-top:0}.global-activity-heading{gap:12px}.global-activity-heading strong{font-size:12px;line-height:1.35}.global-activity-heading button{margin-top:1px;font-size:11px}.global-activity-heading time{white-space:nowrap;font-size:10px}.global-activity-content p{-webkit-line-clamp:1;margin:5px 0 0;font-size:12px;line-height:1.45}.global-activity-footer{gap:10px;margin-top:4px}.global-activity-footer span{font-size:10px}.global-activity-empty{padding:20px;font-size:12px}.global-activity-content{padding-right:16px}.global-activity-heading{padding-right:4px}.global-activity-heading time{color:#667085;white-space:nowrap;background:#f7f8fa;border-radius:6px;margin-top:2px;margin-right:6px;padding:3px 7px;font-size:10px;font-weight:500}.activity-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.activity-search{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:9px;width:360px;height:40px;padding:0 12px;display:flex}.activity-search input{color:#182230;background:0 0;border:0;outline:0;width:100%;font-size:13px}.activity-filters{gap:6px;display:flex}.activity-filters button{color:#475467;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;height:36px;padding:0 13px;font-size:12px;font-weight:600}.activity-filters button:hover{background:#f8fafc}.activity-filters button.active{color:#1570ef;background:#eff6ff;border-color:#1570ef}.activity-results-count{color:#667085;margin-bottom:10px;font-size:12px}.activity-page-list{border-top:1px solid #eef1f4}.activity-page-item{border-bottom:1px solid #eef1f4;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:17px 0;display:grid}.activity-page-icon{color:#1769d2;background:#edf5ff;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.activity-page-icon.note{color:#6941c6;background:#f3f0ff}.activity-page-icon.completed{color:#188653;background:#eaf9f1}.activity-page-content{min-width:0}.activity-page-top{justify-content:space-between;align-items:flex-start;gap:24px;padding-right:10px;display:flex}.activity-page-top strong{color:#182230;font-size:14px;font-weight:700;display:block}.activity-page-top button{color:#1570ef;cursor:pointer;background:0 0;border:0;margin-top:3px;padding:0;font-size:12px;font-weight:600}.activity-page-top button:hover{text-decoration:underline}.activity-page-top time{color:#667085;white-space:nowrap;background:#f7f8fa;border-radius:6px;flex-shrink:0;padding:4px 8px;font-size:11px;font-weight:500}.activity-page-content p{color:#475467;margin:10px 0 0;font-size:13px;line-height:1.55}.activity-page-meta{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.activity-page-meta span{color:#667085;background:#f2f4f7;border-radius:6px;padding:4px 8px;font-size:11px}@media (width<=900px){.activity-toolbar{flex-direction:column;align-items:stretch}.activity-search{width:100%}}.activity-toolbar{border-bottom:1px solid #eef1f4;margin-bottom:0;padding:18px 18px 16px}.activity-results-count{color:#667085;margin-bottom:0;padding:12px 18px 10px;font-size:12px;font-weight:500}.activity-page-list{border-top:0;padding:0 18px 14px}.activity-page-list .global-activity-empty{border-top:1px solid #eef1f4;margin-top:4px;padding:28px 16px}.activity-pagination{background:#fff;border-top:1px solid #eef1f4;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.activity-pagination-info{color:#667085;font-size:12px;font-weight:500}.activity-pagination-buttons{gap:8px;display:flex}.activity-pagination-buttons button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.activity-pagination-buttons button:hover:not(:disabled){background:#f8fafc;border-color:#b8c1cc}.activity-pagination-buttons button:disabled{opacity:.45;cursor:not-allowed}.clients-page-toolbar{border-bottom:1px solid #eef1f4;align-items:center;padding:18px 18px 14px;display:flex}.clients-page-search{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:9px;width:380px;height:40px;padding:0 12px;display:flex}.clients-page-search input{color:#182230;background:0 0;border:0;outline:0;width:100%;font-size:13px}.clients-page-summary{color:#667085;padding:10px 18px;font-size:12px;font-weight:500}.clients-pagination{border-top:1px solid #eef1f4;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.clients-pagination-info{color:#667085;font-size:12px;font-weight:500}.clients-pagination-buttons{gap:8px;display:flex}.clients-pagination-buttons button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.clients-pagination-buttons button:hover:not(:disabled){background:#f8fafc}.clients-pagination-buttons button:disabled{opacity:.45;cursor:not-allowed}.dashboard-client-search{padding:14px 18px 10px}.dashboard-client-search input{color:#182230;background:#fff;border:1px solid #d0d5dd;border-radius:8px;outline:none;width:320px;height:38px;padding:0 12px;font-size:13px}.dashboard-client-search input:focus{border-color:#1570ef;box-shadow:0 0 0 3px #1570ef14}.dashboard-client-search-status{color:#667085;padding:0 18px 8px;font-size:11px}.projects-page-toolbar{border-bottom:1px solid #eef1f4;align-items:center;padding:18px 18px 14px;display:flex}.projects-page-search{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:9px;width:380px;height:40px;padding:0 12px;display:flex}.projects-page-search input{color:#182230;background:0 0;border:0;outline:0;width:100%;font-size:13px}.projects-page-summary{color:#667085;padding:10px 18px;font-size:12px;font-weight:500}.projects-pagination{border-top:1px solid #eef1f4;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.projects-pagination-info{color:#667085;font-size:12px;font-weight:500}.projects-pagination-buttons{gap:8px;display:flex}.projects-pagination-buttons button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.projects-pagination-buttons button:hover:not(:disabled){background:#f8fafc}.projects-pagination-buttons button:disabled{opacity:.45;cursor:not-allowed}.contacts-page-toolbar{border-bottom:1px solid #eef1f4;align-items:center;padding:18px 18px 14px;display:flex}.contacts-page-search{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:9px;width:380px;height:40px;padding:0 12px;display:flex}.contacts-page-search input{color:#182230;background:0 0;border:0;outline:0;width:100%;font-size:13px}.contacts-page-summary{color:#667085;padding:10px 18px;font-size:12px;font-weight:500}.contacts-pagination{border-top:1px solid #eef1f4;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.contacts-pagination-info{color:#667085;font-size:12px;font-weight:500}.contacts-pagination-buttons{gap:8px;display:flex}.contacts-pagination-buttons button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.contacts-pagination-buttons button:hover:not(:disabled){background:#f8fafc}.contacts-pagination-buttons button:disabled{opacity:.45;cursor:not-allowed}.contact-client-link{color:#1570ef;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:600}.contact-client-link:hover{text-decoration:underline}.crm-login-page{background:radial-gradient(circle at 100% 0,#2f80ed2e,#0000 35%),linear-gradient(135deg,#061a2f 0%,#0a2746 55%,#0d365f 100%);justify-content:center;align-items:center;min-height:100vh;padding:32px;display:flex}.crm-login-card{background:#fff;border:1px solid #ffffff59;border-radius:18px;width:420px;max-width:100%;padding:36px;box-shadow:0 30px 80px #0000004d}.crm-login-brand{align-items:center;gap:13px;margin-bottom:32px;display:flex}.crm-login-logo{color:#fff;background:#1570ef;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;font-size:22px;font-weight:800;display:flex}.crm-login-brand h1{color:#101828;margin:0;font-size:21px;font-weight:750;line-height:1.1}.crm-login-brand span{color:#667085;margin-top:3px;font-size:12px;font-weight:500;display:block}.crm-login-heading{margin-bottom:25px}.crm-login-heading h2{color:#101828;margin:0 0 7px;font-size:26px;font-weight:750}.crm-login-heading p{color:#667085;margin:0;font-size:13px;line-height:1.5}.crm-login-form{flex-direction:column;gap:18px;display:flex}.crm-login-form label{color:#344054;flex-direction:column;gap:7px;font-size:12px;font-weight:650;display:flex}.crm-login-input{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:9px;align-items:center;gap:9px;height:44px;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex}.crm-login-input:focus-within{border-color:#1570ef;box-shadow:0 0 0 3px #1570ef1a}.crm-login-input input{color:#101828;background:0 0;border:0;outline:0;width:100%;height:100%;padding:0;font-family:inherit;font-size:14px}.crm-login-form>button{color:#fff;cursor:pointer;background:#1570ef;border:0;border-radius:9px;height:44px;margin-top:3px;font-family:inherit;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.crm-login-form>button:hover:not(:disabled){background:#0b63ce}.crm-login-form>button:active:not(:disabled){transform:translateY(1px)}.crm-login-form>button:disabled{opacity:.6;cursor:not-allowed}.crm-login-error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:500}.crm-auth-loading{color:#475467;background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;font-size:14px;font-weight:500;display:flex}@media (width<=520px){.crm-login-page{padding:18px}.crm-login-card{padding:28px 22px}}.user-management-grid{grid-template-columns:330px minmax(0,1fr);gap:18px;display:grid}.user-create-form{flex-direction:column;gap:15px;padding:18px;display:flex}.user-create-form label{color:#475467;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.user-create-form input,.user-create-form select,.user-role-select{color:#182230;background:#fff;border:1px solid #d0d5dd;border-radius:7px;height:39px;padding:0 10px;font-family:inherit;font-size:13px}.user-create-button{color:#fff;cursor:pointer;background:#1570ef;border:0;border-radius:8px;height:42px;font-weight:700}.user-email{color:#667085;margin-top:3px;font-size:11px}.user-action-buttons{flex-wrap:wrap;gap:6px;display:flex}.user-action-buttons button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:6px;padding:6px 9px;font-size:11px}.user-action-buttons button:hover{background:#f8fafc}@media (width<=1000px){.user-management-grid{grid-template-columns:1fr}}.account-grid{grid-template-columns:320px minmax(0,520px);gap:18px;display:grid}.account-profile-body{padding:22px}.account-avatar{color:#fff;background:#1570ef;border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:24px;font-size:26px;font-weight:750;display:flex}.account-field{border-bottom:1px solid #eef1f4;padding:13px 0}.account-field:last-child{border-bottom:0}.account-field>div{color:#667085;align-items:center;gap:7px;margin-bottom:5px;font-size:11px;display:flex}.account-field strong{color:#182230;font-size:13px}.account-password-form{flex-direction:column;gap:16px;padding:20px;display:flex}.account-password-form label{color:#475467;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.account-password-form input{border:1px solid #d0d5dd;border-radius:7px;outline:none;height:40px;padding:0 11px;font-family:inherit}.account-password-form input:focus{border-color:#1570ef;box-shadow:0 0 0 3px #1570ef14}.account-password-form button{color:#fff;cursor:pointer;background:#1570ef;border:0;border-radius:8px;height:42px;font-weight:700}.account-password-form button:disabled{opacity:.6}.account-success{color:#067647;background:#ecfdf3;border:1px solid #abefc6;border-radius:7px;padding:10px 12px;font-size:12px}@media (width<=900px){.account-grid{grid-template-columns:1fr}}.crm-readonly-notice{color:#667085;background:#f8fafc;border:1px solid #e4e7ec;border-radius:7px;margin-bottom:16px;padding:10px 12px;font-size:12px;font-weight:600}.user-action-buttons .user-delete-button{color:#b42318;background:#fff5f5;border-color:#fecdca}.user-action-buttons .user-delete-button:hover{background:#fee4e2}.my-actions-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.my-action-summary-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e4e7ec;border-radius:10px;align-items:center;gap:12px;min-height:86px;padding:16px;display:flex}.my-action-summary-card:hover{border-color:#b2ccff}.my-action-summary-card.active{border-color:#1570ef;box-shadow:0 0 0 2px #1570ef14}.my-action-summary-icon{color:#344054;background:#f2f4f7;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.my-action-summary-card strong{color:#101828;font-size:22px;line-height:1;display:block}.my-action-summary-card span{color:#667085;margin-top:5px;font-size:12px;font-weight:600;display:block}.my-action-client{color:#1570ef;cursor:pointer;background:0 0;border:0;padding:0;font-family:inherit;font-size:13px;font-weight:650}.my-action-client:hover{text-decoration:underline}.my-action-complete-button{color:#067647;cursor:pointer;background:#ecfdf3;border:1px solid #abefc6;border-radius:6px;min-width:105px;padding:7px 10px;font-size:11px;font-weight:650}.my-action-complete-button:hover:not(:disabled){background:#dcfae6}.my-action-complete-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=1000px){.my-actions-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.my-actions-summary{grid-template-columns:1fr}}.advanced-filter-toolbar{border-bottom:1px solid #eef1f4;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 18px;display:flex}.advanced-search-box{color:#667085;background:#fff;border:1px solid #d0d5dd;border-radius:7px;align-items:center;gap:8px;width:280px;height:38px;padding:0 11px;display:flex}.advanced-search-box input{color:#182230;background:0 0;border:0;outline:none;width:100%;font-family:inherit;font-size:12px}.advanced-filter-icon{color:#667085;align-items:center;gap:6px;height:38px;padding:0 5px;font-size:11px;font-weight:650;display:flex}.advanced-filter-toolbar select{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;max-width:210px;height:38px;padding:0 30px 0 10px;font-family:inherit;font-size:12px}.advanced-filter-toolbar select:focus{border-color:#1570ef;outline:none;box-shadow:0 0 0 3px #1570ef14}.clear-filter-button{color:#475467;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;align-items:center;gap:5px;height:38px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.clear-filter-button:hover{background:#f8fafc}@media (width<=900px){.advanced-search-box{width:100%}.advanced-filter-toolbar select{flex:1;min-width:160px;max-width:none}}.client-relationship-card{flex-direction:column;gap:18px;display:flex}.client-relationship-header h3{color:#182230;margin:0;font-size:15px}.client-relationship-header p{color:#667085;margin:5px 0 0;font-size:12px}.client-relationship-field{flex-direction:column;gap:7px;display:flex}.client-relationship-field label{color:#475467;font-size:11px;font-weight:700}.client-relationship-field select{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:7px;width:230px;height:38px;padding:0 10px;font-family:inherit;font-size:12px}.relationship-status-pill{color:#344054;background:#f2f4f7;border-radius:999px;width:fit-content;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.client-tag-list{flex-wrap:wrap;gap:7px;display:flex}.client-tag{color:#3538cd;background:#eef4ff;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;font-weight:650;display:inline-flex}.client-tag button{color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex}.client-tags-empty{color:#98a2b3;font-size:12px}.client-tag-entry{gap:8px;display:flex}.client-tag-entry input{border:1px solid #d0d5dd;border-radius:7px;width:230px;height:38px;padding:0 10px;font-family:inherit;font-size:12px}.client-tag-entry button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;align-items:center;gap:5px;height:38px;padding:0 12px;font-family:inherit;font-size:11px;font-weight:650;display:inline-flex}.relationship-save-button{width:fit-content}.relationship-list-pill{white-space:nowrap;color:#344054;background:#f2f4f7;border-radius:999px;align-items:center;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.relationship-strategic{color:#3538cd;background:#eef4ff}.relationship-prospect{color:#027a48;background:#ecfdf3}.relationship-dormant{color:#667085;background:#f2f4f7}.relationship-do-not-contact{color:#b42318;background:#fef3f2}.relationship-active-client{color:#175cd3;background:#eff8ff}.client-table-tags{flex-wrap:wrap;align-items:center;gap:4px;min-width:120px;display:flex}.client-table-tag{color:#475467;white-space:nowrap;background:#f2f4f7;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:650;display:inline-flex}.client-table-tag-more{color:#667085;font-size:10px;font-weight:700}.followup-filter-bar{border-bottom:1px solid #eaecf0;flex-wrap:wrap;align-items:center;gap:8px;padding:15px 18px;display:flex}.followup-filter-bar select{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:7px;height:38px;padding:0 30px 0 10px;font-family:inherit;font-size:12px}.followup-refresh-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;align-items:center;gap:6px;height:38px;padding:0 11px;display:inline-flex}.followup-date{align-items:center;gap:5px;display:inline-flex}.followup-due-badge{border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700;display:inline-flex}.followup-due-badge.overdue{color:#b42318;background:#fef3f2}.followup-due-badge.today{color:#b54708;background:#fffaeb}.followup-due-badge.upcoming{color:#175cd3;background:#eff8ff}.followup-due-badge.completed{color:#027a48;background:#ecfdf3}.followup-due-badge.no_date{color:#667085;background:#f2f4f7}.followup-row-actions{justify-content:flex-end;gap:5px;display:flex}.followup-row-actions button{color:#475467;cursor:pointer;background:#fff;border:1px solid #eaecf0;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.followup-row-actions button:hover{background:#f8fafc}.crm-modal-backdrop{z-index:10000;background:#10182866;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.followup-edit-modal,.followup-history-modal{background:#fff;border-radius:12px;width:min(520px,95vw);max-height:85vh;padding:20px;overflow-y:auto;box-shadow:0 24px 48px #1018282e}.followup-modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.followup-modal-header h3{color:#182230;margin:0;font-size:16px}.followup-modal-header p{color:#667085;margin:4px 0 0;font-size:11px}.followup-modal-header>button{color:#667085;cursor:pointer;background:0 0;border:0}.followup-edit-modal>label{color:#475467;margin:13px 0 6px;font-size:11px;font-weight:700;display:block}.followup-edit-modal>input,.followup-edit-modal>select{box-sizing:border-box;background:#fff;border:1px solid #d0d5dd;border-radius:7px;width:100%;height:40px;padding:0 10px;font-family:inherit;font-size:12px}.followup-modal-buttons{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.followup-history-list{flex-direction:column;display:flex}.followup-history-item{border-bottom:1px solid #eaecf0;gap:10px;padding:13px 0;display:flex}.followup-history-icon{color:#475467;background:#f2f4f7;border-radius:50%;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.followup-history-item strong{color:#344054;font-size:12px}.followup-history-item p{color:#475467;margin:4px 0;font-size:11px}.followup-history-item span{color:#98a2b3;font-size:10px}@media (width<=900px){.followup-filter-bar .advanced-search-box{width:100%}.followup-filter-bar select{flex:1;min-width:150px}}.followup-row-actions .followup-delete-button{color:#b42318}.followup-row-actions .followup-delete-button:hover{background:#fef3f2;border-color:#fecdca}.manual-activity-panel{background:#fff;border:1px solid #eaecf0;border-radius:10px;margin-bottom:18px;padding:18px}.manual-activity-header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.manual-activity-header h3{color:#182230;margin:0;font-size:15px}.manual-activity-header p{color:#667085;margin:5px 0 0;font-size:11px}.manual-activity-form{margin-top:18px}.manual-activity-type-grid{flex-wrap:wrap;gap:7px;margin-bottom:17px;display:flex}.manual-activity-type{color:#475467;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:7px;align-items:center;gap:6px;height:36px;padding:0 10px;font-family:inherit;font-size:11px;font-weight:600;display:inline-flex}.manual-activity-type:hover{background:#f8fafc}.manual-activity-type.active{color:#3538cd;background:#eff4ff;border-color:#84adff}.manual-activity-field{flex-direction:column;gap:6px;margin-top:13px;display:flex}.manual-activity-field label{color:#475467;font-size:11px;font-weight:700}.manual-activity-field input{color:#344054;border:1px solid #d0d5dd;border-radius:7px;outline:none;height:40px;padding:0 11px;font-family:inherit;font-size:12px}.manual-activity-field textarea{resize:vertical;color:#344054;border:1px solid #d0d5dd;border-radius:7px;outline:none;padding:10px 11px;font-family:inherit;font-size:12px}.manual-activity-field input:focus,.manual-activity-field textarea:focus{border-color:#84adff;box-shadow:0 0 0 3px #1570ef14}.manual-activity-buttons{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}@media (width<=700px){.manual-activity-header{flex-direction:column}.manual-activity-type{flex:1;justify-content:center;min-width:125px}}.manual-activity-delete-button{color:#b42318;cursor:pointer;background:#fff;border:1px solid #fecdca;border-radius:6px;margin-top:10px;padding:5px 9px;font-family:inherit;font-size:10px;font-weight:650}.manual-activity-delete-button:hover{background:#fef3f2}.crm-brand-with-logo{flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:14px 12px 16px;display:flex}.crm-brand-logo{object-fit:contain;width:88px;height:auto;margin:0 auto;display:block}.crm-brand-subtitle{color:#fff;opacity:.85;text-align:center;margin:0;font-size:11px;line-height:1.2;display:block}.backup-restore-page{max-width:1400px;margin:0 auto;padding:28px 34px 40px}.backup-restore-page .crm-page-header{margin-bottom:20px}.backup-restore-page .crm-panel{padding:18px 20px}.backup-restore-page .crm-panel-header{margin-bottom:14px}.backup-restore-page label{display:block}.backup-restore-page input,.backup-restore-page select{box-sizing:border-box}.backup-restore-page .crm-table-wrap{margin-top:10px}.backup-restore-page .crm-table th,.backup-restore-page .crm-table td{padding:12px 14px}.opportunities-page{max-width:1600px;margin:0 auto;padding-bottom:48px}.opportunities-page .crm-page-header{align-items:flex-start;margin-bottom:24px}.opportunities-page .crm-page-header h1{letter-spacing:-.5px;margin-bottom:6px;font-size:30px}.opportunities-page .crm-page-header p{color:#64748b;margin:0;font-size:14px}.opportunity-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.opportunity-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;min-height:112px;padding:20px 22px;position:relative;box-shadow:0 1px 2px #0f172a08,0 6px 20px #0f172a0a}.opportunity-kpi-label{color:#64748b;margin-bottom:12px;font-size:13px;font-weight:600;display:block}.opportunity-kpi-card>div{color:#0f172a;line-height:1;font-size:30px!important}.opportunity-kpi-danger{background:snow;border-color:#fecaca}.opportunity-kpi-danger>div{color:#dc2626}.opportunity-filter-bar{background:#eaf0f7;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;width:fit-content;max-width:100%;margin-bottom:20px;padding:6px;display:flex}.opportunity-filter-bar button{color:#475569;cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:36px;padding:7px 14px;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.opportunity-filter-bar button:hover{color:#0f172a;background:#ffffffbf}.opportunity-filter-bar .crm-primary-button{color:#fff;background:#1677ff;box-shadow:0 2px 5px #1677ff38}.opportunity-list-card{border-radius:14px;padding:0;overflow:hidden}.opportunity-list-card .crm-panel-header{border-bottom:1px solid #e9eef5;margin:0;padding:18px 20px}.opportunity-list-card .crm-panel-header h2{margin-bottom:3px}.opportunity-list-card .crm-panel-header span{color:#64748b}.opportunity-list-card .crm-table-wrap{overflow-x:auto}.opportunity-list-card .crm-table{border-collapse:collapse;margin:0}.opportunity-list-card .crm-table thead th{color:#64748b;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-size:11px;font-weight:700}.opportunity-list-card .crm-table tbody td{vertical-align:middle;color:#334155;border-bottom:1px solid #edf2f7;padding:16px}.opportunity-list-card .crm-table tbody tr{transition:background .15s}.opportunity-list-card .crm-table tbody tr:hover{background:#f8fbff}.opportunity-list-card .crm-table tbody tr:last-child td{border-bottom:0}.opportunity-list-card td button[style*=font-weight]{color:#0f4c81;text-align:left}.opportunity-list-card td button[style*=font-weight]:hover{color:#1677ff;text-decoration:underline}.opportunity-stage-badge,.opportunity-status{white-space:nowrap;border-radius:999px;align-items:center;min-height:26px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.opportunity-stage-badge{color:#1d4ed8;background:#edf4ff}.opportunity-status-upcoming{color:#15803d;background:#ecfdf3}.opportunity-status-today{color:#c2410c;background:#fff7ed}.opportunity-status-overdue{color:#dc2626;background:#fef2f2}.opportunity-stage-track{background:#e9eef5;border-radius:12px;grid-template-columns:repeat(7,minmax(100px,1fr));gap:0;margin:24px 0;padding:5px;display:grid;overflow-x:auto}.opportunity-stage-track button{color:#475569;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-right:1px solid #d8e0ea;border-radius:0;padding:9px 14px;font-weight:700;position:relative;min-height:46px!important}.opportunity-stage-track button:first-child{border-radius:8px 0 0 8px}.opportunity-stage-track button:last-child{border-right:0;border-radius:0 8px 8px 0}.opportunity-stage-track button:hover{background:#ffffffa6}.opportunity-stage-track .crm-primary-button{color:#1d4ed8;background:#dbeafe;box-shadow:inset 0 0 0 1px #bfdbfe}.opportunity-detail-grid,.opportunity-bottom-grid{grid-template-columns:minmax(0,2fr) minmax(320px,.95fr);gap:18px;margin-bottom:18px;display:grid}.opportunity-bottom-grid{margin-bottom:0}.opportunity-detail-card,.opportunity-next-action,.opportunity-bottom-grid>.crm-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 1px 2px #0f172a05,0 6px 20px #0f172a09}.opportunity-detail-card,.opportunity-next-action{padding:22px}.opportunity-detail-card .crm-panel-header,.opportunity-next-action .crm-panel-header{border-bottom:1px solid #edf2f7;margin-bottom:20px;padding-bottom:14px}.opportunity-detail-card .crm-panel-header h2,.opportunity-next-action .crm-panel-header h2{margin:0;font-size:18px}.opportunity-detail-card>div:last-child{gap:18px!important}.opportunity-detail-card strong{color:#64748b;text-transform:uppercase;letter-spacing:.025em;font-size:12px;font-weight:700}.opportunity-detail-card span{color:#1e293b;line-height:1.45}.opportunity-next-action{background:linear-gradient(145deg,#f5fff9 0%,#fff 72%);position:relative;overflow:hidden;border-left:0!important}.opportunity-next-action:before{content:"";background:#22c55e;width:4px;height:100%;position:absolute;top:0;left:0}.opportunity-next-action-overdue{background:linear-gradient(145deg,#fff7f7 0%,#fff 72%)}.opportunity-next-action-overdue:before{background:#ef4444}.opportunity-next-action>div:last-child{gap:20px!important}.opportunity-next-action strong{color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin-bottom:5px;font-size:12px;display:block}.opportunity-next-action p{color:#1e293b;margin:4px 0 0;line-height:1.55}.opportunity-next-action .crm-primary-button{justify-content:center;width:100%;min-height:44px;margin-top:4px}.opportunity-bottom-grid>.crm-panel{padding:22px}.opportunity-bottom-grid textarea{box-sizing:border-box;resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}.opportunity-bottom-grid textarea:focus{border-color:#60a5fa;outline:none;box-shadow:0 0 0 3px #3b82f61f}.opportunity-bottom-grid>.crm-panel:last-child>div:last-child{position:relative}.opportunity-bottom-grid>.crm-panel:last-child>div:last-child>div{position:relative;border-left:2px solid #dbeafe!important;padding:2px 0 16px 20px!important}.opportunity-bottom-grid>.crm-panel:last-child>div:last-child>div:before{content:"";background:#3b82f6;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:-6px;box-shadow:0 0 0 1px #bfdbfe}.opportunity-bottom-grid small{color:#94a3b8;margin-top:6px;display:block}.opportunities-page form.crm-panel{border-radius:14px;padding:24px}.opportunities-page form input,.opportunities-page form select,.opportunities-page form textarea{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:42px;padding:9px 12px}.opportunities-page form input:focus,.opportunities-page form select:focus,.opportunities-page form textarea:focus{border-color:#60a5fa;outline:none;box-shadow:0 0 0 3px #3b82f61c}.opportunities-page button{transition:background .15s,border-color .15s,color .15s,box-shadow .15s}.opportunities-page .crm-primary-button{border:0;border-radius:8px}@media (width<=1200px){.opportunity-detail-grid,.opportunity-bottom-grid{grid-template-columns:1fr}.opportunity-kpi-grid{grid-template-columns:repeat(3,1fr)}}@media (width<=800px){.opportunity-kpi-grid{grid-template-columns:1fr}.opportunity-detail-card>div:last-child{grid-template-columns:130px minmax(0,1fr)!important}.opportunity-filter-bar{width:100%}.opportunity-stage-track{grid-template-columns:repeat(7,minmax(125px,1fr))}}.opportunities-page>.crm-page-header{justify-content:space-between;gap:20px;display:flex}.opportunities-page>.crm-page-header>button{background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;min-height:40px;padding:9px 16px;font-weight:600}.opportunities-page>.crm-page-header>button:hover{background:#f8fafc;border-color:#94a3b8}.opportunity-stage-track{background:0 0;align-items:center;gap:0;margin:24px 0;padding:0;display:flex;overflow-x:auto}.opportunity-stage-step{color:#475569;text-align:center;white-space:nowrap;background:#e8edf4;flex:1;min-width:140px;padding:14px 26px 14px 34px;font-size:13px;font-weight:700;position:relative}.opportunity-stage-step:not(:last-child):after{content:"";z-index:2;border-top:23px solid #0000;border-bottom:23px solid #0000;border-left:18px solid #e8edf4;width:0;height:0;position:absolute;top:0;right:-18px}.opportunity-stage-step:not(:last-child):before{content:"";z-index:1;border-top:23px solid #0000;border-bottom:23px solid #0000;border-left:18px solid #fff;width:0;height:0;position:absolute;top:0;right:-20px}.opportunity-stage-step.active{color:#1d4ed8;background:#dbeafe}.opportunity-stage-step.active:not(:last-child):after{border-left-color:#dbeafe}.opportunity-stage-step:first-child{border-radius:10px 0 0 10px}.opportunity-stage-step:last-child{border-radius:0 10px 10px 0}.opportunity-history-card .crm-panel-header{margin-bottom:14px}.opportunity-history-card .crm-panel-header button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:36px;padding:7px 14px;font-weight:600}.opportunity-history-card .crm-panel-header button:hover{background:#f8fafc;border-color:#94a3b8}.opportunity-history-item strong{color:#0f172a;margin-bottom:5px;display:block}.opportunity-history-item div{color:#334155;margin-bottom:5px}.opportunity-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:22px}.opportunity-history-card .crm-panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.opportunity-history-card .crm-panel-header button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 14px;font-weight:600}.opportunity-history-card .crm-panel-header button:hover{background:#f8fafc}.opportunity-history-summary{color:#64748b;margin:0}.opportunity-history-list{gap:0;margin-top:10px;display:grid}.opportunity-history-item{border-left:2px solid #dbeafe;padding:14px 0 14px 22px;position:relative}.opportunity-history-item:before{content:"";background:#3b82f6;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;top:18px;left:-6px;box-shadow:0 0 0 1px #bfdbfe}.opportunity-history-item strong{margin-bottom:5px;display:block}.opportunity-history-item div{margin-bottom:5px}.opportunity-history-item small{color:#94a3b8}.opportunity-form-card{background:#fff;border:1px solid #e2e8f0;overflow:hidden;border-radius:14px!important;margin-bottom:24px!important;padding:0!important}.opportunity-form-header{background:#fbfcfe;border-bottom:1px solid #e8edf3;padding:22px 24px}.opportunity-form-header h2{margin:0 0 5px;font-size:20px}.opportunity-form-header p{color:#64748b;margin:0;font-size:13px}.opportunity-form-section{border-bottom:1px solid #edf2f7;padding:24px}.opportunity-form-section:last-of-type{border-bottom:0}.opportunity-form-section-title{color:#0f172a;margin-bottom:18px;font-size:14px;font-weight:700}.opportunity-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;display:grid}.opportunity-field{flex-direction:column;gap:7px;display:flex}.opportunity-field>span{color:#475569;font-size:12px;font-weight:700}.opportunity-field input,.opportunity-field select,.opportunity-field textarea{color:#0f172a;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px}.opportunity-field textarea{resize:vertical;min-height:92px}.opportunity-field input::placeholder,.opportunity-field textarea::placeholder{color:#94a3b8}.opportunity-field input:focus,.opportunity-field select:focus,.opportunity-field textarea:focus{border-color:#60a5fa;outline:none;box-shadow:0 0 0 3px #3b82f61c}.opportunity-field-full{grid-column:1/-1}.opportunity-checkbox-field{color:#334155;align-items:center;gap:9px;min-height:44px;padding-top:22px;font-size:13px;font-weight:600;display:inline-flex}.opportunity-checkbox-field input{width:17px;height:17px}.opportunity-form-actions{background:#fbfcfe;border-top:1px solid #e8edf3;justify-content:flex-end;gap:10px;padding:18px 24px;display:flex}.opportunity-form-actions button{border-radius:8px;min-height:40px;padding:8px 18px}@media (width<=900px){.opportunity-form-grid{grid-template-columns:1fr}.opportunity-field-full{grid-column:auto}}.opportunities-page .page-heading .crm-primary-button{margin-bottom:20px}.opportunities-page .page-heading{margin-bottom:20px!important}
