/* Organized by product feature for straightforward maintenance. */
/* Stable calendar cards, workout details and action rows. */

/* Stable training-week behaviour. */
body.cf-auth-resolving #authOverlay{display:none!important}

/* No cast or native remote-playback control should be visible on the splash. */
#v131SplashVideo::-webkit-media-controls,
#v131SplashVideo::-webkit-media-controls-enclosure,
#v131SplashVideo::-webkit-media-controls-panel,
#v131SplashVideo::-webkit-media-controls-airplay-button,
#v131SplashVideo::-internal-media-controls-cast-button{display:none!important;opacity:0!important}
/* Day cards never change shape. Completion only fills the existing bottom circles. */
.coach-day.today::after{display:none!important;content:none!important}
.compact-command .coach-day,#foodDayStrip .coach-day{
  width:auto!important;height:57px!important;min-width:0!important;min-height:57px!important;padding:5px 2px!important;overflow:hidden!important;
  display:grid!important;grid-template-rows:13px 13px 12px!important;align-content:center!important;justify-items:center!important;
}
.compact-command .coach-day-name,.compact-command .coach-day-date,.compact-command .coach-day-signals,#foodDayStrip .coach-day-name,#foodDayStrip .coach-day-date,#foodDayStrip .coach-day-signals{
  width:100%!important;min-width:0!important;margin:0!important;line-height:1!important;
}
.coach-day.training-complete{background:rgba(32,200,255,.07)!important}
.coach-day-signals{height:12px!important;min-height:12px!important}

/* A live workout exercise stays open. Only the information button opens another view. */
details.exercise{display:block!important}
details.exercise>summary{cursor:default!important;list-style:none!important;user-select:none!important}
details.exercise>summary::-webkit-details-marker{display:none!important}
details.exercise>summary::marker{content:""!important}
details.exercise:not([open])>.exercise-body{display:block!important}

/* Collapsible Coach exercise library. */
.cf-library-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cf-library-head-copy{min-width:0}
.cf-library-head-copy h2{margin-bottom:0}
#cfExerciseLibraryToggle{flex:0 0 auto;min-width:122px}
#cfExerciseLibraryBody{margin-top:12px}
#cfExerciseLibraryBody[hidden]{display:none!important}

/* Clean, symmetrical action rows. */
.food-form-actions,.settings-save-row,.history-actions,.burt-actions,.v132-tutorial-actions,
.setup-welcome-actions,.scan-flow-actions,.cf-action-row,
.card>.actions,.train-tools-card .actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;
  gap:10px!important;align-items:stretch!important;justify-content:center!important;
}
.food-form-actions>button,.settings-save-row>button,.history-actions>button,.burt-actions>button,
.v132-tutorial-actions>button,.setup-welcome-actions>button,
.cf-action-row>button,.card>.actions>button,.train-tools-card .actions>button{
  width:100%!important;min-width:0!important;margin:0!important;text-align:center!important;justify-content:center!important;
}

/* Quick food time instead of a required meal category. */
.cf-food-time-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cf-hidden-legacy-field{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:520px){.cf-food-time-row{grid-template-columns:1fr}.cf-library-head{align-items:stretch;flex-direction:column}#cfExerciseLibraryToggle{width:100%}}

#cfInfoBody .cf-guide-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#cfInfoBody .cf-guide-choices button{min-height:44px}
#cfInfoBody .cf-info-grid{display:block}
#cfInfoBody .cf-info-grid section{margin:0 0 18px}
#cfInfoBody .cf-info-grid li{margin:8px 0;line-height:1.5}
#cfInfoBody .cf-info-grid h3{font-size:15px}
#cfInfoTitle{font:400 18px/1.3 var(--cf-heading-font)}
#cfExerciseResults .cf-exercise-result{min-width:0}
#cfExerciseResults .cf-exercise-result strong{font:400 14px/1.3 var(--cf-heading-font)}
