:root{--bg: #faf6f1;--surface: #ffffff;--text: #2c2419;--muted: #7a6f63;--accent: #e85d3b;--accent-soft: #ffe8e2;--green: #3d9a6a;--green-soft: #e6f5ed;--border: #ebe3d9;--shadow: 0 12px 40px rgba(44, 36, 25, .08);--radius: 16px;--space-xs: .5rem;--space-sm: .75rem;--space-md: 1.25rem;--space-lg: 1.75rem;--space-xl: 2.5rem;font-family:DM Sans,system-ui,sans-serif;line-height:1.55;color:var(--text);background:var(--bg)}*{box-sizing:border-box;margin:0;padding:0}body,#root{min-height:100vh}button{font-family:inherit;cursor:pointer;border:none}input,select{font-family:inherit}.app-shell{max-width:480px;margin:0 auto;min-height:100vh;padding:1.25rem 1rem 2rem}.app-layout{min-height:100vh;display:flex;flex-direction:column}.app-sidebar{display:none}.app-main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:1.25rem 1rem 2rem}.app-content{width:100%}.mobile-header{display:flex}.header-restart{padding:.5rem!important}.swipe-header-title{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem}.pref-note{margin:.2rem 0 0;color:var(--text);font-size:.95rem;font-weight:500;line-height:1.35}.header-switch{margin:.1rem 0 0;padding:0 0 5px;background:none;border:none;color:var(--muted);font-size:.8rem;font-weight:500;line-height:1.3;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:.18em;cursor:pointer}.swipe-header-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}.header-action-row{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}.filter-drawer{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.filter-field-wide{min-width:0}.header-text-btn{background:none;border:none;padding:.2rem 0;color:var(--muted);font-size:.82rem;font-weight:600}.mobile-nav{display:flex;align-items:flex-end;gap:1rem;overflow-x:auto;margin:0 0 1.15rem;border-bottom:1px solid var(--border);scrollbar-width:none;-webkit-overflow-scrolling:touch}.mobile-nav::-webkit-scrollbar{display:none}.mobile-nav-link{flex:0 0 auto;margin:0;padding:0 0 .45rem;border:none;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);font-size:.84rem;font-weight:600;line-height:1.2}.mobile-nav-link.active{color:var(--text);border-bottom-color:var(--accent)}.mobile-nav-link:disabled{color:var(--border)}.error-box{background:#ffe8e8!important;color:#a33!important;margin-bottom:1rem}.page-header{margin-bottom:.5rem}.page-header h1{margin:0}h1{font-size:1.75rem;font-weight:700;letter-spacing:-.02em}h2{font-size:1.15rem;font-weight:600}.subtitle{color:var(--muted);font-size:.95rem;margin-top:.35rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 1.25rem;border-radius:999px;font-weight:600;font-size:.95rem;transition:transform .15s,opacity .15s}.btn:active{transform:scale(.98)}.btn-primary{background:var(--accent);color:#fff;width:100%}.btn-secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.btn-ghost{background:transparent;color:var(--muted)}.btn-icon{width:2.1rem;height:2.1rem;padding:0}.btn-icon svg{width:.95rem;height:.95rem}.btn-icon[aria-expanded=true]{background:var(--accent-soft);color:var(--accent);border-color:transparent}.btn-compact{display:inline-flex;align-items:center;justify-content:center;padding:.4rem .75rem;border-radius:8px;font-size:.8rem;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;width:auto;flex-shrink:0;cursor:pointer}.btn-compact:disabled{opacity:.5;cursor:not-allowed}.btn-compact-primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn-compact-soft{background:var(--accent-soft);border-color:transparent;color:var(--accent)}.btn-compact-wa{background:#25d366;border-color:#25d366;color:#fff}.btn-compact-ghost{background:transparent;color:var(--muted)}.chip-row{display:flex;flex-wrap:wrap;gap:var(--space-sm)}.chip{padding:.5rem 1rem;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:.875rem;color:var(--text)}.chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.field{margin-bottom:var(--space-lg)}.field label{display:block;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:.5rem}.field input[type=number],.field select{width:100%;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-size:1rem}.nav-dots{display:flex;justify-content:center;gap:.4rem;margin:1rem 0 1.25rem}.dot{width:8px;height:8px;border-radius:50%;background:var(--border);border:none;padding:0;cursor:pointer;transition:width .2s,background .2s}.dot.active{background:var(--accent);width:24px;border-radius:4px}.swipe-container{position:relative;height:auto;margin:.5rem 0}.swipe-card{position:relative;width:100%;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;transition:transform .25s ease,opacity .25s;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}.swipe-card.dragging{transition:none;cursor:grabbing}.swipe-card img{width:100%;height:168px;object-fit:cover;pointer-events:none}.swipe-card-body{padding:.7rem 1rem .85rem;container-type:inline-size}.swipe-meta{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}.badge{font-size:.72rem;font-weight:600;padding:.25rem .55rem;border-radius:6px;background:var(--green-soft);color:var(--green)}.badge.nonveg{background:#fff0e8;color:var(--accent)}.recipe-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.55rem}a.badge-source{background:var(--surface);color:var(--text);border:1px solid var(--border);text-decoration:none;touch-action:manipulation;cursor:pointer}a.badge-source:hover{border-color:var(--accent);color:var(--accent)}.nutrition-missing{margin-top:.65rem;font-size:.75rem;color:var(--muted)}.nutrition-block{margin-top:.7rem}.nutrition-kcal{font-size:.95rem;font-weight:700;color:var(--text)}.nutrition-bar{display:flex;gap:2px;height:8px;margin:.4rem 0 .35rem}.nutrition-bar span{display:block;height:100%;min-width:2px;border-radius:2px}.nutrition-macros{display:flex;flex-wrap:wrap;gap:.25rem .7rem;font-size:.75rem;font-weight:600}.prep-field{position:relative}.prep-field.has-error{margin-bottom:1.7rem}.field-error{position:absolute;z-index:2;top:calc(100% + .3rem);left:0;margin:0;padding:.28rem .5rem;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:.75rem;line-height:1.3;box-shadow:0 4px 14px #2c241914}.range-readout{display:flex;justify-content:space-between;margin-top:.3rem;color:var(--muted);font-size:.72rem}.range-slider{position:relative;height:1.6rem}.range-track{position:absolute;left:0;right:0;top:.7rem;height:4px;border-radius:2px;background:var(--border)}.range-track span{position:absolute;top:0;bottom:0;background:#c46a3a;border-radius:2px}.range-slider input[type=range]{position:absolute;left:0;width:100%;margin:0;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;height:1.6rem}.range-slider input[type=range]::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:var(--surface);border:2px solid #7d4e46;cursor:pointer}.swipe-actions{display:flex;justify-content:center;gap:1.25rem;margin-top:.5rem}.swipe-btn{width:56px;height:56px;border-radius:50%;font-size:1.4rem;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #00000014;background:var(--surface)}.swipe-btn.reject{color:#c44}.swipe-btn.like{color:var(--green)}.plan-grid{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}.plan-day{background:var(--surface);border-radius:var(--radius);padding:1rem;border:1px solid var(--border)}.plan-day h3{font-size:.85rem;color:var(--muted);margin-bottom:.6rem}.plan-slot{display:flex;justify-content:space-between;align-items:flex-start;padding:.5rem 0;border-top:1px solid var(--border)}.plan-slot:first-of-type{border-top:none}.reuse-note{font-size:.75rem;color:var(--green);margin-top:.2rem}.grocery-item{display:flex;gap:.75rem;padding:.85rem 0;border-bottom:1px solid var(--border)}.grocery-item:last-child{border-bottom:none}.grocery-cat{font-size:.7rem;text-transform:uppercase;color:var(--muted);letter-spacing:.05em}.total-bar{background:var(--surface);border-top:1px solid var(--border);padding:1rem}.header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.logo{font-weight:700;color:var(--accent);font-size:1.15rem;letter-spacing:-.03em;text-transform:lowercase}.screen-actions{display:flex;flex-direction:column;gap:var(--space-sm);margin-top:var(--space-lg)}.note-box{background:var(--green-soft);border-radius:12px;padding:.85rem 1rem;font-size:.85rem;color:#2a6b47;margin:1rem 0}.guest-sample-heading{margin-top:1.25rem;font-size:1.15rem}.order-success{text-align:center;padding:2rem 1rem}.order-success .order-id{font-size:1.5rem;font-weight:700;color:var(--accent);margin:1rem 0}.loading{text-align:center;color:var(--muted);padding:2rem}.choice-cards{display:flex;flex-direction:column;gap:1rem;margin-top:1.5rem}.choice-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;text-align:left;box-shadow:var(--shadow);transition:border-color .15s}.choice-card:hover{border-color:var(--accent)}.choice-icon{font-size:1.75rem;display:block;margin-bottom:.5rem}.filter-panel{display:flex;flex-direction:column;gap:1.5rem;background:var(--surface);border-radius:var(--radius);padding:var(--space-md);margin:0;border:1px solid var(--border);width:100%}.filter-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}.filter-label{display:block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0}.filter-label:first-child{margin-top:0}.search-input,.filter-select{width:100%;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--border);font-size:1rem;background:var(--surface);color:var(--text)}.browse-results{min-width:0}.browse-grid{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;min-width:0}.browse-card{display:flex;flex-direction:column;background:var(--surface);border-radius:14px;border:2px solid var(--border);overflow:hidden;cursor:pointer;transition:border-color .15s;min-width:0}.browse-card.selected{border-color:var(--green);background:var(--green-soft)}.browse-card img{width:100%;height:140px;object-fit:cover;flex-shrink:0}.browse-card-body{padding:.75rem .85rem .9rem;flex:1;min-width:0;container-type:inline-size}.browse-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.check{width:22px;height:22px;border-radius:6px;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}.check.checked{background:var(--green);border-color:var(--green);color:#fff}.btn-view-recipe{margin-top:.5rem;padding:.35rem .75rem;border-radius:8px;background:var(--surface);border:1px solid var(--accent);color:var(--accent);font-size:.8rem;font-weight:600}.browse-card.selected .btn-view-recipe{background:#fff}.liked-strip{background:var(--surface);border-radius:12px;padding:.75rem 1rem;margin-top:1rem;border:1px solid var(--border)}.liked-item{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;font-size:.9rem}.selected-dish-row{display:flex;gap:.75rem;align-items:flex-start}.recipe-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#2c241980;display:flex;align-items:flex-end;justify-content:center;z-index:100;padding:1rem}.recipe-modal{position:relative;background:var(--surface);border-radius:var(--radius);max-width:480px;width:100%;max-height:85vh;overflow:auto;padding:1.25rem;container-type:inline-size}.recipe-modal-close{position:absolute;top:.65rem;right:.65rem;width:2rem;height:2rem;border-radius:50%;border:none;background:#0000008c;color:#fff;font-size:1.3rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1}.recipe-modal-close:hover{background:#000000bf}.recipe-modal-img{width:100%;height:160px;object-fit:cover;border-radius:12px;margin-bottom:.75rem}.text-area{width:100%;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--border);font-size:.95rem;resize:vertical;font-family:inherit}.field input[type=text]{width:100%;padding:.75rem 1rem;border-radius:12px;border:1px solid var(--border);background:var(--surface);font-size:1rem}.swipe-header{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;margin-bottom:.5rem}.mode-switch-hint{font-size:.75rem;color:var(--muted);text-decoration:underline;text-decoration-style:dotted;cursor:pointer;flex-shrink:0;margin:0;position:relative;text-align:left;max-width:none;line-height:1.3}.mode-switch-hint:hover:after{content:attr(data-hint);position:absolute;right:0;top:calc(100% + 6px);background:var(--text);color:#fff;font-size:.72rem;padding:.5rem .65rem;border-radius:8px;width:200px;text-align:left;text-decoration:none;z-index:10;line-height:1.4;font-weight:400}.selected-dish-actions{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.btn-remove{padding:.35rem .75rem;border-radius:8px;background:transparent;border:1px solid var(--border);color:var(--muted);font-size:.8rem;font-weight:600}.btn-remove:hover{border-color:#c44;color:#c44}.onboarding-page{max-width:520px;margin:0 auto}.onboarding-page .subtitle{margin-bottom:var(--space-xl)}.onboarding-section{margin-bottom:var(--space-xl);padding-bottom:var(--space-lg);border-bottom:1px solid var(--border)}.onboarding-section:last-of-type{border-bottom:none;padding-bottom:0}.onboarding-section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:var(--space-md)}.onboarding-section .field{margin-bottom:var(--space-md)}.onboarding-section .field:last-child{margin-bottom:0}.onboarding-actions{display:flex;align-items:center;gap:1.25rem;margin-top:var(--space-lg)}.browse-layout-inner{display:flex;flex-direction:column;gap:1rem}.browse-results-header{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}.browse-select-all-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}.top-actions{display:flex;gap:var(--space-sm);flex-wrap:wrap;align-items:center;margin-top:var(--space-md);margin-bottom:.75rem}.browse-count{font-size:.8rem;color:var(--muted)}.grocery-list-need{margin-top:.25rem}@media(min-width:768px){h1{font-size:2rem}.app-main{padding:1.5rem 1.5rem 2.5rem}.browse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.browse-card{flex-direction:column;border-radius:var(--radius)}.browse-card img{width:100%;height:140px}.browse-card-body{padding:.85rem 1rem 1rem}.plan-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.swipe-container{height:auto;max-width:420px;margin-left:auto;margin-right:auto}.swipe-card img{height:200px}.screen-actions{flex-direction:row;flex-wrap:wrap}.screen-actions .btn-primary{width:auto;flex:1;min-width:200px}.screen-actions .btn-secondary,.screen-actions .btn-ghost{width:auto}.recipe-modal-overlay{align-items:center}.recipe-modal{max-width:560px;max-height:90vh}.recipe-modal-img{height:220px}.custom-recipe-form{display:grid;grid-template-columns:1fr 1fr;gap:0 1.5rem}.browse-layout-inner .swipe-header.browse-results-header,.custom-recipe-form .field-full{grid-column:1 / -1}.selected-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}}@media(min-width:1024px){.app-layout{flex-direction:row;align-items:stretch}.app-sidebar{display:flex;flex-direction:column;width:240px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);padding:1.75rem 1.25rem;position:sticky;top:0;height:100vh}.sidebar-brand{margin-bottom:2rem}.sidebar-brand .logo{font-size:1.35rem}.sidebar-tagline{font-size:.8rem;color:var(--muted);margin-top:.35rem;line-height:1.4}.sidebar-nav{display:flex;flex-direction:column;gap:.35rem;flex:1}.sidebar-link{display:flex;align-items:center;gap:.65rem;padding:.75rem 1rem;border-radius:12px;border:none;background:transparent;color:var(--muted);font-size:.95rem;font-weight:600;text-align:left;transition:background .15s,color .15s}.sidebar-link:hover:not(:disabled){background:var(--bg);color:var(--text)}.sidebar-link.active{background:var(--accent-soft);color:var(--accent)}.sidebar-link:disabled{opacity:.4;cursor:not-allowed}.sidebar-icon{font-size:1.1rem;width:1.5rem;text-align:center}.sidebar-restart{margin-top:auto;justify-content:flex-start;padding-left:.25rem!important}.mobile-header,.mobile-nav{display:none}.app-layout.no-sidebar .mobile-header,.app-layout.no-sidebar .mobile-nav{display:flex}.swipe-header{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:.75rem}.swipe-header .header-action-row{margin-left:auto;justify-content:flex-end}.mode-switch-hint{text-align:right;max-width:140px}.app-main{max-width:none;flex:1;padding:2rem 2.5rem 3rem}.app-content{max-width:960px}.filter-panel{display:grid;grid-template-columns:1fr 1fr;column-gap:1.5rem;row-gap:1.5rem;align-items:start}.filter-field-wide{grid-column:1 / -1}.browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-grid{grid-template-columns:repeat(3,1fr)}.browse-layout-inner .swipe-header.browse-results-header,.browse-layout-inner .top-actions{grid-column:1 / -1}.selected-grid{grid-template-columns:repeat(2,1fr)}.order-success{max-width:480px;margin:0 auto}}@media(min-width:1280px){.app-content{max-width:1100px}.plan-grid{grid-template-columns:repeat(4,1fr)}}.swipe-page{display:flex;flex-direction:column;gap:var(--space-md)}.swipe-split{display:flex;flex-direction:column;gap:var(--space-lg)}.swipe-recipe-panel{display:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-md);max-height:42vh;overflow-y:auto;container-type:inline-size}.swipe-card-more{margin-top:.7rem;border-top:1px solid var(--border)}.swipe-card-more-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 0 .15rem;background:none;color:var(--text);font-size:.84rem;font-weight:600;text-align:left}.swipe-card-more-toggle span{color:var(--muted);font-size:1rem;line-height:1}.swipe-card-more-body{padding-bottom:.15rem;max-height:min(42vh,320px);overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;-webkit-user-select:text;user-select:text;cursor:auto}.swipe-recipe-panel-header h2{font-size:1.2rem;margin-bottom:var(--space-xs)}.swipe-recipe-section{margin-top:var(--space-md)}.swipe-recipe-section h3{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:var(--space-sm)}.swipe-ingredient-list{list-style:none;display:flex;flex-direction:column;gap:var(--space-xs)}.swipe-ingredient-list li{display:flex;justify-content:space-between;gap:var(--space-md);font-size:.9rem;padding:var(--space-xs) 0;border-bottom:1px solid var(--border)}.swipe-ingredient-list li:last-child{border-bottom:none}.ing-name{flex:1}.ing-qty{color:var(--muted);white-space:nowrap}.swipe-steps-list{padding-left:1.2rem;font-size:.9rem;color:var(--text)}.swipe-steps-list li{margin-bottom:var(--space-sm)}.swipe-card-column{display:flex;flex-direction:column;gap:var(--space-md);order:-1}.swipe-inline-actions{margin-top:0!important}.landing{height:100vh;height:100dvh;max-width:720px;margin:0 auto;padding:.85rem 1rem 1rem;display:flex;flex-direction:column;overflow:hidden}.landing-header{padding:.15rem 0 .55rem;flex-shrink:0}.landing-header .logo{font-size:1.3rem}.landing-hero{flex:1;min-height:0;display:flex;flex-direction:column;gap:.75rem;justify-content:center}.landing-hero-copy{min-width:0}.landing-hero h1{font-size:clamp(1.65rem,4.5vw,2.35rem);line-height:1.12;margin-bottom:.45rem}.landing-eyebrow{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--accent);margin-bottom:.35rem}.landing-lead{font-size:.95rem;color:var(--muted);line-height:1.45;margin-bottom:.85rem;max-width:28rem}.landing-hero-art{display:flex;align-items:center;justify-content:center;order:-1;margin:0 auto;width:min(100%,280px);flex:0 1 auto;min-height:0;-webkit-user-select:none;user-select:none;pointer-events:none}.landing-hero-art-frame{position:relative;display:inline-block;max-width:100%;line-height:0}.landing-food-img{display:block;width:100%;height:auto;max-height:min(30vh,220px);object-fit:contain;filter:drop-shadow(0 14px 22px rgba(44,36,25,.12));animation:landing-food-in .7s ease-out both}.landing-steam{position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;overflow:visible;pointer-events:none}.landing-steam-cluster{position:absolute;left:50%;top:0;width:52%;height:50%;transform:translate(-50%);pointer-events:none}.steam-wisp{position:absolute;height:auto;max-width:none;transform-origin:50% 100%;opacity:0;will-change:transform,opacity}.steam-wisp-1{animation:steam-rise-a 5.4s ease-in-out infinite;animation-delay:0s}.steam-wisp-2{animation:steam-rise-b 6.2s ease-in-out infinite;animation-delay:1.1s}.steam-wisp-3{animation:steam-rise-c 4.8s ease-in-out infinite;animation-delay:2.2s}.steam-wisp-4{animation:steam-rise-d 6.8s ease-in-out infinite;animation-delay:.5s}@keyframes steam-rise-a{0%{opacity:0;transform:translate3d(0,10px,0) rotate(-1.5deg)}18%{opacity:.95}55%{opacity:1;transform:translate3d(6px,-36px,0) rotate(1.2deg)}to{opacity:0;transform:translate3d(-5px,-72px,0) rotate(-.8deg)}}@keyframes steam-rise-b{0%{opacity:0;transform:translate3d(0,8px,0) rotate(1deg)}15%{opacity:.92}48%{opacity:1;transform:translate3d(-8px,-32px,0) rotate(-1.8deg)}to{opacity:0;transform:translate3d(5px,-68px,0) rotate(.6deg)}}@keyframes steam-rise-c{0%{opacity:0;transform:translate3d(0,12px,0) rotate(-.5deg)}20%{opacity:.95}52%{opacity:1;transform:translate3d(9px,-30px,0) rotate(2deg)}to{opacity:0;transform:translate3d(-4px,-64px,0) rotate(-1.2deg)}}@keyframes steam-rise-d{0%{opacity:0;transform:translate3d(0,6px,0) rotate(.8deg)}16%{opacity:.9}50%{opacity:1;transform:translate3d(-6px,-26px,0) rotate(-1deg)}to{opacity:0;transform:translate3d(8px,-58px,0) rotate(1.5deg)}}@keyframes landing-food-in{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){.landing-food-img{animation:none}.steam-wisp{animation:none!important;opacity:.85;transform:translate3d(0,-16px,0)}.steam-wisp-2{opacity:.8;transform:translate3d(3px,-20px,0) rotate(-1deg)}.steam-wisp-3{opacity:.85;transform:translate3d(-3px,-14px,0) rotate(1deg)}.steam-wisp-4{opacity:.75;transform:translate3d(2px,-10px,0)}}.landing-cta{display:flex;flex-direction:column;align-items:flex-start;gap:0}.landing-highlights{display:flex;flex-wrap:wrap;gap:.35rem .85rem;list-style:none;margin:.9rem 0 0;padding:0;color:var(--muted);font-size:.8rem}.landing-highlights li{position:relative;padding-left:.85rem}.landing-highlights li:before{content:"";position:absolute;left:0;top:.45em;width:5px;height:5px;border-radius:50%;background:var(--accent)}.landing-auth{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-sm)}.landing-auth-compact iframe,.landing-auth-compact>div{max-height:40px}.landing-auth-divider{display:flex;align-items:center;gap:.65rem;width:100%;max-width:240px;margin:.45rem 0;color:var(--muted);font-size:.75rem}.landing-auth-divider:before,.landing-auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.landing-guest-btn{width:auto;max-width:none;padding:.35rem .85rem;font-size:.8rem}.landing-footnote{font-size:.85rem;color:var(--muted);margin-top:var(--space-md)}.landing-muted{color:var(--muted);font-size:.9rem;line-height:1.5}.landing-error{color:#a33;font-size:.85rem}.landing-auth-fallback code{font-size:.8rem;background:var(--surface);padding:.1rem .35rem;border-radius:4px}.header-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-sm)}.user-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}.user-avatar-sm{width:32px;height:32px}.user-avatar-fallback{display:inline-flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent);font-weight:700}.sidebar-user{display:flex;flex-direction:column;gap:.15rem;padding:var(--space-md);background:var(--bg);border-radius:12px;margin-bottom:var(--space-lg)}.user-name{font-size:.9rem;display:block;line-height:1.3}.user-email{font-size:.75rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0}.sidebar-guest{padding:var(--space-md);margin-bottom:var(--space-lg);background:var(--bg);border:1px solid var(--border);border-radius:12px}.guest-badge{display:inline-block;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:var(--space-xs)}.guest-hint{font-size:.85rem;color:var(--muted);line-height:1.45;margin:0 0 var(--space-sm)}.btn-sm{padding:.4rem .75rem;font-size:.85rem}.sidebar-link.locked{opacity:.85}.sidebar-lock{margin-left:auto;font-size:.75rem}.nav-dots .dot.locked{opacity:.5}.sign-in-gate-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:var(--space-md);background:#00000073}.sign-in-gate{position:relative;width:100%;max-width:420px;padding:var(--space-lg);background:var(--bg);border-radius:calc(var(--radius) + 4px);border:1px solid var(--border);box-shadow:0 12px 40px #00000026}.sign-in-gate h2{margin:0 0 var(--space-sm);font-size:1.35rem}.sign-in-gate-message{color:var(--muted);line-height:1.5;margin:0 0 var(--space-md)}.sign-in-gate-close{position:absolute;top:var(--space-sm);right:var(--space-sm);width:2rem;height:2rem;border:none;background:transparent;color:var(--muted);font-size:1.5rem;line-height:1;cursor:pointer;border-radius:50%}.sign-in-gate-close:hover{background:var(--surface);color:var(--text)}.sidebar-logout{margin-top:var(--space-xs);justify-content:flex-start;padding-left:.25rem!important;color:var(--muted)!important}@media(min-width:768px){.swipe-split{display:grid;grid-template-columns:1fr minmax(300px,380px);gap:var(--space-xl);align-items:start}.swipe-card-column{order:0}.swipe-recipe-panel{display:block;order:-1;max-height:calc(100vh - 12rem)}.swipe-card-more{display:none}.swipe-container{height:auto;max-width:none;margin:0}.swipe-card img{height:190px}.landing{max-width:1040px;padding:1rem 1.5rem 1.25rem}.landing-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);align-items:center;gap:1.75rem}.landing-hero-art{order:0;width:100%;max-width:none;justify-content:flex-end}.landing-food-img{max-height:min(55vh,360px)}.landing-hero h1{font-size:clamp(2rem,3.2vw,2.6rem)}}@media(min-width:1024px){.landing{max-width:1100px;padding:1.25rem 2rem 1.5rem}.landing-hero{gap:2.5rem}.landing-food-img{max-height:min(58vh,400px)}.swipe-split{display:grid;grid-template-columns:minmax(320px,1fr) minmax(340px,400px);gap:var(--space-xl)}.swipe-recipe-panel{order:-1}}.grocery-page{max-width:100%;overflow-x:hidden}.grocery-top-actions{margin-top:0}.grocery-list-need{background:var(--surface);border-radius:var(--radius);padding:0 var(--space-md)}.grocery-empty{padding:1rem 0}.grocery-item-need{align-items:flex-start}.grocery-item-main{flex:1;min-width:0}.grocery-item-top{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-sm)}.grocery-item-top strong{flex:1;min-width:0;word-break:break-word}.grocery-item-qty{font-size:.9rem;color:var(--ink);font-weight:600;white-space:nowrap;flex-shrink:0}.grocery-item-dishes{font-size:.8rem;color:var(--muted);margin:.25rem 0 0;line-height:1.35}.total-bar-row{display:flex;justify-content:space-between;margin-bottom:var(--space-sm);font-size:1.1rem}.history-card-actions{display:flex;align-items:center;gap:.4rem;flex-shrink:0}.history-repeat-btn{flex-shrink:0;padding:.35rem .65rem;font-size:.8rem;font-weight:600;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:#fff;cursor:pointer;white-space:nowrap}.history-repeat-btn:hover:not(:disabled){opacity:.9}.history-repeat-btn:disabled{opacity:.6;cursor:wait}.history-list{display:flex;flex-direction:column;gap:var(--space-md);margin-top:var(--space-md)}.history-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:var(--space-md)}.history-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-md);flex-wrap:wrap}.history-date{font-weight:600;font-size:1rem}.history-meta{font-size:.85rem;color:var(--muted);margin-top:.25rem}.history-filters{display:flex;flex-wrap:wrap;gap:var(--space-xs);margin:var(--space-sm) 0}.history-tag{font-size:.75rem;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:.2rem .55rem;color:var(--muted)}.history-dishes{font-size:.9rem;line-height:1.5;margin:0}.history-toggle{margin-top:var(--space-sm);padding-left:0!important}.history-details{margin-top:var(--space-md);padding-top:var(--space-md);border-top:1px solid var(--border)}.history-section{margin-bottom:var(--space-md)}.history-section h4{margin:0 0 var(--space-xs);font-size:.95rem}.history-section ul{margin:0;padding-left:1.25rem;font-size:.9rem;color:var(--muted)}.history-grocery-list{list-style:none;padding:0!important;columns:2;gap:var(--space-md)}.history-grocery-list li{break-inside:avoid;padding:.2rem 0}.history-grocery-total{font-weight:400;color:var(--muted)}.meal-plan-page{max-width:100%}.plan-top-actions,.plan-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .75rem;margin:var(--space-md) 0}.plan-toolbar-group{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-xs);padding-right:.75rem;border-right:1px solid var(--border)}.plan-toolbar-group:last-of-type,.plan-toolbar-group-end{border-right:none;padding-right:0}.plan-toolbar-group-end{margin-left:auto}.plan-date-input{padding:.4rem .55rem;border:1px solid var(--border);border-radius:8px;font-size:.8rem;font-weight:600;background:var(--surface)}.plan-date-field{display:inline-flex;align-items:center;gap:.35rem}.plan-date-field span{font-size:.75rem;font-weight:600;color:var(--muted)}.plan-date-input{max-width:10.5rem}.plan-info-btn{width:1.85rem;height:1.85rem;padding:0;color:var(--muted)}.plan-info-btn svg{display:block}.plan-lock-info{position:relative}.plan-lock-info-tip{position:absolute;z-index:4;top:calc(100% + .4rem);left:0;width:min(16.5rem,72vw);margin:0;padding:.55rem .7rem;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);font-size:.78rem;line-height:1.4;color:var(--muted)}.plan-top-status{font-size:.8rem;color:var(--muted)}.meal-plan-days{display:flex;flex-direction:column;gap:var(--space-md);margin-top:var(--space-md)}.plan-day-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.plan-day-card-header{padding:.5rem .85rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);background:var(--bg);border-bottom:1px solid var(--border)}.plan-day-meals{display:flex;flex-direction:row;align-items:stretch}.plan-meal-col{flex:1;min-width:0;min-height:8.5rem;padding:.9rem .85rem 1.1rem;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:.5rem}.plan-meal-col:last-child{border-right:none}.plan-meal-col-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:.4rem .35rem;min-height:2.4rem}.plan-meal-col-actions{display:flex;align-items:center;gap:.35rem}.lock-toggle-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;flex-shrink:0;border-radius:7px;border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;transition:color .15s ease,background-color .15s ease,border-color .15s ease}.lock-toggle-btn:hover{color:var(--text);border-color:var(--muted)}.lock-toggle-btn.active{color:var(--green);background:var(--green-soft);border-color:var(--green)}.plan-meal-type{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--accent)}.plan-meal-name{margin:0;font-size:.9rem;font-weight:600;line-height:1.45;word-break:break-word}.plan-meal-details{margin-top:.35rem;padding-top:.5rem;border-top:1px dashed var(--border);flex:1;min-height:0;overflow-y:auto;max-height:220px}.plan-meal-details-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);margin-bottom:var(--space-xs)}.cook-section-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0}.cook-ingredient-list,.cook-steps-list{margin:0 0 var(--space-sm);padding-left:1.25rem;font-size:.88rem;line-height:1.45}.cook-steps-list li{margin-bottom:.3rem}@media(max-width:639px){.plan-toolbar-group{border-right:none;padding-right:0;padding-bottom:.35rem;border-bottom:1px solid var(--border);width:100%}.plan-toolbar-group-end{border-bottom:none;padding-bottom:0;margin-left:0}.plan-day-meals{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;scrollbar-width:thin}.plan-meal-col{flex:0 0 min(78vw,240px);scroll-snap-align:start}.plan-meal-details{max-height:180px}}@media(min-width:640px){.plan-meal-name{font-size:.95rem}.plan-meal-details{max-height:260px}}@media(min-width:1024px){.plan-meal-details{max-height:320px}}
