/* Holistica: clear home destinations and compact mobile layouts. */
#dietPlan:has(#dietTabsBar[style*="none"]) #dietRhythmHome,#dietPlan:has(#dietTabsBar[style*="none"]) #dietMonthHome{display:none}
#dietHomeGuide{display:none!important}
#dietRhythmHome{display:flex;flex-direction:column;margin:0 20px 20px;padding:20px;background:linear-gradient(135deg,#f0eafa,#fff7ee);border:1px solid #ded5ee;border-radius:24px}
#dietRhythmHome:empty,#dietMonthHome:empty{display:none}
#dietRhythmHome .hwm-week{order:2;margin:0;padding:0;border:0;background:none;box-shadow:none}
#dietRhythmHome .hng-card{order:1;margin:0 0 20px;padding:0;border:0;background:none;box-shadow:none}
#dietRhythmHome .hng-message{background:none;padding:0;border:0;box-shadow:none}
#dietRhythmHome h3{font-size:20px;color:var(--purple);margin:0 0 12px}
#dietRhythmHome p{font-size:16px;line-height:1.5}
#dietMonthHome{margin:0 20px 24px}
#dietMonthHome .hnm-month{margin:0}
.cycle-card .cycle-head{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}
.cycle-card .cycle-head-l{min-width:0;flex:1;gap:6px}
.cycle-card .cycle-badge{font-size:clamp(12px,3.5vw,16px);padding:9px 12px}
.cycle-card .cycle-day{flex:0 0 auto;min-width:0}
.cycle-card .cycle-day b{font-size:clamp(13px,3.8vw,17px);white-space:nowrap}
.cycle-day small{font-weight:500;font-size:.78em}
#cycleNextEstimate{color:white;font-size:14px;line-height:1.45;margin:0 0 18px;overflow-wrap:anywhere}
#mouvement .mv-top{padding-top:calc(28px + env(safe-area-inset-top,0px));padding-bottom:26px}
#sessionOfDay>small{display:block;font-size:23px;font-weight:750;color:var(--purple);margin-bottom:18px;text-transform:none}
#sessionOfDay>div{display:grid;grid-template-columns:44% minmax(0,1fr);align-items:center;gap:15px}
#sessionOfDay>div img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
#sessionOfDay h3{font-size:17px;font-weight:500;line-height:1.4;margin:0;overflow-wrap:anywhere}
#sessionOfDay section{min-width:0}
#mvGrid .mv-tags span:empty{display:none}
.hr-summary button{font-family:inherit;color:var(--purple);background:transparent;border:1px solid #d8cbea;border-radius:22px;padding:13px 16px;font-size:15px;line-height:1.4;white-space:normal}
.hr-summary>button:first-of-type{background:linear-gradient(110deg,#795fb4,#b48bc1);color:white;border:0}
.hr-summary .hr-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.hr-summary .hr-counts>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 6px;font-size:13px;line-height:1.35;color:var(--purple);min-width:0}
.hr-summary .hr-counts strong{font-size:28px;line-height:1.1;margin-bottom:7px}
.hr-summary .hr-community{text-align:center;padding-top:20px}
.hr-summary details p{font-size:14px;line-height:1.5}
#cycleCard .cycle-head{flex-wrap:nowrap;gap:8px}
#cycleCard .cycle-head-l{flex:1 1 auto;flex-wrap:nowrap}
#cycleCard #cycleDayLbl{flex:0 0 auto;text-align:right;width:auto}
#cycleCard #cycleDayLbl b{font-size:clamp(13px,3.8vw,17px);margin:0;white-space:nowrap}
#cycleCard #cycleDayLbl b small{font-size:12px}
#dayLogSummary .hr-summary-fold>summary{font-size:18px;line-height:1.4;text-align:left;padding:8px 0}
#dayLogSummary .hr-summary-fold>button{display:block;width:100%;margin:10px 0;color:var(--purple)}
#dayLogSummary .hr-summary-fold>button[data-hr-next]{color:white;background:linear-gradient(110deg,#795fb4,#b48bc1)}
#naturo #hqh-open-entry,#naturo #face-open-entry{display:none!important}
#dietRhythmHome .hwm-weeknote{display:none}
#sessionOfDay.hs-session h3{font-weight:500;font-size:17px}
#dayLogSummary .hr-counts>div:nth-child(2):before{content:'♨';color:var(--purple);font-size:22px}
#dayLogSummary .hr-counts>div:nth-child(3):before{content:'❀';color:var(--purple);font-size:22px}
/* High contrast on the weekly card; white meal and dinner cards keep dark ink. */
#dietRhythmHome .hwm-week{padding:22px 18px;border:1px solid #9c84c6;border-radius:24px;background:linear-gradient(145deg,#6554a8,#8266ad);color:#fff}
#dietRhythmHome .hwm-week>p,#dietRhythmHome .hwm-week>small,#dietRhythmHome .hwm-week label,#dietRhythmHome .hwm-weekdetails summary{color:#fff}
#dietRhythmHome .hwm-week>h3,#dietRhythmHome .hwm-weeklegend{color:#ffdbaf}
#dietRhythmHome .hwm-week select{background:#fff;color:#3d3154;border:1px solid #d8cce8;padding:13px 14px;margin:8px 0 18px;min-height:46px}
#dietRhythmHome .hwm-weekmeal small{color:#67508c}
#dietRhythmHome .hwm-weekmeal span{color:#514360;font-size:14px;line-height:1.5}
#dietRhythmHome .hwm-weekdetails{padding:16px;background:#ffffff10;margin-top:22px}
#dietRhythmHome .hwm-weekdetails label{margin-top:18px}
#dietMonthHome .hnm-dinner-box p,#dietMonthHome .hnm-dinner-box label,#dietMonthHome .hnm-dinner-box small{color:#514360;line-height:1.6}
#dietMonthHome .hnm-dinner-box .hnm-dinner-exception{color:#675478;font-size:13px;padding-top:14px;margin-top:14px;border-top:1px solid #e6dced}
#dietMonthHome .hnm-dinner-box select{color:#443456;background:#f8f4fd;border:1px solid #d9cce8}
#dietTabsBar .diet-tab-ic{color:#7b61b2}
#dietRhythmHome .hms-options,#dietRhythmHome .hms-days,#dietRhythmHome .hms-notes{border-top:1px solid #ffffff35;padding-top:14px;margin:16px 0}
#dietRhythmHome summary{cursor:pointer;font-size:15px;line-height:1.5;color:#fff}
#dietRhythmHome .hng-card>h3{font-size:16px;margin-bottom:10px}
#dietRhythmHome .hng-kicker,#dietRhythmHome .hng-ritual,#dietRhythmHome .hng-card>details{display:none}
#dietRhythmHome .hng-card p{margin:10px 0;font-size:15px}
#dietMonthHome .hnm-month{background:#fff;border:1px solid #ded5ee;padding:18px;box-shadow:none;border-radius:22px;color:#49375e}
#dietMonthHome .hms-month>summary{font-size:17px;font-weight:700;color:#70549e;cursor:pointer;line-height:1.5}
#dietMonthHome .hms-month>p,#dietMonthHome .hms-month>small,#dietMonthHome .hnm-content p,#dietMonthHome .hnm-content small,#dietMonthHome .hnm-sources,#dietMonthHome .hnm-sources p{color:#514360}
#dietMonthHome .hnm-week{background:#f7f2fc;border-color:#dfd4ed}
#dietMonthHome .hnm-week summary,#dietMonthHome .hnm-week summary strong,#dietMonthHome .hnm-content h3,#dietMonthHome .hnm-sources a{color:#70549e}
#dietMonthHome .hms-dinner{margin:16px 0;padding:14px;border-radius:18px;background:#f7f2fc;color:#514360}
#dietMonthHome .hms-dinner>summary{cursor:pointer;font-size:16px;font-weight:600;color:#70549e}
#dietMonthHome .hnm-dinner-row strong{background:none;-webkit-text-fill-color:#965020;color:#965020}
.happly{margin:4px 20px 22px;border:1px solid #dacee9;border-radius:22px;background:#fff;color:#49375e;font-family:'League Spartan',sans-serif}
.happly>summary{display:flex;align-items:center;gap:10px;padding:18px 16px;font-size:16px;font-weight:700;color:#70549e;cursor:pointer;line-height:1.35}
.happly>summary svg{flex-shrink:0}.happly>summary:after{content:'＋';margin-left:auto}.happly[open]>summary:after{content:'−'}
.happly-body{padding:0 18px 20px}.happly-body p,.happly-body dd{font-size:15px;line-height:1.6;margin:10px 0;color:#514360}.happly-body section{border-top:1px solid #e8dfef;margin-top:20px;padding-top:18px}
.happly-body h3{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.3;color:#70549e}.happly-body h3 b{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#ede5f7;font-size:16px}
.happly-body dt{font-weight:700;color:#70549e;margin-top:15px}.happly-body dd{margin-top:4px}.happly-adjust{padding:16px;background:#f4eefb;border-radius:18px;margin-top:24px}.happly-adjust summary{font-weight:700;line-height:1.4;cursor:pointer;color:#70549e}.happly-body .happly-source{font-size:12px}.happly-source a{color:#70549e}
#dietPlan:has(#dietTabsBar[style*="none"]) #dietApplyGuide{display:none}
.rp-music-control{position:absolute;left:14px;bottom:18px;z-index:20;max-width:180px;background:#49346dcc!important;color:white;border:1px solid #ffffff66;border-radius:22px;padding:10px 14px;font:600 13px 'League Spartan',sans-serif;cursor:pointer}
/* Mobile reading: keep long sections in the scroll flow, above the fixed menu. */
#dietPlan > :not(.scroll){flex-shrink:0}
#dietPlan{padding-bottom:calc(110px + env(safe-area-inset-bottom));overflow-anchor:none}
#dietScroll{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
#astroScreen input{box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:16px}
#astroScreen input::-webkit-date-and-time-value{text-align:left;min-width:0}
#astroScreen form,#astroScreen .card{min-width:0}
#dietPanelPlan .diet-summary-row{gap:8px;flex-wrap:wrap}
#dietPanelPlan .diet-summary-v{font-size:20px;color:#201b2e;line-height:1.2}
#dietPanelPlan .diet-summary-l,#dietPanelPlan .diet-macro-pill{color:#272132;font-size:12px}
.plan-recipe-row{display:flex;align-items:center;gap:10px;justify-content:space-between}
.plan-recipe-row>:first-child{min-width:0;flex:1;font-size:16px;line-height:1.4}
.plan-recipe-row .hu-plan-add{flex:0 0 auto!important;width:auto!important;max-width:110px;padding:8px 10px!important;font-size:11px!important;line-height:1.3;border-radius:18px!important;margin:0!important}
.recipe-season-overlay{position:absolute;left:9px;top:9px;display:flex;gap:5px;z-index:1}
.recipe-season-overlay span{background:#fffef2ee;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:19px}
#rcSeasonFilters{display:none!important}
.care-card>img{object-fit:cover;aspect-ratio:640/427}
