:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18352d;background:#f6f8f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:#12674d}.app{max-width:650px;margin:auto;min-height:100dvh;padding-bottom:90px}.header{background:#17372e;color:white;padding:24px 18px 22px;border-radius:0 0 24px 24px}.brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:800}.muted-light{color:#c9d9d1;font-size:12px}.header-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.smallbtn{border:1px solid #cddad2;background:white;border-radius:12px;padding:9px 12px;color:#17372e;font-weight:650}.header .smallbtn{background:#34584a;border:0;color:white}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:#2b4d41;border-radius:14px;padding:14px}.stat small{display:block;color:#cbded4;margin-bottom:7px}.stat strong{font-size:23px}.progress{margin-top:14px;font-size:12px;color:#d5e2dc}.track{height:7px;background:#537265;border-radius:10px;overflow:hidden;margin-top:8px}.fill{height:100%;background:#eacb92}.main{padding:18px 14px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}.tab{border:2px solid transparent;border-radius:14px;background:white;padding:14px 5px;display:flex;align-items:center;flex-direction:column;gap:7px;font-weight:750;color:#263a32}.tab.active{border-color:#183f33;background:#edf5ef}.gift-icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}.child-summary,.panel,.present,.activity-item{background:white;border:1px solid #e2e9e3;border-radius:17px;padding:15px;margin-bottom:12px}.child-summary{display:flex;justify-content:space-between;gap:10px}.child-summary small{display:block;color:#718178}.child-summary strong{font-size:20px}.heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px}h1,h2,h3,p{margin-top:0}h2{font-size:19px;margin-bottom:0}h3{font-size:16px}.primary{border:0;background:#173f33;color:white;border-radius:12px;padding:11px 15px;font-weight:750}.outline{border:1px solid #cddad2;background:white;border-radius:12px;padding:10px 13px;color:#204335;font-weight:650}.present{display:grid;grid-template-columns:92px 1fr;gap:12px}.photo{width:92px;height:92px;object-fit:contain;background:#f1f5f1;border-radius:12px}.placeholder{display:grid;place-items:center;font-size:38px}.present-title{font-weight:750;margin-bottom:4px;overflow-wrap:anywhere}.sub{font-size:12px;color:#758278}.amount{font-size:21px;font-weight:800;margin:5px 0}.row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.between{justify-content:space-between}.actions{grid-column:1/-1;border-top:1px solid #e7eee9;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:6px}.actions label{display:flex;gap:7px;align-items:center;font-size:13px;font-weight:650}.bottom{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid #e0e8e2;display:flex;justify-content:space-around;padding:10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom));z-index:3}.bottom button{background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:12px;color:#51675c}.bottom button.active{color:#17664b;font-weight:800}.login{min-height:100dvh;display:grid;place-items:center;padding:18px}.login-card{background:white;border-radius:24px;padding:26px 20px;width:100%;max-width:390px;box-shadow:0 12px 35px #17372e16}.login-card h1{text-align:center}.login-card p{text-align:center;color:#68796d}.profiles{display:flex;gap:10px}.profiles button{flex:1;border:2px solid #d7e2d9;background:white;border-radius:13px;padding:15px}.profiles button.selected{border-color:#17684c;background:#eff7f1}.field{display:block;margin:14px 0 6px;font-size:13px;font-weight:750}.input{width:100%;border:1px solid #ccd9ce;border-radius:12px;padding:13px;background:white;color:#18352d;font-size:16px}.wide{width:100%;margin-top:15px}.note{font-size:12px;color:#718178}.error{color:#ad2633;background:#fff0f0;padding:12px;border-radius:10px;margin:10px 0}.success{color:#18744d}.detail-img{width:100%;max-height:210px;object-fit:contain;background:#f5f7f5;border-radius:12px}.chart{width:100%;height:185px}.chart text{font-size:10px;fill:#728078}.empty{text-align:center;color:#7b8980;padding:26px 12px}.activity-item{font-size:14px}.activity-item small{display:block;color:#829087;margin-top:5px}.line{height:1px;background:#e5ede7;margin:14px 0}.loading{text-align:center;padding:80px 15px;color:#6a7e71}.link{overflow-wrap:anywhere}.badge{display:inline-block;background:#edf5ed;border-radius:9px;padding:4px 7px;font-size:11px;color:#43614d}.btn-danger{color:#ae3540;border-color:#e5b9bc}.overlay{position:fixed;inset:0;background:#13271fb8;display:grid;place-items:end center;z-index:5}.sheet{width:100%;max-width:650px;background:#fff;border-radius:24px 24px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));max-height:94dvh;overflow:auto}.sheet h2{margin-bottom:14px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(min-width:700px){.bottom{max-width:650px;margin:auto;border-left:1px solid #e0e8e2;border-right:1px solid #e0e8e2}.header{margin-top:16px;border-radius:24px}}
