@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.login-button{color:#fff;background:#5557ee;border-radius:9px;justify-content:center;align-items:center;gap:10px;width:100%;height:48px;font-weight:700;text-decoration:none;display:flex}.login-button:hover{background:#4648d9}.login-help{text-align:center;color:#737d95;margin:13px 0 0;font-size:12px}.secondary:disabled{opacity:.55;cursor:not-allowed}:root{color:#18213d;font-synthesis:none;--nav:#151936;--primary:#5557ee;--muted:#77819a;--line:#e5e9f1;--orange:#f59e0b;background:#f5f7fb;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}.splash{color:#6c7488;justify-content:center;align-items:center;gap:16px;height:100vh;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#5b5ef2,#8b5cf6);border-radius:11px;place-items:center;width:38px;height:38px;font-size:13px;font-weight:800;display:grid;box-shadow:0 7px 18px #5557ee30}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-page{color:#fff;background:radial-gradient(circle at 75% 20%,#31386d 0,#0000 38%),linear-gradient(145deg,#10142f,#1a2048);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.login-brand{align-items:center;gap:12px;font-size:17px;font-weight:650;display:flex;position:absolute;top:28px;left:34px}.login-card{color:#18213d;background:#fff;border-radius:22px;width:min(460px,100%);padding:42px;box-shadow:0 30px 80px #0005}.login-icon{width:56px;height:56px;color:var(--primary);background:#eeefff;border-radius:17px;place-items:center;margin-bottom:25px;display:grid}.eyebrow{letter-spacing:.14em;color:var(--primary);margin:0 0 9px;font-size:11px;font-weight:700}.login-card h1{margin:0 0 13px;font-size:29px}.login-copy{color:#6f7890;margin:0 0 26px;line-height:1.65}.login-warning,.form-error{color:#8b5b00;background:#fff7e6;border-radius:9px;align-items:flex-start;gap:10px;margin-bottom:15px;padding:12px;font-size:13px;display:flex}.primary,.secondary{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 16px;font-weight:600;display:inline-flex}.primary{background:var(--primary);color:#fff}.primary:hover{background:#4648d9}.primary:disabled{opacity:.6}.secondary{color:#38425c;background:#fff;border-color:#dfe3ec}.wide{width:100%;height:48px}.login-foot{color:#8a92a5;justify-content:center;gap:7px;margin:18px 0 0;font-size:11px;display:flex}.copyright{color:#aeb4cc;font-size:11px;position:absolute;bottom:22px}.app-shell{min-height:100vh}.sidebar{z-index:30;background:var(--nav);color:#fff;flex-direction:column;width:245px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{border-bottom:1px solid #ffffff12;align-items:center;gap:12px;height:77px;padding:0 20px;display:flex}.brand strong,.brand span{display:block}.brand strong{font-size:15px}.brand span{color:#aeb5d3;margin-top:2px;font-size:12px}.mobile-close{display:none}.sidebar nav{flex:1;padding:15px 9px;overflow:auto}.nav-item{color:#c8cde0;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;height:43px;padding:0 13px;display:flex}.nav-item span{flex:1}.nav-item:hover,.nav-item.active{color:#fff;background:#ffffff10}.nav-item.active{box-shadow:inset 3px 0 var(--primary)}.chev{width:15px}.nav-children{padding:3px 0 7px 44px}.nav-children button{color:#969fbd;text-align:left;background:0 0;border:0;border-left:1px solid #333958;width:100%;padding:8px;font-size:12px;display:block}.nav-children button.active,.nav-children button:hover{color:#fff;border-color:#7779ff}.sidebar-foot{border-top:1px solid #ffffff12;padding:13px}.environment{color:#9ba5c3;align-items:center;gap:7px;padding:8px;font-size:11px;display:flex}.environment span{background:#22c55e;border-radius:50%;width:7px;height:7px}.sidebar-foot button{color:#c4cae0;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;width:100%;padding:9px;display:flex}.sidebar-foot button:hover{background:#ffffff0d}.main{min-height:100vh;margin-left:245px}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;height:77px;padding:0 28px;display:flex;position:sticky;top:0}.menu-btn{display:none}.search{border:1px solid var(--line);background:#f8f9fc;border-radius:9px;align-items:center;gap:8px;width:min(440px,42vw);height:39px;padding:0 12px;display:flex}.search svg{color:#9099ad;width:17px}.search input{background:0 0;border:0;outline:0;width:100%;font-size:13px}.top-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.top-actions>button{color:#768099;background:0 0;border:0;border-radius:8px;width:38px;height:38px;position:relative}.top-actions>button:hover{background:#f5f6fa}.top-actions button svg{width:19px}.top-actions i{background:#ef4444;border-radius:50%;width:6px;height:6px;position:absolute;top:8px;right:8px}.profile{border-left:1px solid var(--line);align-items:center;gap:9px;margin-left:6px;padding-left:14px;display:flex}.profile span{flex-direction:column;display:flex}.profile strong{font-size:12px}.workspace{max-width:1600px;margin:auto;padding:27px}.page-head{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.page-head h1{margin:0 0 7px;font-size:23px}.page-head p{color:var(--muted);margin:0;font-size:13px}.page-actions{gap:9px;display:flex}.stats-grid{grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:18px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:flex-start;gap:14px;padding:20px;display:flex;box-shadow:0 2px 7px #23304d08}.stat-icon{border-radius:11px;place-items:center;width:42px;height:42px;display:grid}.stat-icon svg{width:20px}.stat-icon.blue{color:#3080dd;background:#eaf3ff}.stat-icon.purple{color:#765ce7;background:#f0edff}.stat-icon.orange{color:#e1910b;background:#fff2dc}.stat-icon.green{color:#20a462;background:#e7f8ef}.stat-card>div:last-child{flex-direction:column;display:flex}.stat-card span{color:#7c869c;font-size:11px;font-weight:600}.stat-card strong{margin:6px 0 3px;font-size:24px}.stat-card small{color:#9ba3b4;font-size:10px}.dashboard-grid{grid-template-columns:2fr 1fr;gap:18px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:13px;box-shadow:0 2px 7px #23304d08}.span2{grid-column:1}.panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:57px;padding:0 19px;display:flex}.panel-head h2{margin:0;font-size:14px}.panel-head button{color:var(--primary);background:0 0;border:0;align-items:center;gap:6px;font-size:11px;font-weight:600;display:flex}.panel-head button svg{width:14px}.pipeline{justify-content:space-between;align-items:center;padding:27px 23px;display:flex}.pipe-step{text-align:center;flex-direction:column;align-items:center;min-width:105px;display:flex;position:relative}.pipe-step>div{color:#737d96;background:#f0f2f8;border-radius:50%;place-items:center;width:37px;height:37px;display:grid}.pipe-step>div svg{width:17px}.pipe-step strong{margin-top:9px;font-size:18px}.pipe-step span{color:#7e879b;margin-top:3px;font-size:10px}.pipe-step>svg{color:#c3c8d4;width:15px;position:absolute;top:13px;right:-28px}.status-list{padding:8px 19px 14px}.status-list>div{color:#737d93;border-bottom:1px solid #f0f2f6;justify-content:space-between;padding:11px 0;font-size:11px;display:flex}.status-list strong{color:#5e687e;align-items:center;gap:5px;font-size:11px;display:flex}.status-list .good{color:#18a05e}.status-list svg{width:14px}.empty{color:#8a93a7;flex-direction:column;justify-content:center;align-items:center;min-height:175px;display:flex}.empty>div{color:#20a462;background:#effaf4;border-radius:50%;place-items:center;width:45px;height:45px;margin-bottom:11px;display:grid}.empty svg{width:21px}.empty strong{color:#48526a;font-size:12px}.empty span{margin-top:5px;font-size:10px}.books-card{padding:18px}.books-card>svg{color:#3182ce;background:#eaf6ff;border-radius:9px;width:34px;height:34px;margin-bottom:13px;padding:8px}.books-card>div{flex-direction:column;margin-bottom:12px;display:flex}.books-card span{color:#8992a6;font-size:10px}.books-card strong{margin-top:4px;font-size:11px}.table-panel{overflow:hidden}.table-tools{border-bottom:1px solid var(--line);align-items:center;gap:10px;min-height:64px;padding:11px 16px;display:flex}.table-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:7px;width:320px;height:38px;padding:0 10px;display:flex}.table-search svg{color:#949daf;width:16px}.table-search input{border:0;outline:0;width:100%;font-size:12px}.icon-button{border:1px solid var(--line);color:#626d83;background:#fff;border-radius:8px;width:38px;height:38px}.record-count{color:#8992a6;margin-left:auto;font-size:11px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:760px}th{text-align:left;color:#7f899e;text-transform:uppercase;letter-spacing:.05em;background:#f8f9fc;padding:13px 17px;font-size:10px}td{color:#4a556d;border-top:1px solid #eef0f5;padding:14px 17px;font-size:11px}td .empty{min-height:245px}.badge{border-radius:20px;padding:4px 8px;font-size:9px;font-weight:600;display:inline-flex}.badge.success{color:#178950;background:#e7f8ef}.badge.danger{color:#cc3b3b;background:#feecec}.badge.warning{color:#a66b00;background:#fff4dc}.badge.neutral{color:#70798d;background:#eef0f5}.row-action{color:var(--primary);background:0 0;border:0;font-size:10px}.loading{color:#7c869b;justify-content:center;align-items:center;gap:10px;min-height:260px;font-size:12px;display:flex}.api-notice{color:#a86e00;background:#fff8e7;border:1px solid #f4dca7;border-radius:9px;gap:12px;margin:22px;padding:15px;display:flex}.api-notice svg{width:20px}.api-notice div{flex-direction:column;display:flex}.api-notice strong{font-size:12px}.api-notice span{margin-top:4px;font-size:10px}.sync-summary{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.status-tile{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:13px;padding:17px;display:flex}.status-tile>svg{color:#8490a7;width:20px}.status-tile>svg.good{color:#1ea862}.status-tile>svg.bad{color:#dc4848}.status-tile div{flex-direction:column;display:flex}.status-tile span{color:#818b9f;font-size:10px}.status-tile strong{margin-top:4px;font-size:19px}.module-note{color:#778199;border:1px dashed #cfd5e1;border-radius:9px;align-items:center;gap:12px;margin-top:15px;padding:13px 16px;display:flex}.module-note div{flex-direction:column;display:flex}.module-note strong{color:#515c73;font-size:11px}.module-note span{margin-top:3px;font-size:10px}.overlay{display:none}.modal-backdrop{z-index:60;background:#11162c88;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:15px;width:min(680px,100%);overflow:hidden;box-shadow:0 25px 80px #0004}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;padding:21px 24px;display:flex}.modal-head h2{margin:0;font-size:18px}.modal-head button{color:#8490a5;background:0 0;border:0}.modal-head button svg{width:20px}.form-grid{grid-template-columns:1fr 1fr;gap:17px;padding:23px;display:grid}.form-grid label{flex-direction:column;gap:7px;display:flex}.form-grid label span{color:#68738a;font-size:10px;font-weight:600}.form-grid input,.form-grid select{border:1px solid #dfe3eb;border-radius:8px;outline:0;height:40px;padding:0 10px}.form-grid input:focus,.form-grid select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #5557ee16}.modal .form-error{margin:0 23px}.modal-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;margin-top:22px;padding:16px 23px;display:flex}.record-field{background:#fafbfc;border:1px solid #e5e8ef;border-radius:9px;flex-direction:column;gap:8px;min-height:62px;padding:12px;display:flex}.record-field>span{color:#7a8498;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:600}.record-field>strong{color:#263148;overflow-wrap:anywhere;font-size:12px;font-weight:600}@media (width<=1100px){.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.span2{grid-column:auto}.top-actions>button{display:none}}@media (width<=760px){.sidebar{transition:all .25s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.mobile-close{color:#fff;background:0 0;border:0;margin-left:auto;display:block}.main{margin-left:0}.menu-btn{background:0 0;border:0;place-items:center;margin-right:8px;display:grid}.menu-btn svg{width:21px}.overlay{z-index:25;background:#11162c77;display:block;position:fixed;inset:0}.profile span,.profile>svg{display:none}.workspace{padding:20px 14px}.page-head{flex-direction:column;gap:16px}.page-actions{width:100%}.page-actions button{flex:1}.stats-grid,.sync-summary{grid-template-columns:1fr}.pipeline{justify-content:flex-start;gap:48px;overflow:auto}.search,.table-search{width:100%}.record-count{display:none}.form-grid{grid-template-columns:1fr}.login-card{padding:30px 23px}.login-brand{top:20px;left:20px}}.status-list .bad{color:#dc4848}.session-check{width:100%;color:var(--primary);background:0 0;border:0;padding:13px 5px 0;font-size:12px;font-weight:600}.session-check:hover{text-decoration:underline}.modal{flex-direction:column;max-height:calc(100vh - 40px);display:flex}.modal-head,.modal-actions{flex:none}.form-grid{overflow-y:auto}.timesheet-modal{background:#fff;border-radius:15px;flex-direction:column;width:min(1500px,100vw - 34px);max-height:calc(100vh - 34px);display:flex;overflow:hidden;box-shadow:0 25px 80px #0004}.timesheet-summary{border-bottom:1px solid var(--line);background:#f8f9fc;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;padding:15px 22px;display:grid}.timesheet-summary>div{flex-direction:column;gap:5px;display:flex}.timesheet-summary span{text-transform:uppercase;color:#818b9f;font-size:9px;font-weight:700}.timesheet-summary strong{font-size:12px}.timesheet-table{flex:1;overflow:auto}.timesheet-table table{min-width:1380px}.timesheet-table td{padding:10px 9px}.timesheet-table td strong,.timesheet-table td small{display:block}.timesheet-table td small{color:#8a93a6;margin-top:4px}.timesheet-table input,.timesheet-table select{border:1px solid #dfe3eb;border-radius:7px;max-width:125px;height:34px;padding:0 7px;font-size:10px}.timesheet-table input[type=number]{width:65px}.timesheet-table td:nth-child(10) input{width:150px}.tick{justify-content:center;align-items:center;display:inline-flex;position:relative}.tick input{opacity:0;position:absolute}.tick svg{color:#cbd1dc;width:23px}.tick input:checked+svg{color:#19a463;fill:#e5f8ee}.timesheet-footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:9px;padding:14px 20px;display:flex}.timesheet-footer>div{color:#737d93;align-items:center;gap:8px;margin-right:auto;font-size:10px;display:flex}.timesheet-footer svg{width:17px}.timesheet-error{margin:12px 20px 0}@media (width<=760px){.timesheet-summary{grid-template-columns:1fr 1fr}.timesheet-footer>div{display:none}}.return-button{color:#b43b3b;border-color:#efcaca}.return-button:hover{background:#fff2f2}.return-notice{color:#a23333;background:#fff3f3;border:1px solid #f2c8c8;border-radius:9px;gap:10px;margin:13px 20px 0;padding:12px 14px;display:flex}.return-notice svg{width:18px}.return-notice div{flex-direction:column;gap:4px;display:flex}.return-notice strong{font-size:11px}.return-notice span{font-size:10px}.payment-modal{width:min(1100px,100vw - 34px)}.payment-summary{border-bottom:1px solid var(--line);background:#f8f9fc;grid-template-columns:repeat(3,1fr);gap:12px;padding:17px 22px;display:grid}.payment-summary div{flex-direction:column;gap:6px;display:flex}.payment-summary span,.approval-form span{text-transform:uppercase;color:#818b9f;font-size:9px;font-weight:700}.payment-summary strong{font-size:18px}.approval-form{border-top:1px solid var(--line);grid-template-columns:1fr 2fr;gap:14px;padding:16px 22px;display:grid}.approval-form label{flex-direction:column;gap:7px;display:flex}.approval-form input{border:1px solid #dfe3eb;border-radius:8px;height:40px;padding:0 10px}.books-error{margin:0 0 15px}.period-actions,.report-actions{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.period-actions label{text-transform:uppercase;color:#7b8498;flex-direction:column;gap:4px;font-size:9px;font-weight:700;display:flex}.period-actions input{border:1px solid var(--line);color:#344058;background:#fff;border-radius:8px;height:40px;padding:0 9px;font-size:11px}.report-actions{justify-content:flex-end}.metric-button{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;position:relative}.metric-button:hover,.master-metrics button:hover,.financial-strip button:hover{border-color:#cfd2ff;transform:translateY(-1px);box-shadow:0 7px 22px #5557ee12}.metric-link{color:#abb3c3;width:15px;position:absolute;top:15px;right:15px}.master-panel{margin-bottom:18px}.master-metrics{grid-template-columns:repeat(5,1fr);gap:10px;padding:14px;display:grid}.master-metrics button{text-align:left;color:#4a556d;background:#fafbfe;border:1px solid #edf0f5;border-radius:10px;grid-template-columns:28px 1fr auto;align-items:center;gap:7px;min-height:82px;padding:14px;transition:all .18s;display:grid;position:relative}.master-metrics button>svg:first-child{width:19px;color:var(--primary)}.master-metrics button>svg:last-child{color:#b3bac8;width:13px;position:absolute;top:9px;right:9px}.master-metrics span{font-size:10px}.master-metrics strong{color:#202a42;font-size:21px}.dashboard-spacing{margin-top:18px}.pipeline button{color:inherit;cursor:pointer;background:0 0;border:0;font-family:inherit}.pipeline button:hover>div{color:var(--primary);background:#e9eaff}.snapshot-grid{grid-template-columns:repeat(4,1fr);gap:12px;padding:16px;display:grid}.snapshot{background:linear-gradient(145deg,#fbfcff,#f7f8ff);border:1px solid #edf0f5;border-radius:10px;grid-template-columns:30px 1fr;align-items:center;column-gap:7px;min-height:92px;padding:14px;display:grid}.snapshot>svg{width:20px;color:var(--primary);grid-row:1/3}.snapshot span{color:#7c869b;font-size:10px}.snapshot strong{color:#263148;font-size:19px}.dashboard-notices{padding:7px 16px 13px}.dashboard-notices>button{text-align:left;background:0 0;border:0;border-bottom:1px solid #eef0f5;align-items:flex-start;gap:10px;width:100%;padding:11px 3px;display:flex}.dashboard-notices>button:hover{background:#f8f9fc}.dashboard-notices>button div{flex-direction:column;flex:1;gap:4px;display:flex}.dashboard-notices strong{font-size:11px}.dashboard-notices small{color:var(--muted);font-size:10px}.dashboard-notices>button>svg{color:#a6adbc;width:14px}.report-kpis{grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:16px;display:grid}.report-kpis .snapshot{grid-template-columns:26px 1fr}.financial-strip{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;display:grid}.financial-strip button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:11px;flex-direction:column;gap:7px;padding:17px;transition:all .18s;display:flex}.financial-strip span{color:var(--muted);font-size:10px}.financial-strip strong{color:#24304a;font-size:20px}.financial-strip strong.variance{color:#d97706}.report-layout{grid-template-columns:1.6fr 1fr;gap:18px;margin-bottom:18px;display:grid}.trend-chart{padding:18px}.trend-row{grid-template-columns:70px minmax(120px,1fr) 220px;align-items:center;gap:12px;margin:12px 0;display:grid}.trend-row>span{color:#69748b;font-size:10px;font-weight:600}.trend-row>div{background:#eef0f6;border-radius:8px;height:9px;overflow:hidden}.trend-row i{background:linear-gradient(90deg,#5557ee,#8b5cf6);border-radius:8px;height:100%;display:block}.trend-row strong{color:#68738a;font-size:10px;font-weight:500}.status-groups{grid-template-columns:repeat(3,1fr);gap:13px;padding:13px 17px;display:grid}.status-groups h3{text-transform:capitalize;margin:5px 0 8px;font-size:11px}.status-groups button{color:#59647b;background:#f8f9fc;border:0;border-radius:7px;justify-content:space-between;width:100%;margin-bottom:5px;padding:8px;font-size:10px;display:flex}.status-groups button:hover{color:var(--primary);background:#eeefff}.provider-panel{margin-bottom:20px}.table-link{color:var(--primary);background:0 0;border:0;padding:0;font-size:11px}.audit-health{border:1px solid;border-radius:11px;align-items:center;gap:13px;margin-bottom:16px;padding:15px 17px;display:flex}.audit-health>svg{flex:none;width:22px}.audit-health>div{flex-direction:column;flex:1;gap:4px;display:flex}.audit-health strong{font-size:12px}.audit-health span{font-size:10px}.audit-health>b{font-size:10px;font-weight:600}.audit-health.connected{color:#176b43;background:#effcf5;border-color:#bfe8d1}.audit-health.warning{color:#8a5b00;background:#fff8e7;border-color:#f4dca7}@media (width<=1200px){.master-metrics,.report-kpis{grid-template-columns:repeat(3,1fr)}.report-layout{grid-template-columns:1fr}.status-groups{grid-template-columns:1fr 1fr 1fr}}@media (width<=760px){.period-actions,.report-actions{align-items:stretch;width:100%}.period-actions label{flex:1}.period-actions input{width:100%}.master-metrics,.snapshot-grid,.financial-strip,.report-kpis{grid-template-columns:1fr 1fr}.trend-row{grid-template-columns:55px 1fr}.trend-row strong{grid-column:2}.status-groups{grid-template-columns:1fr}.audit-health{align-items:flex-start}.audit-health>b{display:none}}.metric-button>.stat-icon{flex:0 0 42px}.metric-button>div:nth-child(2){flex-direction:column;min-width:0;padding-right:16px;display:flex}.metric-button>div:nth-child(2) span,.metric-button>div:nth-child(2) strong,.metric-button>div:nth-child(2) small{line-height:1.3;display:block}.metric-button>div:nth-child(2) span,.metric-button>div:nth-child(2) small{white-space:normal}.metric-button>div:nth-child(2) strong{margin:5px 0 2px}.reset-panel{max-width:920px;padding:22px}.reset-heading{border-bottom:1px solid var(--line);align-items:flex-start;gap:13px;padding-bottom:17px;display:flex}.reset-heading>svg{color:#dc2626}.reset-heading h2{margin:0 0 5px;font-size:17px}.reset-heading p{color:var(--muted);margin:0;font-size:12px}.reset-counts{grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0;display:grid}.reset-counts div,.reset-total{border:1px solid var(--line);border-radius:8px;justify-content:space-between;padding:11px;display:flex}.reset-counts span{text-transform:capitalize;color:var(--muted);font-size:11px}.reset-total{background:#fff7ed;border-color:#fed7aa}.preserved{color:#166534;background:#f0fdf4;border-radius:8px;gap:9px;margin:14px 0;padding:13px;font-size:11px;display:flex}.preserved svg{flex:none;width:17px}.confirmation-field{flex-direction:column;gap:7px;margin:15px 0;display:flex}.confirmation-field span{font-size:11px}.confirmation-field input{border:1px solid var(--line);border-radius:8px;height:40px;padding:0 10px}.danger-button{color:#fff;background:#dc2626;border:0;border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 15px;display:flex}.danger-button:disabled{opacity:.45;cursor:not-allowed}.profile{align-items:center;gap:9px;margin-left:6px;border-left:1px solid var(--line)!important;border-radius:0!important;width:auto!important;height:auto!important;padding:4px 6px 4px 14px!important;display:flex!important}.profile>div{color:#5557ee;background:#eceeff;border-radius:10px;place-items:center;width:35px;height:35px;font-size:12px;font-weight:700;display:grid}.profile span{text-align:left;flex-direction:column;display:flex}.profile strong{color:#202538;font-size:12px}.profile small{color:#8991a4;margin-top:2px;font-size:10px}.profile>svg{color:#8c94a6;width:14px}.notice-count{color:#fff;background:#ef4444;border-radius:10px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:10px;display:grid;position:absolute;top:2px;right:0}.header-popover{border:1px solid var(--line);z-index:60;background:#fff;border-radius:12px;width:330px;max-height:430px;padding:12px;position:absolute;top:68px;right:22px;overflow:auto;box-shadow:0 16px 45px #20274422}.popover-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:3px 4px 10px;display:flex}.popover-head button{background:0 0;border:0;width:28px;height:28px}.popover-head svg{width:16px}.account-card{gap:12px;padding:16px 5px;display:flex}.account-card>svg{color:var(--primary)}.account-card div{flex-direction:column;gap:4px;display:flex}.account-card span,.account-card small,.popover-copy{color:var(--muted);font-size:12px}.popover-action{color:var(--text);background:#f7f8fb;border-radius:8px;align-items:center;gap:8px;padding:10px;font-size:12px;text-decoration:none;display:flex}.popover-action svg{width:16px}.notice-list>button{text-align:left;background:0 0;border:0;border-bottom:1px solid #eef0f5;gap:10px;width:100%;padding:11px 5px;display:flex}.notice-list>button:hover{background:#f8f9fc}.notice-list>button div{flex-direction:column;gap:4px;display:flex}.notice-list strong{font-size:12px}.notice-list small{color:var(--muted);white-space:normal;font-size:11px}.notice-dot{background:#64748b;border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.notice-dot.warning{background:#f59e0b}.notice-dot.danger{background:#ef4444}.notice-dot.info{background:#6366f1}.page-error{background:#fffaf2;border-color:#fed7aa;align-items:flex-start;gap:16px;min-height:300px;padding:36px;display:flex}.page-error>svg{color:#d97706;flex:none;width:28px;height:28px}.page-error h2{margin:0 0 8px;font-size:20px}.page-error p{color:var(--muted);margin:0 0 18px;font-size:12px}.page-error-actions{flex-wrap:wrap;gap:10px;display:flex}.master-form-backdrop{padding:12px}.master-form-modal{width:min(920px,100vw - 24px);max-height:calc(100dvh - 24px)}.master-form-modal.modal-wide{width:min(1120px,100vw - 24px)}.master-form-modal .modal-head{padding:16px 22px}.master-form-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;min-width:0;padding:18px 22px;overflow:hidden auto}.master-form-modal.modal-wide .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.master-form-modal .form-grid label{min-width:0}.master-form-modal .form-grid input,.master-form-modal .form-grid select{width:100%;min-width:0;max-width:100%;height:38px}.master-form-modal .modal-actions{margin-top:0;padding:14px 22px}.popover-action{text-align:left;border:0;width:100%}@media (width<=900px){.master-form-modal.modal-wide .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.master-form-backdrop{padding:8px}.master-form-modal,.master-form-modal.modal-wide{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.master-form-modal .form-grid,.master-form-modal.modal-wide .form-grid{grid-template-columns:minmax(0,1fr);padding:16px}}.provider-identity{color:#fff;background:linear-gradient(135deg,#171c3d,#292f64);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px;padding:18px 20px;display:flex;box-shadow:0 12px 30px #15193622}.provider-identity>div{align-items:center;gap:12px;display:flex}.provider-identity>div>svg{color:#aeb0ff;width:25px}.provider-identity span{flex-direction:column;gap:4px;display:flex}.provider-identity strong{font-size:13px}.provider-identity small{color:#c4c9e1;font-size:11px}.provider-plan-table{min-width:600px}.provider-plan-table td strong{font-size:12px}.provider-summary-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.provider-summary-strip>div{border:1px solid var(--line);background:#fff;border-radius:11px;align-items:center;gap:11px;min-width:0;padding:15px;display:flex}.provider-summary-strip>div>svg{width:20px;color:var(--primary);flex:none}.provider-summary-strip span{min-width:0;color:var(--muted);flex-direction:column;gap:5px;font-size:10px;display:flex}.provider-summary-strip strong{color:#263148;font-size:18px}.timesheet-create-modal{width:min(920px,100vw - 24px)}.timesheet-create-body{padding:18px 22px;overflow-y:auto}.timesheet-create-fields{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;display:grid}.timesheet-create-fields label{flex-direction:column;gap:7px;min-width:0;display:flex}.timesheet-create-fields label span{color:#68738a;font-size:10px;font-weight:600}.timesheet-create-fields input,.timesheet-create-fields select{background:#fff;border:1px solid #dfe3eb;border-radius:8px;width:100%;min-width:0;height:40px;padding:0 10px}.timesheet-create-fields .record-field{height:64px}.preview-plan{width:100%}.plan-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.plan-preview>div{background:#fafbfe;border:1px solid #e8eaf1;border-radius:9px;flex-direction:column;gap:6px;min-width:0;padding:12px;display:flex}.plan-preview span{text-transform:uppercase;color:#818b9f;font-size:9px;font-weight:700}.plan-preview strong{overflow-wrap:anywhere;font-size:12px}.timesheet-create-body .form-error{margin:14px 0 0}.timesheet-create-body .module-note{margin-top:15px}@media (width<=1000px){.provider-summary-strip,.timesheet-create-fields,.plan-preview{grid-template-columns:1fr 1fr}}@media (width<=620px){.provider-identity{flex-direction:column;align-items:flex-start}.provider-identity .primary{width:100%}.provider-summary-strip,.timesheet-create-fields,.plan-preview{grid-template-columns:1fr}.timesheet-create-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}.user-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.user-summary>div{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:34px 1fr;align-items:center;gap:3px 10px;min-width:0;padding:16px;display:grid}.user-summary svg{width:20px;color:var(--primary);grid-row:1/3}.user-summary span{color:var(--muted);font-size:10px}.user-summary strong{color:#25304a;font-size:21px}.user-table{min-width:980px}.user-table td:first-child strong,.user-table td:first-child small{display:block}.user-table td:first-child small{color:var(--muted);margin-top:4px}.user-form-modal{width:min(900px,100vw - 24px);max-height:calc(100dvh - 24px)}.user-form-body{overflow-y:auto}.user-form-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 22px}.user-form-modal .form-grid label{flex-direction:column;gap:7px;min-width:0;display:flex}.user-form-modal .form-grid label span{color:#68738a;font-size:10px;font-weight:600}.user-form-modal .form-grid input,.user-form-modal .form-grid select{background:#fff;border:1px solid #dfe3eb;border-radius:8px;width:100%;min-width:0;height:40px;padding:0 10px}.user-form-modal input:disabled{color:#747d91;background:#f3f4f7}.role-preview{background:#f8f8ff;border:1px solid #dfe2ff;border-radius:11px;margin:0 22px 18px;padding:14px}.role-preview>div:first-child{align-items:flex-start;gap:10px;display:flex}.role-preview>div:first-child>svg{width:20px;color:var(--primary);flex:none}.role-preview>div:first-child span{flex-direction:column;gap:4px;display:flex}.role-preview strong{font-size:12px}.role-preview small{color:var(--muted);font-size:10px;line-height:1.45}.permission-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.permission-tags>span{color:#59647a;text-transform:capitalize;background:#fff;border:1px solid #dfe2f1;border-radius:20px;padding:5px 8px;font-size:9px}.user-details-modal{width:min(780px,100vw - 24px)}.details-permissions{margin-top:0}.user-actions{flex-wrap:wrap}.user-actions .danger-button{margin-left:auto}.user-form-modal .form-error{margin:0 22px 18px}@media (width<=900px){.user-summary{grid-template-columns:1fr 1fr}}@media (width<=620px){.user-summary{grid-template-columns:1fr}.user-form-modal .form-grid{grid-template-columns:1fr;padding:16px}.user-form-modal,.user-details-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.role-preview{margin:0 16px 16px}.user-actions>*{width:100%;margin-left:0!important}}.system-dialog-backdrop{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c1127a8;place-items:center;padding:20px;animation:.16s ease-out dialog-fade-in;display:grid;position:fixed;inset:0}.system-dialog{background:#fff;border:1px solid #e3e7f1f2;border-radius:18px;width:min(500px,100%);max-height:calc(100dvh - 32px);animation:.2s ease-out dialog-rise-in;position:relative;overflow:auto;box-shadow:0 30px 90px #0d142e57}.system-dialog-close{color:#7b8498;background:#f5f6fa;border:0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:14px;right:14px}.system-dialog-close:hover{color:#38425c;background:#eceef4}.system-dialog-close svg{width:18px}.system-dialog-content{align-items:flex-start;gap:16px;padding:30px 54px 22px 27px;display:flex}.system-dialog-icon{border-radius:15px;flex:none;place-items:center;width:48px;height:48px;display:grid}.system-dialog-icon svg{width:24px;height:24px}.system-dialog-success .system-dialog-icon{color:#159458;background:#e8f9f0}.system-dialog-warning .system-dialog-icon{color:#b87500;background:#fff4d9}.system-dialog-danger .system-dialog-icon{color:#d64242;background:#ffebeb}.system-dialog-info .system-dialog-icon,.system-dialog-question .system-dialog-icon{color:var(--primary);background:#eceeff}.system-dialog-copy{flex:1;min-width:0}.system-dialog-copy .eyebrow{margin-bottom:7px;font-size:9px}.system-dialog-copy h2{color:#202a42;margin:0 0 9px;font-size:19px;line-height:1.3}.system-dialog-copy>p:last-of-type{color:#667188;white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.65}.system-dialog-field{flex-direction:column;gap:7px;margin-top:18px;display:flex}.system-dialog-field>span{color:#616d84;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:700}.system-dialog-field textarea{resize:vertical;color:#28334b;width:100%;min-height:104px;font:inherit;border:1px solid #dce1eb;border-radius:10px;outline:0;padding:11px 12px;font-size:12px;line-height:1.5}.system-dialog-field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #5557ee1f}.system-dialog-field small{color:#929bad;align-self:flex-end;font-size:9px}.system-dialog-validation{color:#b93434;background:#fff1f1;border-radius:8px;align-items:center;gap:7px;margin-top:10px;padding:9px 10px;font-size:11px;display:flex}.system-dialog-validation svg{flex:none;width:15px}.system-dialog-actions{border-top:1px solid var(--line);background:#fafbfc;justify-content:flex-end;gap:9px;padding:16px 22px;display:flex}.dialog-danger-button{color:#fff;background:#dc3535;border:0;border-radius:8px;height:40px;padding:0 17px;font-weight:600}.dialog-danger-button:hover{background:#c72c2c}@keyframes dialog-fade-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-rise-in{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:none}}.table-wrap,.timesheet-table{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}@media (width<=1100px){.top-actions>.notification-action{display:grid}}@media (width<=760px){.topbar{gap:3px;height:66px;padding:0 10px}.menu-btn{flex:0 0 36px;margin-right:0}.search{flex:1;width:auto;min-width:0;height:38px}.top-actions{gap:1px;margin-left:3px}.top-actions>.notification-action{width:36px;height:36px;display:grid}.top-actions>.help-action{display:none}.profile{border-left:0!important;margin-left:1px!important;padding:3px!important}.profile>div{width:34px;height:34px}.header-popover{width:auto;max-height:calc(100dvh - 82px);position:fixed;top:72px;left:8px;right:8px}.page-actions{flex-wrap:wrap;display:flex}.page-actions>*{min-width:0}.table-tools{flex-wrap:wrap}.table-search{flex:100%}.modal-backdrop{padding:10px}.modal,.payment-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.payment-summary{grid-template-columns:1fr 1fr 1fr}.approval-form{grid-template-columns:1fr}.reset-counts{grid-template-columns:1fr 1fr}}@media (width<=620px){.system-dialog-backdrop{background:#0c1127b3;place-items:end center;padding:0}.system-dialog{border-bottom:0;border-radius:20px 20px 0 0;width:100%;max-height:92dvh}.system-dialog-content{gap:13px;padding:25px 48px 19px 18px}.system-dialog-icon{border-radius:13px;width:42px;height:42px}.system-dialog-copy h2{font-size:17px}.system-dialog-copy>p:last-of-type{font-size:12px}.system-dialog-actions{padding:13px 16px calc(13px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}.system-dialog-actions>button{width:100%}.system-dialog-actions>button:only-child{grid-column:1/-1}.timesheet-modal{border-radius:0;width:100vw;height:100dvh;max-height:100dvh}.timesheet-summary{gap:9px;padding:12px 14px}.timesheet-error,.return-notice{margin-left:12px;margin-right:12px}.timesheet-footer{padding:11px 12px calc(11px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}.timesheet-footer>button{width:100%}.timesheet-footer>button:last-child:nth-child(odd){grid-column:1/-1}.payment-summary{grid-template-columns:1fr;padding:12px 16px}.payment-summary strong{font-size:15px}.approval-form{padding:13px 16px}.reset-counts{grid-template-columns:1fr}.reset-panel{padding:16px}}.crm-sync-backdrop{z-index:72;padding:12px}.crm-sync-modal{flex-direction:column;width:min(1280px,100vw - 24px);max-width:none;height:min(880px,100dvh - 24px);display:flex;overflow:hidden}.crm-sync-source{background:#f7f7ff;border:1px solid #dde0ff;border-radius:11px;align-items:flex-start;gap:11px;margin:16px 20px 0;padding:13px 14px;display:flex}.crm-sync-source>svg{color:var(--primary);flex:none;width:20px}.crm-sync-source>div{flex-direction:column;gap:4px;min-width:0;display:flex}.crm-sync-source strong{font-size:11px}.crm-sync-source span{color:var(--muted);font-size:9px;line-height:1.5}.crm-sync-source>b{color:var(--primary);background:#fff;border:1px solid #dfe1ff;border-radius:20px;flex:none;margin-left:auto;padding:5px 8px;font-size:9px}.crm-view-controls{align-items:end;gap:10px;padding:14px 20px;display:flex}.crm-view-controls label{flex-direction:column;flex:1;gap:6px;display:flex}.crm-view-controls label>span{color:#68738a;text-transform:uppercase;letter-spacing:.05em;font-size:9px;font-weight:700}.crm-view-controls select{background:#fff;border:1px solid #dfe3eb;border-radius:8px;width:100%;height:42px;padding:0 11px}.crm-field-mapping{background:#fafbfe;border:1px solid #e1e4ed;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 20px 12px;padding:13px;display:grid}.crm-field-mapping label{flex-direction:column;gap:6px;min-width:0;display:flex}.crm-field-mapping label>span{color:#68738a;text-transform:uppercase;letter-spacing:.04em;font-size:8px;font-weight:700}.crm-field-mapping select,.crm-field-mapping input{color:#2d3650;background:#fff;border:1px solid #dfe3eb;border-radius:8px;width:100%;min-width:0;height:39px;padding:0 10px}.crm-filter-result{color:#256d47;background:#f2faf5;border:1px solid #c9e4d3;border-radius:9px;align-items:center;gap:9px;margin:0 20px 10px;padding:10px 12px;display:flex}.crm-filter-result>svg{flex:none;width:18px}.crm-filter-result>span{flex-direction:column;gap:3px;min-width:0;display:flex}.crm-filter-result strong{font-size:10px}.crm-filter-result small{color:#527260;font-size:8px;line-height:1.4}.crm-sync-summary{grid-template-columns:repeat(5,1fr);gap:8px;margin:0 20px 12px;display:grid}.crm-sync-summary>div{background:#fafbfe;border:1px solid #e1e4ed;border-radius:9px;flex-direction:column;gap:3px;padding:10px 12px;display:flex}.crm-sync-summary strong{color:#1b2340;font-size:17px}.crm-sync-summary span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:8px;font-weight:700}.crm-sync-summary .create{background:#f4fbf6;border-color:#cce5d5}.crm-sync-summary .create strong{color:#27734a}.crm-sync-summary .update{background:#f7f7ff;border-color:#daddff}.crm-sync-summary .update strong{color:var(--primary)}.crm-sync-summary .review{background:#fffaf0;border-color:#f0ddb3}.crm-sync-summary .review strong{color:#956600}.crm-table-tools{justify-content:space-between;align-items:center;gap:12px;padding:0 20px 10px;display:flex}.crm-table-tools>div:last-child{gap:7px;display:flex}.crm-contact-list{border:1px solid #e0e3eb;border-radius:10px;flex:1;min-height:180px;margin:0 20px;overflow:auto}.crm-contact-list table{border-collapse:collapse;width:100%;min-width:920px}.crm-contact-list th{z-index:1;color:#758097;text-align:left;text-transform:uppercase;letter-spacing:.05em;background:#f5f6fa;border-bottom:1px solid #e0e3eb;padding:10px;font-size:8px;position:sticky;top:0}.crm-contact-list td{vertical-align:top;border-bottom:1px solid #eceef4;padding:10px;font-size:9px}.crm-contact-list tr:last-child td{border-bottom:0}.crm-contact-list tr.disabled{color:#7d8493;background:#fafafa}.crm-contact-list td>strong,.crm-contact-list td>small{display:block}.crm-contact-list td>strong{color:#222b47;font-size:10px}.crm-contact-list td>small{color:var(--muted);margin-top:4px;line-height:1.4}.crm-contact-list .crm-check{text-align:center;width:34px}.crm-contact-list input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary)}.crm-action{border-radius:20px;padding:4px 7px;font-size:8px;font-weight:700;display:inline-flex}.crm-action.create{color:#257047;background:#e8f7ed}.crm-action.update{color:#504bd0;background:#eceeff}.crm-action.review{color:#906000;background:#fff3d8}.crm-action.blocked{color:#a23b3b;background:#feecec}.crm-contact-list ul{color:#9a6400;margin:0;padding-left:14px}.crm-contact-list li{margin:0 0 3px;line-height:1.35}.crm-valid{color:#28764c;align-items:center;gap:5px;font-weight:700;display:flex}.crm-valid svg{width:14px}.crm-sync-result{color:#256d47;background:#f1faf4;border:1px solid #cbe4d4;border-radius:10px;gap:10px;margin:10px 20px 0;padding:12px 14px;display:flex}.crm-sync-result>svg{flex:none;width:19px}.crm-sync-result>div{flex-direction:column;gap:4px;display:flex}.crm-sync-result strong{font-size:11px}.crm-sync-result span,.crm-sync-result small{font-size:9px;line-height:1.4}.crm-sync-modal>.form-error{margin:10px 20px 0}.crm-sync-modal .modal-actions{flex:none}.crm-selected{color:var(--muted);margin-right:auto;font-size:10px;font-weight:700}@media (width<=760px){.crm-sync-backdrop{padding:0}.crm-sync-modal{border-radius:0;width:100vw;height:100dvh;max-height:none}.crm-sync-source{margin:10px 12px 0}.crm-sync-source>b{display:none}.crm-view-controls{flex-direction:column;align-items:stretch;padding:10px 12px}.crm-view-controls button{width:100%}.crm-field-mapping{grid-template-columns:1fr 1fr;margin:0 12px 9px;padding:10px}.crm-filter-result{margin:0 12px 9px}.crm-sync-summary{grid-template-columns:repeat(3,1fr);margin:0 12px 9px}.crm-table-tools{flex-direction:column;align-items:stretch;padding:0 12px 9px}.crm-table-tools .table-search{width:100%}.crm-table-tools>div:last-child button{flex:1}.crm-contact-list{border:0;border-radius:0;margin:0 12px;overflow:auto}.crm-contact-list table,.crm-contact-list tbody,.crm-contact-list tr,.crm-contact-list td{width:100%;min-width:0;display:block}.crm-contact-list thead{display:none}.crm-contact-list tr{background:#fff;border:1px solid #e0e3eb;border-radius:10px;margin-bottom:8px;padding:9px 9px 9px 38px;position:relative}.crm-contact-list tr.disabled{background:#fafafa}.crm-contact-list td{border:0;padding:4px 0}.crm-contact-list .crm-check{width:18px;padding:0;position:absolute;top:12px;left:10px}.crm-contact-list td:nth-child(3):before{content:"CRM ACCOUNT";color:#8991a2;margin-bottom:3px;font-size:7px;font-weight:700;display:block}.crm-contact-list td:nth-child(4):before{content:"SYSTEM ACTION";color:#8991a2;margin-bottom:3px;font-size:7px;font-weight:700;display:block}.crm-sync-result,.crm-sync-modal>.form-error{margin-left:12px;margin-right:12px}.crm-sync-modal .modal-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}.crm-selected{grid-column:1/-1}.crm-sync-modal .modal-actions button{width:100%}}@media (width<=430px){.crm-field-mapping{grid-template-columns:1fr}.crm-sync-summary{grid-template-columns:1fr 1fr}.crm-sync-summary>div:first-child{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){.system-dialog-backdrop,.system-dialog{animation:none}}.entity-profile-backdrop{z-index:70;padding:12px}.entity-profile-modal{background:#f6f7fb;border:1px solid #e4e7f0;border-radius:17px;flex-direction:column;width:min(1500px,100vw - 24px);height:min(920px,100dvh - 24px);min-height:620px;display:flex;overflow:hidden;box-shadow:0 30px 100px #11162c55}.entity-profile-head{color:#fff;background:linear-gradient(135deg,#171c3d,#292f64);flex:none;justify-content:space-between;align-items:center;gap:18px;min-height:78px;padding:14px 20px;display:flex}.entity-title-row{align-items:center;gap:13px;min-width:0;display:flex}.entity-title-row>span{flex-direction:column;gap:2px;min-width:0;display:flex}.entity-title-row small{letter-spacing:.12em;color:#aeb7dc;font-size:9px;font-weight:700}.entity-title-row h2{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:20px;line-height:1.3;overflow:hidden}.entity-title-row em{color:#c5cbe4;font-size:10px;font-style:normal}.entity-avatar{color:#b8bcff;background:#ffffff17;border-radius:13px;flex:none;place-items:center;width:44px;height:44px;display:grid}.entity-avatar.physiologist{color:#80e1c3;background:#35c89b1b}.entity-avatar svg{width:22px}.entity-close,.entity-back{color:#d8def2;background:#ffffff10;border:0;border-radius:10px;flex:none;place-items:center;width:37px;height:37px;display:grid}.entity-close:hover,.entity-back:hover{color:#fff;background:#fff2}.entity-close svg,.entity-back svg{width:19px}.entity-profile-controls{border-bottom:1px solid var(--line);background:#fff;flex:none;justify-content:space-between;align-items:center;gap:18px;min-height:66px;padding:10px 18px;display:flex}.entity-profile-controls nav{align-items:center;gap:4px;min-width:0;display:flex}.entity-profile-controls nav button{color:#68738a;white-space:nowrap;background:0 0;border:0;border-radius:8px;height:38px;padding:0 14px;font-size:11px;font-weight:600}.entity-profile-controls nav button:hover{color:var(--primary);background:#f3f4fa}.entity-profile-controls nav button.active{color:var(--primary);background:#eceeff}.entity-period{flex:none;align-items:flex-end;gap:7px;display:flex}.entity-period label{flex-direction:column;gap:3px;display:flex}.entity-period label span{text-transform:uppercase;color:#8992a5;font-size:8px;font-weight:700}.entity-period input{color:#3d4860;border:1px solid #dfe3eb;border-radius:7px;width:132px;height:36px;padding:0 8px;font-size:10px}.entity-period button{height:36px;padding:0 11px}.entity-period button svg{width:14px}.entity-profile-content{-webkit-overflow-scrolling:touch;flex:1;min-height:0;padding:16px 18px;overflow:auto}.entity-tab-body{flex-direction:column;gap:15px;max-width:1460px;margin:0 auto;display:flex}.entity-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;display:grid}.entity-metric{background:#fff;border:1px solid #e5e8f0;border-radius:11px;align-items:center;gap:10px;min-width:0;min-height:88px;padding:13px;display:flex;box-shadow:0 3px 12px #222a4610}.entity-metric>svg{width:33px;height:33px;color:var(--primary);background:#eef0ff;border-radius:10px;flex:none;padding:8px}.entity-metric.green>svg{color:#16975a;background:#eaf9f1}.entity-metric.amber>svg{color:#ba7800;background:#fff4dd}.entity-metric>span{flex-direction:column;gap:3px;min-width:0;display:flex}.entity-metric small{color:#7d879c;white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.entity-metric strong{color:#25304a;overflow-wrap:anywhere;font-size:17px;line-height:1.25}.entity-metric em{color:#9aa2b2;font-size:8px;font-style:normal}.entity-two-column{grid-template-columns:1fr 1fr;align-items:stretch;gap:15px;display:grid}.entity-section{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;overflow:hidden;box-shadow:0 3px 12px #222a460b}.entity-section>header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;min-height:58px;padding:13px 16px;display:flex}.entity-section>header h3{color:#29344d;margin:0;font-size:12px}.entity-section>header p{color:#8a93a6;margin:4px 0 0;font-size:9px}.entity-facts{grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.entity-fact{background:#fafbfe;border:1px solid #edf0f5;border-radius:8px;flex-direction:column;gap:6px;min-width:0;padding:10px;display:flex}.entity-fact>span{text-transform:uppercase;letter-spacing:.04em;color:#8a93a6;font-size:8px;font-weight:700}.entity-fact>strong{color:#3f4a62;overflow-wrap:anywhere;min-width:0;font-size:10px;font-weight:600}.entity-inline-status{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.entity-inline-status b{color:#5d6880;font-size:9px;font-weight:600}.entity-status-grid{grid-template-columns:1fr 1fr;gap:10px;padding:14px;display:grid}.entity-related-card+.entity-status-grid{padding-top:3px}.entity-status-card{background:#fafbfe;border:1px solid #edf0f5;border-radius:8px;min-width:0;padding:10px}.entity-status-card h4{text-transform:uppercase;color:#758097;margin:0 0 8px;font-size:9px}.entity-status-card>div{border-bottom:1px solid #eceff5;justify-content:space-between;align-items:center;padding:5px 0;display:flex}.entity-status-card>div:last-child{border-bottom:0}.entity-status-card>div strong{color:#424e65;font-size:10px}.entity-status-card>span{color:#929bad;font-size:9px}.entity-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow:auto}.entity-table{border-collapse:collapse;width:100%;min-width:940px}.entity-table th{background:#f8f9fc;padding:11px 13px;font-size:8px}.entity-table td{white-space:nowrap;padding:11px 13px;font-size:10px}.entity-table td>strong,.entity-table td>small{display:block}.entity-table td>small{color:#919aac;margin-top:4px;font-size:8px}.entity-table .row-action{white-space:nowrap;font-size:9px;font-weight:600}.entity-user-list{grid-template-columns:1fr 1fr;gap:8px;padding:7px 14px 13px;display:grid}.entity-user-list.compact{grid-template-columns:1fr}.entity-user-list>div{background:#fafbfe;border:1px solid #edf0f5;border-radius:8px;align-items:center;gap:9px;min-width:0;padding:10px;display:flex}.entity-user-list>div>svg{width:19px;color:var(--primary);flex:none}.entity-user-list>div>span{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.entity-user-list strong{color:#3e4960;font-size:10px}.entity-user-list small{color:#8a93a6;white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.entity-related-card{text-align:left;background:#f8f8ff;border:1px solid #dfe2ff;border-radius:9px;align-items:center;gap:10px;width:calc(100% - 28px);margin:14px;padding:12px;display:flex}.entity-related-card:hover{background:#f2f2ff;border-color:#bfc3ff}.entity-related-card>svg{width:22px;color:var(--primary);flex:none}.entity-related-card>span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.entity-related-card strong{color:#343f57;font-size:11px}.entity-related-card small{color:#7f899e;white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.entity-chip-groups{flex-direction:column;gap:12px;padding:14px;display:flex}.entity-chip-groups>div{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.entity-chip-groups span{text-transform:uppercase;color:#8a93a6;width:58px;font-size:8px;font-weight:700}.entity-chip-groups b{color:#59647a;background:#f0f1f8;border-radius:20px;padding:5px 8px;font-size:8px;font-weight:600}.entity-empty{color:#9099aa;justify-content:center;align-items:center;gap:9px;min-height:110px;padding:20px;font-size:10px;display:flex}.entity-empty svg{color:#adb5c4;width:18px}.entity-guidance{color:#4d5a74;background:#f8f8ff;border:1px solid #dfe2ff;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.entity-guidance>svg{width:19px;color:var(--primary);flex:none}.entity-guidance>span{flex-direction:column;gap:4px;display:flex}.entity-guidance strong{font-size:10px}.entity-guidance small{color:#768198;font-size:9px;line-height:1.5}.entity-variance{color:#bd7500;font-weight:700}.financial-table{min-width:1060px}.entity-loading{color:#7a8499;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:340px;display:flex}.entity-loading svg{width:25px;color:var(--primary);animation:1s linear infinite entity-spin}.entity-loading strong{color:#4f5a72;margin-top:5px;font-size:12px}.entity-loading span{font-size:9px}.entity-error{color:#b53b3b;background:#fff7f7;border:1px solid #f2caca;border-radius:12px;justify-content:center;align-items:center;gap:12px;min-height:260px;padding:25px;display:flex}.entity-error>svg{flex:none;width:23px}.entity-error>span{flex-direction:column;gap:4px;max-width:600px;display:flex}.entity-error strong{font-size:12px}.entity-error small{font-size:10px;line-height:1.5}.entity-error button{margin-left:8px}.entity-profile-actions{border-top:1px solid var(--line);background:#fff;flex:none;justify-content:flex-end;align-items:center;gap:8px;min-height:63px;padding:10px 18px;display:flex}.entity-profile-actions>span{color:#8a93a6;align-items:center;gap:7px;margin-right:auto;font-size:9px;display:flex}.entity-profile-actions>span svg{width:15px;color:var(--primary)}.entity-profile-actions button svg{width:15px}.entity-profile-actions .entity-delete{color:#b83b3b;border-color:#eccbcb}@keyframes entity-spin{to{transform:rotate(360deg)}}@media (width<=1200px){.entity-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.entity-profile-controls{flex-direction:column;align-items:flex-start;gap:7px}.entity-profile-controls nav{width:100%;overflow:auto}.entity-period{justify-content:flex-end;width:100%}}@media (width<=760px){.entity-profile-backdrop{padding:0}.entity-profile-modal{border:0;border-radius:0;width:100vw;height:100dvh;min-height:0}.entity-profile-head{min-height:68px;padding:10px 12px}.entity-avatar{border-radius:11px;width:38px;height:38px}.entity-title-row{gap:9px}.entity-title-row h2{font-size:16px}.entity-title-row small{font-size:8px}.entity-close,.entity-back{width:34px;height:34px}.entity-profile-controls{gap:7px;padding:7px 10px}.entity-profile-controls nav{order:2;padding-bottom:2px}.entity-profile-controls nav button{height:34px;padding:0 11px;font-size:10px}.entity-period{order:1;grid-template-columns:1fr 1fr auto;align-items:end;display:grid}.entity-period input{width:100%;min-width:0}.entity-profile-content{padding:10px}.entity-summary-grid{grid-template-columns:1fr 1fr;gap:8px}.entity-metric{min-height:76px;padding:10px}.entity-metric>svg{width:29px;height:29px;padding:7px}.entity-metric strong{font-size:14px}.entity-two-column{grid-template-columns:1fr;gap:10px}.entity-facts{grid-template-columns:1fr 1fr;gap:8px;padding:10px}.entity-status-grid{gap:8px;padding:10px}.entity-user-list{grid-template-columns:1fr;padding:7px 10px 10px}.entity-section>header{padding:11px 12px}.entity-profile-actions{padding:8px 10px calc(8px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}.entity-profile-actions>span{display:none}.entity-profile-actions button{width:100%;margin:0}.entity-profile-actions button:last-child:nth-child(odd){grid-column:1/-1}}@media (width<=440px){.entity-period{grid-template-columns:1fr 1fr}.entity-period button{grid-column:1/-1;justify-content:center;width:100%}.entity-summary-grid,.entity-facts,.entity-status-grid{grid-template-columns:1fr}}.master-import-modal{width:min(820px,100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.master-import-intro{background:#f8f8ff;border:1px solid #dfe2ff;border-radius:11px;align-items:flex-start;gap:12px;margin:20px 22px 0;padding:15px;display:flex}.master-import-intro>svg{color:var(--primary);flex:none}.master-import-intro>div{flex-direction:column;gap:5px;display:flex}.master-import-intro strong{font-size:12px}.master-import-intro span{color:var(--muted);font-size:10px;line-height:1.55}.master-import-file{flex-direction:column;gap:7px;margin:16px 22px 0;display:flex}.master-import-file>span{color:#68738a;text-transform:uppercase;letter-spacing:.04em;font-size:10px;font-weight:700}.master-import-file input{background:#fff;border:1px solid #dfe3eb;border-radius:8px;width:100%;min-height:44px;padding:9px 10px}.master-import-modal .module-note{margin:15px 22px 0}.master-detected{background:#f2fbf6;border:1px solid #dce8e2;border-radius:10px;margin:15px 22px 0;padding:13px}.master-detected>strong{color:#246846;margin-bottom:9px;font-size:11px;display:block}.master-detected>div{flex-wrap:wrap;gap:7px;display:flex}.master-detected span{color:#29704c;background:#fff;border:1px solid #cfe4d7;border-radius:20px;padding:5px 8px;font-size:9px}.master-detected small{color:#866000;margin-top:9px;font-size:9px;display:block}.master-import-results{background:#f4fbf7;border:1px solid #cfe4d7;border-radius:11px;margin:15px 22px 0;overflow:hidden}.master-import-total{color:#236745;border-bottom:1px solid #dcebe2;align-items:center;gap:10px;padding:14px;display:flex}.master-import-total>svg{width:20px}.master-import-total>div{flex-direction:column;gap:4px;display:flex}.master-import-total strong{font-size:12px}.master-import-total span{font-size:10px}.master-result-grid{background:#dcebe2;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.master-result-grid>div{background:#fff;flex-direction:column;gap:5px;min-width:0;padding:12px;display:flex}.master-result-grid strong{text-transform:capitalize;font-size:10px}.master-result-grid span{color:#5f6a7d;font-size:9px}.master-result-grid small{color:#a33b3b;font-size:9px;line-height:1.4}.master-import-modal .form-error{margin-top:15px}@media (width<=620px){.master-import-modal{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.master-import-intro,.master-import-file,.master-import-modal .module-note,.master-detected,.master-import-results{margin-left:14px;margin-right:14px}.master-result-grid{grid-template-columns:1fr}.master-import-modal .modal-actions{background:#fff;position:sticky;bottom:0}.master-import-modal .modal-actions button{flex:1}}
