*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--green: #22c55e;--green-dark: #16a34a;--green-light: #dcfce7;--orange: #f97316;--orange-dark: #ea580c;--orange-light:#ffedd5;--purple: #8b5cf6;--purple-light:#ede9fe;--cream: #fefce8;--cream-dark: #fef9c3;--bg: #f8fafc;--surface: #ffffff;--border: #e2e8f0;--text: #0f172a;--text-muted: #64748b;--radius: 16px;--shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);--shadow-lg: 0 4px 6px rgba(0,0,0,.05), 0 10px 40px rgba(0,0,0,.1)}html{scroll-behavior:smooth}body{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}.container{max-width:1100px;margin:0 auto;padding:0 24px}.nav{position:sticky;top:0;z-index:100;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}.nav-inner{max-width:1100px;margin:0 auto;padding:0 24px;height:62px;display:flex;align-items:center;justify-content:space-between}.logo{font-weight:800;font-size:1.15rem;color:var(--text);letter-spacing:-.02em}.logo-ai{color:var(--green)}.nav-links{display:flex;align-items:center;gap:24px}.nav-links a{text-decoration:none;color:var(--text-muted);font-size:.9rem;font-weight:500;transition:color .15s}.nav-links a:hover{color:var(--green)}.nav-plan-badge{font-size:.72rem;font-weight:700;padding:3px 10px;border-radius:100px;background:#f1f5f9;color:var(--text-muted);letter-spacing:.03em;cursor:default}.nav-plan-badge.plan-plus{background:var(--green-light);color:var(--green-dark)}.nav-plan-badge.plan-pro{background:var(--orange-light);color:var(--orange-dark)}.hero{text-align:center;padding:96px 24px 80px;background:linear-gradient(160deg,#f0fdf4 0%,var(--cream) 60%,#fff7ed 100%);border-bottom:1px solid var(--border)}.hero-badge{display:inline-block;background:var(--green-light);color:var(--green-dark);font-size:.78rem;font-weight:700;padding:5px 14px;border-radius:100px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:24px}.hero-headline{font-size:clamp(2.5rem,6vw,4.2rem);font-weight:900;line-height:1.1;letter-spacing:-.03em;margin-bottom:22px}.gradient-text{background:linear-gradient(135deg,var(--green) 0%,var(--orange) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-sub{max-width:560px;margin:0 auto 36px;color:var(--text-muted);font-size:1.1rem}.hero-stats{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:40px}.stat{display:flex;flex-direction:column;align-items:center;gap:2px}.stat strong{font-size:1.25rem;font-weight:800;color:var(--text)}.stat span{font-size:.75rem;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.05em}.stat-divider{width:1px;height:36px;background:var(--border)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:12px;font-family:inherit;font-weight:600;cursor:pointer;text-decoration:none;transition:background .15s,transform .1s,box-shadow .15s,opacity .15s;font-size:.95rem;padding:12px 22px;line-height:1}.btn:active{transform:scale(.97)}.btn-primary{background:var(--green);color:#fff;box-shadow:0 2px 12px #22c55e59}.btn-primary:hover:not(:disabled){background:var(--green-dark);box-shadow:0 4px 18px #22c55e73}.btn-outline{background:transparent;color:var(--text);border:1.5px solid var(--border)}.btn-outline:hover:not(:disabled){background:var(--bg);border-color:#94a3b8}.btn-lg{padding:15px 32px;font-size:1rem;border-radius:14px}.btn-sm{padding:7px 14px;font-size:.82rem;border-radius:8px}.btn-full{width:100%;border-radius:12px}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.section{padding:80px 0}.section-label{display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--green);background:var(--green-light);padding:4px 12px;border-radius:100px;margin-bottom:14px}.section-title{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800;letter-spacing:-.025em;margin-bottom:12px}.section-sub{color:var(--text-muted);font-size:1rem;margin-bottom:48px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.card-header h3{font-size:1rem;font-weight:700}.card-header-actions{display:flex;gap:8px}.plus-badge,.pro-badge{display:inline-block;font-size:.65rem;font-weight:700;padding:2px 7px;border-radius:100px;vertical-align:middle;margin-left:4px;text-transform:uppercase;letter-spacing:.05em}.plus-badge{background:var(--green-light);color:var(--green-dark)}.pro-badge{background:var(--orange-light);color:var(--orange-dark)}.gen-limit-bar{background:#fefce8;border:1px solid #fef08a;border-radius:10px;padding:12px 14px;margin-bottom:20px}.gen-limit-top{display:flex;justify-content:space-between;font-size:.8rem;font-weight:600;color:var(--text);margin-bottom:7px}.gen-limit-track{height:6px;background:#e2e8f0;border-radius:100px;overflow:hidden}.gen-limit-fill{height:100%;border-radius:100px;background:var(--green);transition:width .4s ease}.gen-limit-fill.fill-warn{background:var(--orange)}.gen-limit-fill.fill-full{background:#ef4444}.gen-limit-note{font-size:.75rem;color:var(--text-muted);margin-top:7px}.link-green{color:var(--green);font-weight:600;text-decoration:none}.link-green:hover{text-decoration:underline}.planner-grid{display:grid;grid-template-columns:360px 1fr;gap:28px;align-items:start}.form-card{position:sticky;top:80px}.budget-field-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.budget-field-header label{margin-bottom:0}.period-toggle{display:flex;background:var(--bg);border:1.5px solid var(--border);border-radius:8px;padding:2px;gap:2px}.period-btn{border:none;background:transparent;font-family:inherit;font-size:.75rem;font-weight:600;color:var(--text-muted);padding:4px 10px;border-radius:6px;cursor:pointer;transition:background .15s,color .15s;line-height:1}.period-btn.active{background:var(--surface);color:var(--green-dark);box-shadow:0 1px 3px #0000001a}.period-btn:hover:not(.active){color:var(--text)}.budget-convert-note{font-size:.78rem;color:var(--text-muted);margin-top:6px;padding:5px 10px;background:var(--green-light);border-radius:7px;color:var(--green-dark);font-weight:500}.food-gallery-card{padding:20px 22px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gallery-item{border-radius:10px;overflow:hidden;position:relative;aspect-ratio:4/3;background:var(--bg)}.gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.gallery-item:hover img{transform:scale(1.04)}.gallery-label{position:absolute;bottom:0;left:0;right:0;padding:18px 10px 8px;background:linear-gradient(to top,rgba(0,0,0,.55),transparent);color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.02em}.gallery-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:2rem;background:linear-gradient(135deg,var(--green-light),var(--cream));color:var(--text-muted)}.gallery-placeholder span{font-size:.72rem;font-weight:600}.optional-badge{font-size:.65rem;font-weight:500;color:var(--text-muted);background:var(--bg);border:1px solid var(--border);padding:2px 7px;border-radius:100px;vertical-align:middle;margin-left:4px}.location-input-row{display:flex;gap:8px;align-items:center}.location-input-row input{flex:1;margin-bottom:0}.restaurant-disclaimer{font-size:.78rem;color:var(--text-muted);margin:-8px 0 14px;padding:7px 11px;background:var(--bg);border-radius:7px;border-left:3px solid var(--border)}.budget-compare-bar{display:flex;align-items:center;gap:14px;background:var(--bg);border-radius:10px;padding:12px 16px;margin-bottom:18px;flex-wrap:wrap}.compare-item{display:flex;flex-direction:column;flex:1;min-width:110px}.compare-label{font-size:.72rem;color:var(--text-muted);font-weight:600;margin-bottom:3px}.compare-val{font-size:1.1rem;font-weight:800}.compare-val.home{color:var(--green-dark)}.compare-val.eat-out{color:#c2410c}.compare-divider{font-size:1rem;color:var(--border);font-weight:700}.compare-note{font-size:.78rem;color:var(--text-muted);font-style:italic;flex:2;min-width:160px}.restaurant-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.rest-card{border:1.5px solid var(--border);border-radius:12px;padding:14px 15px;background:var(--surface);transition:box-shadow .15s,border-color .15s}.rest-card:hover{box-shadow:0 4px 18px #00000014;border-color:var(--green)}.rest-card.affordable{border-color:#86efac}.rest-card.pricey{opacity:.8}.rest-top{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}.rest-icon{font-size:1.7rem;line-height:1;flex-shrink:0}.rest-info{flex:1;min-width:0}.rest-name{font-weight:700;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rest-type{font-size:.7rem;color:var(--text-muted);margin-top:1px}.price-tier{font-size:.72rem;font-weight:800;padding:3px 8px;border-radius:7px;white-space:nowrap;flex-shrink:0;align-self:flex-start}.tier-1{background:#dcfce7;color:#166534}.tier-2{background:#fef9c3;color:#854d0e}.tier-3{background:#ffe4e6;color:#9f1239}.rest-stats{display:flex;gap:8px;margin-bottom:9px}.rest-stat{background:var(--bg);border-radius:8px;padding:5px 10px;font-size:.76rem;flex:1;text-align:center}.rest-stat strong{display:block;font-size:.92rem;font-weight:800;line-height:1.2}.rest-stat span{color:var(--text-muted);font-size:.68rem}.rest-features{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:9px}.rest-feature-tag{font-size:.64rem;background:var(--green-light);color:var(--green-dark);padding:2px 7px;border-radius:100px;font-weight:500}.rest-meals-bar{background:var(--bg);border-radius:6px;height:5px;overflow:hidden;margin-bottom:4px}.rest-meals-fill{height:100%;border-radius:6px;background:var(--green)}.rest-meals-fill.warn{background:#f97316}.rest-meals-label{font-size:.67rem;color:var(--text-muted)}.rest-img{width:100%;height:120px;object-fit:cover;border-radius:8px;margin-bottom:10px;display:block}.rest-name a{color:var(--text);text-decoration:none;font-weight:700}.rest-name a:hover{color:var(--green-dark);text-decoration:underline}.rest-rating{display:flex;align-items:center;gap:6px;margin-bottom:5px}.rest-stars{color:#f59e0b;font-size:.85rem;letter-spacing:.05em}.rest-review-count{font-size:.72rem;color:var(--text-muted)}.rest-address{font-size:.72rem;color:var(--text-muted);margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rest-loading{grid-column:1 / -1;padding:28px;text-align:center;color:var(--text-muted);font-size:.9rem;background:var(--bg);border-radius:10px;border:1.5px dashed var(--border)}.rest-no-results{grid-column:1 / -1;padding:20px;text-align:center;color:var(--text-muted);font-size:.85rem;font-style:italic}.dev-reset-btn{display:none;border:1px dashed #f97316;background:#fff7ed;color:#c2410c;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:6px;cursor:pointer;font-family:inherit;line-height:1.4;transition:background .15s}.dev-reset-btn:hover{background:#ffedd5}.dev-reset-btn.visible{display:inline-block}.field{margin-bottom:20px}.field label{display:block;font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:7px}.field input,.field select{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:10px;font-family:inherit;font-size:.95rem;color:var(--text);background:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s;appearance:none;-webkit-appearance:none}.field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:38px}.field input:focus,.field select:focus{border-color:var(--green);box-shadow:0 0 0 3px #22c55e26}.field input::placeholder{color:#94a3b8}.input-prefix-wrap{position:relative;display:flex;align-items:center}.input-prefix{position:absolute;left:13px;font-weight:600;color:var(--text-muted);pointer-events:none}.input-prefix-wrap input{padding-left:28px}.results-area{display:flex;flex-direction:column;gap:20px}.budget-card{background:linear-gradient(135deg,#f0fdf4,#fefce8);border-color:var(--green-light)}.budget-row{display:flex;justify-content:space-around;text-align:center;gap:12px}.budget-item{display:flex;flex-direction:column;gap:4px}.budget-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.budget-val{font-size:1.5rem;font-weight:800;color:var(--text)}.budget-val.cost{color:var(--orange)}.budget-val.savings{color:var(--green)}.res-people-row{margin-top:12px;padding-top:10px;border-top:1px solid rgba(0,0,0,.06);text-align:center;font-size:.83rem;color:var(--text-muted)}.meal-plan{display:flex;flex-direction:column;gap:10px}.day-block{border:1px solid var(--border);border-radius:10px;overflow:hidden}.day-header{background:var(--bg);padding:9px 14px;font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);border-bottom:1px solid var(--border)}.day-meals{padding:10px 14px;display:flex;flex-direction:column;gap:5px}.meal-item{display:flex;align-items:center;gap:10px;font-size:.9rem}.meal-tag{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:100px;min-width:60px;text-align:center}.meal-tag.breakfast{background:var(--orange-light);color:var(--orange-dark)}.meal-tag.lunch{background:var(--green-light);color:var(--green-dark)}.meal-tag.dinner{background:#ede9fe;color:#7c3aed}.meal-tag.single{background:var(--cream-dark);color:#92400e}.macro-content{display:flex;flex-direction:column;gap:14px}.macro-summary{display:flex;gap:8px;justify-content:space-around;text-align:center;flex-wrap:wrap}.macro-stat{display:flex;flex-direction:column;gap:2px}.macro-val{font-size:1.3rem;font-weight:800;color:var(--text)}.macro-val.protein{color:#2563eb}.macro-val.carbs{color:var(--orange)}.macro-val.fat{color:var(--purple)}.macro-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.macro-bar-wrap{display:flex;flex-direction:column;gap:6px}.macro-bar{height:10px;border-radius:100px;overflow:hidden;display:flex;background:var(--bg)}.macro-bar-seg{height:100%;transition:width .4s ease}.seg-protein{background:#2563eb}.seg-carbs{background:var(--orange)}.seg-fat{background:var(--purple)}.macro-bar-legend{display:flex;gap:16px;font-size:.75rem;font-weight:600;color:var(--text-muted)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px;vertical-align:middle}.dot-protein{background:#2563eb}.dot-carbs{background:var(--orange)}.dot-fat{background:var(--purple)}.macro-note{font-size:.78rem;color:var(--text-muted)}.nutrition-note{font-size:.8rem;color:var(--text-muted);margin-bottom:12px}.nutrition-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.nutrition-item{display:flex;flex-direction:column;gap:5px}.nutrition-top{display:flex;justify-content:space-between;font-size:.82rem;font-weight:600}.nutrition-track{height:6px;background:#e2e8f0;border-radius:100px;overflow:hidden}.nutrition-fill{height:100%;border-radius:100px;transition:width .4s ease}.fill-good{background:var(--green)}.fill-ok{background:var(--orange)}.fill-low{background:#ef4444}.grocery-list{list-style:none;display:flex;flex-direction:column;gap:14px}.aisle-group{list-style:none}.aisle-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.78rem;font-weight:800;letter-spacing:.02em;color:var(--green-dark);text-transform:uppercase;padding:4px 0 6px;border-bottom:2px solid #dcfce7;margin-bottom:4px}.aisle-subtotal{color:var(--text-muted);font-weight:700}.aisle-items{list-style:none;display:flex;flex-direction:column;gap:4px}.aisle-items li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.92rem;padding:5px 0;border-bottom:1px solid #f1f5f9}.aisle-items li:last-child{border-bottom:none}.grocery-name{display:flex;flex-direction:column;gap:1px}.grocery-qty{font-size:.75rem;color:var(--text-muted)}.grocery-price{margin-left:auto;font-size:.82rem;color:var(--text-muted);font-weight:600;white-space:nowrap;flex-shrink:0}.action-row{display:flex;gap:12px;justify-content:flex-end}.empty-state{text-align:center;padding:60px 32px;color:var(--text-muted);border-style:dashed}.empty-icon{font-size:3rem;margin-bottom:14px}.empty-state p{font-size:.95rem;line-height:1.7}.features-section{background:linear-gradient(160deg,var(--cream) 0%,#f0fdf4 100%);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:24px;box-shadow:var(--shadow)}.feature-icon{font-size:1.8rem;margin-bottom:12px}.feature-card h4{font-size:.95rem;font-weight:700;margin-bottom:7px}.feature-card p{font-size:.85rem;color:var(--text-muted);line-height:1.6}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}.pricing-card{background:var(--surface);border:1.5px solid var(--border);border-radius:var(--radius);padding:30px;box-shadow:var(--shadow);position:relative;transition:transform .2s,box-shadow .2s}.pricing-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}.pricing-featured{border-color:var(--green);box-shadow:0 0 0 3px #22c55e26,var(--shadow-lg);transform:translateY(-6px)}.pricing-featured:hover{transform:translateY(-9px)}.pricing-active{border-color:var(--green)!important;box-shadow:0 0 0 4px #22c55e33,var(--shadow-lg)!important}.plan-badge{position:absolute;top:-13px;left:50%;transform:translate(-50%);background:var(--green);color:#fff;font-size:.72rem;font-weight:700;padding:4px 14px;border-radius:100px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}.plan-name{font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:6px}.plan-price{font-size:2.4rem;font-weight:900;letter-spacing:-.03em;color:var(--text);margin-bottom:6px}.plan-price span{font-size:.95rem;font-weight:500;color:var(--text-muted)}.plan-desc{font-size:.85rem;color:var(--text-muted);margin-bottom:22px}.plan-features{list-style:none;display:flex;flex-direction:column;gap:9px;margin-bottom:26px}.plan-features li{font-size:.88rem;display:flex;align-items:center;gap:8px}.plan-features li.disabled{color:var(--text-muted);opacity:.45}.plan-features li.disabled:before{content:"—";margin-right:4px}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:200;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:var(--surface);border-radius:20px;padding:36px 32px;max-width:420px;width:100%;box-shadow:var(--shadow-lg);position:relative;animation:modalIn .25s cubic-bezier(.34,1.56,.64,1)}@keyframes modalIn{0%{opacity:0;transform:scale(.92) translateY(16px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:1rem;color:var(--text-muted);cursor:pointer;padding:4px 8px;border-radius:6px;transition:background .15s}.modal-close:hover{background:var(--bg)}.modal-icon{font-size:2.5rem;margin-bottom:10px}.modal-title{font-size:1.4rem;font-weight:800;letter-spacing:-.02em;margin-bottom:4px}.modal-price{font-size:1.1rem;font-weight:700;color:var(--green);margin-bottom:10px}.modal-desc{font-size:.88rem;color:var(--text-muted);margin-bottom:14px}.modal-features{list-style:none;display:flex;flex-direction:column;gap:7px;margin-bottom:22px;background:var(--bg);border-radius:10px;padding:14px 16px}.modal-features li{font-size:.88rem;display:flex;gap:8px}.modal-note{text-align:center;font-size:.75rem;color:var(--text-muted);margin-top:10px;font-style:italic}.footer{padding:36px 24px;border-top:1px solid var(--border);background:var(--surface)}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}.footer p{font-size:.83rem;color:var(--text-muted)}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%) translateY(80px);background:var(--text);color:#fff;padding:12px 22px;border-radius:100px;font-size:.88rem;font-weight:600;box-shadow:var(--shadow-lg);transition:transform .3s cubic-bezier(.34,1.56,.64,1),opacity .3s;opacity:0;z-index:999;white-space:nowrap}.toast.show{transform:translate(-50%) translateY(0);opacity:1}.toast.hidden{display:none}.hidden{display:none!important}@media(max-width:900px){.planner-grid{grid-template-columns:1fr}.form-card{position:static}.features-grid{grid-template-columns:repeat(2,1fr)}.pricing-grid{grid-template-columns:1fr}.pricing-featured{transform:none}.pricing-featured:hover{transform:translateY(-3px)}.nutrition-grid{grid-template-columns:1fr}}@media(max-width:560px){.hero{padding:60px 16px 56px}.section{padding:56px 0}.features-grid{grid-template-columns:1fr}.budget-row{flex-direction:column;align-items:center;gap:14px}.action-row{flex-direction:column}.nav-links{gap:14px}.footer-inner{flex-direction:column;text-align:center}.hero-stats,.macro-summary{gap:12px}.modal{padding:28px 20px}}.diet-chips{display:flex;flex-wrap:wrap;gap:8px}.diet-chip{display:inline-flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.diet-chip input{position:absolute;opacity:0;pointer-events:none}.diet-chip span{display:inline-flex;align-items:center;gap:4px;font-size:.82rem;font-weight:600;color:var(--text-muted);background:var(--bg);border:1.5px solid var(--border);border-radius:999px;padding:6px 12px;transition:all .15s ease}.diet-chip:hover span{border-color:var(--green);color:var(--green-dark)}.diet-chip input:checked+span{background:var(--green-light);border-color:var(--green);color:var(--green-dark)}.diet-chip input:focus-visible+span{box-shadow:0 0 0 3px #22c55e40}.goal-chips{display:flex;flex-wrap:wrap;gap:8px}.goal-chip{display:inline-flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.goal-chip input{position:absolute;opacity:0;pointer-events:none}.goal-chip span{display:inline-flex;align-items:center;gap:4px;font-size:.85rem;font-weight:600;color:var(--text-muted);background:var(--bg);border:1.5px solid var(--border);border-radius:999px;padding:8px 14px;transition:all .15s ease}.goal-chip:hover span{border-color:var(--green);color:var(--green-dark)}.goal-chip input:checked+span{background:var(--green);border-color:var(--green);color:#fff}.goal-chip input:focus-visible+span{box-shadow:0 0 0 3px #22c55e40}.diet-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed var(--border)}.diet-pill{font-size:.75rem;font-weight:700;color:var(--green-dark);background:var(--green-light);border-radius:999px;padding:4px 10px}.diet-adjust-note{font-size:.76rem;color:var(--text-muted);font-style:italic}.saved-plans-panel{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.saved-plans-head{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:var(--green-dark);margin-bottom:10px}.saved-plans-list{list-style:none;display:flex;flex-direction:column;gap:8px}.saved-plan-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:9px 12px}.saved-plan-info{display:flex;flex-direction:column;gap:2px;min-width:0}.saved-plan-name{font-size:.88rem;font-weight:700;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-plan-meta{font-size:.72rem;color:var(--text-muted)}.saved-plan-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.btn-xs{padding:4px 10px;font-size:.76rem}.saved-plan-del{background:none;border:none;cursor:pointer;font-size:.9rem;opacity:.6;transition:opacity .15s ease;padding:2px 4px}.saved-plan-del:hover{opacity:1}.recommend-card{border:1px solid var(--border)}.recommend-sub{font-size:.9rem;color:var(--text-muted);margin:-4px 0 16px}.recommend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.recommend-group{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px 16px}.recommend-group-title{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:800;color:var(--text);margin-bottom:10px}.recommend-icon{font-size:1.05rem;line-height:1}.recommend-items{list-style:none;display:flex;flex-direction:column;gap:8px}.recommend-items li{position:relative;font-size:.85rem;line-height:1.45;color:var(--text-muted);padding-left:18px}.recommend-items li:before{content:"›";position:absolute;left:4px;top:-1px;color:var(--green);font-weight:800}@media(max-width:720px){.recommend-grid{grid-template-columns:1fr}}.batch-sub,.howto-sub{font-size:.9rem;color:var(--text-muted);margin:-4px 0 16px}.batch-steps{list-style:none;counter-reset:batch;display:flex;flex-direction:column;gap:12px}.batch-steps li{position:relative;counter-increment:batch;padding:12px 16px 12px 52px;background:var(--bg);border:1px solid var(--border);border-radius:12px;font-size:.9rem;line-height:1.5;color:var(--text)}.batch-steps li:before{content:counter(batch);position:absolute;left:14px;top:12px;width:26px;height:26px;display:flex;align-items:center;justify-content:center;background:var(--green);color:#fff;font-weight:800;font-size:.85rem;border-radius:50%}.howto-list{display:flex;flex-direction:column;gap:8px}.howto-item{background:var(--bg);border:1px solid var(--border);border-radius:12px;overflow:hidden}.howto-summary{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;list-style:none;font-weight:700;color:var(--text);-webkit-user-select:none;user-select:none}.howto-summary::-webkit-details-marker{display:none}.howto-summary:after{content:"▸";margin-left:auto;color:var(--text-muted);transition:transform .2s ease}.howto-item[open] .howto-summary:after{transform:rotate(90deg)}.howto-icon{font-size:1.15rem;line-height:1}.howto-name{font-size:.92rem}.howto-slot{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--green);background:#22c55e1f;padding:2px 8px;border-radius:999px}.howto-steps{list-style:none;counter-reset:step;padding:4px 16px 16px;display:flex;flex-direction:column;gap:8px}.howto-steps li{position:relative;counter-increment:step;padding-left:30px;font-size:.86rem;line-height:1.5;color:var(--text-muted)}.howto-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;background:var(--border);color:var(--text);font-weight:800;font-size:.72rem;border-radius:50%}.meal-plan-note{font-size:.9rem;color:var(--text-muted);margin:-4px 0 14px;padding:8px 12px;background:#22c55e14;border:1px solid rgba(34,197,94,.2);border-radius:10px}.theme-toggle{background:none;border:1px solid var(--border);border-radius:999px;width:34px;height:34px;font-size:16px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,border-color .15s,transform .15s}.theme-toggle:hover{background:var(--bg);transform:scale(1.05)}html[data-theme=dark]{--green-light: #14532d;--orange-light:#431407;--purple-light:#2e1065;--cream: #1f2937;--cream-dark: #283548;--bg: #0f172a;--surface: #1e293b;--border: #334155;--text: #e2e8f0;--text-muted: #94a3b8;--shadow: 0 1px 3px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.35);--shadow-lg: 0 4px 6px rgba(0,0,0,.4), 0 10px 40px rgba(0,0,0,.5)}html[data-theme=dark] .nav{background:#0f172ae6}html[data-theme=dark] .gallery-placeholder{background:var(--cream-dark)}html[data-theme=dark] img.gallery-item,html[data-theme=dark] .rest-img{filter:brightness(.92)}.field-hint{font-size:12px;color:var(--text-muted);margin-top:6px}.meal-item{position:relative}.meal-swap-btn{margin-left:auto;background:none;border:1px solid var(--border);border-radius:8px;padding:2px 7px;font-size:12px;cursor:pointer;color:var(--text-muted);transition:background .15s,color .15s,border-color .15s,transform .3s}.meal-swap-btn:hover{background:var(--green-light);color:var(--green-dark);border-color:var(--green)}.meal-swap-btn.spin{transform:rotate(360deg)}.day-meals .meal-item{display:flex;align-items:center;gap:10px}.stretch-budget{margin-top:16px;padding-top:16px;border-top:1px dashed var(--border)}.stretch-head{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:14px;margin-bottom:10px}.stretch-val{color:var(--green-dark);font-weight:800}#stretchSlider{width:100%;accent-color:var(--green);cursor:pointer}.stretch-note{font-size:13px;color:var(--text-muted);margin-top:8px;min-height:18px}.servings-sub{color:var(--text-muted);font-size:14px;margin-bottom:16px}.servings-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.serv-stat{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px;text-align:center}.serv-stat strong{display:block;font-size:22px;color:var(--green-dark)}.serv-stat span{font-size:12px;color:var(--text-muted)}.serv-list{list-style:none;display:flex;flex-direction:column;gap:8px}.serv-list li{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:var(--bg);border-radius:10px;font-size:14px}.serv-cost{font-weight:700;color:var(--green-dark)}.calorie-target-row{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--bg);font-size:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cal-delta{font-weight:700}.cal-delta.over{color:var(--orange-dark)}.cal-delta.under,.cal-delta.onpoint{color:var(--green-dark)}.checklist-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;margin-bottom:12px;background:var(--green-light);border-radius:10px;font-size:13px;font-weight:600;color:var(--green-dark)}.checklist-bar-track{flex:1;height:8px;background:var(--surface);border-radius:999px;overflow:hidden}.checklist-bar-fill{height:100%;background:var(--green);transition:width .25s}.grocery-list.checklist-mode .grocery-check{display:inline-flex}.grocery-check{display:none;margin-right:10px;width:18px;height:18px;accent-color:var(--green);cursor:pointer;flex-shrink:0}.grocery-list li.checked .grocery-name span:first-child,.grocery-list li.checked .grocery-price{text-decoration:line-through;opacity:.5}.aisle-items li{display:flex;align-items:center}.aisle-items li .grocery-name{flex:1}.price-history{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.price-history-head{font-weight:600;font-size:13px;margin-bottom:12px}.price-history-chart{display:flex;align-items:flex-end;gap:8px;height:120px;padding-top:8px}.ph-bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;justify-content:flex-end}.ph-bar{width:100%;max-width:34px;background:linear-gradient(180deg,var(--green),var(--green-dark));border-radius:6px 6px 0 0;min-height:4px;transition:height .3s}.ph-bar-cost{font-size:10px;font-weight:700;color:var(--green-dark)}.ph-bar-label{font-size:9px;color:var(--text-muted);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.ph-empty{font-size:12px;color:var(--text-muted)}.share-box{display:flex;gap:8px;margin:14px 0 8px}.share-box input{flex:1;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font-size:13px}.share-actions{display:flex;gap:10px;flex-direction:column}.recommend-col.seasonal .recommend-col-icon{filter:hue-rotate(40deg)}
