@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:#202621;background:#f7f7f5;font-synthesis:none;--green:#285541;--muted:#777d76;--line:#e5e7e2;--soft:#edf2ec}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #96bd75;outline-offset:4px}button:disabled{opacity:.4;cursor:default}button svg{pointer-events:none}svg{width:21px;height:21px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}header{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 6vw;background:#fff}.brand{display:flex;align-items:center;gap:10px;font-family:Manrope,sans-serif;font-weight:800;font-size:23px;letter-spacing:-1px}.brand-mark{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:var(--green);color:white}.brand em{font-style:normal;color:var(--green)}nav{display:flex;gap:8px}.nav-button{background:none;padding:13px 20px;border-radius:13px;color:#727870;display:flex;align-items:center;gap:9px;font-weight:500}.nav-button.active{background:var(--soft);color:var(--green)}.nav-button small{background:var(--green);color:white;border-radius:20px;min-width:19px;padding:2px 5px;font-size:12px}.profile-button{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#f1f2ee}.main{max-width:1230px;margin:auto;padding:46px 40px 70px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:29px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:700;color:var(--green);margin:0 0 10px}h1,h2,h3{font-family:Manrope,-apple-system,sans-serif}h1{font-size:35px;letter-spacing:-1.5px;line-height:1.2;margin:0 0 10px;font-weight:800}.subtitle{margin:0;color:var(--muted);font-size:16px;line-height:1.5}.quiet-button{background:none;display:flex;gap:7px;align-items:center;color:var(--muted);padding:12px 0;font-size:14px}.workspace{display:grid;grid-template-columns:250px minmax(320px,510px) 224px;gap:30px;align-items:start}.filters{padding-top:2px}.section-label{font-size:14px;font-weight:700;margin:0 0 15px}.filter-group{padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid var(--line)}.segmented{background:#eaece6;border-radius:12px;padding:4px;display:flex;gap:3px}.segmented button{flex:1;border-radius:9px;padding:10px 6px;font-size:14px;background:none;color:#6a7169;white-space:nowrap}.segmented .active{background:white;color:#243b2c;box-shadow:0 2px 6px #00000009}.field-label{display:block;font-size:14px;margin:17px 0 9px;color:#5a6359}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:9px 12px;border:1px solid #dedfd9;border-radius:10px;background:transparent;color:#5d655b;font-size:14px}.chip.active{border-color:var(--green);background:#e8efe7;color:var(--green)}.stepper{display:flex;justify-content:space-between;align-items:center;border:1px solid #dfe3da;border-radius:11px;height:43px}.stepper button{background:none;padding:8px 14px;color:var(--green);font-size:22px}.stepper strong{font-size:14px;font-weight:500}.select-input{width:100%;background:white;border:1px solid #dedfd9;border-radius:10px;padding:11px;font-size:14px;color:#354432}.toggle-row{display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:8px 0;gap:10px}.toggle{appearance:none;width:36px;height:22px;border-radius:20px;background:#d6dbd0;position:relative;cursor:pointer;flex-shrink:0}.toggle:after{content:'';position:absolute;width:16px;height:16px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 3px #0002;transition:transform .15s}.toggle:checked{background:var(--green)}.toggle:checked:after{transform:translateX(14px)}.count-note{font-size:13px;line-height:1.6;color:var(--muted)}.catalog-note{font-size:12px;color:#7c817a;line-height:1.7;margin-top:16px}.catalog-note button{background:none;padding:0;text-decoration:underline;font-size:inherit;color:inherit}.card-stack{position:relative;isolation:isolate}.recipe-card{background:white;border-radius:23px;overflow:hidden;box-shadow:0 12px 35px #2137210c;border:1px solid #e4e7df;touch-action:pan-y;transition:transform .25s,opacity .25s;position:relative}.recipe-card.leave-left{transform:translateX(-70px) rotate(-6deg);opacity:0}.recipe-card.leave-right{transform:translateX(70px) rotate(6deg);opacity:0}.photo-button{display:block;width:100%;height:300px;padding:0;background:#e9ede5;position:relative;text-align:left;overflow:hidden}.photo-button img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.photo-button:hover img{transform:scale(1.025)}.photo-badge{position:absolute;left:19px;top:19px;background:#ffffffeb;border:1px solid #fff5;color:#2a4432;backdrop-filter:blur(12px);border-radius:30px;padding:8px 12px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}.photo-badge svg{width:15px;height:15px}.save-float{position:absolute;right:18px;top:18px;width:37px;height:37px;border-radius:50%;background:#fffffff0;z-index:2;color:#283e2b}.save-float.saved{background:var(--green);color:white}.recipe-body{padding:24px 25px 20px}.recipe-body .eyebrow{font-size:11px;letter-spacing:1.5px;margin-bottom:7px}.recipe-title{background:none;padding:0;text-align:left;display:block;color:inherit}.recipe-title h2{font-size:25px;letter-spacing:-.8px;line-height:1.25;margin:0 0 8px}.description{font-size:14px;line-height:1.55;color:#7b8178;margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:19px 0 16px;margin-top:6px}.stat{border-right:1px solid var(--line);padding-left:13px}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat strong{font-size:17px;font-weight:600;display:block}.stat span{display:block;color:#82887e;font-size:12px;margin-top:4px}.stat svg{width:15px;height:15px;margin-right:5px;color:#64785f}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{padding:5px 9px;border-radius:6px;background:#f3f5ef;font-size:11px;color:#5e7255}.card-actions{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:23px}.action-circle{display:grid;place-items:center;width:59px;height:59px;background:white;border:1px solid #e0e5db;border-radius:50%;box-shadow:0 5px 14px #1a331009;color:#8b9685;transition:transform .15s}.action-circle:hover{transform:translateY(-3px)}.action-circle.like{width:69px;height:69px;background:var(--green);color:white;border-color:var(--green);box-shadow:0 6px 20px #28554125}.action-circle.like svg{width:29px;height:29px}.action-circle.skip svg{width:27px;height:27px}.action-circle.undo{width:43px;height:43px}.swipe-hint{text-align:center;font-size:12px;color:#979d91;margin:15px 0 0}.shortlist-panel{background:white;border:1px solid var(--line);border-radius:18px;padding:20px 17px}.shortlist-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.shortlist-head h3{font-size:15px;letter-spacing:-.3px;margin:0}.shortlist-head span{color:var(--green);font-size:12px;background:#edf2e9;padding:4px 7px;border-radius:6px}.progress{display:flex;gap:4px;margin-bottom:17px}.progress i{height:3px;flex:1;background:#e9ede4;border-radius:10px}.progress i.filled{background:var(--green)}.mini-recipe{display:flex;gap:10px;align-items:center;margin:12px 0;width:100%;padding:0;background:none;text-align:left}.mini-recipe img{width:43px;height:47px;object-fit:cover;border-radius:8px}.mini-recipe strong{font-size:12px;font-weight:500;line-height:1.4;display:block}.mini-recipe span{font-size:11px;color:#87917e;display:block;margin-top:3px}.empty-slot{height:49px;border:1px dashed #e1e6d9;border-radius:9px;margin:10px 0;display:flex;align-items:center;justify-content:center;color:#c1cbb8}.small-copy{font-size:12px;color:#89917f;line-height:1.65;margin:16px 0}.primary{background:var(--green);color:white;border-radius:12px;padding:14px 19px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:14px;min-height:46px}.secondary{background:#edf1e8;color:var(--green);border:1px solid #dee6d6;border-radius:12px;padding:13px 18px;min-height:45px;font-size:14px}.inline-note{margin:21px 6px;color:#939a89;font-size:12px;line-height:1.65}.inline-note svg{width:16px;height:16px;margin-right:3px}.mobile-tools{display:none}.mobile-progress{display:none}.empty-state{padding:55px 28px;text-align:center;background:white;border:1px solid var(--line);border-radius:22px}.empty-state h2{font-size:23px;letter-spacing:-.6px}.empty-state p{color:var(--muted);font-size:15px;line-height:1.7}.empty-state .primary{margin-top:20px}.empty-icon{width:68px;height:68px;display:grid;place-items:center;background:var(--soft);border-radius:24px;color:var(--green);margin:auto}.empty-icon svg{width:31px;height:31px}.round-note{background:#eaf0e3;color:#3f6038;border-radius:14px;padding:16px;margin-bottom:18px;font-size:14px;line-height:1.6}.round-note button{background:transparent;color:var(--green);text-decoration:underline;padding:5px 0;font-weight:600;display:block}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid-card{background:white;border-radius:18px;overflow:hidden;border:1px solid var(--line);position:relative}.grid-photo{height:185px;width:100%;object-fit:cover;display:block}.grid-content{padding:18px}.grid-content h3{font-size:18px;letter-spacing:-.5px;margin:0 0 7px}.grid-meta{font-size:13px;color:var(--muted);margin-bottom:16px}.grid-actions{display:flex;gap:8px}.grid-actions button{flex:1}.recipe-checkbox{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:14px;color:var(--green)}input[type=checkbox]:not(.toggle){accent-color:var(--green);width:18px;height:18px}.selection-bar{position:sticky;bottom:20px;padding:16px 22px;margin-top:26px;background:#fffefb;box-shadow:0 6px 35px #17281212;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}.selection-bar .primary{width:auto}.selection-bar strong{font-size:15px}.shopping-layout{max-width:750px;margin:auto}.shopping-group{background:white;border:1px solid var(--line);border-radius:17px;padding:21px;margin:18px 0}.shopping-group h3{font-size:15px;margin:0 0 12px;color:var(--green)}.shopping-item{display:flex;align-items:center;gap:13px;border-bottom:1px solid #f1f2ed;padding:15px 0}.shopping-item:last-child{border:0;padding-bottom:2px}.shopping-item label{flex:1;font-size:15px;display:flex;align-items:center;gap:12px}.shopping-item.checked label{text-decoration:line-through;color:#a1a89a}.shopping-item .amount{font-size:14px;color:#758069}.shopping-item button{font-size:12px;color:#8d9584;background:transparent}.list-top{display:flex;justify-content:space-between;align-items:center;gap:14px}.list-top p{font-size:14px;color:var(--muted)}dialog{border:0;padding:0;border-radius:25px;max-width:650px;width:calc(100% - 32px);max-height:90dvh;color:var(--green);box-shadow:0 35px 120px #0003;background:white}dialog::backdrop{background:#16201466;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:16px;top:16px;border-radius:50%;width:37px;height:37px;background:#fffefa;z-index:2;display:grid;place-items:center}.detail-photo{width:100%;height:240px;object-fit:cover}.detail-content{padding:28px;color:#273525}.detail-content h2{font-size:27px;letter-spacing:-.9px;margin:0 0 12px}.detail-content h3{font-size:18px;margin-top:27px}.detail-content p,.detail-content li{font-size:15px;line-height:1.75;color:#6e7967}.detail-content ol{padding-left:23px}.detail-content li{padding-left:5px;margin:12px 0}.ingredient-line{display:flex;justify-content:space-between;border-bottom:1px solid #edf0e8;padding:10px 0;font-size:14px}.detail-warning{background:#f5f4ec;padding:12px 15px;border-radius:10px;font-size:12px!important;line-height:1.6!important}.detail-content .primary{margin-top:24px}.profile-options{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}.profile-options label{border:1px solid var(--line);padding:9px;border-radius:9px;font-size:14px;display:flex;gap:7px;align-items:center}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#263b2c;color:white;border-radius:13px;padding:14px 22px;font-size:14px;box-shadow:0 8px 40px #0002;opacity:0;transition:.2s;pointer-events:none;z-index:100;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.footer-note{text-align:center;font-size:12px;color:#9ba18f;margin-top:35px}.text-button{background:none;padding:8px;color:var(--green);font-size:13px}.footer-note button{color:inherit}a{color:var(--green)}.photo-credit{font-size:12px!important;color:#8e9685!important}.profile-form .primary{margin-top:20px}
@media(min-width:1450px){.main{padding-top:64px}.photo-button{height:340px}}@media(max-width:1150px){.workspace{grid-template-columns:215px minmax(300px,1fr);gap:28px}.side{display:none}.main{max-width:920px}.mobile-progress{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:12px}.mobile-progress button{background:none;color:var(--green);padding:0;font-size:12px}.photo-button{height:340px}}@media(max-width:760px){header{height:73px;padding:0 22px}.brand{font-size:21px}.brand-mark{width:32px;height:32px;border-radius:10px}nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffffff5;backdrop-filter:blur(20px);padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);justify-content:space-around;gap:0}.nav-button{flex-direction:column;gap:5px;font-size:11px;padding:7px 22px;position:relative}.nav-button small{position:absolute;top:1px;right:12px}.nav-button.active{background:none;color:var(--green)}.profile-button{width:36px;height:36px}.main{padding:25px 20px 115px;max-width:540px}.intro{margin-bottom:19px}.intro h1{font-size:29px;letter-spacing:-1.3px}.intro .eyebrow{font-size:10px;margin-bottom:8px}.subtitle{font-size:14px}.intro>.quiet-button{display:none}.workspace{display:block}.filters{display:none}.mobile-tools{display:flex;align-items:center;gap:7px;margin:0 0 19px;overflow:auto;padding:2px 0}.mobile-tools button{background:#fff;border:1px solid #e0e5d8;padding:9px 11px;border-radius:11px;white-space:nowrap;font-size:12px;color:#526148;display:flex;align-items:center;gap:6px}.mobile-tools button:first-child{background:var(--green);color:white;border-color:var(--green)}.mobile-tools svg{width:15px;height:15px}.photo-button{height:265px}.recipe-card{border-radius:22px}.recipe-body{padding:20px 21px 16px}.recipe-title h2{font-size:24px}.description{font-size:13px}.stats{padding:16px 0 12px}.stat strong{font-size:16px}.card-actions{margin-top:18px;gap:26px}.action-circle.like{width:64px;height:64px}.action-circle{width:56px;height:56px}.swipe-hint{margin-top:12px}.grid{grid-template-columns:1fr;gap:17px}.grid-photo{height:210px}.selection-bar{bottom:90px;flex-wrap:wrap;padding:15px}.selection-bar .primary{flex:1}.list-top{flex-wrap:wrap}.list-top .secondary{font-size:13px}.shopping-group{padding:18px}.shopping-item .amount{font-size:12px;white-space:nowrap}.shopping-item button{font-size:11px}.footer-note{margin-top:25px}.detail-content{padding:23px}.detail-photo{height:210px}.detail-content h2{font-size:25px}#toast{bottom:100px}.filters-dialog .filters{display:block;padding:0}.filters-dialog .filter-group{margin-bottom:14px;padding-bottom:16px}.filters-dialog h2{margin-bottom:22px}.mobile-progress{font-size:11px}.mobile-progress button{font-size:11px}}@media(max-width:370px){.main{padding-left:14px;padding-right:14px}.photo-button{height:220px}.nav-button{padding:7px 16px}.intro h1{font-size:26px}.recipe-title h2{font-size:22px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* Tactile deck and short, interleaved taste choices. */
.workspace>section{min-width:0}.card-stack{position:relative;isolation:isolate;margin-bottom:9px;--lift:0}.card-stack:before,.card-stack:after{content:'';position:absolute;inset:16px 13px -10px;border:1px solid #dce4d8;background:#e8eee4;border-radius:24px;z-index:-2;transform:translateY(calc(var(--lift)*-5px)) scale(calc(1 + var(--lift)*.015));transition:transform .15s}.card-stack:after{inset:8px 6px -5px;background:#fafff6;z-index:-1}.recipe-card{--drag-x:0px;--drag-y:0px;--drag-r:0deg;--yes:0;--no:0;transform:translate3d(var(--drag-x),var(--drag-y),0) rotate(var(--drag-r));transform-origin:50% 78%;transition:transform .48s cubic-bezier(.22,1.35,.35,1),box-shadow .25s,opacity .28s;cursor:grab;box-shadow:0 15px 40px #263c2310;user-select:none;-webkit-user-select:none}.recipe-card.dragging{transition:box-shadow .2s;cursor:grabbing;box-shadow:0 25px 65px #18372028;will-change:transform}.recipe-card.leaving{transition:transform .28s cubic-bezier(.25,.6,.5,1),opacity .28s;opacity:0;pointer-events:none}.swipe-stamp{position:absolute;z-index:5;top:76px;max-width:85%;padding:10px 16px;border:3px solid currentColor;border-radius:12px;backdrop-filter:blur(12px);font-weight:800;font-family:Manrope,sans-serif;font-size:23px;pointer-events:none;letter-spacing:.5px;line-height:1.2;box-shadow:0 5px 24px #0001}.stamp-right{left:24px;transform:rotate(-10deg);background:#eaffe9ed;color:#25643b;opacity:var(--yes)}.stamp-left{right:24px;transform:rotate(10deg);background:#fff0e9ed;color:#aa4d35;opacity:var(--no)}.recipe-card.dragging .photo-button img{transform:scale(1.035)}.recipe-card .photo-button{cursor:inherit}.taste-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 15px;min-height:26px;color:var(--green);font-size:14px}.taste-strip>span{display:flex;align-items:center;gap:7px;font-weight:500}.taste-strip svg{width:16px;height:16px}.taste-strip button{background:none;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--green);padding:5px 0}.taste-strip small{font-size:12px;color:var(--muted)}.match-reason{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.5;color:var(--green);margin:12px 0 0}.match-reason svg{width:16px;height:16px;flex-shrink:0}.preference-card{min-height:535px;padding:25px;display:flex;flex-direction:column;background:linear-gradient(145deg,#f5f9f0 0%,#e9f2df 48%,#dceacb 100%);border-color:#d7e2cd}.preference-top{display:flex;align-items:center;justify-content:space-between;color:#48663d;font-size:12px;gap:12px}.preference-label{text-transform:uppercase;letter-spacing:1.6px;font-weight:700}.preference-icon{width:94px;height:94px;display:grid;place-items:center;margin:48px auto 31px;border-radius:30px;color:#285541;background:#ffffff9c;box-shadow:inset 0 1px 0 #fff,0 15px 36px #466b3510;transform:rotate(-7deg)}.preference-icon svg{width:43px;height:43px;stroke-width:1.4;transform:rotate(7deg)}.preference-copy{text-align:center;max-width:355px;margin:0 auto 30px}.preference-copy h2{font-size:32px;line-height:1.18;letter-spacing:-1.2px;color:#244632;margin:0 0 16px;text-wrap:balance}.preference-copy p{font-size:16px;line-height:1.6;color:#5b7050;margin:0;text-wrap:balance}.preference-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}.preference-options button{border-radius:15px;padding:17px 10px;background:#ffffffa6;border:1px solid #ffffffd9;color:#304f32;text-align:center;min-height:87px;transition:background .2s,transform .2s}.preference-options button:last-child{background:#285541;color:#fff;border-color:#285541}.preference-options button:hover{transform:translateY(-3px)}.preference-options span{font-size:14px;font-weight:600;display:block;line-height:1.4}.preference-options small{font-size:12px;display:block;line-height:1.4;margin-top:6px;opacity:.8}.preference-footer{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:24px}.ingredient-photo{width:132px;height:132px;object-fit:cover;border-radius:50%;margin:25px auto 23px;border:6px solid #fff9;box-shadow:0 12px 30px #38542c20}.preference-card .swipe-stamp{font-size:19px;top:80px}.action-circle:active{transform:scale(.91)}.action-circle.like:hover{box-shadow:0 9px 26px #28554140}.recipe-body .eyebrow{font-size:12px}.tag{font-size:12px}.description{font-size:16px}.swipe-hint{font-size:13px}.mini-recipe strong{font-size:14px}.mini-recipe span{font-size:12px}.small-copy{font-size:14px}.shortlist-head span{font-size:14px}
@media(max-width:760px){.preference-card{min-height:480px;padding:23px 20px}.preference-icon{margin-top:38px;margin-bottom:28px;width:80px;height:80px;border-radius:26px}.preference-copy h2{font-size:30px}.preference-copy{margin-bottom:27px}.preference-options{gap:8px}.preference-options button{padding:14px 8px}.taste-strip{gap:6px}.taste-strip>span{font-size:13px}.taste-strip small{font-size:12px}.recipe-card .description{font-size:16px}.mobile-progress,.mobile-progress button{font-size:12px}.mobile-tools button{font-size:14px}.nav-button{font-size:12px}.main{overflow:clip}.preference-card .ingredient-photo{width:120px;height:120px;margin-top:23px;margin-bottom:23px}}
@media(prefers-reduced-motion:reduce){.recipe-card{transform:translateX(var(--drag-x))}.preference-options button:hover,.action-circle:hover{transform:none}}
.taste-tags{margin:18px 0}.taste-tags .tag{font-size:14px;padding:9px 12px}
/* The discovery deck occupies the viewport; full recipes scroll in a dialog. */
html.swipe-mode,html.swipe-mode body{height:100%;overflow:hidden;overscroll-behavior:none}
.swipe-mode #app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.swipe-mode header{height:72px;flex:none}
.swipe-mode .main{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding:20px 32px 14px;overflow:hidden}
.swipe-mode .intro{flex:none;margin-bottom:14px}
.swipe-mode .intro h1{font-size:28px;margin:0}
.swipe-mode .intro .eyebrow,.swipe-mode .intro .subtitle,.swipe-mode .footer-note{display:none}
.swipe-mode .workspace{flex:1;min-height:0;align-items:stretch}
.swipe-mode .workspace>section{min-height:0;display:flex;flex-direction:column}
.swipe-mode .workspace>.filters,.swipe-mode .side{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.swipe-mode .taste-strip{flex:none;margin:0 0 8px}
.swipe-mode .card-stack{flex:1;min-height:0;margin-bottom:8px}
.swipe-mode .recipe-card{height:100%;display:flex;flex-direction:column;touch-action:none;-webkit-touch-callout:none}
.swipe-mode .recipe-card.dragging{transition:none}
.swipe-mode .recipe-card .photo-button{flex:1;min-height:0;height:auto}
.swipe-mode .recipe-card img,.swipe-mode .recipe-card .photo-button:hover img,.swipe-mode .recipe-card.dragging .photo-button img{transform:none;transition:none;pointer-events:none;-webkit-user-drag:none}
.swipe-mode .recipe-body{flex:none;padding:15px 20px}
.recipe-heading{display:flex;align-items:center;gap:12px}
.recipe-heading h2{flex:1;font-size:24px;line-height:1.2;letter-spacing:-.7px;margin:0}
.detail-arrow{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--green)}
.detail-arrow svg{transform:rotate(-90deg)}
.swipe-mode .recipe-body .description,.swipe-mode .recipe-body .tags{display:none}
.swipe-mode .stats{padding:10px 0 0;margin:0}
.swipe-mode .match-reason{margin:7px 0 0;font-size:13px}
.swipe-mode .card-actions,.swipe-mode .preference-footer{flex:none;margin-top:12px;gap:24px}
.swipe-mode .swipe-hint{flex:none;margin:8px 0 0;font-size:12px}
.swipe-mode .preference-card{min-height:0;padding:20px;justify-content:space-between;gap:10px}
.swipe-mode .preference-icon{flex:none;width:66px;height:66px;margin:0 auto;border-radius:22px}
.swipe-mode .preference-copy{margin:0 auto}
.swipe-mode .preference-copy h2{font-size:clamp(22px,3.5vh,30px);margin-bottom:10px}
.swipe-mode .preference-copy p{font-size:16px;line-height:1.45}
.swipe-mode .preference-options{margin-top:0;flex:none}
.swipe-mode .preference-options button{min-height:70px;padding:12px 8px}
.swipe-mode .preference-options button:hover{transform:none}
.swipe-mode .preference-card .ingredient-photo{width:80px;height:80px;min-height:0;margin:0 auto;flex-shrink:1}
.swipe-stamp{display:flex;align-items:center;gap:9px;top:70px!important;font-size:16px!important;padding:12px;max-width:calc(100% - 40px)}
.swipe-stamp svg{width:32px;height:32px;flex:none;stroke-width:2.5}
.stamp-right svg{fill:currentColor}
.illustration-label{position:absolute;bottom:12px;left:16px;padding:5px 8px;border-radius:6px;color:white;background:#142018a6;font-size:12px;pointer-events:none}
dialog{overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}
.dialog-close{position:sticky;float:right;top:12px;margin:12px 12px -49px 0;width:42px;height:42px}
@media(max-width:760px){
 .swipe-mode header{height:58px;padding:0 18px}
 .swipe-mode .main{padding:12px 16px calc(88px + env(safe-area-inset-bottom))}
 .swipe-mode .intro{margin-bottom:10px}
 .swipe-mode .intro h1{font-size:24px}
 .swipe-mode .mobile-tools{flex:none;overflow:hidden;flex-wrap:wrap;margin-bottom:10px;padding:0;gap:6px}
 .swipe-mode .mobile-tools button{font-size:12px;padding:7px 10px}
 .swipe-mode .mobile-tools button:nth-child(2){display:none}
 .swipe-mode .workspace{display:flex;flex-direction:column}
 .swipe-mode .workspace>section{flex:1}
 .swipe-mode .side{display:none}
 .swipe-mode .mobile-progress{flex:none;margin-bottom:6px}
 .swipe-mode .taste-strip{min-height:20px;margin-bottom:7px}
 .swipe-mode .taste-strip small{display:none}
 .swipe-mode .recipe-body{padding:12px 15px}
 .recipe-heading h2{font-size:22px}
 .swipe-mode .recipe-body .eyebrow{font-size:12px;margin-bottom:4px}
 .swipe-mode .stat strong{font-size:16px}
 .swipe-mode .card-actions .action-circle{width:48px;height:48px}
 .swipe-mode .card-actions .like{width:56px;height:56px}
 .swipe-mode .card-actions .undo{width:40px;height:40px}
 .swipe-mode .preference-footer{margin-top:10px}
 .swipe-mode .preference-card{padding:16px;gap:8px}
 dialog{width:100%;max-width:650px;max-height:94dvh;margin:auto auto 0;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom)}
}
@media(max-height:740px){
 .swipe-mode .intro,.swipe-mode .taste-strip,.swipe-mode .swipe-hint{display:none}
 .swipe-mode .match-reason{display:none}
 .swipe-mode .preference-icon{width:48px;height:48px;border-radius:16px}
 .swipe-mode .preference-icon svg{width:28px;height:28px}
 .swipe-mode .preference-options small{display:none}
 .swipe-mode .preference-options button{min-height:48px}
}
@media(max-height:500px){
 .swipe-mode header{height:48px}
 .swipe-mode .mobile-tools,.swipe-mode .mobile-progress,.swipe-mode .preference-icon,.swipe-mode .ingredient-photo,.swipe-mode .preference-copy p{display:none}
 .swipe-mode .recipe-card:not(.preference-card){flex-direction:row}
 .swipe-mode .recipe-card .photo-button{flex:1}
 .swipe-mode .recipe-body{width:58%;align-self:center}
 .swipe-mode .preference-card{gap:5px;padding:12px}
 .swipe-mode .main{padding-top:6px}
}
/* Recipe-source metadata and category controls extend the existing discovery surface. */
.category-mobile{min-width:0;flex:1;max-width:180px;border:1px solid #dce4d8;border-radius:11px;background:white;color:var(--green);padding:8px;font:inherit;font-size:13px}
.filters .select-input+.segmented{margin-top:14px}
.source-credit{font-size:14px!important}
.source-link{text-decoration:none}
.ingredient-line{gap:18px;align-items:flex-start}
.ingredient-line>span:last-child{text-align:right;max-width:48%;overflow-wrap:anywhere}
.swipe-mode .illustration-label{max-width:calc(100% - 32px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.swipe-mode .mobile-tools{flex-wrap:nowrap}.swipe-mode .mobile-tools button:nth-child(n+3){display:none}.swipe-mode .mobile-tools .category-mobile{max-width:none}.swipe-mode .mobile-tools button{flex-shrink:0;min-height:36px}.swipe-mode .recipe-heading h2{font-size:20px}}
/* Small, directional feedback stays beside the deck while the card follows the hand. */
.card-stack{--edge-yes:0;--edge-no:0}
.swipe-mode .recipe-card{transform-origin:50% 50%;transform:translate3d(var(--drag-x),var(--drag-y),0) rotate(var(--drag-r)) scale(var(--drag-scale,1));transition:transform .44s cubic-bezier(.22,1.18,.36,1),box-shadow .2s,opacity .24s}
.swipe-mode .recipe-card.dragging{transition:none;box-shadow:0 24px 48px #18372026;will-change:transform}
.swipe-mode .recipe-card.leaving{transition:transform var(--exit-duration,460ms) cubic-bezier(.32,.15,.55,1),opacity calc(var(--exit-duration,460ms)*.3) linear calc(var(--exit-duration,460ms)*.7);opacity:0}
.swipe-edge{position:absolute;top:43%;z-index:8;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;pointer-events:none;transition:opacity .15s,transform .15s;box-shadow:0 6px 20px #1227171a}
.swipe-edge svg{width:25px;height:25px;stroke-width:2.5}
.swipe-edge-right{right:-9px;background:#e4f7e9;color:#247746;opacity:var(--edge-yes);transform:translateY(-50%) scale(calc(.75 + var(--edge-yes)*.25))}
.swipe-edge-right svg{fill:currentColor}
.swipe-edge-left{left:-9px;background:#fff0eb;color:#c05943;opacity:var(--edge-no);transform:translateY(-50%) scale(calc(.75 + var(--edge-no)*.25))}
.swipe-edge-right:before,.swipe-edge-left:before{content:'';position:absolute;inset:-14px;border-radius:50%;background:inherit;opacity:.28;z-index:-1}
.swipe-stamp{font-size:13px!important;top:68px!important;padding:8px 10px;gap:6px;border-width:2px;box-shadow:none;backdrop-filter:none}
.swipe-stamp svg{width:20px;height:20px}.stamp-right{left:18px}.stamp-left{right:18px}
.card-stack:before,.card-stack:after{transition:transform .28s cubic-bezier(.22,1,.36,1)}
.action-circle{touch-action:manipulation}.detail-arrow{transition:background .18s,transform .18s}.detail-arrow:active{transform:scale(.93);background:#dce8dd}
@media(prefers-reduced-motion:reduce){.swipe-mode .recipe-card{transform:translateX(var(--drag-x));transition:none}.swipe-edge{transform:translateY(-50%);transition:none}.card-stack:before,.card-stack:after{transform:none}.swipe-mode .recipe-card.dragging{box-shadow:0 15px 40px #263c2310}}
.occasion-picker{display:flex;align-items:center;gap:12px;flex:none;margin:0 0 12px}.occasion-picker label{font-size:14px;font-weight:600}.occasion-picker select{background:var(--green);color:white;border:0;border-radius:12px;padding:11px 34px 11px 14px;font:inherit;font-size:15px;font-weight:600;max-width:240px;min-width:0}.occasion-picker .text-button{margin-left:auto;min-height:44px;min-width:44px}.occasion-note{font-size:13px;color:var(--muted);margin:0 0 10px;flex:none}.legacy-prep{display:none}
@media(max-width:760px){.occasion-picker{gap:8px;margin-bottom:8px}.occasion-picker label{font-size:13px}.occasion-picker select{flex:1;padding:10px 8px;font-size:14px}.occasion-picker .text-button{padding:7px;min-width:36px;min-height:36px}.occasion-note{font-size:12px;line-height:1.4;margin-bottom:7px}.swipe-mode .intro{display:none}}
@media(max-height:620px){.occasion-picker label,.occasion-note{display:none}.occasion-picker{margin-bottom:5px}.swipe-mode .mobile-tools{margin-bottom:5px}}

/* A visual opening choice, with the swipe surface one tap away. */
.moment-screen{width:100%;max-width:940px;margin:auto;min-height:0;padding:12px 0 20px}.moment-heading{text-align:center;margin-bottom:24px}.moment-heading h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1.3px;line-height:1.1;margin:8px 0 12px}.moment-heading p:last-child{font-size:16px;color:var(--muted);margin:0}.moment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.moment-tile{position:relative;isolation:isolate;min-height:170px;aspect-ratio:1.1;border:0;border-radius:22px;overflow:hidden;text-align:left;color:white;background:#265241;box-shadow:0 5px 16px #18392812;transition:transform .2s,box-shadow .2s}.moment-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .3s}.moment-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#10251e00 10%,#10251e55 42%,#081e17f5 100%);z-index:-1}.moment-caption{position:absolute;bottom:16px;left:16px;right:12px}.moment-caption strong{display:block;font-size:21px;line-height:1.2;margin-bottom:5px}.moment-caption>span{display:block;font-size:14px;line-height:1.35;color:#ffffffeb}.moment-go{position:absolute;right:12px;top:12px;width:30px;height:30px;display:grid;place-items:center;background:#18392865;border:1px solid #ffffff66;border-radius:50%}.moment-go svg{width:17px;height:17px}.moment-tile:active{transform:scale(.96)}.moment-tile:focus-visible{outline:3px solid var(--green);outline-offset:4px}.moment-resume{display:flex;margin:18px auto 0;align-items:center;gap:8px}.moment-switch{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--green);padding:8px 0;min-height:44px;text-align:left}.moment-switch strong{font-size:16px}.moment-switch span{font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.moment-mode .main{overflow:auto;overscroll-behavior:contain}.moment-mode .footer-note{display:none}
@media(hover:hover){.moment-tile:hover{transform:translateY(-4px);box-shadow:0 12px 24px #18392825}.moment-tile:hover img{transform:scale(1.04)}}
@media(max-width:760px){.moment-screen{max-width:480px;padding:4px 0 8px}.moment-heading{margin-bottom:16px}.moment-heading h1{font-size:30px}.moment-heading .eyebrow{margin:0}.moment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.moment-tile{min-height:112px;aspect-ratio:1.65;border-radius:17px}.moment-caption{left:12px;bottom:12px;right:8px}.moment-caption strong{font-size:19px;margin-bottom:3px}.moment-caption>span{font-size:14px}.moment-go{right:8px;top:8px;width:25px;height:25px}.moment-switch{gap:8px}.moment-switch span{font-size:14px}}
@media(prefers-reduced-motion:reduce){.moment-tile,.moment-tile img{transition:none}.moment-tile:hover,.moment-tile:hover img,.moment-tile:active{transform:none}}

.quick-picks{display:flex;gap:7px;flex:none;overflow-x:auto;scrollbar-width:none;padding:0 1px 9px;margin-bottom:4px}.quick-picks button{flex:none;padding:8px 13px;border-radius:18px;background:#fff;border:1px solid var(--line);font-size:14px;color:var(--green);min-height:36px}.quick-picks button.active{background:var(--green);border-color:var(--green);color:#fff}.occasion-tag{background:#dcebdc;color:#244632}.mealprep-note{padding:14px;background:var(--soft);border-radius:12px;line-height:1.5}.quick-picks::-webkit-scrollbar{display:none}@media(max-height:650px){.quick-picks{padding-bottom:5px;margin-bottom:0}.quick-picks button{padding:5px 10px;min-height:32px}}

.quick-picks .quick-filter{display:none}@media(max-width:760px){.swipe-mode .mobile-tools{display:none}.quick-picks .quick-filter{display:flex;align-items:center;gap:5px;position:sticky;left:0;z-index:1;background:#f7f7f5}.quick-filter svg{width:16px;height:16px}.quick-picks{padding-bottom:7px}}
