@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f7f9;--ink:#212a36;--muted:#84909c;--line:#e9edf0;--green:#197a63;--soft:#eaf5ef;--sidebar:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #82c5b1;outline-offset:2px}aside{width:246px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column}.brand{font-family:Manrope,Arial;font-size:35px;font-weight:800;letter-spacing:-2px;padding:0 16px}.brand>span:first-child{display:inline-grid;place-items:center;background:var(--green);color:#fff;width:34px;height:34px;border-radius:10px;font-size:28px;margin-right:7px;letter-spacing:0}.brand-dot{color:var(--green)}.workspace{border:1px solid var(--line);border-radius:9px;margin:30px 2px 26px;padding:13px;display:flex;gap:12px;align-items:center;font-weight:700;font-size:12px}.workspace>div{font-weight:600}.workspace small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:5px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#a0a8b1;padding:0 15px;margin-bottom:12px}nav{overflow:auto}nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;color:#75808b;font-size:12px;border-radius:7px;margin:3px 0}nav a.active{background:var(--soft);color:var(--green);font-weight:700}nav a:hover{background:#f2f6f4}nav .nav-icon{width:20px;font-size:17px;text-align:center}.sidebar-bottom{margin-top:auto;font-size:10px;color:var(--muted);padding:20px 9px 0}.live-dot{display:inline-block;width:6px;height:6px;background:#389879;border-radius:50%;margin-right:5px}.main{margin-left:246px}header{height:79px;padding:0 38px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{padding:0 13px;color:#c9ced4}.breadcrumb b{font-weight:500;color:#53616e}.header-actions{display:flex;align-items:center;gap:17px}.header-actions select{border:0;background:none;color:#58636f;font-size:11px;max-width:170px}.demo{font-size:9px;letter-spacing:1px;color:#a68a4c;background:#fcf6e7;padding:5px 8px;border-radius:4px}.avatar{width:33px;height:33px;border-radius:50%;background:#efe4d7;display:grid;place-items:center;color:#8c6f48;font-weight:700;font-size:12px}.icon-btn{background:none;border:0;font-size:19px;color:#77828c;position:relative}.icon-btn i{width:5px;height:5px;background:#dc9167;position:absolute;right:5px;top:2px;border-radius:50%}main{padding:33px 38px 40px;min-height:calc(100vh - 130px);max-width:1600px;margin:auto}.title-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px}h1{font-family:Manrope,Arial;font-size:26px;letter-spacing:-1px;margin:0 0 9px;font-weight:800}h2{font-family:Manrope,Arial;font-size:15px;margin:0;font-weight:800}p.sub{margin:0;color:var(--muted);font-size:12px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dfe5e5;background:#fff;color:#58636b;border-radius:7px;padding:10px 15px;font-size:11px;font-weight:600}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.small{padding:6px 9px;font-size:10px}.btn.danger{color:#b44c4c}.date-pill{font-size:11px;color:#78828a;border:1px solid var(--line);padding:9px 12px;border-radius:6px;background:#fff}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);padding:19px 20px;border-radius:10px;position:relative}.stat-label{font-size:11px;color:#7a8791;display:flex;justify-content:space-between;align-items:center}.stat-icon{background:#f3f6f5;border-radius:7px;color:var(--green);padding:6px;font-size:15px}.stat strong{display:block;font-family:Manrope;font-size:28px;letter-spacing:-1px;margin:10px 0}.stat small{font-size:10px;color:#9aa3ab}.stat small b{color:var(--green);font-weight:500}.grid-main{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.panel-head{padding:20px 21px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head p{font-size:10px;color:var(--muted);margin:6px 0 0}.link{color:var(--green);font-size:10px;border:0;background:none;font-weight:600}.tabs{display:flex;padding:0 21px;gap:23px;border-bottom:1px solid var(--line);overflow:auto}.tab{white-space:nowrap;padding:15px 0;border:0;background:none;color:#8b959d;font-size:11px;border-bottom:2px solid transparent}.tab.active{color:var(--green);border-bottom-color:var(--green)}.tab em{font-style:normal;background:#f0f3f3;padding:2px 5px;border-radius:4px;margin-left:4px;font-size:9px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;color:#8b96a0;background:#fafbfc;padding:13px 20px;letter-spacing:.5px}td{padding:17px 20px;font-size:11px;border-bottom:1px solid #f0f2f4}tr:last-child td{border-bottom:0}td strong{display:block;font-size:11px;font-weight:600}td small{display:block;color:#9ba4ac;font-size:9px;margin-top:5px}.badge{display:inline-block;font-size:9px;font-weight:500;border-radius:5px;padding:5px 8px;background:#f0f2f6;color:#7c8798}.badge.green{background:#eaf5ef;color:#39866b}.badge.amber{background:#fff5e4;color:#c18a31}.badge.blue{background:#edf2ff;color:#6a82c4}.badge.red{background:#fbeeed;color:#c47973}.person{display:flex;align-items:center;gap:7px}.mini-avatar{width:25px;height:25px;border-radius:50%;background:#f3e8e2;color:#9f7e68;display:inline-grid;place-items:center;font-size:9px}.mini-avatar.purple{background:#eae7f6;color:#8d7fb0}.muted{color:var(--muted)}.workload{padding:18px 21px;border-bottom:1px solid var(--line)}.workload-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.progress{height:5px;background:#eef2f1;border-radius:5px;overflow:hidden}.progress i{display:block;background:#5e9d86;height:100%;border-radius:5px}.workload small{font-size:9px;color:var(--muted);display:block;margin-top:8px}.notice{padding:15px 20px;display:flex;gap:11px;border-bottom:1px solid var(--line)}.notice-icon{width:30px;height:30px;border-radius:8px;background:#fff6e8;color:#bd914c;display:grid;place-items:center;flex-shrink:0}.notice strong{font-size:11px;display:block;margin:1px 0 5px}.notice small{font-size:10px;color:var(--muted);line-height:1.6}.bottom-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.chart{height:180px;display:flex;align-items:flex-end;gap:18px;padding:25px 25px 30px;border-bottom:1px solid var(--line)}.bar-group{flex:1;height:100%;display:flex;align-items:flex-end;gap:4px;position:relative;justify-content:center}.bar{width:15px;background:#2b846a;border-radius:3px 3px 0 0;min-height:2px}.bar.light{background:#d8e7e0}.bar-group small{position:absolute;bottom:-19px;font-size:9px;color:var(--muted)}.legend{padding:12px 22px;font-size:9px;color:var(--muted);display:flex;gap:16px}.legend i{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:2px;margin-right:5px}.legend i.light{background:#d8e7e0}.toolbar{display:flex;gap:10px;padding:16px 20px;flex-wrap:wrap;border-bottom:1px solid var(--line)}input,textarea,select.field{border:1px solid #e0e6e6;border-radius:6px;background:#fff;padding:10px 12px;color:var(--ink);font-size:12px}input[type=search]{min-width:230px}.toolbar select{border:1px solid var(--line);border-radius:6px;padding:8px;background:#fff;font-size:11px;color:#65717c}.empty{text-align:center;padding:40px;color:var(--muted);font-size:12px}.metric-list{padding:9px 22px}.metric-list>div{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.metric-list>div:last-child{border:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:10px}.card h3{margin:0 0 12px;font-size:14px}.card p{font-size:12px;color:var(--muted);line-height:1.8}.card .actions{margin-top:15px}footer{border-top:1px solid var(--line);padding:17px 38px;font-size:9px;letter-spacing:1px;color:#a6afb6;display:flex;justify-content:space-between}footer span{letter-spacing:0}dialog{width:620px;max-width:95vw;border:0;border-radius:13px;padding:25px;box-shadow:0 25px 90px #142d342b}dialog::backdrop{background:#152b3659;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#707d87}.form-grid .full{grid-column:1/-1}textarea{min-height:85px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px;line-height:1.8;margin-bottom:20px}.detail-meta small{color:var(--muted);display:block}.checklist label{display:flex;gap:9px;margin:12px 0;font-size:12px}.notes{max-height:220px;overflow:auto}.note{padding:12px;background:#f7f9f8;border-radius:7px;margin:10px 0;font-size:12px;line-height:1.7}.note small{display:block;color:var(--muted);font-size:10px}.note a{color:var(--green);text-decoration:underline}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(100px);transition:.2s;background:#213e34;color:#fff;border-radius:8px;padding:13px 22px;z-index:100;font-size:12px;max-width:90vw}#toast.show{transform:translateX(-50%) translateY(0)}.help{font-size:11px;color:#8b959b;line-height:1.8;padding:15px 20px;background:#fafcfa}.print-only{display:none}@media(min-width:1600px){.grid-main{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1150px){aside{width:205px;padding:25px 12px}.main{margin-left:205px}main{padding:25px}.grid-main{grid-template-columns:1fr}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:23px}.cards{grid-template-columns:repeat(2,1fr)}header{padding:0 25px}}@media(max-width:760px){aside{position:static;width:auto;padding:15px;border:0}.brand{font-size:28px}.workspace,.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:15px;gap:5px}nav a{white-space:nowrap;padding:9px;font-size:11px}.nav-icon{display:none}.main{margin-left:0}header{height:64px;padding:0 16px}.breadcrumb{display:none}.header-actions{width:100%;justify-content:space-between;gap:8px}main{padding:22px 15px}.title-row{align-items:flex-start;flex-wrap:wrap}h1{font-size:23px}.stats{grid-template-columns:1fr 1fr}.bottom-grid,.right-rail,.cards{grid-template-columns:1fr}.date-pill{display:none}.panel-head{padding:17px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}footer{padding:16px;font-size:8px}.chart{gap:10px}th,td{padding:13px}.detail-meta{grid-template-columns:1fr}}@media print{aside,header,footer,.actions,.toolbar,.tabs,button{display:none!important}.main{margin:0}main{padding:0}.panel{break-inside:avoid}.stats{grid-template-columns:repeat(4,1fr)}body{background:#fff}.print-only{display:block}}
/* Professional interface refresh */
:root{--bg:#f4f6f9;--ink:#1d2939;--muted:#8591a3;--line:#e8ecf2;--green:#147d68;--soft:#edf8f4}body{font-family:'DM Sans','Segoe UI',Arial,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}aside{width:248px;padding:29px 17px;background:#111e2b;border:0;color:#fff}.brand{font-size:33px;padding:0 16px;color:#fff;letter-spacing:-1.5px}.brand>span:first-child{background:#1a9078;box-shadow:0 3px 16px #0a141b33}.brand-dot{color:#55bc9d}.workspace{background:#1b2b39;border:1px solid #2c3b47;color:#d9e2e8;border-radius:9px;margin:29px 4px 28px;padding:15px;font-size:13px}.workspace small{color:#8b9eae;font-size:10px}.nav-label{color:#6e8295;font-size:9px;font-weight:700;letter-spacing:1.6px}.sidebar-bottom{color:#718598;border-top:1px solid #253442;font-size:10px;padding:20px 5px 0}nav a{padding:10px 13px;gap:12px;border-radius:7px;font-size:11.5px;color:#9babbb;margin:4px 0;transition:background .15s,color .15s}nav a:hover{background:#1b2d3d;color:#f1f5f8}nav a.active{background:#1b3b39;color:#78d0b7;box-shadow:inset 3px 0 #4fc4a0;font-weight:600}nav .nav-icon{display:grid;place-items:center;width:21px;flex-shrink:0}.svg-icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex-shrink:0}.main{margin-left:248px}header{height:76px;background:#fff;padding:0 36px;box-shadow:0 1px 3px #172b4d03}.breadcrumb{font-size:12px}.breadcrumb b{color:#344054;font-weight:600}.header-actions{gap:20px}.header-actions select{font-size:12px;color:#475467;padding:7px}.avatar{width:35px;height:35px;background:#e9f2ee;color:#23755f;border:3px solid #fff;box-shadow:0 0 0 1px #e3eae5}.demo{color:#768396;background:#f0f3f8;font-size:9px;font-weight:700;letter-spacing:1.1px}.icon-btn{display:inline-grid;place-items:center;width:30px;height:30px;color:#708093}.icon-btn i{right:4px;top:4px;background:#ec9b6d;border:1px solid white;width:6px;height:6px}main{padding:34px 36px 40px;max-width:1800px}h1{font-size:26px;letter-spacing:-.9px;font-weight:800;margin-bottom:9px}h2{font-size:14px;letter-spacing:-.25px}p.sub{font-size:12px;line-height:1.7;color:#8490a0}.title-row{margin-bottom:27px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:37px;padding:9px 13px;border:1px solid #dde3ec;border-radius:7px;font-size:11px;color:#526074;box-shadow:0 1px 2px #10182804;transition:.15s}.btn:hover{background:#f7fafb;border-color:#bdcbd2;transform:translateY(-1px)}.btn.primary{background:#167d68;border-color:#167d68;box-shadow:0 3px 6px #157d6815}.btn.primary:hover{background:#116852}.btn .svg-icon{width:15px;height:15px}.btn.small{min-height:29px;padding:5px 9px;font-size:10px}.stats{gap:18px;margin-bottom:25px}.stat{padding:21px 22px;border-radius:9px;border-color:#e6ebf1;box-shadow:0 2px 4px #172b4d02}.stat-label{font-size:11px;color:#79869a;font-weight:500}.stat-icon{width:32px;height:32px;background:#f0f6f4;display:grid;place-items:center}.stat-icon .svg-icon{width:17px;height:17px}.stat strong{font-size:29px;margin:12px 0;letter-spacing:-1.1px;font-weight:800}.stat small{font-size:10px;color:#97a2af}.panel{border-radius:9px;border-color:#e6ebf1;box-shadow:0 2px 4px #172b4d02}.panel-head{padding:21px 22px;background:#fff}.panel-head p{font-size:10px;color:#98a1ae;margin-top:7px}.grid-main{gap:23px;grid-template-columns:minmax(0,1fr) 296px}.tabs{gap:23px}.tab{font-size:11px;padding:15px 0}.tab.active{font-weight:600}.tab em{background:#f0f3f7;color:#8290a1}.table-wrap th{background:#f8fafc;font-size:9px;letter-spacing:.6px;font-weight:600;color:#8792a3;padding:13px 19px;border-bottom:1px solid #e9eef3}.table-wrap td{font-size:11px;padding:18px 19px;border-bottom:1px solid #edf0f5;color:#536174}.table-wrap td strong{color:#344054;font-weight:600;font-size:11px}.table-wrap td small{font-size:10px;color:#95a0af;line-height:1.5}.table-wrap tbody tr:hover{background:#fbfcfd}.badge{font-size:9px;padding:5px 8px;border-radius:5px;font-weight:500}.badge.green{background:#eaf7f0;color:#34876a}.badge.blue{background:#eef3ff;color:#617fbe}.badge.amber{background:#fff6e8;color:#b8873a}.badge.red{background:#fdf0ef;color:#bc716c}.mini-avatar{width:27px;height:27px;font-size:10px;background:#f0e8df}.notice{padding:17px 21px}.notice strong{font-size:11px;color:#475467;font-weight:600}.notice small{font-size:10px}.notice-icon{width:32px;height:32px;background:#f8f2e8}.notice-icon .svg-icon{width:16px;height:16px}.workload{padding:20px 22px}.progress{height:5px}.card{border-color:#e6ebf1;border-radius:9px;padding:23px}.card h3{color:#344054}.card p{font-size:11px}.date-pill{border-color:#e2e7ed;font-size:10px}.help{color:#8490a1;background:#fafcfd;font-size:11px}input,textarea,select.field{border-color:#dfe5ed;font-size:12px;border-radius:6px}dialog{padding:28px;border:1px solid #e4eaf0;box-shadow:0 25px 100px #172b4d30}.modal-head h2{font-size:18px}.form-grid label{font-size:11px;color:#66758a}.form-grid input,.form-grid select{min-height:40px}.form-actions{padding-top:17px;border-top:1px solid #edf0f5}.note{background:#f6f8fb}footer{font-size:9px;background:#fff;border-color:#e6ebf1;color:#9ba6b4}
/* Spreadsheet-inspired ledger */
.ledger-summary{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #e4eaf1;border-radius:9px;margin-bottom:25px;padding:23px 0;box-shadow:0 2px 4px #172b4d02}.ledger-summary>div{position:relative;padding:0 25px;border-right:1px solid #e8edf2}.ledger-summary>div:last-child{border:0}.ledger-summary small{font-size:11px;color:#8490a0;padding-left:14px}.ledger-summary strong{display:block;margin-top:12px;font-family:Manrope,'Segoe UI',sans-serif;font-size:27px;letter-spacing:-1px;font-weight:800;color:#263547}.ledger-summary strong em{font-family:'DM Sans',sans-serif;font-style:normal;font-size:10px;letter-spacing:0;color:#9aa4b0;margin-left:9px;font-weight:400}.summary-dot{position:absolute;top:4px;left:25px;width:6px;height:6px;border-radius:50%;background:#5d8497}.summary-dot.mint{background:#39a47e}.summary-dot.amber-dot{background:#dbad5e}.summary-dot.blue-dot{background:#8294cc}.ledger-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 17px}.ledger-search{display:flex;align-items:center;background:#fff;border:1px solid #e1e7ef;border-radius:7px;padding:0 12px;width:355px;color:#9aa6b6}.ledger-search .svg-icon{width:16px;height:16px}.ledger-search input{border:0;background:transparent;width:100%;min-width:0;padding:12px 10px;font-size:11px;outline:none}.ledger-key{font-size:10px;color:#99a3af;display:flex;align-items:center;gap:6px}.status-dot{background:#57ad8d;width:5px;height:5px;border-radius:50%}.sheet .panel-head{padding:20px 22px;border-bottom:1px solid #e6ebf1}.section-title{display:flex;align-items:center;gap:12px}.section-icon{width:35px;height:35px;border-radius:8px;background:#edf7f2;display:grid;place-items:center;color:#2b9274}.section-icon .svg-icon{width:18px;height:18px}.section-icon.blue{background:#edf2fb;color:#7489b9}.count-pill{font-family:'DM Sans',sans-serif;display:inline-block;margin-left:7px;font-size:10px;font-weight:500;border:1px solid #e2e8ee;color:#8492a2;border-radius:5px;padding:2px 6px;vertical-align:middle}.sheet-label{font-size:9px;letter-spacing:1.2px;color:#9ba6b4}.ledger-table{white-space:nowrap;table-layout:auto}.ledger-table th{padding:12px 16px;font-size:9px;letter-spacing:.5px;background:#f7f9fc}.ledger-table td{padding:13px 16px;height:67px;font-variant-numeric:tabular-nums;color:#526174;border-right:1px solid #f0f3f7}.ledger-table .row-index{width:45px;text-align:center;color:#b0b9c5;font-size:10px;background:#fafbfd;padding:12px}.ledger-table .numeric{text-align:right;font-size:12px}.ledger-table th.numeric{font-size:9px}.ledger-table .collected{color:#218c6b}.firm-link{border:0;background:none;padding:0;font-weight:600;color:#344054;font-size:12px;text-align:left;cursor:pointer}.firm-link:hover{color:#147d68}.code-inline{font-size:8px;color:#abb3be;margin-left:6px}.ledger-table .balance{display:inline-block;background:#fff7e9;color:#b68b42;padding:5px 8px;border-radius:5px;font-size:11px;font-weight:500}.ledger-table .balance.settled{background:#edf7f2;color:#34866b}.ledger-table .cell-input{border:1px solid transparent;box-shadow:none;background:transparent;padding:7px 5px;font-size:11px;border-radius:4px;color:#6c7a8e;max-width:180px;width:100%;min-width:115px}.ledger-table .cell-input:hover{background:#f3f6fa;border-color:#e4eaf0}.ledger-table .cell-input:focus{background:#fff;border-color:#67ae96;outline:2px solid #dcefe7}.ledger-table input[type=date]{font-size:10px;width:126px;color:#7d899b}.ledger-table .note-cell{min-width:140px}.cell-input::placeholder{color:#bbc3cd;font-size:10px}.row-edit{border:1px solid #e6ebf1;border-radius:5px;background:#fff;padding:5px;color:#91a0b2;display:inline-grid;place-items:center}.row-edit:hover{border-color:#94c7b5;color:#147d68;background:#f1faf6}.row-edit .svg-icon{width:13px;height:13px}.ledger-table tfoot td{background:#f2f7f5;font-size:10px;font-weight:700;color:#427160;height:52px;border-top:1px solid #dce9e2;border-bottom:0}.ledger-table tfoot td span{color:#98afa4;font-size:9px;font-weight:400;margin-left:12px}.add-sheet-row{display:flex;align-items:center;gap:7px;background:#fff;color:#8a98a9;font-size:10px;border:0;border-top:1px solid #e9edf2;width:100%;padding:14px 22px;text-align:left}.add-sheet-row:hover{background:#f8fbfa;color:#147d68}.add-sheet-row .svg-icon{width:13px;height:13px}.leads-sheet{margin-top:27px}.leads-sheet .ledger-table td{height:63px}.lead-status{border:1px solid #e5eaf5;background:#f0f4fc;color:#7486ac;font-size:10px;padding:6px 8px;border-radius:5px;max-width:180px}.ledger-footnote{display:flex;align-items:center;gap:7px;font-size:10px;color:#98a5b4;padding:0 3px;margin-top:-7px}.ledger-footnote .svg-icon{width:13px;height:13px}.ledger-table td.date-cell{padding-left:9px;padding-right:9px}
@media(min-width:1700px){main{padding-left:45px;padding-right:45px}.ledger-table td{padding:16px 21px}}@media(max-width:1200px){aside{width:215px}.main{margin-left:215px}main{padding:28px 25px}.grid-main{grid-template-columns:1fr}.ledger-summary>div{padding:0 17px}.summary-dot{left:17px}.ledger-summary strong{font-size:23px}.title-row{gap:12px}.sheet-label{display:none}.ledger-summary strong em{display:block;margin:5px 0 0}.right-rail{display:grid;grid-template-columns:1fr 1fr;gap:20px}}@media(max-width:760px){aside{position:static;width:100%;padding:16px 14px}.main{margin-left:0}.brand{font-size:27px}nav{margin-top:17px;gap:6px}nav a{padding:9px 12px}nav .nav-icon{display:grid;width:16px}.nav-icon .svg-icon{width:16px;height:16px}header{padding:0 16px;height:62px}main{padding:24px 15px}.title-row{margin-bottom:22px}h1{font-size:23px}.ledger-summary{grid-template-columns:1fr 1fr;padding:0}.ledger-summary>div{padding:20px;border-bottom:1px solid #e8edf2}.ledger-summary>div:nth-child(2){border-right:0}.ledger-summary>div:nth-child(3),.ledger-summary>div:nth-child(4){border-bottom:0}.summary-dot{top:25px;left:20px}.ledger-summary strong{font-size:24px}.ledger-summary strong em{display:inline;margin-left:7px}.ledger-key{display:none}.ledger-search{width:100%}.section-title h2{font-size:13px}.section-title{gap:9px}.sheet .panel-head{padding:16px}.sheet .panel-head p{font-size:9px}.sheet .btn.small{font-size:9px;padding:5px 7px}.right-rail{grid-template-columns:1fr}.stat strong{font-size:24px}.stat{padding:17px}.ledger-footnote{align-items:flex-start;line-height:1.6}footer span{max-width:60%;text-align:right}}@media print{.ledger-toolbar,.add-sheet-row,.row-edit,.ledger-footnote{display:none}.ledger-summary{break-inside:avoid}.ledger-table .cell-input{border:0;padding:0}.sheet{overflow:visible}.table-wrap{overflow:visible}.ledger-table{white-space:normal}.ledger-table td,.ledger-table th{padding:7px!important;font-size:9px!important}.ledger-table .cell-input{min-width:0;max-width:100%;font-size:9px}.ledger-table input[type=date]{width:90px}}
/* NOVAE brand palette: cyan, emerald, orange and violet */
:root{--green:#008da9;--soft:#e8f7fb;--ink:#20283e;--bg:#f5f6fb}aside{background:#17162a}.novae-brand{display:flex;align-items:center;padding:8px 10px 12px;min-height:64px}.novae-brand img{display:block;width:100%;max-width:196px;height:auto;object-fit:contain}.workspace{background:#222139;border-color:#37324c;font-size:11px;gap:8px;padding:12px 9px}.workspace>div{font-size:9px;line-height:1.6;letter-spacing:.1px}.workspace small{font-size:9px;color:#999bb5}.nav-label{color:#8a83a5}nav a{color:#a8a5bf}nav a.active{background:#0f3444;color:#38cae6;box-shadow:inset 3px 0 #00b6e1}nav a:hover{background:#28223f;color:#fff}.sidebar-bottom{border-color:#352d49;color:#9990ae}.live-dot{background:#00be8a}.btn.primary{background:#009fbe;border-color:#009fbe;box-shadow:0 3px 9px #00a4ce20}.btn.primary:hover{background:#0086a2;border-color:#0086a2}.btn:hover{border-color:#89cbd9}.link,.firm-link:hover{color:#008eae}.avatar{background:#f0e9fa;color:#7c479d;box-shadow:0 0 0 1px #e7dcf1}.stat-icon{background:#eaf8fc;color:#009fbe}.stat:nth-child(2) .stat-icon{background:#e7f9f1;color:#00a476}.stat:nth-child(3) .stat-icon{background:#fff0e9;color:#f4774e}.stat:nth-child(4) .stat-icon{background:#f3ebfa;color:#8b50a5}.stat small b{color:#00a47b}.tab.active{color:#009fbe;border-bottom-color:#009fbe}.badge.green{background:#e6f8f0;color:#00966a}.badge.blue{background:#e9f7fc;color:#009abc}.badge.amber{background:#fff0e9;color:#d96f43}.badge.red{background:#fbece9;color:#d56753}.progress i{background:linear-gradient(90deg,#00b78c,#00acce)}.bar{background:#00a9d0}.bar.light{background:#dfcbea}.legend i{background:#00a9d0}.legend i.light{background:#dfcbea}.summary-dot{background:#00b6df}.summary-dot.mint{background:#00b581}.summary-dot.amber-dot{background:#ff7954}.summary-dot.blue-dot{background:#8c4daa}.section-icon{background:#e7f8fc;color:#00a3c4}.section-icon.blue{background:#f1eafa;color:#8a4ea4}.ledger-table .collected{color:#00a079}.ledger-table .balance{background:#fff1e9;color:#d87146}.ledger-table .balance.settled{background:#e8f8ef;color:#009d73}.ledger-table tfoot td{background:#eef8fb;color:#246c7d;border-top-color:#d6edf4}.lead-status{background:#f3edf9;border-color:#e9def3;color:#85549c}.row-edit:hover{background:#eaf9fc;color:#0094b4;border-color:#8ed2df}.ledger-table .cell-input:focus{border-color:#00a9cc;outline-color:#d7f3fa}.notice-icon{background:#fff0e9;color:#e47b4e}.ledger-key .status-dot{background:#00b883}.brand:after{content:none}#toast{background:#25213c}.table-wrap tbody tr:hover{background:#fbfaff}footer{border-top:2px solid transparent;border-image:linear-gradient(90deg,#00b5e0,#00b88b,#ff7953,#8b4a9f) 1}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#00b4d7}@media(max-width:760px){.novae-brand{padding:3px 7px}.novae-brand img{width:177px}.workspace{display:none}}
/* Readability pass: larger text, stronger contrast, clearer controls. */
:root{--ink:#182438;--muted:#536277;--line:#d9e1eb;--green:#006c83}body{color:#182438;font-size:15px}nav a{font-size:13px;color:#d2cfe0;padding:11px 13px;font-weight:500}nav a.active{color:#77e5ff;background:#123b4c;font-weight:700}.nav-label{font-size:10px;color:#b6adc8;font-weight:700}.workspace>div{font-size:10px;color:#f0edf5}.workspace small,.sidebar-bottom{color:#b9b1cd}.breadcrumb{font-size:13px;color:#59697c}.breadcrumb b{color:#26374b}.header-actions select{font-size:13px;color:#26374b}.demo{color:#536278;background:#e9edf5}.title-row h1{font-size:29px;color:#152338}p.sub{font-size:14px;color:#59697c;line-height:1.65}h2{font-size:17px;color:#1c2c41}.panel-head p{font-size:12px;color:#637187;line-height:1.5}.stat-label{font-size:13px;color:#4d5d73;font-weight:600}.stat strong{font-size:32px;color:#14253a}.stat small{font-size:12px;color:#5f6e82;line-height:1.6}.stat small b{color:#007554;font-weight:600}.stat-icon{color:#007c98}.stat:nth-child(2) .stat-icon{color:#007a54}.stat:nth-child(3) .stat-icon{color:#be4b23}.stat:nth-child(4) .stat-icon{color:#70318e}.tab{font-size:13px;color:#56667a;font-weight:500;padding:16px 0}.tab.active{color:#006e86;font-weight:700;border-bottom-width:3px}.tab em{font-size:11px;color:#41556c;background:#e7edf4}.table-wrap th{font-size:11px;color:#4e6077;background:#edf2f8;font-weight:700;letter-spacing:.55px;border-bottom-color:#d6dfe9}.table-wrap td{font-size:13px;color:#34465d;padding-top:19px;padding-bottom:19px;border-bottom-color:#e0e6ef}.table-wrap td strong{font-size:13px;font-weight:600;color:#172c44}.table-wrap td small{font-size:12px;color:#617187;line-height:1.6}.badge{font-size:11px;padding:6px 9px;font-weight:600}.badge.green{background:#def3e9;color:#006a46}.badge.blue{background:#dff3fa;color:#00647e}.badge.amber{background:#fff0df;color:#9a4618}.badge.red{background:#fce6e3;color:#a52f29}.mini-avatar{font-size:11px;color:#765136;background:#ede0d0}.mini-avatar.purple{color:#654080;background:#e9dff4}.btn{font-size:13px;min-height:40px;color:#354b63;border-color:#c9d4e1;font-weight:600}.btn.small{font-size:12px;min-height:33px;padding:7px 10px}.btn.primary{background:#007f9b;border-color:#007f9b;color:#fff}.btn.primary:hover{background:#00677e;border-color:#00677e}.link{font-size:12px;color:#006b83;font-weight:700}.notice strong{font-size:13px;color:#2f4259}.notice small{font-size:12px;color:#5a6b80}.notice-icon{color:#aa4c22}.workload small{font-size:12px;color:#607087}.date-pill{font-size:12px;color:#52637a}.card h3{font-size:16px;color:#24374e}.card p{font-size:13px;color:#5d6d82;line-height:1.75}.help{font-size:13px;color:#52647b;line-height:1.8}.empty{font-size:14px;color:#596b82}.metric-list>div{font-size:13px}.chart .bar-group small,.legend{font-size:11px;color:#596c81}.toolbar input,.toolbar select,input,textarea,select.field{font-size:13px;color:#243950}.toolbar input::placeholder,input::placeholder,textarea::placeholder{color:#718096}.form-grid label{font-size:13px;color:#465a72}.form-grid input,.form-grid select{min-height:43px}.note{font-size:13px;color:#2e455d}.note small{font-size:11px;color:#596e85}.detail-meta{font-size:13px}.detail-meta small{color:#5b6d82}.checklist label{font-size:14px}.sidebar-bottom{font-size:11px}footer{font-size:10px;color:#617187}.ledger-summary small{font-size:13px;color:#4c5f77;font-weight:500}.ledger-summary strong{font-size:29px;color:#172c44}.ledger-summary strong em{font-size:12px;color:#607086}.ledger-key{font-size:12px;color:#587087}.ledger-search input{font-size:13px}.ledger-search{width:395px}.sheet .panel-head p{font-size:12px;color:#607087}.sheet-label{font-size:10px;color:#63748b}.count-pill{font-size:12px;color:#4a5f78;background:#f3f6fa}.ledger-table th,.ledger-table th.numeric{font-size:11px;color:#4c6079;background:#edf2f8}.ledger-table td{font-size:13px;color:#344c65}.ledger-table td.numeric{font-size:14px}.ledger-table .row-index{font-size:11px;color:#6d7e93;background:#f2f5fa}.firm-link{font-size:14px;color:#203a54;font-weight:600}.ledger-table .cell-input{font-size:13px;color:#415870;max-width:210px}.ledger-table input[type=date]{font-size:12px;color:#4a5f77;width:142px}.ledger-table .cell-input::placeholder{font-size:12px;color:#7d8a9c}.ledger-table .collected{color:#00754f}.ledger-table .balance{font-size:13px;color:#9d4f1f;background:#fff0df;font-weight:600}.ledger-table .balance.settled{color:#006a46;background:#e2f4e9}.ledger-table tfoot td{font-size:12px;color:#285569;background:#e4f2f6}.ledger-table tfoot td span{font-size:11px;color:#526f7b}.code-inline{font-size:10px;color:#6b7e93}.lead-status{font-size:12px;background:#eee5f8;color:#693b86;border-color:#d9c8eb;padding:8px}.row-edit{color:#4c6d84;border-color:#cbd9e4}.add-sheet-row{font-size:12px;color:#3e6578;padding:16px 22px}.ledger-footnote{font-size:12px;color:#5f7187}#toast{font-size:14px}.sheet .btn.small{font-size:12px}@media(max-width:1200px){.ledger-summary strong{font-size:26px}.ledger-summary strong em{font-size:11px}}@media(max-width:760px){nav a{font-size:12px}h1,.title-row h1{font-size:25px}p.sub{font-size:13px}.stat{padding:17px}.stat-label{font-size:12px}.stat strong{font-size:28px}.stat small{font-size:11px}.panel-head h2,.section-title h2{font-size:15px}.sheet .panel-head p{font-size:11px}.sheet .btn.small{font-size:11px}.ledger-summary small{font-size:12px}.ledger-summary strong{font-size:26px}.table-wrap td{font-size:13px}.header-actions select{font-size:12px}}
#login-overlay{position:fixed;inset:0;z-index:999;background:#151526;display:grid;place-items:center;padding:22px}#login-overlay:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 10%,#00a6cc22,transparent 55%),radial-gradient(ellipse at 90% 90%,#9651ab22,transparent 50%);pointer-events:none}.login-card{position:relative;width:440px;max-width:100%;padding:38px;background:#fff;border-radius:15px;box-shadow:0 20px 90px #0004;display:flex;flex-direction:column;gap:15px}.login-card img{width:205px;height:auto;background:#19182b;border-radius:8px;padding:10px;margin-bottom:13px}.login-card h1{font-size:24px;margin:0}.login-card p{font-size:14px;color:#52647b;margin:0 0 9px}.login-card label{font-size:13px;color:#354960;font-weight:600}.login-card select{width:100%;min-height:44px}.login-card small{font-size:11px;line-height:1.7;color:#64738a;margin-top:7px}#logout-button{white-space:nowrap;color:#a03939;border-color:#e6caca;background:#fff9f8}@media(max-width:760px){.header-actions{flex-wrap:wrap;gap:8px}header{height:auto;min-height:75px;padding-top:12px;padding-bottom:12px}.header-actions select{max-width:140px}.login-card{padding:28px}}
.backlog-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.backlog-card{text-align:left;font:inherit;cursor:pointer}.backlog-card h3{margin-top:17px}.backlog-card strong{font-size:29px;color:#17384c}.backlog-card strong small{font-size:13px;font-weight:500;color:#617187}.backlog-card.chosen{border-color:#008da9;box-shadow:0 0 0 2px #008da91a}.backlog-card:hover{border-color:#80becb;background:#f9fdfe}
.auth-card{width:475px;padding:35px;gap:22px}.auth-brand{display:flex;flex-direction:column;align-items:center;gap:12px}.auth-brand img{margin:0;width:218px;padding:13px}.auth-brand>span{font-size:9px;letter-spacing:1.8px;color:#65748a;font-weight:600}.auth-tabs{display:flex;background:#edf1f7;border:1px solid #e0e6ef;border-radius:8px;padding:4px;gap:4px}.auth-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;border:0;background:transparent;border-radius:5px;padding:11px 6px;color:#5b6d82;font-size:12px;font-weight:600}.auth-tabs .selected{background:#fff;color:#007f99;box-shadow:0 2px 6px #172b4d12}.auth-tabs .svg-icon{width:16px;height:16px}.auth-card h1{font-size:23px;margin-bottom:9px}.auth-card p{font-size:13px;line-height:1.65}.auth-card form{display:flex;flex-direction:column;gap:10px}.auth-card form label{font-size:13px;color:#304a62;margin-top:4px}.auth-input{display:flex;align-items:center;gap:10px;border:1px solid #cdd8e6;border-radius:7px;padding:0 12px;min-height:47px;color:#6f8399;background:#fcfdff}.auth-input:focus-within{border-color:#009bb9;box-shadow:0 0 0 3px #009bb912}.auth-input input{min-width:0;flex:1;width:100%;border:0;background:transparent;outline:none;padding:13px 0;font-size:14px}.auth-input input:focus-visible{outline:none}.auth-input .svg-icon{width:17px;height:17px}.auth-input button{background:none;border:0;font-size:11px;color:#00778e;font-weight:600;padding:8px 0}.auth-card #auth-submit{width:100%;min-height:45px;font-size:13px;justify-content:space-between}.auth-card #auth-submit:disabled{opacity:.6;cursor:wait}#auth-error{font-size:12px;color:#a72d2d;line-height:1.6}.demo-credentials{font-size:11px;color:#53677e;background:#f3f6fa;border:1px solid #e4eaf2;border-radius:7px;padding:12px}.demo-credentials summary{cursor:pointer;font-weight:600}.demo-credentials p{font-size:11px;line-height:1.9;margin:9px 0 0}.auth-note{border-top:1px solid #e4eaf2;padding-top:15px;margin-top:0!important}.header-actions select[hidden]{display:none!important}#login-overlay{overflow-y:auto;padding:30px 16px}.auth-card{margin:auto}@media(max-width:500px){.auth-card{padding:25px;gap:18px}.auth-card h1{font-size:21px}.auth-tabs button{font-size:11px}}
/* NOVAE branded sign-in background */
#login-overlay{isolation:isolate;background:#101b2b;background-image:radial-gradient(ellipse at 12% 24%,#00b5df26 0,transparent 48%),radial-gradient(ellipse at 83% 78%,#8b4a9f30 0,transparent 48%),linear-gradient(130deg,#102635 0%,#14192c 52%,#251b34 100%)}#login-overlay:before{z-index:-2;inset:0;opacity:.5;background:repeating-linear-gradient(135deg,transparent 0px,transparent 89px,#b4c9df0a 90px,transparent 91px,transparent 180px),radial-gradient(circle at 15% 75%,#00ba8b16,transparent 35%);pointer-events:none}#login-overlay:after{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:url('novae-logo.png');background-repeat:no-repeat;background-position:8% 48%;background-size:min(46vw,660px);opacity:.115;filter:drop-shadow(0 0 45px #00c2ff33);transform:rotate(-8deg)}.auth-card{border:1px solid #ffffffad;box-shadow:0 30px 100px #04091588,0 0 70px #00b5df09}.auth-brand{position:relative;padding-bottom:5px}.auth-brand:after{content:'';display:block;width:110px;height:3px;margin-top:4px;border-radius:10px;background:linear-gradient(90deg,#00b6df,#00b98c,#ff7b51,#8c4ba4)}@media(min-width:1100px){#login-overlay .auth-card{margin-left:56%;margin-right:8%;width:475px}#login-overlay:after{background-size:43vw;background-position:6% 49%;opacity:.22;transform:rotate(-5deg)}}@media(max-width:760px){#login-overlay:after{background-position:center 4%;background-size:85vw;opacity:.09;transform:none}.auth-card{box-shadow:0 20px 80px #04091588}}
/* Animated NOVAE sign-in — CSS-only, motion preference aware. */
#login-overlay{background:#0c1524;background-image:radial-gradient(ellipse at 14% 22%,#00acd524,transparent 52%),radial-gradient(ellipse at 90% 82%,#8846aa25,transparent 50%),linear-gradient(135deg,#0b202d,#131629 55%,#21182e)}#login-overlay:before{inset:-15%;background:radial-gradient(ellipse at 24% 35%,#00b5df36,transparent 36%),radial-gradient(ellipse at 65% 70%,#8b4a9f40,transparent 36%),radial-gradient(ellipse at 78% 20%,#ff795313,transparent 30%);opacity:1;animation:novae-atmosphere 19s ease-in-out infinite alternate;will-change:transform}#login-overlay:after{animation:novae-logo-float 9s ease-in-out infinite;filter:drop-shadow(0 0 35px #00b6df25)}.auth-card{overflow:hidden;background:linear-gradient(145deg,#ffffff,#f8fbff);border:1px solid #ffffffb8;box-shadow:0 30px 110px #02091199,0 0 0 7px #ffffff04;animation:novae-card-enter .75s cubic-bezier(.2,.75,.25,1) both}.auth-card:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#00b6df,#00bb8b,#ff7953,#914bac,#00b6df);background-size:250% 100%;animation:novae-spectrum 9s linear infinite}.auth-brand img{box-shadow:0 9px 25px #17182b18;transition:transform .4s ease,box-shadow .4s ease}.auth-brand img:hover{transform:translateY(-3px);box-shadow:0 13px 30px #17182b25}.auth-tabs button{transition:background .22s,color .22s,box-shadow .22s}.auth-input{transition:border-color .2s,box-shadow .2s,background .2s}.auth-input:focus-within{background:#fff;box-shadow:0 0 0 4px #00a6c812}.auth-card #auth-submit{position:relative;overflow:hidden;background:linear-gradient(110deg,#008cab,#00758f);border-color:#0086a3;box-shadow:0 5px 15px #0089a527;transition:box-shadow .25s,transform .25s}.auth-card #auth-submit:after{content:'';position:absolute;inset:-90% auto -90% -70%;width:35%;background:linear-gradient(90deg,transparent,#ffffff23,transparent);transform:rotate(25deg);animation:novae-button-sheen 7s ease-in-out infinite;pointer-events:none}.auth-card #auth-submit:hover{box-shadow:0 8px 22px #0089a540;transform:translateY(-1px)}.auth-card #auth-submit .svg-icon{transition:transform .25s}.auth-card #auth-submit:hover .svg-icon{transform:translate(2px,-2px)}.auth-card #auth-submit:disabled{transform:none}.auth-card form label,.auth-card .auth-input{animation:novae-field-enter .6s ease both}.auth-card .auth-input:nth-of-type(2){animation-delay:.1s}.auth-orbit{position:absolute;left:25%;top:50%;width:min(48vw,650px);aspect-ratio:1;transform:translate(-50%,-50%);z-index:-1;pointer-events:none;border:1px solid #80d9f110;border-radius:50%;box-shadow:0 0 100px #00b6df06,inset 0 0 70px #00b6df04}.auth-orbit:before,.auth-orbit:after{content:'';position:absolute;border-radius:50%;inset:8%;border:1px solid transparent;border-top-color:#00b6df45;border-right-color:#00bb8b12;animation:novae-orbit 32s linear infinite}.auth-orbit:after{inset:-9%;border-top-color:#a861bb22;border-bottom-color:#ff795328;animation-direction:reverse;animation-duration:46s}.auth-caption{position:absolute;left:7%;bottom:12%;max-width:38%;color:#e6f0fa;pointer-events:none;animation:novae-field-enter 1s .15s both}.auth-caption span{display:block;text-transform:uppercase;letter-spacing:3px;color:#5ecbdf;font-size:10px;font-weight:600;margin-bottom:17px}.auth-caption strong{font-family:Manrope,'Segoe UI',sans-serif;font-size:clamp(24px,2.6vw,40px);font-weight:600;line-height:1.35;letter-spacing:-1px;display:block}.auth-caption small{display:block;color:#9cabc0;font-size:12px;line-height:1.8;margin-top:16px}.auth-caption i{display:block;height:2px;width:60px;margin-top:22px;background:linear-gradient(90deg,#00b6df,#8c4ba4);border-radius:2px}@keyframes novae-atmosphere{from{transform:translate(-2%,-2%) scale(1)}to{transform:translate(4%,3%) scale(1.12)}}@keyframes novae-logo-float{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-12px) rotate(-4deg)}}@keyframes novae-card-enter{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes novae-field-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes novae-spectrum{to{background-position:250% 0}}@keyframes novae-button-sheen{0%,70%{left:-70%}100%{left:160%}}@keyframes novae-orbit{to{transform:rotate(360deg)}}@media(min-width:1100px){#login-overlay:after{background-position:6% 37%;background-size:42vw;opacity:.75}#login-overlay .auth-card{margin-left:56%;margin-right:7%}}@media(max-width:1099px){.auth-orbit,.auth-caption{display:none}#login-overlay:after{opacity:.1}}@media(prefers-reduced-motion:reduce){#login-overlay:before,#login-overlay:after,.auth-card,.auth-card:before,.auth-card form label,.auth-card .auth-input,.auth-card #auth-submit:after,.auth-orbit:before,.auth-orbit:after,.auth-caption{animation:none!important;will-change:auto}.auth-card *,#login-overlay:after{transition:none!important}}
/* Studio hero composition replaces the previous abstract logo wallpaper. */
#login-overlay.studio-login{background:#0d1826 url('novae-studio-background.png') center center/cover no-repeat;overflow-x:hidden;display:flex;align-items:center;justify-content:flex-end;padding:40px 6vw;gap:50px}#login-overlay.studio-login:before{inset:0;z-index:-1;animation:none;will-change:auto;background:linear-gradient(90deg,#06111c18 0%,#06111c00 42%,#08122155 67%,#081221b0 100%);opacity:1}#login-overlay.studio-login:after{display:none}.studio-login .auth-card{margin:0!important;flex:0 0 430px;width:430px;padding:31px;gap:19px;background:linear-gradient(145deg,#fffffffa,#f5f9fffa);backdrop-filter:blur(18px);border:1px solid #ffffffc7;box-shadow:0 35px 100px #02091175;z-index:2}.studio-login .auth-card:before{height:2px;animation:none}.studio-login .auth-brand{display:none}.studio-login .auth-card h1{font-size:23px}.studio-login .auth-card #auth-submit:after{animation:none}.studio-login .auth-input{background:#fff}.studio-login .demo-credentials{background:#edf2f7}.studio-identity{position:absolute;top:9%;left:5.5%;z-index:1;max-width:47%;pointer-events:none}.studio-identity>img{display:block;width:clamp(180px,20vw,285px);height:auto;margin-bottom:28px;filter:drop-shadow(0 6px 16px #0005)}.studio-eyebrow{display:block;font-size:10px;color:#a9c5d5;letter-spacing:2.5px;font-weight:600}.studio-identity h2{font-family:Manrope,'Segoe UI',sans-serif;font-size:clamp(29px,3.3vw,55px);font-weight:700;letter-spacing:-1.7px;line-height:1.12;color:#f4faff;margin:18px 0 18px;text-shadow:0 3px 25px #07131f75}.studio-identity h2 em{font-style:normal;color:#64d8e6}.studio-identity p{font-size:12px;color:#c0d3de;line-height:1.7;text-shadow:0 2px 10px #0009;margin:0}.studio-disciplines{display:flex;gap:15px;margin-top:23px}.studio-disciplines span{font-size:9px;letter-spacing:.4px;color:#e0edf4;position:relative;padding-left:10px}.studio-disciplines span:before{content:'';position:absolute;top:4px;left:0;width:4px;height:4px;border-radius:50%;background:#00bde0}.studio-disciplines span:nth-child(2):before{background:#00c78f}.studio-disciplines span:nth-child(3):before{background:#b37fda}.studio-ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;mix-blend-mode:screen}@media(min-width:1500px){#login-overlay.studio-login{padding-right:8vw}.studio-login .auth-card{flex-basis:460px;width:460px;padding:36px}.studio-identity{top:10%;left:7%}}@media(max-width:1099px){#login-overlay.studio-login{padding:32px;justify-content:center;flex-direction:column;gap:30px;background-position:35% center}.studio-identity{position:relative;top:auto;left:auto;max-width:100%;width:100%;text-align:center;padding-top:10px}.studio-identity>img{width:200px;margin:0 auto 15px}.studio-identity h2{font-size:30px;margin:12px 0}.studio-identity h2 br{display:none}.studio-identity h2 br:after{content:' '}.studio-identity p,.studio-disciplines{display:none}.studio-login .auth-card{flex:0 0 auto;max-width:100%;width:440px}.studio-login .studio-identity h2{line-height:1.35}#login-overlay.studio-login:before{background:#06111c88}}@media(max-width:600px){#login-overlay.studio-login{padding:25px 16px;gap:22px;background-position:30% center}.studio-identity h2{font-size:24px;letter-spacing:-.7px}.studio-identity>img{width:174px}.studio-eyebrow{font-size:8px;letter-spacing:2px}.studio-login .auth-card{padding:25px;gap:16px}.studio-login .auth-card h1{font-size:21px}.studio-ink{display:none}}@media(prefers-reduced-motion:reduce){.studio-ink{display:none}}
@media(min-width:1100px){.studio-identity{top:5%;left:5.5%;bottom:5%;max-width:46%;width:46%}.studio-identity>img{width:210px;margin-bottom:15px}.studio-eyebrow{font-size:9px;letter-spacing:2px}.studio-identity h2{position:absolute;bottom:45px;left:0;font-size:clamp(25px,2.3vw,38px);line-height:1.18;letter-spacing:-1px;margin:0;text-shadow:0 3px 20px #000}.studio-identity h2 br{display:none}.studio-identity h2 em{display:block}.studio-identity p{display:none}.studio-disciplines{position:absolute;bottom:8px;left:0}.studio-login:before{background:linear-gradient(0deg,#04101cbb,transparent 28%),linear-gradient(90deg,#06111c10,transparent 45%,#08122150 68%,#081221a0)!important}} 
/* Thin scrollbar, no native arrow gutter; stable sidebar scrolling. */
#sidebar nav{scrollbar-width:thin;scrollbar-color:#635b7c #17162a;overscroll-behavior:contain;scroll-behavior:smooth;padding-right:5px;scrollbar-gutter:stable}#sidebar nav::-webkit-scrollbar{width:5px}#sidebar nav::-webkit-scrollbar-track{background:#17162a;border-radius:10px}#sidebar nav::-webkit-scrollbar-thumb{background:#514a68;border:1px solid #17162a;border-radius:10px}#sidebar nav::-webkit-scrollbar-thumb:hover{background:#8a81a5}#sidebar nav::-webkit-scrollbar-button{display:none;width:0;height:0}.table-wrap,.notes{scrollbar-width:thin;scrollbar-color:#b5c7d6 transparent}.table-wrap::-webkit-scrollbar,.notes::-webkit-scrollbar{width:5px;height:5px}.table-wrap::-webkit-scrollbar-thumb,.notes::-webkit-scrollbar-thumb{background:#b5c7d6;border-radius:10px}.table-wrap::-webkit-scrollbar-button,.notes::-webkit-scrollbar-button{display:none}.sidebar-bottom{font-size:10px}.demo,.demo-credentials{display:none!important}
.profile-banner{display:flex;align-items:center;gap:23px;padding:28px;background:linear-gradient(110deg,#fff,#edf8fa);border-color:#d7e7ec}.profile-photo{width:86px;height:86px;border-radius:50%;overflow:hidden;background:#dceef3;display:grid;place-items:center;flex-shrink:0;border:4px solid #fff;box-shadow:0 0 0 1px #d6e4ed}.profile-photo span{font-size:27px;font-weight:700;color:#247286}.profile-photo img,.avatar img{width:100%;height:100%;object-fit:cover}.profile-identity h2{font-size:23px;margin:10px 0 7px}.profile-identity p{font-size:13px;color:#526a7d;margin:0}.profile-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:20px;margin-bottom:30px}.profile-fields{display:grid;grid-template-columns:110px 1fr;gap:13px;font-size:13px;margin:22px 0}.profile-fields dt{color:#667b91}.profile-fields dd{margin:0;color:#243f56;font-weight:500;overflow-wrap:anywhere}.profile-upload{cursor:pointer}.avatar{cursor:pointer;overflow:hidden}#profile-header-name{font-size:12px;color:#334d63;font-weight:600}.profile-grid .btn{margin-top:5px}.profile-grid h3{margin-bottom:12px}@media(max-width:1100px){.profile-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.profile-grid{grid-template-columns:1fr}.profile-banner{padding:21px;gap:15px}.profile-photo{width:65px;height:65px}.profile-identity h2{font-size:20px}#profile-header-name{display:none}}
th.record-number,td.record-number{width:56px;min-width:48px!important;text-align:center!important;font-variant-numeric:tabular-nums;font-size:12px!important;font-weight:600!important;color:#506780!important;background:#f3f6fa!important;border-right:1px solid #e2e8ef!important;padding-left:12px!important;padding-right:12px!important}.table-wrap th.record-number{font-size:10px!important;letter-spacing:.5px}.ledger-table td.record-number{color:#506780!important}
/* Semantic numeric colors: visible immediately for existing and new records. */
.stats .stat:nth-child(1) strong{color:#075d9b!important}.stats .stat:nth-child(2) strong{color:#7935a1!important}.stats .stat:nth-child(3) strong{color:#087345!important}.stats .stat:nth-child(4) strong{color:#b34c12!important}.stats .stat strong{font-weight:800;text-shadow:0 1px 0 #ffffff;letter-spacing:-.8px}.ledger-summary>div:nth-child(1) strong{color:#075d9b}.ledger-summary>div:nth-child(2) strong{color:#087345}.ledger-summary>div:nth-child(3) strong{color:#b34c12}.ledger-summary>div:nth-child(4) strong{color:#7935a1}.ledger-summary strong{font-weight:800;font-size:31px}.ledger-table .firm-link{color:#57318a!important;font-size:14px;font-weight:700}.ledger-table .firm-link:hover{color:#772ab9!important;text-decoration:underline}.ledger-table .numeric{font-size:15px!important;font-weight:700!important;font-variant-numeric:tabular-nums}.ledger-table th.numeric{font-size:11px!important;color:#405770!important;font-weight:700!important}.ledger-table td.numeric:not(.collected):not(:has(.balance)){color:#075d9b}.ledger-table td.collected{color:#087345!important}.ledger-table .balance{font-size:15px;font-weight:800;background:#fff0df;color:#a9400a;border:1px solid #f3d7bb;padding:6px 10px}.ledger-table .balance.settled{background:#e3f4ea;color:#08683e;border-color:#c4e5d2}.ledger-table tfoot td.numeric{font-size:16px!important;font-weight:800!important}.ledger-table tfoot td.numeric:last-of-type{color:#a9400a}.ledger-table tfoot td:nth-last-child(2){color:#a9400a}.ledger-table tfoot .collected{color:#087345!important}.ledger-summary strong em{color:#5b6f84!important;font-weight:500}.table-wrap .money-order{color:#075d9b!important;font-weight:700!important}.table-wrap .money-received{color:#087345!important;font-weight:700!important}.table-wrap .money-balance,.table-wrap .money-balance strong{color:#a9400a!important;font-weight:800!important}.table-wrap .client-name,.table-wrap .client-name strong,.table-wrap .client-name .firm-link{color:#57318a!important;font-weight:700!important}@media(max-width:760px){.ledger-summary strong{font-size:27px}.ledger-table .numeric{font-size:14px!important}.ledger-table .balance{font-size:14px}}
.sort-header{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;font-weight:700;padding:0;cursor:pointer;text-align:inherit;width:100%}.sort-header:hover{color:#007f99}.sort-arrow{color:#637e94;font-size:13px}.monthly-stats{padding:20px 20px 0;margin-bottom:12px}.monthly-charts{padding:0 24px 20px;gap:36px}.monthly-charts h3{font-size:13px;color:#425c73}.monthly-charts .chart{border:0;height:200px;padding-top:40px}.chart-value{position:absolute;top:-16px;font-size:10px;color:#3d566d;white-space:nowrap}.month-meter{display:grid;grid-template-columns:105px 1fr 30px;align-items:center;gap:14px;margin:23px 0;font-size:12px;color:#4a627a}.month-meter>div{height:9px;background:#edf1f6;border-radius:8px;overflow:hidden}.month-meter i{height:100%;display:block;border-radius:8px}.month-meter b{text-align:right;color:#243c55}.monthly-stats .stat strong{font-size:27px}@media(max-width:760px){.monthly-charts{grid-template-columns:1fr}.monthly-stats{padding:15px}.chart-value{font-size:9px}}
/* Analytics module system */
.analytics-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:20px;padding:10px 22px 24px}.analytics-module{background:#fbfcff;border:1px solid #e0e6f0;border-radius:10px;padding:20px;min-width:0}.analytics-module-title{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e2e8f1;padding-bottom:15px;margin-bottom:15px}.analytics-module-title h3{font-size:14px;margin:0;color:#263c56}.analytics-module-title>span{font-size:10px;color:#63768c}.analytics-toolbar label{font-size:12px;font-weight:600;color:#3f5670;display:flex;align-items:center;gap:10px}.period-pill{padding:9px 12px;background:#edf3fa;border-radius:6px;color:#425d79;font-size:12px}.pro-chart{padding:8px 5px 0}.pro-chart svg{display:block;width:100%;height:auto;overflow:visible}.chart-gridline{stroke:#dce4ef;stroke-dasharray:3 4;stroke-width:1}.axis-text{fill:#596f87;font:12px 'Segoe UI',Arial,sans-serif}.bar-value{fill:#253c55;font:600 13px 'Segoe UI',Arial,sans-serif}.chart-legend{display:flex;gap:18px;flex-wrap:wrap;padding:0 10px 10px}.chart-legend span{font-size:11px;color:#425a74;display:flex;align-items:center;gap:6px}.chart-legend i,.chart-data-grid i{width:8px;height:8px;border-radius:2px;display:inline-block;flex-shrink:0}.chart-data-grid{display:flex;border:1px solid #e0e7f0;background:#fff;border-radius:7px;overflow:auto;margin:0 5px 14px}.chart-data-grid>div{flex:1;min-width:75px;padding:11px 8px;border-right:1px solid #e5eaf1;display:flex;flex-direction:column;gap:6px}.chart-data-grid>div:last-child{border:0}.chart-data-grid small{font-size:10px;color:#61758b;font-weight:600}.chart-data-grid span{display:flex;align-items:center;gap:5px;font-size:10px;color:#314c67;white-space:nowrap;font-weight:600}.customer-metric{padding:16px 0;display:grid;grid-template-columns:1fr auto;gap:13px}.customer-metric strong{font-size:13px;color:#334f6a}.customer-metric small{display:block;font-size:10px;color:#687c91;margin-top:6px}.customer-metric b{font-size:29px;font-weight:800;color:#075d9b}.customer-metric.purple b{color:#7935a1}.customer-metric.green b{color:#087345}.customer-track{grid-column:1/-1;height:7px;background:#e4ebf4;border-radius:7px;overflow:hidden}.customer-track i{height:100%;display:block;background:#075d9b;border-radius:7px}.customer-metric.purple i{background:#9854c7}.customer-metric.green i{background:#149362}.metric-explanation{font-size:11px;line-height:1.8;color:#65798f;border-top:1px solid #e2e8f1;padding-top:15px}.theme-toggle{white-space:nowrap;min-width:110px}.panel{box-shadow:0 3px 12px #1b304105;border-radius:11px}.panel-head{border-bottom-color:#dce4ef}.card{box-shadow:0 3px 12px #1b304105}.bottom-grid>.panel{min-width:0}
/* Purple night theme: surfaces, inputs, dialogs, semantic colors and charts. */
html[data-theme=dark]{color-scheme:dark;--bg:#191528;--ink:#eeeaf8;--muted:#b5abc9;--line:#433857;--green:#73d9ec;--soft:#30243f}html[data-theme=dark] body{background:#191528;color:#eeeaf8}html[data-theme=dark] aside{background:#211a32}html[data-theme=dark] .main,html[data-theme=dark] main{background:#191528}html[data-theme=dark] header,html[data-theme=dark] footer{background:#241d36;border-color:#433857;color:#bfb3d4}html[data-theme=dark] .workspace{background:#2d2440;border-color:#4b3d60}html[data-theme=dark] nav a{color:#d3c9e4}html[data-theme=dark] nav a.active{background:#3c2c51;color:#a8edfb;box-shadow:inset 3px 0 #a783dd}html[data-theme=dark] nav a:hover{background:#362847}html[data-theme=dark] .panel,html[data-theme=dark] .card,html[data-theme=dark] .stat,html[data-theme=dark] .ledger-summary,html[data-theme=dark] dialog{background:#292139;border-color:#463957;box-shadow:0 5px 20px #0d091d20;color:#eeeaf8}html[data-theme=dark] .panel-head,html[data-theme=dark] .sheet .panel-head{background:#2c233e;border-color:#463957}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] .title-row h1,html[data-theme=dark] .card h3,html[data-theme=dark] .profile-identity h2{color:#f2edfc}html[data-theme=dark] p.sub,html[data-theme=dark] .panel-head p,html[data-theme=dark] .card p,html[data-theme=dark] .muted,html[data-theme=dark] .stat-label,html[data-theme=dark] .stat small,html[data-theme=dark] .workload small,html[data-theme=dark] .notice small,html[data-theme=dark] .empty,html[data-theme=dark] .sheet-label,html[data-theme=dark] .ledger-key,html[data-theme=dark] .ledger-footnote{color:#c2b6d4}html[data-theme=dark] .stat-label{font-weight:500}html[data-theme=dark] .stats .stat:nth-child(1) strong{color:#85cbff!important}html[data-theme=dark] .stats .stat:nth-child(2) strong{color:#d5a4ff!important}html[data-theme=dark] .stats .stat:nth-child(3) strong{color:#79dfad!important}html[data-theme=dark] .stats .stat:nth-child(4) strong{color:#ffba8d!important}html[data-theme=dark] .stat strong{color:#eee8fb;text-shadow:none}html[data-theme=dark] .stat small b{color:#7eddb0}html[data-theme=dark] .stat-icon,html[data-theme=dark] .section-icon{background:#253d4c;color:#8bdef5}html[data-theme=dark] .stat:nth-child(2) .stat-icon{background:#2b3f3b;color:#91e2ba}html[data-theme=dark] .stat:nth-child(3) .stat-icon{background:#493344;color:#ffc2a4}html[data-theme=dark] .stat:nth-child(4) .stat-icon,html[data-theme=dark] .section-icon.blue{background:#423051;color:#d3a9f7}html[data-theme=dark] .table-wrap th,html[data-theme=dark] .ledger-table th{background:#352a47;color:#d3c4e4;border-color:#514162}html[data-theme=dark] .table-wrap td{color:#e1d8ee;border-color:#433651}html[data-theme=dark] .table-wrap td strong{color:#f1e8fb}html[data-theme=dark] .table-wrap td small,html[data-theme=dark] .code-inline{color:#b9aacb}html[data-theme=dark] .table-wrap tbody tr:hover{background:#332840}html[data-theme=dark] th.record-number,html[data-theme=dark] td.record-number,html[data-theme=dark] .ledger-table .row-index{background:#30263f!important;color:#c7b8d9!important;border-color:#493a5b!important}html[data-theme=dark] .table-wrap .money-order,html[data-theme=dark] .ledger-table td.numeric:not(.collected):not(:has(.balance)){color:#85cbff!important}html[data-theme=dark] .table-wrap .money-received,html[data-theme=dark] .ledger-table td.collected{color:#79dfad!important}html[data-theme=dark] .table-wrap .money-balance,html[data-theme=dark] .table-wrap .money-balance strong{color:#ffba8d!important}html[data-theme=dark] .table-wrap .client-name,html[data-theme=dark] .table-wrap .client-name strong,html[data-theme=dark] .table-wrap .client-name .firm-link,html[data-theme=dark] .ledger-table .firm-link{color:#d6b5fa!important}html[data-theme=dark] .ledger-table .balance{background:#4b3034;color:#ffc39a;border-color:#76504f}html[data-theme=dark] .ledger-table .balance.settled{background:#253f3b;color:#91e4b8;border-color:#456b5e}html[data-theme=dark] .ledger-table tfoot td{background:#302e46;color:#c9d5ed;border-color:#524567}html[data-theme=dark] .ledger-table tfoot td span{color:#bcb1d1}html[data-theme=dark] .ledger-summary strong{color:#eee8fb}html[data-theme=dark] .ledger-summary>div:nth-child(1) strong{color:#85cbff}html[data-theme=dark] .ledger-summary>div:nth-child(2) strong{color:#79dfad}html[data-theme=dark] .ledger-summary>div:nth-child(3) strong{color:#ffba8d}html[data-theme=dark] .ledger-summary>div:nth-child(4) strong{color:#d5a4ff}html[data-theme=dark] .ledger-summary small,html[data-theme=dark] .ledger-summary strong em{color:#c2b6d4!important}html[data-theme=dark] .ledger-summary>div{border-color:#4a3a5b}html[data-theme=dark] .btn{background:#392d4b;color:#eee4fc;border-color:#615071}html[data-theme=dark] .btn:hover{background:#49375c;border-color:#9273aa}html[data-theme=dark] .btn.primary{background:#087f99;border-color:#299db5;color:#fff}html[data-theme=dark] .btn.primary:hover{background:#0993ae}html[data-theme=dark] .btn.danger,html[data-theme=dark] #logout-button{background:#452d40;color:#ffb3b3;border-color:#75465e}html[data-theme=dark] .link{color:#8bdff1}html[data-theme=dark] .badge.green{background:#294339;color:#9be5be}html[data-theme=dark] .badge.blue{background:#2b4056;color:#a8dcff}html[data-theme=dark] .badge.amber{background:#4c3740;color:#ffd1a6}html[data-theme=dark] .badge.red{background:#4c2e40;color:#ffb5bd}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] select.field,html[data-theme=dark] .toolbar select{background:#241d33;color:#eee8fa;border-color:#665074}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#b3a2c6}html[data-theme=dark] .ledger-search{background:#241d33;border-color:#665074;color:#b3a2c6}html[data-theme=dark] .ledger-search input{background:transparent}html[data-theme=dark] .ledger-table .cell-input{background:transparent;color:#e2d5f1}html[data-theme=dark] .ledger-table .cell-input:hover,html[data-theme=dark] .ledger-table .cell-input:focus{background:#3c2e50;border-color:#9273ae}html[data-theme=dark] .lead-status{background:#453154;color:#e2c5ff;border-color:#74528b}html[data-theme=dark] .row-edit{background:#3b2c4a;border-color:#6b527c;color:#d8bceb}html[data-theme=dark] .add-sheet-row{background:#2a213b;border-color:#514063;color:#b9e6f1}html[data-theme=dark] .add-sheet-row:hover{background:#382947}html[data-theme=dark] .help,html[data-theme=dark] .note{background:#251e34;color:#c5b8d8;border-color:#493c59}html[data-theme=dark] .note small{color:#b8a7cc}html[data-theme=dark] .form-grid label,html[data-theme=dark] .detail-meta small,html[data-theme=dark] .profile-fields dt{color:#c0aed3}html[data-theme=dark] .form-actions,html[data-theme=dark] .toolbar,html[data-theme=dark] .tabs,html[data-theme=dark] .notice,html[data-theme=dark] .workload,html[data-theme=dark] .metric-list>div{border-color:#483956}html[data-theme=dark] .tab{color:#c3b4d4}html[data-theme=dark] .tab.active{color:#9fe9fa;border-color:#9fe9fa}html[data-theme=dark] .tab em{background:#453352;color:#e3cff5}html[data-theme=dark] .notice strong,html[data-theme=dark] .metric-list,html[data-theme=dark] .profile-fields dd,html[data-theme=dark] .profile-identity p{color:#e5daef}html[data-theme=dark] .notice-icon{background:#483142;color:#ffc5a5}html[data-theme=dark] .progress{background:#44354e}html[data-theme=dark] .mini-avatar{background:#514037;color:#f1cfad}html[data-theme=dark] .mini-avatar.purple{background:#4d3666;color:#e4c8ff}html[data-theme=dark] .breadcrumb,html[data-theme=dark] .breadcrumb b,html[data-theme=dark] #profile-header-name,html[data-theme=dark] .icon-btn{color:#d3c4e3}html[data-theme=dark] .avatar{background:#453155;color:#e6d0fa;box-shadow:0 0 0 1px #776087;border-color:#292139}html[data-theme=dark] .profile-banner{background:linear-gradient(110deg,#30233e,#252a40);border-color:#564164}html[data-theme=dark] .profile-photo{border-color:#5c4371;background:#433154;color:#e6d0fa}html[data-theme=dark] .profile-photo span{color:#e1c5f7}html[data-theme=dark] .analytics-module{background:#241d34;border-color:#4b3b5d}html[data-theme=dark] .analytics-module-title,html[data-theme=dark] .metric-explanation{border-color:#4b3b5d}html[data-theme=dark] .analytics-module-title h3,html[data-theme=dark] .customer-metric strong{color:#ebe2f6}html[data-theme=dark] .analytics-module-title>span,html[data-theme=dark] .customer-metric small,html[data-theme=dark] .metric-explanation{color:#c1b2d1}html[data-theme=dark] .customer-metric b{color:#85cbff}html[data-theme=dark] .customer-metric.purple b{color:#d5a4ff}html[data-theme=dark] .customer-metric.green b{color:#79dfad}html[data-theme=dark] .customer-track{background:#483750}html[data-theme=dark] .axis-text{fill:#c4b6d6}html[data-theme=dark] .bar-value{fill:#efe5fb}html[data-theme=dark] .chart-gridline{stroke:#51415f}html[data-theme=dark] .chart-legend span,html[data-theme=dark] .chart-data-grid span{color:#e2d5f1}html[data-theme=dark] .chart-data-grid{background:#2f243e;border-color:#59436c}html[data-theme=dark] .chart-data-grid>div{border-color:#59436c}html[data-theme=dark] .chart-data-grid small{color:#c1aed5}html[data-theme=dark] .period-pill{background:#3b2e4c;color:#e0d1f0}html[data-theme=dark] .analytics-toolbar label{color:#dbc9ed}html[data-theme=dark] .backlog-card strong{color:#a8ddff}html[data-theme=dark] .backlog-card strong small{color:#c2afd5}html[data-theme=dark] .backlog-card.chosen{border-color:#bd8ee2}html[data-theme=dark] .backlog-card:hover{background:#3c2b4d}html[data-theme=dark] .date-pill{background:#332640;border-color:#634c75;color:#d9c5ea}html[data-theme=dark] .count-pill{background:#42314f;color:#dcc7ee;border-color:#705283}html[data-theme=dark] #toast{background:#644281;color:#fff}html[data-theme=dark] .chart-value,html[data-theme=dark] .legend,html[data-theme=dark] .bar-group small{color:#d8c4ed}html[data-theme=dark] #sidebar nav{scrollbar-color:#827095 #211a32}html[data-theme=dark] .studio-login .auth-card{background:#292139f7;border-color:#6b4f7e;color:#eee5f9}html[data-theme=dark] .auth-card h1,html[data-theme=dark] .auth-card p,html[data-theme=dark] .auth-card form label{color:#e7d9f4}html[data-theme=dark] .auth-tabs{background:#211a2e;border-color:#5e466f}html[data-theme=dark] .auth-tabs button{color:#d5c2e9}html[data-theme=dark] .auth-tabs .selected{background:#503562;color:#bcf3ff}html[data-theme=dark] .auth-input,html[data-theme=dark] .studio-login .auth-input{background:#211a2e;border-color:#715583;color:#cbb3df}html[data-theme=dark] .auth-input input{background:transparent;color:#f4ebff}html[data-theme=dark] .auth-input:focus-within{background:#30213e}html[data-theme=dark] .auth-input button{color:#99e6f8}html[data-theme=dark] #auth-error{color:#ffb1bd}html[data-theme=dark] .auth-brand>span{color:#cab6df}html[data-theme=dark] button:focus-visible,html[data-theme=dark] a:focus-visible,html[data-theme=dark] input:focus-visible,html[data-theme=dark] select:focus-visible{outline-color:#ce99f2}
@media(max-width:1100px){.analytics-grid{grid-template-columns:1fr}.theme-toggle{min-width:95px}}@media(max-width:760px){.analytics-grid{padding:0 14px 18px}.analytics-module{padding:14px}.chart-data-grid>div{min-width:72px}.theme-toggle span{font-size:10px}.header-actions{gap:9px}.period-pill{font-size:11px}}
.login-theme{position:absolute;top:20px;right:24px;z-index:5;background:#292139dd;color:#eee6f9;border-color:#786486;backdrop-filter:blur(8px)}@media print{html[data-theme=dark] body,html[data-theme=dark] main,html[data-theme=dark] .panel,html[data-theme=dark] .card{background:#fff!important;color:#182438!important}.theme-toggle,.login-theme{display:none!important}}
.domain-status{display:inline-block;padding:7px 10px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}.domain-status.normal{background:#e5f5ee;color:#166b48}.domain-status.urgent{background:#fff0dc;color:#9a4b08;border:1px solid #eac48e}.domain-status.expired{background:#ffe5e5;color:#a72b39;border:1px solid #e9a9b2}.domain-row.urgent{background:#fffaf1}.domain-row.expired{background:#fff3f3}.domain-row.urgent td:first-child{box-shadow:inset 3px 0 #dd932b}.domain-row.expired td:first-child{box-shadow:inset 3px 0 #d94c66}html[data-theme=dark] .domain-row.urgent{background:#3b2d33}html[data-theme=dark] .domain-row.expired{background:#40263b}html[data-theme=dark] .domain-status.normal{background:#284338;color:#a0ebbb}html[data-theme=dark] .domain-status.urgent{background:#4d3a2e;color:#ffd09c;border-color:#89633e}html[data-theme=dark] .domain-status.expired{background:#552e40;color:#ffb5c4;border-color:#9a526e}
.history-group .table-wrap{max-height:650px;overflow:auto}.history-group thead{position:sticky;top:0;z-index:1}.history-group td{vertical-align:top}.history-group td small{max-width:230px;white-space:normal;line-height:1.6}.history-group td .firm-link{white-space:normal;max-width:240px;line-height:1.5}.history-group .panel-head h2{font-size:17px}.history-group .money-received{font-size:14px;font-weight:700}.history-group .money-order{font-weight:600}.history-group tbody tr:nth-child(even){background:#fafbfe}html[data-theme=dark] .history-group tbody tr:nth-child(even){background:#30253e}.history-group .panel-head{border-left:3px solid #008da9}.history-group:nth-of-type(2) .panel-head{border-left-color:#9461b9}@media print{.history-group .table-wrap{max-height:none;overflow:visible}.history-group thead{position:static}}
/* Employee time and attendance reporting */
.track-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:20px}.track-filters label{display:grid;gap:7px;font-size:12px;font-weight:600}.track-filters input,.track-filters select{min-height:40px;max-width:230px}.track-event{padding:10px 12px;margin:5px 0;border-left:3px solid #8c77df;border-radius:6px;background:rgba(140,119,223,.08);min-width:230px;white-space:normal}.track-event small{display:block;margin-top:5px}.track-active{border-color:#00a5bb;background:rgba(0,165,187,.08)}.track-wait{border-color:#d9992e;background:rgba(217,153,46,.08)}.track-shift{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px}.track-shift>span{font-size:11px;opacity:.8}.track-audit{max-width:500px;max-height:330px;overflow:auto;white-space:pre-wrap;font-size:11px;color:inherit;background:transparent}[data-theme="dark"] .track-event{color:#eee9fc}[data-theme="dark"] .track-filters label{color:#e5def7}@media(max-width:900px){#header-shift .track-shift>span{display:none}#header-shift .btn{font-size:10px;padding:6px}.track-filters{padding:12px}.header-actions{flex-wrap:wrap}}
#server-saving{position:fixed;inset:0;z-index:999999;background:rgba(25,18,47,.58);backdrop-filter:blur(3px);display:grid;place-items:center;color:#fff;font-size:18px;font-weight:600;cursor:wait}#server-error-banner{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000000;background:#553040;color:#fff;padding:18px 24px;border:1px solid #ed9d9d;border-radius:12px;box-shadow:0 12px 40px #0004;max-width:min(750px,94vw);white-space:pre-wrap;cursor:pointer}#server-error{color:#bd344d;font-size:13px}.studio-login .auth-input input{min-width:0}
