:root{font-family:Inter,system-ui,Arial,sans-serif;color:#18212f;background:#f4f6fa}*{box-sizing:border-box}body{margin:0}header{display:flex;gap:24px;align-items:center;justify-content:space-between;background:#14243a;color:white;padding:16px max(20px,calc((100% - 1100px)/2));flex-wrap:wrap}.brand{font-weight:800;color:white;text-decoration:none}.brand span{font-weight:400;color:#c6d2e1}nav{display:flex;gap:16px;flex-wrap:wrap}nav a,header .link{color:white;text-decoration:none;background:none;border:0;padding:0;font:inherit;cursor:pointer}main{max-width:1100px;margin:32px auto;padding:0 18px;min-height:70vh}h1{font-size:30px}h2{margin-top:0}.card,.metric{background:white;border:1px solid #e1e7ef;border-radius:14px;padding:20px;margin:16px 0;box-shadow:0 4px 16px #18212f08}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.metric small{display:block;color:#637188}.metric strong{font-size:25px;display:block;margin-top:8px}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button,button{background:#1768d2;color:white;border:0;border-radius:8px;padding:10px 15px;text-decoration:none;cursor:pointer;font-weight:650}.link{background:none}.danger{background:#b42335;color:white}.stack{display:grid;gap:12px;max-width:620px}.auth{max-width:500px;margin:10vh auto}.auth h1{margin-bottom:22px}label{display:grid;gap:6px;font-size:14px;font-weight:600}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:10px;font:inherit;background:white}textarea{min-height:75px}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:11px 9px;border-bottom:1px solid #e7ebf1;white-space:nowrap}th{color:#59677b}.scroll{overflow:auto}.pill{background:#eaf1fb;color:#24538c;padding:4px 9px;border-radius:30px;font-size:12px}.error{color:#a31f31;background:#fff1f2}footer{text-align:center;color:#6b7788;padding:24px;font-size:13px}a{color:#135dbb}.dash-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 32px;margin:18px 0 24px;background:linear-gradient(120deg,#14243a,#24527e);border-radius:18px;color:#fff;box-shadow:0 10px 28px #14243a20}.dash-welcome span{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#b9d4f2}.dash-welcome h2{font-size:25px;line-height:1.25;margin:9px 0}.dash-welcome p{margin:0;color:#d5e2f0}.dash-shortcuts{display:flex;gap:10px;flex-wrap:wrap}.dash-shortcuts .button{background:#fff;color:#183d65}.metrics{gap:16px;margin:0 0 24px}.metric{border-radius:15px;padding:22px;border-color:#e4eaf2;box-shadow:0 5px 18px #172b4509;min-height:108px}.metric strong{font-size:27px;letter-spacing:-.5px}.metric small{font-weight:650;letter-spacing:.2px}.actions{margin:18px 0}.card{border-radius:14px;box-shadow:0 5px 22px #172b4508}.card h2{font-size:19px;margin-bottom:16px}table th{font-size:11px;letter-spacing:.7px;text-transform:uppercase;background:#f8fafc}table td{padding:13px 10px}tbody tr:hover{background:#f8fbff}main>h1{font-size:27px;letter-spacing:-.5px;color:#14243a}@media(max-width:700px){.dash-welcome{align-items:flex-start;flex-direction:column;padding:21px}.dash-shortcuts{width:100%}}@media print{body{background:#fff}body *{visibility:hidden!important}.invoice-print,.invoice-print *{visibility:visible!important}.invoice-print{position:absolute!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.invoice-print .no-print,.no-print{display:none!important}header,footer,nav,button{display:none!important}main{margin:0!important;padding:0!important;max-width:none!important;min-height:0!important}.invoice-print table{width:100%!important;border-collapse:collapse!important}.invoice-print tr{break-inside:avoid}.invoice-print h1,.invoice-print h2,.invoice-print h3{color:#111!important}}.dashboard-metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:0 0 26px}.dashboard-metrics .metric{margin:0;min-height:142px;padding:22px 23px;display:flex;flex-direction:column;justify-content:center;border:1px solid #e7ebf2;border-radius:15px;box-shadow:0 3px 12px #172b4507}.dashboard-metrics .metric small{font-size:12px;color:#66758a;font-weight:700;letter-spacing:.25px}.dashboard-metrics .metric small span{display:inline-block;margin-left:5px;padding:2px 7px;border-radius:5px;background:#edf3fb;color:#315b8b;font-size:10px}.dashboard-metrics .metric strong{font-size:30px;line-height:1.2;color:#182b45;margin:11px 0 5px;letter-spacing:-.8px}.dashboard-metrics .metric em{font-style:normal;font-size:11px;color:#8a96a7}.dashboard-metrics .metric-primary{background:linear-gradient(145deg,#fff,#f5f9ff);border-color:#dce7f5}.dashboard-metrics .metric-primary strong{color:#1559a5}.dash-welcome{min-height:176px;padding:30px 34px;margin:8px 0 25px;background:linear-gradient(115deg,#10243d 0%,#173e66 58%,#245d89 100%);border:1px solid #244d73;border-radius:18px;box-shadow:0 12px 28px #122a4518}.dash-welcome .eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#a9c8e8}.dash-welcome h2{font-size:27px;line-height:1.25;margin:10px 0 8px;letter-spacing:-.5px;color:#fff}.dash-welcome p{font-size:13px;color:#d2dfed;line-height:1.6}.dash-shortcuts{justify-content:flex-end}.dash-shortcuts .button{display:inline-flex;align-items:center;gap:7px;padding:12px 16px;border-radius:9px;font-size:13px;box-shadow:0 3px 8px #071a2b20}.dash-shortcuts .button-light{background:#fff;color:#183d65}.dash-shortcuts .button-solid{background:#347fce;color:#fff;border:1px solid #68a0dc}.dashboard-table{margin:0;padding:0;overflow:hidden;border:1px solid #e5eaf1;border-radius:15px;box-shadow:0 4px 16px #172b4507}.dashboard-table .section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px}.dashboard-table .section-heading h2{margin:0 0 5px;font-size:18px;color:#1b2c43}.dashboard-table .section-heading p{margin:0;color:#8390a1;font-size:12px}.dashboard-table .section-heading>a{font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}.dashboard-table .scroll{border-top:1px solid #edf0f5}.dashboard-table table{font-size:13px}.dashboard-table th{padding:13px 18px;background:#f8fafc;color:#758398;font-size:10px;letter-spacing:.8px}.dashboard-table td{padding:16px 18px;color:#425168}.dashboard-table tbody tr:last-child td{border-bottom:0}.dashboard-table tbody tr:hover{background:#f8fbff}.dashboard-table .invoice-number{font-weight:750;text-decoration:none;color:#1763b1}.dashboard-table .balance-cell{font-weight:750;color:#20334c;font-variant-numeric:tabular-nums}.dashboard-table .pill{font-weight:700;text-transform:capitalize}.dashboard-table .status-overdue{background:#fff0ef;color:#b42318}.dashboard-table .status-partial{background:#fff6e6;color:#99610b}.dashboard-table .status-sent{background:#edf4ff;color:#285c9a}.dashboard-table .empty-state{text-align:center;padding:32px;color:#8793a3}@media(max-width:700px){.dash-welcome{padding:24px;gap:22px}.dash-welcome h2{font-size:23px}.dash-shortcuts{justify-content:flex-start}.dash-shortcuts .button{flex:1;justify-content:center}.dashboard-table .section-heading{align-items:flex-start;flex-direction:column;padding:19px}.dashboard-table td{padding:13px 12px}.dashboard-table th{padding:12px}}.dashboard-page{position:relative;isolation:isolate;padding:26px 22px 30px;border-radius:26px;background:radial-gradient(ellipse at 8% 0%,#e4edff 0,transparent 38%),radial-gradient(ellipse at 96% 18%,#e5f7f5 0,transparent 34%),linear-gradient(145deg,#f8faff,#eef3fb);box-shadow:inset 0 1px 0 #ffffff,0 18px 50px #233e6412}.dashboard-page>h1{display:none}.dashboard-page .dash-welcome{position:relative;overflow:hidden;isolation:isolate;min-height:218px;margin:0 0 28px;padding:34px 38px;border:1px solid #4c78a5;border-radius:22px;background:linear-gradient(118deg,#101d38 0%,#183c68 48%,#287eb0 100%);box-shadow:0 22px 38px #102b4a35,inset 0 1px 0 #ffffff38;transform:perspective(1100px) rotateX(1deg)}.dashboard-page .dash-welcome:before{content:"";position:absolute;z-index:-1;width:330px;height:330px;right:8%;top:-190px;border:1px solid #ffffff35;border-radius:50%;box-shadow:0 0 0 28px #ffffff09,0 0 0 58px #ffffff08,0 0 0 90px #ffffff06}.dashboard-page .dash-welcome:after{content:"";position:absolute;z-index:-1;width:190px;height:190px;right:23%;bottom:-140px;border-radius:50%;background:linear-gradient(145deg,#6fd5ff55,#ffffff05);filter:blur(2px)}.dashboard-page .dash-welcome .eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #ffffff32;border-radius:30px;background:#ffffff12;color:#c8e6ff;font-size:10px;letter-spacing:1.8px}.dashboard-page .dash-welcome h2{font-size:32px;letter-spacing:-.9px;margin:16px 0 9px;text-shadow:0 3px 12px #071a3440}.dashboard-page .dash-welcome p{font-size:14px;color:#d6e8f7}.dashboard-page .dash-shortcuts{position:relative;z-index:1;gap:12px}.dashboard-page .dash-shortcuts .button{min-height:46px;padding:13px 18px;border-radius:11px;transition:transform .2s,box-shadow .2s}.dashboard-page .dash-shortcuts .button:hover{transform:translateY(-4px);box-shadow:0 12px 22px #061a3545}.dashboard-page .dash-shortcuts .button-solid{background:linear-gradient(135deg,#54a7f0,#2771c6);border:1px solid #91c9ff;color:#fff}.dashboard-page .dashboard-metrics{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:19px;margin:0 0 28px;perspective:1000px}.dashboard-page .dashboard-metrics .metric{position:relative;overflow:hidden;min-height:156px;margin:0;padding:24px 25px;border:1px solid #e1e9f4;border-radius:19px;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);box-shadow:0 13px 25px #18395e12,0 3px 7px #18395e08,inset 0 1px 0 #fff;transition:transform .22s,box-shadow .22s}.dashboard-page .dashboard-metrics .metric:after{content:"";position:absolute;width:115px;height:115px;right:-42px;top:-48px;border-radius:50%;background:linear-gradient(145deg,#d9eaff99,#e8f2ff00)}.dashboard-page .dashboard-metrics .metric:hover{transform:translateY(-7px) rotateX(2deg);box-shadow:0 22px 34px #18395e20,0 5px 10px #18395e0b}.dashboard-page .dashboard-metrics .metric-primary{background:linear-gradient(135deg,#eaf4ff,#fff 75%);border-color:#cbdff5}.dashboard-page .dashboard-metrics .metric-primary:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(#2d8de0,#2454a5)}.dashboard-page .dashboard-metrics .metric small{font-size:12px;color:#61738c}.dashboard-page .dashboard-metrics .metric strong{font-size:31px;color:#173b65;margin:13px 0 7px}.dashboard-page .dashboard-metrics .metric-primary strong{color:#1264b4}.dashboard-page .dashboard-metrics .metric em{font-size:11px;color:#8797aa}.dashboard-page .dashboard-table{margin:0;padding:0;border:1px solid #e0e8f2;border-radius:19px;background:#ffffffed;box-shadow:0 15px 32px #18395e12,0 3px 8px #18395e08;overflow:hidden}.dashboard-page .dashboard-table .section-heading{padding:25px 27px 21px}.dashboard-page .dashboard-table .section-heading h2{font-size:20px;color:#183454}.dashboard-page .dashboard-table .section-heading p{font-size:12px;color:#8192a8}.dashboard-page .dashboard-table .section-heading>a{padding:9px 13px;border-radius:9px;background:#edf5ff;color:#1764ad}.dashboard-page .dashboard-table .scroll{border-top:1px solid #edf2f8}.dashboard-page .dashboard-table th{background:#f4f8fd;color:#71849b}.dashboard-page .dashboard-table td{padding-top:16px;padding-bottom:16px}.dashboard-page .dashboard-table tbody tr:hover{background:#f1f7ff}@media(max-width:760px){.dashboard-page{padding:15px 12px 20px;border-radius:18px}.dashboard-page .dash-welcome{min-height:0;padding:25px 22px}.dashboard-page .dash-welcome h2{font-size:25px}.dashboard-page .dashboard-metrics{grid-template-columns:1fr;gap:12px}.dashboard-page .dashboard-metrics .metric{min-height:125px}.dashboard-page .dash-shortcuts{width:100%;flex-direction:column}.dashboard-page .dash-shortcuts .button{justify-content:center}.dashboard-page .dashboard-table .section-heading{padding:20px}}@media(prefers-reduced-motion:reduce){.dashboard-page *{transition:none!important}}