:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#302a27;background:#f7f2ec;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.shell{max-width:480px;min-height:100dvh;margin:auto;padding:28px 18px 110px}header,.between,.herofoot,.cat,.right{display:flex;align-items:center;justify-content:space-between}header{margin:8px 0 26px}small{display:block;color:#91827a;font-size:12px}h1{font-size:29px;letter-spacing:-1px;margin:5px 0 0}h2{letter-spacing:-.6px}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e8d6c9;color:#8a5743;font-weight:800}.hero{background:linear-gradient(140deg,#705044,#3f3330 72%);border-radius:27px;padding:25px 23px;color:#fff7f0;min-height:186px;box-shadow:0 15px 35px #70504425}.hero small{color:#dfc8bd}.hero h2{font-size:37px;margin:16px 0 25px;font-weight:650;letter-spacing:-1.4px}.herofoot{font-size:13px;color:#e6d5cc}.pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.pair article{background:#fff;border-radius:21px;padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}.pair b{font-size:20px;letter-spacing:-.5px}.panel{background:#fff;border-radius:24px;padding:20px;margin:12px 0}.panel strong{font-size:15px}.between span,.hint{color:#988980;font-size:12px}.cat{gap:12px;border-bottom:1px solid #f2ede8;padding:17px 0}.cat:last-child{border-bottom:0;padding-bottom:0}.cat b{font-size:14px}.cat small{margin-top:5px}.right{gap:8px}.trash,.close{background:transparent;border:0;color:#a79a92;padding:5px}.empty{font-size:14px;line-height:1.5;color:#9a8b82;padding:15px 0 2px}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(480px,100%);display:flex;justify-content:space-around;align-items:center;background:#fffefaeb;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid #f0e9e3;padding:12px 5px max(14px,env(safe-area-inset-bottom));z-index:5}nav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:5px;color:#a79990;font-size:10px;min-width:52px}nav button.active{color:#704b3e}nav button.add{background:#a7674f;color:#fff;border-radius:50%;height:48px;width:48px;min-width:48px;justify-content:center;box-shadow:0 5px 15px #a7674f55}nav button.add span{display:none}.stat{margin-top:20px}.stat .between{font-size:13px;margin-bottom:8px}.track{height:9px;background:#f2e9e3;border-radius:20px;overflow:hidden}.track div{height:100%;background:#c27e65;border-radius:20px}.goalname{font-size:25px!important;font-weight:700;margin:10px 0 20px}.panel input,.sheet input,.sheet select{width:100%;border:1px solid #e8ded7;border-radius:14px;padding:14px;background:#fcfaf8;color:#302a27;outline:none}.fieldlabel,.sheet label{font-size:12px;color:#85776e;display:block;margin:15px 0 7px}.space{margin:25px 0 10px}.familyicon{background:#f2e5dc;color:#9e6a54;border-radius:18px;width:66px;height:66px;display:grid;place-items:center}.panel p{line-height:1.6}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#221b1899;z-index:10;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fffaf6;border-radius:28px 28px 0 0;padding:23px 20px max(28px,env(safe-area-inset-bottom));width:min(480px,100%)}.sheet h2{margin:0}.toggle{display:flex;background:#f0e7df;border-radius:15px;padding:4px;margin:20px 0}.toggle button{flex:1;border:0;background:transparent;padding:11px;border-radius:12px;color:#725f56}.toggle button.selected{background:#8f5b48;color:#fff}.submit{width:100%;margin-top:24px;background:#8f5b48;color:#fff;border:0;border-radius:16px;padding:16px;font-weight:600}.green{color:#648b6e}@media(min-width:600px){body{background:#eae2da}.shell{background:#f7f2ec;box-shadow:0 0 45px #40302b15}}@media(prefers-reduced-motion:no-preference){button{transition:transform .15s}button:active{transform:scale(.97)}}.bar-chart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;align-items:end;margin-top:22px;min-height:170px}.bar-col{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px}.bar-col b{font-size:9px;font-weight:500;color:#826d61;white-space:nowrap;letter-spacing:-.3px}.bar-col small{font-size:9px;white-space:nowrap}.bar-rail{height:110px;width:100%;display:flex;align-items:flex-end;background:#f6f0eb;border-radius:10px;overflow:hidden}.bar-rail div{width:100%;background:linear-gradient(180deg,#d8a185,#9d6550);border-radius:10px 10px 0 0;min-height:0}.mini-button{border:0;border-radius:10px;background:#f2e6dd;color:#865741;padding:8px 10px;font-size:12px;margin-top:7px}.cat .right{flex-shrink:0}@media(max-width:360px){nav button{min-width:44px;font-size:9px}.bar-chart{gap:3px}.bar-col b{font-size:8px}}.bar-chart{overflow-x:auto;overflow-y:hidden;padding-bottom:8px;scrollbar-width:thin}
