.recipeLibraryIntro{border-color:rgba(75,221,115,.28)}.recipeSearch{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.recipeFilters{position:sticky;top:0;z-index:5;padding:8px 0;background:linear-gradient(180deg,#07100d 75%,transparent)}
.recipeLibraryGrid{display:grid;gap:12px}.recipeLibraryCard{overflow:hidden;border:1px solid var(--line);border-radius:25px;background:linear-gradient(180deg,var(--surface),var(--surface2));box-shadow:0 18px 44px rgba(0,0,0,.22)}.recipeImageButton{display:block;position:relative;width:100%;height:205px;padding:0;border:0;background:#111;cursor:pointer}.recipeImageButton img{width:100%;height:100%;object-fit:cover}.cookBadge{position:absolute;left:12px;bottom:12px;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:950;backdrop-filter:blur(12px)}.cookBadge.ready{color:#041008;background:rgba(75,221,115,.92)}.cookBadge.missing{color:#1b1102;background:rgba(255,184,77,.94)}.recipeLibraryBody{padding:15px}.recipeLibraryBody h3{margin:5px 0 8px;cursor:pointer}.recipeCardActions,.recipeHeroActions,.coachSendActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.logRecipe{border-color:rgba(75,221,115,.5);color:var(--green)}
.recipeDetailHero .heroImg{height:290px}.recipeTiming{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.recipeTiming span,.nutritionFacts div{border:1px solid var(--line);border-radius:17px;padding:12px;background:rgba(255,255,255,.04)}.recipeTiming small,.recipeTiming b,.nutritionFacts small,.nutritionFacts b,.nutritionFacts span{display:block}.recipeTiming small,.nutritionFacts small,.nutritionFacts span{color:var(--muted);font-size:10px}.recipeTiming b{margin-top:4px}.recipeCallout{border:1px solid rgba(75,221,115,.28);background:rgba(75,221,115,.08);border-radius:17px;padding:12px;color:var(--muted);line-height:1.4;margin-bottom:6px}.detailedStep{align-items:flex-start}.detailedStep small{color:var(--green);font-size:10px;font-weight:900;text-transform:uppercase}.detailedStep p{margin:4px 0 0;line-height:1.48;color:var(--text)}.stickyRecipeAction{margin-top:16px}.stickyRecipeAction .btn{width:100%}.servingHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.servingPill{color:var(--green);border:1px solid rgba(75,221,115,.4);border-radius:999px;padding:7px 9px;font-size:10px;font-weight:900}.ingredientRow{display:flex;gap:10px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--line);line-height:1.4}.ingredientTick{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:rgba(75,221,115,.12);color:var(--green);flex:0 0 auto}.ingredientRow:last-of-type{margin-bottom:16px}.nutritionFacts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.nutritionFacts b{font-size:23px;margin:4px 0}.nutritionNote{font-size:12px}.recipeSubnav{position:sticky;top:0;z-index:6;background:#07100d;padding-top:8px}
@media(min-width:700px){.recipeLibraryGrid{grid-template-columns:1fr 1fr}}@media(max-width:380px){.recipeImageButton{height:175px}.recipeTiming,.nutritionFacts{gap:6px}.recipeTiming span,.nutritionFacts div{padding:9px}}


/* Private recipe-box import */
.recipeImportChoices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.recipeBoxChoice{min-height:46px;text-align:center}.helloFreshChoice{border-color:rgba(75,221,115,.38);color:#7bea98}.goustoChoice{border-color:rgba(255,184,77,.38);color:#ffc467}.recipeImporter{border-color:rgba(75,221,115,.32);background:linear-gradient(180deg,rgba(75,221,115,.09),rgba(255,255,255,.025))}.recipeImportHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.recipeImportHead h3{margin:4px 0}.recipeImporter label{display:block;color:var(--muted);font-size:11px;font-weight:850}.recipeImporter label input,.recipeImporter label textarea{margin-top:6px}.recipeImporter .actions{margin-top:12px}.photoButton{position:relative;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;color:var(--text)!important}.photoButton input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.importMessage{padding:11px 12px;border-radius:14px;background:rgba(255,184,77,.1);color:#ffd18a;font-size:12px;line-height:1.45}.recipeImportMatch{margin-top:14px;padding:14px;border:1px solid rgba(75,221,115,.3);border-radius:18px;background:rgba(0,0,0,.18)}.recipeImportMatch h3{margin:4px 0}.recipeImportMatch p{color:var(--muted);font-size:12px}.recipeImportMatch a{color:var(--green);font-size:12px;font-weight:850}.recipeImportManual{display:grid;gap:11px;margin-top:13px}.recipeImportManual textarea{min-height:112px}.recipeImportSave{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;margin-top:14px}.importedRecipeList .row{align-items:center}.importedRecipeOpen{flex:1;border:0;background:transparent;color:var(--text);text-align:left;padding:4px 0}.importedRecipeOpen b,.importedRecipeOpen small{display:block}.importedRecipeOpen small{color:var(--muted);margin-top:4px}.dangerText{color:#ffaaaa!important}.helpTopic{border-top:1px solid var(--line);padding:12px 0}.helpTopic:last-child{padding-bottom:0}.helpTopic summary{cursor:pointer;color:var(--text);font-weight:900;list-style-position:outside;margin-left:15px}.helpTopic p{color:var(--muted);font-size:12px;line-height:1.55;margin:9px 0 2px 15px}
@media(max-width:380px){.recipeImportChoices,.recipeImportSave{grid-template-columns:1fr}.recipeImporter .formGrid{grid-template-columns:1fr}}
.swapRecipeBanner{display:flex;align-items:center;justify-content:space-between;gap:14px;border-color:rgba(255,184,77,.42);background:linear-gradient(145deg,rgba(255,184,77,.12),var(--surface))}.swapRecipeBanner h3{margin:4px 0}.swapRecipeBanner p{margin:0;color:var(--muted);font-size:12px}.swapRecipeBanner .smallBtn{flex:0 0 auto}

.dietaryBadges{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 2px}.dietaryBadges span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 9px;font-size:10px;font-weight:900}.fibreFact{color:#b8ddff;background:rgba(116,188,241,.12);border:1px solid rgba(116,188,241,.28)}.dietaryStatus{color:var(--green);background:rgba(75,221,115,.1);border:1px solid rgba(75,221,115,.27)}.dietaryStatus.adapt{color:#ffd18a;background:rgba(255,184,77,.1);border-color:rgba(255,184,77,.3)}.dietaryStatus.lower-priority,.dietaryStatus.pause,.dietaryStatus.trigger{color:#e7c5ff;background:rgba(181,125,224,.1);border-color:rgba(181,125,224,.3)}.recipeHealthIntro{display:grid;gap:4px;margin:13px 0 2px;padding:12px;border-radius:16px;background:rgba(75,221,115,.08);border:1px solid rgba(75,221,115,.22)}.recipeHealthIntro b{color:var(--green);font-size:12px}.recipeHealthIntro span{color:var(--muted);font-size:11px;line-height:1.45}.recipeHealthIntro.recovering{background:rgba(255,184,77,.08);border-color:rgba(255,184,77,.24)}.recipeHealthIntro.symptoms{background:rgba(181,125,224,.08);border-color:rgba(181,125,224,.24)}.dietaryRecipeCard{border-color:rgba(75,221,115,.3);background:linear-gradient(180deg,rgba(75,221,115,.09),rgba(255,255,255,.025))}.dietaryRecipeCard.adapt{border-color:rgba(255,184,77,.32);background:linear-gradient(180deg,rgba(255,184,77,.09),rgba(255,255,255,.025))}.dietaryRecipeCard.pause,.dietaryRecipeCard.lower-priority,.dietaryRecipeCard.trigger{border-color:rgba(181,125,224,.32);background:linear-gradient(180deg,rgba(181,125,224,.09),rgba(255,255,255,.025))}.dietaryRecipeHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dietaryRecipeHead h3{margin:4px 0}.dietaryRecipeHead>span{flex:0 0 auto;border-radius:999px;padding:7px 9px;background:rgba(255,255,255,.06);font-size:10px;font-weight:900}.dietaryRecipeCard>p,.dietaryRecipeCard>small{color:var(--muted);line-height:1.5}.recipeAdaptation,.clinicianNote{display:grid;gap:4px;margin:11px 0;padding:11px;border-radius:14px;background:rgba(0,0,0,.18)}.recipeAdaptation b,.clinicianNote b{font-size:11px;color:var(--green)}.recipeAdaptation span,.clinicianNote span{font-size:12px;line-height:1.45}.nutritionFacts{grid-template-columns:repeat(4,1fr)}@media(max-width:420px){.nutritionFacts{grid-template-columns:1fr 1fr}.dietaryRecipeHead{display:grid}}

.coachRecipeFinder{width:100%;margin:14px 0 2px}.importedRecipeRow{gap:8px}.importedRecipeOpen{display:flex!important;align-items:center;gap:10px}.importedRecipeOpen img{width:58px;height:50px;flex:0 0 58px;border-radius:12px;object-fit:cover;background:#111}.importedRecipeOpen span{min-width:0}.recipePlanNote{display:grid;gap:4px;margin-top:10px;padding:11px 12px;border-radius:14px;background:var(--accent-soft);font-size:12px}.recipePlanNote span{color:var(--muted);line-height:1.45}.recipeSourceCard a{color:var(--green);font-size:12px;font-weight:900}
.recipeImportMatch>img{display:block;width:100%;max-height:300px;object-fit:cover;border-radius:16px;margin:0 0 14px;background:var(--surface-soft,#edf1ed)}
