:root{font-family:'Prompt',sans-serif;color:#18352e;background:#f5f8f7;--green:#20b486;--red:#e95757;--card:#fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.muted{color:#80908b;font-size:13px}.auth-screen{min-height:100dvh;display:grid;place-items:center;padding:24px;background:linear-gradient(160deg,#f8fffc,#eef8f4)}.auth-screen>div{width:min(430px,100%)}.logo{width:72px!important;height:72px;border-radius:22px;background:linear-gradient(135deg,#1db67f,#43caa0);color:white;display:grid;place-items:center;font-size:38px;font-weight:600;margin:0 auto 18px;box-shadow:0 16px 40px #20b48630}.auth-screen h1{text-align:center;margin:0}.auth-screen>p{text-align:center}.auth-card{margin-top:24px;background:#fff;border:1px solid #e4ebe8;border-radius:24px;padding:22px;box-shadow:0 18px 50px #193c3210}.tabs{display:flex;background:#f1f5f3;padding:4px;border-radius:13px;margin-bottom:20px}.tab{flex:1;padding:11px;background:transparent;border-radius:10px;color:#73817d}.tab.active{background:white;color:#153d32;box-shadow:0 2px 10px #0000000b;font-weight:600}label{display:block;font-size:13px;font-weight:500;margin:14px 0}input,select{width:100%;margin-top:7px;padding:13px 14px;border:1px solid #dce5e1;border-radius:13px;outline:none;background:#fff}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #20b48615}.primary{width:100%;padding:14px;border-radius:13px;background:var(--green);color:#fff;font-weight:600;margin-top:8px}.message{font-size:13px;margin-top:12px;min-height:18px}
.message.error{color:var(--red)}
.message.success{color:var(--green)}

.topbar{padding:22px 20px 12px;display:flex;justify-content:space-between;align-items:center;background:#fff}.topbar h2{margin:2px 0;font-size:22px}.eyebrow{font-size:11px;color:var(--green);font-weight:600;letter-spacing:.08em}.icon-btn{width:40px;height:40px;border-radius:12px;background:#f3f7f5;color:#47645b;font-size:20px}.content{max-width:700px;margin:auto;padding:14px 18px 100px}.balance-card{background:linear-gradient(135deg,#20b486,#3bc39a);color:white;border-radius:24px;padding:22px;box-shadow:0 18px 35px #20b48630}.balance-card .light{color:#dcfff3}.balance{font-size:34px;font-weight:600;margin:4px 0 20px}.mini-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mini-row>div{background:#ffffff20;border-radius:15px;padding:10px}.mini-row span,.mini-row b{display:block}.mini-row span{font-size:11px;color:#e2fff6}.mini-row b{font-size:16px;margin-top:3px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}.section-head h3{margin:0;font-size:17px}.link{background:transparent;color:var(--green);font-size:13px}.list{display:grid;gap:9px}.tx{background:white;border:1px solid #e7eeeb;border-radius:17px;padding:13px;display:flex;align-items:center;gap:12px}.tx-icon{width:42px;height:42px;border-radius:14px;background:#eef8f4;display:grid;place-items:center;font-size:20px}.tx-info{flex:1}.tx-info b{display:block;font-size:14px}.tx-info span{font-size:11px;color:#8b9894}.tx-amount{font-weight:600}.income{color:var(--green)}.expense{color:var(--red)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:74px;background:#fff;border-top:1px solid #e6eeea;display:flex;justify-content:space-around;align-items:center;padding-bottom:env(safe-area-inset-bottom);z-index:5}.nav{background:none;color:#71817b;font-size:20px;display:flex;flex-direction:column;align-items:center;gap:3px}.nav small{font-size:10px}.nav.active{color:var(--green)}.add{width:54px;height:54px;border-radius:50%;background:var(--green);color:#fff;font-size:30px;box-shadow:0 8px 22px #20b48645;margin-top:-25px}.modal{position:fixed;inset:0;background:#15352d55;z-index:10;display:flex;align-items:end}.sheet{width:100%;max-height:92dvh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:20px 20px 28px}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h3{margin:0}.type-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f2f6f4;padding:5px;border-radius:14px;margin:18px 0}.type-toggle button{padding:11px;border-radius:10px;background:transparent}.type-toggle button.selected{background:#fff;box-shadow:0 2px 8px #0000000a;font-weight:600}@media(min-width:700px){.sheet{width:520px;margin:auto;border-radius:28px;margin-bottom:30px}.modal{align-items:center}.topbar{padding-left:max(20px,calc((100vw - 700px)/2 + 20px));padding-right:max(20px,calc((100vw - 700px)/2 + 20px))}}