/* In-House page headings follow the Clients page type scale. */
:root{--inhouse-accent:#1368e8;--inhouse-title-size:clamp(1.25rem,5vw,2rem);--inhouse-tagline-size:clamp(.58rem,2.3vw,.75rem)}
.content .module> :is(.module-header,.history-top,.coach-workspace-header,.coaching-header-table,.client-credits-header,.cardio-title,.food-journal-header-table){--page-accent:var(--inhouse-accent);border-left:5px solid var(--inhouse-accent)!important;border-radius:0;margin-bottom:1rem;padding-left:.8rem}
.content .module h1{color:var(--inhouse-accent)!important;font-size:var(--inhouse-title-size)!important;font-weight:850;line-height:1.15;margin-top:0;margin-bottom:0;text-shadow:none}
.content .module :is(.module-header,.history-top,.coach-workspace-header,.coaching-header-table,.client-credits-header,.cardio-title,.food-journal-header-table) :is(.eyebrow,.coaching-title-inline>span){color:var(--inhouse-accent)!important;font-size:var(--inhouse-tagline-size)!important;font-weight:800;line-height:1.25;letter-spacing:.06em;text-transform:uppercase;margin:0 0 .25rem!important;text-shadow:none}
.content .module :is(.module-header,.history-top,.coach-workspace-header,.coaching-header-table,.client-credits-header,.cardio-title,.food-journal-header-table) h1 efitx-icon{color:var(--inhouse-accent)!important;font-size:.76em}
.content .module>.coach-workspace-header td:first-child{padding-left:.8rem}
.content .module>.coaching-header-table td:first-child,.content .module>.food-journal-header-table td:first-child{padding-left:.8rem}
.content .module>.coaching-header-table,.content .module>.food-journal-header-table{padding-left:0}
.app-shell .header-message-button,.app-shell .header-message-button .header-message-icon{color:var(--inhouse-accent)!important}
.app-shell .header-message-button .header-message-icon{stroke:currentColor}
.app-shell .sidebar nav button efitx-icon,.app-shell .sidebar nav button.active efitx-icon{color:var(--inhouse-accent)!important}
.app-shell .sidebar nav button svg{color:var(--inhouse-accent)!important;stroke:currentColor}

/* Shared client and coach/client accent controls. */
.content :is(.vbr-period-button,.analytics-period button,.strength-mode-switch button,.strength-unit-switch button){background:var(--brand-soft,#eef6ff)!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:var(--brand-dark,var(--blue-dark))!important}
.content :is(.vbr-period-button.active,.analytics-period button.active,.strength-mode-switch button.active,.strength-unit-switch button.active,.strength-unit-switch button[aria-pressed=true],.strength-mode-switch button[aria-pressed=true]){background:var(--brand-dark,var(--blue-dark))!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:#fff!important}
.content .topics-see-all,.content .topics-see-all-tile,.content .start-coach-led,.content .end-coach-led{background:var(--brand-dark,var(--blue-dark))!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:#fff!important}
.content .topics-see-all-tile efitx-icon{color:#fff!important}
.content .buddy-tabs button{background:var(--brand-soft,#eef6ff)!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:var(--brand-dark,var(--blue-dark))!important}
.content .buddy-tabs button.active{background:var(--brand-dark,var(--blue-dark))!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:#fff!important}
.content .history-module :is(.history-date-title,.history-arrow,.collapse-chevron){color:var(--inhouse-accent)!important}
.content .history-module :is(.edit-history-workout,.save-history-edit,.revert-history-edit){background:var(--brand-soft,#eef6ff)!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:var(--brand-dark,var(--blue-dark))!important}
.content .award-reference-link{background:var(--brand-dark,var(--blue-dark))!important;border-color:var(--brand-dark,var(--blue-dark))!important;color:#fff!important}
.training-goals-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.training-goals-title h3{margin:0}
.edit-training-goals{flex:0 0 auto;min-height:36px;padding:6px 16px;border:1px solid var(--brand-dark,var(--blue-dark));border-radius:7px;background:var(--brand-soft,#eef6ff);color:var(--brand-dark,var(--blue-dark));font-weight:800;cursor:pointer}
.training-goals-edit-hint{display:block;margin:8px 0;color:#777;font-size:.8rem;font-weight:400}
.vbr-target-settings .goal-slider input[type=range]{accent-color:var(--inhouse-accent)}
.vbr-target-settings .goal-slider input[type=range]:disabled{cursor:not-allowed;opacity:.55}
.vbr-target-settings.is-editing-goals .goal-slider:not(.is-disabled) input[type=range]{opacity:1}

/* Client Home: the lower schedule strip follows the assigned coach accent. */
wl-app wl-home .home-module .home-training-actions .home-coach-schedule{background:var(--brand-dark,var(--inhouse-accent,var(--blue-dark,#713b20)));border-color:var(--brand-dark,var(--inhouse-accent,var(--blue-dark,#713b20)));color:#fff}
wl-app wl-home .home-module .home-coach-schedule-label,wl-app wl-home .home-module .home-coach-presence{background:transparent;color:#fff}
