:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#182940;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}aside{background:#13243c;color:#eaf0fa;padding:29px 16px}aside h2{font-size:17px;margin:0 0 31px;letter-spacing:.01em}nav button{background:transparent;color:#becde0;border:0;text-align:left;display:block;padding:13px 15px;width:100%;border-radius:7px}nav button.active,nav button:hover{background:#253e62;color:white}aside small{display:block;margin-top:32px;color:#93a9c4;line-height:1.7}main{padding:32px 42px;max-width:1540px;width:100%;margin:auto}header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}h1{font-size:23px;margin:0 0 5px;letter-spacing:-.025em}h3{margin:0 0 14px}p.sub{color:#758498;margin:0;font-size:13px}.card{background:white;border:1px solid #e5eaf1;border-radius:12px;padding:20px;margin-bottom:18px;box-shadow:0 2px 10px #17243905}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric span{font-size:13px;color:#738096}.metric strong{display:block;font-size:26px;margin:7px 0}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center}input,select,textarea{padding:9px 12px;border:1px solid #d6dfeb;background:white;border-radius:7px;max-width:100%}input{min-width:170px}button.primary{background:#2457a8;border:1px solid #2457a8;color:white;border-radius:7px;padding:9px 14px}button.secondary{background:white;border:1px solid #cbd5e1;color:#22384e;border-radius:7px;padding:9px 14px}button:disabled{opacity:.55;cursor:not-allowed}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f4f7fa;color:#53657a;font-weight:600}td,th{padding:12px 10px;border-bottom:1px solid #eaf0f5;white-space:nowrap}td.description{white-space:normal;min-width:200px}td.num{text-align:right;font-variant-numeric:tabular-nums}tr:hover td{background:#fafbfd}.chip{font-size:12px;background:#eef4f9;padding:4px 8px;border-radius:20px;color:#43607b;display:inline-block}.chip.warn{background:#fff1d8;color:#865c15}.danger,.negative{color:#b8484b!important}.good{color:#237452}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px}.muted{color:#728299;font-size:13px}.alert{padding:12px;border-radius:9px;background:#fff4df;color:#79551d;margin:14px 0}.success{background:#e4f4e9;color:#296842}.hidden{display:none!important}.login{max-width:440px;margin:10vh auto}.login input{display:block;width:100%;margin:12px 0}.login button{width:100%}.flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}footer{font-size:12px;color:#8190a4;margin-top:30px}select.category{max-width:260px;min-width:160px}td .smallbtn{padding:6px 8px;font-size:12px}#message{position:fixed;bottom:20px;right:20px;max-width:450px;z-index:20;padding:13px 18px;border-radius:10px;color:white;background:#294564;box-shadow:0 5px 20px #13223a30}.statuslist div{border-bottom:1px solid #e8edf3;padding:10px 0}.tag{font-size:12px;padding:4px 8px;background:#fceccf;color:#875e11;border-radius:7px}
/* Stripe-inspired overview + Microsoft-inspired financial statements */
.report-topline{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:10px 0 31px}.report-topline h2{font-size:25px;letter-spacing:-.035em;margin:6px 0 5px}.eyebrow{font-weight:700;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#597cad}.report-section{margin-bottom:34px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px;gap:12px}.section-heading h2{font-weight:700;font-size:20px;letter-spacing:-.02em;margin:5px 0 0}.section-heading h2 small{font-size:12px;font-weight:500;color:#71839a;margin-left:7px}.section-note{font-size:11px;color:#7c8aa0}.highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.highlight{background:white;border:1px solid #e5e9f2;border-radius:12px;padding:18px 20px 17px;position:relative;overflow:hidden;min-height:111px}.highlight:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:#8ba3c9}.highlight span{display:block;color:#64758c;font-size:12px;font-weight:500}.highlight strong{font-size:28px;letter-spacing:-.045em;display:block;margin:10px 0 6px;white-space:nowrap;font-variant-numeric:tabular-nums}.highlight small{font-size:11px;color:#8999ad}.highlight-blue{background:linear-gradient(150deg,#f0f8ff,#fff 78%)}.highlight-blue:before{background:#487ebd}.highlight-violet{background:linear-gradient(150deg,#f7f3ff,#fff 78%)}.highlight-violet:before{background:#8c72c1}.highlight-teal{background:linear-gradient(150deg,#edf9f7,#fff 78%)}.highlight-teal:before{background:#40a69a}.highlight-rose{background:linear-gradient(150deg,#fff2f3,#fff 78%)}.highlight-rose:before{background:#d28e9c}.highlight-rose strong{color:#bb4851}.highlight-slate:before{background:#7e99b3}
.statement-stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;align-items:start}.sheet{background:#fff;border:1px solid #e3e8ef;border-radius:9px;overflow:hidden;min-width:0}.sheet-heading{display:flex;justify-content:space-between;align-items:center;background:#eaf2fa;border-bottom:1px solid #dae5f1;padding:13px 17px;gap:10px}.sheet-heading h3{font-size:13px;color:#1f4164;margin:0;font-weight:700}.sheet-heading span{font-size:10px;color:#758da6;white-space:nowrap}.financial th{background:#f8fafc;color:#60758a;font-size:11px}.financial td,.financial th{padding:11px 15px}.financial td{white-space:normal}.financial .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.financial .subdued{color:#7e8fa2}.financial .acc-code{display:inline-block;min-width:40px;color:#75869b;font-size:11px}.financial tfoot th{background:#edf3f8;color:#213d57;border-top:1px solid #ccdbe9;border-bottom:0;font-size:12px}.financial tr.important td{font-weight:700;background:#f8fafc}.reconcile{display:flex;justify-content:space-between;align-items:center;margin:12px 0 0;padding:14px 18px;background:#eaf2f8;border-left:3px solid #376fa5;border-radius:5px;color:#254766;font-size:13px;gap:12px}.reconcile strong{font-size:17px;font-variant-numeric:tabular-nums}.reconcile.unbalanced{background:#fff1ed;border-color:#bf5353;color:#934444}.statement-note{color:#71829a;font-size:12px;line-height:1.75;padding:6px 2px 0}.chart-sheet{padding:16px 18px}.bridge-scroller{overflow:auto;width:100%}.bridge{display:block;min-width:100%;max-width:none;font-family:Inter,Arial,sans-serif}.bridge-number{font-size:10px;font-weight:700;fill:#273c54}.bridge-label{font-size:11px;fill:#596d84}.report-footer-note{font-size:11px;color:#8b9aab;line-height:1.7}
@media(max-width:1030px){main{padding:26px}.highlights{grid-template-columns:repeat(3,1fr)}.highlight strong{font-size:23px}}
@media(max-width:850px){.shell{display:block}aside{padding:12px}aside h2{margin:0 0 8px}nav{display:flex;overflow:auto}nav button{white-space:nowrap;width:auto}aside small{display:none}main{padding:16px}.grid{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start}.metric strong{font-size:21px}.highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.report-topline{align-items:flex-start;flex-wrap:wrap}.statement-stack{grid-template-columns:1fr}}
@media(max-width:480px){.grid{grid-template-columns:repeat(2,1fr)}.highlight{padding:14px 12px;min-height:102px}.highlight strong{font-size:20px}.section-heading h2{font-size:18px}.section-heading h2 small{display:block;margin:3px 0}.section-note{display:none}.financial td,.financial th{padding:10px 8px}}
