/* The brand artwork keeps its own ink colours on each surface. */
:root {
  --logo-word: #fff;
  --logo-coach: #d4a4fc;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fcfcfd;
  --rail: #f7f7f9;
  --card: #fff;
  --surface: #eeeef2;
  --soft: #f0ebfa;
  --border: #d3d2dd;
  --ink: #18171c;
  --muted: #4f4e57;
  --lilac: #623197;
  --pink: #923967;
  --aqua: #146670;
  --lime: #466423;
  --logo-word: #101014;
  --logo-coach: #6d1e9f;
}
.coach-logo {
  display:block;
  width:198px;
  max-width:100%;
  height:auto;
  flex:0 1 auto;
  overflow:visible;
}
.rail .brand {min-height:54px; margin-inline:-4px}
.logo-mark {filter:drop-shadow(0 1px 0 rgb(31 15 45 / .24)) drop-shadow(0 2px 4px rgb(139 62 188 / .14))}
.logo-energize {color:var(--logo-word)}
.logo-coach {color:var(--logo-coach)}
.member-brand {display:none}
.membermode .coach-logo {display:none}
.membermode .member-brand {display:inline-flex; align-items:center; gap:8px}
.header-tools .demo {display:inline; white-space:nowrap}
.header-tools {display:flex; align-items:center; gap:14px}
.appearance-control {
  position:relative;
  display:inline-flex;
  align-items:center;
  color:var(--muted);
}
.appearance-control svg {
  position:absolute;
  inset-inline-start:6px;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  pointer-events:none;
}
.appearance-control .appearance-chevron {
  inset-inline-start:auto;
  inset-inline-end:4px;
  width:11px;
  height:11px;
}
.appearance-control select {
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  width:6.7em;
  padding:8px 18px 8px 26px;
  min-height:44px;
  color:inherit;
  background:transparent;
  border:none;
  border-radius:10px;
  font-size:.875rem;
}
.appearance-control option {background:var(--card); color:var(--ink)}
@media (max-width:760px) {
  .mobilebrand {min-width:0; flex:0 1 auto}
  .mobilebrand .coach-logo {width:clamp(140px, 46vw, 192px); min-width:0}
  .header-tools {flex:none}
  .demo-detail {display:none}
  .top {gap:10px}
  .header-tools {gap:8px}
}
@media (max-width:375px) {
  .header-tools .demo {display:none}
}
@media (forced-colors:active) {
  .logo-mark {filter:none}
}

:root[data-theme="light"] .rail {background:var(--rail)}
:root[data-theme="light"] :is(.navlink,.ghost,.listlink,.linkcard,.rosterrow):hover {background-color:var(--soft)}
:root[data-theme="light"] #bottom .navlink:hover {background-color:transparent}
:root[data-theme="light"] .demo {color:var(--muted); border-color:var(--border)}
:root[data-theme="light"] .chip {background:#f1eafa; border-color:#dacbea}
:root[data-theme="light"] .chip.teal {background:#e2f2f3; border-color:#bbdada}
:root[data-theme="light"] .chip.green {background:#eaf2e2; border-color:#c9d8b8}
:root[data-theme="light"] .chip.pink {background:#faeaf2; border-color:#e5c3d5}
:root[data-theme="light"] .primary {background:#302139; color:#fff}
:root[data-theme="light"] .primary:hover {background:#4c325d}
:root[data-theme="light"] .secondary {color:var(--lilac); border-color:#c9bbd8}
:root[data-theme="light"] :is(.field, input:not([type=radio]), textarea, select:not(#appearance)) {
  background-color:#fff; color:var(--ink); border-color:#a4a0ae;
}
:root[data-theme="light"] input#search {background:var(--glass-control)}
:root[data-theme="light"] :is(input,textarea)::placeholder {color:#686471; opacity:1}
:root[data-theme="light"] :is(.choice:has(:checked),.tab.on,.altbox) {background:var(--soft); border-color:#c9bbd8}
:root[data-theme="light"] .dose {color:inherit}
:root[data-theme="light"] .route-note {color:var(--ink); background:#f1ecf6}
:root[data-theme="light"] .success {color:#23553c; background:#e4f4eb; border-color:#bfdaca}
:root[data-theme="light"] .bar {background:var(--surface)}
:root[data-theme="light"] .optional {background:linear-gradient(115deg,#f7f6ef,#edf3e7); border-color:#ced9c5}
:root[data-theme="light"] .heroPeople {background:linear-gradient(115deg,#f3eaf8,#eeeaf2); border-color:#d7c5e0}
:root[data-theme="light"] :is(.photoitem,.tile,.hero) {color:white}
:root[data-theme="light"] .todaymain {
  color:#fff;
  --muted:#edeef8;
  --lilac:#efddff;
}
:root[data-theme="light"] .cardio-slot .cardio-add {color:#933751; border-color:#c78a9a}
:root[data-theme="light"] .todaymain .cardio-add {background:#fff; color:#933751}
:root[data-theme="light"] .cardio-slot .cardio-add:disabled {background:var(--glass-solid); color:#57525e}
:root[data-theme="light"] .cardio-picker {--ink:#18171c; --muted:#4f4e57; --lilac:#623197}
