:root{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:#203a34;background:#f3f5f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:560px;margin:auto;padding:32px 20px max(32px,env(safe-area-inset-bottom))}header{position:relative;margin:8px 0 26px}.brand{font-size:11px;letter-spacing:2px;font-weight:700;color:#527168}.badge{float:right;background:#e2e9de;padding:5px 9px;border-radius:20px;font-size:11px}h1{font-size:32px;letter-spacing:-1px;margin:17px 0 8px}h1 span{font-size:23px;letter-spacing:0}header p,.hint{color:#718078;font-size:13px}h2{font-size:18px;margin:0}.summary{background:#173e36;color:white;border-radius:22px;padding:25px;margin-bottom:24px;box-shadow:0 10px 24px #173e3614}.summary small{color:#c0d2c5}.summary p{margin:10px 0 24px}.summary strong{font-size:45px;font-weight:600;letter-spacing:-1px}.summary p span{font-size:14px;color:#c0d2c5}.summary-bottom{border-top:1px solid #ffffff26;padding-top:17px;display:flex;justify-content:space-between;font-size:13px;color:#c0d2c5}.summary-bottom b{color:#fff;font-weight:500}.card{background:white;border:1px solid #e1e7dd;border-radius:22px;padding:24px}.hint{margin:8px 0 24px}label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}label span{font-size:11px;font-weight:400;color:#758278}input{font:inherit;font-size:17px;min-width:0;width:100%;height:53px;padding:12px;border:1px solid #d8e1d6;border-radius:10px;background:#fcfdfb;color:#203a34;margin-bottom:21px}input:focus{outline:2px solid #497b65;outline-offset:2px}input::placeholder{color:#9ba69e}.field-note{font-size:11px;color:#718078;margin:-12px 0 22px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.calculation{background:#f1f5ed;display:grid;grid-template-columns:1fr 1fr;padding:17px 13px;border-radius:12px;gap:10px;margin:0 0 20px}.calculation small{font-size:11px;color:#64766b}.calculation p{font-size:12px;margin:8px 0 0}.calculation b{font-size:25px;font-weight:600}button{font:inherit;cursor:pointer;min-height:44px}.primary{width:100%;border:0;border-radius:12px;background:#234f40;color:white;padding:16px;font-weight:600;font-size:15px}.primary:active{background:#14392e}#message{font-size:13px;line-height:1.6;margin:10px 0 0;color:#395e4c}#message.error{color:#a33131}.history{margin-top:30px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.text-button{border:0;background:transparent;color:#446650;font-size:12px;padding:8px}.record{padding:19px 16px;background:white;border:1px solid #e1e7dd;border-radius:14px;margin-bottom:10px}.record-top{display:flex;justify-content:space-between;align-items:center}.record time{font-size:14px;font-weight:600}.record strong{font-size:21px}.record small{font-size:11px;font-weight:400}.record-bottom{margin-top:12px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#738076;font-size:12px}.delete{background:none;border:0;color:#886a61;font-size:12px;padding:8px;min-width:44px}.empty{padding:30px 20px;text-align:center;border:1px dashed #ccd7c9;border-radius:14px;color:#748174;font-size:13px;line-height:1.9}.restore{font-size:12px;color:#56715f;text-align:center;padding:16px;cursor:pointer;font-weight:400}footer{text-align:center;font-size:11px;color:#7c877e;line-height:1.9;margin-top:22px}details{margin-top:16px;text-align:left}summary{cursor:pointer;text-align:center;min-height:44px}details p{margin:8px 0}button:focus-visible,.restore:focus-visible{outline:2px solid #497b65;outline-offset:3px}@media(max-width:360px){main{padding:24px 14px}.card{padding:20px 16px}.record-bottom{font-size:11px}}
