:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#182336;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}.layout{max-width:1120px;margin:auto;min-height:100dvh;display:grid;grid-template-columns:224px 1fr}.sidebar{padding:29px 19px;border-right:1px solid #e8edf4;background:#fff;position:sticky;top:0;height:100dvh}.brand{font-size:20px;font-weight:800;letter-spacing:-.7px;margin:4px 10px 34px;display:flex;gap:10px;align-items:center}.mark{background:#347ff4;color:white;padding:9px;border-radius:13px;font-size:19px}.navitem{display:flex;gap:13px;align-items:center;border:0;background:transparent;color:#64748b;font-size:14px;font-weight:600;width:100%;text-align:left;border-radius:13px;padding:13px;margin-bottom:5px}.navitem.active{background:#edf4ff;color:#2776ec}.navitem svg{width:19px;height:19px}.main{min-width:0;padding:36px 42px 110px}.top{display:flex;align-items:start;justify-content:space-between;margin-bottom:28px;gap:10px}.eyebrow{font-size:12px;color:#8592a7;letter-spacing:.09em;font-weight:700;text-transform:uppercase}.title{font-size:27px;letter-spacing:-.8px;margin:8px 0 6px;font-weight:750}.muted{color:#8592a7}.small{font-size:12px}.card{background:white;border:1px solid #e9edf3;border-radius:20px;padding:21px;margin-bottom:17px}.card.light{background:#f1f6ff;border-color:#e6efff}.summary{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px}.summary .card{min-height:134px}.amount{font-size:29px;letter-spacing:-1px;font-weight:770;margin:12px 0 4px}.amount.smallamount{font-size:21px}.label{color:#8190a3;font-size:12px;font-weight:600}.stat-note{font-size:12px;color:#718098;margin-top:6px}.sectionbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:22px 0 13px}.sectionbar h2{font-size:17px;letter-spacing:-.35px;margin:0}.pill,.btn{border-radius:999px;border:1px solid #dfe7f2;padding:10px 16px;background:white;color:#33445c;font-size:13px;font-weight:650}.btn.primary{background:#347ff4;border-color:#347ff4;color:#fff}.btn.ghost{background:transparent;border-color:transparent;color:#347ff4}.btn.danger{color:#d54d57;border-color:#ffdde0}.btn.sm{padding:7px 12px;font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.stack{display:grid;gap:10px}.item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #f0f2f6}.item:last-child{border-bottom:0}.itemname{font-size:14px;font-weight:650}.itemsub{color:#8994a6;font-size:12px;margin-top:5px}.itemright{text-align:right;white-space:nowrap}.badge{border-radius:999px;background:#f2f4f7;color:#64748b;font-size:11px;font-weight:700;padding:6px 9px;display:inline-block}.badge.warn{background:#fff5e8;color:#bd792e}.badge.red{background:#fff0f1;color:#bd4c59}.badge.good{background:#eaf8f1;color:#237a58}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.empty{padding:28px 10px;color:#8c9aac;font-size:14px;text-align:center}.field{display:grid;gap:7px;margin-bottom:14px}.field label{font-size:12px;color:#64758d;font-weight:700}.field input,.field select,.field textarea{width:100%;padding:12px 13px;background:#fff;border:1px solid #dfe6ef;border-radius:11px;outline:none;color:#20314b;min-width:0}.field input:focus,.field select:focus{border-color:#347ff4;box-shadow:0 0 0 3px #347ff41e}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.modalback{position:fixed;inset:0;background:#0c1b32a1;z-index:10;display:grid;place-items:center;padding:18px}.modal{background:#fff;border-radius:21px;padding:24px;width:min(530px,100%);max-height:90dvh;overflow:auto;box-shadow:0 18px 80px #0b214026}.modal h2{margin:0 0 20px;font-size:20px}.progress{height:8px;border-radius:99px;background:#edf1f7;overflow:hidden;margin:12px 0}.progress>div{background:#347ff4;height:100%;border-radius:99px}.switches{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.switch{background:#f3f5f9;padding:8px 13px;border:0;border-radius:999px;color:#62758c;font-size:12px;font-weight:650}.switch.on{background:#e5f0ff;color:#2575ee}.notice{background:#f6f8fc;border-radius:13px;padding:14px;font-size:13px;color:#53657e;line-height:1.5}.notice.warn{background:#fff6eb;color:#946b2f}.notice.good{background:#e9f8ef;color:#247852}.moneypos{color:#17825e}.moneyneg{color:#b84f59}.barlink{border:0;background:none;color:#347ff4;font-size:12px;font-weight:700;cursor:pointer}.rowline{display:flex;align-items:center;justify-content:space-between;gap:12px}.rowline strong{font-size:14px}.mobile-nav{display:none}#toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);background:#1b304c;color:#fff;border-radius:100px;padding:11px 19px;z-index:50;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap;max-width:90vw;overflow:hidden;text-overflow:ellipsis}#toast.show{opacity:1} .sep{border:0;border-top:1px solid #e9edf3;margin:18px 0}.subheading{font-weight:700;font-size:14px;margin:8px 0}.help{font-size:12px;color:#8190a3;line-height:1.55}.checkrow{display:flex;align-items:center;gap:8px;font-size:13px;color:#4d5c70;margin:10px 0}.checkrow input{accent-color:#347ff4}.dotted{border:1px dashed #d9e1ec;border-radius:14px;padding:16px;color:#7e8da3}.amount-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.overdue{border-left:3px solid #e49c5e;padding-left:12px}.mini{font-size:12px}.hint{padding:10px 0;color:#6b7890;font-size:12px}.kpi{font-size:23px;font-weight:750;letter-spacing:-.6px}.setup{max-width:520px;margin:48px auto}.brandhead{display:flex;align-items:center;gap:10px;margin-bottom:24px}@media(max-width:780px){.layout{display:block}.sidebar{display:none}.main{padding:25px 19px 112px}.title{font-size:24px}.summary{grid-template-columns:1fr 1fr;gap:10px}.summary .card:first-child{grid-column:1/-1}.summary .card{min-height:0;padding:17px}.amount{font-size:28px}.grid2{grid-template-columns:1fr;gap:0}.mobile-nav{display:flex;position:fixed;bottom:0;bottom:env(safe-area-inset-bottom,0);left:0;right:0;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid #e9edf3;justify-content:space-around;padding:9px 5px calc(10px + env(safe-area-inset-bottom,0px));z-index:5}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;color:#8391a4;font-size:10px;min-width:60px}.mobile-nav button.active{color:#347ff4}.mobile-nav svg{width:21px;height:21px}.formgrid{grid-template-columns:1fr}.card{padding:18px}.top{margin-bottom:19px}}@media(min-width:781px){.main{padding-top:42px}}
