*{box-sizing:border-box}body{margin:0;background:#f5f7f4;color:#20362e;font-family:-apple-system,BlinkMacSystemFont,Noto Sans JP,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{max-width:650px;min-height:100vh;margin:auto;background:#f8faf7;padding-bottom:100px}header{height:82px;display:flex;align-items:center;justify-content:space-between;padding:15px 20px;background:#fff;border-bottom:1px solid #e8eee9}.brand{display:flex;align-items:center;gap:11px}.brandIcon{display:grid;place-items:center;background:#e6f4ed;color:#16745b;width:44px;height:44px;border-radius:13px}.brand strong{display:block;font-size:17px}.brand small{display:block;color:#7c8d84;font-size:11px;margin-top:3px}.iconbtn{border:0;background:transparent;color:#526d60;padding:10px;position:relative}.iconbtn i{position:absolute;top:6px;right:6px;width:7px;height:7px;background:#d85e51;border-radius:50%}main{padding:20px}.hero{background:linear-gradient(120deg,#15775b,#3ba27d);border-radius:20px;padding:23px 21px;display:flex;justify-content:space-between;color:#fff}.hero p{font-size:13px;margin:0 0 8px;opacity:.85}.hero h1{font-size:21px;margin:0 0 10px}.hero span{font-size:12px;opacity:.88}.heroEmoji{font-size:58px!important;align-self:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 22px}.stats button{border:1px solid #e7eee9;border-radius:15px;background:#fff;padding:16px 4px}.stats b{display:block;font-size:25px;color:#16745b}.stats span{font-size:11px;color:#6f8077}.stats .red{color:#df6d61}.stats .orange{color:#d49443}.notice{display:flex;align-items:center;gap:9px;padding:12px;background:#fff1e8;color:#ae6343;border-radius:12px;font-size:12px;margin-bottom:19px}.notice span{flex:1}.notice button{border:0;background:transparent;color:#ae6343;font-weight:700}.sectionTitle{display:flex;align-items:center;justify-content:space-between;margin:24px 0 14px}.sectionTitle h2{font-size:19px;margin:0}.sectionTitle span{font-size:12px;color:#85958b}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3eae5;border-radius:12px;padding:12px;color:#84948a}.search input{border:0;outline:0;flex:1;min-width:0}.chips{display:flex;overflow-x:auto;gap:8px;padding:14px 0 18px;scrollbar-width:none}.chips button{flex:none;background:#fff;border:1px solid #e1e8e3;border-radius:30px;padding:9px 13px;font-size:12px;color:#67786d}.chips button.active{background:#16745b;color:#fff;border-color:#16745b}.itemList{display:grid;gap:10px}.food{background:#fff;border:1px solid #e8eee9;border-radius:15px;display:flex;align-items:center;gap:12px;padding:13px}.foodEmoji{width:52px;height:52px;background:#f2f6ef;border-radius:13px;display:grid;place-items:center;font-size:28px;flex-shrink:0}.foodInfo{flex:1;min-width:0}.foodTop{display:flex;align-items:center;justify-content:space-between;gap:4px}.foodTop strong{font-size:14px}.foodInfo>small{font-size:11px;color:#88958b;display:block;margin:5px 0 8px}.date{font-size:10px;color:#628875;white-space:nowrap}.date.danger{color:#d6534a}.date.caution{color:#d18b34}.meter{display:flex;align-items:center;gap:9px}.meter>div{height:6px;background:#eaf0eb;border-radius:6px;flex:1;overflow:hidden}.meter>div span{height:100%;display:block;border-radius:6px}.meter small{font-size:10px;color:#7a8d7f;white-space:nowrap}.editBtn{border:0;background:transparent;color:#84968a;padding:8px}.empty{text-align:center;padding:48px 20px;color:#9aac9f;background:#fff;border-radius:15px}.empty h3{color:#526c5b}.empty p{font-size:12px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.primary,.secondary{border:0;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 12px;font-size:13px;font-weight:700}.primary{background:#16745b;color:#fff}.secondary{background:#fff;color:#16745b;border:1px solid #b8d7c6}.settings{background:#fff;border-radius:15px;padding:18px;margin:14px 0;display:grid;gap:12px}.settings h3{margin:0;font-size:16px}.settings p,.settings small{font-size:12px;color:#7c8d84;line-height:1.7;margin:0}.fileLabel{cursor:pointer}nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);max-width:650px;width:100%;display:flex;background:#fff;border-top:1px solid #e2eae4;padding:10px 0 max(12px,env(safe-area-inset-bottom));z-index:10}nav button{flex:1;border:0;background:none;display:grid;place-items:center;gap:5px;color:#9aaba0;font-size:11px}nav button.selected{color:#16745b;font-weight:700}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#15291e9e;z-index:30;display:flex;align-items:flex-end;justify-content:center}.modal{background:#fff;border-radius:22px 22px 0 0;width:100%;max-width:650px;max-height:94dvh;overflow:auto;padding:18px 20px 30px}.modalhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modalhead h2{font-size:19px;margin:0}.modal form{display:grid;gap:15px}.modal label:not(.uploadArea){font-size:12px;font-weight:650;display:grid;gap:7px}.modal input:not([type=range]),.modal select,.modal textarea{border:1px solid #dce6de;border-radius:9px;padding:12px;min-width:0;width:100%;background:#fff}.modal input[type=range]{accent-color:#16745b;width:100%}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modalActions{display:flex;gap:10px;justify-content:flex-end;margin-top:5px}.delete{border:0;background:#fff0ed;color:#c45245;border-radius:12px;padding:12px;display:flex;gap:6px;align-items:center;margin-right:auto}.toast{position:fixed;bottom:92px;left:50%;transform:translate(-50%);background:#263c31;color:#fff;padding:14px;border-radius:10px;z-index:100;display:flex;gap:10px;width:max-content;max-width:90vw;font-size:12px}.muted{font-size:12px;color:#82948a;line-height:1.7}.uploadArea{display:grid;place-items:center;gap:9px;border:2px dashed #a7d2bc;background:#f2f9f5;color:#16745b;border-radius:14px;padding:26px;cursor:pointer}.uploadArea small{font-size:11px;color:#84978a}.preview{max-width:100%;max-height:220px;object-fit:contain;display:block;margin:15px auto;border-radius:10px}.candidates{display:flex;flex-wrap:wrap;gap:8px}.candidates button{border:1px solid #c3ddcf;background:#f2faf5;border-radius:12px;padding:10px;color:#176f56}.candidates small{display:block;font-size:10px}.full{width:100%;margin-top:15px}@media(min-width:700px){.app{box-shadow:0 0 30px #193e2312;min-height:100vh}.overlay{align-items:center}.modal{border-radius:20px;max-height:85vh}}
