/* Shared black, white and silver palette. Status colours remain semantic. */
body:not(.client-brand-preview){
  --gold:#626a72;
  --gold-light:#7c858d;
  --cream:#e9eef2;
  --paper:#f9fbfc;
  --line:#cfd7dd;
  --muted:#5f6971;
  background-color:#e9eef2;
  background-image:radial-gradient(circle at 8% 4%,#ffffffb8 0,transparent 30%),radial-gradient(circle at 92% 12%,#d4e0e888 0,transparent 34%),linear-gradient(145deg,#eef3f6,#e2e9ee 58%,#edf1f4);
  background-attachment:fixed;
}

/* Final client mini-hero hierarchy and theme contrast. */
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro{
  display:grid;
  align-content:end;
  align-items:initial;
  justify-content:initial;
  gap:5px;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .eyebrow{
  display:inline-flex;
  width:max-content;
  margin:0 0 3px;
  padding:6px 10px;
  border:1px solid #a9d5e7;
  border-radius:999px;
  background:#dff4fc;
  color:#183b4c;
  text-shadow:none;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro h3,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro h3,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading h3{
  margin:0;
  font-size:clamp(1.9rem,4.4vw,2.65rem);
  line-height:.98;
  letter-spacing:-.045em;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .muted,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .muted,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .muted{
  margin:5px 0 0;
  font-size:.86rem;
  line-height:1.45;
}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading>.client-intro{
  display:grid;
  align-content:end;
  gap:4px;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview.client-light-mode[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro,
body.client-brand-preview.client-light-mode[data-client-texture="weight"] #client-content>.weight-heading{
  border-color:#8fb3c4;
  box-shadow:0 18px 38px #284d602b,inset 0 1px 0 #fff6;
}
@media(max-width:540px){
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro h3,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro h3,
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading h3{font-size:1.9rem}
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .muted,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .muted,
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .muted{font-size:.78rem}
}

/* Light workout cards retain the airy client palette and clearer affordance. */
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even){
  border-color:#aac5d2;
  background-image:radial-gradient(circle at 88% 18%,#9fd2e544 0,transparent 32%),linear-gradient(135deg,#ffffff 0%,#eaf4f8 58%,#d8eaf1 100%)!important;
  color:#172932;
  box-shadow:0 15px 34px #315b7026,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even){
  background-image:radial-gradient(circle at 86% 18%,#b9a5dc35 0,transparent 34%),linear-gradient(135deg,#ffffff 0%,#eef1f7 58%,#e0e6f0 100%)!important;
  border-color:#bdc8d8;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card p,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card>div>span:last-child{color:#536b77}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-number{
  border-color:#9fc1d1;
  background:#dceef5;
  color:#285f79;
  text-shadow:none;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even) .workout-number{
  border-color:#beb5d2;
  background:#ebe5f4;
  color:#5d4b78;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .start-arrow{
  background:linear-gradient(145deg,#dff4ff,#73b0cf);
  color:#143e53;
  box-shadow:0 8px 18px #315f7730;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:hover{
  border-color:#78a7bd;
  background-image:radial-gradient(circle at 88% 18%,#8bc9e04d 0,transparent 34%),linear-gradient(135deg,#fff 0%,#e3f1f6 58%,#cfe5ed 100%)!important;
  box-shadow:0 18px 38px #315b7033,inset 0 1px 0 #fff;
}
body:not(.client-brand-preview) .panel,
body:not(.client-brand-preview) .client-row,
body:not(.client-brand-preview) .workout-admin,
body:not(.client-brand-preview) .summary-card,
body:not(.client-brand-preview) .admin-training-history,
body:not(.client-brand-preview) .admin-client-activities,
body:not(.client-brand-preview) .admin-weight-wide,
body:not(.client-brand-preview) .client-details-card,
body:not(.client-brand-preview) .account-management-shell{
  border-color:#cdd6dc;
  background:#f9fbfcf2;
  box-shadow:0 12px 30px #344b5b10;
}
body:not(.client-brand-preview) .brand span{color:#c8cdd1}
body:not(.client-brand-preview) .eyebrow{color:#525b63}
body:not(.client-brand-preview) .primary{border-color:#596168;background:#596168;color:#fff}
body:not(.client-brand-preview) .primary:hover{border-color:#424a51;background:#424a51}
body:not(.client-brand-preview) input:focus,
body:not(.client-brand-preview) select:focus,
body:not(.client-brand-preview) textarea:focus{outline-color:#69727b28;border-color:#69727b}
body:not(.client-brand-preview) .avatar{background:linear-gradient(145deg,#edf0f2,#9ba2a8);color:#17191b}
body:not(.client-brand-preview) .text-link,
body:not(.client-brand-preview) .overview-actions button span,
body:not(.client-brand-preview) .overview-stat-grid span,
body:not(.client-brand-preview) .training-history-summary strong,
body:not(.client-brand-preview) .training-month-controls button,
body:not(.client-brand-preview) .activity-calendar-controls button,
body:not(.client-brand-preview) .training-week-label i,
body:not(.client-brand-preview) .activity-history-details>summary i,
body:not(.client-brand-preview) .account-management-toggle i{color:#555e66}
body:not(.client-brand-preview) .overview-stat-icon,
body:not(.client-brand-preview) .overview-action-icon,
body:not(.client-brand-preview) .activity-icon{background:linear-gradient(145deg,#edf0f2,#bcc2c7);color:#343b41}
body:not(.client-brand-preview) .overview-stat-grid article:nth-child(odd),
body:not(.client-brand-preview) .training-week-label,
body:not(.client-brand-preview) .activity-history-details>summary,
body:not(.client-brand-preview) .admin-today-status{background:#f4f5f6}
body:not(.client-brand-preview) .overview-actions button:hover,
body:not(.client-brand-preview) .training-month-controls button:hover,
body:not(.client-brand-preview) .activity-calendar-controls button:hover{border-color:#858d94;background:#f4f6f7}
body:not(.client-brand-preview) .training-week-group{border-color:#d6dadd}
body:not(.client-brand-preview) .history-complete-icon{background:#e8ebed;color:#424a51}
body:not(.client-brand-preview) .training-history-summary strong{color:#424a51}
body:not(.client-brand-preview) .activity-calendar-grid>button.has-activity{border-color:#8f979e;background:#edf0f2}
body:not(.client-brand-preview) .activity-calendar-grid>button.selected{outline-color:#596168}
body:not(.client-brand-preview) .activity-calendar-grid>button i{background:#596168;color:#fff}
body:not(.client-brand-preview) .training-day b{background:#e3e6e8;color:#3c444b}
body:not(.client-brand-preview) .training-day.completed{border-color:#aeb5bb;background:#f4f6f7}
body:not(.client-brand-preview) .admin-percent i,
body:not(.client-brand-preview) .dashboard-weight-progress .mini-progress i{background:#626a72}
body:not(.client-brand-preview) .admin-percent,
body:not(.client-brand-preview) .dashboard-weight-progress .mini-progress{background:#d8e1e7}
body:not(.client-brand-preview) .dashboard-weight-progress small{color:#536875}
body:not(.client-brand-preview) .workout-actions .view-edit-workout.active,
body:not(.client-brand-preview) .view-edit-workout{border-color:#737c84!important;background:#edf0f2!important;color:#333a40!important}
body:not(.client-brand-preview) .workout-admin:not(.is-collapsed){border-color:#aeb5bb;box-shadow:0 8px 24px #252a2f12}
body:not(.client-brand-preview) .workout-admin:not(.is-collapsed)>.workout-title{background:#f5f6f7;border-bottom-color:#d9dde0}
body:not(.client-brand-preview) .exercise-head{background:#e9ecee}
body:not(.client-brand-preview) .exercise-form,
body:not(.client-brand-preview) .workout-name-editor,
body:not(.client-brand-preview) .inline-exercise-editor{background:#f3f5f6}
body:not(.client-brand-preview) .client-status-filter,
body:not(.client-brand-preview) .admin-client-tabs{background:#e1e4e6}
body:not(.client-brand-preview) .client-status-filter button span{background:#cdd2d6}
body:not(.client-brand-preview) .client-main small{color:#555e66}
body:not(.client-brand-preview) .archive-client-panel{background:#f5f6f7;border-color:#cbd0d4}
body:not(.client-brand-preview) .restore-client-button{border-color:#596168;background:#596168;color:#fff}
body:not(.client-brand-preview) .admin-today-status>span{background:#dfe3e6;color:#3e464d}
body:not(.client-brand-preview) .admin-coaching-type>span{background:#dfe4e7;color:#3f505c}
body:not(.client-brand-preview) .nutrition-category-tabs{background:#e3e6e8}
body:not(.client-brand-preview) .nutrition-food-add{background:#f2f4f5}
body:not(.client-brand-preview) .library-picker{border-color:#cbd0d4;background:#f1f3f4}

body:not(.client-brand-preview) .workspace>.topline{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:190px;
  align-items:center;
  margin-bottom:38px;
  padding:34px 36px;
  border:1px solid #8ea6b54a;
  border-radius:24px;
  background:
    radial-gradient(circle at 88% 10%,#6f9bb45c 0,transparent 31%),
    linear-gradient(140deg,#17242c,#304653 58%,#1c2c35);
  box-shadow:inset 0 1px 0 #ffffff28,0 24px 54px #273d4a2e;
  color:#fff;
}
body:not(.client-brand-preview) .workspace>.topline::before{
  content:"JJ";
  position:absolute;
  z-index:-1;
  right:105px;
  top:50%;
  transform:translateY(-52%);
  color:#ffffff0a;
  font-size:11rem;
  line-height:1;
  font-weight:950;
  font-style:italic;
  letter-spacing:-.11em;
  pointer-events:none;
}
body:not(.client-brand-preview) .workspace>.topline::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-78px;
  top:-112px;
  width:300px;
  height:300px;
  border:1px solid #d8edf81c;
  border-radius:50%;
  box-shadow:0 0 0 44px #d8edf808,0 0 0 88px #d8edf805;
  pointer-events:none;
}
body:not(.client-brand-preview) .workspace>.topline .eyebrow{
  display:inline-flex;
  margin-bottom:12px;
  padding:6px 9px;
  border:1px solid #d7effb33;
  border-radius:999px;
  background:#ffffff0d;
  color:#d4e8f2;
}
body:not(.client-brand-preview) .workspace>.topline h2{
  max-width:680px;
  margin:0 0 10px;
  color:#fff;
  font-size:clamp(2.55rem,5vw,4.45rem);
}
body:not(.client-brand-preview) .workspace>.topline .muted{color:#c4d4dd}
body:not(.client-brand-preview) .workspace>.topline>.primary{
  position:relative;
  z-index:1;
  overflow:hidden;
  min-width:148px;
  padding:14px 20px;
  border-color:#ffffff8a;
  background:linear-gradient(145deg,#f9fcfd,#b9cbd4);
  color:#20343f;
  box-shadow:inset 0 1px 0 #fff,0 12px 28px #0c171d5c;
  transition:transform .22s ease,box-shadow .28s ease,background .28s ease,border-color .28s ease;
  animation:addClientGlow 3.6s ease-in-out infinite;
}
body:not(.client-brand-preview) .workspace>.topline>.primary::after{
  content:"";
  position:absolute;
  inset:-30% auto -30% -55%;
  width:38%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,#ffffffa8,transparent);
  opacity:0;
  pointer-events:none;
}
body:not(.client-brand-preview) .workspace>.topline>.primary:hover{
  border-color:#fff;
  background:linear-gradient(145deg,#fff,#d3e1e7);
  transform:translateY(-2px);
  box-shadow:inset 0 1px 0 #fff,0 16px 34px #0c171d73;
}
body:not(.client-brand-preview) .workspace>.topline>.primary:hover::after{opacity:1;animation:addClientSweep .7s ease both}
body:not(.client-brand-preview) .workspace>.topline+.drawer{margin-top:-22px}
body:not(.client-brand-preview) .workspace>#add-client:not(.hidden){transform-origin:50% 0;animation:addClientReveal .32s cubic-bezier(.2,.76,.3,1) both}
body:not(.client-brand-preview) .workspace>.topline~.section-head{
  margin-top:0;
  padding:0 4px;
}
@keyframes addClientGlow{0%,100%{box-shadow:inset 0 1px 0 #fff,0 12px 28px #0c171d5c}50%{box-shadow:inset 0 1px 0 #fff,0 14px 34px #91bfd447}}
@keyframes addClientSweep{0%{left:-55%}100%{left:125%}}
@keyframes addClientReveal{0%{opacity:0;transform:translateY(-12px) scale(.985);filter:blur(2px)}100%{opacity:1;transform:none;filter:none}}
@media(max-width:620px){
  body:not(.client-brand-preview) .workspace>.topline{
    min-height:220px;
    display:grid;
    align-content:center;
    gap:22px;
    padding:27px 23px;
    border-radius:21px;
  }
  body:not(.client-brand-preview) .workspace>.topline::before{right:30px;font-size:8rem}
  body:not(.client-brand-preview) .workspace>.topline h2{font-size:2.65rem}
  body:not(.client-brand-preview) .workspace>.topline>.primary{
    width:100%;
    height:auto;
    min-height:48px;
    font-size:.86rem;
  }
  body:not(.client-brand-preview) .workspace>.topline>.primary:first-letter{font-size:inherit}
}

/* Complete dark treatment for Today, Nutrition and Weight. */
body.client-brand-preview:not(.client-light-mode) .today-habits,
body.client-brand-preview:not(.client-light-mode) .today-weight{
  border-color:#ffffff2d;
  background:linear-gradient(145deg,#14191ddf,#252d32dc);
  color:#f3f6f7;
  box-shadow:0 18px 42px #0006,inset 0 1px 0 #ffffff18;
}
body.client-brand-preview:not(.client-light-mode) .today-section-head>span,
body.client-brand-preview:not(.client-light-mode) .today-weight p,
body.client-brand-preview:not(.client-light-mode) .today-weight small{color:#b8c2c8}
body.client-brand-preview:not(.client-light-mode) .today-weight h3{color:#fff;font-weight:900;text-shadow:0 1px 12px #0008}
body.client-brand-preview:not(.client-light-mode) .today-weight>span{color:#d5e1e7;font-weight:650}
body.client-brand-preview:not(.client-light-mode) .today-weight .eyebrow{color:#244f67}
body.client-brand-preview:not(.client-light-mode) .today-weight button{color:#173746}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label{border-color:#ffffff22;background:#ffffff0b;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label:hover{border-color:#6fa7c9;background:#6fa7c912}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label>span{border-color:#73818a;background:#101417}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label.done{border-color:#56816a;background:#294637b8}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label.done>span{border-color:#67a17d;background:#67a17d}
body.client-brand-preview:not(.client-light-mode) .today-habit-list label.done strong{color:#b8c7be}
body.client-brand-preview:not(.client-light-mode) .circular-progress-panel{border-color:#ffffff2d;background:linear-gradient(145deg,#151b1fdf,#263138dc);color:#f4f7f8;box-shadow:0 18px 42px #0006,inset 0 1px 0 #ffffff18}
body.client-brand-preview:not(.client-light-mode) .client-progress-panel>.circular-progress-copy>span{color:#b6c1c7}

body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div{border-color:#ffffff2d;background:linear-gradient(145deg,#151a1ede,#252d32e8);color:#f6f8f9;box-shadow:0 15px 34px #0005,inset 0 1px 0 #ffffff16}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div:nth-child(1){border-left:4px solid #e3a344;background:linear-gradient(145deg,#1d1a16,#2c2924)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div:nth-child(2){border-left:4px solid #5eaa79;background:linear-gradient(145deg,#151d19,#233029)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div:nth-child(3){border-left:4px solid #62a0d5;background:linear-gradient(145deg,#151b20,#22303a)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div:nth-child(4){border-left:4px solid #9b73bc;background:linear-gradient(145deg,#1a1720,#2b2432)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards strong{color:#f5f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards span::after{color:#b5c0c6}
body.client-brand-preview:not(.client-light-mode) .nutrition-guidance-card{border-color:#53636d;background:linear-gradient(145deg,#1b2429e8,#2a363ce8);color:#f1f5f6}
body.client-brand-preview:not(.client-light-mode) .nutrition-guidance-card p:last-child{color:#d7dfe3}
body.client-brand-preview:not(.client-light-mode) .client-food-tabs{border-color:#ffffff22;background:#11171ad1}
body.client-brand-preview:not(.client-light-mode) .client-food-tabs button{color:#c0c9ce;background:#ffffff08}
body.client-brand-preview:not(.client-light-mode) .client-food-tabs button.active{color:#172127;background:#dbe8ee}
body.client-brand-preview:not(.client-light-mode) .client-food-section,
body.client-brand-preview:not(.client-light-mode) .daily-habits{border-color:#ffffff29;background:linear-gradient(145deg,#141a1edd,#242d32e5);color:#f2f5f6;box-shadow:0 16px 36px #0005}
body.client-brand-preview:not(.client-light-mode) .food-section-intro p,
body.client-brand-preview:not(.client-light-mode) .food-source-head,
body.client-brand-preview:not(.client-light-mode) .food-source-list span{color:#b8c2c8}
body.client-brand-preview:not(.client-light-mode) .food-source-list>div{border-color:#ffffff1e;background:#ffffff09;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode) .food-source-list b{color:#cfe3ed}
body.client-brand-preview:not(.client-light-mode) .daily-habits>div>span{border-color:#ffffff1f;background:#ffffff09;color:#e5ecef}

body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-summary>div,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .progress-story,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-form{border-color:#ffffff2d;background:linear-gradient(145deg,#141a1edf,#263036e3);color:#f2f6f7;box-shadow:0 17px 38px #0005,inset 0 1px 0 #ffffff16}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-summary span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .progress-story p,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .progress-story span{color:#b7c1c7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-form label{color:#d7dfe3}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] input,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] textarea{border-color:#52616a;background:#0f1417;color:#f4f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] input::placeholder,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] textarea::placeholder{color:#8e9aa1}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-calendar-details{border-color:#ffffff2a;background:#151c20;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-calendar-details>summary{background:#202a2f;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .activity-calendar-shell{background:#11171a;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .activity-calendar-controls button,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .activity-calendar-grid>button{border-color:#43515a;background:#1e272c;color:#eaf0f2}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .activity-calendar-grid>button.has-activity{border-color:#5c91aa;background:#243b47}
@media(prefers-reduced-motion:reduce){
  body:not(.client-brand-preview) .workspace>.topline>.primary,
  body:not(.client-brand-preview) .workspace>.topline>.primary:hover::after,
  body:not(.client-brand-preview) .workspace>#add-client:not(.hidden){animation:none}
}

body.client-brand-preview{--gold:#aeb4b9;--gold-light:#d9dde0;--line:#d1d5d8;--muted:#61686e}
body.client-brand-preview[data-client-texture="workouts"]{
  background-image:radial-gradient(circle at 18% 12%,#4c52585c 0,transparent 34%),linear-gradient(145deg,#070809,#24282c 56%,#0d0f11);
  background-size:auto;
}
body.client-brand-preview[data-client-texture="workouts"]::before{background:linear-gradient(120deg,#0007,#78818a18,#0008)}
body.client-brand-preview[data-client-texture="today"]{
  background-color:#0a0e12;
  background-image:radial-gradient(circle at 16% 8%,#31516c66 0,transparent 34%),radial-gradient(circle at 88% 30%,#23374670 0,transparent 40%),linear-gradient(145deg,#070a0d,#18232c 58%,#090d11);
}
body.client-brand-preview[data-client-texture="workouts"]{
  background-color:#090d11;
  background-image:radial-gradient(circle at 18% 12%,#33536a4f 0,transparent 36%),linear-gradient(145deg,#06090c,#1a252e 56%,#090e13);
}
body.client-brand-preview[data-client-texture="workouts"]::before{background:linear-gradient(120deg,#0008,#5f82991c,#0009)}
body.client-brand-preview[data-client-texture="nutrition"]{
  background-color:#0a0e12;
  background-image:radial-gradient(circle at 76% 0,#35556b55 0,transparent 36%),linear-gradient(145deg,#070a0d,#1d2932 55%,#0a0f14);
}
body.client-brand-preview[data-client-texture="weight"]{
  background-color:#090d11;
  background-image:radial-gradient(circle at 12% 18%,#284b6360 0,transparent 34%),linear-gradient(120deg,#06090c,#22303a 52%,#0a0f14);
}
body.client-brand-preview .eyebrow{color:#c5cbd0}
body.client-brand-preview .today-habits .eyebrow,
body.client-brand-preview .today-weight .eyebrow,
body.client-brand-preview .client-activity-card .eyebrow,
body.client-brand-preview .progress-story .eyebrow,
body.client-brand-preview .client-goal-readonly .eyebrow,
body.client-brand-preview .calendar-history .eyebrow{color:#4d565e}
body.client-brand-preview .text-link,
body.client-brand-preview .exercise-view-toggle,
body.client-brand-preview .add-client-set,
body.client-brand-preview .today-weight button,
body.client-brand-preview .activity-history-details>summary i,
body.client-brand-preview .activity-calendar-controls button{color:#4c555d;border-color:#c7ccd0}
body.client-brand-preview .exercise-index{color:#59636b}
body.client-brand-preview .coach-tip{border-left-color:#7b848c;background:#edf0f2;color:#31383e}
body.client-brand-preview .session-head>.eyebrow{background:#dfe3e6;color:#3f474e}
body.client-brand-preview .session-head #back-client:hover,
body.client-brand-preview .exercise-view-toggle:hover{border-color:#858e96;background:#f1f3f4}
body.client-brand-preview .workout-cards .workout-card{border-color:#ffffff30;background:linear-gradient(145deg,#121518e8,#292e33d9);color:#f7f8f8;box-shadow:0 22px 50px #0007,inset 0 1px 0 #ffffff12;backdrop-filter:blur(16px)}
body.client-brand-preview .workout-cards .workout-card:nth-child(even){background:linear-gradient(145deg,#24292ee8,#111416df)}
body.client-brand-preview .workout-cards .workout-card:hover{border-color:#8797a5;background:linear-gradient(145deg,#1b2025ee,#30373dde)}
body.client-brand-preview .workout-cards .workout-card p,
body.client-brand-preview .workout-cards .workout-card>div>span:last-child{color:#b8bec3}
body.client-brand-preview .workout-cards .workout-number{color:#d6dbe0}
body.client-brand-preview .workout-cards .start-arrow{background:linear-gradient(145deg,#f4f5f6,#9ca3a9);color:#111;box-shadow:0 7px 18px #0005}
body.client-brand-preview .programme-details>div{border-color:#cfd4d7;background:linear-gradient(135deg,#fff 55%,#e5e8ea)}
body.client-brand-preview .programme-details>div:nth-child(1),
body.client-brand-preview .programme-details>div:nth-child(2),
body.client-brand-preview .programme-details>div:nth-child(3),
body.client-brand-preview .programme-details>div:nth-child(4){background:linear-gradient(135deg,#fff 55%,#e3e6e8)}
body.client-brand-preview .programme-details>div::before{background:#d7dce0;color:#3d464e}
body.client-brand-preview .programme-details>div::after{background:#737c84}
body.client-brand-preview .programme-details span{color:#555f67}
body.client-brand-preview .nutrition-icon{color:#d8dde0}
body.client-brand-preview .client-nutrition-complete .macro-cards strong,
body.client-brand-preview .food-source-list b{color:#3f474e}
body.client-brand-preview .client-nutrition-complete .macro-cards span::after{color:#687078}
body.client-brand-preview .nutrition-guidance-card{border-color:#cbd0d4;background:#eef1f2;color:#30373d}
body.client-brand-preview .client-food-tabs{background:#d9dde0}
body.client-brand-preview .client-food-tabs i{background:#c5cbd0;color:#343b41}
body.client-brand-preview .client-nutrition-complete .client-food-section{border-color:#cdd2d6;background:#eef0f2;color:#252b30}
body.client-brand-preview .client-nutrition-complete .food-section-intro{border-bottom-color:#cfd4d7}
body.client-brand-preview .daily-habits>div>span{background:#eef0f2}
body.client-brand-preview .client-food-tabs button.active i,
body.client-brand-preview .daily-habits i{background:#596168;color:#fff}
body.client-brand-preview .activity-calendar-grid>button.has-activity{border-color:#90989f;background:#edf0f2}
body.client-brand-preview .activity-calendar-grid>button.selected{outline-color:#596168}
body.client-brand-preview .activity-calendar-grid>button i{background:#596168;color:#fff}
body.client-brand-preview .motivation-badge{border-color:#939ba2;background:#e7eaec;color:#40484f}
body.client-brand-preview .story-icon.target{background:#596168;color:#fff}
body.client-brand-preview .progress-story.on-track .latest-point{filter:drop-shadow(0 0 7px #7d868e)}
body.client-brand-preview .weight-summary>div,
body.client-brand-preview .client-progress-panel,
body.client-brand-preview .progress-story,
body.client-brand-preview .client-goal-readonly,
body.client-brand-preview .weight-form,
body.client-brand-preview .calendar-history{color:#17191b}
body.client-brand-preview .weight-summary strong{color:#17191b}
body.client-brand-preview .client-progress-panel>div:first-child strong{color:#343b41}
body.client-brand-preview .client-progress-panel span{color:#4c555d}
body.client-brand-preview .client-progress-bar,
body.client-brand-preview .admin-percent{background:#dfe3e6}
body.client-brand-preview .unit-toggle{background:#d9dde0}
body.client-brand-preview .story-stats>div{background:#eef0f2}
body.client-brand-preview .story-stats strong{color:#3e464d}
body.client-brand-preview .goal-lock{border-color:#cbd0d4;background:#eef0f2;color:#40484f}
body.client-brand-preview .activity-history-details>summary{background:#eef0f2;color:#343b41}
body.client-brand-preview .calendar-title>span,
body.client-brand-preview .activity-calendar-weekdays span{color:#565f67}
body.client-brand-preview .calendar-history{padding:22px;border:1px solid #ffffff30;border-radius:18px;background:linear-gradient(145deg,#121518e8,#292e33d9);color:#f7f8f8;box-shadow:0 22px 50px #0007,inset 0 1px 0 #ffffff12;backdrop-filter:blur(16px)}
body.client-brand-preview .calendar-history .calendar-title .eyebrow{color:#c3c9ce}
body.client-brand-preview .calendar-history .calendar-title h3{color:#fff}
body.client-brand-preview .calendar-history .calendar-title>span{color:#d1d6da}
body.client-brand-preview .calendar-history .weight-calendar-details{border-color:#ffffff35;background:#f5f6f7;color:#17191b}
body.client-brand-preview .calendar-history .weight-calendar-details>summary{background:#e9ecee;color:#30373d}
body.client-brand-preview .calendar-history .activity-calendar-shell{background:#f7f8f8}
body.client-brand-preview .exercise-view-toggle{border-color:#aebdca;background:#edf4f9;color:#31556f}
body.client-brand-preview .exercise-view-toggle[aria-expanded="true"]{border-color:#6e91aa;background:#dcebf5;color:#244b68;box-shadow:0 0 0 2px #527b9830}
body.client-brand-preview .exercise-view-toggle:hover{border-color:#6e91aa;background:#e3f0f8}
body.client-brand-preview .activity-history-details[open]>summary{background:#e3edf4;color:#2e536d}
body:not(.client-brand-preview) .view-edit-workout{border-color:#9bafbe!important;background:#edf3f7!important;color:#35566d!important}
body:not(.client-brand-preview) .workout-actions .view-edit-workout.active{border-color:#6689a2!important;background:#dceaf3!important;color:#244c67!important;box-shadow:0 0 0 2px #527b9828}
body:not(.client-brand-preview) .account-management-toggle[aria-expanded="true"],
body:not(.client-brand-preview) .weight-manage-toggle[aria-expanded="true"]{border-color:#879daa;background:#e7f0f5;color:#2f5268}
body.client-brand-preview .primary{border-color:#aeb4b9;background:linear-gradient(145deg,#f6f7f8,#aeb4b9);color:#111}
body.client-brand-preview input:focus,
body.client-brand-preview select:focus,
body.client-brand-preview textarea:focus{outline-color:#7d868e33;border-color:#737c84}

/* Small colour cues help clients scan each area without changing the core monochrome brand. */
body.client-brand-preview .today-habits .eyebrow,
body.client-brand-preview .today-weight .eyebrow,
body.client-brand-preview .client-activity-card .eyebrow,
body.client-brand-preview .client-intro .eyebrow,
body.client-brand-preview .progress-story .eyebrow,
body.client-brand-preview .client-goal-readonly .eyebrow,
body.client-brand-preview .calendar-history .eyebrow{
  display:inline-flex;
  width:max-content;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  letter-spacing:.09em;
}
body.client-brand-preview .today-habits .eyebrow{background:#dff3e7;color:#256747}
body.client-brand-preview .today-weight .eyebrow{background:#dfeef8;color:#285f82}
body.client-brand-preview .client-activity-card .eyebrow{background:#eee5fa;color:#67438d}
body.client-brand-preview[data-client-texture="workouts"] .client-intro .eyebrow{background:#dcebf5;color:#285d7d}
body.client-brand-preview[data-client-texture="nutrition"] .client-intro .eyebrow{background:#eee5fa;color:#65418a}
body.client-brand-preview[data-client-texture="weight"] .client-intro .eyebrow{background:#dff1ef;color:#286a64}
body.client-brand-preview .progress-story .eyebrow{background:#e5e8fb;color:#4e5792}
body.client-brand-preview .client-goal-readonly .eyebrow{background:#e8edf1;color:#485863}
body.client-brand-preview .calendar-history .calendar-title .eyebrow{background:#dcebf5;color:#285d7d}

body.client-brand-preview .activity-icon{background:linear-gradient(145deg,#eee5fa,#c9b5e4);color:#55377a}
body.client-brand-preview .today-habit-list label>span{background:#f0f4f2;color:#739283}
body.client-brand-preview .today-habit-list label.done>span{background:#3f8b65;border-color:#3f8b65;color:#fff;box-shadow:0 4px 12px #3f8b653d}
body.client-brand-preview .workout-cards .start-arrow{background:linear-gradient(145deg,#dff3ff,#6fa7c9);color:#173d55}
body.client-brand-preview .programme-details>div:nth-child(1)::before{background:#dfeef8;color:#285f82}
body.client-brand-preview .programme-details>div:nth-child(1)::after{background:#5d98bd}
body.client-brand-preview .programme-details>div:nth-child(2)::before{background:#eee5fa;color:#67438d}
body.client-brand-preview .programme-details>div:nth-child(2)::after{background:#8a68ac}
body.client-brand-preview .programme-details>div:nth-child(3)::before{background:#dff3e7;color:#256747}
body.client-brand-preview .programme-details>div:nth-child(3)::after{background:#4f9870}
body.client-brand-preview .programme-details>div:nth-child(4)::before{background:#e2edf2;color:#376477}
body.client-brand-preview .programme-details>div:nth-child(4)::after{background:#6d93a4}

/* Frosted, high-contrast markers for the workout order and goal progress. */
body.client-brand-preview .workout-cards .workout-number{
  display:inline-flex;
  min-width:42px;
  min-height:32px;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border:1px solid #ffffff42;
  border-radius:10px;
  background:linear-gradient(145deg,#ffffff2e,#ffffff10);
  color:#fff;
  box-shadow:inset 0 1px 0 #ffffff35,0 8px 20px #0005;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-size:.78rem;
  letter-spacing:.1em;
  text-shadow:0 1px 3px #000;
}
body.client-brand-preview .client-progress-panel{
  border:1px solid #ffffff80;
  background:linear-gradient(145deg,#fffffff2,#e7edf1e8);
  box-shadow:inset 0 1px 0 #fff,0 14px 32px #0002;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
body.client-brand-preview .client-progress-bar{
  height:12px;
  padding:2px;
  border:1px solid #ffffffa8;
  background:linear-gradient(90deg,#85919a66,#cbd3d966);
  box-shadow:inset 0 2px 5px #27313a38,0 1px 0 #fff;
}
body.client-brand-preview .client-progress-bar i{
  min-width:8px;
  background:linear-gradient(90deg,#397ca7,#6fb7df);
  box-shadow:0 0 10px #4b9bc477,inset 0 1px 0 #ffffff75;
}
body.client-brand-preview .client-progress-panel>div:first-child span{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  background:#dcebf5;
  color:#285d7d;
  font-weight:900;
}

body.client-brand-preview .complete-bar{
  border-top:1px solid #ffffff3d;
  background:linear-gradient(145deg,#15191dd9,#2d343add);
  box-shadow:0 -14px 36px #0006,inset 0 1px 0 #ffffff20;
  backdrop-filter:blur(20px) saturate(135%);
  -webkit-backdrop-filter:blur(20px) saturate(135%);
}
body.client-brand-preview .complete-bar .primary{
  border-color:#8bb7d0;
  background:linear-gradient(145deg,#dff3ff,#71aaca);
  color:#15384d;
  box-shadow:0 8px 24px #0005,inset 0 1px 0 #ffffffa8;
}
body.client-brand-preview .complete-bar .primary:disabled{
  border-color:#ffffff38;
  background:linear-gradient(145deg,#ffffff20,#ffffff0d);
  color:#aeb8bf;
  box-shadow:inset 0 1px 0 #ffffff24;
  opacity:1;
  cursor:not-allowed;
}

body.client-brand-preview .exercise-completion-progress{
  border:1px solid #ffffff3d;
  background:linear-gradient(145deg,#15191de8,#30373ddd);
  color:#fff;
  box-shadow:inset 0 1px 0 #ffffff20,0 12px 28px #0004;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
}
body.client-brand-preview .exercise-completion-progress strong{color:#fff}
body.client-brand-preview .exercise-completion-progress span{color:#cbd3d9}
body.client-brand-preview .exercise-completion-progress>div:last-child{
  height:9px;
  padding:2px;
  border:1px solid #ffffff35;
  background:#ffffff14;
  box-shadow:inset 0 2px 4px #0005;
}
body.client-brand-preview .exercise-completion-progress i{
  min-width:0;
  background:linear-gradient(90deg,#397ca7,#70b9df);
  box-shadow:0 0 10px #53a3ce99,inset 0 1px 0 #ffffff70;
}

body.client-brand-preview[data-client-texture="workouts"] .programme-details>div,
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(1),
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(2),
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(3),
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(4){
  border-color:#ffffff2d;
  background:linear-gradient(145deg,#ffffff1f,#ffffff0b);
  color:#f5f7f8;
  box-shadow:inset 0 1px 0 #ffffff22,0 12px 28px #0003;
  backdrop-filter:blur(17px) saturate(125%);
  -webkit-backdrop-filter:blur(17px) saturate(125%);
}
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:hover{
  border-color:#ffffff4a;
  background:linear-gradient(145deg,#ffffff29,#ffffff10);
}
body.client-brand-preview[data-client-texture="workouts"] .programme-details span{color:#c3cbd1}
body.client-brand-preview[data-client-texture="workouts"] .programme-details strong{color:#fff;text-shadow:0 1px 3px #0008}
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(1)::before{background:#5d98bd;color:#fff}
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(2)::before{background:#8060a1;color:#fff}
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(3)::before{background:#438461;color:#fff}
body.client-brand-preview[data-client-texture="workouts"] .programme-details>div:nth-child(4)::before{background:#587f91;color:#fff}

/* Nutrition can carry a fresher, food-led palette while the structure stays restrained. */
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div{
  position:relative;
  overflow:hidden;
  border-color:#ffffff72;
  box-shadow:inset 0 1px 0 #ffffffc9,0 12px 26px #0002;
}
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards>div::after{
  content:"";
  position:absolute;
  right:-20px;
  bottom:-25px;
  width:78px;
  height:78px;
  border-radius:50%;
  background:#ffffff45;
}
body.client-brand-preview[data-client-texture="nutrition"] .macro-cards>div:nth-child(1){background:linear-gradient(145deg,#fff4d8,#ffd584);border-left:4px solid #e79a28}
body.client-brand-preview[data-client-texture="nutrition"] .macro-cards>div:nth-child(2){background:linear-gradient(145deg,#e2f5e8,#9ed8ae);border-left:4px solid #3c9862}
body.client-brand-preview[data-client-texture="nutrition"] .macro-cards>div:nth-child(3){background:linear-gradient(145deg,#e4efff,#a9caf5);border-left:4px solid #4e88cf}
body.client-brand-preview[data-client-texture="nutrition"] .macro-cards>div:nth-child(4){background:linear-gradient(145deg,#f1e7fb,#ceb0e7);border-left:4px solid #8a55b2}
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards strong{position:relative;z-index:1;color:#252b30}
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete .macro-cards span{position:relative;z-index:1;color:#4d565e}

body.client-brand-preview[data-client-texture="nutrition"] .nutrition-guidance-card{
  border-color:#8cc7a2;
  background:linear-gradient(135deg,#edf9f1,#d8efe1);
  box-shadow:inset 0 1px 0 #fff,0 10px 24px #0002;
}
body.client-brand-preview[data-client-texture="nutrition"] .nutrition-icon{background:#3e8d60;color:#fff;box-shadow:0 5px 14px #3e8d6042}

body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs{background:#ffffff20;border:1px solid #ffffff28;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button{color:#d1d6da}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(1) i{background:#9ed8ae;color:#245f3e}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(2) i{background:#a9caf5;color:#275a96}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(3) i{background:#ceb0e7;color:#603a80}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(1).active{background:#e2f5e8;color:#245f3e}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(2).active{background:#e4efff;color:#275a96}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:nth-child(3).active{background:#f1e7fb;color:#603a80}

body.client-brand-preview[data-client-texture="nutrition"] .client-food-section{border-top:4px solid #63a87c}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list>div:nth-child(3n+1){border-left:3px solid #55a875;background:#f3faf5}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list>div:nth-child(3n+2){border-left:3px solid #5792d2;background:#f3f7fd}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list>div:nth-child(3n){border-left:3px solid #a16bc4;background:#f8f3fb}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list b{color:#315f49}

body.client-brand-preview[data-client-texture="nutrition"] .daily-habits{border-color:#ffffff65;background:linear-gradient(145deg,#fffffff3,#f0f4f3ec)}
body.client-brand-preview[data-client-texture="nutrition"] .daily-habits>div>span:nth-child(1) i{background:#4d91cf}
body.client-brand-preview[data-client-texture="nutrition"] .daily-habits>div>span:nth-child(2) i{background:#4b9a68}
body.client-brand-preview[data-client-texture="nutrition"] .daily-habits>div>span:nth-child(3) i{background:#9a65bd}
body.client-brand-preview[data-client-texture="nutrition"] .daily-habits>div>span:nth-child(4) i{background:#e18a3b}

body.client-brand-preview .session-exercise{
  position:relative;
  transition:background .28s ease,border-color .28s ease,box-shadow .28s ease,transform .22s ease;
}
body.client-brand-preview .exercise-view-toggle{
  width:38px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:11px;
  background:linear-gradient(145deg,#edf5fa,#cbdde9);
  box-shadow:inset 0 1px 0 #fff,0 5px 13px #25465c20;
}
body.client-brand-preview .exercise-view-toggle .toggle-edit-icon{font-size:1.05rem;line-height:1;font-weight:900;transition:transform .2s ease}
body.client-brand-preview .exercise-view-toggle[aria-expanded="true"]{background:linear-gradient(145deg,#d9edf8,#9ec9df);box-shadow:0 0 0 3px #5a9abb24,0 6px 15px #25465c32}
body.client-brand-preview .exercise-view-toggle[aria-expanded="true"] .toggle-edit-icon{transform:rotate(-8deg) scale(1.08)}

body.client-brand-preview .session-exercise.is-complete{
  border-color:#74ba91;
  background:linear-gradient(135deg,#edf9f1,#dcefe4);
  box-shadow:inset 4px 0 0 #3f9764,0 12px 28px #285f3e20;
}
body.client-brand-preview .session-exercise.is-complete .session-exercise-head h3{color:#326a49;text-decoration:none}
body.client-brand-preview .session-exercise.is-complete .exercise-index{color:#3f8d61}
body.client-brand-preview .session-exercise.is-complete .completed-exercise-summary{
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:999px;
  background:#cce8d6;
  color:#286241;
}
body.client-brand-preview .exercise-check span{transition:transform .25s cubic-bezier(.2,.9,.3,1.4),background .2s,border-color .2s,box-shadow .2s}
body.client-brand-preview .exercise-check input:checked+span{
  border-color:#3f9764;
  background:linear-gradient(145deg,#58ae78,#327d53);
  color:#fff;
  box-shadow:0 0 0 5px #4da66f20,0 6px 15px #347b5050;
  transform:scale(1.08);
}
body.client-brand-preview .session-exercise.completion-pop{animation:exerciseCompletePop .75s ease both}
body.client-brand-preview .session-exercise.completion-pop::after{
  content:"✓ Complete";
  position:absolute;
  z-index:3;
  right:18px;
  top:-14px;
  padding:7px 11px;
  border-radius:999px;
  background:#3f9764;
  color:#fff;
  box-shadow:0 8px 20px #245c3c4d;
  font-size:.7rem;
  font-weight:950;
  animation:completeBadge .75s ease both;
}
@keyframes exerciseCompletePop{0%{transform:scale(1)}35%{transform:scale(1.015)}100%{transform:scale(1)}}
@keyframes completeBadge{0%{opacity:0;transform:translateY(8px) scale(.75)}30%{opacity:1;transform:translateY(0) scale(1.05)}75%{opacity:1}100%{opacity:0;transform:translateY(-7px) scale(.96)}}
@media(prefers-reduced-motion:reduce){body.client-brand-preview .session-exercise.completion-pop,body.client-brand-preview .session-exercise.completion-pop::after{animation:none}}

/* Rewarding, consistent feedback across Today, Nutrition and Weight. */
body.client-brand-preview .today-habit-list label{
  position:relative;
  overflow:hidden;
  transition:transform .2s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
body.client-brand-preview .today-habit-list label:hover{transform:translateY(-1px);border-color:#8fb7a0;box-shadow:0 8px 18px #2d644016}
body.client-brand-preview .today-habit-list label.done{
  border-color:#75b890;
  background:linear-gradient(135deg,#edf9f1,#dcefe4);
  box-shadow:inset 3px 0 0 #439565,0 8px 18px #2d64401a;
  animation:habitComplete .5s cubic-bezier(.2,.9,.3,1.2);
}
body.client-brand-preview .today-habit-list label.done::after{
  content:"Done";
  position:absolute;
  right:10px;
  padding:4px 8px;
  border-radius:999px;
  background:#c8e7d3;
  color:#2c6845;
  font-size:.62rem;
  font-weight:950;
  text-decoration:none;
}
body.client-brand-preview .today-habit-list label.done strong{padding-right:48px;color:#4d6d5a}
body.client-brand-preview .today-habit-list label.done>span{transform:scale(1.06);box-shadow:0 0 0 5px #4da66f1f,0 5px 13px #347b5044}
body.client-brand-preview .motivation-badge{animation:rewardBadge .55s cubic-bezier(.2,.9,.3,1.25)}

body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button{
  transition:transform .18s ease,background .22s ease,color .22s ease,box-shadow .22s ease;
}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button:hover{transform:translateY(-1px);background:#ffffff18}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button.active{transform:translateY(-1px);box-shadow:0 7px 18px #0002,inset 0 1px 0 #fff}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-tabs button.active i{transform:scale(1.1);box-shadow:0 4px 10px #0002}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section.active{animation:sectionReveal .32s ease both}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list>div{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
body.client-brand-preview[data-client-texture="nutrition"] .food-source-list>div:hover{transform:translateX(3px);box-shadow:0 6px 14px #00000010}

body.client-brand-preview[data-client-texture="weight"] .unit-toggle button,
body.client-brand-preview[data-client-texture="weight"] .activity-calendar-controls button,
body.client-brand-preview[data-client-texture="weight"] .weight-calendar-grid button,
body.client-brand-preview[data-client-texture="weight"] .weight-form .primary{
  transition:transform .18s ease,background .22s ease,color .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body.client-brand-preview[data-client-texture="weight"] .unit-toggle button:hover,
body.client-brand-preview[data-client-texture="weight"] .activity-calendar-controls button:hover{transform:translateY(-1px)}
body.client-brand-preview[data-client-texture="weight"] .unit-toggle button.active{
  background:linear-gradient(145deg,#dff3ff,#8dc2de);
  color:#1f526f;
  box-shadow:0 5px 13px #376d8d32,inset 0 1px 0 #fff;
  transform:scale(1.05);
}
body.client-brand-preview[data-client-texture="weight"] .weight-calendar-grid button:hover{transform:translateY(-2px);border-color:#7fa9c0;box-shadow:0 5px 12px #2b637d20}
body.client-brand-preview[data-client-texture="weight"] .weight-calendar-grid button.selected{
  background:linear-gradient(145deg,#dceef8,#a9d0e3);
  border-color:#5f93ad;
  box-shadow:0 0 0 3px #5a9abb28,0 7px 16px #2d647e28;
  transform:translateY(-2px);
}
body.client-brand-preview[data-client-texture="weight"] .weight-form .primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px #315f7a42,inset 0 1px 0 #fff}
body.client-brand-preview[data-client-texture="weight"] .weight-form .primary:active{transform:translateY(0) scale(.985)}
body.client-brand-preview[data-client-texture="weight"] .activity-day-results article{animation:sectionReveal .3s ease both}

body.client-brand-preview .home-calendar-details .activity-calendar-controls>strong,
body.client-brand-preview .home-calendar-details .activity-day-results strong{color:#20272c}
body.client-brand-preview .home-calendar-details .activity-selected-date>span{color:#616b72}
body.client-brand-preview .home-calendar-details .workout-activity-icon{background:#dcebf5;color:#285d7d}
body.client-brand-preview .home-calendar-details .personal-event>.activity-icon{background:#eee5fa;color:#67438d}
body.client-brand-preview[data-client-texture="today"] .client-activity-card{display:none}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card{
  padding:24px;
  border-color:#ffffff30;
  background:linear-gradient(145deg,#121518e8,#292e33d9);
  color:#f7f8f8;
  box-shadow:0 22px 50px #0007,inset 0 1px 0 #ffffff12;
  backdrop-filter:blur(16px);
}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card .client-activity-head span{color:#b8bec3}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card label{color:#d9dde0}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card input{border-color:#ffffff30;background:#ffffffed;color:#17191b}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card .secondary{width:100%;border-color:#7ba8c1;background:linear-gradient(145deg,#dff3ff,#82b7d2);color:#193f56;box-shadow:0 8px 20px #0004}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card .secondary:hover{transform:translateY(-1px);box-shadow:0 11px 24px #0005}
body.client-brand-preview[data-client-texture="workouts"] .client-activity-card .client-activity-history{display:none}
body.client-brand-preview .circular-progress-panel{border-color:#ffffff80;background:linear-gradient(145deg,#f9fbfced,#e4ebefeb);box-shadow:inset 0 1px 0 #fff,0 18px 42px #0003;color:#1c252a}
body.client-brand-preview .circular-progress-panel>.circular-progress-copy{display:block!important;text-align:left}
body.client-brand-preview .client-progress-panel>.circular-progress-copy>span{display:block!important;padding:0;background:none;color:#5f6b72;font-weight:400}
body.client-brand-preview .circular-progress-panel .circular-progress-copy>.eyebrow{color:#4e6574}
body.client-brand-preview .circular-progress-panel .weight-progress-ring{background:conic-gradient(#4f97bd var(--ring-progress),#d9e2e7 0);box-shadow:0 14px 35px #2f6f902d,inset 0 0 0 1px #fff}
body.client-brand-preview .circular-progress-panel .weight-progress-ring-inner{background:linear-gradient(145deg,#fff,#edf2f5);box-shadow:inset 0 2px 10px #30495720,0 3px 9px #ffffff}
body.client-brand-preview .circular-progress-panel .weight-progress-ring-inner strong{color:#182229}
body.client-brand-preview .circular-progress-panel .weight-progress-ring-inner span{display:block;padding:0;background:none;color:#2f789e;font-weight:900}
body.client-brand-preview .circular-progress-panel .weight-journey-numbers{border-top-color:#cbd5db}
body.client-brand-preview .circular-progress-panel .weight-journey-numbers strong{color:#202a30}
body.client-brand-preview .today-grid{align-items:stretch}
body.client-brand-preview .today-weight{height:100%;grid-template-rows:auto 1fr auto auto;align-content:stretch;text-align:center}
body.client-brand-preview .today-weight>.eyebrow{justify-self:start}
body.client-brand-preview .today-weight-ring{width:136px;aspect-ratio:1;display:grid;place-items:center;justify-self:center;margin:8px auto 10px;padding:0;border:0;border-radius:50%;background:conic-gradient(#4f97bd var(--ring-progress),#dbe3e8 0);box-shadow:0 12px 28px #346d8a38,inset 0 0 0 1px #fff;transition:transform .2s ease,box-shadow .2s ease}
body.client-brand-preview .today-weight-ring:hover{transform:translateY(-2px);box-shadow:0 16px 32px #346d8a48,inset 0 0 0 1px #fff}
body.client-brand-preview .today-weight-ring>span{width:104px;aspect-ratio:1;display:grid;place-content:center;border-radius:50%;background:linear-gradient(145deg,#fff,#edf2f5);color:#172228;box-shadow:inset 0 2px 8px #3049571d}
body.client-brand-preview .today-weight-ring small{color:#617079;font-size:.56rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.client-brand-preview .today-weight-ring strong{margin:4px 0;font-size:1rem;line-height:1.1}
body.client-brand-preview .today-weight-ring b{color:#2f789e;font-size:.68rem}
body.client-brand-preview .today-weight-context{display:flex;justify-content:center;align-items:center;gap:8px;color:#657078;font-size:.62rem}
body.client-brand-preview .today-weight-context span{display:grid;gap:2px}
body.client-brand-preview .today-weight-context strong{color:#27343b;font-size:.72rem}
body.client-brand-preview .today-weight-context i{font-style:normal;color:#7e8a91}
body.client-brand-preview .today-weight .today-record-weight{width:100%;margin-top:14px;padding:11px 14px;border:1px solid #77a9c3;border-radius:10px;background:linear-gradient(145deg,#e4f4fc,#9bc8dd);color:#173f55;text-align:center;font-size:.75rem;font-weight:900;box-shadow:0 7px 18px #346d8a24;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
body.client-brand-preview .today-weight .today-record-weight:hover{transform:translateY(-1px);box-shadow:0 10px 22px #346d8a35;filter:saturate(1.08)}
body.client-brand-preview .today-weight .today-record-weight:focus-visible{outline:3px solid #72b7dc66;outline-offset:2px}
body.client-brand-preview .progress-story .story-goal{stroke:#5b9fc3}
body.client-brand-preview .progress-story .goal-text{fill:#3f86aa}
body.client-brand-preview .progress-story .story-chart circle.latest-point{fill:#5b9fc3}
body.client-brand-preview .progress-story.on-track .latest-point{filter:drop-shadow(0 0 7px #5b9fc3)}

@keyframes habitComplete{0%{transform:scale(1)}45%{transform:scale(1.015)}100%{transform:scale(1)}}
@keyframes rewardBadge{0%{opacity:0;transform:translateY(8px) scale(.94)}100%{opacity:1;transform:none}}
@keyframes sectionReveal{0%{opacity:0;transform:translateY(7px)}100%{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  body.client-brand-preview .today-habit-list label.done,
  body.client-brand-preview .motivation-badge,
  body.client-brand-preview[data-client-texture="nutrition"] .client-food-section.active,
  body.client-brand-preview[data-client-texture="weight"] .activity-day-results article{animation:none}
}

.workout-success-overlay{
  position:fixed;
  z-index:100;
  inset:0;
  display:grid;
  place-items:center;
  padding:22px;
  overflow:hidden;
  background:radial-gradient(circle at 50% 38%,#30433b 0,#151b1ae8 38%,#080a0bf5 100%);
  opacity:0;
  transition:opacity .22s ease;
}
.workout-success-overlay.show{opacity:1}
.workout-success-card{
  position:relative;
  z-index:2;
  width:min(470px,100%);
  padding:38px;
  border:1px solid #ffffff38;
  border-radius:26px;
  background:linear-gradient(145deg,#ffffffed,#dfe9e3e8);
  color:#19221d;
  text-align:center;
  box-shadow:inset 0 1px 0 #fff,0 30px 90px #0009;
  backdrop-filter:blur(22px) saturate(130%);
  -webkit-backdrop-filter:blur(22px) saturate(130%);
  animation:successCardIn .55s cubic-bezier(.2,.9,.3,1.2) both;
}
.workout-success-card .success-check{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  border:3px solid #d7f3e1;
  border-radius:50%;
  background:linear-gradient(145deg,#62bd83,#318255);
  color:#fff;
  box-shadow:0 0 0 10px #4da66f18,0 14px 30px #2e744b4d;
  font-size:2.2rem;
  font-weight:950;
  animation:successCheck .65s .12s cubic-bezier(.2,.9,.3,1.4) both;
}
.workout-success-card .eyebrow{margin-bottom:9px;color:#397652}
.workout-success-card h2{margin:0 0 12px;font-size:clamp(2.5rem,8vw,4rem)}
.workout-success-card>p:not(.eyebrow){margin:0 auto 22px;max-width:350px;color:#526159;line-height:1.55}
.workout-success-card>p strong{color:#24362b}
.success-streak{display:flex;align-items:center;gap:11px;margin:0 0 22px;padding:13px;text-align:left;border:1px solid #a9d5b8;border-radius:13px;background:#e5f5ea}
.success-streak>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#429564;color:#fff;font-size:1.15rem}
.success-streak>div{display:grid;gap:2px}.success-streak small{color:#627168}
.workout-success-card .primary{width:100%;border-color:#3d9560;background:linear-gradient(145deg,#61bd83,#388b5b);color:#fff;box-shadow:0 10px 24px #2e744b42}
.workout-success-card .primary:hover{transform:translateY(-1px);background:linear-gradient(145deg,#70c990,#3f9863)}
.success-auto-return{display:block;margin-top:12px;color:#718078}
.success-confetti{position:absolute;inset:0;pointer-events:none}
.success-confetti i{position:absolute;left:var(--x);top:-22px;width:9px;height:17px;border-radius:3px;background:var(--confetti);opacity:0;animation:confettiFall 2.6s var(--delay) cubic-bezier(.18,.7,.28,1) both}
@keyframes successCardIn{0%{opacity:0;transform:translateY(20px) scale(.92)}100%{opacity:1;transform:none}}
@keyframes successCheck{0%{opacity:0;transform:scale(.45) rotate(-18deg)}100%{opacity:1;transform:none}}
@keyframes confettiFall{0%{opacity:0;transform:translate3d(0,-20px,0) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift),105vh,0) rotate(var(--spin))}}
@media(max-width:520px){.workout-success-card{padding:30px 22px;border-radius:22px}.workout-success-card .success-check{width:68px;height:68px}}
@media(prefers-reduced-motion:reduce){.workout-success-card,.workout-success-card .success-check,.success-confetti i{animation:none}.success-confetti{display:none}}

@media(max-width:600px){
  body.client-brand-preview[data-client-texture="workouts"] .programme-details,
  body.client-brand-preview[data-client-texture="workouts"] .programme-details:has(.programme-coaching-type){
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  body.client-brand-preview[data-client-texture="workouts"] .programme-details>div{
    min-height:112px;
    padding:15px 12px 14px 49px;
  }
  body.client-brand-preview[data-client-texture="workouts"] .programme-details>div::before{left:12px;top:15px}
  body.client-brand-preview[data-client-texture="workouts"] .programme-details strong{font-size:.88rem;line-height:1.32}
}

body.client-brand-preview{transition:background-color .38s ease}
body.client-brand-preview #client-content{
  transform-origin:50% 0;
  animation:clientTabEnter .34s cubic-bezier(.22,.7,.3,1) both;
}
body.client-brand-preview.client-unit-switching #client-content{animation:none}
body.client-brand-preview .client-tabs button{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  transition:color .24s ease,background .28s ease,box-shadow .28s ease,transform .22s ease;
}
body.client-brand-preview .client-tabs button::before{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  flex:0 0 24px;
  border:1px solid #ffffff24;
  border-radius:8px;
  background:#ffffff12;
  font-size:.95rem;
  line-height:1;
  transition:background .22s ease,border-color .22s ease,transform .22s ease;
}
body.client-brand-preview .client-tabs button[data-tab="today"]::before{content:"☀";color:#8fd5f1}
body.client-brand-preview .client-tabs button[data-tab="workouts"]::before{content:"🏋";color:#b6a6ef;font-size:.92rem}
body.client-brand-preview .client-tabs button[data-tab="nutrition"]::before{content:"🍎";color:#8bd5a8}
body.client-brand-preview .client-tabs button[data-tab="weight"]::before{content:"⚖";color:#7fc4e8}
body.client-brand-preview .client-tabs button.active::before{border-color:#fff;background:#fff;color:#27343b;box-shadow:0 3px 9px #0002}
body.client-brand-preview .client-tabs button:hover{color:#fff;transform:translateY(-1px)}
body.client-brand-preview .client-tabs button:hover::before{transform:translateY(-1px);background:#ffffff1d}
body.client-brand-preview .client-tabs button.active{
  animation:activeTabSettle .3s cubic-bezier(.2,.85,.3,1.15) both;
}
@keyframes clientTabEnter{
  0%{opacity:0;transform:translateY(9px);filter:blur(2px)}
  55%{filter:blur(0)}
  100%{opacity:1;transform:none;filter:none}
}
@keyframes activeTabSettle{0%{transform:scale(.96)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){
  body.client-brand-preview #client-content,
  body.client-brand-preview .client-tabs button.active{animation:none}
  body.client-brand-preview .client-tabs button{transition:none}
}

body:not(.client-brand-preview) .admin-client-tabs{
  border:1px solid #354550;
  background:linear-gradient(145deg,#3c4a54,#566873);
  box-shadow:inset 0 1px 0 #ffffff24,0 12px 28px #38506025;
}
body:not(.client-brand-preview) .admin-client-tabs button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#dce4e9;
  transition:color .22s ease,background .26s ease,box-shadow .26s ease,transform .2s ease;
}
body:not(.client-brand-preview) .admin-tab-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border:1px solid #ffffff24;
  border-radius:8px;
  background:#ffffff12;
  color:#dcecf5;
  font-size:.85rem;
  font-weight:950;
  line-height:1;
  box-shadow:inset 0 1px 0 #ffffff16;
  transition:background .24s ease,color .24s ease,transform .22s ease;
}
body:not(.client-brand-preview) [data-admin-tab="programme"] .admin-tab-icon{color:#a9dfbc;background:#63a57b26}
body:not(.client-brand-preview) [data-admin-tab="nutrition"] .admin-tab-icon{color:#f0cd9a;background:#c7904826}
body:not(.client-brand-preview) [data-admin-tab="weight"] .admin-tab-icon{color:#a9d8f0;background:#5793b326}
body:not(.client-brand-preview) [data-admin-tab="details"] .admin-tab-icon{color:#c9b9e8;background:#8065ad26}
body:not(.client-brand-preview) .admin-client-tabs button:hover{color:#fff;background:#ffffff13;transform:translateY(-1px)}
body:not(.client-brand-preview) .admin-client-tabs button:hover .admin-tab-icon{transform:translateY(-1px);background:#ffffff1d}
body:not(.client-brand-preview) .admin-client-tabs button.active{
  color:#234d67;
  background:linear-gradient(145deg,#f7fbfd,#cfe2ed);
  box-shadow:inset 0 1px 0 #fff,0 6px 16px #182b3738;
  animation:adminTabSettle .3s cubic-bezier(.2,.85,.3,1.15) both;
}
body:not(.client-brand-preview) .admin-client-tabs button.active .admin-tab-icon{
  border-color:#7fa7bd55;
  background:#ffffffb5;
  color:#315f79;
  box-shadow:inset 0 1px 0 #fff,0 3px 8px #31566b22;
}
@media(max-width:760px){
  body:not(.client-brand-preview) .admin-client-tabs{
    width:100%;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px;
    overflow:hidden;
    padding:5px;
  }
  body:not(.client-brand-preview) .admin-client-tabs button{
    min-width:0;
    min-height:68px;
    display:grid;
    grid-template-rows:31px auto;
    place-items:center;
    align-content:center;
    gap:4px;
    padding:6px 2px;
  }
  body:not(.client-brand-preview) .admin-client-tabs button>span:last-child{
    display:block;
    width:100%;
    overflow:hidden;
    color:inherit;
    font-size:.58rem;
    font-weight:850;
    line-height:1.05;
    text-align:center;
    white-space:normal;
  }
  body:not(.client-brand-preview) .admin-tab-icon{
    width:31px;
    height:31px;
    flex-basis:31px;
    border-radius:9px;
    font-size:1rem;
  }
  body:not(.client-brand-preview) .workout-title{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:8px;
    padding:18px;
  }
  body:not(.client-brand-preview) .workout-title>.muted{
    display:block;
    line-height:1.35;
  }
  body:not(.client-brand-preview) .workout-actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    margin:4px 0 0;
  }
  body:not(.client-brand-preview) .workout-actions button{
    width:100%;
    min-width:0;
    padding:9px 6px;
    white-space:normal;
    line-height:1.15;
  }
}

/* Compact programme context keeps workout cards as the primary action. */
body.client-brand-preview .programme-summary{
  margin:-6px 0 20px;
  border:1px solid #ffffff2d;
  border-radius:16px;
  background:#121a1fe0;
  color:#f4f7f8;
  box-shadow:0 14px 34px #0005,inset 0 1px 0 #ffffff13;
  overflow:hidden;
}
body.client-brand-preview .programme-summary>summary{
  min-height:72px;
  display:grid;
  grid-template-columns:minmax(180px,1fr) auto 34px;
  align-items:center;
  gap:16px;
  padding:13px 16px;
  cursor:pointer;
  list-style:none;
}
body.client-brand-preview .programme-summary>summary::-webkit-details-marker{display:none}
body.client-brand-preview .programme-summary-title{display:flex;align-items:center;gap:11px}
body.client-brand-preview .programme-summary-title>i{
  width:34px;height:34px;display:grid;flex:0 0 34px;place-items:center;
  border-radius:10px;background:#315f76;color:#bce9fb;font-size:.72rem;font-style:normal;
}
body.client-brand-preview .programme-summary-title>span{display:grid;gap:2px}
body.client-brand-preview .programme-summary-title strong{font-size:.88rem}
body.client-brand-preview .programme-summary-title small{color:#9eabb2;font-size:.68rem}
body.client-brand-preview .programme-summary-quick{display:flex;gap:7px}
body.client-brand-preview .programme-summary-quick>span{
  padding:7px 9px;border:1px solid #ffffff24;border-radius:999px;
  background:#ffffff0b;color:#c8d3d8;font-size:.65rem;font-weight:750;
}
body.client-brand-preview .programme-summary>summary>b{
  width:30px;height:30px;display:grid;place-items:center;border-radius:50%;
  background:#ffffff10;color:#cae7f3;transition:transform .22s ease,background .22s ease;
}
body.client-brand-preview .programme-summary[open]>summary{border-bottom:1px solid #ffffff20}
body.client-brand-preview .programme-summary[open]>summary>b{transform:rotate(180deg);background:#315f76}
body.client-brand-preview .programme-summary .programme-details{
  margin:0;
  padding:14px;
  animation:sectionReveal .24s ease both;
}
body.client-brand-preview.client-light-mode .programme-summary{
  border-color:#b9ced8;background:#f6fbfddd;color:#1b2c34;
  box-shadow:0 13px 30px #31566a20,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode .programme-summary-title>i{background:#d8ecf5;color:#2d6884}
body.client-brand-preview.client-light-mode .programme-summary-title small{color:#647781}
body.client-brand-preview.client-light-mode .programme-summary-quick>span{border-color:#bfd3dd;background:#e8f3f7;color:#3b6477}
body.client-brand-preview.client-light-mode .programme-summary>summary>b{background:#e1eef4;color:#315f76}
body.client-brand-preview.client-light-mode .programme-summary[open]>summary{border-bottom-color:#cbdce4}
body.client-brand-preview.client-light-mode .programme-summary[open]>summary>b{background:#477f9b;color:#fff}

@media(max-width:620px){
  body.client-brand-preview .programme-summary{margin:-4px 0 14px}
  body.client-brand-preview .programme-summary>summary{
    min-height:68px;grid-template-columns:minmax(0,1fr) 30px;gap:9px;padding:11px 12px;
  }
  body.client-brand-preview .programme-summary-quick{grid-column:1/-1;display:none}
  body.client-brand-preview .programme-summary .programme-details{padding:10px;gap:7px}
  body.client-brand-preview .programme-summary .programme-details>div{min-height:70px;padding:14px 12px 12px 48px}
}
body:not(.client-brand-preview) .admin-tab-panel.active{animation:adminPanelEnter .34s cubic-bezier(.22,.7,.3,1) both}

body:not(.client-brand-preview) .overview-actions button:nth-child(4) .overview-action-icon{background:linear-gradient(145deg,#dfeef8,#91bdd5);color:#285f82}
body:not(.client-brand-preview) .overview-actions button:nth-child(1) .overview-action-icon{background:linear-gradient(145deg,#dff3e7,#8dc9a4);color:#256747}
body:not(.client-brand-preview) .overview-actions button:nth-child(3) .overview-action-icon{background:linear-gradient(145deg,#e5e8fb,#adb5e5);color:#4e5792}
body:not(.client-brand-preview) .overview-actions button:nth-child(2) .overview-action-icon{background:linear-gradient(145deg,#fff0d9,#efbd79);color:#88511e}
body:not(.client-brand-preview) .overview-action-icon{box-shadow:inset 0 1px 0 #ffffffb8,0 5px 12px #344b5b1f}
body:not(.client-brand-preview) .overview-stat-silhouette{width:44px;height:44px;display:grid;place-items:center;color:#52636e;font-style:normal;opacity:.82}
body:not(.client-brand-preview) .overview-stat-silhouette svg{width:40px;height:40px;display:block;fill:currentColor}
body:not(.client-brand-preview) .overview-stat-grid article:nth-child(2) .overview-stat-silhouette{color:#466659}
body:not(.client-brand-preview) .overview-stat-grid article:nth-child(3) .overview-stat-silhouette{color:#555f7c}
body:not(.client-brand-preview) .overview-stat-grid article:nth-child(4) .overview-stat-silhouette{color:#76614c}
body:not(.client-brand-preview) .activity-icon{background:linear-gradient(145deg,#eee5fa,#c7afe0);color:#624087}

@keyframes adminPanelEnter{0%{opacity:0;transform:translateY(9px);filter:blur(2px)}55%{filter:blur(0)}100%{opacity:1;transform:none;filter:none}}
@keyframes adminTabSettle{0%{transform:scale(.96)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){body:not(.client-brand-preview) .admin-tab-panel.active,body:not(.client-brand-preview) .admin-client-tabs button.active{animation:none}body:not(.client-brand-preview) .admin-client-tabs button{transition:none}}

/* Distinct, soft gradients beneath each client tab. Branding is supplied by the
   repeating logo watermark in brand-preview.css. */
body.client-brand-preview{background-color:#080d11}
body.client-brand-preview.client-light-mode{background-color:#edf2f5}
body.client-brand-preview[data-client-texture="today"]{
  background-image:
    radial-gradient(circle at 16% 8%,#31516c70 0,transparent 34%),
    radial-gradient(circle at 88% 30%,#23374670 0,transparent 40%),
    linear-gradient(145deg,#06090c,#182631 58%,#080c10);
}
body.client-brand-preview[data-client-texture="workouts"]{
  background-image:
    radial-gradient(circle at 18% 12%,#33536a60 0,transparent 36%),
    linear-gradient(145deg,#06090c,#1a252e 56%,#090e13);
}
body.client-brand-preview[data-client-texture="nutrition"]{
  background-image:
    radial-gradient(circle at 76% 0,#3d647c66 0,transparent 36%),
    linear-gradient(145deg,#070a0d,#1d2932 55%,#0a0f14);
}
body.client-brand-preview[data-client-texture="weight"]{
  background-image:
    radial-gradient(circle at 12% 18%,#284b6370 0,transparent 34%),
    linear-gradient(120deg,#06090c,#22303a 52%,#0a0f14);
}
body.client-brand-preview::before,
body.client-brand-preview[data-client-texture]::before{
  background:linear-gradient(120deg,#0007,#5f829914,#0008);
}

body:not(.client-brand-preview) .admin-weight-wide .unit-toggle{background:#dce5eb}
body:not(.client-brand-preview) .admin-weight-wide .unit-toggle button{color:#566875}
body:not(.client-brand-preview) .admin-weight-wide .unit-toggle button.active{background:#f8fbfd;color:#285f82;box-shadow:0 3px 9px #3c5d7125}
body:not(.client-brand-preview) .admin-weight-summary>div{border-color:#c8d5dd;background:linear-gradient(145deg,#f8fbfd,#e5eef3)}
body:not(.client-brand-preview) .admin-weight-summary>div:nth-child(1){border-left:4px solid #5b9bc0;background:linear-gradient(145deg,#f4fafe,#e1eef6)}
body:not(.client-brand-preview) .admin-weight-summary>div:nth-child(2){border-left:4px solid #8b73b3;background:linear-gradient(145deg,#faf8fd,#ebe5f4)}
body:not(.client-brand-preview) .admin-weight-summary>div:nth-child(3){border-left:4px solid #4b9870;background:linear-gradient(145deg,#f4fbf6,#e1f0e7)}
body:not(.client-brand-preview) .admin-percent{border:1px solid #cad6dd;background:#dbe5eb;box-shadow:inset 0 2px 4px #3b53621f}
body:not(.client-brand-preview) .admin-percent i{background:linear-gradient(90deg,#4f8eaf,#79b5d2);box-shadow:0 0 8px #599bbc52}
body:not(.client-brand-preview) .weight-manage-toggle{border-color:#c5d3dc;background:linear-gradient(145deg,#f7fafc,#e5edf2);color:#304957}
body:not(.client-brand-preview) .weight-manage-toggle:hover{border-color:#83a6b9;background:linear-gradient(145deg,#f9fcfd,#dceaf1)}
body:not(.client-brand-preview) .weight-manage-toggle::after{border-color:#9bb2bf;background:#f8fbfd;color:#3c657b}
body:not(.client-brand-preview) .collapse-trigger:focus-visible{outline-color:#5f98b53d}
body:not(.client-brand-preview) .admin-weight-history>div{border-top-color:#d1dce2}

body:not(.client-brand-preview) .client-hero{
  position:relative;
  overflow:hidden;
  border:1px solid #668091;
  background:radial-gradient(circle at 88% 18%,#7693a34d 0,transparent 32%),linear-gradient(135deg,#263742,#405665 58%,#293b47);
  box-shadow:inset 0 1px 0 #ffffff26,0 18px 42px #3049582e;
}
body:not(.client-brand-preview) .client-hero::after{
  content:"";
  position:absolute;
  right:-65px;
  bottom:-105px;
  width:260px;
  height:260px;
  border:1px solid #ffffff18;
  border-radius:50%;
  background:#ffffff08;
  pointer-events:none;
}
body:not(.client-brand-preview) .client-hero .eyebrow{color:#bcd4e1}
body:not(.client-brand-preview) .client-hero .muted{color:#d0dce3}
body:not(.client-brand-preview) .client-hero .avatar{position:relative;z-index:1;background:linear-gradient(145deg,#f6fafc,#a9beca);box-shadow:inset 0 1px 0 #fff,0 10px 24px #182a3557}
body:not(.client-brand-preview) .client-hero>div{position:relative;z-index:1}

body:not(.client-brand-preview) #app>.workspace{animation:adminViewArrive .3s cubic-bezier(.22,.72,.3,1) both}
body:not(.client-brand-preview) #app>.workspace.admin-view-leaving{
  pointer-events:none;
  animation:adminViewLeave .15s ease both;
}
body:not(.client-brand-preview) .client-row[data-transitioning="true"]{
  border-color:#7fa4b8;
  background:#f3f8fb;
  box-shadow:0 0 0 3px #6596af20,0 12px 28px #344b5b18;
}
@keyframes adminViewArrive{0%{opacity:0;transform:translateY(8px) scale(.995)}100%{opacity:1;transform:none}}
@keyframes adminViewLeave{0%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-5px) scale(.997)}}
@media(prefers-reduced-motion:reduce){body:not(.client-brand-preview) #app>.workspace,body:not(.client-brand-preview) #app>.workspace.admin-view-leaving{animation:none}}

body:not(.client-brand-preview) .login-shell{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#eaf1f5,#dbe6ec);
  animation:loginViewArrive .35s cubic-bezier(.22,.72,.3,1) both;
}
body:not(.client-brand-preview) .login-brand{
  position:relative;
  overflow:hidden;
  border-right:1px solid #ffffff25;
  background:radial-gradient(circle at 78% 18%,#7395a85c 0,transparent 30%),linear-gradient(145deg,#1e2d36,#3d5361 58%,#263945);
  box-shadow:inset -1px 0 0 #0003,18px 0 55px #2d46542b;
}
body:not(.client-brand-preview) .login-brand::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#1e2d36 0%,#1e2d36b8 38%,#1e2d3626 72%),url('/jack-johns-brand.jpg') center 43%/cover no-repeat;
  opacity:.34;
  filter:grayscale(1) contrast(1.08);
  pointer-events:none;
}
body:not(.client-brand-preview) .login-brand::after{
  content:"";
  position:absolute;
  right:-140px;
  bottom:-190px;
  width:480px;
  height:480px;
  border:1px solid #ffffff19;
  border-radius:50%;
  background:#ffffff08;
  box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03;
  pointer-events:none;
}
body:not(.client-brand-preview) .login-brand>*{position:relative;z-index:1}
body:not(.client-brand-preview) .monogram{
  width:84px;
  height:84px;
  display:grid;
  place-items:center;
  border:1px solid #ffffff36;
  border-radius:22px;
  background:linear-gradient(145deg,#f8fbfd,#a8bdc9);
  color:#233844;
  box-shadow:inset 0 1px 0 #fff,0 14px 32px #14263155;
  font-size:2.3rem;
}
body:not(.client-brand-preview) .login-brand>p{color:#c1d7e3}
body:not(.client-brand-preview) .login-brand span{color:#d5e0e6}
body:not(.client-brand-preview) .auth{
  width:min(430px,calc(100% - 42px));
  margin:auto;
  padding:38px;
  border-color:#ffffffb0;
  background:#f9fbfce8;
  box-shadow:inset 0 1px 0 #fff,0 24px 65px #304b5c2b;
  backdrop-filter:blur(20px) saturate(120%);
  -webkit-backdrop-filter:blur(20px) saturate(120%);
}
body:not(.client-brand-preview) .auth .eyebrow{color:#477188}
body:not(.client-brand-preview) .auth input{border-color:#c3d1da;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
body:not(.client-brand-preview) .auth input:focus{border-color:#6495ae;box-shadow:0 0 0 4px #6599b422;transform:translateY(-1px)}
body:not(.client-brand-preview) .auth .primary{background:linear-gradient(145deg,#5e8398,#344f60);border-color:#496b7e;box-shadow:0 9px 22px #314d5e33}
body:not(.client-brand-preview) .auth .primary:hover{background:linear-gradient(145deg,#6d94aa,#3b596b);transform:translateY(-1px)}
body:not(.client-brand-preview) .login-view-leaving,
body:not(.client-brand-preview) #app>.app-view-leaving{pointer-events:none;animation:loginViewLeave .17s ease both}
@keyframes loginViewArrive{0%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:none}}
@keyframes loginViewLeave{0%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px) scale(.997)}}
@media(max-width:850px){body:not(.client-brand-preview) .login-brand{min-height:350px}body:not(.client-brand-preview) .login-brand::before{background:linear-gradient(90deg,#1e2d36e8,#1e2d3666),url('/jack-johns-brand.jpg') 72% 38%/cover no-repeat;opacity:.3}body:not(.client-brand-preview) .auth{margin:28px auto}}
@media(max-width:850px){
  body:not(.client-brand-preview) .login-shell{
    display:flex;
    min-height:calc(100svh - 60px);
    flex-direction:column;
    justify-content:flex-start;
    background:linear-gradient(180deg,#253a47 0 245px,#e5edf1 245px 100%);
  }
  body:not(.client-brand-preview) .login-brand{
    min-height:270px;
    padding:28px 22px 78px;
    justify-content:flex-start;
    border-right:0;
    box-shadow:none;
  }
  body:not(.client-brand-preview) .login-brand::before{
    background:linear-gradient(90deg,#1e2d36f0 0%,#1e2d3690 48%,#1e2d3647),url('/jack-johns-brand.jpg') 76% 36%/cover no-repeat;
    opacity:.34;
  }
  body:not(.client-brand-preview) .login-brand::after{display:none}
  body:not(.client-brand-preview) .monogram{
    width:58px;
    height:58px;
    border-radius:17px;
    font-size:1.7rem;
  }
  body:not(.client-brand-preview) .login-brand>p{
    margin:12px 0 0;
    font-size:.6rem;
  }
  body:not(.client-brand-preview) .login-brand h1{
    max-width:390px;
    margin:26px 0 9px;
    font-size:clamp(2.55rem,13vw,3.55rem);
    line-height:.9;
  }
  body:not(.client-brand-preview) .login-brand span{font-size:.9rem}
  body:not(.client-brand-preview) .auth{
    position:relative;
    z-index:3;
    width:calc(100% - 28px);
    max-width:430px;
    margin:-54px auto 24px;
    padding:25px 22px 24px;
    border-radius:20px;
    box-shadow:inset 0 1px 0 #fff,0 20px 48px #243b4938;
  }
  body:not(.client-brand-preview) .auth h2{
    margin:4px 0 19px;
    font-size:2rem;
  }
}
@media(prefers-reduced-motion:reduce){body:not(.client-brand-preview) .login-shell,body:not(.client-brand-preview) .login-view-leaving,body:not(.client-brand-preview) #app>.app-view-leaving{animation:none}}

.partial-workout-overlay{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:20px;background:#080b0dd9;opacity:0;transition:opacity .18s ease;backdrop-filter:blur(10px)}
.partial-workout-overlay.show{opacity:1}
.partial-workout-card{width:min(500px,100%);padding:30px;border:1px solid #ffffff4a;border-radius:22px;background:linear-gradient(145deg,#f9fbfced,#e4ebefeb);box-shadow:0 28px 80px #0009,inset 0 1px 0 #fff;color:#1c252a}
.partial-icon{width:50px;height:50px;display:grid;place-items:center;margin-bottom:16px;border-radius:15px;background:#f0b55e;color:#573510;font-size:1.4rem;font-weight:950;box-shadow:0 8px 20px #a76b243d}
.partial-workout-card .eyebrow{color:#88581e}.partial-workout-card h3{font-size:1.65rem}.partial-workout-card>p{color:#5e6a70;line-height:1.55}
.partial-skipped{display:grid;gap:4px;margin:17px 0;padding:12px;border-left:4px solid #df9444;border-radius:9px;background:#fff3e3}.partial-skipped strong{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.partial-skipped span{color:#6e573f;font-size:.8rem;line-height:1.5}
.partial-workout-card textarea{background:#fff}.partial-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:5px}.partial-actions .primary{border-color:#4e829e;background:linear-gradient(145deg,#74a9c4,#3d6a82);color:#fff}
.workout-success-card .success-check.partial{background:linear-gradient(145deg,#70a8c6,#3f718c);box-shadow:0 0 0 10px #5689a51a,0 14px 30px #315e774d}
.session-completion-context{display:grid;gap:8px;margin-top:10px;padding:11px;border-radius:10px;background:#e9f4ed;border-left:4px solid #4d9a6d;font-size:.76rem}.session-completion-context.partial{background:#fff3e4;border-left-color:#df9444}.session-completion-context>strong{color:#315d43}.session-completion-context.partial>strong{color:#84521d}.session-completion-context div{display:grid;gap:2px}.session-completion-context span{color:#68737a;font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.session-completion-context p{margin:0;color:#3f494f;line-height:1.45}
@media(max-width:520px){.partial-workout-card{padding:24px 19px}.partial-actions{grid-template-columns:1fr}}

/* One reveal language across all admin expandable sections. */
body:not(.client-brand-preview){interpolate-size:allow-keywords}
body:not(.client-brand-preview) .account-management-content{
  height:auto;
  overflow:hidden;
  opacity:1;
  transform:translateY(0);
  transition:height .3s cubic-bezier(.22,.7,.3,1),opacity .22s ease,transform .3s cubic-bezier(.22,.7,.3,1),padding .3s ease;
}
body:not(.client-brand-preview) .account-management-content.is-collapsed{
  height:0;
  padding-top:0;
  padding-bottom:0;
  opacity:0;
  transform:translateY(-7px);
  pointer-events:none;
}
body:not(.client-brand-preview) .training-week-group::details-content,
body:not(.client-brand-preview) .activity-history-details::details-content{
  block-size:0;
  overflow:hidden;
  opacity:0;
  transition:block-size .3s cubic-bezier(.22,.7,.3,1),opacity .22s ease,content-visibility .3s allow-discrete;
}
body:not(.client-brand-preview) .training-week-group[open]::details-content,
body:not(.client-brand-preview) .activity-history-details[open]::details-content{
  block-size:auto;
  opacity:1;
}
body:not(.client-brand-preview) .view-edit-workout{
  position:relative;
  min-width:112px;
  padding-right:35px!important;
}
body:not(.client-brand-preview) .view-edit-workout::after{
  content:'+';
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
  font-size:.85rem;
  line-height:1;
}
body:not(.client-brand-preview) .view-edit-workout[aria-expanded="true"]::after{content:'−'}
body:not(.client-brand-preview) .training-week-label i,
body:not(.client-brand-preview) .activity-history-details>summary i,
body:not(.client-brand-preview) .account-management-toggle i{
  width:27px;
  height:27px;
  flex:0 0 27px;
  display:grid;
  place-items:center;
  border:1px solid #9fb2bd;
  border-radius:50%;
  background:#f8fbfd;
  color:#3c657b;
  line-height:1;
  transition:transform .3s cubic-bezier(.22,.7,.3,1),background .22s ease;
}
body:not(.client-brand-preview) .training-week-group[open] .training-week-label i,
body:not(.client-brand-preview) .activity-history-details[open]>summary i,
body:not(.client-brand-preview) .account-management-toggle[aria-expanded="true"] i{background:#dceaf2}
@media(prefers-reduced-motion:reduce){
  body:not(.client-brand-preview) .workout-admin,
  body:not(.client-brand-preview) .workout-admin>:not(.workout-title),
  body:not(.client-brand-preview) .weight-management,
  body:not(.client-brand-preview) .account-management-content,
  body:not(.client-brand-preview) .training-week-group::details-content,
  body:not(.client-brand-preview) .activity-history-details::details-content{transition:none}
}

body:not(.client-brand-preview) .habit-edit-list{gap:9px}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id]{
  grid-template-columns:32px minmax(0,1fr) 64px;
  min-height:0;
  padding:7px;
  border:1px solid #cbd7de;
  border-radius:11px;
  background:#f5f9fb;
}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id]>span{width:25px;height:25px}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] input,
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] button,
body:not(.client-brand-preview) #habit-add-form input,
body:not(.client-brand-preview) #habit-add-form button{height:auto;font-size:.8rem}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] input,
body:not(.client-brand-preview) #habit-add-form input{min-width:0;padding:9px;font-size:.8rem}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] button,
body:not(.client-brand-preview) #habit-add-form button{padding:9px 11px;font-size:.72rem}
body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] .remove-nutrition-row{width:64px;padding:7px 4px}
body:not(.client-brand-preview) #habit-add-form{
  grid-template-columns:minmax(0,1fr) 136px;
  gap:8px;
  margin-top:10px;
  padding-left:40px;
}
body:not(.client-brand-preview) #habit-add-form button{width:136px;padding:8px 12px}
@media(max-width:620px){
  body:not(.client-brand-preview) .habit-edit-list form[data-habit-id]{grid-template-columns:30px minmax(0,1fr)}
  body:not(.client-brand-preview) .habit-edit-list form[data-habit-id] .remove-nutrition-row{width:100%;grid-column:auto}
  body:not(.client-brand-preview) #habit-add-form{grid-template-columns:1fr;padding-left:0}
  body:not(.client-brand-preview) #habit-add-form button{width:100%}
}

/* Shared client focus card: one visual identity, responsive layout only. */
body.client-brand-preview .today-hero{
  position:relative;
  overflow:hidden;
  border-color:#93c8df52;
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 4%,#69b7d552 0,transparent 36%),
    linear-gradient(145deg,#182b36f2,#243d4be8 58%,#18262ee8);
  box-shadow:0 22px 48px #0007,inset 0 1px 0 #ffffff25;
}
body.client-brand-preview .today-hero::after{
  content:"";
  position:absolute;
  right:-65px;
  top:-78px;
  width:190px;
  height:190px;
  border:1px solid #bfeaff29;
  border-radius:50%;
  box-shadow:0 0 0 28px #bfeaff0a;
  pointer-events:none;
}
body.client-brand-preview .today-hero>div,
body.client-brand-preview .today-hero>button{position:relative;z-index:1}
body.client-brand-preview .today-hero .eyebrow{
  display:inline-flex;
  padding:6px 9px;
  border:1px solid #bde7f73d;
  border-radius:999px;
  background:#ffffff10;
  color:#d8f2fc;
}
body.client-brand-preview .today-hero h3{color:#fff;letter-spacing:-.035em}
body.client-brand-preview .today-hero>div>span{color:#c9dbe4}
body.client-brand-preview .today-hero>button{
  border-color:#bdeaff4f;
  background:linear-gradient(135deg,#6eaec9,#3d738d);
  box-shadow:inset 0 1px 0 #dff7ff6b,0 12px 25px #07151d6b;
}
body.client-brand-preview .today-hero>button span,
body.client-brand-preview .today-hero>button strong{color:#fff}
body.client-brand-preview .today-hero>button b{color:#edfaff}

/* Light client theme: blue-white surfaces with deliberate dark typography. */
body.client-brand-preview.client-light-mode .today-hero{
  border-color:#a9c9d9;
  background:radial-gradient(circle at 88% 4%,#b9e2f255 0,transparent 38%),linear-gradient(145deg,#fbfdfeee,#dcecf4ee 60%,#edf5f8ee);
  color:#18252c;
  box-shadow:0 18px 42px #42657a26,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode .today-hero::after{border-color:#5d98b82b;box-shadow:0 0 0 28px #5d98b80a}
body.client-brand-preview.client-light-mode .today-hero .eyebrow{border-color:#8eb8cc;background:#d8ebf4;color:#315f77}
body.client-brand-preview.client-light-mode .today-hero h3{color:#18252c;text-shadow:none}
body.client-brand-preview.client-light-mode .today-hero>div>span{color:#566b77}
body.client-brand-preview.client-light-mode .today-hero>button{border-color:#8eb7ca;background:linear-gradient(145deg,#f7fcfe,#c9e3ef);color:#1c3542;box-shadow:inset 0 1px 0 #fff,0 9px 21px #42677a24}
body.client-brand-preview.client-light-mode .today-hero>button span{color:#3d718b}
body.client-brand-preview.client-light-mode .today-hero>button strong,
body.client-brand-preview.client-light-mode .today-hero>button b{color:#193847}

body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div:nth-child(1),
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div:nth-child(2),
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div:nth-child(3),
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div:nth-child(4){border-color:#bfd0da;background:linear-gradient(145deg,#ffffffee,#e3eff5e8);color:#1d2930;box-shadow:inset 0 1px 0 #fff,0 12px 27px #49687a20}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details>div:hover{border-color:#88afc2;background:linear-gradient(145deg,#fff,#d9eaf2)}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details span{color:#526975}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .programme-details strong{color:#17242b;text-shadow:none}
body.client-brand-preview.client-light-mode .workout-cards .workout-card,
body.client-brand-preview.client-light-mode .workout-cards .workout-card:nth-child(even){border-color:#b7ccd7;background:linear-gradient(145deg,#ffffffed,#dcebf2e8);color:#18252c;box-shadow:0 17px 38px #3c617526,inset 0 1px 0 #fff}
body.client-brand-preview.client-light-mode .workout-cards .workout-card:hover{border-color:#79a7bd;background:linear-gradient(145deg,#fff,#d4e7f0)}
body.client-brand-preview.client-light-mode .workout-cards .workout-card p,
body.client-brand-preview.client-light-mode .workout-cards .workout-card>div>span:last-child{color:#5a6c76}
body.client-brand-preview.client-light-mode .workout-cards .workout-number{color:#376f8d}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .client-activity-card{border-color:#b8ced9;background:linear-gradient(145deg,#ffffffed,#dfedf4e8);color:#1b282f;box-shadow:0 18px 40px #3c5f7324,inset 0 1px 0 #fff}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .client-activity-card .client-activity-head span,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .client-activity-card label{color:#52636c}

body.client-brand-preview.client-light-mode .calendar-history{border-color:#b8ccd7;background:linear-gradient(145deg,#ffffffed,#dfedf4eb);color:#19262d;box-shadow:0 18px 42px #3e607424,inset 0 1px 0 #fff}
body.client-brand-preview.client-light-mode .calendar-history .calendar-title .eyebrow{background:#dceef7;color:#2e6480;border-color:#a9cadb}
body.client-brand-preview.client-light-mode .calendar-history .calendar-title h3{color:#19262d}
body.client-brand-preview.client-light-mode .calendar-history .calendar-title>span,
body.client-brand-preview.client-light-mode .home-activity-calendar .calendar-title>div>span,
body.client-brand-preview.client-light-mode .calendar-legend>span{color:#586a74}
body.client-brand-preview.client-light-mode .calendar-history .weight-calendar-details,
body.client-brand-preview.client-light-mode .calendar-history .activity-calendar-shell,
body.client-brand-preview.client-light-mode .home-calendar-details{border-color:#c4d2da;background:#f9fcfd;color:#1b282f}
body.client-brand-preview.client-light-mode .calendar-history .weight-calendar-details>summary,
body.client-brand-preview.client-light-mode .activity-history-details>summary{background:#e4eff4;color:#263a45}
body.client-brand-preview.client-light-mode .calendar-day{background:#edf4f7;color:#263740}
body.client-brand-preview.client-light-mode .calendar-day.recorded{border-color:#83b2c9;background:#dceef7}
body.client-brand-preview.client-light-mode .calendar-day.recorded b{color:#285f7b}

/* Mobile client navigation: fixed, thumb-friendly and clear of phone safe areas. */
@media(max-width:620px){
  body.client-brand-preview .client-shell{
    padding-bottom:calc(112px + env(safe-area-inset-bottom));
  }
  body.client-brand-preview .client-tabs{
    position:fixed;
    z-index:80;
    top:auto;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    margin:0;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom));
    gap:4px;
    border-width:1px 0 0;
    border-radius:18px 18px 0 0;
    background:#11171be8;
    box-shadow:0 -12px 34px #0008,inset 0 1px 0 #ffffff1c;
    backdrop-filter:blur(24px) saturate(135%);
    -webkit-backdrop-filter:blur(24px) saturate(135%);
  }
  body.client-brand-preview .client-tabs button{
    min-width:0;
    min-height:55px;
    display:grid;
    grid-template-rows:23px auto;
    place-items:center;
    gap:2px;
    padding:6px 3px 5px;
    border-radius:13px;
    font-size:.68rem;
    line-height:1;
    letter-spacing:.01em;
  }
  body.client-brand-preview .client-tabs button::before{
    display:grid;
    place-items:center;
    width:25px;
    height:23px;
    font-size:1.15rem;
    line-height:1;
  }
  body.client-brand-preview .client-tabs button[data-tab="today"]::before{content:"☀"}
  body.client-brand-preview .client-tabs button[data-tab="workouts"]::before{content:"🏋";font-size:1rem}
  body.client-brand-preview .client-tabs button[data-tab="nutrition"]::before{content:"🍎"}
  body.client-brand-preview .client-tabs button[data-tab="weight"]::before{content:"⚖"}
  body.client-brand-preview .client-tabs button.active{
    color:#111;
    background:linear-gradient(145deg,#fff,#cbd4d9);
    box-shadow:0 6px 18px #0008,inset 0 1px 0 #fff;
  }
  body.client-brand-preview .client-tabs button:hover{transform:none}
  body.client-brand-preview #toast{bottom:calc(88px + env(safe-area-inset-bottom))}

  body.client-brand-preview .today-hero{
    position:relative;
    overflow:hidden;
    gap:22px;
    padding:25px 20px 20px;
    border-color:#93c8df52;
    border-radius:22px;
    background:
      radial-gradient(circle at 88% 4%,#69b7d552 0,transparent 36%),
      linear-gradient(145deg,#182b36f2,#243d4be8 58%,#18262ee8);
    box-shadow:0 22px 48px #0007,inset 0 1px 0 #ffffff25;
  }
  body.client-brand-preview .today-hero::after{
    content:"";
    position:absolute;
    right:-65px;
    top:-78px;
    width:190px;
    height:190px;
    border:1px solid #bfeaff29;
    border-radius:50%;
    box-shadow:0 0 0 28px #bfeaff0a;
    pointer-events:none;
  }
  body.client-brand-preview .today-hero>div,
  body.client-brand-preview .today-hero>button{position:relative;z-index:1}
  body.client-brand-preview .today-hero .eyebrow{
    display:inline-flex;
    margin-bottom:12px;
    padding:6px 9px;
    border:1px solid #bde7f73d;
    border-radius:999px;
    background:#ffffff10;
    color:#d8f2fc;
    font-size:.62rem;
  }
  body.client-brand-preview .today-hero h3{
    margin:0 0 7px;
    color:#fff;
    font-size:2rem;
    line-height:1;
    letter-spacing:-.045em;
  }
  body.client-brand-preview .today-hero>div>span{
    color:#c9dbe4;
    font-size:.86rem;
  }
  body.client-brand-preview .today-hero>button{
    width:100%;
    min-height:88px;
    align-items:center;
    padding:16px 15px 16px 17px;
    border-color:#bdeaff4f;
    border-radius:16px;
    background:linear-gradient(135deg,#6eaec9,#3d738d);
    box-shadow:inset 0 1px 0 #dff7ff6b,0 12px 25px #07151d6b;
  }
  body.client-brand-preview .today-hero>button span{
    color:#edfaff;
    font-size:.61rem;
    letter-spacing:.1em;
  }
  body.client-brand-preview .today-hero>button strong{
    color:#fff;
    font-size:1.08rem;
  }
  body.client-brand-preview .today-hero>button b{
    width:48px;
    height:48px;
    display:grid;
    grid-row:2;
    place-items:center;
    border-radius:50%;
    background:#f5fbfd;
    color:#244b60;
    font-size:0;
    box-shadow:0 8px 18px #17394861;
  }
  body.client-brand-preview .today-hero>button b::after{content:"→";font-size:1.35rem}
}

@media(max-width:620px){
  body.client-brand-preview.client-light-mode .today-hero{border-color:#a9c9d9;background:radial-gradient(circle at 88% 4%,#b9e2f255 0,transparent 38%),linear-gradient(145deg,#fbfdfeee,#dcecf4ee 60%,#edf5f8ee);color:#18252c;box-shadow:0 18px 42px #42657a26,inset 0 1px 0 #fff}
  body.client-brand-preview.client-light-mode .today-hero .eyebrow{border-color:#8eb8cc;background:#d8ebf4;color:#315f77}
  body.client-brand-preview.client-light-mode .today-hero h3{color:#18252c;text-shadow:none}
  body.client-brand-preview.client-light-mode .today-hero>div>span{color:#566b77}
  body.client-brand-preview.client-light-mode .today-hero>button{border-color:#8eb7ca;background:linear-gradient(145deg,#f7fcfe,#c9e3ef);color:#1c3542;box-shadow:inset 0 1px 0 #fff,0 9px 21px #42677a24}
  body.client-brand-preview.client-light-mode .today-hero>button span{color:#3d718b}
  body.client-brand-preview.client-light-mode .today-hero>button strong{color:#193847}
  body.client-brand-preview.client-light-mode .today-hero>button b{background:#477f9b;color:#fff;box-shadow:0 8px 18px #315b7138}
}

/* Dark Today: weight detail and movement calendar contrast. */
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight h3,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-context strong{color:#f4f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-context,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-context span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-context i{color:#aebbc2;font-weight:600}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-ring{background:conic-gradient(#62add3 var(--ring-progress),#303c43 0);box-shadow:0 13px 30px #0007,inset 0 0 0 1px #ffffff24}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-ring>span{background:linear-gradient(145deg,#11171a,#253037);color:#f5f8f9;box-shadow:inset 0 2px 10px #0008}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-ring small{color:#aebbc2}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-ring strong{color:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .today-weight-ring b{color:#7cc5e8}

body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-activity-calendar{border-color:#ffffff2d;background:linear-gradient(145deg,#13191dde,#242d32e5);color:#f2f6f7;box-shadow:0 18px 42px #0006,inset 0 1px 0 #ffffff15}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-activity-calendar .calendar-title h3{color:#f4f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-activity-calendar .calendar-title>div>span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-activity-calendar .calendar-title>span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-activity-calendar .calendar-legend>span{color:#adb9c0}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details{border-color:#41515a;background:#11171a;color:#eef3f5}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details>summary,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details[open]>summary{border-color:#46565f;background:#202a2f;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details>summary small{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-calendar-shell{border-color:#3e4c54;background:#11171a;color:#eef3f5}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-calendar-controls button,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-grid>button{border-color:#43525b;background:#1d262b;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-calendar-controls strong,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-selected-date strong,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-day-results strong{color:#f3f6f7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-calendar-weekdays span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-selected-date>span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .activity-day-results small,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-details .calendar-event-row p{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-grid>button.has-activity{border-color:#5c91aa;background:#243b47}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-calendar-grid>button.selected{outline-color:#70b7d8;background:#294b5c}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .home-day-results{border-top-color:#3e4c54}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="today"] .calendar-event-row{border-bottom-color:#344249;color:#edf2f4}
body.client-brand-preview .home-calendar-details>summary i{width:32px;height:32px;display:grid;flex:0 0 32px;place-items:center;border:1px solid #9eb6c4;border-radius:50%;background:#e8f1f5;color:#315e76;font-size:0;font-style:normal;transform:none;transition:transform .2s ease,background .2s ease}
body.client-brand-preview .home-calendar-details>summary i::before{content:"↓";font-size:1rem;font-weight:950;line-height:1}
body.client-brand-preview .home-calendar-details[open]>summary i{transform:none}
body.client-brand-preview .home-calendar-details[open]>summary i::before{content:"↑"}
body.client-brand-preview:not(.client-light-mode) .home-calendar-details>summary i{border-color:#6da4bf;background:#315e76;color:#fff;box-shadow:0 4px 13px #0005,inset 0 1px 0 #ffffff38}

/* Dark Nutrition content surfaces. */
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .nutrition-guidance-card{border-color:#526976;background:linear-gradient(145deg,#172127,#27343be8);color:#f3f6f7;box-shadow:0 16px 36px #0005,inset 0 1px 0 #ffffff16}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .nutrition-guidance-card .eyebrow{color:#9fcbe0}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .nutrition-guidance-card p:last-child{color:#dce4e8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .nutrition-guidance-card .nutrition-icon{border-color:#72a5bd;background:#315f76;color:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section{border-color:#ffffff2b;background:linear-gradient(145deg,#13191dde,#232c31e8);color:#f3f6f7;box-shadow:0 17px 38px #0005,inset 0 1px 0 #ffffff14}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-section-intro h3{color:#f5f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-section-intro p,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-head{color:#aebac1}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-list>div{border-color:#3c4950;background:#1c252a;color:#edf2f4;box-shadow:inset 0 1px 0 #ffffff0c}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-list>div:hover{border-color:#5d879c;background:#223139}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-list strong{color:#f2f5f6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-list span{color:#b4c0c6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .food-source-list b{color:#8bc6e2}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .daily-habits{border-color:#ffffff2b;background:linear-gradient(145deg,#141a1ede,#242d32e8);color:#f3f6f7;box-shadow:0 17px 38px #0005,inset 0 1px 0 #ffffff14}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .daily-habits h3{color:#f5f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .daily-habits>div>span{border-color:#3b494f;background:#1c252a;color:#e7edef}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .daily-habits>div>span i{background:#376b55;color:#dff4e8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="protein"] .food-source-list>div{border-color:#355f48;border-left:4px solid #5eaa79;background:linear-gradient(100deg,#1b2b22,#1b2428 48%)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="protein"] .food-source-list b{color:#85d2a1}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="carbohydrate"] .food-source-list>div{border-color:#365b72;border-left:4px solid #62a0d5;background:linear-gradient(100deg,#192936,#1b2429 48%)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="carbohydrate"] .food-source-list b{color:#8fc9ef}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="fat"] .food-source-list>div{border-color:#644c73;border-left:4px solid #a178c1;background:linear-gradient(100deg,#291f30,#1d2228 48%)}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="nutrition"] .client-food-section[data-client-food-section="fat"] .food-source-list b{color:#cba8e5}

/* Weight tab audit fixes: complete the dark hierarchy and calendar states. */
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-heading .client-intro h3{color:#f5f8f9}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-heading .client-intro .muted{color:#b6c1c7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .unit-toggle{border:1px solid #43525a;background:#141b1f}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .unit-toggle button{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .unit-toggle button.active{background:#315f76;color:#fff;box-shadow:0 4px 12px #0005}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel{border-color:#ffffff2d;background:linear-gradient(145deg,#141a1edf,#263036e3);color:#f3f6f7;box-shadow:0 18px 42px #0006,inset 0 1px 0 #ffffff16}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .circular-progress-copy>.eyebrow{color:#9ec9dc}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .client-progress-panel>.circular-progress-copy>span{color:#b5c0c6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-progress-ring{background:conic-gradient(#61add3 var(--ring-progress),#303d44 0);box-shadow:0 14px 35px #0006,inset 0 0 0 1px #ffffff25}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-progress-ring-inner{background:linear-gradient(145deg,#11171a,#253037);color:#f5f8f9;box-shadow:inset 0 2px 10px #0008}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-progress-ring-inner small{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-progress-ring-inner strong{color:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-progress-ring-inner span{color:#79c4e7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers{border-top-color:#45535b}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers i{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers strong{color:#f4f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .client-goal-readonly{border-color:#ffffff2c;background:linear-gradient(145deg,#151b1f,#253037);color:#f3f6f7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .client-goal-readonly h3{color:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .client-goal-readonly span{color:#b5c0c6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .goal-lock{border-color:#56798b;background:#263f4c;color:#bfe6f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .progress-story{border-color:#ffffff2c;background:linear-gradient(145deg,#141a1edf,#263036e5);color:#f3f6f7;box-shadow:0 18px 42px #0006,inset 0 1px 0 #ffffff16}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-heading h3{color:#f5f8f9}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-heading>span{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-stats>div{border-color:#3e4c54;background:#1b2429}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-stats span{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-stats strong{color:#8bc9e7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-chart text{fill:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-chart .goal-text{fill:#8bc9e7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-goal{stroke:#6faecc}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-line{stroke:#e8f1f5}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-chart circle{fill:#172027;stroke:#d9e7ee}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-chart circle.latest-point{fill:#65add0;stroke:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-footer{border-top-color:#45535b;color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .story-footer strong{color:#f2f6f7}
body.client-brand-preview .weight-calendar-details>summary i{width:32px;height:32px;display:grid;flex:0 0 32px;place-items:center;border:1px solid #9eb6c4;border-radius:50%;background:#e8f1f5;color:#315e76;font-size:0;font-style:normal;transform:none}
body.client-brand-preview .weight-calendar-details>summary i::before{content:"↓";font-size:1rem;font-weight:950;line-height:1}
body.client-brand-preview .weight-calendar-details[open]>summary i{transform:none}
body.client-brand-preview .weight-calendar-details[open]>summary i::before{content:"↑"}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-calendar-details>summary i{border-color:#6da4bf;background:#315e76;color:#fff;box-shadow:0 4px 13px #0005,inset 0 1px 0 #ffffff38}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result{border-top-color:#3e4c54}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result .activity-selected-date strong,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result article strong{color:#f3f6f7}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result .activity-selected-date span,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result article small,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-day-result>p{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers>div>span{color:#c4d0d6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .circular-progress-panel .weight-journey-numbers>div>strong{color:#fff;text-shadow:0 1px 2px #0008}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .progress-story .motivation-badge{border-color:#73a9c2;background:#cfe8f3;color:#214f66;text-shadow:none}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="weight"] .weight-summary>div>strong{color:#fff;text-shadow:0 1px 2px #0008}

/* Active workout controls follow the selected dark theme. */
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise{border-color:#ffffff2d;background:linear-gradient(145deg,#141a1edf,#263036e5);color:#f3f6f7;box-shadow:0 16px 38px #0006,inset 0 1px 0 #ffffff15}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise-head h3{color:#f5f8f9}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise-head p{color:#b4c0c6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-view-toggle{border-color:#557486;background:#1e303a;color:#aedaef;box-shadow:inset 0 1px 0 #ffffff12,0 5px 13px #0005}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-view-toggle:hover{border-color:#75acc7;background:#294657;color:#dff4ff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-view-toggle[aria-expanded="true"]{border-color:#77b2ce;background:#315f76;color:#fff;box-shadow:0 0 0 3px #62a7c82b,0 7px 17px #0005}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-check span{border-color:#63717a;background:#11171a}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .previous-performance{background:#1c252a;color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .previous-performance span{color:#aeb9bf}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-table{border-color:#435159;background:#12181b}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-head{background:#202a2f;color:#b7c2c8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-row{color:#edf2f4}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-row+.client-set-row{border-top-color:#35434a}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-row input,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-note textarea{border-color:#53636b;background:#0f1417;color:#f5f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .client-set-row input::placeholder,
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-note textarea::placeholder{color:#8f9ba2}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .remove-client-set{background:#352528;color:#eaa4a9}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .add-client-set{border-top-color:#435159;background:#1d292f;color:#9dd5ee}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-completion-progress{border-color:#ffffff2d;background:linear-gradient(145deg,#151b1f,#29343a);color:#f4f7f8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-completion-progress strong{color:#fff}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .exercise-completion-progress span{color:#b4c0c6}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .complete-bar{border-top-color:#ffffff25;background:#0d1215e8}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise.is-complete{border-color:#47785d;background:linear-gradient(145deg,#17251d,#253a2e);box-shadow:inset 4px 0 0 #4e9a69,0 14px 32px #0005}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise.is-complete .session-exercise-head h3{color:#bce2ca}
body.client-brand-preview:not(.client-light-mode)[data-client-texture="workouts"] .session-exercise.is-complete .completed-exercise-summary{background:#294837;color:#bfe8ce}

/* Active workout: calm white and blue controls in the client light theme. */
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .exercise-completion-progress{
  border-color:#b8d3e1;
  background:linear-gradient(145deg,#ffffffee,#e7f3f8ee);
  color:#1b2b34;
  box-shadow:0 12px 28px #3d6f8920,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .exercise-completion-progress strong{color:#183442}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .exercise-completion-progress span{color:#57707d}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .exercise-completion-progress>div:last-child{
  height:7px;
  background:#d6e8f1;
  box-shadow:inset 0 1px 2px #51778926;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .exercise-completion-progress i{
  background:linear-gradient(90deg,#4d97bd,#80c4e3);
  box-shadow:0 0 10px #5ba8cc55;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .complete-bar{
  border-top-color:#b9d3df;
  background:linear-gradient(180deg,#f9fcfdeb,#e5f1f6f5);
  box-shadow:0 -12px 30px #395e7226,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .complete-bar .primary{
  border-color:#4f9fc6;
  background:linear-gradient(145deg,#75c0e2,#3f8eb6);
  color:#fff;
  box-shadow:0 8px 20px #356f8d38,inset 0 1px 0 #ffffff70;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .complete-bar .primary:hover:not(:disabled){
  border-color:#367f9f;
  background:linear-gradient(145deg,#66b5da,#347fa5);
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .complete-bar .primary:disabled{
  border-color:#c4d7e0;
  background:linear-gradient(145deg,#f8fbfc,#dceaf0);
  color:#7b929d;
  box-shadow:inset 0 1px 0 #fff;
}

/* Privacy and data controls */
.admin-privacy-settings{margin-top:34px;border:1px solid #cbd5da;border-radius:16px;background:#f8fafb;overflow:hidden}.admin-privacy-settings>summary{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;cursor:pointer;list-style:none}.admin-privacy-settings>summary::-webkit-details-marker{display:none}.admin-privacy-settings>summary span{display:grid;gap:3px}.admin-privacy-settings>summary small,.privacy-version{color:#687780;font-weight:500}.admin-privacy-settings[open]>summary{border-bottom:1px solid #d9e0e4}.admin-privacy-settings[open]>summary i{transform:rotate(180deg)}.admin-privacy-settings form{display:grid;gap:16px;padding:20px}.privacy-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-privacy-settings textarea{min-height:190px;resize:vertical;font-weight:450;line-height:1.55}.admin-privacy-settings .primary{justify-self:start}.privacy-version{margin:0;font-size:.82rem}
.privacy-onboarding{min-height:calc(100vh - 120px);display:grid;place-items:center;padding:28px 16px}.privacy-consent-card{width:min(680px,100%);padding:clamp(22px,4vw,38px)}.privacy-consent-card h2{margin:4px 0 8px}.privacy-intro{margin:0 0 18px;color:#65747c}.privacy-notice-copy{max-height:310px;overflow:auto;padding:18px;border:1px solid #d7e0e4;border-radius:12px;background:#f8fafb;color:#384850;line-height:1.65}.privacy-contact{margin:13px 0;color:#667780;font-size:.82rem;line-height:1.5}.privacy-contact a{color:inherit;font-weight:750}.privacy-agree{display:grid!important;grid-template-columns:22px 1fr;gap:11px;align-items:start;margin:18px 0;color:#36464e;font-size:.9rem;line-height:1.45}.privacy-agree input{width:18px;height:18px;margin-top:2px}.privacy-consent-card form>.primary{width:100%}.client-privacy-footer{padding:28px 0 94px;text-align:center}.client-privacy-footer button{border:0;background:none;color:inherit;opacity:.62;font-size:.75rem;text-decoration:underline}.privacy-modal{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:18px;background:#0c1318a8;backdrop-filter:blur(5px)}.privacy-modal-card{position:relative;width:min(680px,100%);max-height:85vh;overflow:auto;padding:28px;border:1px solid #d5dfe4;border-radius:18px;background:#fff;color:#273840;box-shadow:0 28px 80px #0007}.privacy-modal-card h2{margin:4px 0 18px}.privacy-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:1px solid #d1dce1;border-radius:50%;background:#f2f6f8;color:#31444d;font-size:1.25rem}.client-data-panel{display:grid;grid-template-columns:1fr minmax(250px,.75fr);gap:24px;padding:20px 0;border-top:1px solid #dbe2e5}.client-data-panel p{margin-bottom:0;color:#667780;line-height:1.55}.client-data-actions{display:grid;align-content:start;gap:10px}.export-client-button{border-color:#aabdc6;background:#edf4f7;color:#31576a}.client-data-actions details{border:1px solid #e3c5c7;border-radius:10px;background:#fff8f8}.client-data-actions summary{padding:11px 13px;color:#9b3940;cursor:pointer;font-weight:800}.client-data-actions form{display:grid;gap:12px;padding:0 13px 13px}.permanent-delete-button{border-color:#a83940;background:#a83940;color:#fff}
body.client-brand-preview:not(.client-light-mode) .privacy-modal-card{border-color:#46555d;background:#172126;color:#edf3f5}body.client-brand-preview:not(.client-light-mode) .privacy-modal-card .privacy-notice-copy{border-color:#44545d;background:#10171b;color:#dce5e9}body.client-brand-preview:not(.client-light-mode) .privacy-modal-card .privacy-contact{color:#b2c0c7}
@media(max-width:650px){.privacy-settings-grid,.client-data-panel{grid-template-columns:1fr}.privacy-onboarding{align-items:start;padding-top:14px}.privacy-consent-card{padding:22px 18px}.privacy-notice-copy{max-height:280px}.privacy-modal-card{padding:24px 18px}.admin-privacy-settings form{padding:16px}}

/* PT check-in overview */
.admin-checkin-head,.daily-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-checkin-head h3,.daily-summary-head h3{margin:0;font-size:1.45rem}.admin-checkin-head span,.daily-summary-head>span{color:#637782;font-size:.82rem}
.admin-daily-summary{margin:0 0 32px;padding:22px;border:1px solid #cbd8de;border-radius:18px;background:#f9fbfc;box-shadow:0 13px 30px #1b344114}.daily-summary-head{align-items:center;margin-bottom:16px}.daily-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.daily-summary-grid article{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;padding:14px;border:1px solid #d8e2e7;border-radius:13px;background:#fff}.daily-summary-grid article>i{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#dfedf3;color:#2e6d8a;font-style:normal;font-weight:950}.daily-summary-grid strong{font-size:1.25rem}.daily-summary-grid span{color:#687982;font-size:.7rem}.daily-summary-grid article.attention{border-color:#e5c1a3;background:#fff8f1}.daily-summary-grid article.attention>i{background:#f3dcc7;color:#a95825}.daily-attention-list{display:grid;gap:7px;margin-top:14px}.daily-attention-list button{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border:1px solid #dae3e7;border-radius:11px;background:#fff;text-align:left}.daily-attention-list button span{display:grid;gap:2px}.daily-attention-list small{color:#a35b32}.daily-attention-list b{color:#397895;font-size:.78rem}.daily-summary-clear{margin:14px 0 0;color:#637780;font-size:.82rem}
.admin-client-checkin{display:grid;gap:16px;padding:22px;border:1px solid #d4dee3;border-radius:16px;background:#fff}.checkin-response-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.checkin-response-meta span{display:grid;gap:3px;padding:12px;border-radius:9px;background:#e8f1f5;color:#647781;font-size:.72rem}.checkin-response-meta strong{color:#274e62;font-size:1rem}.checkin-reviewed{justify-self:start;padding:7px 10px;border-radius:8px;background:#e4f1e7;color:#34704b;font-size:.78rem;font-weight:850}
@media(max-width:760px){.daily-summary-grid{grid-template-columns:repeat(2,1fr)}.admin-checkin-head{display:grid}}@media(max-width:540px){.checkin-response-meta{grid-template-columns:repeat(2,1fr)}.admin-client-checkin,.admin-daily-summary{padding:17px}.daily-summary-grid article{grid-template-columns:28px 1fr;padding:11px}.daily-summary-grid article>i{width:28px;height:28px}.daily-summary-grid strong{font-size:1.05rem}}

/* A lighter, more visual client overview. */
body:not(.client-brand-preview) .admin-overview{gap:16px}
body:not(.client-brand-preview) .admin-overview-intro{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:168px;
  padding:30px 32px;
  border-color:#55788b;
  background:
    radial-gradient(circle at 86% 18%,#88c7e24d 0,transparent 28%),
    linear-gradient(135deg,#172830,#294855 62%,#1d343e);
  box-shadow:inset 0 1px 0 #ffffff24,0 18px 38px #2b465524;
  color:#fff;
}
body:not(.client-brand-preview) .admin-overview-intro::before{
  content:"";
  position:absolute;
  z-index:-1;
  right:10%;
  bottom:-95px;
  width:245px;
  height:245px;
  border:1px solid #bde5f44a;
  border-radius:50%;
  box-shadow:0 0 0 28px #ffffff08,0 0 0 62px #ffffff05;
}
body:not(.client-brand-preview) .admin-overview-intro::after{
  content:"↗";
  position:absolute;
  z-index:-1;
  right:24px;
  top:5px;
  color:#ffffff0d;
  font-size:9rem;
  font-weight:950;
  line-height:1;
  transform:rotate(-8deg);
}
body:not(.client-brand-preview) .admin-overview-intro .eyebrow{color:#a9d7e9}
body:not(.client-brand-preview) .admin-overview-intro h3{margin:3px 0 7px;color:#fff;font-size:clamp(1.7rem,3vw,2.35rem)}
body:not(.client-brand-preview) .admin-overview-intro span{color:#c8d9e0;font-size:.88rem}
body:not(.client-brand-preview) .admin-overview-intro .admin-today-status strong,
body:not(.client-brand-preview) .admin-overview-intro .admin-coaching-type strong{color:#263b45}
body:not(.client-brand-preview) .admin-overview-intro>[data-jump-tab]{border-color:#ffffff45;background:#ffffff12;color:#fff;backdrop-filter:blur(10px)}
body:not(.client-brand-preview) .admin-overview-intro>[data-jump-tab]:hover{border-color:#fff;background:#ffffff22}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  min-height:205px;
  padding:20px;
  border-color:#cbd9e0;
  background:linear-gradient(150deg,#fff,#edf6fa);
  box-shadow:0 13px 28px #27485a16;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-42px;
  bottom:-46px;
  width:125px;
  height:125px;
  border-radius:42% 58% 64% 36%;
  background:#6fb8d225;
  transform:rotate(22deg);
}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:hover{transform:translateY(-3px);border-color:#8eb8ca;box-shadow:0 18px 34px #27485a24}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(2){background:linear-gradient(150deg,#fff,#eef8f1);border-color:#ccdfd3}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(2)::after{background:#6db58825}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(3){background:linear-gradient(150deg,#fff,#f1f0fb);border-color:#d8d5e8}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(3)::after{background:#8b80c229}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(4){background:linear-gradient(150deg,#fff,#fff5e9);border-color:#eadac7}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(4)::after{background:#e5a45b24}
body:not(.client-brand-preview) .admin-overview .overview-stat-silhouette{
  width:64px;
  height:64px;
  margin-bottom:7px;
  border:1px solid #b9d7e4;
  border-radius:20px;
  background:linear-gradient(145deg,#effaff,#c9e5f0);
  color:#2e6b87;
  box-shadow:inset 0 1px 0 #fff,0 8px 17px #315b6e1c;
  opacity:1;
}
body:not(.client-brand-preview) .admin-overview .overview-stat-silhouette svg{width:39px;height:39px}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(2) .overview-stat-silhouette{border-color:#bcd9c6;background:linear-gradient(145deg,#f0fbf3,#cce8d5);color:#347453}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(3) .overview-stat-silhouette{border-color:#d0cce5;background:linear-gradient(145deg,#f8f6ff,#dcd8f0);color:#655b99}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid article:nth-child(4) .overview-stat-silhouette{border-color:#ead2b7;background:linear-gradient(145deg,#fffaf2,#f5dec1);color:#9a6429}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid span{color:#587181;font-size:.64rem}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid strong{overflow-wrap:anywhere;color:#1f353f;font-size:1.05rem;line-height:1.35}
body:not(.client-brand-preview) .admin-overview .overview-stat-grid small{margin-top:auto;color:#687b84;font-size:.72rem}
body:not(.client-brand-preview) .admin-overview .admin-client-checkin{border-color:#c9d9e1;background:linear-gradient(135deg,#f9fcfd,#edf5f8);box-shadow:0 10px 24px #27485a12}
@media(max-width:1050px){body:not(.client-brand-preview) .admin-overview .overview-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.client-brand-preview) .admin-overview .overview-stat-grid article{min-height:180px}}
@media(max-width:600px){body:not(.client-brand-preview) .admin-overview-intro{min-height:190px;padding:24px 20px}body:not(.client-brand-preview) .admin-overview-intro>[data-jump-tab]{width:100%}body:not(.client-brand-preview) .admin-overview .overview-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body:not(.client-brand-preview) .admin-overview .overview-stat-grid article{min-height:170px;padding:14px}body:not(.client-brand-preview) .admin-overview .overview-stat-silhouette{width:50px;height:50px;border-radius:15px}body:not(.client-brand-preview) .admin-overview .overview-stat-silhouette svg{width:31px;height:31px}body:not(.client-brand-preview) .admin-overview .overview-stat-grid strong{font-size:.92rem}}
@media(prefers-reduced-motion:reduce){body:not(.client-brand-preview) .admin-overview .overview-stat-grid article{transition:none}}

/* More inviting, scannable client cards on the PT dashboard. */
body:not(.client-brand-preview) .workspace>.section-head{
  align-items:end;
  margin-bottom:14px;
  padding:0 3px;
}
body:not(.client-brand-preview) .workspace>.section-head h3{color:#203640;font-size:1.45rem;letter-spacing:-.025em}
body:not(.client-brand-preview) .workspace>.section-head .muted{color:#6b7d86;font-size:.78rem}
body:not(.client-brand-preview) .client-list{gap:12px}
body:not(.client-brand-preview) .client-row{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:118px;
  grid-template-columns:56px minmax(180px,1fr) repeat(3,130px) 34px;
  padding:18px 20px;
  border-color:#c8d8e0;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f2f8fb);
  box-shadow:0 13px 30px #29485814;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body:not(.client-brand-preview) .client-row::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(#65a8c5,#477f9b);
}
body:not(.client-brand-preview) .client-row::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:-60px;
  top:-65px;
  width:170px;
  height:170px;
  border:1px solid #75adc52e;
  border-radius:50%;
  box-shadow:0 0 0 24px #79b2ca0a;
}
body:not(.client-brand-preview) .client-row:hover{
  border-color:#83adbf;
  transform:translateY(-3px);
  box-shadow:0 19px 38px #29485822;
}
body:not(.client-brand-preview) .client-row>.avatar{
  width:56px;
  height:56px;
  border:1px solid #a8c6d5;
  background:linear-gradient(145deg,#eaf8ff,#9fc9dc);
  color:#214d63;
  box-shadow:inset 0 1px 0 #fff,0 8px 18px #315b7025;
}
body:not(.client-brand-preview) .client-row .client-main{gap:6px}
body:not(.client-brand-preview) .client-row .client-main>strong{color:#1e343e;font-size:1rem;line-height:1.3}
body:not(.client-brand-preview) .client-row .client-main>span{max-width:330px;color:#687b84;font-size:.76rem;line-height:1.45}
body:not(.client-brand-preview) .client-row .dashboard-coaching-type{
  display:inline-flex;
  width:max-content;
  margin-left:4px;
  padding:4px 7px;
  border-radius:999px;
  background:#dfeef5;
  color:#376a82;
  font-size:.59rem;
  font-weight:850;
  vertical-align:2px;
}
body:not(.client-brand-preview) .client-row>.metric{
  min-height:65px;
  align-content:center;
  gap:4px;
  padding:10px 12px;
  border:1px solid #d9e5ea;
  border-radius:12px;
  background:#ffffffb8;
}
body:not(.client-brand-preview) .client-row>.metric strong{color:#294957;font-size:.9rem}
body:not(.client-brand-preview) .client-row>.metric span{color:#74858d;font-size:.65rem;text-transform:uppercase;letter-spacing:.045em;font-weight:750}
body:not(.client-brand-preview) .client-row .dashboard-weight-progress{max-width:none}
body:not(.client-brand-preview) .client-row .dashboard-weight-progress .mini-progress{margin-top:5px;background:#d9e7ed}
body:not(.client-brand-preview) .client-row .dashboard-weight-progress .mini-progress i{background:linear-gradient(90deg,#5b9cba,#79bdd4)}
body:not(.client-brand-preview) .client-row .dashboard-weight-progress small{color:#557281;font-size:.59rem}
body:not(.client-brand-preview) .client-row>.chev{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #c3d8e2;
  border-radius:50%;
  background:#e9f4f8;
  color:#376c84;
  font-size:1.3rem;
  transition:transform .2s ease,background .2s ease;
}
body:not(.client-brand-preview) .client-row:hover>.chev{background:#d8ecf4;transform:translateX(2px)}
body:not(.client-brand-preview) .client-status-filter{
  margin-bottom:15px;
  padding:5px;
  border:1px solid #cad8df;
  background:#dfeaf0;
  box-shadow:inset 0 1px 0 #fff8;
}
body:not(.client-brand-preview) .client-status-filter button.active{color:#28566c;box-shadow:0 4px 10px #35586a18}
body:not(.client-brand-preview) .archived-client-row{filter:saturate(.55);opacity:.82}
@media(max-width:850px){body:not(.client-brand-preview) .client-row{min-height:92px;grid-template-columns:56px minmax(0,1fr) 34px;padding:16px 18px}body:not(.client-brand-preview) .client-row .client-main>span{max-width:none}}
@media(max-width:540px){body:not(.client-brand-preview) .workspace>.section-head{display:grid;gap:4px}body:not(.client-brand-preview) .client-row{grid-template-columns:48px minmax(0,1fr) 30px;gap:11px;padding:14px 13px;border-radius:15px}body:not(.client-brand-preview) .client-row>.avatar{width:48px;height:48px}body:not(.client-brand-preview) .client-row .client-main>strong{font-size:.88rem}body:not(.client-brand-preview) .client-row .dashboard-coaching-type{display:block;margin:4px 0 0}body:not(.client-brand-preview) .client-row>.chev{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){body:not(.client-brand-preview) .client-row,body:not(.client-brand-preview) .client-row>.chev{transition:none}}

/* Password recovery */
.auth-text-link,.auth-back{width:max-content;border:0;background:none;color:#477188;font-weight:800}.auth-text-link{justify-self:end;margin-top:-5px;padding:2px 0;font-size:.78rem}.auth-text-link:hover,.auth-back:hover{text-decoration:underline}.auth-back{margin:0 0 22px;padding:0;color:#60727d}.auth-explainer{margin:0 0 8px;color:#62727d;line-height:1.55}.auth-recovery{align-self:center}.auth-success{display:grid;justify-items:center;gap:12px;padding:16px 0 2px;text-align:center}.auth-success>span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#dff3e7;color:#287247;font-size:1.5rem;font-weight:900}.auth-success h3{margin:0;font-size:1.4rem}.auth-success p{margin:0;color:#62727d;line-height:1.55}.auth-success button{width:100%;margin-top:8px}

/* Client imagery: restrained editorial photography beneath reliable overlays. */
body.client-brand-preview .workout-cards .workout-card,
body.client-brand-preview .workout-cards .workout-card:nth-child(even){
  --workout-image:url('/assets/workout-card.jpg');
  --workout-position:70% center;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:#8ab1c150;
  background-image:linear-gradient(90deg,#0f1a21f2 0%,#142935d4 42%,#10222d78 65%,#09111716 100%),var(--workout-image);
  background-position:var(--workout-position)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  color:#f8fbfc;
  box-shadow:0 20px 44px #07131b66,inset 0 1px 0 #ffffff20;
}
body.client-brand-preview .workout-cards .workout-card:nth-child(5n+2){--workout-image:url('/assets/workout-card-2.jpg');--workout-position:72% center}
body.client-brand-preview .workout-cards .workout-card:nth-child(5n+3){--workout-image:url('/assets/workout-card-3.jpg');--workout-position:72% center}
body.client-brand-preview .workout-cards .workout-card:nth-child(5n+4){--workout-image:url('/assets/workout-card-4.jpg');--workout-position:76% center}
body.client-brand-preview .workout-cards .workout-card:nth-child(5n){--workout-image:url('/assets/workout-card-5.jpg');--workout-position:80% center}
body.client-brand-preview .workout-cards .workout-card::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(145deg,#64b1d311,#0000 50%);
}
body.client-brand-preview .workout-cards .workout-card p,
body.client-brand-preview .workout-cards .workout-card>div>span:last-child{color:#d0dce2}
body.client-brand-preview .workout-cards .workout-number{color:#9bd5ed;text-shadow:0 1px 14px #0008}
body.client-brand-preview.client-light-mode .workout-cards .workout-card,
body.client-brand-preview.client-light-mode .workout-cards .workout-card:nth-child(even){
  border-color:#8eb3c4;
  background-image:linear-gradient(90deg,#f8fcfdee 0%,#e8f3f6c2 36%,#d9eaf04a 56%,#d4e8ef08 78%),var(--workout-image);
  color:#172932;
  box-shadow:0 18px 38px #284d602d,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode .workout-cards .workout-card p,
body.client-brand-preview.client-light-mode .workout-cards .workout-card>div>span:last-child{color:#526d79}
body.client-brand-preview .workout-cards .workout-card:hover{
  border-color:#8ab1c150;
  background-image:linear-gradient(90deg,#0f1a21f2 0%,#142935d4 42%,#10222d78 65%,#09111716 100%),var(--workout-image);
  background-position:var(--workout-position)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  box-shadow:0 20px 44px #07131b66,inset 0 1px 0 #ffffff20;
  transform:none;
}
body.client-brand-preview.client-light-mode .workout-cards .workout-card:hover{
  border-color:#8eb3c4;
  background-image:linear-gradient(90deg,#f8fcfdee 0%,#e8f3f6c2 36%,#d9eaf04a 56%,#d4e8ef08 78%),var(--workout-image);
  background-position:var(--workout-position)!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  box-shadow:0 18px 38px #284d602d,inset 0 1px 0 #fff;
}

body.client-brand-preview[data-client-texture="nutrition"] .client-food-section .food-section-intro{
  min-height:136px;
  display:grid;
  align-content:end;
  margin:-2px -2px 16px;
  padding:22px;
  overflow:hidden;
  border:1px solid #ffffff42;
  border-radius:14px;
  background-position:center;
  background-size:cover;
  box-shadow:inset 0 1px 0 #ffffff35,0 10px 24px #15283220;
}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section[data-client-food-section="protein"] .food-section-intro{
  background-image:linear-gradient(90deg,#10251ff2 0%,#163b2bd7 45%,#17362b75 68%,#10261c2e 100%),url('/assets/nutrition-protein.jpg');
}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section[data-client-food-section="carbohydrate"] .food-section-intro{
  background-image:linear-gradient(90deg,#122838f2 0%,#174660d7 45%,#1e506975 68%,#1533442e 100%),url('/assets/nutrition-carbs.jpg');
}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section[data-client-food-section="fat"] .food-section-intro{
  background-image:linear-gradient(90deg,#2b1d34f2 0%,#573867d7 45%,#573b6675 68%,#2f20382e 100%),url('/assets/nutrition-fats.jpg');
}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section .food-section-intro h3{color:#fff;text-shadow:0 2px 14px #0008}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section .food-section-intro p{max-width:340px;margin:2px 0 0;color:#eff5f7;text-shadow:0 1px 10px #000b}
@media(max-width:540px){
  body.client-brand-preview .workout-cards .workout-card{min-height:164px;padding:20px;background-position:var(--workout-position)!important}
  body.client-brand-preview[data-client-texture="nutrition"] .client-food-section .food-section-intro{min-height:118px;padding:18px;background-position:58% center}
}
@media(prefers-reduced-motion:reduce){body.client-brand-preview .workout-cards .workout-card{transition:none}}

/* Time-aware client home hero. The photograph stays fixed while the atmosphere follows the day. */
body.client-brand-preview .today-hero{
  min-height:286px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);
  grid-template-rows:1fr auto;
  align-items:end;
  gap:22px 34px;
  padding:18px 30px 30px;
  border:1px solid #7eb4ca66;
  background-position:70% center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
body.client-brand-preview .today-hero-morning{
  background-image:linear-gradient(90deg,#10202bfa 0%,#173746ed 42%,#1528328c 64%,#080d1160 100%),linear-gradient(180deg,#77c5e326,#0000 58%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview .today-hero-afternoon{
  background-image:linear-gradient(90deg,#101e28fa 0%,#1b3b4aed 42%,#1935418c 64%,#08111760 100%),linear-gradient(180deg,#b7e8fa20,#0000 62%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview .today-hero-evening{
  background-image:linear-gradient(90deg,#0a1118fc 0%,#132734f2 44%,#101d268f 66%,#05090d66 100%),linear-gradient(180deg,#726ca520,#0000 58%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview .today-hero::after{opacity:.6}
body.client-brand-preview .today-hero-copy{align-self:center;max-width:410px}
body.client-brand-preview .today-hero .today-greeting{
  display:block;
  margin:18px 0 4px;
  color:#9ed7ef;
  font-size:.75rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.client-brand-preview .today-hero h3{margin:0 0 9px;font-size:clamp(2.15rem,5vw,3.25rem);line-height:.94;text-shadow:0 3px 20px #0008}
body.client-brand-preview .today-hero>button{
  grid-column:1;
  width:min(390px,100%);
  min-width:0;
  min-height:72px;
  padding:13px 15px 13px 17px;
  border-color:#bcecff61;
  background:#10232ddd;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body.client-brand-preview .today-hero>button b{display:flex;align-items:center;gap:7px;white-space:nowrap}
body.client-brand-preview .today-hero>button b i{font-style:normal;font-size:1rem}

/* Client tab mini-heroes: move supporting photography to the top of each view. */
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading{
  position:relative;
  isolation:isolate;
  min-height:190px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  margin:0 0 18px;
  padding:26px;
  border:1px solid #ffffff35;
  border-radius:20px;
  color:#fff;
  box-shadow:0 20px 44px #07131b52,inset 0 1px 0 #ffffff1c;
  background-position:center;
  background-size:cover;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro{
  background-image:linear-gradient(90deg,#071117f5 0%,#102833da 48%,#0a151d4d 78%),url('/assets/workout-card.jpg');
  background-position:center 38%;
}
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro{
  background-image:linear-gradient(90deg,#0b1814f5 0%,#18382bd9 48%,#10251b4d 78%),url('/assets/nutrition-protein.jpg');
  background-position:center 46%;
}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading{
  justify-content:space-between;
  background-image:linear-gradient(90deg,#071117f5 0%,#152731df 50%,#11182057 78%),url('/assets/jack-training-portrait.jpg');
  background-position:center 34%;
}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading>.client-intro{margin:0;padding:0}
body.client-brand-preview .client-section-hero-placeholder,
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro h3,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro h3,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading h3{color:#fff;text-shadow:0 2px 18px #000a}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .eyebrow{color:#bfe3f1}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .muted,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .muted,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .muted{max-width:430px;margin-bottom:0;color:#e0e9ed}
body.client-brand-preview[data-client-texture="workouts"] .workout-cards .workout-card,
body.client-brand-preview[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even){background-image:linear-gradient(145deg,#111a20,#263640)!important;background-position:center!important}
body.client-brand-preview[data-client-texture="nutrition"] .client-food-section .food-section-intro{min-height:0;background-image:none!important;background:#21313a;padding:18px}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .unit-toggle{position:relative;z-index:1;align-self:flex-start;background:#0b141bbb;backdrop-filter:blur(10px)}
@media(max-width:540px){
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro,
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading{min-height:164px;padding:20px;border-radius:17px}
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading{display:grid;gap:14px}
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .unit-toggle{justify-self:start}
}

body.client-brand-preview.client-light-mode .today-hero{
  border-color:#91b9cb;
  color:#172832;
  box-shadow:0 20px 44px #284d6030,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode .today-hero-morning{
  background-image:linear-gradient(90deg,#f9fdfffc 0%,#e7f4f8f4 42%,#d4eaf1bd 61%,#eaf5f760 78%),linear-gradient(180deg,#c5edfb42,#fff0 62%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview.client-light-mode .today-hero-afternoon{
  background-image:linear-gradient(90deg,#f9fcfdfc 0%,#e4f1f5f2 42%,#cce4edba 61%,#eaf4f65c 78%),linear-gradient(180deg,#f8fdff30,#b8e3f125 64%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview.client-light-mode .today-hero-evening{
  background-image:linear-gradient(90deg,#f6f9fcfc 0%,#e5edf4f4 42%,#d5dfedc0 61%,#e8edf565 78%),linear-gradient(180deg,#d8d5f33d,#fff0 62%),url('/assets/jack-coach-portrait.jpg');
}
body.client-brand-preview.client-light-mode .today-hero .today-greeting{color:#397895}
body.client-brand-preview.client-light-mode .today-hero h3{color:#172832;text-shadow:0 2px 16px #fff}
body.client-brand-preview.client-light-mode .today-hero>button{
  border-color:#8eb8ca;
  background:#f8fcfddd;
  box-shadow:0 12px 26px #315a6f2c,inset 0 1px 0 #fff;
}

@media(max-width:620px){
  body.client-brand-preview .today-hero{
    min-height:0;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    align-items:end;
    gap:18px;
    padding:16px 20px 20px;
    background-position:66% center!important;
  }
  body.client-brand-preview .today-hero-copy{align-self:start;max-width:78%}
  body.client-brand-preview .today-hero .today-greeting{margin-top:14px}
  body.client-brand-preview .today-hero h3{font-size:2.35rem}
  body.client-brand-preview .today-hero>button{grid-column:1;width:100%;min-height:78px}
  body.client-brand-preview .today-hero>button b{width:auto;height:auto;grid-row:auto;padding:10px 12px;border-radius:999px;font-size:.7rem}
  body.client-brand-preview .today-hero>button b::after{content:none}
  body.client-brand-preview .today-hero>button b i{font-size:.9rem}
}

/* Keep the client greeting useful without repeating the brand name. */
body.client-brand-preview .client-head .eyebrow{font-size:0}
body.client-brand-preview .client-head .eyebrow::before{
  content:"Your coaching space";
  font-size:.72rem;
}
@media(max-width:620px){
  body.client-brand-preview .client-shell{
    padding:22px 16px calc(98px + env(safe-area-inset-bottom));
  }
  body.client-brand-preview .client-head{
    margin-bottom:16px;
    padding-top:2px;
  }
  body.client-brand-preview .client-head h2{margin-bottom:4px}
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete{gap:12px}
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete .client-intro{
    margin-bottom:0;
    padding-bottom:0;
  }
}

/* Keep mini-hero copy in a clear eyebrow, title, description hierarchy. */
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro{
  display:grid;
  align-content:end;
  align-items:initial;
  justify-content:initial;
  gap:5px;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .eyebrow,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .eyebrow{
  display:inline-flex;
  width:max-content;
  margin:0 0 3px;
  padding:6px 10px;
  border:1px solid #a9d5e7;
  border-radius:999px;
  background:#dff4fc;
  color:#183b4c;
  text-shadow:none;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro h3,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro h3,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading h3{
  margin:0;
  color:#fff;
  font-size:clamp(1.9rem,4.4vw,2.65rem);
  line-height:.98;
  letter-spacing:-.045em;
  text-shadow:0 2px 18px #000a;
}
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .muted,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .muted,
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .muted{
  max-width:430px;
  margin:5px 0 0;
  color:#e0e9ed;
  font-size:.86rem;
  line-height:1.45;
}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading>.client-intro{
  display:grid;
  align-content:end;
  gap:4px;
  margin:0;
  padding:0;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview.client-light-mode[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro,
body.client-brand-preview.client-light-mode[data-client-texture="weight"] #client-content>.weight-heading{
  border-color:#8fb3c4;
  box-shadow:0 18px 38px #284d602b,inset 0 1px 0 #fff6;
}
@media(max-width:540px){
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro h3,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro h3,
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading h3{font-size:1.9rem}
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro .muted,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro .muted,
  body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading .muted{font-size:.78rem}
}

/* Final light-mode workout card palette. */
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even){
  border-color:#aac5d2;
  background-image:radial-gradient(circle at 88% 18%,#9fd2e544 0,transparent 32%),linear-gradient(135deg,#ffffff 0%,#eaf4f8 58%,#d8eaf1 100%)!important;
  color:#172932;
  box-shadow:0 15px 34px #315b7026,inset 0 1px 0 #fff;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even){
  border-color:#bdc8d8;
  background-image:radial-gradient(circle at 86% 18%,#b9a5dc35 0,transparent 34%),linear-gradient(135deg,#ffffff 0%,#eef1f7 58%,#e0e6f0 100%)!important;
}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card p,
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card>div>span:last-child{color:#536b77}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-number{border-color:#9fc1d1;background:#dceef5;color:#285f79;text-shadow:none}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:nth-child(even) .workout-number{border-color:#beb5d2;background:#ebe5f4;color:#5d4b78}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .start-arrow{background:linear-gradient(145deg,#dff4ff,#73b0cf);color:#143e53;box-shadow:0 8px 18px #315f7730}
body.client-brand-preview.client-light-mode[data-client-texture="workouts"] .workout-cards .workout-card:hover{border-color:#78a7bd;background-image:radial-gradient(circle at 88% 18%,#8bc9e04d 0,transparent 34%),linear-gradient(135deg,#fff 0%,#e3f1f6 58%,#cfe5ed 100%)!important;box-shadow:0 18px 38px #315b7033,inset 0 1px 0 #fff}

/* Align all secondary client heroes from the top with room after supporting copy. */
body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro{
  align-content:start;
  padding-top:24px;
  padding-bottom:30px;
}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading{align-items:flex-start}
body.client-brand-preview[data-client-texture="weight"] #client-content>.weight-heading>.client-intro{align-content:start}
@media(max-width:540px){
  body.client-brand-preview[data-client-texture="workouts"] #client-content>.client-intro,
  body.client-brand-preview[data-client-texture="nutrition"] .client-nutrition-complete>.client-intro{padding-top:19px;padding-bottom:25px}
}
