/*
 * MakoSet light appearance
 * Loaded after every application stylesheet. The public marketing site keeps
 * the approved dark identity; this theme is applied to authenticated accounts.
 */
html[data-theme="light"] {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #edf0f3;
  --surface-3: #e2e6ea;
  --text: #171a1f;
  --muted: #626975;
  --line: #d5dae1;
  --red: #c91f29;
  --red-dark: #a51019;
  --green: #147a49;
  --green-dark: #e3f5eb;
  --yellow: #785900;
  --danger: #b42331;
  --shadow: 0 18px 48px rgba(35, 42, 55, .12);
  color-scheme: light;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 50% -18%, color-mix(in srgb, var(--portal-accent, #c91f29), transparent 88%), transparent 34rem),
    linear-gradient(180deg, #f8f9fa, var(--bg) 32rem);
  color: var(--text);
}

html[data-theme="light"] body.portal-member {
  --portal-accent: #00758c;
  --portal-accent-2: #075f9b;
  --portal-soft: #e6f6f8;
  --portal-copy-accent: #00687d;
}
html[data-theme="light"] body.portal-member.member-path-personal {
  --portal-accent: #00758c;
  --portal-accent-2: #075f9b;
  --portal-soft: #e6f6f8;
  --portal-copy-accent: #00687d;
}
html[data-theme="light"] body.portal-member.member-path-gym {
  --portal-accent: #715400;
  --portal-accent-2: #a5252d;
  --portal-soft: #f8f0d8;
  --portal-copy-accent: #684d00;
}
html[data-theme="light"] body.portal-trainer {
  --portal-accent: #7138ad;
  --portal-accent-2: #a51b67;
  --portal-soft: #f3eafb;
  --portal-copy-accent: #65329a;
}
html[data-theme="light"] body.portal-owner {
  --portal-accent: #bd2b27;
  --portal-accent-2: #a95a00;
  --portal-soft: #fbeae8;
  --portal-copy-accent: #a5232d;
}
html[data-theme="light"] body.portal-platform {
  --portal-accent: #715400;
  --portal-accent-2: #b51e27;
  --portal-soft: #f8f0d8;
  --portal-copy-accent: #9b202b;
}
html[data-theme="light"] body.portal-member,
html[data-theme="light"] body.portal-trainer:not(.public-role-page):not(.role-login-page),
html[data-theme="light"] body.portal-owner,
html[data-theme="light"] body.portal-platform {
  background:
    radial-gradient(circle at 50% -18%, var(--portal-soft) 0, transparent 34rem),
    linear-gradient(180deg, #f9fafb, var(--bg) 34rem);
}

/* App frame, navigation and browser-native controls */
html[data-theme="light"] .topbar {
  border-bottom-color: rgba(57, 64, 75, .13);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 26px rgba(39, 45, 55, .06);
}
html[data-theme="light"] .brand-word strong { color: #17191e; }
html[data-theme="light"] .brand-word small { color: #69717d; }
html[data-theme="light"] .icon-button,
html[data-theme="light"] .notification-bell {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #4b525d;
  box-shadow: 0 5px 14px rgba(43, 49, 60, .06);
}
html[data-theme="light"] .notification-dot { border-color: #f7f8fa; }
html[data-theme="light"] body.notifications-granted .notification-bell {
  border-color: #90cbaa;
  background: #e8f6ee;
  color: #12683e;
}
html[data-theme="light"] body.notifications-denied .notification-bell {
  border-color: #e0a5ab;
  background: #fff0f1;
  color: #a51e2a;
}
html[data-theme="light"] .role-pill,
html[data-theme="light"] .portal-member .role-pill,
html[data-theme="light"] .portal-trainer .role-pill,
html[data-theme="light"] .portal-owner .role-pill,
html[data-theme="light"] .portal-platform .role-pill {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 54%);
  background: color-mix(in srgb, var(--portal-soft), #fff 30%);
  color: var(--portal-accent);
}
html[data-theme="light"] .bottom-nav {
  border-top-color: #d5dae1;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 30px rgba(37, 43, 54, .08);
}
html[data-theme="light"] .bottom-nav a { color: #69717d; }
html[data-theme="light"] .bottom-nav a.active { color: #191c21; }
html[data-theme="light"] .ms-lang-menu__trigger {
  border-color: #ccd2da;
  background: linear-gradient(180deg, #fff, #f1f3f6);
  box-shadow: inset 0 1px #fff, 0 5px 13px rgba(39, 45, 56, .09);
}
html[data-theme="light"] .ms-lang-menu__code { color: #343942; }
html[data-theme="light"] .ms-lang-menu__panel {
  border-color: #d2d7de;
  background: linear-gradient(180deg, #fff, #f4f6f8);
  box-shadow: 0 18px 38px rgba(31, 37, 47, .16);
}
html[data-theme="light"] .ms-lang-menu__option { color: #262a31; }
html[data-theme="light"] .ms-lang-menu__native { color: #3b414a; }
html[data-theme="light"] .ms-lang-menu__option:hover,
html[data-theme="light"] .ms-lang-menu__option:focus-visible { background: #e9edf1; }
html[data-theme="light"] .ms-lang-menu__option.is-active {
  background: #f4ebcd;
  box-shadow: inset 0 0 0 1px #c5a846;
}

html[data-theme="light"] label { color: #353b44; }
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  border-color: #cbd1d9;
  background: #fff;
  color: #171a1f;
  box-shadow: inset 0 1px 2px rgba(26, 31, 39, .03);
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder { color: #7a818c; opacity: 1; }
html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus {
  border-color: var(--portal-accent, var(--red));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal-accent, var(--red)), transparent 82%);
}
html[data-theme="light"] .button-secondary {
  border-color: #cbd1d9;
  background: linear-gradient(180deg, #fff, #e9edf1);
  color: #22262d;
  box-shadow: 0 5px 13px rgba(38, 44, 55, .07);
}
html[data-theme="light"] .button-primary {
  background-color: var(--red-dark);
  color: #fff;
}
html[data-theme="light"] .button-danger {
  border-color: #e0a6ab;
  background: #fff0f1;
  color: #9f1f2a;
}
html[data-theme="light"] .button-outline-success {
  border-color: #7fbd9a;
  background: #e6f5ec;
  color: #11643b;
}
html[data-theme="light"] .button-light {
  border-color: rgba(255,255,255,.5);
  background: #fff;
  color: #20242a;
}
html[data-theme="light"] .registration-recovery {
  border-color: #6fac8a;
  background:
    radial-gradient(circle at 0 0, rgba(20,122,73,.12), transparent 55%),
    linear-gradient(145deg, #f0faf4, #fff 72%);
  color: #18251e;
  box-shadow: 0 14px 30px rgba(35,66,48,.12);
}
html[data-theme="light"] .registration-recovery-mark {
  border-color: #8cc3a3;
  background: #e4f5eb;
}
html[data-theme="light"] .registration-recovery-copy > span { color: #11633b; }
html[data-theme="light"] .registration-recovery-copy h3 { color: #18251e; }
html[data-theme="light"] .registration-recovery-copy p { color: #4d6256; }
html[data-theme="light"] .forgot-registration-note {
  border-color: #6fac8a;
  background: #eff9f3;
}
html[data-theme="light"] .forgot-registration-note strong { color: #105e38; }
html[data-theme="light"] .forgot-registration-note span { color: #4d6256; }
html[data-theme="light"] .forgot-mail-fallback .button { color: #22262d; }
html[data-theme="light"] .flash,
html[data-theme="light"] .toast {
  border-color: #cbd1d9;
  background: #fff;
  color: #20242b;
  box-shadow: 0 18px 44px rgba(28, 34, 43, .18);
}
html[data-theme="light"] .flash-success,
html[data-theme="light"] .toast.success {
  border-color: #77b792;
  background: #e9f7ef;
  color: #0e6037;
}
html[data-theme="light"] .flash-error,
html[data-theme="light"] .toast.error {
  border-color: #db9fa6;
  background: #fff0f1;
  color: #971c28;
}

/* Shared cards and role surfaces */
html[data-theme="light"] :is(
  .auth-card, .hero-card, .info-card, .quick-links, .settings-card,
  .exercise-panel, .history-card, .session-detail-card, .program-list,
  .member-card, .platform-stats article, .performance-overview,
  .report-panel, .client-report-entry, .intelligence-dashboard,
  .demo-control-grid article, .danger-zone
) {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .hero-card {
  border-color: #e4c4c7;
  background:
    radial-gradient(circle at 100% 0, rgba(201,31,41,.11), transparent 42%),
    linear-gradient(145deg, #fff, #f7f3f4 72%);
}
html[data-theme="light"] .hero-card > p { color: #5e6570; }
html[data-theme="light"] .variant-badge {
  border-color: #d6bd62;
  background: #f8f0d5;
  color: #684d00;
}
html[data-theme="light"] .progress-track,
html[data-theme="light"] .progress-track::-webkit-progress-bar { background: #dfe3e8; }
html[data-theme="light"] .quick-links a,
html[data-theme="light"] .member-card,
html[data-theme="light"] .pending-invite { border-color: var(--line); }
html[data-theme="light"] .portal-member .role-intro,
html[data-theme="light"] .portal-trainer .role-intro,
html[data-theme="light"] .portal-owner .role-intro,
html[data-theme="light"] .portal-platform .role-intro {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 68%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--portal-soft), #fff 25%), #fff);
  box-shadow: inset 4px 0 var(--portal-accent), 0 10px 28px rgba(34, 40, 51, .07);
}
html[data-theme="light"] .role-intro-icon {
  background-color: var(--portal-accent);
}
html[data-theme="light"] .role-intro div > span,
html[data-theme="light"] .setup-card > header > strong,
html[data-theme="light"] .home-section-heading > strong,
html[data-theme="light"] .platform-stats strong,
html[data-theme="light"] .progress-meta span,
html[data-theme="light"] .exercise-title span:not(.complete-chip),
html[data-theme="light"] .weight-summary .suggested strong {
  color: var(--portal-copy-accent, #303640);
}
html[data-theme="light"] .portal-member .next-action-card,
html[data-theme="light"] .portal-trainer .next-action-card,
html[data-theme="light"] .portal-owner .next-action-card,
html[data-theme="light"] .next-action-card {
  border-color: color-mix(in srgb, var(--portal-accent, var(--red)), transparent 68%);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--portal-accent, var(--red)), transparent 88%), transparent 44%),
    #fff;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .next-action-card.is-complete {
  border-color: #8cc5a6;
  background: #edf8f1;
}
html[data-theme="light"] .next-action-card > p,
html[data-theme="light"] .metric-disclaimer {
  color: #59616c;
}
html[data-theme="light"] .button-success {
  background-color: #147a49;
  color: #fff;
}
html[data-theme="light"] .next-action-card.is-waiting,
html[data-theme="light"] .notice-warning {
  border-color: #d7bd65;
  background: #fff8df;
  color: #5f4804;
}
html[data-theme="light"] .account-context-card {
  border-color: color-mix(in srgb, var(--portal-accent, var(--red)), transparent 68%);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--portal-accent, var(--red)), transparent 88%), transparent 46%),
    #fff;
}
html[data-theme="light"] .role-settings-links a {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 65%);
  background: color-mix(in srgb, var(--portal-soft), #fff 32%);
}
html[data-theme="light"] .member-avatar {
  background: #fde8ea;
  color: #aa1d28;
}
html[data-theme="light"] .credential-list div,
html[data-theme="light"] .summary-stats div {
  background: #edf0f3;
}
html[data-theme="light"] .platform-coupon-entry {
  border-color: #d6be68;
  background: linear-gradient(145deg, #fff8df, #fff 65%);
}
html[data-theme="light"] .coupon-copy-box,
html[data-theme="light"] .coupon-code-label input {
  border-color: #c9ae50;
  background: #fff9e3;
  color: #684d00;
}
html[data-theme="light"] .coupon-copy-box strong { color: #29240f; }
html[data-theme="light"] .coupon-message-preview { color: #3e434c; }
html[data-theme="light"] .coupon-account-warning,
html[data-theme="light"] .coupon-login-notice,
html[data-theme="light"] .login-registration-card {
  border-color: #d5bb63;
  background: #fff9e4;
}
html[data-theme="light"] .share-invite,
html[data-theme="light"] .printable-code-sheet {
  border-color: #82b69a;
  background: linear-gradient(145deg, #e9f6ee, #fff);
}
html[data-theme="light"] .access-code-list article { background: #f7f8fa; }

/* Appearance selector */
html[data-theme="light"] .theme-active-badge {
  background: color-mix(in srgb, var(--portal-soft), #fff 32%);
}
html[data-theme="light"] .theme-choice {
  border-color: #d3d8df;
  background: #f8f9fa;
  color: var(--text);
}
html[data-theme="light"] .theme-choice:has(input:checked) {
  border-color: var(--portal-accent, var(--red));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--portal-accent, var(--red)), transparent 74%), 0 12px 28px rgba(36,42,52,.1);
}
html[data-theme="light"] .theme-choice-check {
  border-color: #c5cbd3;
  background: #fff;
  box-shadow: 0 3px 10px rgba(32,38,47,.12);
}
html[data-theme="light"] .theme-choice:has(input:checked) .theme-choice-check {
  color: #fff;
}
html[data-theme="light"] .font-scale-button {
  border-color: color-mix(in srgb, var(--portal-accent, var(--red)), transparent 48%);
  background: color-mix(in srgb, var(--portal-soft, #eef1f4), #fff 34%);
  color: color-mix(in srgb, var(--portal-accent, var(--red)), #111 18%);
}
html[data-theme="light"] .font-scale-readout {
  border-color: #d2d7de;
  background: #f5f7f8;
}
html[data-theme="light"] .font-scale-readout strong { color: #252a31; }
html[data-theme="light"] .font-scale-readout small,
html[data-theme="light"] .font-save-status { color: #59616c; }
html[data-theme="light"] .font-scale-meter i { background: #cfd5dc; }
html[data-theme="light"] .font-scale-meter i.is-active {
  background: var(--portal-accent, var(--red));
}

/* Workout cards, controls and high-speed gym mode */
html[data-theme="light"] .workout-program-edit,
html[data-theme="light"] .program-library-callout,
html[data-theme="light"] .program-edit-callout {
  border-color: #e1c8cb;
  background:
    radial-gradient(circle at 92% 12%, rgba(201,31,41,.09), transparent 35%),
    linear-gradient(145deg, #fff, #f8f1f2);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .workout-program-edit small {
  color: #5d6670;
}
html[data-theme="light"] .program-command-step {
  border-color: #d3d8df;
  background: #fff;
  color: #343942;
  box-shadow: 0 7px 18px rgba(34,40,50,.1);
}
html[data-theme="light"] .program-edit-callout-copy .button,
html[data-theme="light"] .program-day-edit {
  border-color: #d3bd73;
  background: #fff6d8;
  color: #5f4700;
}
html[data-theme="light"] .program-library-callout .button.primary {
  border-color: var(--portal-accent);
  background: linear-gradient(135deg, var(--portal-accent), var(--portal-accent-2));
  background-color: var(--portal-accent);
  color: #fff;
}
html[data-theme="light"] .program-day-edit small { color: #766d54; }
html[data-theme="light"] .program-day > header {
  border-color: var(--line);
  background: #fff3f4;
}
html[data-theme="light"] .exercise-panel.is-completed {
  border-color: #89bea1;
  background: #edf8f2;
}
html[data-theme="light"] .exercise-prescription div,
html[data-theme="light"] .edit-images > div,
html[data-theme="light"] .history-sets div {
  border-color: var(--line);
  background: #f3f5f7;
}
html[data-theme="light"] .instructions,
html[data-theme="light"] .history-notes {
  background: #fff8df;
  color: #51491f;
}
html[data-theme="light"] .weight-summary .suggested {
  border-color: #d2b85d;
  background: #fff8de;
}
html[data-theme="light"] .set-row {
  border-color: var(--line);
  background: #f8f9fa;
}
html[data-theme="light"] .set-row.done {
  border-color: #84b99c;
  background: #eaf6ef;
}
html[data-theme="light"] .number-stepper {
  border-color: #c9cfd7;
  background: #fff;
  box-shadow: 0 5px 12px rgba(36,42,52,.05);
}
html[data-theme="light"] .number-stepper-button {
  background: #e8ecf0;
  color: #4c535e;
}
html[data-theme="light"] .number-stepper-button:first-child { border-bottom-color: #d2d7de; }
html[data-theme="light"] .number-stepper-button:last-child { border-top-color: #d2d7de; }
html[data-theme="light"] .number-stepper-button:active,
html[data-theme="light"] .number-stepper-button.is-holding {
  background: #f8edc9;
  color: #694e00;
}
html[data-theme="light"] .number-stepper input[type="number"] { background: #fff; }
html[data-theme="light"] .set-row.done .number-stepper,
html[data-theme="light"] .set-row.done .number-stepper input[type="number"] {
  border-color: #80b396;
  background: #f2fbf6;
}
html[data-theme="light"] .check-control span[aria-hidden] { border-color: #8b929d; }
html[data-theme="light"] .difficulty span {
  border-color: #ccd2d9;
  background: #fff;
  color: #4f5661;
}
html[data-theme="light"] .difficulty input:checked + span {
  border-color: #ae9232;
  background: #fff5d3;
  color: #634a00;
}
html[data-theme="light"] .difficulty input[value="pain"]:checked + span,
html[data-theme="light"] .medical-note {
  border-color: #d799a1;
  background: #fff0f1;
  color: #951d29;
}
html[data-theme="light"] .mobile-series-launch {
  border-color: #c7a83f;
  background: linear-gradient(135deg, #fff7da, #f6edcf);
  color: #2c2717;
  box-shadow: 0 10px 24px rgba(52,46,25,.1);
}
html[data-theme="light"] .mobile-series-launch small { color: #6a5918; }
html[data-theme="light"] .gym-focus.is-open {
  border-color: #c5a642;
  background:
    radial-gradient(circle at 100% 0, #fff2c4, transparent 43%),
    linear-gradient(155deg, #fff, #f5f1e4 70%);
  color: #171a1f;
  box-shadow: 0 0 0 100vmax rgba(24,29,36,.66), 0 28px 70px rgba(18,23,31,.28), inset 0 1px #fff;
}
html[data-theme="light"] .gym-focus-header button {
  border-color: #cbd1d8;
  background: #fff;
  color: #444b55;
}
html[data-theme="light"] .gym-focus-progress,
html[data-theme="light"] .gym-focus-metrics > div {
  border-color: #d3d8df;
  background: rgba(255,255,255,.78);
}
html[data-theme="light"] .gym-focus-metrics small,
html[data-theme="light"] .gym-focus-stepper small { color: #666d78; }
html[data-theme="light"] .gym-focus-ready p { color: #656c77; }
html[data-theme="light"] .gym-focus-stepper {
  border-color: #c7cdd5;
  background: #fff;
}
html[data-theme="light"] .gym-focus-stepper button {
  background: #e9edf1;
  color: #6c5000;
}
html[data-theme="light"] .gym-focus-stepper button.is-holding {
  background: #f7e8b6;
  color: #5c4400;
}
html[data-theme="light"] .gym-focus-stepper.is-series-timer.is-warning {
  border-color: #c79f1f;
  background: #fff4c8;
}
html[data-theme="light"] .gym-focus-stepper.is-series-timer.is-finished {
  border-color: #c4434e;
  background: #ffe7e9;
}
html[data-theme="light"] .gym-focus-stepper.is-series-timer.is-finished strong { color: #a51c28; }
html[data-theme="light"] .gym-focus-series-timer {
  border-color: #c8aa45;
  background: linear-gradient(135deg, #fff7d9, #fff);
}
html[data-theme="light"] .gym-focus-series-timer-copy span { color: #5f5636; }
html[data-theme="light"] .gym-focus-series-timer-actions button {
  border-color: #c7ad52;
  background: #fff1be;
  color: #5b4400;
}
html[data-theme="light"] .gym-focus-series-timer-track { background: #ded7be; }
html[data-theme="light"] .gym-focus-series-timer.is-warning { background: #fff2bf; }
html[data-theme="light"] .gym-focus-series-timer.is-paused {
  border-color: #c8cdd4;
  background: #eef1f4;
}
html[data-theme="light"] .gym-focus-series-timer.is-finished {
  border-color: #c4434e;
  background: #ffe6e8;
}
html[data-theme="light"] .gym-focus-series-timer.is-finished .gym-focus-series-timer-copy small,
html[data-theme="light"] .gym-focus-series-timer.is-finished .gym-focus-series-timer-copy span { color: #971c27; }
html[data-theme="light"] .rest-timer {
  border-color: #c7a940;
  background: rgba(255, 248, 220, .97);
  color: #29230f;
  box-shadow: 0 15px 45px rgba(40,36,22,.18);
}
html[data-theme="light"] .rest-timer > .timer-readout > small {
  color: #59616c;
}
html[data-theme="light"] .timer-next-exercise {
  border-color: #c8b76f;
  background: rgba(255,255,255,.8);
  box-shadow: 0 10px 25px rgba(50,43,16,.1);
}
html[data-theme="light"] .timer-next-exercise span { color: #6e5600; }
html[data-theme="light"] .timer-next-exercise strong { color: #181a1e; }
html[data-theme="light"] .timer-next-exercise small { color: #4f5863; }
html[data-theme="light"] .timer-controls button {
  border-color: #c8ae50;
  background: #fff1bd;
  color: #5a4606;
}
html[data-theme="light"] .rest-timer.is-warning-yellow {
  border-color: rgba(31, 34, 24, .38);
  background: #f3cc36;
  color: #07120b;
  box-shadow: 0 -24px 90px rgba(33, 29, 9, .24), inset 0 0 50px rgba(255,255,255,.18);
}
html[data-theme="light"] .rest-timer.is-warning-green {
  border-color: rgba(7, 64, 34, .38);
  background: #25c875;
  color: #07120b;
  box-shadow: 0 -24px 90px rgba(7, 75, 38, .22), inset 0 0 50px rgba(255,255,255,.18);
}
html[data-theme="light"] .rest-timer.is-warning > .timer-readout > span,
html[data-theme="light"] .rest-timer.is-warning > .timer-readout > small {
  color: #102016;
}
html[data-theme="light"] .rest-timer.is-warning .timer-controls button {
  border-color: rgba(0,0,0,.25);
  background: rgba(10,20,13,.82);
  color: #fff;
}
html[data-theme="light"] .rest-timer.is-warning .timer-controls .timer-skip {
  background: rgba(255,255,255,.48);
  color: #112117;
}
html[data-theme="light"] .rest-timer.is-finished {
  border-color: #159552;
  background: #13b85d;
  color: #04150b;
  box-shadow: 0 -24px 100px rgba(19,184,93,.28), inset 0 0 70px rgba(255,255,255,.2);
}
html[data-theme="light"] .rest-timer.is-finished > .timer-readout > span {
  color: #042b13;
}
html[data-theme="light"] .rest-timer.is-finished > .timer-readout > small {
  color: #073f1d;
}

/* Completion, dialogs and exercise media */
html[data-theme="light"] .completion-hero,
html[data-theme="light"] .exercise-complete-shell {
  border-color: #83b99a;
  background:
    radial-gradient(circle at 50% 0, rgba(20,122,73,.13), transparent 38%),
    linear-gradient(145deg, #eff9f3, #fff 64%);
  box-shadow: 0 28px 72px rgba(32,61,44,.14);
}
html[data-theme="light"] .exercise-complete-close {
  border-color: #afc7b8;
  background: #fff;
  color: #3c5145;
}
html[data-theme="light"] .exercise-complete-shell > p { color: #5c6a61; }
html[data-theme="light"] .exercise-complete-shell > p strong { color: #173d28; }
html[data-theme="light"] .exercise-complete-shell > .exercise-complete-motivation {
  background: #e6f5ec;
  color: #24533a;
}
html[data-theme="light"] .exercise-complete-next,
html[data-theme="light"] .exercise-complete-last {
  border-color: #b5cbbd;
  background: #f5fbf7;
  color: #253c2f !important;
}
html[data-theme="light"] .exercise-complete-stay { color: #59675f; }
html[data-theme="light"] :is(.lightbox-shell, .exercise-swap-shell, .media-account-dialog) {
  border-color: #cdd3da;
  background:
    radial-gradient(circle at 100% 0, #e5f4f755, transparent 33%),
    linear-gradient(155deg, #fff, #eef1f4 72%);
  color: var(--text);
  box-shadow: 0 34px 100px rgba(17,23,32,.3);
}
html[data-theme="light"] :is(.lightbox-header, .lightbox-footer, .exercise-swap-header) {
  border-color: #d4d9df;
  background: rgba(255,255,255,.9);
}
html[data-theme="light"] :is(.lightbox-close, .exercise-swap-close, .media-dialog-close) {
  border-color: #c7cdd5;
  background: #fff;
  color: #303640;
  box-shadow: 0 8px 22px rgba(31,37,46,.13);
}
html[data-theme="light"] .lightbox-mode-tabs {
  border-color: #d4d9df;
  background: #e9edf1;
}
html[data-theme="light"] .lightbox-mode-tabs button { color: #656d78; }
html[data-theme="light"] .lightbox-mode-tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #f8dfe1, #c91f29);
  color: #fff;
  box-shadow: 0 8px 20px rgba(128,25,32,.18);
}
html[data-theme="light"] .lightbox-stage {
  border-color: #cbd1d9;
  background: radial-gradient(circle at 50% 35%, #f0f2f4, #dfe3e7 72%);
  box-shadow: 0 18px 46px rgba(30,36,46,.14);
}
html[data-theme="light"] .lightbox-arrow {
  border-color: rgba(255,255,255,.78);
  background: rgba(34,39,47,.82);
  color: #fff;
}
html[data-theme="light"] .lightbox-frame-tabs button {
  border-color: #ccd2da;
  background: #fff;
  color: #5f6671;
}
html[data-theme="light"] .lightbox-frame-tabs button[aria-selected="true"] {
  border-color: #c96b73;
  background: #fdebed;
  color: #8d1a24;
}
html[data-theme="light"] .lightbox-muscle-map {
  border-color: #8db4be;
  background: radial-gradient(circle at 50% 25%, #15303a, #030405 70%);
  box-shadow: 0 18px 40px rgba(32,50,56,.16);
}
html[data-theme="light"] .lightbox-muscle-map figcaption {
  border-color: #aac6cc;
  color: #315f69;
}
html[data-theme="light"] .lightbox-muscle-legend span {
  border-color: #cdd2d9;
  color: #4e555f;
}
html[data-theme="light"] .lightbox-muscle-list li { background: #fdecee; }
html[data-theme="light"] .lightbox-muscle-list li.is-secondary { background: #fff2df; }
html[data-theme="light"] .lightbox-muscle-note {
  background: #eaf3f5;
  color: #486b72;
}
html[data-theme="light"] .lightbox-footer > span { color: #5f6671; }
html[data-theme="light"] .lightbox-header > span,
html[data-theme="light"] .lightbox-gesture-hint {
  color: #59616c;
}

/* Exercise archive, details and personal substitution */
html[data-theme="light"] :is(
  .exercise-library-hero, .exercise-library-program, .exercise-library-filters,
  .exercise-library-card, .exercise-visual, .exercise-guide-hero,
  .exercise-guide-sections details, .exercise-guide-sources
) {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .exercise-library-hero,
html[data-theme="light"] .exercise-guide-hero {
  border-color: #d4be71;
  background:
    radial-gradient(circle at 100% 0, #fff1bd, transparent 42%),
    linear-gradient(150deg, #fff, #f6f3ea 74%);
}
html[data-theme="light"] .exercise-library-count {
  border-color: #c8aa45;
  background: #fff4cc;
  color: #604800;
}
html[data-theme="light"] .exercise-library-hero p,
html[data-theme="light"] .exercise-library-program p,
html[data-theme="light"] .exercise-library-results-head > span,
html[data-theme="light"] .exercise-library-english-name,
html[data-theme="light"] .exercise-library-card-status small {
  color: #59616c;
}
html[data-theme="light"] .exercise-library-count strong {
  color: #9b202b;
}
html[data-theme="light"] .exercise-library-count span,
html[data-theme="light"] .exercise-library-filters label > span,
html[data-theme="light"] .exercise-library-card-facts dt {
  color: #59616c;
}
html[data-theme="light"] .exercise-library-program .card-label,
html[data-theme="light"] .exercise-library-card-status.is-reviewed strong {
  color: #12643b;
}
html[data-theme="light"] .exercise-library-card-status.is-reviewed > span {
  background: #dff3e8;
  color: #12643b;
}
html[data-theme="light"] .exercise-library-card-status.is-open > span {
  background: #fff1c2;
  color: #725400;
}
html[data-theme="light"] .exercise-library-card-status.is-open strong {
  color: #725400;
}
html[data-theme="light"] .exercise-library-card-media,
html[data-theme="light"] .exercise-visual {
  background: #e7eaee;
}
html[data-theme="light"] .exercise-library-card-facts div {
  border-color: #d8dde3;
  background: #f3f5f7;
}
html[data-theme="light"] .exercise-library-muscles span,
html[data-theme="light"] .exercise-muscle-list li {
  background: #fdecee;
  color: #8b1923;
}
html[data-theme="light"] .exercise-library-muscles .is-secondary,
html[data-theme="light"] .exercise-muscle-list li.is-secondary { background: #fff1dc; color: #8a4c00; }
html[data-theme="light"] .exercise-library-added {
  border-color: #80b89a;
  background: #e7f6ed;
  color: #11643b;
}
html[data-theme="light"] .exercise-library-page-numbers a {
  border-color: #cbd1d9;
  background: #fff;
}
html[data-theme="light"] .exercise-library-page-numbers a.is-current {
  background: var(--portal-accent, var(--red));
  color: #fff;
}
html[data-theme="light"] .exercise-visual-tabs {
  border-color: #d1d6dd;
  background: #e9edf1;
}
html[data-theme="light"] .exercise-visual-header .card-label {
  color: #146a79;
}
html[data-theme="light"] .exercise-visual-tabs button {
  color: #555e69;
}
html[data-theme="light"] .exercise-visual-tabs button[aria-selected="true"] {
  background: #fff;
  color: #20242b;
  box-shadow: 0 5px 14px rgba(34,40,50,.1);
}
html[data-theme="light"] .exercise-visual-hint {
  color: #58616c;
}
html[data-theme="light"] .exercise-technique-images button,
html[data-theme="light"] .exercise-guide-images button { background: #e7eaee; }
html[data-theme="light"] .exercise-muscle-map { background: radial-gradient(circle at 50% 25%, #11262c, #050607 66%); }
html[data-theme="light"] .exercise-muscle-disclaimer,
html[data-theme="light"] .exercise-guide-disclaimer {
  background: #eef4f5;
  color: #4d676d;
}
html[data-theme="light"] .exercise-guide-sections details[open] { background: #f8f9fa; }
html[data-theme="light"] .exercise-guide-steps li,
html[data-theme="light"] .exercise-guide-chips li { border-color: #d5dae1; background: #f7f8fa; }
html[data-theme="light"] .exercise-guide-breathing { background: #e9f6ee; color: #21563a; }
html[data-theme="light"] .exercise-guide-stop-section[open],
html[data-theme="light"] .exercise-specific-stop,
html[data-theme="light"] .exercise-guide-emergency {
  border-color: #dda2a8;
  background: #fff0f1;
  color: #8f1b26;
}
html[data-theme="light"] .user-choice-chip,
html[data-theme="light"] .exercise-swap-entry,
html[data-theme="light"] .exercise-personalization-entry,
html[data-theme="light"] .client-exercise-choice-note {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 64%);
  background: color-mix(in srgb, var(--portal-soft), #fff 28%);
}
html[data-theme="light"] .exercise-swap-entry > button,
html[data-theme="light"] .gym-focus-swap,
html[data-theme="light"] .program-exercise-swap {
  border-color: #cbd1d9;
  background: #fff;
  color: #303640;
}
html[data-theme="light"] .exercise-swap-entry > div > span,
html[data-theme="light"] .program-exercise-row .program-exercise-main em {
  color: #176879;
}
html[data-theme="light"] .exercise-swap-entry > div > small {
  color: #596870;
}
html[data-theme="light"] .user-choice-chip {
  color: #176879;
}
html[data-theme="light"] .gym-focus-progress small.is-live {
  color: #12643b;
}
html[data-theme="light"] .day-badge {
  color: #fff;
}
html[data-theme="light"] .autosave-status {
  color: #59616c;
}
html[data-theme="light"] .exercise-guide-link,
html[data-theme="light"] .session-guide-link {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
  box-shadow: 0 8px 20px rgba(34, 40, 50, .08);
}
html[data-theme="light"] .exercise-guide-link__copy small {
  color: #59616c;
}
html[data-theme="light"] .exercise-guide-link > b,
html[data-theme="light"] .session-guide-link {
  color: #725400;
}
html[data-theme="light"] .gym-focus-swap > span:first-child {
  background: #e4f4f7;
  color: #176879;
}
html[data-theme="light"] .gym-focus-swap small,
html[data-theme="light"] .gym-focus-swap > b {
  color: #176879;
}
html[data-theme="light"] .exercise-swap-current,
html[data-theme="light"] .exercise-swap-assist,
html[data-theme="light"] .exercise-swap-reasons > button,
html[data-theme="light"] .exercise-swap-option,
html[data-theme="light"] .exercise-swap-comparison > article,
html[data-theme="light"] .exercise-swap-why,
html[data-theme="light"] .exercise-swap-motivation,
html[data-theme="light"] .exercise-swap-scope {
  border-color: #d0d6dd;
  background: #fff;
  color: #20242b;
}
html[data-theme="light"] .exercise-swap-current > img,
html[data-theme="light"] .exercise-swap-option-select > img,
html[data-theme="light"] .exercise-swap-comparison img { background: #e7ebef; }
html[data-theme="light"] .exercise-swap-current > button,
html[data-theme="light"] .exercise-swap-motivation > button {
  border-color: #c6ccd4;
  background: #eef1f4;
  color: #343a43;
}
html[data-theme="light"] .exercise-swap-reasons > button[aria-pressed="true"] {
  border-color: var(--portal-accent);
  background: var(--portal-soft);
}
html[data-theme="light"] .exercise-swap-tools input,
html[data-theme="light"] .exercise-swap-tools select { background: #fff; }
html[data-theme="light"] .exercise-swap-option-facts i {
  border-color: #d6dbe1;
  background: #f1f3f6;
  color: #505761;
}
html[data-theme="light"] .exercise-swap-drag-handle,
html[data-theme="light"] .exercise-swap-option-select {
  border-color: #cbd1d9;
  background: #f6f8f9;
  color: #3c424b;
}
html[data-theme="light"] .exercise-swap-comparison > article.is-after {
  border-color: #81ba9b;
  background: #eaf7ef;
}
html[data-theme="light"] .exercise-swap-state > span { background: #edf0f3; }
html[data-theme="light"] .exercise-swap-state > span.is-success { background: #dff3e8; color: #12653c; }
html[data-theme="light"] .exercise-swap-state > span.is-error { background: #fde4e6; color: #a01d29; }
html[data-theme="light"] .exercise-library-card-facts dd,
html[data-theme="light"] .exercise-library-page-numbers a,
html[data-theme="light"] .exercise-guide-detail-body h3 {
  color: #252a31;
}
html[data-theme="light"] .exercise-muscle-map figcaption,
html[data-theme="light"] .exercise-muscle-legend,
html[data-theme="light"] .exercise-guide-back,
html[data-theme="light"] .exercise-guide-hero p,
html[data-theme="light"] .exercise-guide-detail-body,
html[data-theme="light"] .exercise-guide-sections details summary small {
  color: #59616c;
}
html[data-theme="light"] .exercise-guide-kicker,
html[data-theme="light"] .exercise-guide-breathing strong {
  color: #176879;
}
html[data-theme="light"] .exercise-swap-header span,
html[data-theme="light"] .exercise-swap-assist-copy > span,
html[data-theme="light"] .exercise-swap-results-heading > span,
html[data-theme="light"] .exercise-swap-option-muscle,
html[data-theme="light"] .exercise-swap-option-copy > em,
html[data-theme="light"] .exercise-swap-confirm-heading > span,
html[data-theme="light"] .exercise-swap-comparison article > span,
html[data-theme="light"] .exercise-swap-why span,
html[data-theme="light"] .exercise-swap-motivation > div > span {
  color: #176879;
}
html[data-theme="light"] .exercise-swap-header p,
html[data-theme="light"] .exercise-swap-current span,
html[data-theme="light"] .exercise-swap-current small,
html[data-theme="light"] .exercise-swap-assist-copy > small,
html[data-theme="light"] .exercise-swap-tools label > span,
html[data-theme="light"] .exercise-swap-results-heading > small,
html[data-theme="light"] .exercise-swap-status,
html[data-theme="light"] .exercise-swap-option-select > b,
html[data-theme="light"] .exercise-swap-confirm-heading > p,
html[data-theme="light"] .exercise-swap-comparison article > small,
html[data-theme="light"] .exercise-swap-why p,
html[data-theme="light"] .exercise-swap-state p {
  color: #59616c;
}

/* Music shell and account connection */
html[data-theme="light"] .workout-music-player,
html[data-theme="light"] .settings-media-player,
html[data-theme="light"] .music-voice-settings {
  border-color: #cbd1d9;
  background: #fff;
  color: #20242b;
}
html[data-theme="light"] .workout-music-empty,
html[data-theme="light"] .music-player-status,
html[data-theme="light"] .music-embed-shell {
  border-color: #d4d9df;
  background: #eef1f4;
  color: #59616c;
}
html[data-theme="light"] .workout-music-empty strong {
  color: #353c46;
}
html[data-theme="light"] .workout-music-empty b {
  border-color: #86b99b;
  background: #e1f4e9;
  color: #12653c;
}
html[data-theme="light"] .music-player-copy small {
  color: #12653c;
}
html[data-theme="light"] .music-player-copy em {
  border-color: #c7cdd5;
  color: #59616c;
}
html[data-theme="light"] .music-player-copy strong {
  color: #20242b;
}
html[data-theme="light"] .music-player-copy span {
  color: #606873;
}
html[data-theme="light"] .music-player-controls button,
html[data-theme="light"] .music-provider-buttons button,
html[data-theme="light"] .media-guide-tabs,
html[data-theme="light"] .media-guide-steps li,
html[data-theme="light"] .media-create-help,
html[data-theme="light"] .media-account-provider,
html[data-theme="light"] .media-playlist-button {
  border-color: #cbd1d9;
  background: #f5f7f8;
  color: #303640;
}
html[data-theme="light"] .music-player-controls button[data-media-action="expand"] {
  color: #4b535e;
}
html[data-theme="light"] .music-player-controls button[data-media-action="toggle"] {
  border-color: #9fb3b9;
  background: #e7f2f4;
  color: #1f606c;
}
html[data-theme="light"] .media-account-panel > p,
html[data-theme="light"] .media-account-panel > p strong {
  color: #555e69;
}
html[data-theme="light"] .media-guide-tabs button {
  color: #59616c;
}
html[data-theme="light"] .media-guide-tabs button[aria-selected="true"][data-media-guide-provider="spotify"] {
  border-color: #86b99b;
  background: #dff6e8;
  color: #0d6036;
}
html[data-theme="light"] .media-guide-tabs button[aria-selected="true"][data-media-guide-provider="youtube"] {
  border-color: #d8949a;
  background: #ffe8ea;
  color: #971e29;
}
html[data-theme="light"] .media-source-card {
  border-color: #8bc2a3;
  background: linear-gradient(145deg, #e8f7ee, #fff);
}
html[data-theme="light"] .media-account-dialog[data-media-selected-guide="youtube"] .media-source-card {
  border-color: #df999f;
  background: linear-gradient(145deg, #ffebed, #fff);
}
html[data-theme="light"] .media-guide-steps li > span {
  border-color: #8fbfa5;
  background: #dff3e8;
  color: #12643b;
}
html[data-theme="light"] .media-guide-steps strong,
html[data-theme="light"] .media-guide-steps b {
  color: #252a31;
}
html[data-theme="light"] .media-guide-steps small {
  color: #59646d;
}
html[data-theme="light"] .media-create-help summary,
html[data-theme="light"] .media-create-help strong {
  color: #293039;
}
html[data-theme="light"] .media-create-help p,
html[data-theme="light"] .media-source-form > small,
html[data-theme="light"] .media-dialog-note {
  color: #5f6873;
}
html[data-theme="light"] .media-source-form {
  border-top-color: #d4d9df;
}
html[data-theme="light"] .media-source-form label {
  color: #343b44;
}
html[data-theme="light"] .media-source-form input {
  border-color: #b8c4bf;
  background: #fff;
  color: #171a1f;
}
html[data-theme="light"] .media-account-divider {
  color: #646c77;
}
html[data-theme="light"] .media-account-divider::before,
html[data-theme="light"] .media-account-divider::after,
html[data-theme="light"] .media-library,
html[data-theme="light"] .media-dialog-note {
  border-color: #d4d9df;
}
html[data-theme="light"] .media-account-provider.is-connected {
  border-color: #81b99a;
  background: #eaf7ef;
}
html[data-theme="light"] .media-provider-mark,
html[data-theme="light"] .media-playlist-placeholder { background: #e5e9ed; color: #3d434d; }
html[data-theme="light"] .media-account-provider.spotify .media-provider-mark {
  background: #dff6e8;
  color: #0d6b3c;
}
html[data-theme="light"] .media-account-provider > button,
html[data-theme="light"] .media-library header button {
  border-color: #c6ccd4;
  background: #fff;
  color: #343a43;
}
html[data-theme="light"] .media-provider-copy span,
html[data-theme="light"] .media-playlist-button span {
  color: #5e6671;
}
html[data-theme="light"] .media-provider-copy small,
html[data-theme="light"] .media-library-empty {
  color: #69717c;
}
html[data-theme="light"] .media-account-provider.spotify > button:not(.media-account-disconnect) {
  border-color: #83b99a;
  background: #e2f5e9;
  color: #105f37;
}
html[data-theme="light"] .media-account-provider.youtube > button:not(.media-account-disconnect) {
  border-color: #dc9aa1;
  background: #ffe9eb;
  color: #981e2a;
}
html[data-theme="light"] .media-account-provider .media-account-disconnect {
  border-color: #d7a2a7;
  color: #98232e;
}

/* First-run onboarding */
html[data-theme="light"] .onboarding {
  border-color: #cdd3da;
  background: #fff;
  color: #1b1f25;
  box-shadow: 0 30px 90px rgba(20, 26, 34, .32);
}
html[data-theme="light"] .onboarding-progress {
  background: #dce1e6;
}
html[data-theme="light"] .onboarding-close {
  border-color: #c9cfd7;
  background: rgba(255,255,255,.94);
  color: #343b44;
}
html[data-theme="light"] .onboarding-step p,
html[data-theme="light"] .onboarding-skip {
  color: #59616c;
}
html[data-theme="light"] .guide-demo > div {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #252a31;
}
html[data-theme="light"] .guide-demo b {
  background: #e8ecf0;
  color: #6c5000;
}
html[data-theme="light"] .guide-demo small,
html[data-theme="light"] .onboarding-actions {
  border-color: #d5dae1;
}

/* Guided tour remains focused, but adopts light cards */
html[data-theme="light"] .tour-help-button {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 48%);
  background: #fff;
  color: #272b32;
}
html[data-theme="light"] .tour-help-button span {
  color: #fff;
}
html[data-theme="light"] .tour-popover {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 42%);
  background: #fff;
  color: #1b1e23;
  box-shadow: 0 24px 70px rgba(19,25,34,.28);
}
html[data-theme="light"] .tour-popover::before { background: #fff; }
html[data-theme="light"] .tour-close,
html[data-theme="light"] .tour-action {
  border-color: #cbd1d9;
  background: #edf0f3;
  color: #343a43;
}
html[data-theme="light"] .tour-popover p { color: #5b626d; }
html[data-theme="light"] .tour-progress { background: #dce1e6; }
html[data-theme="light"] .tour-action.is-primary {
  border-color: color-mix(in srgb, var(--portal-accent), #000 52%);
  background: color-mix(in srgb, var(--portal-accent), #000 45%);
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--portal-accent), transparent 76%);
}
html[data-theme="light"] .tour-kicker,
html[data-theme="light"] .tour-kicker b {
  color: #303640;
}

/* Insights, More and gamification */
html[data-theme="light"] .insights-page .app-shell,
html[data-theme="light"] .more-page .app-shell {
  --insight-cyan: #00758c;
  --insight-cyan-soft: #e3f3f6;
  --insight-green: #147a49;
  --insight-yellow: var(--portal-copy-accent, #303640);
  --insight-slate: #59616c;
}
html[data-theme="light"] .insights-kpis article,
html[data-theme="light"] .insight-card,
html[data-theme="light"] .exercise-trend-card,
html[data-theme="light"] .more-priority-card,
html[data-theme="light"] .more-card,
html[data-theme="light"] .shark-collection-hero,
html[data-theme="light"] .shark-category,
html[data-theme="light"] .shark-collectible,
html[data-theme="light"] .shark-secret-vault {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 72%);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .insights-kpis strong { color: var(--text); }
html[data-theme="light"] .insight-chart-scroll,
html[data-theme="light"] .insight-empty,
html[data-theme="light"] .more-link-list,
html[data-theme="light"] .shark-collectible-visual {
  border-color: #d2d7de;
  background: #f0f3f5;
}
html[data-theme="light"] .insight-safety-note { background: #fff8df; color: #5f4a0b; }
html[data-theme="light"] .more-priority-card {
  background:
    radial-gradient(circle at 100% 0, var(--portal-soft), transparent 46%),
    #fff;
}
html[data-theme="light"] .more-card-icon,
html[data-theme="light"] .notification-icon { background: var(--portal-soft); color: var(--portal-accent); }
html[data-theme="light"] .shark-collection-score,
html[data-theme="light"] .shark-collection-nav a { border-color: #d0d6dd; background: #f5f7f8; }
html[data-theme="light"] .shark-collection-score strong,
html[data-theme="light"] .shark-category > header > strong,
html[data-theme="light"] .insights-kpis span,
html[data-theme="light"] .insight-unit,
html[data-theme="light"] .more-link-list b {
  color: #00758c;
}
html[data-theme="light"] .shark-collectible.is-locked .shark-collectible-visual > span {
  color: #fff;
}
html[data-theme="light"] .shark-lock-progress progress::-webkit-progress-bar { background: #dce1e6; }
html[data-theme="light"] .heatmap-day {
  border-color: #d2d7de;
  background: #f4f6f8;
  color: #59616c;
}
html[data-theme="light"] .heatmap-day.level-1 { border-color: #9bc8ae; background: #e8f5ed; color: #215c3c; }
html[data-theme="light"] .heatmap-day.level-2 { border-color: #6fac8a; background: #cfeada; color: #174d31; }
html[data-theme="light"] .heatmap-day.level-3 { border-color: #3b9165; background: #94d5ae; color: #123f28; }
html[data-theme="light"] .heatmap-day.level-4 { border-color: #247b4e; background: #58bd80; color: #092f1c; }
html[data-theme="light"] .heatmap-day.is-skipped { border-color: #aeb5be; background: #dfe3e8; color: #434a54; }
html[data-theme="light"] .notification-status {
  color: #12643b;
}
html[data-theme="light"] .progress-check-entry {
  background-color: #101a1c;
}
html[data-theme="light"] .progress-check-entry .card-label {
  color: #86edf6;
}
html[data-theme="light"] .chart-label {
  fill: #59616c;
}
html[data-theme="light"] .chart-value {
  fill: #252a31;
}
html[data-theme="light"] .insight-data-table {
  border-color: #d5dae1;
}
html[data-theme="light"] .insight-data-table summary,
html[data-theme="light"] .insight-data-table table {
  color: #3f4752;
}
html[data-theme="light"] .insight-data-table th,
html[data-theme="light"] .insight-data-table td {
  border-color: #d9dee4;
}
html[data-theme="light"] .insight-safety-note strong {
  color: #971e29;
}
html[data-theme="light"] .insight-safety-note span {
  color: #62575a;
}
html[data-theme="light"] .shark-collection-hero p,
html[data-theme="light"] .shark-collectible p,
html[data-theme="light"] .shark-lock-progress > div,
html[data-theme="light"] .shark-secret-vault p {
  color: #59616c;
}
html[data-theme="light"] .shark-collection-nav a {
  color: #3f4752;
}
html[data-theme="light"] .shark-collection-nav a:hover,
html[data-theme="light"] .shark-collection-nav a:focus-visible {
  color: #176879;
}
html[data-theme="light"] .shark-collectible h4,
html[data-theme="light"] .shark-secret-vault strong {
  color: #252a31;
}
html[data-theme="light"] .shark-collectible.rarity-common { --rarity-color: #176879; }
html[data-theme="light"] .shark-collectible.rarity-uncommon { --rarity-color: #12643b; }
html[data-theme="light"] .shark-collectible.rarity-rare { --rarity-color: #245f9d; }
html[data-theme="light"] .shark-collectible.rarity-epic { --rarity-color: #7138ad; }
html[data-theme="light"] .shark-collectible.rarity-legendary { --rarity-color: #7b5500; }
html[data-theme="light"] .shark-collectible.rarity-mythic { --rarity-color: #a51e29; }

/* Home journey */
html[data-theme="light"] .home-ai-onboarding,
html[data-theme="light"] .home-command-center,
html[data-theme="light"] .journey-hero,
html[data-theme="light"] .journey-chart-card,
html[data-theme="light"] .journey-achievements,
html[data-theme="light"] .journey-record-card,
html[data-theme="light"] .journey-consistency-card,
html[data-theme="light"] .journey-achievement-list article {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 68%);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .home-command-center {
  background:
    radial-gradient(circle at 100% 0, var(--portal-soft), transparent 40%),
    #fff;
}
html[data-theme="light"] .home-ai-onboarding {
  border-color: #8fc4ce;
  background:
    radial-gradient(circle at 83% 22%, #dff3f6, transparent 35%),
    radial-gradient(circle at 0 100%, #e7f4fa, transparent 40%),
    #fff;
}
html[data-theme="light"] .home-ai-onboarding .card-label,
html[data-theme="light"] .home-ai-onboarding li span {
  color: #075f72;
}
html[data-theme="light"] .home-ai-onboarding-copy > p,
html[data-theme="light"] .home-ai-onboarding-copy > small {
  color: #56636a;
}
html[data-theme="light"] .home-ai-onboarding li {
  border-color: #cad8dc;
  background: #f5f9fa;
}
html[data-theme="light"] .home-ai-onboarding li span {
  border-color: #86bac4;
  background: #e5f5f7;
}
html[data-theme="light"] .home-ai-onboarding li strong {
  color: #293239;
}
html[data-theme="light"] .home-ai-onboarding figure img {
  filter: drop-shadow(0 24px 30px rgba(32, 61, 68, .18));
}
html[data-theme="light"] .home-ai-onboarding figcaption {
  border-color: #85bcc7;
  background: rgba(239, 250, 252, .94);
  color: #135d6b;
}
html[data-theme="light"] .home-command-center > header p { color: #5d646f; }
html[data-theme="light"] .install-cta {
  border-color: #d4b75b;
  background:
    radial-gradient(circle at 0 0, #fff4c8, transparent 48%),
    #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .install-cta small {
  color: #5f6670;
}
html[data-theme="light"] .install-cta-close {
  color: #59616c;
}
html[data-theme="light"] .home-command-program,
html[data-theme="light"] .home-command-workout,
html[data-theme="light"] .journey-kpis article,
html[data-theme="light"] .journey-first-mission {
  border-color: #d3d8df;
  background: #f4f6f8;
  color: #24282f;
}
html[data-theme="light"] .home-command-workout > p {
  color: #626a75;
}
html[data-theme="light"] .home-command-actions a {
  border-color: #d2d8df;
  background: #f7f9fa;
  color: #23272e;
  box-shadow: inset 0 1px #fff, 0 7px 18px rgba(35, 41, 51, .06);
}
html[data-theme="light"] .home-command-actions a:hover,
html[data-theme="light"] .home-command-actions a:focus-visible {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 48%);
  background: color-mix(in srgb, var(--portal-soft), #fff 38%);
}
html[data-theme="light"] .home-command-actions strong {
  color: #22272e;
}
html[data-theme="light"] .home-command-actions small {
  color: #5f6772;
}
html[data-theme="light"] .home-wellness-portal {
  border-color: #88bca0;
  background: #eaf7ef;
}
html[data-theme="light"] .home-wellness-portal p,
html[data-theme="light"] .home-more-heading p,
html[data-theme="light"] .journey-hero-copy > p,
html[data-theme="light"] .journey-kpis small {
  color: #59616c;
}
html[data-theme="light"] .home-wellness-portal .card-label,
html[data-theme="light"] .home-wellness-symbol {
  color: #126760;
}
html[data-theme="light"] .journey-chart-label {
  fill: #59616c;
}
html[data-theme="light"] .journey-level-progress progress::-webkit-progress-bar { background: #dce1e6; }
html[data-theme="light"] .achievement-dialog {
  border-color: #d0d5dc;
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] .achievement-dialog-close { border-color: #cbd1d9; background: #f1f3f5; color: #3f4650; }

/* Wellness */
html[data-theme="light"] .wellness-app {
  --wellness-soft: #e5f5f8;
  --wellness-accent: #00758c;
  --wellness-accent-2: #147a49;
}
html[data-theme="light"] .wellness-consent-card,
html[data-theme="light"] .wellness-next-action,
html[data-theme="light"] :is(
  .wellness-progress-card, .wellness-timeline, .wellness-history-card,
  .wellness-quantity-section, .wellness-routines, .wellness-calendar-card,
  .wellness-notification-card, .wellness-privacy-card, .wellness-safety-card,
  .wellness-data-card
) {
  border-color: #cbd8d6;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .wellness-consent-card {
  background:
    radial-gradient(circle at 100% 0, #d6f0e7, transparent 46%),
    #fff;
}
html[data-theme="light"] .wellness-consent-card > p { color: #596a65; }
html[data-theme="light"] .wellness-consent-card > label {
  border-color: #b7cec7;
  background: #f1f8f5;
}
html[data-theme="light"] .wellness-add-button,
html[data-theme="light"] .wellness-section-heading > button,
html[data-theme="light"] .wellness-date-nav > a {
  border-color: #bad4d9;
  background: #eef7f9;
  color: #225c67;
}
html[data-theme="light"] .wellness-date-nav .wellness-date-current {
  background: linear-gradient(145deg, #e9f6f8, #fff);
}
html[data-theme="light"] .wellness-feedback {
  border-color: #7db596;
  background: #e7f6ed;
  color: #105f37;
  box-shadow: 0 12px 30px rgba(28,65,45,.1);
}
html[data-theme="light"] .wellness-feedback.is-error {
  border-color: #d99ca3;
  background: #fff0f1;
  color: #971c27;
}
html[data-theme="light"] .wellness-next-action {
  background:
    radial-gradient(circle at 100% 0, #dff2f5, transparent 48%),
    #fff;
}
html[data-theme="light"] .wellness-next-action.is-confirm {
  border-color: #d1b75c;
  background: #fff8df;
}
html[data-theme="light"] .wellness-next-action.is-complete {
  border-color: #80b99a;
  background: #eaf7ef;
}
html[data-theme="light"] .wellness-next-action .wellness-next-topline {
  color: #176879;
}
html[data-theme="light"] .wellness-next-action.is-confirm .wellness-next-topline {
  color: #303640;
}
html[data-theme="light"] .wellness-next-action.is-upcoming .wellness-complete-button {
  border-color: #bea444;
  background: #fff8df;
  color: #574606;
  box-shadow: none;
}
html[data-theme="light"] .wellness-primary-actions button:not(.wellness-complete-button) {
  border-color: #cbd1d9;
  background: #f3f5f7;
  color: #252a31;
}
html[data-theme="light"] .wellness-progress-card progress::-webkit-progress-bar,
html[data-theme="light"] .wellness-week progress::-webkit-progress-bar { background: #dce1e6; }
html[data-theme="light"] .wellness-occurrence,
html[data-theme="light"] .wellness-quantity-card,
html[data-theme="light"] .wellness-habit,
html[data-theme="light"] .wellness-calendar-list > article,
html[data-theme="light"] .wellness-device-list article {
  border-color: #d4d9df;
  background: #f8f9fa;
}
html[data-theme="light"] .wellness-occurrence.is-confirm {
  border-color: #d1b65d;
  background: #fff8de;
}
html[data-theme="light"] .wellness-occurrence.is-completed {
  border-color: #84b99c;
  background: #eaf7ef;
}
html[data-theme="light"] .wellness-occurrence > time {
  color: #176879;
}
html[data-theme="light"] .wellness-occurrence.is-confirm > time {
  color: #303640;
}
html[data-theme="light"] .wellness-occurrence > div:nth-child(2) > span {
  color: #59616c;
}
html[data-theme="light"] .wellness-occurrence-actions button,
html[data-theme="light"] .wellness-habit-actions button,
html[data-theme="light"] .wellness-habit-actions a,
html[data-theme="light"] .wellness-device-list button {
  border-color: #cbd1d9;
  background: #fff;
  color: #3a414b;
}
html[data-theme="light"] .wellness-occurrence-actions .is-check { background: #dff3e8; color: #12643b; }
html[data-theme="light"] .wellness-quantity-chart,
html[data-theme="light"] .wellness-quantity-history li { background: #edf1f4; }
html[data-theme="light"] .wellness-quantity-chart small,
html[data-theme="light"] .wellness-quantity-history summary,
html[data-theme="light"] .wellness-quantity-history time,
html[data-theme="light"] .wellness-quantity-history li small {
  color: #59616c;
}
html[data-theme="light"] .wellness-quantity-card > header > b {
  border-color: #d3bb68;
  color: #303640;
}
html[data-theme="light"] .wellness-quantity-card > header > b.is-reached {
  border-color: #80b99a;
  color: #12643b;
}
html[data-theme="light"] .wellness-quantity-meta span,
html[data-theme="light"] .wellness-history-summary span {
  border-color: #d4d9df;
  background: #f1f4f6;
  color: #59616c;
}
html[data-theme="light"] .wellness-quantity-meta strong,
html[data-theme="light"] .wellness-history-summary strong {
  color: #252a31;
}
html[data-theme="light"] .wellness-habit-icon,
html[data-theme="light"] .wellness-privacy-card > span { background: #e5f4f6; color: #176576; }
html[data-theme="light"] .wellness-push-status.is-active { background: #e4f5eb; color: #11643b; }
html[data-theme="light"] .wellness-push-status {
  border-color: #d0b65d;
  background: #fff5d2;
  color: #303640;
}
html[data-theme="light"] .wellness-inline-warning,
html[data-theme="light"] .wellness-private-note { background: #fff8df; color: #604b0c; }
html[data-theme="light"] .wellness-inline-warning {
  border-color: #d4bb65;
  color: #604b0c !important;
}
html[data-theme="light"] .wellness-safety-card {
  border-color: #d99ba2;
  background: #fff0f1;
}
html[data-theme="light"] .wellness-safety-card p {
  color: #62575a;
}
html[data-theme="light"] .wellness-safety-card > strong {
  color: #971e29;
}
html[data-theme="light"] .wellness-catalog,
html[data-theme="light"] .wellness-editor,
html[data-theme="light"] .wellness-log-dialog {
  border-color: #cdd3da;
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] .wellness-catalog-grid > section,
html[data-theme="light"] .wellness-editor-intro,
html[data-theme="light"] .wellness-quantity-fields,
html[data-theme="light"] .wellness-event-fields {
  border-color: #d4d9df;
  background: #f5f7f8;
}
html[data-theme="light"] .wellness-catalog > header button,
html[data-theme="light"] .wellness-editor header button,
html[data-theme="light"] .wellness-log-dialog header button,
html[data-theme="light"] .wellness-days > button,
html[data-theme="light"] .wellness-times > button {
  border-color: #cbd1d9;
  background: #fff;
  color: #3b424c;
}
html[data-theme="light"] .wellness-days label span { border-color: #ccd2da; background: #fff; color: #414852; }
html[data-theme="light"] .wellness-editor header,
html[data-theme="light"] .wellness-editor footer {
  border-color: #d5dae1;
  background: #f8f9fa;
}
html[data-theme="light"] .wellness-next-action p,
html[data-theme="light"] .wellness-next-action > small,
html[data-theme="light"] .wellness-timeline-group > h3,
html[data-theme="light"] .wellness-occurrence > div:nth-child(2) > small,
html[data-theme="light"] .wellness-week a,
html[data-theme="light"] .wellness-quantity-card header span,
html[data-theme="light"] .wellness-quantity-score span,
html[data-theme="light"] .wellness-quantity-score small,
html[data-theme="light"] .wellness-quantity-history li strong,
html[data-theme="light"] .wellness-habit > div span,
html[data-theme="light"] .wellness-calendar-list small,
html[data-theme="light"] .wellness-privacy-card p,
html[data-theme="light"] .wellness-privacy-card small,
html[data-theme="light"] .wellness-data-card p,
html[data-theme="light"] .wellness-editor-intro,
html[data-theme="light"] .wellness-event-fields small,
html[data-theme="light"] .wellness-times legend {
  color: #59616c;
}
html[data-theme="light"] .wellness-week a > b,
html[data-theme="light"] .wellness-quantity-score strong,
html[data-theme="light"] .wellness-preset-list button,
html[data-theme="light"] .wellness-event-fields label {
  color: #252a31;
}
html[data-theme="light"] .wellness-calendar-times a {
  border-color: #cdd3da;
  background: #f5f7f8;
  color: #176879;
}
html[data-theme="light"] .wellness-editor-error {
  color: #a01d29;
}

/* Health legacy dashboard */
html[data-theme="light"] .health-today,
html[data-theme="light"] .health-summary-grid article,
html[data-theme="light"] .health-notification-card,
html[data-theme="light"] .health-chart,
html[data-theme="light"] .health-time-row,
html[data-theme="light"] .health-consent-card,
html[data-theme="light"] .health-calendar-list article,
html[data-theme="light"] .health-history-list article {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .health-today.is-complete {
  border-color: #82b99a;
  background: #e9f7ef;
}
html[data-theme="light"] .health-today.is-complete h1 {
  color: #12643b;
}
html[data-theme="light"] .health-today p,
html[data-theme="light"] .health-action-status,
html[data-theme="light"] .health-summary-grid span,
html[data-theme="light"] .health-summary-grid small,
html[data-theme="light"] .health-notification-card > p,
html[data-theme="light"] .health-chart-day span,
html[data-theme="light"] .health-chart-caption,
html[data-theme="light"] .health-settings-form label > small,
html[data-theme="light"] .health-history-list span {
  color: #59616c;
}
html[data-theme="light"] .health-summary-grid strong,
html[data-theme="light"] .health-calendar-card strong,
html[data-theme="light"] .health-history-list strong {
  color: #252a31;
}
html[data-theme="light"] .health-ring {
  border-color: color-mix(in srgb, var(--portal-accent), transparent 28%);
  background: #eef6f7;
  box-shadow: inset 0 0 0 1px #fff, 0 12px 28px rgba(35, 53, 59, .12);
}
html[data-theme="light"] .health-ring strong {
  color: #252a31;
}
html[data-theme="light"] .health-status-pill {
  border-color: #d0b45a;
  background: #fff5d2;
  color: #624a00;
}
html[data-theme="light"] .health-status-pill.is-active {
  border-color: #80b99a;
  background: #e7f6ed;
  color: #11643b;
}
html[data-theme="light"] .health-status-pill.is-blocked {
  border-color: #d89aa1;
  background: #ffe9eb;
  color: #971e29;
}
html[data-theme="light"] .health-chart-day progress,
html[data-theme="light"] .health-chart-day progress::-webkit-progress-bar {
  background: #dfe4e9;
}
html[data-theme="light"] .health-time-row button,
html[data-theme="light"] .health-history-list button,
html[data-theme="light"] .health-clear-button {
  border-color: #d6a0a6;
  background: #fff0f1;
  color: #971f2b;
}
html[data-theme="light"] .health-consent-check {
  border-color: #d4bd6e;
  background: #fff8df;
}
html[data-theme="light"] .health-consent-check span {
  color: #4e4630;
}
html[data-theme="light"] .health-safety-note {
  border-color: #daa0a6;
  background: #fff0f1;
  box-shadow: inset 3px 0 0 #c8424d;
}
html[data-theme="light"] .health-safety-note strong {
  color: #971e29;
}
html[data-theme="light"] .health-safety-note p {
  color: #62575a;
}

/* Progress Check */
html[data-theme="light"] .progress-check-page {
  --pc-cyan: #00758c;
  --pc-blue: #075f9b;
  --pc-gold: #8b2635;
  --pc-green: #147a49;
  --pc-panel: #fff;
  --pc-panel-2: #f0f3f5;
  --pc-border: rgba(74, 92, 103, .22);
  --pc-deep: #e5f4f7;
  background:
    radial-gradient(circle at 88% 4%, rgba(34, 211, 238, .12), transparent 23rem),
    radial-gradient(circle at 5% 27%, rgba(2, 132, 199, .08), transparent 27rem),
    var(--bg);
}
html[data-theme="light"] .pc-hero {
  border-color: #9bcad2;
  background:
    linear-gradient(146deg, #e5f5f8, #fff 56%, #f5f7f8);
  color: var(--text);
  box-shadow: 0 28px 64px rgba(30,58,66,.13);
}
html[data-theme="light"] .pc-hero-copy > p {
  color: #4f5963;
}
html[data-theme="light"] .pc-privacy-line {
  border-color: #91c2a7;
  background: #e9f7ef;
}
html[data-theme="light"] .pc-privacy-line strong {
  color: #135d39;
}
html[data-theme="light"] .pc-privacy-line small {
  color: #4e695b;
}
html[data-theme="light"] .pc-back-link { color: #4f5762; }
html[data-theme="light"] .pc-primary-cta { color: #fff; }
html[data-theme="light"] .pc-locked,
html[data-theme="light"] .pc-alert {
  border-color: #d7bd65;
  background: #fff8df;
  color: #5e4909;
}
html[data-theme="light"] .pc-how li,
html[data-theme="light"] .pc-history-card,
html[data-theme="light"] .pc-privacy-details,
html[data-theme="light"] .pc-review-card,
html[data-theme="light"] .pc-review-notice {
  border-color: #d2d8df;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .pc-status-grid article,
html[data-theme="light"] .pc-how,
html[data-theme="light"] .pc-result,
html[data-theme="light"] .pc-history,
html[data-theme="light"] .pc-result-summary,
html[data-theme="light"] .pc-observations li,
html[data-theme="light"] .pc-empty {
  border-color: #d2d8df;
  background: #fff;
  color: #252a31;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .pc-result {
  border-color: #91c2a7;
  background:
    radial-gradient(circle at 92% 10%, #e3f5eb, transparent 16rem),
    #fff;
}
html[data-theme="light"] .pc-status-icon {
  border-color: #a9ced5;
  background: #e5f4f7;
  color: #176879;
}
html[data-theme="light"] .pc-empty > span {
  border-color: #a9ced5;
  background: #e5f4f7;
  color: #126575;
}
html[data-theme="light"] .pc-privacy-details summary > span {
  background: #e3f5eb;
  color: #12643b;
}
html[data-theme="light"] .pc-status-grid small,
html[data-theme="light"] .pc-status-grid article div > span,
html[data-theme="light"] .pc-how > header > p,
html[data-theme="light"] .pc-how li small,
html[data-theme="light"] .pc-result-summary p,
html[data-theme="light"] .pc-observations li,
html[data-theme="light"] .pc-safety-copy,
html[data-theme="light"] .pc-history > header > span,
html[data-theme="light"] .pc-empty p {
  color: #4f5963;
}
html[data-theme="light"] .pc-confidence {
  border-color: #82b99a;
  background: #e3f5eb;
  color: #11643b;
}
html[data-theme="light"] .pc-conditions {
  border-color: #d6bd69;
  background: #fff8df;
}
html[data-theme="light"] .pc-conditions strong {
  color: #624b00;
}
html[data-theme="light"] .pc-conditions p {
  color: #645a3b;
}
html[data-theme="light"] .pc-how li > span,
html[data-theme="light"] .pc-step-heading > span { background: #e3f3f6; color: #126575; }
html[data-theme="light"] .pc-privacy-details > div {
  color: #59616c;
}
html[data-theme="light"] .pc-privacy-details a {
  color: #176879;
}
html[data-theme="light"] .pc-history-status { background: #edf0f3; color: #505762; }
html[data-theme="light"] .pc-history-status.is-completed { background: #e3f5eb; color: #12643b; }
html[data-theme="light"] .pc-history-status.is-analyzing { background: #fff4cf; color: #674e00; }
html[data-theme="light"] .pc-thumb-row,
html[data-theme="light"] .pc-thumb,
html[data-theme="light"] .pc-video-stage { background: #e2e7eb; }
html[data-theme="light"] .pc-wizard,
html[data-theme="light"] .pc-lightbox,
html[data-theme="light"] .pc-delete-dialog {
  border-color: #cdd3da;
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] .pc-close {
  border-color: #c9cfd7;
  background: #f0f3f5;
  color: #3c434d;
}
html[data-theme="light"] .pc-wizard-progress,
html[data-theme="light"] .pc-processing-track { background: #dce1e6; }
html[data-theme="light"] .pc-mode-choice label,
html[data-theme="light"] .pc-check-row,
html[data-theme="light"] .pc-pose-chip,
html[data-theme="light"] .pc-private-note textarea {
  border-color: #cfd5dc;
  background: #f7f8fa;
  color: #343a43;
}
html[data-theme="light"] .pc-mode-choice legend,
html[data-theme="light"] .pc-mode-choice strong,
html[data-theme="light"] .pc-private-note,
html[data-theme="light"] .pc-camera-tool {
  color: #343b44;
}
html[data-theme="light"] .pc-mode-choice small,
html[data-theme="light"] .pc-private-note > span,
html[data-theme="light"] .pc-private-note small,
html[data-theme="light"] .pc-camera-tool small {
  color: #5b6570;
}
html[data-theme="light"] .pc-camera-tool > span {
  border-color: #c9d0d7;
  background: #f1f4f6;
  color: #176879;
}
html[data-theme="light"] .pc-upload-status {
  color: #176879;
}
html[data-theme="light"] .pc-mode-choice label:has(input:checked),
html[data-theme="light"] .pc-check-row:has(input:checked) {
  border-color: #489caf;
  background: #e6f4f7;
}
html[data-theme="light"] .pc-form-error,
html[data-theme="light"] .pc-delete-mark { background: #fde7e9; color: #9f1d29; }
html[data-theme="light"] .pc-lightbox-stage { background: #e4e8ec; }
html[data-theme="light"] .pc-delete-dialog > div { background: #fff; }

/* Program builder */
html[data-theme="light"] .program-builder {
  --builder-accent: var(--portal-accent);
  --builder-accent-2: var(--portal-accent-2);
  --builder-soft: #f1e7f9;
}
html[data-theme="light"] .portal-owner .program-builder { --builder-soft: #fbe9e8; }
html[data-theme="light"] .portal-member .program-builder { --builder-soft: #e4f4f7; }
html[data-theme="light"] .program-builder-hero,
html[data-theme="light"] .program-builder-day,
html[data-theme="light"] .program-builder-library,
html[data-theme="light"] .program-builder-dialog {
  border-color: color-mix(in srgb, var(--builder-accent), transparent 68%);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .program-builder-hero {
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--builder-accent), transparent 84%), transparent 34%),
    linear-gradient(145deg, var(--builder-soft), #fff 72%);
}
html[data-theme="light"] .program-builder-save-state,
html[data-theme="light"] .program-builder-target,
html[data-theme="light"] .program-builder-day-tabs,
html[data-theme="light"] .program-builder-day > header {
  border-color: #d2d7de;
  background: #f3f5f7;
  color: #353c45;
}
html[data-theme="light"] .program-builder-hero p,
html[data-theme="light"] .program-builder-save-state small,
html[data-theme="light"] .program-builder-target small,
html[data-theme="light"] .program-builder-day-count small,
html[data-theme="light"] .program-builder-library-card small,
html[data-theme="light"] .program-builder-library-card em,
html[data-theme="light"] .program-builder-frequency,
html[data-theme="light"] .program-builder-library-filters label > span,
html[data-theme="light"] .program-builder-library-result-meta,
html[data-theme="light"] .program-builder-library-frequency-note {
  color: #59616c;
}
html[data-theme="light"] .program-builder-day-tabs button {
  border-color: #cbd1d9;
  background: #fff;
  color: #535b66;
}
html[data-theme="light"] .program-builder-day-tabs button.is-active {
  border-color: var(--builder-accent);
  background: color-mix(in srgb, var(--builder-accent), #fff 88%);
  color: color-mix(in srgb, var(--builder-accent), #111 25%);
}
html[data-theme="light"] .program-builder-dropzone.is-drop-target { background: color-mix(in srgb, var(--builder-accent), #fff 91%); }
html[data-theme="light"] .program-builder-exercise,
html[data-theme="light"] .program-builder-library-card {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
}
html[data-theme="light"] .program-builder-drag-handle,
html[data-theme="light"] .program-builder-row-actions,
html[data-theme="light"] .program-builder-row-actions button,
html[data-theme="light"] .program-builder-row-actions select,
html[data-theme="light"] .program-builder-library-add {
  border-color: #cbd1d9;
  background: #eef1f4;
  color: #3f4650;
}
html[data-theme="light"] .program-builder-exercise-main,
html[data-theme="light"] .program-builder-library-drag {
  background: #f7f8fa;
  color: #252a31;
}
html[data-theme="light"] .program-builder-exercise-main small,
html[data-theme="light"] .program-builder-library-drag small {
  color: #59616c;
}
html[data-theme="light"] .program-builder-exercise-main em,
html[data-theme="light"] .program-builder-library-drag em {
  color: color-mix(in srgb, var(--builder-accent), #111 24%);
}
html[data-theme="light"] .program-builder-exercise-main img,
html[data-theme="light"] .program-builder-library-drag img { background: #e4e8ec; }
html[data-theme="light"] .program-builder-library > header > button,
html[data-theme="light"] .program-builder-dialog header > button,
html[data-theme="light"] .program-builder-day-count button {
  border-color: #cbd1d9;
  background: #fff;
  color: #3b424c;
}
html[data-theme="light"] .program-builder-day-count {
  background: #f5f7f8;
  color: #303640;
}
html[data-theme="light"] .program-builder-empty strong,
html[data-theme="light"] .program-builder-dialog label {
  color: #303640;
}
html[data-theme="light"] .program-builder-dialog-error {
  color: #a01d29;
}

/* AI program */
html[data-theme="light"] .program-ai-page {
  --program-ai-cyan: #00758c;
  --program-ai-blue: #075f9b;
  --program-ai-soft: #e4f4f7;
  background:
    radial-gradient(circle at 82% 2%, rgba(25,199,223,.12), transparent 25rem),
    radial-gradient(circle at 8% 25%, rgba(8,127,174,.07), transparent 28rem),
    var(--bg);
}
html[data-theme="light"] .program-ai-hero,
html[data-theme="light"] .program-ai-interview,
html[data-theme="light"] .program-ai-preview,
html[data-theme="light"] .program-ai-loading,
html[data-theme="light"] .program-ai-locked {
  border-color: #a6ced5;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .program-ai-hero {
  background:
    radial-gradient(circle at 100% 0, #dff2f5, transparent 45%),
    #fff;
}
html[data-theme="light"] .program-ai-hero p,
html[data-theme="light"] .program-ai-preview > header p,
html[data-theme="light"] .program-ai-warning p,
html[data-theme="light"] .program-ai-safety-note p {
  color: #59616c;
}
html[data-theme="light"] .program-ai-hero-badge strong,
html[data-theme="light"] .program-ai-interview-header > span,
html[data-theme="light"] .program-ai-locked > span { background: #e3f3f6; color: #126575; }
html[data-theme="light"] .program-ai-progress { background: #dce1e6; }
html[data-theme="light"] .program-ai-choice > span,
html[data-theme="light"] .program-ai-weekdays label > span,
html[data-theme="light"] .program-ai-chip-grid label > span,
html[data-theme="light"] .program-ai-chip-grid.is-compact {
  border-color: #ccd2da;
  background: #f7f8fa;
  color: #3b424c;
}
html[data-theme="light"] .program-ai-option-group {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #252a31;
}
html[data-theme="light"] .program-ai-option-group span {
  color: #3b424c;
}
html[data-theme="light"] .program-ai-choice input:checked + span,
html[data-theme="light"] .program-ai-weekdays input:checked + span,
html[data-theme="light"] .program-ai-chip-grid input:checked + span {
  border-color: #278da0;
  background: #e4f4f7;
  color: #175c69;
}
html[data-theme="light"] .program-ai-safety-note,
html[data-theme="light"] .program-ai-warning {
  border-color: #d3b95e;
  background: #fff8df;
  color: #604b0c;
}
html[data-theme="light"] .program-ai-form-error { background: #fff0f1; color: #981c28; }
html[data-theme="light"] .program-ai-day,
html[data-theme="light"] .program-ai-exercise {
  border-color: #d4d9df;
  background: #fff;
}
html[data-theme="light"] .program-ai-day > header,
html[data-theme="light"] .program-ai-exercise-prescription,
html[data-theme="light"] .program-ai-preview > header,
html[data-theme="light"] .program-ai-preview > footer {
  border-color: #d4d9df;
  background: #f3f5f7;
}
html[data-theme="light"] .program-ai-exercise-prescription b {
  color: #252a31;
}
html[data-theme="light"] .program-ai-exercise .card-label,
html[data-theme="light"] .program-ai-exercise > span {
  color: #176879;
}
html[data-theme="light"] .program-ai-exercise img { background: #e4e8ec; }
html[data-theme="light"] .program-ai-trust-row span,
html[data-theme="light"] .program-ai-hero-visual figcaption {
  border-color: #8fbfc8;
  background: #e8f6f8;
  color: #155d6a;
}
html[data-theme="light"] .program-ai-hero-visual img {
  filter: drop-shadow(0 16px 22px rgba(40, 68, 76, .18));
}
html[data-theme="light"] .program-ai-interview-header p,
html[data-theme="light"] .program-ai-select-block small,
html[data-theme="light"] .program-ai-notes small,
html[data-theme="light"] .program-ai-form-grid label small,
html[data-theme="light"] .program-ai-exercise-picker > small,
html[data-theme="light"] .program-ai-health-choice > p,
html[data-theme="light"] .program-ai-privacy {
  color: #58636d;
}
html[data-theme="light"] .program-ai-select-block,
html[data-theme="light"] .program-ai-exercise-picker {
  border-color: #b8cfd4;
  background: #f4fafb;
  color: #29343a;
}
html[data-theme="light"] .program-ai-select-block,
html[data-theme="light"] .program-ai-notes,
html[data-theme="light"] .program-ai-exercise-picker > label,
html[data-theme="light"] .program-ai-health-choice > span {
  color: #252d33;
}
html[data-theme="light"] .program-ai-search-box input {
  border-color: #aebbc2;
  background: #fff;
  color: #20262b;
}
html[data-theme="light"] .program-ai-search-results {
  border-color: #98b7be;
  background: #fff;
  box-shadow: 0 22px 45px rgba(29, 47, 55, .2);
}
html[data-theme="light"] .program-ai-search-result {
  border-color: #d8dee2;
  color: #252a31;
}
html[data-theme="light"] .program-ai-search-result:hover,
html[data-theme="light"] .program-ai-search-result:focus-visible {
  background: #eaf6f8;
}
html[data-theme="light"] .program-ai-search-result small,
html[data-theme="light"] .program-ai-search-message,
html[data-theme="light"] .program-ai-empty-selection {
  color: #59656c;
}
html[data-theme="light"] .program-ai-search-result b,
html[data-theme="light"] .program-ai-selected-chip {
  border-color: #8cbfc8;
  background: #e4f4f7;
  color: #155d6a;
}
html[data-theme="light"] .program-ai-selected-chip strong {
  color: #20444b;
}
html[data-theme="light"] .program-ai-selected-chip small {
  color: #4b6d74;
}
html[data-theme="light"] .program-ai-selected-chip button {
  border-color: #91aeb4;
  background: #fff;
  color: #2f5f68;
}
html[data-theme="light"] .program-ai-review-item,
html[data-theme="light"] .program-ai-review-item[data-tone="goal"],
html[data-theme="light"] .program-ai-review-item[data-tone="schedule"],
html[data-theme="light"] .program-ai-review-item[data-tone="safety"] {
  border-color: #cad3d9;
  background: #f6f8f9;
}
html[data-theme="light"] .program-ai-review-item[data-tone="goal"] {
  border-color: #8fc5cf;
  background: #eaf7f9;
}
html[data-theme="light"] .program-ai-review-item[data-tone="schedule"] {
  border-color: #dac77e;
  background: #fff9e7;
}
html[data-theme="light"] .program-ai-review-item[data-tone="safety"] {
  border-color: #d5a5ad;
  background: #fff2f4;
}
html[data-theme="light"] .program-ai-review-item small {
  color: #52616a;
}
html[data-theme="light"] .program-ai-review-item strong {
  color: #242b31;
}
html[data-theme="light"] .program-ai-consent,
html[data-theme="light"] .program-ai-professional-confirm {
  border-color: #95b9c0;
  background: #eef8f9;
}
html[data-theme="light"] .program-ai-professional-confirm {
  border-color: #cfb65a;
  background: #fff8df;
}
html[data-theme="light"] .program-ai-consent strong {
  color: #25353a;
}
html[data-theme="light"] .program-ai-consent small {
  color: #52636a;
}
html[data-theme="light"] .program-ai-loading li {
  border-color: #c8d5d9;
  background: #f4f8f9;
  color: #4b5b61;
}
html[data-theme="light"] .program-ai-insights {
  border-color: #d4d9df;
  background:
    radial-gradient(circle at 100% 0, #e2f4f6, transparent 45%),
    #f7f9fa;
}
html[data-theme="light"] .program-ai-chart-grid > section {
  border-color: #ccd5da;
  background: #fff;
}
html[data-theme="light"] .program-ai-chart-grid h4 {
  color: #303840;
}
html[data-theme="light"] .program-ai-bar-row > div {
  color: #4f5a63;
}
html[data-theme="light"] .program-ai-bar-row b {
  color: #145c6a;
}
html[data-theme="light"] .program-ai-bar-track {
  background: #dce3e6;
}
html[data-theme="light"] .program-ai-manual-edit {
  color: #075f72;
}

/* Role dashboards, reports, calendars and program editing */
html[data-theme="light"] .text-link,
html[data-theme="light"] .back-link {
  color: #3f4752;
}
html[data-theme="light"] .setup-step > span {
  background: #dfe4e9;
  color: #343b44;
}
html[data-theme="light"] .setup-step.is-done > span {
  background: #147a49;
  color: #fff;
}
html[data-theme="light"] .setup-step.is-done div strong {
  color: #12643b;
}
html[data-theme="light"] .member-card span {
  color: #59616c;
}
html[data-theme="light"] .status-pill.is-active {
  border-color: #80b99a;
  background: #e7f6ed;
  color: #11643b;
}
html[data-theme="light"] .portal-actions a {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .portal-actions strong {
  color: #252a31;
}
html[data-theme="light"] .portal-actions span {
  color: #59616c;
}
html[data-theme="light"] .billing-current {
  border-color: #d4b75b;
  background: #fff8df;
  color: #252a31;
}
html[data-theme="light"] .price-card.is-featured {
  border-color: #d9a1a7;
  background: #fff3f4;
  color: #252a31;
}
html[data-theme="light"] .performance-kpis article,
html[data-theme="light"] .trainer-performance-list article,
html[data-theme="light"] .trend-report-grid article {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #252a31;
}
html[data-theme="light"] .performance-kpis strong,
html[data-theme="light"] .trend-report-grid strong,
html[data-theme="light"] .trend-report-grid b {
  color: #252a31;
}
html[data-theme="light"] .performance-kpis span,
html[data-theme="light"] .performance-kpis small,
html[data-theme="light"] .trainer-performance-list span,
html[data-theme="light"] .trainer-performance-list small,
html[data-theme="light"] .weekly-report-bars article small,
html[data-theme="light"] .trend-report-grid span,
html[data-theme="light"] .trend-report-grid small {
  color: #59616c;
}
html[data-theme="light"] .trainer-performance-list article > div:nth-child(2) > span,
html[data-theme="light"] .trainer-performance-list article > div:nth-child(2) > small {
  color: #59616c;
}
html[data-theme="light"] .trainer-performance-list b {
  background: var(--portal-soft);
  color: var(--portal-accent);
}
html[data-theme="light"] .billing-list-price {
  color: #8b352e;
}
html[data-theme="light"] .weekly-report-bars article > i {
  background: #dfe3e8;
}
html[data-theme="light"] .intelligence-dashboard > article,
html[data-theme="light"] .intelligence-dashboard > div {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #252a31;
}
html[data-theme="light"] .intelligence-dashboard header,
html[data-theme="light"] .intelligence-dashboard footer,
html[data-theme="light"] .intelligence-dashboard > div span,
html[data-theme="light"] .intelligence-dashboard small {
  color: #59616c;
}
html[data-theme="light"] .demo-control-grid p,
html[data-theme="light"] .danger-zone p {
  color: #59616c;
}
html[data-theme="light"] .demo-print-sheet {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
}
html[data-theme="light"] .demo-print-sheet header,
html[data-theme="light"] .demo-print-sheet article {
  border-color: #d8dde3;
}
html[data-theme="light"] .demo-print-sheet code {
  border-color: #d2d7de;
  background: #f3f5f7;
  color: #5f4700;
}
html[data-theme="light"] .printable-code-sheet header p,
html[data-theme="light"] .code-security-note {
  color: #4f6257;
}
html[data-theme="light"] .calendar-arrow {
  border-color: #cfd5dc;
  background: #eef1f4;
  color: #343b44;
}
html[data-theme="light"] .calendar-cell {
  border-color: #d5dae1;
  background: #fff;
}
html[data-theme="light"] .calendar-date {
  color: #303640;
}
html[data-theme="light"] .calendar-cell.is-planned,
html[data-theme="light"] .calendar-event {
  color: #971e29;
}
html[data-theme="light"] .skip-workout-card {
  border-color: #dda2a8;
  background: #fff0f1;
}
html[data-theme="light"] .rotation-control,
html[data-theme="light"] .rotation-option {
  border-color: #d2d7de;
  background: #f7f8fa;
  color: #303640;
}
html[data-theme="light"] .workout-day-choice > summary {
  color: #252a31;
}
html[data-theme="light"] .workout-day-choice > p {
  color: #59616c;
}
html[data-theme="light"] .workout-day-option {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
}
html[data-theme="light"] .workout-day-option span,
html[data-theme="light"] .workout-day-option small {
  color: #5e6671;
}
html[data-theme="light"] .workout-day-option.is-recommended,
html[data-theme="light"] .workout-day-option.is-current {
  border-color: #8bbcc5;
  background: #e7f4f6;
}
html[data-theme="light"] .program-template-option {
  border-color: #d2d7de;
  background: #fff;
  color: #252a31;
}
html[data-theme="light"] .program-template-option:has(input:checked) {
  border-color: #c3a43e;
  background: #fff5d2;
}
html[data-theme="light"] .program-day-block > header {
  border-color: #e1c5c8;
  background: #fff3f4;
  color: #252a31;
}
html[data-theme="light"] .program-editor-actions {
  border-color: #d2d7de;
  background: #f5f7f8;
}
html[data-theme="light"] .program-editor-actions button {
  border-color: #cbd1d9;
  background: #fff;
  color: #343b44;
}
html[data-theme="light"] .client-exercise-choice-list article {
  border-color: #d3d8df;
  background: #fff;
  color: #252a31;
}
html[data-theme="light"] .client-exercise-choice-list span,
html[data-theme="light"] .client-exercise-choice-list small {
  color: #59616c;
}
html[data-theme="light"] .client-exercise-choice-list article.is-after strong {
  color: #176879;
}
html[data-theme="light"] .client-exercise-choice-empty {
  border-color: #d3d8df;
  background: #f3f5f7;
  color: #59616c;
}
html[data-theme="light"] .client-report-entry p {
  color: #59616c;
}

/* Platform hierarchy */
html[data-theme="light"] .impersonation-bar {
  border-color: #c8aa45;
  background: #fff4cc;
  color: #4f3c00;
}
html[data-theme="light"] .platform-access-summary span,
html[data-theme="light"] .platform-tree-workspace,
html[data-theme="light"] .platform-tree-branch {
  border-color: #d2d7de;
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] .platform-tree-workspace[open] > summary,
html[data-theme="light"] .platform-tree-branch > header {
  border-color: #d4d9df;
  background: #f5f7f8;
}
html[data-theme="light"] .platform-tree-avatar { background: var(--portal-soft); color: var(--portal-accent); }
html[data-theme="light"] .platform-access-summary strong,
html[data-theme="light"] .platform-tree-title strong {
  color: #252a31;
}
html[data-theme="light"] .platform-tree-title span,
html[data-theme="light"] .platform-tree-branch > header small,
html[data-theme="light"] .platform-tree-account span,
html[data-theme="light"] .platform-tree-account small {
  color: #59616c;
}
html[data-theme="light"] .platform-tree-title small,
html[data-theme="light"] .platform-branch-icon {
  color: #9f1f2a;
}
html[data-theme="light"] .platform-tree-account {
  border-top-color: #e0e4e8;
}
html[data-theme="light"] .platform-access-guide > p {
  color: #59616c;
}
html[data-theme="light"] .demo-print-sheet > header small,
html[data-theme="light"] .demo-print-sheet h2 small,
html[data-theme="light"] .demo-print-sheet article div span {
  color: #59616c;
}
html[data-theme="light"] .demo-print-sheet h2 {
  color: #252a31;
}

/* Platform gold stays decorative on light surfaces; readable content uses ink. */
html[data-theme="light"] body.portal-platform .brand-word strong span,
html[data-theme="light"] body.portal-platform .eyebrow,
html[data-theme="light"] body.portal-platform .platform-stats strong {
  color: #9b202b;
}
html[data-theme="light"] body.portal-platform .role-pill,
html[data-theme="light"] body.portal-platform .theme-active-badge {
  border-color: #c8aa45;
  background: #f3e5b5;
  color: #302b21;
}
html[data-theme="light"] body.portal-platform .plain-steps li > span,
html[data-theme="light"] body.portal-platform .platform-tree-avatar {
  color: #303640;
}
html[data-theme="light"] body.portal-platform .status-pill:not(.is-active) {
  border-color: #c8aa45;
  background: #fff2c4;
  color: #3d3727;
}

/* Last-resort contrast fixes for component styles that use dark-theme literals. */
html[data-theme="light"] .client-exercise-choice-list article > b,
html[data-theme="light"] .exercise-swap-comparison > b,
html[data-theme="light"] .program-form-footer > a {
  color: var(--portal-copy-accent, #303640);
}
html[data-theme="light"] .exercise-guide-disclaimer strong {
  color: #303640;
}
html[data-theme="light"] .exercise-guide-disclaimer p {
  color: #4d676d;
}
html[data-theme="light"] .exercise-guide-warning-list li::marker {
  color: var(--yellow);
}
html[data-theme="light"] .pc-review-notice p {
  color: #59616c;
}
html[data-theme="light"] .pc-review-notice strong {
  color: #303640;
}

/* Keep image captions readable over photography in both themes. */
html[data-theme="light"] :is(
  .exercise-images span, .exercise-library-card-media figcaption,
  .exercise-library-zoom-hint, .exercise-technique-images button > span,
  .exercise-guide-images button span, .lightbox-stage figcaption
) {
  color: #fff;
}

/* More: image-led sections, readable accents and native-grade focus. */
html[data-theme="light"] .more-page .app-shell {
  --more-focus: #005f73;
}

html[data-theme="light"] .more-hero {
  border-color: #66717e;
  background:
    radial-gradient(circle at 83% 19%, #aeb8c52e, transparent 38%),
    linear-gradient(145deg, #3a3f47, #20242a 56%, #111316);
  color: #f8f9fb;
  box-shadow: 0 24px 58px #34404e38;
}

html[data-theme="light"] .more-hero-copy > p {
  color: #d5d9df;
}

html[data-theme="light"] .more-hero-status span {
  border-color: #c2cad44f;
  background: #0d0f12c7;
}

html[data-theme="light"] .more-hero-status small {
  color: #c1c7cf;
}

html[data-theme="light"] .more-hero-status strong {
  color: #fff;
}

html[data-theme="light"] .more-section-heading p,
html[data-theme="light"] .more-card-copy p,
html[data-theme="light"] .more-link-list small {
  color: #59616c;
}

html[data-theme="light"] .more-overview-grid {
  scrollbar-color: #83909d #e5e9ee;
}

html[data-theme="light"] .more-overview-card {
  border-color: color-mix(in srgb, var(--more-accent), #d6dce3 58%);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--more-accent), transparent 84%), transparent 48%),
    #fff;
  box-shadow: 0 10px 25px #36465718;
  color: #202730;
}

html[data-theme="light"] .more-overview-card::before {
  border-color: color-mix(in srgb, var(--more-accent-ink), transparent 44%);
  background: #f7f9fce8;
  box-shadow: 0 5px 14px #26384924;
}

html[data-theme="light"] .more-overview-card::after {
  border-color: var(--more-accent-ink);
}

html[data-theme="light"] .more-quick-card,
html[data-theme="light"] .more-feature-card,
html[data-theme="light"] .more-route-card,
html[data-theme="light"] .more-service-card {
  border-color: color-mix(in srgb, var(--more-accent), #d6dce3 66%);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--more-accent), transparent 88%), transparent 45%),
    #fff;
  color: var(--text);
  box-shadow: 0 12px 30px #36465714;
}

html[data-theme="light"] .more-page [data-more-tone] .card-label {
  color: var(--more-accent-ink);
}

html[data-theme="light"] .more-page .more-hero .card-label {
  color: #b8e8ef;
}

html[data-theme="light"] .more-page [data-more-tone] .button-secondary {
  border-color: color-mix(in srgb, var(--more-accent-ink), transparent 58%);
  background: color-mix(in srgb, var(--more-accent), #fff 88%);
  color: #252c35;
}

html[data-theme="light"] .more-page [data-more-tone] .button-secondary:hover {
  border-color: color-mix(in srgb, var(--more-accent-ink), transparent 36%);
  background: color-mix(in srgb, var(--more-accent), #fff 80%);
}

html[data-theme="light"] .more-visual {
  border-color: color-mix(in srgb, var(--more-accent-ink), transparent 54%);
  background: #11161d;
  box-shadow: 0 10px 24px #2535472b;
}

html[data-theme="light"] .more-link-list {
  border-color: #cdd4dc;
  background: #f4f6f8;
}

html[data-theme="light"] .more-link-list a {
  border-color: #d5dbe2;
}

html[data-theme="light"] .more-link-list a:hover {
  background: color-mix(in srgb, var(--more-accent), #fff 89%);
}

html[data-theme="light"] .more-link-arrow {
  border-color: color-mix(in srgb, var(--more-accent-ink), transparent 50%);
  background: color-mix(in srgb, var(--more-accent), #fff 84%);
}

html[data-theme="light"] .more-link-arrow::after {
  border-color: var(--more-accent-ink);
}

html[data-theme="light"] .more-notification-card .notification-status {
  color: #12643b;
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="light"] .theme-settings-card.is-saving .theme-save-status::before,
  html[data-theme="light"] .font-settings-card.is-saving .font-save-status::before { animation: none; }
}
