:root{--bg:#f5f7f8;--paper:#fff;--ink:#203a35;--muted:#64756f;--green:#11594b;--lime:#d5ed9d;--line:#e3e9e6;--red:#b34b48}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #81bbaa;outline-offset:3px}input,select{width:100%;border:1px solid #cdd9d3;border-radius:9px;padding:12px;background:#fff;color:var(--ink);font-size:16px;min-height:46px}input:focus,select:focus{outline:2px solid #99c4b8;outline-offset:1px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23445f54' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}label input,label select{margin-top:8px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;font-weight:650;margin-bottom:10px}h2{font-size:24px;letter-spacing:-.6px}h3{font-size:18px;margin-bottom:6px}p{color:var(--muted);line-height:1.65}small{font-size:13px}a{color:inherit}.primary,.secondary{border-radius:9px;padding:12px 18px;font-size:14px;font-weight:600;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--green);color:white;border:1px solid var(--green)}.primary span{font-size:22px;line-height:1}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.full{width:100%}.text-button{display:block;border:0;background:none;color:var(--green);padding:10px 0;font-size:14px}.muted{color:var(--muted)}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.8px;margin-bottom:15px}.green{color:var(--green)}.brand{text-decoration:none;display:flex;align-items:center;gap:9px;font-size:30px;font-weight:700;letter-spacing:-1.4px}.brand>span{font-size:25px}.brand .light{font-weight:400}.loading{padding:20vh 10vw;font-size:32px;font-weight:600}.loading span{display:block;margin-top:20px;color:var(--muted);font-size:16px}[hidden]{display:none!important}#auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-story{background:#124d41;color:white;padding:48px 11%;display:flex;flex-direction:column;justify-content:space-between;gap:60px;overflow:hidden}.auth-story h1{font-size:clamp(38px,4vw,62px);line-height:1.12;letter-spacing:-2px}.auth-story em{font-family:Georgia,serif;color:var(--lime);font-weight:400}.auth-story p{color:#c1d8cd;max-width:390px}.auth-story small{color:#c1d8cd}.story-card{margin-top:35px;background:#ffffff0c;border:1px solid #ffffff24;border-radius:18px;padding:25px;max-width:400px;position:relative;overflow:hidden}.story-card span{font-size:11px;letter-spacing:2px;color:#bed1c8}.story-card strong{display:block;font-size:22px;line-height:1.4;margin-top:18px}.bars{display:flex;height:80px;align-items:end;gap:12px;margin-top:20px}.bars i{width:12%;background:#d5ed9d;border-radius:5px 5px 0 0}.bars i:nth-child(1){height:25%;opacity:.3}.bars i:nth-child(2){height:45%;opacity:.4}.bars i:nth-child(3){height:38%;opacity:.5}.bars i:nth-child(4){height:65%;opacity:.6}.bars i:nth-child(5){height:58%;opacity:.7}.bars i:nth-child(6){height:80%;opacity:.8}.bars i:nth-child(7){height:100%}.auth-panel{display:grid;place-items:center;background:#fff;padding:50px 30px}.auth-box{width:100%;max-width:380px}.auth-box h2{font-size:30px;margin-bottom:10px}.auth-box>p{margin-bottom:30px}.auth-box .text-button{margin:auto}.privacy-note{font-size:13px;color:var(--muted);line-height:1.6;border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.error{font-size:14px;color:var(--red);min-height:5px}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:32px 22px;display:flex;flex-direction:column}.sidebar .brand{margin-bottom:55px;color:var(--green)}.nav-label{font-size:11px;letter-spacing:1.7px;color:var(--muted);margin:0 12px 17px;font-weight:600}nav{display:grid;gap:8px}nav button{border:0;background:none;padding:14px 14px;display:flex;gap:14px;align-items:center;border-radius:9px;text-align:left;color:var(--muted);font-size:14px;font-weight:550}nav button span{font-size:22px;line-height:1}nav button.active{background:#edf5ef;color:var(--green)}.sidebar-bottom{margin-top:auto;padding-top:30px}.little-card{padding:20px;background:#f3f6ee;border:1px solid #e5eadc;border-radius:12px}.little-card>span{font-size:10px;font-weight:700;letter-spacing:1px;color:#5e765a}.little-card p{color:#476047;font-size:15px;margin:12px 0}.little-line{height:4px;width:50px;background:#a8c67c;border-radius:6px}.profile{display:flex;gap:10px;align-items:center;margin-top:25px}.avatar,.mini-avatar{display:grid;place-items:center;flex-shrink:0;background:#e9f0e8;color:#4d715e;border-radius:50%;width:36px;height:36px;font-size:13px;font-weight:600}.profile strong{font-size:14px;display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis}.profile small{display:block;color:var(--muted);font-size:12px;margin-top:3px}#logout{margin-left:46px;font-size:13px}main{margin-left:242px}header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:white;border-bottom:1px solid var(--line);font-size:13px}.breadcrumb{color:var(--muted)}.breadcrumb span{margin:0 12px;color:#abb9b2}.breadcrumb strong{color:var(--ink);font-weight:500}.header-right{display:flex;align-items:center;gap:20px}.live-label{color:var(--muted);font-size:12px}.main-content{padding:38px;max-width:1560px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading .eyebrow{font-size:10px;margin-bottom:10px}.page-heading p{font-size:14px;margin-bottom:0}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:30px 0 24px}.month-nav{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:9px;padding:2px}.month-nav button{border:0;background:none;font-size:22px;color:var(--muted);padding:7px 12px}.month-nav input{border:0;background:transparent;width:178px;min-height:36px;padding:6px 4px;font-size:14px;font-weight:600}.toolbar-right{display:flex;align-items:center;gap:20px}.toolbar-right>span{font-size:12px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;min-width:0}.stat.focus{background:var(--green);border-color:var(--green);color:#fff;position:relative;overflow:hidden}.stat.focus:after{content:"";position:absolute;right:-32px;top:65px;width:110px;height:110px;border:24px solid #ffffff08;border-radius:50%;pointer-events:none}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:20px;font-size:13px;color:var(--muted)}.focus .stat-top{color:#d0e4dc}.stat-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eef5ee;color:#3e7757;font-size:17px}.focus .stat-icon{background:#ffffff15;color:#d5ed9d}.stat.expense .stat-icon{background:#fcf1ec;color:#bd7861}.stat.credit .stat-icon{background:#f0edf8;color:#8070ae}.stat strong{display:block;font-size:clamp(20px,2vw,29px);font-weight:600;letter-spacing:-.8px;white-space:nowrap}.stat small{display:block;margin-top:11px;font-size:12px;color:var(--muted);line-height:1.4}.focus small{color:#c2d9cf}.grid-two{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-bottom:22px}.panel{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-body{padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;border-bottom:1px solid var(--line)}.panel-head h3{font-size:16px;margin:0}.panel-head p{font-size:12px;margin:6px 0 0}.panel-head .text-button{font-size:12px;padding:0}.tag{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:5px 8px}.chart{display:flex;align-items:end;gap:10px;height:195px;margin-top:10px;border-bottom:1px solid var(--line);padding:0 8px 25px}.chart-column{height:100%;flex:1;position:relative;display:flex;align-items:end;justify-content:center;gap:5px}.chart-bar{width:22%;min-width:8px;border-radius:4px 4px 0 0;background:#21775e}.chart-bar.out{background:#cfd9c4}.chart-column span{position:absolute;bottom:-22px;font-size:11px;color:var(--muted)}.legend{display:flex;gap:18px;font-size:12px;color:var(--muted);margin-top:22px}.legend i{display:inline-block;width:9px;height:9px;background:#21775e;border-radius:3px;margin-right:7px}.legend .out{background:#cfd9c4}.category-row{margin:18px 0}.category-row:first-child{margin-top:0}.category-top{display:flex;justify-content:space-between;font-size:13px;gap:8px;margin-bottom:9px}.category-top strong{font-size:13px;font-weight:500}.track{height:7px;border-radius:5px;background:#eef2ed;overflow:hidden}.track>div{height:100%;border-radius:5px;background:#5e9275}.notice{padding:18px 22px;background:#edf3e7;border:1px solid #dfe8d6;border-radius:12px;display:flex;gap:14px;align-items:center;margin-bottom:24px}.notice-icon{font-size:26px;color:#698653}.notice strong{font-size:14px}.notice p{font-size:13px;margin:4px 0 0}.empty{text-align:center;padding:40px 24px;color:var(--muted)}.empty .empty-icon{font-size:32px;margin-bottom:12px;color:#83a99a}.empty h3{color:var(--ink);font-size:17px}.empty p{font-size:14px;max-width:360px;margin:0 auto 18px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;letter-spacing:.6px;color:var(--muted);font-weight:500;background:#fafcfb;padding:14px 22px}td{padding:17px 22px;border-top:1px solid #edf0ed;font-size:13px}td strong{font-weight:550}.desc-cell{display:flex;align-items:center;gap:12px}.entry-icon{width:34px;height:34px;background:#eff4ee;color:#497862;display:grid;place-items:center;border-radius:9px;font-size:18px}.entry-icon.expense{background:#fcf0ea;color:#b8785e}.entry-icon.card_payment{background:#f0edf8;color:#8070ae}.description{max-width:240px;overflow:hidden;text-overflow:ellipsis}.desc-cell small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.positive{color:#27785c}.negative{color:#b36653}.badge{display:inline-block;border-radius:5px;background:#edf5ef;color:#4c805c;padding:4px 7px;font-size:11px}.badge.pending{background:#fbf3e2;color:#98762d}.row-actions{display:flex;gap:8px}.row-actions button{font-size:12px;padding:5px 6px;border:0;background:transparent;color:var(--muted)}.filters{display:flex;gap:12px;flex-wrap:wrap;padding:18px 24px;border-bottom:1px solid var(--line)}.filters input{flex:2;min-width:150px}.filters select{flex:1;min-width:130px}.filters>*{font-size:14px;min-height:40px;padding-top:9px;padding-bottom:9px}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.credit-card{padding:24px;border-radius:16px;background:#514471;color:white;position:relative;overflow:hidden;min-height:195px}.credit-card.blue{background:#315b7e}.credit-card.green{background:#225e50}.credit-card:after{content:"";position:absolute;width:150px;height:150px;border:28px solid #ffffff08;border-radius:50%;right:-65px;top:-45px;pointer-events:none}.credit-card .card-top{display:flex;justify-content:space-between;font-size:14px;margin-bottom:26px}.credit-card small{display:block;color:#ffffffb0;font-size:12px;margin-bottom:6px}.credit-card strong{font-size:29px;font-weight:550;letter-spacing:-1px}.card-foot{font-size:12px;color:#ffffffc0;margin-top:22px;display:flex;justify-content:space-between}.card-details{padding:20px}.card-details p{font-size:13px;margin-bottom:15px}.card-details .secondary{font-size:12px}.account-value{font-size:30px;letter-spacing:-1px;display:block;margin:20px 0}.account-icon{width:42px;height:42px;background:#edf4ee;border-radius:12px;display:grid;place-items:center;font-size:24px;color:#418165}.section-action{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-action p{font-size:14px;margin:0;max-width:620px}.hint{font-size:12px;color:var(--muted);line-height:1.6;margin:-4px 0 20px}.modal-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.modal-heading h2{margin-bottom:0}.modal-heading .eyebrow{font-size:10px;margin-bottom:7px}.icon-button{background:none;border:0;font-size:28px;color:var(--muted);line-height:1;padding:0 6px}dialog{border:0;border-radius:18px;padding:28px;width:520px;max-width:calc(100vw - 28px);max-height:90vh;color:var(--ink);box-shadow:0 24px 100px #143a3533}dialog::backdrop{background:#102c2570;backdrop-filter:blur(3px)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.modal-actions{border-top:1px solid var(--line);padding-top:20px;display:flex;justify-content:end;gap:10px;margin-top:10px}.recovery-code{overflow-wrap:anywhere;display:block;background:#eff5ef;padding:18px;font-family:monospace;font-size:17px;border-radius:10px;margin:20px 0;user-select:all}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203e34;color:white;padding:15px 24px;border-radius:10px;box-shadow:0 5px 25px #0002;z-index:10;max-width:90vw;font-size:14px}footer{display:flex;justify-content:space-between;margin-top:35px;color:#78887f;font-size:12px}footer span{color:#94a198}.danger{color:var(--red)!important}.summary-line{display:flex;justify-content:space-between;font-size:14px;border-bottom:1px solid var(--line);padding:14px 0}.summary-line:last-child{border:0}.overview-bottom{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.due-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.due-item:last-child{border:0}.due-item strong{font-size:13px}.due-item small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.due-item button{font-size:12px;padding:6px 8px;min-height:30px}.good{background:#f2f7ee;border:1px solid #e2ebda;border-radius:10px;padding:18px;margin-top:20px}.good p{font-size:13px;margin:0}
@media(min-width:1500px){.main-content{padding:44px 48px}}@media(max-width:1150px){.sidebar{width:205px;padding:28px 16px}main{margin-left:205px}.main-content{padding:28px 22px}header{padding:0 22px}.stats{gap:12px}.stat{padding:16px}.stat strong{font-size:22px}.grid-two,.overview-bottom{grid-template-columns:1fr 1fr}.cards-grid{grid-template-columns:repeat(2,1fr)}h1{font-size:29px}.toolbar-right>span{display:none}}@media(max-width:800px){.sidebar{position:static;width:auto;height:auto;padding:16px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0;font-size:25px}.sidebar .brand>span{font-size:23px}.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:18px;justify-content:space-between;gap:3px}nav button{padding:10px;font-size:12px;gap:7px}nav button span{font-size:18px}main{margin:0}header{height:58px}.live-label{display:none}.main-content{padding:26px 20px}.page-heading{align-items:start}.page-heading h1{font-size:26px}.page-heading p{font-size:13px}.page-heading .primary{padding:10px;font-size:12px;white-space:nowrap}.stats{grid-template-columns:1fr 1fr}.stat{padding:20px}.stat strong{font-size:26px}.stat-top{margin-bottom:15px}.grid-two,.overview-bottom{grid-template-columns:1fr}.chart{height:180px}.toolbar{margin-top:24px}.cards-grid{grid-template-columns:1fr 1fr}.section-action{gap:12px;align-items:start}footer span{display:none}#auth{grid-template-columns:1fr}.auth-story{padding:28px 25px;gap:25px}.auth-story>div{display:none}.auth-story small{display:none}.auth-panel{padding:40px 25px;min-height:calc(100vh - 90px)}.auth-box h2{font-size:28px}.header-right .mini-avatar{cursor:pointer}}
@media(max-width:480px){.main-content{padding:24px 16px}.sidebar{padding:16px}.page-heading{display:block}.page-heading .primary{margin-top:17px;font-size:14px;width:100%}.toolbar{gap:6px}.toolbar .secondary{padding:10px;font-size:12px}.month-nav input{width:150px;font-size:13px}.month-nav button{padding:6px 8px}.stat{padding:16px}.stat strong{font-size:23px}.stat-top{font-size:12px}.stat small{font-size:11px}.stat-icon{width:26px;height:26px}.stats{gap:10px}.cards-grid{grid-template-columns:1fr}.panel-head,.panel-body{padding:20px}.form-grid{gap:0 12px}.section-action{display:block}.section-action button{margin-top:15px}dialog{padding:22px}nav button{font-size:11px;padding:10px 6px}.notice{padding:15px}.breadcrumb{font-size:12px}.summary-line{font-size:13px}}

.confirm-checkbox{width:auto;min-height:auto}.account-title{margin-top:20px}.credit-card .card-name{font-size:16px;letter-spacing:0}

@media(max-width:480px){.overview-bottom th:nth-child(2),.overview-bottom td:nth-child(2),.overview-bottom th:nth-child(4),.overview-bottom td:nth-child(4){display:none}.overview-bottom td,.overview-bottom th{padding:16px 12px}.overview-bottom .description{max-width:142px}.overview-bottom .desc-cell{gap:8px}.overview-bottom .entry-icon{width:27px;height:30px;flex-shrink:0}.overview-bottom td:nth-child(3){text-align:right}.overview-bottom td{font-size:12px}}
