:root{font:16px/1.55 "DM Sans",Tahoma,system-ui,sans-serif;color:#193d38;background:#f3f6f3;font-variant-numeric:tabular-nums}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{max-width:850px;margin:auto;padding:0 22px 52px}header,.period,.sectionhead,footer,.line{display:flex;align-items:center;justify-content:space-between;gap:12px}header{min-height:80px;border-bottom:1px solid #d8e0db}header b{display:flex;align-items:center;gap:10px}header img{width:36px;border-radius:11px}button,input{font:inherit;color:inherit;border:1px solid #b8cbc1;border-radius:10px;background:white;padding:8px 12px}button,.line{cursor:pointer}button:disabled,input:disabled{cursor:wait}h1{font-size:clamp(22px,4vw,34px);margin:12px 0}h2{font-size:19px;margin:0}.period{margin:20px 0}.cards{display:grid;grid-template-columns:1.3fr 1fr;gap:14px}article,.panel,form{border-radius:20px}article{padding:22px;display:grid;gap:4px}.balance{background:#075c54;color:white}.saved{background:#daebd6}.cards strong{font-size:clamp(30px,6vw,55px);line-height:1.3;letter-spacing:-.04em}#income,.saved small{opacity:.85}.panel,form{background:white;border:1px solid #d8e0db;padding:20px 24px;margin:18px 0}.sectionhead{padding:0 0 12px}.sectionhead span,#rule,small{font-size:14px}.line{padding:13px 0;border-top:1px solid #e5eae5;min-height:52px}.line input{width:22px;height:22px;accent-color:#076957;flex:none}.line span{flex:1}.line:has(:checked) span{color:#557269}.line:has(:checked){background:#f4faf5}footer{background:#ebf2ec;margin:10px -10px -6px;padding:12px;border-radius:12px}#notice:not(:empty){background:#fff2cf;padding:12px;border-radius:8px}#notice:empty{display:none}form{max-width:430px;margin:60px auto;display:grid;gap:12px;padding:28px}.primary{background:#075c54;color:white}#rule{color:#52675e}@media(max-width:550px){main{padding:0 14px 30px}header{min-height:64px}.period{gap:5px;flex-wrap:wrap;margin:12px 0}.period input{max-width:157px}.cards{gap:8px;grid-template-columns:1fr 1fr}article{padding:14px 12px}.cards strong{font-size:30px}.cards small{font-size:12px}.panel{padding:16px}.line{gap:8px}}
