/* GTGF v17.27 — page-by-page visual contrast closure. */
body.gtgf-v14{--gtgf1727-orange-ink:#9d3908;--gtgf1727-dark-copy:#d8ddd7;--gtgf1727-dark-soft:#c2c8c1;--gtgf1727-light-copy:#4b4741}

/* HOME — protect light modules from dark-surface cascade, retain strong dark sections. */
body.home.gtgf-v14 .gtgf-home13__pillars :is(h2,h3,strong),
body.home.gtgf-v14 .gtgf-home13__discover .gtgf-home13__head :is(h2,h3,strong){color:#111214!important;-webkit-text-fill-color:#111214!important}
body.home.gtgf-v14 .gtgf-home13__pillars :is(span,small),
body.home.gtgf-v14 .gtgf-home13__discover .gtgf-home13__head>span{color:#55514b!important;-webkit-text-fill-color:#55514b!important}
body.home.gtgf-v14 .gtgf-home13__head>p{color:#a43b08!important;-webkit-text-fill-color:#a43b08!important}
body.home.gtgf-v14 .gtgf-home13__flow :is(.gtgf-home13__flow-copy>span,.gtgf-home13__steps small),
body.home.gtgf-v14 .gtgf-home13__resume-inner p{color:#d7dcd6!important;-webkit-text-fill-color:#d7dcd6!important}

/* TRAINING / LIVE WORKOUT. */
body.gtgf-v14 .planner-live__controls button.is-quiet{color:#665f59!important;-webkit-text-fill-color:#665f59!important}
body.gtgf-v14 .planner-live.is-running .planner-live__controls button.is-primary,
body.gtgf-v14 .planner-live__rpe button.is-selected,
body.gtgf-v14 .gtgf-term-help:hover,
body.gtgf-v14 .gtgf-term-help:focus-visible{color:#111214!important;-webkit-text-fill-color:#111214!important}

/* NUTRITION — mobile outline actions could fade into the paper surface. */
body.gtgf-v14 .nutrition-results .button--outline,
body.gtgf-v14 .nutrition-weekcheck .button--outline{color:#292724!important;-webkit-text-fill-color:#292724!important;border-color:#827c74!important;opacity:1!important}
body.gtgf-v14 .nutrition-results .button--outline:hover,
body.gtgf-v14 .nutrition-weekcheck .button--outline:hover{color:#111!important;-webkit-text-fill-color:#111!important;border-color:#4f4a43!important}

/* EVENTS — expanded event details are dark even when embedded in a paper page. */
body.gtgf-v14 .v1587-event-details .event-community :is(p,li,small,span),
body.gtgf-v14 .v1587-event-details>p,
body.gtgf-v14 .v1587-event-details .event-card__summary{color:#d9ded8!important;-webkit-text-fill-color:#d9ded8!important;opacity:1!important}
body.gtgf-v14 .v1587-event-details .v1587-detail-actions small,
body.gtgf-v14 .v1587-detail-grid small{color:#c5cbc4!important;-webkit-text-fill-color:#c5cbc4!important;opacity:1!important}

/* KNOWLEDGE — dark recommendation rail had several too-dim secondary lines. */
body.gtgf-v14 .v169600-now__session span{color:#c6cbc5!important;-webkit-text-fill-color:#c6cbc5!important}
body.gtgf-v14 .v169600-now__session small,
body.gtgf-v14 .v169600-now__article>small,
body.gtgf-v14 .v169600-now>footer{color:#c9cec8!important;-webkit-text-fill-color:#c9cec8!important}
body.gtgf-v14 .v1696-knowledge .v159975-editorial-pick__main>small{color:#d2d5d0!important;-webkit-text-fill-color:#d2d5d0!important}
body.gtgf-v14 .v1696-knowledge .v159975-editorial-pick__label small,
body.gtgf-v14 .v1696-knowledge .v159975-editorial-pick__main>span{color:#c5cac4!important;-webkit-text-fill-color:#c5cac4!important}
/* Bright orange is excellent on dark, but too weak as microcopy on paper. */
body.gtgf-v14 .v169600-questions span,
body.gtgf-v14 .v169600-recent__grid b{color:#9d3908!important;-webkit-text-fill-color:#9d3908!important}

/* PARTNERS — preserve the light editorial sections and lift small metadata. */
body.gtgf-v14 .gtgf-partners14__position :is(h2,h3,strong),
body.gtgf-v14 .gtgf-partners14__models :is(h2,h3,strong),
body.gtgf-v14 .gtgf-partners14__example :is(h2,h3,strong),
body.gtgf-v14 .gtgf-partners14__process :is(h2,h3,strong){color:#0b0c0d!important;-webkit-text-fill-color:#0b0c0d!important}
body.gtgf-v14 .gtgf-partners14__position :is(p,li),
body.gtgf-v14 .gtgf-partners14__models :is(p,li),
body.gtgf-v14 .gtgf-partners14__example :is(p,li),
body.gtgf-v14 .gtgf-partners14__process :is(p,li){color:#55514b!important;-webkit-text-fill-color:#55514b!important}
body.gtgf-v14 .gtgf-partners14__value-grid article>span{color:#6a645c!important;-webkit-text-fill-color:#6a645c!important}
body.gtgf-v14 .gtgf-partners14__contact-copy>small,
body.gtgf-v14 .gtgf-partners14__form>small{color:#bfc4bd!important;-webkit-text-fill-color:#bfc4bd!important}

/* MY GTGF — navigation/meta should be secondary, not faint. */
body.gtgf-v14 .v159965-dashboard-nav a{color:#b9c0ba!important;-webkit-text-fill-color:#b9c0ba!important}
body.gtgf-v14 .v159965-dashboard-nav a.is-active{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.gtgf-v14 .v171600-rail span,
body.gtgf-v14 .v171600-progress span{color:#aeb5af!important;-webkit-text-fill-color:#aeb5af!important}
body.gtgf-v14 .v171600-rail small,
body.gtgf-v14 .v171600-progress small{color:#c2c8c1!important;-webkit-text-fill-color:#c2c8c1!important}

/* NEW WEEK / MIDWEEK — bright orange microcopy on paper needed a darker ink tone. */
body.gtgf-v1722-new-week-start .v172200-start__head>div:first-child>span,
body.gtgf-v1722-new-week-start .v172200-start__focus>span{color:#9d3908!important;-webkit-text-fill-color:#9d3908!important}
body.gtgf-v1722-new-week-start .v172200-start__head>div:first-child>span i{color:#9a350d!important;-webkit-text-fill-color:#9a350d!important}
body.gtgf-v1723-midweek-reality .v172300-reality__decision>span,
body.gtgf-v1723-midweek-reality .v172300-reality__key-grid a>span{color:#9d3908!important;-webkit-text-fill-color:#9d3908!important}

/* RACE JOURNEY — light surfaces use dark orange; orange buttons use dark ink. */
.gtgf-v1724-race-event-journey .v172400-event-journey__shell>header span,
.gtgf-v1724-race-event-journey .v172400-result-form header span{color:#963600!important;-webkit-text-fill-color:#963600!important}
.gtgf-v1724-race-event-journey .v172400-event-action a,
.gtgf-v1724-race-event-journey .v172400-post-race footer a,
.gtgf-v1724-race-event-journey .v172400-dashboard-journey a,
.gtgf-v1724-race-event-journey .v172400-result-form footer button{color:#111412!important;-webkit-text-fill-color:#111412!important}
.gtgf-v1724-race-event-journey .v172400-result-form footer small,
.gtgf-v1724-race-event-journey .v172400-time label small{color:#5f665f!important;-webkit-text-fill-color:#5f665f!important}

/* PERFORMANCE WEEK — disabled calendar labels remain visibly disabled, not illegible. */
body.gtgf-v14 .booking-calendar button[disabled]{color:#3f433d!important;-webkit-text-fill-color:#3f433d!important;opacity:1!important}

@media(max-width:700px){
  body.gtgf-v14 .nutrition-results .button--outline,
  body.gtgf-v14 .nutrition-weekcheck .button--outline{color:#292724!important;-webkit-text-fill-color:#292724!important;background:#fff!important}
}

/* High-specificity closure for expanded event rows; earlier legacy layers use equally important selectors. */
html body.gtgf-v14 #main-content .v1587-event-details .event-community :is(p,li,small,span),
html body.gtgf-v14 #main-content .v1587-event-details>p,
html body.gtgf-v14 #main-content .v1587-event-details .event-card__summary{
  color:#d9ded8!important;
  -webkit-text-fill-color:#d9ded8!important;
  opacity:1!important;
}
html body.gtgf-v14 #main-content .v1587-event-details .v1587-detail-actions small,
html body.gtgf-v14 #main-content .v1587-event-details .v1587-detail-grid small{
  color:#c5cbc4!important;
  -webkit-text-fill-color:#c5cbc4!important;
  opacity:1!important;
}

/* Nutrition outline actions: beat older high-specificity mobile rules. */
html body.gtgf-v14 #main-content .nutrition-results .planner-results__actions .button--outline,
html body.gtgf-v14 #main-content .nutrition-weekcheck .button--outline{
  color:#4f4a43!important;
  -webkit-text-fill-color:#4f4a43!important;
  border-color:#827c74!important;
  opacity:1!important;
}

/* Performance Week: unavailable calendar days live on a dark state in the current calendar theme. */
html body.gtgf-v14 #gtgf-trip-calendar.booking-calendar button[disabled],
html body.gtgf-v14 .booking-calendar button[disabled]{
  color:#e2e7e2!important;
  -webkit-text-fill-color:#e2e7e2!important;
  border-color:#4d554f!important;
  opacity:1!important;
}
