/* Client Test 3.43: focused phone/Planner fixes. */
/* Four real labels: remove pseudo text workaround from 3.42. */
.gimi-taste-toggle [data-gimi-taste="explore"]::after{content:none!important;display:none!important}
.gimi-taste-toggle [data-gimi-taste="explore"]{font-size:inherit!important}
.gimi-explore-phone{display:none}
@media(max-width:700px){
 .gimi-taste-toggle{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;min-width:0!important;width:100%!important}
 .gimi-taste-toggle [data-gimi-taste]{min-width:0!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:clip!important;padding:10px 2px!important;font-size:clamp(10px,2.9vw,12.5px)!important;box-sizing:border-box!important;text-align:center!important}
 .gimi-explore-phone{display:inline!important}.gimi-explore-desktop{display:none!important}
 #recipeGrid .recipe-card-servewith,#ideaList .recipe-card-servewith,#haveResults .recipe-card-servewith{display:none!important}
 #modal .works-well-with{display:none!important}
 .ingredient-line .ingredient-swap-link{margin-inline-start:.6em!important;white-space:normal!important;vertical-align:baseline!important}
 .recipe-scale-side.recipe-indicators{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
 .recipe-scale-side.recipe-indicators>*{min-width:0!important;padding:9px!important;margin:0!important;max-width:100%!important;box-sizing:border-box!important}
 .recipe-scale-side.recipe-indicators strong{overflow-wrap:anywhere!important}
 .cooking-prep-intro:empty{display:none!important}
 #about .week-planner-days{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 #about .week-day{min-height:140px!important;padding:10px!important;gap:6px!important}
 #about .week-day:last-child{grid-column:1/-1!important;min-height:95px!important}
 #about .week-day-head{display:flex!important;text-align:left!important}
 #about .week-meal span{font-size:13px!important;line-height:1.25!important;-webkit-line-clamp:2!important}
 #about .week-meal small{font-size:10px!important;line-height:1.25!important}
 #about .week-day-details{min-height:30px!important}
 #about .week-planner-note{font-size:11px;line-height:1.5}
}
@media(min-width:701px){.gimi-explore-phone{display:none!important}.gimi-explore-desktop{display:inline!important}}
#about .week-day{position:relative;min-width:0}
#about .week-meal-row{position:relative;min-width:0;background:rgba(255,255,255,.66);border:1px solid #e9dfea;border-radius:9px;padding:5px;display:flex;flex-direction:column;gap:3px}
#about .week-meal-row .week-meal{width:100%;text-align:left;min-width:0}
#about .week-meal-actions{display:flex;gap:7px;justify-content:flex-end;align-items:center}
#about .week-meal-actions .week-move,#about .week-meal-actions .week-remove{position:static!important;display:inline-flex!important;justify-content:center;align-items:center;min-width:27px!important;min-height:26px!important;width:auto!important;height:auto!important;padding:3px 7px!important;line-height:1.1!important}
#about .week-day-details{margin-top:auto;background:#f2eaf5;border:1px solid #d5bedb;border-radius:8px;color:#542064;cursor:pointer;font:inherit;font-size:11px;font-weight:700;min-height:28px;padding:5px}
#about .week-move-here{min-height:28px}
#about .planner-daily-tip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 18px}
#about .planner-daily-tip .tip-of-the-day{flex:1 1 200px;margin:0;min-width:0}
#about .planner-daily-tip #plannerNextTip{margin:0;white-space:nowrap;min-height:38px}
#about .planner-daily-tip:has(#tipOfTheDay[hidden]){display:none}
#about .about-story{border:1px solid #d4c7d8;border-radius:14px;background:#fbf8fb;margin-bottom:12px;overflow:hidden}
#about .about-story summary{cursor:pointer;padding:11px 13px;color:#5b1665;font-family:inherit;font-weight:900;font-size:13px;line-height:normal;list-style:none;display:flex;justify-content:space-between}
#about .about-story summary:after{content:'+';font-family:system-ui;font-size:25px}
#about .about-story[open] summary:after{content:'−'}
#about .about-story-content{padding:0 15px 12px;color:#655b67;line-height:1.5}
#about .about-story-content p{margin:8px 0}
.planner-day-overlay{display:none;position:fixed;inset:0;z-index:20070;background:rgba(30,24,35,.65);padding:env(safe-area-inset-top) 10px env(safe-area-inset-bottom);box-sizing:border-box;overflow:auto}
.planner-day-overlay.open{display:flex;align-items:center;justify-content:center}
.planner-day-dialog{position:relative;max-width:620px;width:100%;max-height:90dvh;overflow-y:auto;border:2px solid #80608a;background:#fffdf8;border-radius:20px;padding:20px 14px 30px;box-shadow:0 12px 45px #0004}
.planner-day-close{position:sticky;top:0;float:right;z-index:2;border:none;border-radius:50%;background:#eee6f1;color:#532061;font-size:26px;min-width:44px;min-height:44px}
.planner-day-dialog h2{font-family:Kalam,cursive;color:#5b1665;font-size:28px;margin:4px 0 14px}
.planner-day-detail-item{display:flex;gap:12px;padding:12px 2px;border-top:1px solid #ded5df}
.planner-day-detail-item img{width:90px;height:85px;object-fit:cover;border-radius:12px;flex-shrink:0}
.planner-day-detail-item>div{min-width:0;flex:1}
.planner-day-detail-item strong{display:block;line-height:1.3;font-size:16px}
.planner-day-detail-item small{color:#65825a;font-weight:700}
.planner-day-detail-item p{color:#6c6c65;font-size:12px;margin:3px 0 6px}
.planner-day-detail-item button{margin:3px 5px 3px 0;padding:6px 8px;font-size:12px;min-height:35px}
.gimi-other-dialog{display:none;position:fixed;inset:0;z-index:20060;background:#fffdf8;overflow-y:auto;padding:calc(env(safe-area-inset-top) + 20px) 14px calc(env(safe-area-inset-bottom) + 30px);box-sizing:border-box}
.gimi-other-dialog.open{display:block}
.gimi-other-dialog .gimi-other-back{position:sticky;top:0;z-index:2;background:#efe7f3;border:1px solid #d1b8db;color:#541c62;border-radius:10px;padding:12px 18px;font-size:16px;font-weight:800;min-height:44px}
.gimi-other-dialog h2{color:#5b1665;font-family:Kalam,cursive;font-size:28px}
.gimi-other-dialog .guide-result-card,.gimi-other-dialog .other-result-card{max-width:100%;min-width:0;overflow:hidden}
.gimi-other-dialog .guide-result-thumb,.gimi-other-dialog .other-result-card img{width:70px;height:65px;object-fit:contain}
.gimi-other-dialog .other-result-card{display:flex;align-items:center;gap:8px;border-bottom:1px solid #ddd;padding:10px 0}
.gimi-other-dialog .other-result-card strong{flex:1;min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){#gimiOtherPanel #gimiOtherResults,#gimiOtherPanel #guideCategoryResults{display:none!important}}

/* Meal assignment controls fit on narrow phone recipe pages. */
@media(max-width:700px){.meal-plan-date-row{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.meal-plan-date-row select{width:100%;min-height:42px;padding:8px;border:1px solid #cbb6cf;border-radius:10px;background:white}.planner-day-dialog{max-height:93dvh}.planner-day-detail-item img{width:68px;height:68px}}
@media(min-width:701px){.meal-plan-date-row{grid-template-columns:minmax(100px,1fr) minmax(100px,auto) auto!important}.meal-plan-date-row select{border-radius:9px;border:1px solid #cbb6cf;background:white;padding:7px}}
