:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#203a2e;background:#f5f5ed;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:310px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}
.app-shell{max-width:860px;margin:auto;padding:18px 18px 120px}.app-header{display:flex;justify-content:space-between;align-items:center;padding:6px 0 12px}.identity{display:flex;gap:11px;align-items:center}.brand-mark{width:43px;height:43px;border-radius:15px;background:#255a41;color:#fff;display:grid;place-items:center;font-size:28px}.brand{font-size:27px;line-height:1;font-weight:850;letter-spacing:-1.2px}.brand span{color:#91bd86}.tiny{font-size:10px}.eyebrow{font-weight:800;letter-spacing:1.7px;color:#799487;margin-top:4px}.header-status{border:1px solid #dce5d8;background:#fff;border-radius:99px;padding:9px 13px;font-size:11px;font-weight:800;color:#34674a;max-width:46%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notice{background:#fff3d7;color:#795b22;padding:12px 14px;border-radius:14px;font-size:12px;line-height:1.5;margin:8px 0 16px;border:1px solid #eedfaf}.notice.ok{background:#e8f3e5;border-color:#d1e5d2;color:#396347}.notice.error{background:#fff0ec;border-color:#eec9bc;color:#874731}
h1{font-size:31px;letter-spacing:-.8px;line-height:1.12;margin:0 0 10px}h2{font-size:22px;letter-spacing:-.4px;margin:28px 0 13px}h3{font-size:16px;margin:0 0 7px}p{line-height:1.55}small,.muted{color:#77877d}.small{font-size:12px;line-height:1.5;color:#748176}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.kicker{font-size:11px;text-transform:uppercase;letter-spacing:1.7px;font-weight:800;color:#739781;margin-bottom:10px}
.hero{border-radius:27px;padding:27px 24px 24px;background:#28553f;color:#fff;margin:12px 0 24px;position:relative;overflow:hidden}.hero::after{content:"";position:absolute;right:-53px;top:-50px;width:190px;height:190px;border-radius:50%;background:#ffffff0c;box-shadow:0 0 0 35px #ffffff08,0 0 0 70px #ffffff05;pointer-events:none}.hero .kicker{color:#bedec7}.hero p{color:#dcece1;max-width:420px;margin:10px 0 16px}.hero .large{font-size:38px;line-height:1.15;font-weight:850;letter-spacing:-1px}.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0 0}.hero-metrics>div{background:#ffffff18;border-radius:15px;padding:11px;min-width:0}.hero-metrics strong{display:block;font-size:21px;white-space:nowrap}.hero-metrics span{color:#d4e5d8;font-size:11px}
.progress{background:#d6e1d7;border-radius:999px;height:10px;overflow:hidden;margin:12px 0 2px}.progress-fill{height:100%;border-radius:999px;background:#91c696;max-width:100%;transition:width .2s}
.card{background:#fff;border:1px solid #e8ede6;border-radius:22px;padding:17px;box-shadow:0 6px 25px #1c4d2a08;margin:11px 0}.card.soft{background:#eff3e9;border:0}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pill{display:inline-block;background:#e9f2e8;color:#3c704d;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}.muted-pill{background:#f1f3f0;color:#718478}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.stack{display:flex;flex-direction:column;gap:10px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.btn{padding:11px 15px;background:#2d6347;color:white;border:1px solid #2d6347;border-radius:13px;font-weight:760;font-size:13px}.btn.secondary{color:#2e5c42;background:#edf4ec;border-color:#dce8dc}.btn.ghost{color:#446c56;background:white;border-color:#d6e3d8}.btn.danger{background:#fff0ee;border-color:#efc9bf;color:#99493b}.btn.full{width:100%}.btn.sm{padding:8px 11px;font-size:12px}.btn:focus-visible,.bottom-nav button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #90b999;outline-offset:2px}
.recipe-row{display:flex;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0eb}.recipe-row:last-child{border-bottom:0}.recipe-photo{width:98px;height:92px;object-fit:cover;background:#ecf0eb;border-radius:17px;flex-shrink:0}.recipe-info{flex:1;min-width:0}.recipe-name{font-weight:800;font-size:15px;line-height:1.3}.recipe-meta{font-size:12px;color:#758477;margin-top:5px}.recipe-photo.large{width:100%;height:220px;border-radius:22px}.recipe-side{display:flex;gap:9px;align-items:center}.tile-image{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:14px}.recipe-tile{overflow:hidden}.recipe-tile .recipe-name{margin-top:8px}
.field{display:grid;gap:6px;margin:10px 0;font-size:12px;font-weight:800;color:#4b6b54}.input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d7e2d7;background:#fff;border-radius:12px;font-size:16px;color:#234433;min-height:45px}.input-small{width:83px;padding:8px 9px;min-height:40px}.search{margin:12px 0}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.day-selector{display:flex;overflow-x:auto;gap:8px;padding:3px 0 11px;scrollbar-width:thin}.day-selector button{border:1px solid #dde8df;background:#fff;color:#457054;border-radius:12px;padding:10px;flex:1;min-width:65px;font-size:12px}.day-selector button.active{background:#316248;color:#fff;border-color:#316248}.day-selector button strong{font-size:16px;display:block;margin-top:4px}
.line{border-bottom:1px solid #ebeee8;padding:12px 0}.line:last-child{border:0}.checkline{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eaf0e8}.checkline:last-child{border:0}.checkline input{width:20px;height:20px;accent-color:#2e6947}.checked-label{text-decoration:line-through;opacity:.55}.num{font-variant-numeric:tabular-nums}.badge-circle{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#edf5eb;font-size:17px;flex:0 0 auto}.callout{background:#edf3e9;padding:14px;border-radius:16px;color:#47644f;font-size:12px;line-height:1.5}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:0;background:#fffefb;border-top:1px solid #e2e9dd;padding:10px max(8px,env(safe-area-inset-left)) max(13px,env(safe-area-inset-bottom));z-index:20;box-shadow:0 -5px 30px #193f2211}.bottom-nav button{font-size:10px;min-width:0;flex:1;max-width:120px;background:none;border:0;color:#74867a;display:grid;justify-items:center;gap:4px;padding:2px 0}.bottom-nav button.active{color:#266742;font-weight:850}.nav-icon{font-size:22px;line-height:1.2}
#recipeDialog{width:min(680px,96vw);max-height:95dvh;border:0;border-radius:24px;padding:0;box-shadow:0 20px 90px #0c301a55;background:#f9faf6;color:#203a2e}#recipeDialog::backdrop{background:#0e281e99}.dialog-inner{padding:20px}.dialog-top{position:sticky;top:0;background:#f9faf6;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;z-index:1}.dialog-image{width:100%;height:260px;object-fit:cover}.steps li{margin:0 0 10px;line-height:1.5}.steps{padding-left:24px}.tag{font-size:10px;color:#76857b;text-transform:uppercase;letter-spacing:1px}
.toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);background:#2b6044;color:#fff;padding:13px 18px;border-radius:13px;box-shadow:0 10px 45px #17362044;z-index:100;max-width:94vw;font-size:13px;text-align:center}.toast.error{background:#a34d40}
.photo-preview{max-width:100%;height:140px;object-fit:contain;border-radius:13px}.info-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.info-col{background:#f1f5ef;border-radius:13px;padding:9px;text-align:center}.info-col strong{display:block;font-size:16px}.info-col small{font-size:10px}.eyebrow{line-height:1.3}
@media(max-width:520px){.app-shell{padding:13px 13px 115px}.hero{padding:22px 18px}.hero .large{font-size:31px}.hero-metrics strong{font-size:18px}.recipe-photo{width:83px;height:85px}.grid-two{gap:8px}.card{padding:14px}.field-row .input{min-width:0}.info-cols{gap:5px}.info-col strong{font-size:13px}.brand{font-size:24px}}

.grow{flex:1}.margin-bottom{margin-bottom:12px}.pill-gap{margin-top:9px}.top-gap{margin-top:4px}
progress.progress{width:100%;appearance:none;-webkit-appearance:none;border:0;height:11px;background:#dce5da;border-radius:99px;display:block;margin:12px 0;overflow:hidden}progress.progress::-webkit-progress-bar{background:#dce5da;border-radius:99px}progress.progress::-webkit-progress-value{background:#91c696;border-radius:99px}progress.progress::-moz-progress-bar{background:#91c696;border-radius:99px}
