html,body{background:var(--bg)}.stage{padding:0;height:100dvh}.phone{width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none}.notch{display:none}.top{height:auto;min-height:76px;padding:calc(16px + env(safe-area-inset-top)) 20px 12px}.bottom{padding-bottom:calc(12px + env(safe-area-inset-bottom));height:auto}.sheetHead{height:auto;padding:calc(16px + env(safe-area-inset-top)) 18px 12px}.sheetFoot{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.notice{position:fixed;top:0;left:0;right:0;background:#2d1b12;color:#fff;text-align:center;padding:8px;z-index:200;font-size:12px}.adminInput{width:100%;padding:12px;border-radius:14px;border:1px solid var(--line);margin:5px 0 12px}@media(min-width:650px){.stage{padding:20px}.phone{max-width:430px;border-radius:28px;box-shadow:var(--shadow)}}.detailHero{height:auto;aspect-ratio:4/3;max-height:480px;overflow:hidden;margin-bottom:20px;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.detailHero>img{display:block;min-width:0;min-height:0;border-radius:inherit}.photo{overflow:hidden}.photo>img{display:block;border-radius:inherit}.recipeDates{font-size:11px;color:var(--muted);line-height:1.5;margin:10px 0 4px}.weeklyMeal{padding:12px 0;border-bottom:1px solid var(--line)}.weeklyMeal:last-child{border-bottom:0}.weeklyMeal button{margin:4px 6px 4px 0}.plannerCalendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:18px 0}.calendarWeekday{text-align:center;font-size:12px;color:var(--muted);padding:8px 0}.calendarDay{position:relative;min-height:46px;padding:8px 2px 14px;border:1px solid var(--line);border-radius:13px;background:#fffaf4;font-weight:850;color:var(--text);cursor:pointer}.calendarDay.planned{background:#e0efd9;border-color:#7aa36a;color:#2d5c30}.calendarDay.outside{opacity:.5}.calendarDay.today{box-shadow:inset 0 0 0 2px var(--brand)}.calendarDot{position:absolute;bottom:3px;left:0;right:0;text-align:center;font-size:9px}.calendarDay:disabled{cursor:wait}.stockCategory{margin:22px 0}.stockCategory h3{font-size:16px;margin-bottom:10px}.stockItem{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;gap:12px;align-items:center;width:100%;padding:16px 14px;margin-bottom:8px;border:1px solid var(--line);border-radius:18px;background:#fffaf4;color:var(--text);text-align:left;cursor:pointer;font-size:14px}.stockItem strong{font-size:13px;color:var(--brand2);max-width:140px}.stockArrow{color:var(--muted);font-size:22px}.stockItem.emptyStock{opacity:.65}.expiredStock{border-color:#c27c65;background:#fff0e9}.shoppingBuyRow{padding-bottom:14px;border-bottom:1px solid var(--line);margin-bottom:12px}.shoppingBuyRow .checkRow{margin:0 0 8px;border-bottom:0}.shoppingBuyRow .card{margin-top:12px}.page :is(.btn,.iconBtn)+:is(.btn,.iconBtn),.sheetBody :is(.btn,.iconBtn)+:is(.btn,.iconBtn){margin-block-start:12px;margin-inline-start:10px}.page .btn.full,.sheetBody .btn.full{display:block;margin-inline:0}.page .btn.full+.btn,.sheetBody .btn.full+.btn{margin-inline-start:0}.row,.between,.sheetFoot{gap:12px}.row{flex-wrap:wrap}.row>.btn{flex:1 1 auto;min-width:0}.page :is(.row,.between)>.btn,.page :is(.row,.between)>.iconBtn,.sheetFoot>.btn{margin:0}.page>.btn,.page>[data-page-edit]{margin-block:12px}.accountActions{display:flex;flex-direction:column;gap:12px;margin-top:16px}.page .accountActions>.btn{width:100%;margin:0;text-align:left}#adminProfileCopy,#adminButton{display:block;width:100%;margin:12px 0}.optionGrid,.wrap{gap:12px}.socialActions{display:flex;flex-direction:column;gap:12px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.page .socialActions>.btn{margin:0;width:100%}.socialActions>.p{margin:0}.authFeedback:empty{display:none}.authFeedback{padding:12px;border-radius:16px;background:#f7e9dd;font-size:14px;line-height:1.5}#passwordRecovery .field{display:block;margin-top:14px}#passwordRecovery .btn{margin-inline:0;margin-top:12px}#authEmailForm{display:grid;gap:16px;padding:20px;margin-top:20px;scroll-margin-top:16px}#authEmailForm>h3{margin:0;line-height:1.3}#authEmailForm>.p{margin:0;line-height:1.5}#authEmailForm>.field{display:block;min-width:0;margin:0}#authEmailForm .field>label{display:block;margin-bottom:8px}#authEmailForm .field>input{display:block;width:100%;min-width:0;min-height:28px}.page #authEmailForm>.btn{margin:0;width:100%}#authEmailForm>.authFeedback{margin:0;overflow-wrap:anywhere}.installSteps{padding-left:22px;margin:16px 0}.installSteps li{padding-left:5px;margin-bottom:16px;line-height:1.5}.phone{max-height:100dvh}.app>.top,.sheet>.sheetHead{flex-shrink:0;position:relative}.app>.bottom,.sheet>.sheetFoot{position:relative;flex:0 0 auto;inset:auto}.content,.sheetBody{min-height:0;padding-top:24px;padding-bottom:48px;scroll-padding-block:24px 48px;overscroll-behavior-y:contain}.content>.page{min-height:100%;display:none}.content>.page.active{display:flow-root}.pwaConnection{padding:10px 18px;background:#fff0da;color:#69432a;font-size:13px;line-height:1.4;flex:0 0 auto}.pwaConnection[hidden]{display:none}.pwaUpdate{position:absolute;left:16px;right:16px;bottom:calc(96px + env(safe-area-inset-bottom));padding:16px;background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);z-index:110;display:flex;flex-wrap:wrap;gap:12px}.pwaUpdate[hidden]{display:none}.pwaUpdate p{width:100%;margin:0;line-height:1.4}.pwaUpdate button{flex:1;margin:0}#detailContent{--recipe-section-gap:40px}#detailContent>.section{margin:var(--recipe-section-gap) 0 16px;line-height:1.3}#detailContent>.recipeTitle{margin-top:18px;margin-bottom:14px;font-size:24px}#detailContent>.prepToolbar{margin-top:var(--recipe-section-gap);margin-bottom:18px;gap:16px}#detailContent>.commentPanel{margin-top:var(--recipe-section-gap)}#detailContent>.kitchenPrep,#detailContent>.noteBox{padding:20px}#detailContent>.kitchenPrep+.noteBox{margin-top:18px}#detailContent>.noteBox+.table{margin-top:18px}#detailContent>.comboCard+.comboCard{margin-top:14px}#detailContent .table td,#detailContent .table th{padding-top:14px;padding-bottom:14px}#detailContent>#g6pdWarning{margin-top:18px;margin-bottom:0}@media(min-width:768px){#detailContent{--recipe-section-gap:56px}#detailContent>.kitchenPrep,#detailContent>.noteBox{padding:24px}}.searchSubmit{border:0;background:transparent;padding:8px 0;font-size:18px;line-height:1;flex:0 0 auto;cursor:pointer}.searchSubmit:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:4px}#recipeSort{appearance:none;-webkit-appearance:none;padding:12px 40px 12px 12px;font-size:16px;color:var(--text);background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%236b4b38' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 12px}@media(forced-colors:active){#recipeSort{appearance:auto;-webkit-appearance:auto;background-image:none}}:is(#home,#recipes) .searchFilters{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 10px;border-radius:14px;min-height:40px;font-size:14px;white-space:nowrap}:is(#home,#recipes) .searchFilters .premiumBadge{font-size:12px;padding:3px 6px}.filterChip{display:inline-flex;align-items:center;gap:8px;min-height:40px;cursor:pointer;color:var(--text);font-family:inherit;max-width:100%;text-align:left;overflow-wrap:anywhere}.filterChip>span{font-size:18px;line-height:1;flex-shrink:0;color:var(--muted)}.filterChip:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.filterOptionName{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.filterOptionCount{margin-left:auto;flex-shrink:0;min-width:26px;text-align:center;padding:3px 6px;border-radius:8px;background:#f7e9dd;color:var(--muted);font-size:12px;line-height:1.4}.checkRow.filterUnavailable{opacity:.45;cursor:not-allowed}.checkRow input:disabled{cursor:not-allowed}.filterUnavailableHeading{margin:20px 0 6px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.5;font-weight:600}.ingredientGroup{border-bottom:1px solid var(--line,#e7e5df);padding:8px 0}.ingredientGroup summary{cursor:pointer;padding:12px 4px;font-weight:600;line-height:1.5}.ingredientGroup summary small{font-weight:400;color:var(--muted,#777);margin-left:8px}.ingredientGroupRows{padding:4px 4px 12px}.recipePicker{width:min(960px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:auto;border:0;background:var(--bg);color:var(--text);padding:0;overflow-y:auto;overscroll-behavior:contain;border-radius:24px}.recipePicker::backdrop{background:#2d1b128c}.pickerHeader{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:calc(18px + env(safe-area-inset-top)) 20px 18px;background:var(--bg);position:sticky;top:0;z-index:2;border-bottom:1px solid var(--line)}.pickerHeader h2{font-size:21px}.pickerControls{padding:20px}.pickerFilters>summary,.pickerFilterGroup>summary{cursor:pointer;padding:14px 0;font-weight:700}.pickerFilterGroup{border-bottom:1px solid var(--line)}.pickerResults{padding:0 20px calc(40px + env(safe-area-inset-bottom));display:grid;gap:16px}.pickerRecipe{display:grid;grid-template-columns:100px 1fr;gap:16px;margin:0;align-items:center}.pickerPhoto{width:100px;height:100px;border-radius:20px;overflow:hidden;display:grid;place-items:center;font-size:38px;background:#f1dcc9}.pickerPhoto img{width:100%;height:100%;object-fit:cover}.pickerRecipe h3{font-size:17px}.pickerRecipe .btn{margin-top:8px}.pickerControls .wrap{margin-top:14px}.plannerSelectedPhoto{width:100%;max-height:180px;object-fit:cover;border-radius:18px;margin-bottom:16px}@media(min-width:768px){.recipePicker{height:90dvh}.pickerResults{grid-template-columns:1fr 1fr}}@media(max-width:767px){.recipePicker{border-radius:0}.pickerRecipe{grid-template-columns:76px 1fr}.pickerPhoto{width:76px;height:90px}.pickerHeader .btn{padding:10px}}#profileContent>[data-planner-personal]{display:flex;flex-direction:column;gap:24px}#profileContent>[data-planner-personal]>.card{margin:0;padding:24px}.profileIdentity{display:flex;align-items:center;gap:18px;margin-bottom:28px}.profileIdentity .profilePhoto{width:80px;height:80px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#f1dcc9;font-size:30px;font-weight:800;overflow:hidden}.profileIdentity .profilePhoto img{width:100%;height:100%;object-fit:cover}.profileIdentity h3{overflow-wrap:anywhere}.profileDetails{margin:16px 0 24px}.profileDataRow{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.5fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5}.profileDataRow dt{color:var(--muted)}.profileDataRow dd{margin:0;overflow-wrap:anywhere;font-weight:600}.profilePlan .between{margin-top:20px}.profilePlanName{font-size:28px}.profilePlan .btn{margin-top:16px}.profileAccount .accountActions{display:flex;flex-direction:column;gap:14px;margin-top:22px}.profileAccount .accountActions>.btn{width:100%;margin:0;text-align:left}.profileDanger{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}.profileDanger h4{margin:0}.dangerAction{color:#9a302a!important;border-color:#d7aaa4!important;width:100%;margin:10px 0 0!important}#profileAccountForm{margin-top:24px}@media(min-width:768px){#profileContent>[data-planner-personal]{max-width:820px;margin-inline:auto;width:100%}.profileDataRow{grid-template-columns:1fr 2fr}}.profilePreferenceGroup{border:1px solid var(--line);border-radius:18px;margin:14px 0;background:#fffaf4;overflow:hidden}.profilePreferenceGroup summary{cursor:pointer;padding:18px;font-weight:700}.profilePreferenceGroup>div{padding:0 12px 12px;max-height:340px;overflow-y:auto}.profileRestriction{margin-top:16px}.profileRestriction .btn{margin-top:10px}@media(min-width:768px){.stage{padding:0;width:100%;height:100dvh}.phone{width:100%;height:100%;max-width:none;max-height:100dvh;border:0;border-radius:0;box-shadow:none}.content{padding:28px 32px 56px;scroll-padding-block:28px 56px}.content>.page{max-width:1200px;margin-inline:auto}.top{padding-inline:32px}.h1{font-size:36px;line-height:1.15}.p{font-size:16px;line-height:1.55}.meta,.nav{font-size:12px}#recipeList,#homeList,#favList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}#recipeList>.card,#homeList>.card,#favList>.card{margin-bottom:0}#recipeList>.empty,#homeList>.empty,#favList>.empty{grid-column:1 / -1}.recipe>*,.page,.formGrid>*{min-width:0}.recipe h3,.stockItem,.p,.step{overflow-wrap:anywhere}.recipe h3{line-height:1.35}.hero{padding:32px}.premiumSuite,.freePremium,.menuPair{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.plannerCalendar{gap:10px}.calendarDay{min-height:70px;font-size:16px}.calendarWeekday{font-size:14px}#signup,#passwordRecovery,#pwaHelp,#profile{max-width:760px}.formGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.formGrid>.btn,.formGrid>.p,.formGrid>.checkRow,.formGrid>.field:has(textarea){grid-column:1 / -1}.sheet{left:auto;right:0;width:min(640px,100%);box-shadow:-16px 0 48px #4a2a1629}.sheetBody{padding-inline:28px;padding-bottom:56px}.sheetHead,.sheetFoot{padding-inline:28px}.content::-webkit-scrollbar,.sheetBody::-webkit-scrollbar{display:block;width:8px}.content::-webkit-scrollbar-thumb,.sheetBody::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}}@media(min-width:900px){#plannerContent{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:18px 28px;align-items:start}#plannerTitle,#plannerIntro{grid-column:1 / -1;margin:0}#weeklyPlan{grid-column:1;grid-row:3 / span 3;min-width:0}#shoppingTitle{grid-column:2;grid-row:3;margin:0}#weeklyShopping{grid-column:2;grid-row:4;min-width:0}#stockEntries .stockCategory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#stockEntries .stockCategory>h3{grid-column:1 / -1}#stockEntries .stockItem{margin-bottom:0}}@media(min-width:1100px){.app{display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}.app>.top{grid-column:1 / -1;grid-row:1;min-height:80px;padding:20px 32px}.app>.pwaConnection{grid-column:2;grid-row:2}.app>.content{grid-column:2;grid-row:3;padding:32px clamp(24px,4vw,64px) 64px}.app>.bottom{grid-column:1;grid-row:2 / span 2;position:relative;width:auto;height:auto;padding:24px 14px;border-top:0;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}.bottom>.nav{flex-direction:row;justify-content:flex-start;gap:12px;padding:14px 16px;border-radius:18px;font-size:14px;text-align:left;min-height:52px}.bottom>.nav.active{background:#f7e9dd}.bottom>.nav:hover{background:#f6e8d9}.bottom>.nav span{font-size:23px}.nav:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.pwaUpdate{left:auto;right:24px;bottom:24px;width:min(520px,calc(100% - 238px))}}@media(min-width:1400px){#recipeList,#homeList,#favList{grid-template-columns:repeat(3,minmax(0,1fr))}}

#profile .formGrid{grid-template-columns:minmax(0,1fr);gap:18px}#profile .formGrid>.profilePreferenceGroup{margin:0}#profile .profileDataRow{grid-template-columns:minmax(0,1fr);gap:6px}#profile .profilePreferenceSearch{width:100%;box-sizing:border-box;margin:4px 0 12px;font-size:16px}#profile .profilePreferenceGroup [hidden]{display:none!important}#profile .profileSearchEmpty{padding:12px;color:var(--muted)}

#profile .profilePreferenceGroup>.profileScrollViewport{position:relative;padding:0;max-height:none;overflow:hidden}#profile .profileScrollOptions{max-height:340px;overflow-y:auto;padding:0 24px 12px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}#profile .profileScrollOptions::-webkit-scrollbar{display:none}#profile .profileScrollRail{position:absolute;right:7px;top:8px;bottom:12px;width:3px;border-radius:4px;background:rgba(90,58,38,.09);pointer-events:none}#profile .profileScrollThumb{position:absolute;top:0;left:0;width:3px;min-height:24px;border-radius:4px;background:rgba(90,58,38,.44)}#profile .profileScrollOptions:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

#profile .profileIdentity{display:flex;justify-content:flex-start;align-items:center;margin-bottom:24px}#profile .profileIdentity .profilePhoto{margin:0;flex:none}#profile .profileOverview>h3,#profile .profileOverview>div:not(.profileIdentity){text-align:left}#profile .profileOverview>h3{margin:0 0 14px}#profile .profileOverview>div:not(.profileIdentity)>h3{margin:0;text-align:left;font-size:18px}

#profile .profilePreferenceGroup{background:#fff;border:1px solid var(--line);border-radius:18px}#profile .profilePreferenceGroup>summary{padding:18px;color:var(--ink);font-size:16px;line-height:1.4}#profile .profileScrollViewport,#profile .profileScrollOptions{background:#fff}

/* Consistent disclosure arrows throughout the app. */
details>summary,#profile .profilePreferenceGroup>summary{position:relative;display:block;list-style:none;text-align:left;padding-right:44px}details>summary::-webkit-details-marker{display:none}details>summary::marker{content:""}details>summary::after{content:"";position:absolute;right:19px;top:50%;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none;opacity:.65}details[open]>summary::after{transform:translateY(-25%) rotate(225deg)}select{text-align:left}

#profile #realProfileTitle{margin-bottom:28px}#profile #realProfileData>.profileOverview{margin-top:0}

#recipeFilters .recipeFilterOptionSearch{width:100%;box-sizing:border-box;background:#fff;margin:4px 0 16px;font-size:16px}#recipeFilters .recipeFilterSearchEmpty{padding:12px 0;color:var(--muted)}#recipeFilters [hidden]{display:none!important}

#profile .profileSectionHeading{grid-column:1 / -1;text-align:left;font-size:18px;line-height:1.4;margin:28px 0 6px}#profile .formGrid>.profileSectionHeading:first-child{margin-top:0}#profile .profileFieldHelp{display:block;font-size:14px;font-weight:400;line-height:1.6;color:var(--muted);margin:8px 0 0}#profile .formGrid>.profileFieldHelp{margin:0}#profile .profileAutomaticFilters{margin:24px 0;padding:18px}#profile .profileAutomaticFilters h4{margin:0 0 10px;font-size:16px}#profile .profileAutomaticFilters ul{padding-left:20px;margin:10px 0 0;line-height:1.6}#profile .profileAutomaticFilters li+li{margin-top:6px}

#profile .profileFieldError{display:block;color:#9a302a;font-size:14px;line-height:1.5;margin-top:8px}#profile input[aria-invalid=true]{outline:2px solid #9a302a;outline-offset:3px}#profile .profileFormError{padding:16px;background:#fff0ec;color:#9a302a;border:1px solid #dca79b;border-radius:16px;line-height:1.6}#profile .profileSaveStatus{padding:14px 16px;background:#edf4e9;color:#315527;border-radius:16px;line-height:1.5}#profile .profilePhotoPreview{width:96px;height:96px;object-fit:cover;border-radius:50%;display:block}#profile button:disabled{opacity:.65;cursor:wait}#profile input:focus-visible,#profile summary:focus-visible,#profile button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}

/* Align the brand name and subtitle with the visible logo edges. */
.top .headerBrand{display:flex;align-items:center;gap:12px;min-width:0}.top .headerBrandMark{display:block;width:70px;height:56px;flex:0 0 70px;object-fit:contain;border-radius:0}.top .headerBrandText{display:flex;flex-direction:column;justify-content:space-between;min-height:50px;gap:8px;padding:0;min-width:0}.top .logo{display:block;line-height:1;font-size:21px;letter-spacing:2px;font-weight:750}.top .sub{margin:0;line-height:1.2;font-size:12px;letter-spacing:.2px}.top{gap:16px}.top .avatar{flex-shrink:0}@media(max-width:360px){.top .headerBrand{gap:9px}.top .logo{font-size:20px;letter-spacing:1.5px}}

/* Balanced 40px header controls. Preserve the logo proportions. */
.top .headerBrandMark{width:40px;height:40px;flex-basis:40px;object-fit:contain}.top .headerBrandText{height:40px;min-height:40px;gap:5px;justify-content:space-between}.top .headerBrand{gap:10px}.top .avatar{width:40px;height:40px;flex:0 0 40px}.top .logo{font-size:20px;line-height:1.1}.top .sub{line-height:1.2}

/* Suppress double-tap zoom on touch devices, retaining scrolling and pinch zoom. */
@media (hover:none) and (pointer:coarse){html,body,.app,.app *{touch-action:manipulation}}

/* Recipe cards: clear visual hierarchy and roomy mobile photography. */
.recipe .recipeCardBody{min-width:0}.recipe .recipeCardTags{gap:8px;margin:12px 0 16px}.recipe .recipeCardTags .tag{font-size:12px;line-height:1.4;padding:6px 10px}.recipeCardFacts{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px;margin-bottom:18px}.recipeCardFacts>span{display:flex;flex-direction:column;gap:5px;min-width:0}.recipeCardFacts b{font-size:14px;line-height:1.4;font-weight:700;color:var(--text)}.recipeCardFacts small{font-size:12px;line-height:1.5;color:var(--muted)}.recipe .recipeDates{margin-top:14px;font-size:12px;line-height:1.7;color:var(--muted)}.recipe h3{line-height:1.4;overflow-wrap:anywhere}.recipe h3>.tag{display:inline-block;font-size:12px;line-height:1.4;vertical-align:middle;padding:3px 8px;margin-left:4px}.recipe .match{margin-top:0;height:5px}.recipe .photo{overflow:hidden}.recipe .photo img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:767px){.card.recipe{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:14px;margin-bottom:18px;border-radius:25px}.recipe>.photo{width:100%;height:auto;aspect-ratio:16 / 10;border-radius:17px;flex-shrink:0;font-size:64px}.recipe>.recipeCardBody{padding:0 4px 4px}.recipe h3{font-size:19px;font-weight:750;margin:0}.recipe .recipeCardTags{margin:12px 0 18px}.recipeCardFacts b{font-size:15px}.recipeCardFacts small{font-size:13px}.recipe .recipeDates{font-size:12px;line-height:1.8;margin-top:16px}.recipe .match{height:5px}}

/* One recipe-card structure across mobile, tablet and desktop. */
.card.recipe{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:14px;margin-bottom:18px;border-radius:25px;height:100%}.recipe>.photo{width:100%;height:auto;aspect-ratio:16 / 10;border-radius:17px;flex-shrink:0;font-size:64px}.recipe>.recipeCardBody{padding:0 4px 4px;display:flex;flex-direction:column;flex:1}.recipe h3{font-size:19px;font-weight:750;line-height:1.4;margin:0}.recipe .recipeCardTags{margin:12px 0 18px}.recipeCardFacts b{font-size:15px}.recipeCardFacts small{font-size:13px}.recipe .recipeDates{font-size:12px;line-height:1.8;margin-top:16px}.recipe .match{height:5px;margin-top:auto}
@media(max-width:767px){.card.recipe{height:auto}} 

/* New recipes are highlighted consistently on the photo for 21 days. */
.recipe>.photo{position:relative}.recipe .recipeNewBadge{position:absolute;top:12px;right:12px;z-index:1;display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#FFFAF4;color:#8E3E27;font-size:13px;line-height:1.3;font-weight:750;box-shadow:0 2px 10px rgba(45,27,18,.18);border:1px solid rgba(142,62,39,.14);pointer-events:none}

/* Reserve consistent title, tags and facts rows at every breakpoint. */
.recipe h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;line-height:1.4;height:2.8em;min-height:2.8em;flex-shrink:0}.recipe .recipeCardTags{display:flex;flex-wrap:nowrap;align-items:center;min-height:30px;height:30px;gap:8px;overflow:hidden;flex-shrink:0}.recipe .recipeCardTags .tag{min-width:0;max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}.recipe .recipeCardFacts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;flex-shrink:0}.recipeCardFacts b{white-space:nowrap}.recipe .match{margin-top:0}
