[hidden]{display:none!important}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263b34;background:#f5f6f2;font-synthesis:none;--green:#173f35;--muted:#7a8780;--border:#e5e9e2;--accent:#c7df8c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a2bf62;outline-offset:3px}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}.sidebar{position:fixed;width:240px;height:100vh;background:#fff;border-right:1px solid var(--border);padding:34px 24px;display:flex;flex-direction:column;z-index:2}.brand{font-size:23px;font-weight:700;letter-spacing:-1.1px;display:flex;align-items:center;margin-bottom:53px}.brand>span:last-child{font-weight:400}.brand-icon{display:inline-grid;place-items:center;background:var(--green);color:var(--accent);font-size:29px;border-radius:11px;height:37px;width:37px;margin-right:10px;font-family:Georgia,serif;font-style:italic}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.sidebar-label{font-size:9px;letter-spacing:1.3px;margin-bottom:24px}.profile-label{font-size:12px;color:var(--muted);margin-bottom:9px}input,select{border:1px solid #dce2d9;background:white;color:#263b34;border-radius:8px;padding:11px 12px;min-width:0}select{cursor:pointer}.sidebar select{width:100%;font-size:13px}.text-button{border:0;background:transparent;padding:10px 0;color:var(--green);font-size:12px;text-align:left}.sidebar nav{margin:35px -10px 0}.nav-item{display:flex;align-items:center;gap:14px;font-size:13px;border-radius:8px;padding:14px;margin-bottom:6px;color:var(--muted)}.nav-item>span{font-size:19px}.nav-item.active{background:#eef3e5;color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto;font-size:11px;color:#4c6258;line-height:1.8}.sidebar-bottom p{color:#9a a59e;color:var(--muted);font-size:11px;margin-top:13px}main{margin-left:240px;padding:0 46px;max-width:1700px}.topbar{height:82px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted)}.workspace-tag{font-size:9px;letter-spacing:1.6px;border:1px solid #dce3d5;border-radius:20px;padding:9px 13px}.page-heading{display:flex;justify-content:space-between;align-items:center;padding-top:37px;gap:16px}h1{font-size:37px;letter-spacing:-1.4px;font-weight:600;margin:9px 0}.heading-dot{color:#93b45d}h2{font-size:17px;letter-spacing:-.4px;font-weight:600;margin:9px 0 0}h3{font-size:16px;font-weight:600}.page-heading p{font-size:13px;color:var(--muted);margin:10px 0}.primary,.secondary,.danger{border-radius:7px;padding:12px 17px;font-size:12px;font-weight:600;white-space:nowrap}.primary{border:1px solid var(--green);background:var(--green);color:#fff}.secondary{border:1px solid #dce3d5;background:#fff;color:#45594d}.danger{border:0;background:#a84132;color:white}.toolbar{display:flex;align-items:center;gap:10px;margin:25px 0 22px}.toolbar>div{display:flex;align-items:center;gap:12px}.toolbar label{font-size:12px;color:var(--muted)}.toolbar input{font-size:12px;padding:8px 10px}.toolbar .secondary{padding:9px 12px}.period-label{margin-left:auto;font-size:12px;color:var(--muted);text-transform:capitalize}.stats{display:grid;grid-template-columns:1.12fr 1fr 1fr;gap:18px}.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:23px 26px;position:relative;overflow:hidden;min-height:163px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:20px}.stat-top>span{border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:18px;background:#edf4e7;color:#466644}.stat-top>.expense-icon{background:#fbede8;color:#bb725d}.stat strong{font-size:30px;letter-spacing:-1px;font-weight:600;position:relative;z-index:1}.stat p{font-size:11px;color:var(--muted);margin-bottom:0}.stat.balance{background:var(--green);color:#fff;border-color:var(--green)}.balance .stat-top{color:#dce8cf}.balance .stat-top>span{background:#32594b;color:#c7df8c}.balance p{color:#b2c8b9}.card-decoration{position:absolute;right:-40px;bottom:-80px;border:1px solid #476956;border-radius:50%;width:190px;height:190px;box-shadow:0 0 0 22px #21483c,0 0 0 23px #476956,0 0 0 44px #21483c,0 0 0 45px #476956}.small-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#91ae70;margin-right:6px;vertical-align:middle}.small-dot.coral{background:#c67b65}.insights{display:grid;grid-template-columns:1.12fr 1fr;gap:18px;margin:23px 0}.panel{background:white;border:1px solid var(--border);border-radius:12px;padding:25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:12px}.panel-symbol{font-size:25px;color:#78955b}.round-button{border:1px solid var(--border);border-radius:50%;width:29px;height:29px;background:#fff;color:var(--green);font-size:19px;display:grid;place-items:center;padding:0}.category-row{margin:0 0 18px}.category-row:last-child{margin-bottom:0}.category-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:8px}.category-line>span{display:flex;gap:8px;align-items:center}.category-line strong{font-size:12px;font-weight:500}.category-dot{width:8px;height:8px;background:#406750;border-radius:3px;display:inline-block}.color-1{background:#8daa6b}.color-2{background:#d0b878}.color-3{background:#c0836e}progress{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:4px;overflow:hidden;background:#eff2e9}progress::-webkit-progress-bar{background:#eff2e9}progress::-webkit-progress-value{background:#93b574;border-radius:4px}progress::-moz-progress-bar{background:#93b574}small{font-size:10px;color:var(--muted)}.category-row small{display:block;margin-top:6px}.compact-empty{text-align:center;color:var(--muted);padding:12px 0;font-size:12px;line-height:1.7}.compact-empty>span{font-size:33px;color:#a6b998}.profile-card{display:flex;align-items:center;gap:12px;width:100%;border:0;border-bottom:1px solid #edf0e9;background:white;text-align:left;padding:15px 0}.profile-card:last-child{border-bottom:0}.profile-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:9px;background:#eef3e6;color:#648147;font-size:12px;font-weight:600;flex-shrink:0}.profile-avatar.business{background:#edf0f5;color:#6a7d99}.profile-card strong{font-size:12px;display:block;overflow-wrap:anywhere}.profile-card small{display:block;margin-top:5px}.profile-balance{margin-left:auto;text-align:right;font-size:12px;white-space:nowrap}.count{font-size:10px;background:#eef2e8;color:#6c7f61;padding:4px 7px;margin-left:6px;border-radius:5px;vertical-align:middle}.filters{display:flex;gap:10px;margin-bottom:22px}.filters input{flex:1;font-size:12px}.filters select{font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;color:var(--muted);font-size:10px;font-weight:500;padding:12px 9px;border-bottom:1px solid var(--border)}td{padding:17px 9px;border-bottom:1px solid #eff1eb;color:#7b887e}td:first-child{color:#3f5146;max-width:300px;white-space:normal;overflow-wrap:anywhere}td strong{font-weight:500}.amount{text-align:right;font-weight:600}.amount.income{color:#527d47}.amount.expense{color:#b16854}.transaction-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#fbefe9;color:#b16a53;margin-right:10px;font-size:16px}.transaction-icon.income{background:#edf4e8;color:#658b50}.badge{background:#f4f6f0;border:1px solid #e7ebdf;padding:5px 8px;border-radius:5px;font-size:10px;display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.row-actions button{border:0;background:transparent;color:#6d8272;font-size:11px;padding:5px}.row-actions button:last-child{font-size:18px;color:#b16854}.empty-state{text-align:center;padding:28px 16px 36px}.empty-icon{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#f0f4e8;color:#8da777;font-size:25px}.empty-state p{color:var(--muted);font-size:12px;line-height:1.8;margin:0 auto 20px;max-width:370px}.empty-state h3{margin:15px 0 8px}footer{display:flex;justify-content:space-between;color:#a0aba0;font-size:11px;padding:25px 0 30px}dialog{width:480px;max-width:calc(100vw - 30px);border:1px solid var(--border);border-radius:16px;padding:28px;color:#263b34;box-shadow:0 24px 90px #0d211e30;max-height:90vh;overflow:auto}dialog::backdrop{background:#132f285e;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-heading h2{font-size:23px}.close:not(.secondary){border:0;background:none;color:#849284;font-size:26px;padding:0 4px}.dialog-description{font-size:12px;line-height:1.7;color:var(--muted)}form label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:16px 0}form input,form select{width:100%;font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-error{color:#b34532;font-size:12px;line-height:1.5}.profile-list-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:12px 0;font-size:12px}.profile-list-row>span{flex:1;overflow-wrap:anywhere}.profile-list-row small{display:block;margin-top:4px}.delete-text{color:#b16854}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border:1px solid #567359;padding:15px 24px;border-radius:10px;font-size:13px;z-index:10;box-shadow:0 7px 30px #173f3520;max-width:calc(100vw - 30px)}#confirm-message{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:1500px){main{padding:0 65px}.stat{padding:27px 30px}.stat strong{font-size:34px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 19px}main{margin-left:210px;padding:0 26px}.stats{gap:12px}.stat{padding:20px}.stat strong{font-size:24px}.panel{padding:20px}.eyebrow{font-size:9px}}@media(max-width:800px){.sidebar{position:static;width:100%;height:auto;padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:10px;border-right:0;border-bottom:1px solid var(--border)}.brand{margin:0;font-size:21px}.sidebar-label,.profile-label,.sidebar nav,.sidebar-bottom{display:none}.sidebar select{grid-column:1;font-size:12px}.sidebar>.text-button{grid-column:2;grid-row:2}.brand-icon{width:31px;height:31px;font-size:25px}.sidebar select{max-width:260px}main{margin:0;padding:0 20px}.topbar{height:55px}.workspace-tag{font-size:8px}.page-heading{padding-top:26px}h1{font-size:31px}.stats{grid-template-columns:1fr 1fr;gap:12px}.stat.balance{grid-column:1/-1;min-height:145px}.stat{min-height:145px}.insights{grid-template-columns:1fr}.panel{padding:22px}.toolbar{flex-wrap:wrap}.period-label{width:100%;margin-left:0}.profile-card{padding:12px 0}footer span{font-size:9px}}@media(max-width:480px){.page-heading{align-items:flex-start;flex-direction:column;gap:8px}.page-heading .primary{width:100%}.stats{gap:10px}.stat{padding:18px 14px}.stat strong{font-size:23px}.panel{padding:19px 14px}.panel-heading .secondary{font-size:10px;padding:10px}.filters{flex-direction:column}.toolbar label{display:none}.toolbar{gap:8px}.form-grid{gap:10px}dialog{padding:22px}.profile-balance{font-size:11px}.topbar>span:first-child{font-size:10px}footer span{max-width:180px;text-align:right}}
.table-scroll{position:relative}table{min-width:680px}td:first-child{min-width:190px}
@media(min-width:801px){.sidebar{top:0;left:0}}
.auth-panel{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:100%;max-width:420px;padding:32px;background:white;border:1px solid #e4e8e1;border-radius:20px;display:grid;gap:14px}.auth-card h1{font-size:28px;line-height:1.2}.auth-card p{color:#667269;line-height:1.5}.auth-card input{width:100%;min-height:46px;border:1px solid #dce1d9;border-radius:8px;padding:10px;font:inherit}#auth-error{color:#98443b;font-size:14px}#account-email{display:block;overflow-wrap:anywhere;margin-bottom:8px}
