/* Redesign V1 — client shell foundation.
   Scoped to authenticated client UI so trainer/admin flows remain unchanged. */

body.eplan-redesign.client-ui{
  --bg:#f5f8ff;
  --card:#ffffff;
  --card2:#f7f9fd;
  --line:#e3e9f3;
  --text:#0a1738;
  --muted:#69758e;
  --yellow:#1677ff;
  background:#f8fbff;
  color:var(--text);
  min-height:100dvh;
}
body.eplan-redesign.client-ui #app{
  min-height:100dvh;
  background:#f8fbff;
}

body.eplan-redesign.client-ui .wrap.client-shell{
  max-width:760px;
  min-height:100dvh;
  margin:0 auto;
  padding:calc(18px + env(safe-area-inset-top)) 18px calc(104px + env(safe-area-inset-bottom));
  background:#f8fbff;
}

body.eplan-redesign.client-ui .client-top{
  position:sticky;
  top:env(safe-area-inset-top);
  z-index:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 -18px 18px;
  padding:14px 18px 12px;
  background:rgba(248,251,255,.94);
  border-bottom:1px solid rgba(217,226,239,.8);
  backdrop-filter:blur(14px);
}

body.eplan-redesign.client-ui .client-greeting{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}

body.eplan-redesign.client-ui .client-greeting strong{
  font-size:25px;
  line-height:1.08;
  letter-spacing:-.02em;
}

body.eplan-redesign.client-ui .client-greeting span{
  color:var(--muted);
  font-size:14px;
}

body.eplan-redesign.client-ui .client-top-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

body.eplan-redesign.client-ui .client-top .notify-btn{
  width:44px;
  height:44px;
  min-width:44px;
  padding:0;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#fff;
  color:#0a1738;
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(44,78,120,.08);
}

body.eplan-redesign.client-ui .client-top .notify-label{display:none}
body.eplan-redesign.client-ui .client-top .ui-icon{width:21px;height:21px}

body.eplan-redesign.client-ui .card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 10px 30px rgba(31,64,104,.06);
}

body.eplan-redesign.client-ui .exercise,
body.eplan-redesign.client-ui .client-program-selected,
body.eplan-redesign.client-ui .client-program-day,
body.eplan-redesign.client-ui .today-mini-status>div,
body.eplan-redesign.client-ui .empty-state{
  background:#f8faff;
  border-color:#e3e9f3;
}

body.eplan-redesign.client-ui input,
body.eplan-redesign.client-ui textarea,
body.eplan-redesign.client-ui select{
  background:#f8faff;
  color:var(--text);
  border-color:#dfe7f2;
}

body.eplan-redesign.client-ui button{
  background:#1677ff;
  color:#fff;
}

body.eplan-redesign.client-ui button.dark{
  background:#eef3fb;
  color:#183153;
  border:1px solid #dce5f0;
}

body.eplan-redesign.client-ui .badge{
  background:#edf3fb;
  color:#36506f;
}

body.eplan-redesign.client-ui .tech-link{
  color:#1677ff!important;
}

body.eplan-redesign.client-ui .tech-link:before{
  background:#1677ff;
}

body.eplan-redesign.client-ui .client-section-page>h1{
  margin:8px 2px 16px;
  font-size:30px;
  letter-spacing:-.025em;
}

body.eplan-redesign.client-ui .client-bottom-nav{
  position:fixed;
  left:50%;
  bottom:0;
  z-index:950;
  transform:translateX(-50%);
  width:min(760px,100%);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:2px;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  border-top:1px solid #dde6f1;
  box-shadow:0 -8px 28px rgba(39,70,110,.08);
  backdrop-filter:blur(16px);
}

body.eplan-redesign.client-ui .client-bottom-nav button{
  min-width:0;
  min-height:56px;
  padding:6px 4px;
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:transparent!important;
  color:#74839c!important;
  border:0!important;
  box-shadow:none!important;
  font-size:11px;
  font-weight:750;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active{
  color:#1677ff!important;
  background:#eef5ff!important;
}

body.eplan-redesign.client-ui .client-bottom-nav .ui-icon{
  width:22px;
  height:22px;
}

body.eplan-redesign.client-ui .notify-badge{
  border-color:#fff;
}

body.eplan-redesign.client-ui .next-action-card{
  background:linear-gradient(145deg,#0a3f7f,#0c67c6)!important;
  border-color:#0d5dad!important;
  color:#fff;
}
body.eplan-redesign.client-ui .next-action-card .muted,
body.eplan-redesign.client-ui .next-action-card .next-action-kicker{
  color:#dcecff!important;
}
body.eplan-redesign.client-ui .next-action-card .today-mini-status>div{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.18);
}
body.eplan-redesign.client-ui .next-action-card .today-mini-status span,
body.eplan-redesign.client-ui .next-action-card .today-mini-status strong{
  color:#fff;
}

body.eplan-redesign.client-ui .training-live{
  color:#149a59;
}
body.eplan-redesign.client-ui .training-live:before{
  background:#21c06b;
  box-shadow:0 0 10px rgba(33,192,107,.45);
}

body.eplan-redesign.client-ui .finish-workout-btn{
  background:#1677ff!important;
  color:#fff!important;
  border-color:#1677ff!important;
}

@media(max-width:650px){
  body.eplan-redesign.client-ui .wrap.client-shell{padding-left:14px;padding-right:14px}
  body.eplan-redesign.client-ui .client-top{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  body.eplan-redesign.client-ui .card{padding:18px;border-radius:18px}
  body.eplan-redesign.client-ui .client-greeting strong{font-size:23px}
  body.eplan-redesign.client-ui .client-bottom-nav button{font-size:10.5px}
}

@media(min-width:761px){
  body.eplan-redesign.client-ui .wrap.client-shell{
    margin-top:24px;
    margin-bottom:24px;
    border-radius:28px;
    box-shadow:0 16px 50px rgba(35,65,105,.10);
  }
  body.eplan-redesign.client-ui .client-bottom-nav{
    bottom:16px;
    border:1px solid #dde6f1;
    border-radius:22px;
    width:min(720px,calc(100% - 32px));
    box-shadow:0 14px 40px rgba(30,61,102,.16);
  }
}


/* Redesign V1 — client home */
body.eplan-redesign.client-ui .client-home{display:block}
body.eplan-redesign.client-ui .client-program-hero{
  width:100%;
  display:block;
  position:relative;
  overflow:hidden;
  text-align:left;
  padding:22px;
  margin:0 0 24px;
  border-radius:24px;
  border:1px solid #0f5db3!important;
  background:
    radial-gradient(circle at 88% 18%,rgba(57,163,255,.42),transparent 32%),
    linear-gradient(145deg,#07386f 0%,#0a5eb2 62%,#117fe0 100%)!important;
  color:#fff!important;
  box-shadow:0 18px 38px rgba(18,78,139,.20)!important;
}
body.eplan-redesign.client-ui .client-program-hero:before{
  content:"";
  position:absolute;
  width:160px;height:160px;border-radius:50%;
  right:-70px;bottom:-85px;
  background:rgba(255,255,255,.08);
}
body.eplan-redesign.client-ui .client-program-hero-kicker{
  display:block;
  font-size:13px;
  font-weight:800;
  color:#cfe8ff;
  margin-bottom:7px;
}
body.eplan-redesign.client-ui .client-program-hero>strong{
  display:block;
  max-width:82%;
  font-size:27px;
  line-height:1.08;
  letter-spacing:-.025em;
  margin-bottom:5px;
}
body.eplan-redesign.client-ui .client-program-hero-meta{
  display:block;
  color:#d9ebff;
  font-size:14px;
}
body.eplan-redesign.client-ui .client-program-hero-progress{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:12px;
  margin-top:20px;
}
body.eplan-redesign.client-ui .client-program-hero-progress>span{
  display:block;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
  overflow:hidden;
}
body.eplan-redesign.client-ui .client-program-hero-progress i{
  display:block;height:100%;border-radius:inherit;background:#56afff;
}
body.eplan-redesign.client-ui .client-program-hero-progress b{
  font-size:14px;color:#fff;
}
body.eplan-redesign.client-ui .client-program-hero-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  margin-top:16px;
  padding:12px 14px;
  border-radius:14px;
  background:#1686ff;
  color:#fff;
  font-weight:850;
}
body.eplan-redesign.client-ui .client-program-hero-cta b{
  font-size:22px;line-height:1;
}

body.eplan-redesign.client-ui .client-home-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 2px 12px;
}
body.eplan-redesign.client-ui .client-home-section-head h2{
  margin:0;
  font-size:21px;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .client-home-section-head button{
  padding:0!important;
  background:transparent!important;
  color:#1677ff!important;
  border:0!important;
  box-shadow:none!important;
  font-size:13px;
  font-weight:800;
}

body.eplan-redesign.client-ui .client-home-today-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:25px;
}
body.eplan-redesign.client-ui .client-home-today-grid.single{
  grid-template-columns:1fr;
}
body.eplan-redesign.client-ui .client-home-today-card{
  min-width:0;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:5px;
  padding:17px 16px 16px;
  border-radius:20px;
  background:#fff!important;
  color:var(--text)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 9px 26px rgba(35,70,108,.07)!important;
}
body.eplan-redesign.client-ui .client-home-today-icon{
  width:39px;height:39px;
  display:grid;place-items:center;
  border-radius:13px;
  margin-bottom:5px;
  background:#eaf4ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .client-home-today-icon .ui-icon{width:21px;height:21px}
body.eplan-redesign.client-ui .client-home-today-card small{
  font-size:12px;
  color:#5d6f89;
  font-weight:800;
}
body.eplan-redesign.client-ui .client-home-today-card strong{
  display:block;
  width:calc(100% - 18px);
  font-size:18px;
  line-height:1.18;
  color:#0a1738;
}
body.eplan-redesign.client-ui .client-home-today-card em{
  min-height:31px;
  color:#75839a;
  font-size:12px;
  line-height:1.25;
  font-style:normal;
  font-weight:650;
}
body.eplan-redesign.client-ui .client-home-today-card .home-chevron{
  position:absolute;
  right:12px;
  top:50%;
  color:#1677ff;
  font-size:24px;
}
body.eplan-redesign.client-ui .home-mini-progress{
  width:calc(100% - 20px);
  height:6px;
  margin:3px 0 1px;
  border-radius:999px;
  background:#e7edf6;
  overflow:hidden;
}
body.eplan-redesign.client-ui .home-mini-progress i{
  display:block;height:100%;border-radius:inherit;background:#1677ff;
}

body.eplan-redesign.client-ui .client-home-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body.eplan-redesign.client-ui .client-home-metric{
  min-width:0;
  min-height:126px;
  padding:13px 11px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:4px;
  border-radius:18px;
  background:#fff!important;
  color:var(--text)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 8px 24px rgba(35,70,108,.055)!important;
}
body.eplan-redesign.client-ui .client-home-metric-icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#edf5ff;
  color:#1677ff;
  margin-bottom:2px;
}
body.eplan-redesign.client-ui .client-home-metric-icon .ui-icon{width:18px;height:18px}
body.eplan-redesign.client-ui .client-home-metric>span:nth-child(2){
  color:#64758d;
  font-size:11px;
  font-weight:800;
}
body.eplan-redesign.client-ui .client-home-metric strong{
  font-size:20px;
  line-height:1.1;
  color:#0a1738;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .client-home-metric strong small{
  font-size:11px;color:#64758d;font-weight:750;
}
body.eplan-redesign.client-ui .client-home-metric em{
  margin-top:auto;
  color:#1b9a5b;
  font-size:11px;
  line-height:1.2;
  font-style:normal;
  font-weight:800;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .client-program-hero{padding:19px}
  body.eplan-redesign.client-ui .client-program-hero>strong{font-size:24px}
  body.eplan-redesign.client-ui .client-home-today-grid{gap:9px}
  body.eplan-redesign.client-ui .client-home-today-card{padding:15px 13px}
  body.eplan-redesign.client-ui .client-home-today-card strong{font-size:16px}
  body.eplan-redesign.client-ui .client-home-metrics{gap:7px}
  body.eplan-redesign.client-ui .client-home-metric{padding:11px 8px;min-height:120px}
  body.eplan-redesign.client-ui .client-home-metric strong{font-size:18px}
}


/* Redesign V1 — closer visual match to approved mobile mockup */
body.eplan-redesign.client-ui .wrap.client-shell{
  max-width:440px;
  padding:12px 14px calc(92px + env(safe-area-inset-bottom));
  background:#f8fbff;
}
body.eplan-redesign.client-ui .client-top{
  margin:0 -14px 14px;
  padding:10px 14px 12px;
  min-height:72px;
}
body.eplan-redesign.client-ui .client-greeting strong{
  font-size:24px;
  font-weight:900;
}
body.eplan-redesign.client-ui .client-greeting span{
  font-size:13px;
  color:#72809a;
}
body.eplan-redesign.client-ui .client-program-hero{
  margin-bottom:20px;
  padding:18px;
  border-radius:20px;
  min-height:220px;
  box-shadow:0 14px 30px rgba(18,78,139,.18)!important;
}
body.eplan-redesign.client-ui .client-program-hero-kicker{
  font-size:14px;
  margin-bottom:3px;
}
body.eplan-redesign.client-ui .client-program-hero>strong{
  font-size:24px;
  margin-bottom:4px;
}
body.eplan-redesign.client-ui .client-program-hero-meta{
  font-size:13px;
}
body.eplan-redesign.client-ui .client-program-progress-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:17px;
  font-size:12px;
  color:#dbeeff;
}
body.eplan-redesign.client-ui .client-program-progress-label b{
  color:#fff;
}
body.eplan-redesign.client-ui .client-program-hero-progress{
  margin-top:7px;
}
body.eplan-redesign.client-ui .client-program-hero-cta{
  margin-top:14px;
  padding:11px 13px;
  border-radius:12px;
  font-size:14px;
}
body.eplan-redesign.client-ui .client-home-section-head{
  margin-bottom:10px;
}
body.eplan-redesign.client-ui .client-home-section-head h2{
  font-size:20px;
}
body.eplan-redesign.client-ui .client-home-today-grid{
  gap:9px;
  margin-bottom:22px;
}
body.eplan-redesign.client-ui .client-home-today-card{
  min-height:148px;
  padding:14px 13px 13px;
  border-radius:17px;
}
body.eplan-redesign.client-ui .client-home-today-icon{
  width:34px;height:34px;border-radius:11px;
}
body.eplan-redesign.client-ui .client-home-today-card small{
  font-size:11px;
}
body.eplan-redesign.client-ui .client-home-today-card strong{
  font-size:16px;
  line-height:1.15;
}
body.eplan-redesign.client-ui .client-home-today-card em{
  font-size:11px;
  min-height:27px;
}
body.eplan-redesign.client-ui .client-home-metrics{
  gap:7px;
}
body.eplan-redesign.client-ui .client-home-metric{
  min-height:132px;
  padding:11px 9px;
  border-radius:16px;
}
body.eplan-redesign.client-ui .client-home-metric-icon{
  width:31px;height:31px;border-radius:10px;
}
body.eplan-redesign.client-ui .client-home-metric>span:nth-child(2){
  font-size:10.5px;
}
body.eplan-redesign.client-ui .client-home-metric strong{
  font-size:18px;
}
body.eplan-redesign.client-ui .client-home-metric em{
  font-size:10px;
  color:#1aa15f;
}
body.eplan-redesign.client-ui .client-home-metric:nth-child(2) .client-home-metric-icon{
  background:#e9f8ef;
  color:#22a060;
}
body.eplan-redesign.client-ui .client-home-training-metric .client-home-metric-icon{
  background:#edf4ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .home-week-bars{
  width:100%;
  display:grid;
  grid-template-columns:repeat(7,1fr);
  align-items:end;
  gap:2px;
  height:26px;
  margin-top:3px;
}
body.eplan-redesign.client-ui .home-week-bars i{
  display:block;
  width:100%;
  border-radius:3px 3px 1px 1px;
  background:#dfe7f2;
}
body.eplan-redesign.client-ui .home-week-bars i.done{
  background:#1677ff;
}
body.eplan-redesign.client-ui .client-bottom-nav{
  width:min(440px,100%);
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));
}
body.eplan-redesign.client-ui .client-bottom-nav button{
  min-height:52px;
  border-radius:12px;
  font-size:10px;
}
body.eplan-redesign.client-ui .client-bottom-nav .ui-icon{
  width:20px;height:20px;
}
@media(min-width:761px){
  body.eplan-redesign.client-ui .wrap.client-shell{
    margin-top:18px;
    margin-bottom:18px;
    border-radius:30px;
    box-shadow:0 18px 50px rgba(35,65,105,.13);
  }
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:min(420px,calc(100% - 32px));
  }
}


/* Redesign V1 — Training tab */
body.eplan-redesign.client-ui .redesign-training-page>h1{
  margin:4px 2px 14px;
  font-size:28px;
  letter-spacing:-.025em;
}
body.eplan-redesign.client-ui .redesign-training-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  padding:5px;
  margin-bottom:16px;
  border-radius:15px;
  background:#edf2f8;
}
body.eplan-redesign.client-ui .redesign-training-tabs button{
  min-width:0;
  padding:10px 8px;
  border-radius:11px;
  border:0!important;
  background:transparent!important;
  color:#66758d!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:800;
}
body.eplan-redesign.client-ui .redesign-training-tabs button.active{
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 4px 12px rgba(42,72,108,.08)!important;
}

body.eplan-redesign.client-ui .redesign-training-summary{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  padding:16px;
  margin-bottom:12px;
  border-radius:17px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 22px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .redesign-training-summary>div:first-child{
  display:flex;flex-direction:column;gap:2px;
}
body.eplan-redesign.client-ui .redesign-training-summary span{
  color:#74839a;font-size:11px;font-weight:750;
}
body.eplan-redesign.client-ui .redesign-training-summary strong{
  font-size:16px;color:#0a1738;
}
body.eplan-redesign.client-ui .redesign-training-summary>b{
  color:#1677ff;font-size:13px;
}
body.eplan-redesign.client-ui .redesign-training-cycle{
  height:7px;border-radius:99px;background:#e8eef6;overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-training-cycle i{
  display:block;height:100%;border-radius:inherit;background:#1677ff;
}

body.eplan-redesign.client-ui .redesign-training-day-list{
  display:grid;
  gap:10px;
}
/* Keep training cards visually separate from the collapsible training rules. */
body.eplan-redesign.client-ui .redesign-training-help + .redesign-training-day-list{
  margin-top:16px;
}
body.eplan-redesign.client-ui .redesign-training-day{
  border:1px solid #e1e8f2;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(35,70,108,.055);
}
body.eplan-redesign.client-ui .redesign-training-day.is-next{
  border-color:#b8d7ff;
  box-shadow:0 10px 28px rgba(22,119,255,.09);
}
body.eplan-redesign.client-ui .redesign-training-day.is-done{
  background:#fbfdfc;
}
body.eplan-redesign.client-ui .redesign-training-day-main{
  width:100%;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto 18px;
  gap:10px;
  align-items:center;
  padding:14px;
  text-align:left;
  background:#fff!important;
  color:#0a1738!important;
  border:0!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .redesign-training-day-index{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#edf4ff;
  color:#1677ff;
  font-weight:900;
}
body.eplan-redesign.client-ui .is-done .redesign-training-day-index{
  background:#eaf8ef;
  color:#1a9f5b;
}
body.eplan-redesign.client-ui .redesign-training-day-copy{
  min-width:0;
  display:flex;flex-direction:column;gap:2px;
}
body.eplan-redesign.client-ui .redesign-training-day-copy strong{
  font-size:16px;line-height:1.15;
}
body.eplan-redesign.client-ui .redesign-training-day-copy small{
  font-size:12px;color:#61718a;font-weight:750;
}
body.eplan-redesign.client-ui .redesign-training-day-copy em{
  font-size:10.5px;color:#8a96a9;font-style:normal;font-weight:650;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.eplan-redesign.client-ui .redesign-training-day-status{
  padding:6px 8px;
  border-radius:999px;
  background:#f1f5fa;
  color:#738199;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .is-next .redesign-training-day-status{
  background:#eaf3ff;color:#1677ff;
}
body.eplan-redesign.client-ui .is-done .redesign-training-day-status{
  background:#e9f8ef;color:#199456;
}
body.eplan-redesign.client-ui .redesign-training-chevron{
  color:#8b99ad;font-size:18px;transition:.15s;
}
body.eplan-redesign.client-ui .redesign-training-day-main.open .redesign-training-chevron{
  transform:rotate(180deg);
}
body.eplan-redesign.client-ui .redesign-training-day-body{
  padding:0 14px 14px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-training-exercises{
  display:grid;
}
body.eplan-redesign.client-ui .redesign-training-exercise{
  display:grid;
  grid-template-columns:25px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-training-exercise:last-child{border-bottom:0}
body.eplan-redesign.client-ui .redesign-training-exercise>span{
  width:24px;height:24px;display:grid;place-items:center;
  border-radius:8px;background:#f0f4f9;color:#6d7c93;font-size:11px;font-weight:850;
}
body.eplan-redesign.client-ui .redesign-training-exercise>div{
  min-width:0;display:flex;flex-direction:column;gap:2px;
}
body.eplan-redesign.client-ui .redesign-training-exercise strong{
  font-size:13px;color:#10213f;
}
body.eplan-redesign.client-ui .redesign-training-exercise small{
  font-size:10.5px;color:#7b899e;font-weight:650;
}
body.eplan-redesign.client-ui .redesign-training-exercise>b{
  font-size:10px;color:#64758d;white-space:nowrap;
}
body.eplan-redesign.client-ui .redesign-start-workout{
  width:100%;
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  background:#1677ff!important;
  color:#fff!important;
  font-size:13px;
}

body.eplan-redesign.client-ui .redesign-training-help{
  margin-top:12px;
  border:1px solid #e1e8f2;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-training-help>button{
  width:100%;
  display:grid;
  grid-template-columns:38px 1fr auto;
  gap:10px;
  align-items:center;
  padding:14px;
  text-align:left;
  background:#fff!important;
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .redesign-training-help>button>span:nth-child(2){
  display:flex;flex-direction:column;gap:2px;
}
body.eplan-redesign.client-ui .redesign-training-help>button strong{font-size:14px}
body.eplan-redesign.client-ui .redesign-training-help>button small{font-size:11px;color:#7c899e}
body.eplan-redesign.client-ui .redesign-training-help-body{
  padding:0 14px 14px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-training-help-body .card{
  margin:12px 0 0;
  box-shadow:none;
}

body.eplan-redesign.client-ui .redesign-client-library{
  display:grid;gap:11px;
}
body.eplan-redesign.client-ui .redesign-library-group{
  overflow:hidden;
  border:1px solid #e1e8f2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .redesign-library-group-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 14px;
  background:#f8faff;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-library-group-head strong{font-size:14px}
body.eplan-redesign.client-ui .redesign-library-group-head span{
  min-width:27px;height:24px;padding:0 8px;display:grid;place-items:center;
  border-radius:999px;background:#e9f3ff;color:#1677ff;font-size:10px;font-weight:850;
}
body.eplan-redesign.client-ui .redesign-library-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-library-row:last-child{border-bottom:0}
body.eplan-redesign.client-ui .redesign-library-row>div{display:flex;flex-direction:column;gap:2px;min-width:0}
body.eplan-redesign.client-ui .redesign-library-row strong{font-size:13px}
body.eplan-redesign.client-ui .redesign-library-row small{font-size:10.5px;color:#7c899d}
body.eplan-redesign.client-ui .redesign-library-video{
  color:#1677ff!important;text-decoration:none;font-size:11px;font-weight:850;white-space:nowrap;
}

body.eplan-redesign.client-ui .redesign-training-stat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;
}
body.eplan-redesign.client-ui .redesign-training-stat-grid>div{
  min-width:0;min-height:112px;
  padding:12px 9px;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  border-radius:16px;background:#fff;border:1px solid #e1e8f2;
  box-shadow:0 7px 20px rgba(35,70,108,.045);
}
body.eplan-redesign.client-ui .redesign-training-stat-grid span{
  width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#edf4ff;color:#1677ff;
}
body.eplan-redesign.client-ui .redesign-training-stat-grid .ui-icon{width:17px;height:17px}
body.eplan-redesign.client-ui .redesign-training-stat-grid strong{font-size:20px}
body.eplan-redesign.client-ui .redesign-training-stat-grid small{font-size:10px;color:#76859b;line-height:1.2}
body.eplan-redesign.client-ui .redesign-training-last{
  padding:16px;
  display:flex;flex-direction:column;gap:4px;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .redesign-training-last>span{font-size:11px;color:#7b899e;font-weight:800}
body.eplan-redesign.client-ui .redesign-training-last>strong{font-size:18px}
body.eplan-redesign.client-ui .redesign-training-last>small{font-size:11px;color:#7b899e}
body.eplan-redesign.client-ui .redesign-training-details{
  width:100%;
  display:flex;justify-content:space-between;align-items:center;
  padding:13px 15px;
  border-radius:14px;
  background:#edf4ff!important;color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-empty-panel{
  padding:24px 18px;
  display:flex;flex-direction:column;gap:5px;text-align:center;
  border:1px dashed #cfd9e8;border-radius:18px;background:#fff;
}
body.eplan-redesign.client-ui .redesign-empty-panel strong{font-size:16px}
body.eplan-redesign.client-ui .redesign-empty-panel span{font-size:12px;color:#7c899d}

body.eplan-redesign.client-ui .redesign-active-workout{
  box-shadow:0 10px 30px rgba(35,70,108,.06);
}
body.eplan-redesign.client-ui .redesign-active-workout h2{
  margin-top:8px;
}

@media(max-width:370px){
  body.eplan-redesign.client-ui .redesign-training-tabs button{font-size:11px;padding:9px 5px}
  body.eplan-redesign.client-ui .redesign-training-day-main{grid-template-columns:36px minmax(0,1fr) 16px}
  body.eplan-redesign.client-ui .redesign-training-day-status{display:none}
  body.eplan-redesign.client-ui .redesign-training-day-index{width:34px;height:34px}
}


/* Training polish — compact secondary header + clean rules accordion */
body.eplan-redesign.client-ui .client-top.client-top-compact{
  min-height:54px;
  margin-bottom:6px;
  padding-top:6px;
  padding-bottom:6px;
  border-bottom:0;
  background:rgba(248,251,255,.92);
}
body.eplan-redesign.client-ui .client-top.client-top-compact .client-top-actions{
  margin-left:auto;
}

body.eplan-redesign.client-ui .redesign-training-help{
  margin-top:12px;
  border:1px solid #e1e8f2;
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .redesign-training-help>button{
  border-radius:0!important;
}
body.eplan-redesign.client-ui .redesign-training-rule-chevron{
  color:#8b99ad;
  font-size:18px;
  transition:transform .15s ease;
}
body.eplan-redesign.client-ui .redesign-training-help>button.open .redesign-training-rule-chevron{
  transform:rotate(180deg);
}
body.eplan-redesign.client-ui .redesign-training-help-body{
  padding:4px 14px 12px;
  background:#fbfdff;
}
body.eplan-redesign.client-ui .redesign-rule-item{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .redesign-rule-item:last-child{border-bottom:0}
body.eplan-redesign.client-ui .redesign-rule-item>b{
  width:26px;height:26px;
  display:grid;place-items:center;
  border-radius:9px;
  background:#edf4ff;
  color:#1677ff;
  font-size:11px;
}
body.eplan-redesign.client-ui .redesign-rule-item>div{
  min-width:0;
}
body.eplan-redesign.client-ui .redesign-rule-item strong{
  display:block;
  font-size:13px;
  color:#10213f;
  margin-bottom:3px;
}
body.eplan-redesign.client-ui .redesign-rule-item p{
  margin:0;
  color:#738199;
  font-size:11px;
  line-height:1.45;
}


/* Redesign V1 — Progress tab */
body.eplan-redesign.client-ui .redesign-progress-page{display:block}
body.eplan-redesign.client-ui .redesign-progress-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  padding:5px;
  margin-bottom:16px;
  border-radius:15px;
  background:#edf2f8;
}
body.eplan-redesign.client-ui .redesign-progress-tabs button{
  min-width:0;
  padding:10px 8px;
  border-radius:11px;
  background:transparent!important;
  color:#66758d!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:800;
}
body.eplan-redesign.client-ui .redesign-progress-tabs button.active{
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:0 4px 12px rgba(22,119,255,.16)!important;
}
body.eplan-redesign.client-ui .redesign-progress-topgrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .redesign-progress-kpi{
  min-width:0;
  min-height:126px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  padding:14px;
  text-align:left;
  border-radius:18px;
  background:#fff!important;
  color:#0a1738!important;
  border:1px solid #e1e8f2!important;
  box-shadow:0 8px 24px rgba(35,70,108,.05)!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .kpi-icon{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:11px;
  margin-bottom:2px;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .kpi-icon.blue{background:#edf4ff;color:#1677ff}
body.eplan-redesign.client-ui .redesign-progress-kpi .kpi-icon.green{background:#eaf8ef;color:#1b9a5b}
body.eplan-redesign.client-ui .redesign-progress-kpi .ui-icon{width:18px;height:18px}
body.eplan-redesign.client-ui .redesign-progress-kpi>small{font-size:11px;color:#75839a;font-weight:800}
body.eplan-redesign.client-ui .redesign-progress-kpi strong{font-size:21px;line-height:1.1}
body.eplan-redesign.client-ui .redesign-progress-kpi small.good{color:#169754}
body.eplan-redesign.client-ui .redesign-progress-kpi small.warn{color:#d47718}

body.eplan-redesign.client-ui .redesign-progress-week,
body.eplan-redesign.client-ui .redesign-progress-chart-card{
  padding:16px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .progress-kicker{
  display:block;
  font-size:11px;
  color:#75839a;
  font-weight:800;
  margin-bottom:4px;
}
body.eplan-redesign.client-ui .redesign-progress-week strong,
body.eplan-redesign.client-ui .redesign-progress-chart-card strong{
  display:block;
  font-size:19px;
}
body.eplan-redesign.client-ui .progress-week-icon{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#edf4ff;color:#1677ff;
}
body.eplan-redesign.client-ui .progress-week-icon .ui-icon{width:20px;height:20px}
body.eplan-redesign.client-ui .progress-week-bars{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:5px;
  margin-top:14px;
}
body.eplan-redesign.client-ui .progress-week-bars i{
  height:7px;
  border-radius:99px;
  background:#e4eaf3;
}
body.eplan-redesign.client-ui .progress-week-bars i.done{background:#1677ff}
body.eplan-redesign.client-ui .redesign-progress-chart-card .between>button{
  padding:0!important;
  background:transparent!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:11px;
}
body.eplan-redesign.client-ui .redesign-weight-chart{
  margin-top:12px;
}
body.eplan-redesign.client-ui .redesign-weight-chart svg{
  width:100%;
  height:112px;
  overflow:visible;
}
body.eplan-redesign.client-ui .chart-axis{stroke:#e5ebf3;stroke-width:.7}
body.eplan-redesign.client-ui .chart-line{
  fill:none;
  stroke:#1677ff;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.eplan-redesign.client-ui .chart-dot{
  fill:#fff;
  stroke:#1677ff;
  stroke-width:1.5;
}
body.eplan-redesign.client-ui .redesign-weight-chart-labels{
  display:flex;
  justify-content:space-between;
  margin-top:-2px;
  color:#8290a4;
  font-size:10px;
  font-weight:700;
}
body.eplan-redesign.client-ui .redesign-progress-empty-chart{
  padding:22px 4px 4px;
  color:#8290a4;
  font-size:11px;
  line-height:1.4;
}
body.eplan-redesign.client-ui .redesign-progress-achievements{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .redesign-progress-achievements>div{
  min-width:0;
  padding:13px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:3px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .achievement-icon{
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:10px;
  margin-bottom:2px;
}
body.eplan-redesign.client-ui .achievement-icon.trophy{background:#fff5db;color:#d79500}
body.eplan-redesign.client-ui .achievement-icon.fire{background:#fff0e6;color:#e36822}
body.eplan-redesign.client-ui .achievement-icon.blue{background:#edf4ff;color:#1677ff}
body.eplan-redesign.client-ui .achievement-icon.green{background:#eaf8ef;color:#1b9a5b}
body.eplan-redesign.client-ui .achievement-icon .ui-icon{width:17px;height:17px}
body.eplan-redesign.client-ui .redesign-progress-achievements strong{font-size:18px}
body.eplan-redesign.client-ui .redesign-progress-achievements small{font-size:9.5px;line-height:1.2;color:#78879b}

body.eplan-redesign.client-ui .redesign-progress-measurements .card{
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .redesign-progress-training-list{
  display:grid;gap:9px;
}
body.eplan-redesign.client-ui .redesign-progress-training-row{
  width:100%;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:13px 14px;
  text-align:left;
  border-radius:17px;
  background:#fff!important;
  color:#0a1738!important;
  border:1px solid #e1e8f2!important;
  box-shadow:0 8px 22px rgba(35,70,108,.045)!important;
}
body.eplan-redesign.client-ui .training-row-icon{
  width:36px;height:36px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#edf4ff;color:#1677ff;
}
body.eplan-redesign.client-ui .training-row-icon .ui-icon{width:18px;height:18px}
body.eplan-redesign.client-ui .redesign-progress-training-row>span:nth-child(2){
  display:flex;flex-direction:column;gap:2px;min-width:0;
}
body.eplan-redesign.client-ui .redesign-progress-training-row strong{font-size:13px}
body.eplan-redesign.client-ui .redesign-progress-training-row small{font-size:10.5px;color:#7b899d}
body.eplan-redesign.client-ui .redesign-progress-training-row>b{color:#8a98ab;font-size:18px}

body.eplan-redesign.client-ui .redesign-progress-workout-detail>.unified-back-button{margin:4px 0 14px}
body.eplan-redesign.client-ui .progress-workout-detail-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  padding:20px;border:1px solid #e1e8f2;border-radius:22px;background:#fff;
  box-shadow:0 8px 24px rgba(35,70,108,.05);margin-bottom:12px;
}
body.eplan-redesign.client-ui .progress-workout-detail-hero>div:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
body.eplan-redesign.client-ui .progress-workout-detail-hero span{font-size:11px;font-weight:800;color:#74839c;text-transform:uppercase;letter-spacing:.04em}
body.eplan-redesign.client-ui .progress-workout-detail-hero h1{margin:0;font-size:24px;line-height:1.1;color:#0a1738}
body.eplan-redesign.client-ui .progress-workout-detail-hero small{font-size:13px;font-weight:700;color:#74839c}
body.eplan-redesign.client-ui .progress-workout-detail-duration{flex:0 0 auto;text-align:right}
body.eplan-redesign.client-ui .progress-workout-detail-duration strong{display:block;margin-top:4px;font-size:18px;color:#0a1738}
body.eplan-redesign.client-ui .progress-workout-detail-section{
  margin-top:12px;padding:18px;border:1px solid #e1e8f2;border-radius:22px;background:#fff;
  box-shadow:0 8px 24px rgba(35,70,108,.05)
}
body.eplan-redesign.client-ui .progress-workout-detail-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
body.eplan-redesign.client-ui .progress-workout-detail-section-head span{font-size:18px;font-weight:850;color:#0a1738}
body.eplan-redesign.client-ui .progress-workout-detail-section-head strong{min-width:30px;height:30px;padding:0 9px;display:grid;place-items:center;border-radius:10px;background:#edf4ff;color:#1677ff;font-size:13px}
body.eplan-redesign.client-ui .progress-workout-exercise{padding:14px 0;border-top:1px solid #edf1f6}
body.eplan-redesign.client-ui .progress-workout-exercise:first-of-type{border-top:0;padding-top:6px}
body.eplan-redesign.client-ui .progress-workout-exercise-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
body.eplan-redesign.client-ui .progress-workout-exercise-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
body.eplan-redesign.client-ui .progress-workout-exercise-head strong{font-size:15px;color:#0a1738}
body.eplan-redesign.client-ui .progress-workout-exercise-head>span{flex:0 0 auto;font-size:11px;font-weight:800;color:#7b899d}
body.eplan-redesign.client-ui .progress-workout-sets{display:grid;gap:7px}
body.eplan-redesign.client-ui .progress-workout-sets .calendar-workout-set{margin:0}
body.eplan-redesign.client-ui .progress-workout-aux{
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
  margin:0 0 8px;padding:8px 9px;border:1px solid #e0e7f0;border-radius:10px;background:#f8fafc
}
body.eplan-redesign.client-ui .progress-workout-aux small{
  color:#7d899b;font-size:9px;font-weight:900;margin-right:2px
}
body.eplan-redesign.client-ui .progress-workout-aux span{
  padding:4px 7px;border-radius:8px;background:#fff;color:#53647d;font-size:9.5px;font-weight:850
}
body.eplan-redesign.client-ui .progress-workout-set-group{display:grid;gap:4px}
body.eplan-redesign.client-ui .progress-workout-drop{
  display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px;
  margin-left:20px;padding:5px 9px;border-left:2px solid #dbe4ee;border-radius:0 9px 9px 0;background:#fafbfd
}
body.eplan-redesign.client-ui .progress-workout-drop span{
  color:#8491a4;font-size:9px;font-weight:800
}
body.eplan-redesign.client-ui .progress-workout-drop strong{
  color:#53647d;font-size:10px;font-weight:850
}
@media(max-width:430px){
 body.eplan-redesign.client-ui .progress-workout-detail-hero{align-items:flex-start}
 body.eplan-redesign.client-ui .progress-workout-detail-duration strong{font-size:16px}
}

@media(max-width:370px){
  body.eplan-redesign.client-ui .redesign-progress-tabs button{font-size:11px}
  body.eplan-redesign.client-ui .redesign-progress-achievements{gap:6px}
  body.eplan-redesign.client-ui .redesign-progress-achievements>div{padding:11px 7px}
}


/* iPhone/PWA spacing correction — override legacy fixed-header reserve */
body.eplan-redesign.client-ui .wrap.client-shell{
  padding-top:8px!important;
  padding-bottom:calc(112px + env(safe-area-inset-bottom))!important;
}
body.eplan-redesign.client-ui .client-top{
  margin-top:0!important;
}
body.eplan-redesign.client-ui .client-top.client-top-compact{
  min-height:48px!important;
  margin-bottom:2px!important;
  padding-top:4px!important;
  padding-bottom:4px!important;
}
body.eplan-redesign.client-ui .client-top:not(.client-top-compact){
  min-height:66px!important;
  margin-bottom:12px!important;
  padding-top:8px!important;
  padding-bottom:10px!important;
}

/* Keep the bottom navigation visibly above the iPhone edge */
body.eplan-redesign.client-ui .client-bottom-nav{
  bottom:calc(10px + env(safe-area-inset-bottom))!important;
  width:min(424px,calc(100% - 16px))!important;
  padding:6px 8px 7px!important;
  border:1px solid #dde6f1!important;
  border-radius:18px!important;
  box-shadow:0 10px 30px rgba(30,61,102,.14)!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button{
  min-height:50px!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:calc(100% - 12px)!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
  }
}


/* Bottom navigation flush with iPhone edge */
body.eplan-redesign.client-ui .client-bottom-nav{
  bottom:0!important;
  width:100%!important;
  max-width:440px!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;
  box-shadow:0 -8px 24px rgba(30,61,102,.10)!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:100%!important;
    bottom:0!important;
  }
}


/* Bottom navigation polish */
body.eplan-redesign.client-ui .client-bottom-nav{
  border-radius:0!important;
}
body.eplan-redesign.client-ui .client-bottom-nav .ui-icon{
  transform:translateY(-2px);
}


/* Redesign V1 — Nutrition tab */
body.eplan-redesign.client-ui .redesign-nutrition-page>h1,
body.eplan-redesign.client-ui .redesign-bju-page h1{
  margin:4px 2px 14px;
  font-size:28px;
  letter-spacing:-.025em;
}
body.eplan-redesign.client-ui .redesign-nutrition-tabs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px;
  padding:5px;
  margin-bottom:16px;
  border-radius:15px;
  background:#edf2f8;
}
body.eplan-redesign.client-ui .redesign-nutrition-tabs button{
  min-width:0;
  padding:10px 8px;
  border-radius:11px;
  background:transparent!important;
  color:#66758d!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:800;
}
body.eplan-redesign.client-ui .redesign-nutrition-tabs button.active{
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.client-ui .redesign-calorie-card{
  padding:16px;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .nutrition-kicker{
  display:block;
  color:#75839a;
  font-size:11px;
  font-weight:800;
  margin-bottom:4px;
}
body.eplan-redesign.client-ui .redesign-calorie-card strong,
body.eplan-redesign.client-ui .redesign-bju-summary strong{
  display:block;
  font-size:23px;
  color:#0a1738;
}
body.eplan-redesign.client-ui .redesign-calorie-card strong small,
body.eplan-redesign.client-ui .redesign-bju-summary strong small{
  font-size:13px;
  color:#718097;
}
body.eplan-redesign.client-ui .nutrition-fire{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#fff1e7;color:#e96f28;
  font-size:18px;
}
body.eplan-redesign.client-ui .redesign-calorie-progress{
  height:8px;
  margin-top:14px;
  border-radius:999px;
  background:#e8edf5;
  overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-calorie-progress i{
  display:block;height:100%;
  border-radius:inherit;
  background:#1677ff;
}
body.eplan-redesign.client-ui .redesign-calorie-meta{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:8px;
  color:#6f7f96;
  font-size:11px;
  font-weight:800;
}
body.eplan-redesign.client-ui .redesign-calorie-meta button,
body.eplan-redesign.client-ui .redesign-nutrition-section-head button{
  padding:0!important;background:transparent!important;color:#1677ff!important;
  border:0!important;box-shadow:none!important;font-size:11px;
}
body.eplan-redesign.client-ui .redesign-nutrition-section-head{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;margin:18px 2px 10px;
}
body.eplan-redesign.client-ui .redesign-nutrition-section-head h2{
  margin:0;font-size:19px;
}
body.eplan-redesign.client-ui .redesign-macro-grid,
body.eplan-redesign.client-ui .redesign-bju-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .redesign-macro-ring-card{
  min-width:0;
  padding:12px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e1e8f2;
  box-shadow:0 7px 20px rgba(35,70,108,.045);
}
body.eplan-redesign.client-ui .redesign-macro-ring{
  --ring:#1677ff;
  --pct:0;
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:50%;
  background:conic-gradient(var(--ring) calc(var(--pct)*1%),#e9eef5 0);
  position:relative;
}
body.eplan-redesign.client-ui .redesign-macro-ring:after{
  content:"";
  position:absolute;inset:7px;
  border-radius:50%;
  background:#fff;
}
body.eplan-redesign.client-ui .redesign-macro-ring>span{
  position:relative;z-index:1;
  font-size:11px;font-weight:900;color:#0a1738;
}
body.eplan-redesign.client-ui .redesign-macro-ring.orange{--ring:#f0a318}
body.eplan-redesign.client-ui .redesign-macro-ring.green{--ring:#20a664}
body.eplan-redesign.client-ui .redesign-macro-ring-card>strong{font-size:12px}
body.eplan-redesign.client-ui .redesign-macro-ring-card>small{
  color:#718097;font-size:9.5px;text-align:center;
}
body.eplan-redesign.client-ui .redesign-nutrition-actions{
  margin:12px 0 16px;
}
body.eplan-redesign.client-ui .redesign-nutrition-actions button{
  width:100%;
  display:flex;align-items:center;justify-content:center;gap:7px;
  border-radius:13px;
  padding:12px;
  background:#edf4ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-nutrition-actions .ui-icon{width:17px;height:17px}

body.eplan-redesign.client-ui .redesign-nutrition-summary-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;
}
body.eplan-redesign.client-ui .redesign-nutrition-summary-grid>div{
  padding:14px;border-radius:17px;background:#fff;border:1px solid #e1e8f2;
  box-shadow:0 7px 20px rgba(35,70,108,.045);
}
body.eplan-redesign.client-ui .redesign-nutrition-summary-grid span{
  display:block;color:#74839a;font-size:10px;font-weight:800;
}
body.eplan-redesign.client-ui .redesign-nutrition-summary-grid strong{
  display:block;margin-top:4px;font-size:21px;
}
body.eplan-redesign.client-ui .redesign-nutrition-summary-grid small{
  color:#7d8a9d;font-size:10px;
}
body.eplan-redesign.client-ui .redesign-nutrition-average{
  padding:16px;border-radius:18px;
}
body.eplan-redesign.client-ui .redesign-nutrition-average strong{font-size:18px}
body.eplan-redesign.client-ui .redesign-average-bars{display:grid;gap:9px;margin-top:13px}
body.eplan-redesign.client-ui .redesign-average-bars>span{
  display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:center;
}
body.eplan-redesign.client-ui .redesign-average-bars b{font-size:11px;color:#62738b}
body.eplan-redesign.client-ui .redesign-average-bars i{
  display:block;height:7px;border-radius:99px;background:#e7edf5;overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-average-bars em{
  display:block;height:100%;border-radius:inherit;background:#1677ff;
}
body.eplan-redesign.client-ui .redesign-nutrition-day-list{
  display:grid;gap:8px;
}
body.eplan-redesign.client-ui .redesign-nutrition-day-row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 14px;border-radius:15px;background:#fff;border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .redesign-nutrition-day-row>div{display:flex;flex-direction:column;gap:2px}
body.eplan-redesign.client-ui .redesign-nutrition-day-row strong{font-size:12px}
body.eplan-redesign.client-ui .redesign-nutrition-day-row small,
body.eplan-redesign.client-ui .redesign-nutrition-day-row>span{font-size:10px;color:#77869a}

body.eplan-redesign.client-ui .redesign-bju-summary{
  padding:16px;border-radius:18px;
}
body.eplan-redesign.client-ui .redesign-bju-summary>span{
  display:block;color:#75839a;font-size:11px;font-weight:800;margin-bottom:4px;
}
body.eplan-redesign.client-ui .redesign-bju-detail-grid{margin-top:12px}
body.eplan-redesign.client-ui .redesign-back-title{
  display:grid;
  grid-template-columns:38px 1fr;
  align-items:center;
  gap:4px;
}
body.eplan-redesign.client-ui .redesign-back-title h1{margin:0}
body.eplan-redesign.client-ui .redesign-back-title>button{
  width:34px;height:34px;padding:0;
  border-radius:11px;background:#edf3fb!important;color:#0a1738!important;
  font-size:25px;line-height:1;
}
body.eplan-redesign.client-ui .redesign-nutrition-modal{
  max-width:440px;
}
body.eplan-redesign.client-ui .redesign-nutrition-modal h2{margin-bottom:4px}
body.eplan-redesign.client-ui .redesign-nutrition-modal p{margin-top:0}

@media(max-width:370px){
  body.eplan-redesign.client-ui .redesign-macro-grid,
  body.eplan-redesign.client-ui .redesign-bju-detail-grid{gap:6px}
  body.eplan-redesign.client-ui .redesign-macro-ring{width:52px;height:52px}
}


/* Bottom navigation — translucent fixed bar like the reference */
body.eplan-redesign.client-ui .client-bottom-nav{
  position:fixed!important;
  left:50%!important;
  bottom:0!important;
  transform:translateX(-50%)!important;
  width:100%!important;
  max-width:440px!important;
  z-index:950!important;
  background:rgba(255,255,255,.82)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.25)!important;
  backdrop-filter:blur(18px) saturate(1.25)!important;
  border-top:1px solid rgba(215,225,238,.88)!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  box-shadow:0 -10px 28px rgba(29,58,96,.10)!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button{
  background:transparent!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:rgba(234,243,255,.9)!important;
}

/* More space between BJU title row and summary card */
body.eplan-redesign.client-ui .redesign-bju-page .redesign-back-title{
  margin-bottom:18px!important;
}


/* Make bottom navigation translucency visually obvious on light screens */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(232,239,249,.78)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.35)!important;
  backdrop-filter:blur(22px) saturate(1.35)!important;
  border-top:1px solid rgba(184,199,219,.55)!important;
  box-shadow:0 -8px 24px rgba(24,54,91,.12)!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button{
  background:transparent!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:rgba(255,255,255,.58)!important;
  color:#1677ff!important;
}


/* Floating glass bottom navigation — inspired by Lyfta/Rozetka */
body.eplan-redesign.client-ui .client-bottom-nav{
  position:fixed!important;
  left:50%!important;
  bottom:calc(12px + env(safe-area-inset-bottom))!important;
  transform:translateX(-50%)!important;
  width:min(410px,calc(100% - 24px))!important;
  max-width:none!important;
  z-index:950!important;

  display:grid!important;
  grid-template-columns:repeat(5,1fr)!important;
  gap:4px!important;

  padding:7px 8px!important;
  border:1px solid rgba(168,184,205,.42)!important;
  border-radius:26px!important;

  background:rgba(242,247,253,.72)!important;
  -webkit-backdrop-filter:blur(22px) saturate(1.35)!important;
  backdrop-filter:blur(22px) saturate(1.35)!important;

  box-shadow:
    0 10px 30px rgba(30,61,102,.16),
    inset 0 1px 0 rgba(255,255,255,.72)!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button{
  min-height:54px!important;
  padding:6px 4px!important;
  border-radius:18px!important;
  background:transparent!important;
  color:#6f7f96!important;
  box-shadow:none!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:rgba(255,255,255,.62)!important;
  color:#1677ff!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 4px 12px rgba(63,104,155,.10)!important;
}

body.eplan-redesign.client-ui .client-bottom-nav .ui-icon{
  width:21px!important;
  height:21px!important;
  transform:translateY(-1px)!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button span{
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1.05!important;
}

body.eplan-redesign.client-ui .wrap.client-shell{
  padding-bottom:calc(128px + env(safe-area-inset-bottom))!important;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:calc(100% - 18px)!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
    border-radius:24px!important;
  }
}


/* Redesign V1 — More tab */
body.eplan-redesign.client-ui .redesign-more-page>h1,
body.eplan-redesign.client-ui .redesign-more-subpage h1{
  margin:4px 2px 14px;
  font-size:28px;
  letter-spacing:-.025em;
}
body.eplan-redesign.client-ui .redesign-more-list{
  display:grid;
  gap:9px;
}
body.eplan-redesign.client-ui .redesign-more-item{
  width:100%;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:13px 14px;
  text-align:left;
  border-radius:17px;
  background:#fff!important;
  color:#0a1738!important;
  border:1px solid #e1e8f2!important;
  box-shadow:0 8px 22px rgba(35,70,108,.045)!important;
}
body.eplan-redesign.client-ui .redesign-more-icon{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#edf4ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .redesign-more-icon.green{background:#eaf8ef;color:#1b9a5b}
body.eplan-redesign.client-ui .redesign-more-icon.orange{background:#fff3e7;color:#e17a22}
body.eplan-redesign.client-ui .redesign-more-icon .ui-icon{width:20px;height:20px}
body.eplan-redesign.client-ui .redesign-more-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.client-ui .redesign-more-copy strong{font-size:14px}
body.eplan-redesign.client-ui .redesign-more-copy small{font-size:10.5px;color:#7b899d}
body.eplan-redesign.client-ui .redesign-more-chevron{font-size:22px;color:#8a98ab}

body.eplan-redesign.client-ui .redesign-more-settings-card{
  margin-top:12px;
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-radius:17px;
  background:#fff;
  border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .redesign-more-settings-card>div:first-child{
  display:flex;flex-direction:column;gap:2px;
}
body.eplan-redesign.client-ui .redesign-more-settings-card strong{font-size:14px}
body.eplan-redesign.client-ui .redesign-more-settings-card small{font-size:10.5px;color:#7b899d}
body.eplan-redesign.client-ui .redesign-language-switch{
  display:flex;
  gap:5px;
  padding:4px;
  border-radius:12px;
  background:#eef3f9;
}
body.eplan-redesign.client-ui .redesign-language-switch button{
  min-width:42px;
  padding:8px 10px;
  border-radius:9px;
  background:transparent!important;
  color:#738198!important;
  box-shadow:none!important;
  font-size:11px;
}
body.eplan-redesign.client-ui .redesign-language-switch button.active{
  background:#fff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-more-logout{
  width:100%;
  margin-top:12px;
  padding:13px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  border-radius:15px;
  background:#fff2f2!important;
  color:#c8454e!important;
  border:1px solid #ffdadd!important;
}
body.eplan-redesign.client-ui .redesign-more-logout .ui-icon{width:18px;height:18px}

body.eplan-redesign.client-ui .redesign-more-subpage .redesign-back-title{
  margin-bottom:16px;
}
body.eplan-redesign.client-ui .redesign-achievements-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .redesign-achievements-grid>div{
  padding:14px 9px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:4px;
  border-radius:16px;
  background:#fff;
  border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .redesign-achievements-grid span{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#fff4db;color:#d29400;
  font-size:17px;
}
body.eplan-redesign.client-ui .redesign-achievements-grid strong{font-size:13px}
body.eplan-redesign.client-ui .redesign-achievements-grid small{font-size:9.5px;color:#7a889c;line-height:1.2}

body.eplan-redesign.client-ui .redesign-settings-panel{
  padding:16px;border-radius:18px;
}
body.eplan-redesign.client-ui .redesign-settings-panel>strong{font-size:15px}
body.eplan-redesign.client-ui .redesign-settings-panel p{font-size:11px;line-height:1.45}
body.eplan-redesign.client-ui .redesign-settings-panel .phone-notify-enable{
  margin:10px 0 0!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  border:1px solid #d7e7fb!important;
}

body.eplan-redesign.client-ui .redesign-help-list{
  display:grid;gap:9px;
}
body.eplan-redesign.client-ui .redesign-help-item{
  border:1px solid #e1e8f2;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-help-item>button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px;
  text-align:left;
  background:#fff!important;
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .redesign-help-item strong{font-size:13px}
body.eplan-redesign.client-ui .redesign-help-item>div{
  padding:0 14px 13px;
  color:#718097;
  font-size:11px;
  line-height:1.45;
}

@media(max-width:370px){
  body.eplan-redesign.client-ui .redesign-achievements-grid{gap:6px}
  body.eplan-redesign.client-ui .redesign-achievements-grid>div{padding:12px 7px}
}


/* Light-theme fixes for History calendar + Measurements */
body.eplan-redesign.client-ui .calendar-day{
  background:#f7f9fd!important;
  color:#183153!important;
  border:1px solid #dfe7f2!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .calendar-day.has-data{
  background:#fff!important;
  color:#0a1738!important;
  border-color:#b8cbe4!important;
}
body.eplan-redesign.client-ui .calendar-day.has-data:after{
  background:#1677ff!important;
}
body.eplan-redesign.client-ui .calendar-day.active{
  background:#1677ff!important;
  color:#fff!important;
  border-color:#1677ff!important;
}
body.eplan-redesign.client-ui .calendar-day.active:after{
  background:#fff!important;
}
body.eplan-redesign.client-ui .calendar-head button{
  background:#edf4ff!important;
  color:#183153!important;
  border:1px solid #dbe6f3!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .calendar-weekday{
  color:#718097!important;
}
body.eplan-redesign.client-ui .measurements-page .measurement-next{
  background:#fff!important;
  border-color:#dfe7f2!important;
}
body.eplan-redesign.client-ui .measurements-page .measurement-next.due{
  background:#f7fbff!important;
  border-color:#b8d7ff!important;
}
body.eplan-redesign.client-ui .measurements-page .measurement-kicker{
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .measurement-metric{
  background:#f8faff!important;
  border-color:#e1e8f2!important;
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .measurement-metric span,
body.eplan-redesign.client-ui .measurement-metric em,
body.eplan-redesign.client-ui .measurement-metric strong small{
  color:#718097!important;
}
body.eplan-redesign.client-ui .measurement-metric strong{
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .measurement-metric em.down{
  color:#1a9a59!important;
}
body.eplan-redesign.client-ui .measurement-metric em.up{
  color:#d7821e!important;
}
body.eplan-redesign.client-ui .measurement-tip{
  background:#f8faff!important;
  border-color:#e1e8f2!important;
}
body.eplan-redesign.client-ui .measurement-history-values span{
  background:#f4f7fb!important;
  border-color:#e1e8f2!important;
  color:#183153!important;
}


/* Measurements history accordion — light theme */
body.eplan-redesign.client-ui .measurements-page .exercise-toggle{
  background:transparent!important;
  color:#0a1738!important;
  border:0!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .measurements-page .exercise-toggle strong{
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .measurements-page .exercise-toggle .muted{
  color:#718097!important;
}
body.eplan-redesign.client-ui .measurements-page .exercise-toggle .arrow{
  color:#8a98ab!important;
}
body.eplan-redesign.client-ui .measurements-page>.card:last-child{
  padding:0!important;
  overflow:hidden;
  background:#fff!important;
  border:1px solid #e1e8f2!important;
}
body.eplan-redesign.client-ui .measurements-page>.card:last-child .exercise-toggle{
  width:100%;
  padding:16px 18px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.eplan-redesign.client-ui .measurement-history{
  margin-top:0!important;
  padding:0 18px 14px;
  border-top:1px solid #edf1f6;
  background:#fff;
}
body.eplan-redesign.client-ui .measurement-history-card{
  padding:14px 0!important;
  border-bottom:1px solid #edf1f6!important;
}
body.eplan-redesign.client-ui .measurement-history-card:last-child{
  border-bottom:0!important;
}
body.eplan-redesign.client-ui .measurement-history-date{
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .measurement-history-values span{
  background:#f6f9fd!important;
  border-color:#dfe7f2!important;
  color:#183153!important;
}


/* Rich Achievements screen */
body.eplan-redesign.client-ui .redesign-achievements-page{display:grid;gap:14px}
body.eplan-redesign.client-ui .achievement-streak-card{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:18px;border-radius:20px;
  background:linear-gradient(145deg,#fff8e9,#fffdf7);
  border:1px solid #f3ddb0;
  box-shadow:0 8px 22px rgba(88,63,20,.06);
}
body.eplan-redesign.client-ui .achievement-streak-card>div{display:flex;flex-direction:column;gap:3px}
body.eplan-redesign.client-ui .achievement-streak-card span:first-child{
  color:#8f6a19;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;
}
body.eplan-redesign.client-ui .achievement-streak-card strong{font-size:23px;color:#0a1738}
body.eplan-redesign.client-ui .achievement-streak-card small{font-size:10.5px;color:#7b8798}
body.eplan-redesign.client-ui .achievement-streak-icon{
  width:48px;height:48px;display:grid;place-items:center;
  border-radius:15px;background:#fff2c9;font-size:24px;
}

body.eplan-redesign.client-ui .achievement-activity-card,
body.eplan-redesign.client-ui .achievement-pr-card{
  padding:16px;border-radius:18px;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .achievement-kicker{
  display:block;color:#7a889d;font-size:10.5px;font-weight:800;margin-bottom:3px;
}
body.eplan-redesign.client-ui .achievement-activity-card strong{font-size:16px}
body.eplan-redesign.client-ui .achievement-count{
  font-size:10px;color:#738197;font-weight:800;
  padding:6px 9px;border-radius:999px;background:#f0f4f9;
}
body.eplan-redesign.client-ui .achievement-heatmap-wrap{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  gap:8px;
  margin-top:14px;
}
body.eplan-redesign.client-ui .achievement-heatmap-weekdays{
  display:grid;
  grid-template-rows:repeat(7,1fr);
  gap:5px;
}
body.eplan-redesign.client-ui .achievement-heatmap-weekdays span{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  color:#8a97aa;
  font-size:8.5px;
  font-weight:750;
  line-height:1;
}
body.eplan-redesign.client-ui .achievement-heatmap-main{
  min-width:0;
}
body.eplan-redesign.client-ui .achievement-heatmap{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  grid-template-rows:repeat(7,1fr);
  grid-auto-flow:column;
  gap:5px;
}
body.eplan-redesign.client-ui .achievement-heatmap i{
  aspect-ratio:1;
  min-width:0;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  border-radius:5px;
  background:#e6edf5;
}
body.eplan-redesign.client-ui .achievement-heatmap i.active{
  background:#1677ff;
  border-color:#1677ff;
  box-shadow:none;
}
body.eplan-redesign.client-ui .achievement-heatmap i.future{
  background:#f3f6fa;
  border-color:#edf1f6;
  box-shadow:none;
}
body.eplan-redesign.client-ui .achievement-heatmap i.today{
  box-shadow:0 0 0 2px #fff,0 0 0 3px #9fc7ff;
}
body.eplan-redesign.client-ui .achievement-heatmap-scale{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:7px;
  color:#8a97aa;
  font-size:8.5px;
  font-weight:750;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .achievement-heatmap-wrap{
    grid-template-columns:21px minmax(0,1fr);
    gap:6px;
  }
  body.eplan-redesign.client-ui .achievement-heatmap,
  body.eplan-redesign.client-ui .achievement-heatmap-weekdays{
    gap:4px;
  }
}

body.eplan-redesign.client-ui .achievement-section-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:2px 2px -4px;
}
body.eplan-redesign.client-ui .achievement-section-head h2{
  margin:0;font-size:18px;letter-spacing:-.015em;
}
body.eplan-redesign.client-ui .achievement-section-head>span{
  color:#75839a;font-size:10.5px;font-weight:800;
}
body.eplan-redesign.client-ui .achievement-section-head.inside{margin:0 0 10px}

body.eplan-redesign.client-ui .achievement-record-list{
  display:grid;gap:8px;
}
body.eplan-redesign.client-ui .achievement-record-row{
  display:grid;grid-template-columns:32px minmax(0,1fr) auto;
  gap:10px;align-items:center;
  padding:12px 13px;border-radius:15px;
  background:#fff;border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .record-rank{
  width:30px;height:30px;display:grid;place-items:center;
  border-radius:10px;background:#edf4ff;color:#1677ff;font-size:11px;font-weight:900;
}
body.eplan-redesign.client-ui .achievement-record-row>div{
  display:flex;flex-direction:column;gap:2px;min-width:0;
}
body.eplan-redesign.client-ui .achievement-record-row strong{
  font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.eplan-redesign.client-ui .achievement-record-row small{
  font-size:9.5px;color:#7a889c;
}
body.eplan-redesign.client-ui .achievement-record-row>b{
  font-size:12px;color:#0a1738;white-space:nowrap;
}

body.eplan-redesign.client-ui .achievement-pr-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .achievement-pr-head h2{
  margin:0;
  color:#0a1738;
  font-size:18px;
  line-height:1.12;
  letter-spacing:-.015em;
}
body.eplan-redesign.client-ui .achievement-pr-head>div:first-child>span{
  display:block;
  margin-top:4px;
  color:#7d8ba0;
  font-size:10.5px;
  font-weight:750;
}
body.eplan-redesign.client-ui .achievement-pr-summary{
  flex:0 0 auto;
  min-width:82px;
  padding:9px 11px;
  border:1px solid #d8ebde;
  border-radius:14px;
  background:#eef8f1;
  text-align:center;
}
body.eplan-redesign.client-ui .achievement-pr-summary strong{
  display:block;
  color:#178b57!important;
  font-size:22px!important;
  line-height:1;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary small{
  display:block;
  margin-top:4px;
  color:#5f7c69;
  font-size:9.5px;
  font-weight:800;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .achievement-pr-events{
  display:grid;
  gap:8px;
}
body.eplan-redesign.client-ui .achievement-pr-event{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border:1px solid #e1e9f2;
  border-radius:14px;
  background:#fff;
}
body.eplan-redesign.client-ui .achievement-pr-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#eef8f1;
  color:#178b57;
  font-size:16px;
  font-weight:900;
}
body.eplan-redesign.client-ui .achievement-pr-copy{
  min-width:0;
}
body.eplan-redesign.client-ui .achievement-pr-copy strong{
  display:block;
  overflow:hidden;
  color:#0a1738!important;
  font-size:12.5px!important;
  line-height:1.2;
  font-weight:850!important;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .achievement-pr-copy small{
  display:block;
  margin-top:3px;
  color:#8390a3;
  font-size:9.5px;
  font-weight:750;
}
body.eplan-redesign.client-ui .achievement-pr-values{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:4px;
  min-width:0;
}
body.eplan-redesign.client-ui .achievement-pr-main{
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:6px;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .achievement-pr-main span{
  color:#8a97aa;
  font-size:10.5px;
  font-weight:800;
}
body.eplan-redesign.client-ui .achievement-pr-main b{
  color:#178b57!important;
  font-size:12.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .achievement-pr-main.first b{
  font-size:13.5px!important;
}
body.eplan-redesign.client-ui .achievement-pr-delta{
  padding:3px 7px;
  border-radius:999px;
  background:#eef8f1;
  color:#178b57;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .achievement-pr-delta.first{
  background:#f2f5f8;
  color:#7c899d;
}
body.eplan-redesign.client-ui .achievement-pr-more{
  width:100%;
  min-height:42px;
  margin-top:10px;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#f3f6fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .achievement-pr-more span{
  color:#728198;
  font-size:16px;
  line-height:1;
}
body.eplan-redesign.client-ui .achievement-pr-more:active{
  transform:scale(.995);
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .achievement-pr-event{
    grid-template-columns:34px minmax(0,1fr);
    align-items:flex-start;
  }
  body.eplan-redesign.client-ui .achievement-pr-values{
    grid-column:2;
    align-items:flex-start;
    margin-top:2px;
  }
  body.eplan-redesign.client-ui .achievement-pr-main{
    justify-content:flex-start;
    flex-wrap:wrap;
    white-space:normal;
  }
  body.eplan-redesign.client-ui .achievement-pr-summary{
    min-width:74px;
    padding:8px 9px;
  }
}

body.eplan-redesign.client-ui .achievement-milestones{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
body.eplan-redesign.client-ui .achievement-milestones>div{
  min-width:0;display:flex;align-items:center;gap:8px;
  padding:11px 12px;border-radius:14px;
  background:#f7f9fc;border:1px solid #e4eaf2;color:#7c899d;
}
body.eplan-redesign.client-ui .achievement-milestones>div.done{
  background:#f2fbf6;border-color:#cdebd9;color:#137a49;
}
body.eplan-redesign.client-ui .achievement-milestones span{
  width:24px;height:24px;display:grid;place-items:center;
  border-radius:8px;background:#edf1f6;font-size:11px;font-weight:900;
}
body.eplan-redesign.client-ui .achievement-milestones .done span{
  background:#daf4e4;color:#15965a;
}
body.eplan-redesign.client-ui .achievement-milestones strong{
  min-width:0;font-size:10.5px;line-height:1.2;
}

body.eplan-redesign.client-ui .achievement-total-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
}
body.eplan-redesign.client-ui .achievement-total-grid>div{
  padding:13px 8px;text-align:center;border-radius:15px;
  background:#fff;border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .achievement-total-grid strong{
  display:block;font-size:18px;color:#0a1738;
}
body.eplan-redesign.client-ui .achievement-total-grid small{
  display:block;margin-top:2px;font-size:9px;color:#7b899d;
}


/* Floating glass nav — lighter transparency, no active capsule */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(255,255,255,.64)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.2)!important;
  backdrop-filter:blur(18px) saturate(1.2)!important;
  border:1px solid rgba(255,255,255,.58)!important;
  box-shadow:
    0 10px 28px rgba(31,58,96,.10),
    inset 0 1px 0 rgba(255,255,255,.42)!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button{
  background:transparent!important;
  box-shadow:none!important;
  color:#7b889f!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:transparent!important;
  box-shadow:none!important;
  color:#1677ff!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active::before,
body.eplan-redesign.client-ui .client-bottom-nav button.active::after{
  display:none!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active .ui-icon{
  color:#1677ff!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active span{
  color:#1677ff!important;
}

body.eplan-redesign.client-ui .client-bottom-nav{
  bottom:calc(10px + env(safe-area-inset-bottom))!important;
  width:min(408px,calc(100% - 22px))!important;
  border-radius:26px!important;
}


/* Final Lyfta-like frosted bottom navigation */
body.eplan-redesign.client-ui .client-bottom-nav{
  position:fixed!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  bottom:calc(12px + env(safe-area-inset-bottom))!important;
  width:min(414px,calc(100% - 24px))!important;
  max-width:none!important;
  z-index:950!important;

  padding:8px 10px!important;
  border-radius:28px!important;

  background:rgba(255,255,255,.52)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.3)!important;
  backdrop-filter:blur(24px) saturate(1.3)!important;

  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:
    0 10px 30px rgba(27,44,74,.10),
    inset 0 1px 0 rgba(255,255,255,.55)!important;

  overflow:hidden!important;
}

body.eplan-redesign.client-ui .client-bottom-nav::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.18) 0%,
    rgba(255,255,255,.04) 100%
  );
  pointer-events:none;
  z-index:0;
}

body.eplan-redesign.client-ui .client-bottom-nav button{
  position:relative!important;
  z-index:1!important;
  min-height:54px!important;
  padding:6px 4px!important;
  border-radius:20px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6f7c95!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:rgba(255,255,255,.34)!important;
  color:#1677ff!important;
  box-shadow:none!important;
}

body.eplan-redesign.client-ui .client-bottom-nav .ui-icon{
  width:21px!important;
  height:21px!important;
  opacity:.95!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button span{
  font-size:10.5px!important;
  font-weight:800!important;
}

body.eplan-redesign.client-ui .wrap.client-shell{
  padding-bottom:calc(132px + env(safe-area-inset-bottom))!important;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:calc(100% - 20px)!important;
    bottom:calc(10px + env(safe-area-inset-bottom))!important;
  }
}


/* Make the floating bottom nav genuinely transparent on light screens */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(255,255,255,.28)!important;
  -webkit-backdrop-filter:blur(20px) saturate(1.18)!important;
  backdrop-filter:blur(20px) saturate(1.18)!important;
  border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:
    0 10px 28px rgba(24,47,80,.08),
    inset 0 1px 0 rgba(255,255,255,.36)!important;
}

body.eplan-redesign.client-ui .client-bottom-nav::before{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.08) 0%,
    rgba(255,255,255,.015) 100%
  )!important;
}

body.eplan-redesign.client-ui .client-bottom-nav button,
body.eplan-redesign.client-ui .client-bottom-nav button.active{
  background:transparent!important;
  box-shadow:none!important;
}


/* Stronger transparency for floating glass bottom navigation */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(255,255,255,.16)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.12)!important;
  backdrop-filter:blur(18px) saturate(1.12)!important;
  border:1px solid rgba(255,255,255,.42)!important;
  box-shadow:
    0 8px 24px rgba(24,47,80,.06),
    inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.eplan-redesign.client-ui .client-bottom-nav::before{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.04) 0%,
    rgba(255,255,255,.005) 100%
  )!important;
}


/* Lyfta-inspired workout logging */
body.eplan-redesign.client-ui .lyfta-workout-tools{
  display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 12px;
}
body.eplan-redesign.client-ui .lyfta-workout-tools button{
  flex:1 1 140px;padding:10px 12px;font-size:11px;border-radius:12px;
}
body.eplan-redesign.client-ui .lyfta-progression-hint{
  display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;
  margin:-2px 0 10px;padding:7px 10px;border:1px solid #ccebd9;border-radius:10px;
  background:#f0faf4;color:#218b55;font-size:10px;font-weight:800;line-height:1.25;
}
body.eplan-redesign.client-ui .lyfta-progression-hint span{
  display:grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#dff5e8;color:#169657;font-size:12px;font-weight:950;
}
body.eplan-redesign.client-ui .lyfta-progression-hint strong{font:inherit;color:inherit}
body.eplan-redesign.client-ui .lyfta-set-head{
  display:grid;grid-template-columns:42px 1fr 1fr .8fr 38px;gap:7px;
  padding:0 2px 6px;color:#78879b;font-size:9.5px;font-weight:800;text-align:center;
}
body.eplan-redesign.client-ui .lyfta-warmup-toggle{
  width:100%!important;min-height:40px!important;margin:0 0 10px!important;
  border:1px dashed #cbd8e8!important;border-radius:11px!important;background:#f8fafc!important;
  color:#61718a!important;box-shadow:none!important;font-size:10.5px!important;font-weight:850!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-block{
  margin:0 0 10px!important;padding:10px!important;border:1px solid #dde6f0!important;
  border-radius:12px!important;background:#f8fafc!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:8px!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-head>div{
  min-width:0!important;display:flex!important;flex-direction:column!important;gap:1px!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-head strong{
  color:#53647d!important;font-size:10.5px!important;font-weight:900!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-head small{
  color:#929daf!important;font-size:8.5px!important;font-weight:700!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-head>button,
body.eplan-redesign.client-ui .lyfta-add-drop{
  min-height:32px!important;margin:0!important;padding:0 9px!important;
  border:1px solid #d7e1ed!important;border-radius:9px!important;background:#fff!important;
  color:#53647d!important;box-shadow:none!important;font-size:9px!important;font-weight:850!important;
}
body.eplan-redesign.client-ui .lyfta-warmup-list,
body.eplan-redesign.client-ui .lyfta-drop-list{
  display:grid!important;gap:6px!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row{
  display:grid!important;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 34px!important;
  gap:6px!important;align-items:center!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row>span{
  display:grid!important;place-items:center!important;color:#7b899d!important;font-size:9.5px!important;font-weight:900!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row>input{
  min-width:0!important;width:100%!important;height:36px!important;margin:0!important;padding:0 7px!important;
  border:1px solid #dfe7f2!important;border-radius:10px!important;background:#fff!important;
  color:#0a1738!important;box-shadow:none!important;text-align:center!important;font-size:10.5px!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row>button{
  width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;
  border:1px solid #e0e7f0!important;border-radius:9px!important;background:#f4f7fa!important;
  color:#8390a2!important;box-shadow:none!important;font-size:15px!important;
}
body.eplan-redesign.client-ui .lyfta-drop-zone{
  display:none!important;margin:7px 0 0 42px!important;padding:8px!important;
  border-left:2px solid #d8e3ef!important;border-radius:0 10px 10px 0!important;background:#fafbfd!important;
}
body.eplan-redesign.client-ui .lyfta-drop-zone.is-visible,
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-drop-zone{
  display:block!important;
}
body.eplan-redesign.client-ui .lyfta-drop-list{
  margin-bottom:6px!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row.drop>span{
  color:#6b7a90!important;
}
body.eplan-redesign.client-ui .lyfta-add-drop{
  width:auto!important;min-height:30px!important;background:#f4f7fb!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap{
  padding:8px 0;border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .lyfta-prev-line{
  display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;
  margin:0 2px 7px;color:#7b899d;font-size:9.5px;
}
body.eplan-redesign.client-ui .lyfta-prev-line strong{
  color:#40516b;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.eplan-redesign.client-ui .lyfta-prev-line button{
  padding:5px 8px;border-radius:8px;background:#edf4ff!important;color:#1677ff!important;
  font-size:9px;box-shadow:none!important;
}
body.eplan-redesign.client-ui .lyfta-set-row{
  display:grid;grid-template-columns:42px 1fr 1fr .8fr 38px;gap:7px;align-items:center;
}
body.eplan-redesign.client-ui .lyfta-set-row.is-complete{
  opacity:.72;
}
body.eplan-redesign.client-ui .lyfta-set-row input{
  min-width:0;width:100%;padding:10px 7px!important;text-align:center;border-radius:11px!important;
  background:#f8faff!important;border:1px solid #dfe7f2!important;color:#0a1738!important;
}
body.eplan-redesign.client-ui .lyfta-input-wrap{position:relative;min-width:0}
body.eplan-redesign.client-ui .lyfta-input-wrap input{padding-right:28px!important}
body.eplan-redesign.client-ui .lyfta-pr-badge{
  display:none;position:absolute;right:5px;top:50%;transform:translateY(-50%);
  padding:3px 4px;border-radius:6px;background:#fff1c9;color:#b57900;font-size:8px;font-weight:900;
}
body.eplan-redesign.client-ui .lyfta-pr-badge.show{display:inline-block}
body.eplan-redesign.client-ui .lyfta-set-done{
  width:36px;height:36px;padding:0!important;border-radius:11px!important;
  background:#edf4ff!important;color:#1677ff!important;box-shadow:none!important;
}
body.eplan-redesign.client-ui .lyfta-set-done.done{
  background:#eaf8ef!important;color:#169657!important;
}
body.eplan-redesign.client-ui .lyfta-history-modal{
  width:min(440px,100%);
  max-height:82dvh;
  overflow:auto;
}
body.eplan-redesign.client-ui .lyfta-history-kicker{
  display:block;color:#7a889d;font-size:10px;font-weight:850;margin-bottom:3px;
}
body.eplan-redesign.client-ui .lyfta-history-modal h2{margin:0}
/* One centered SVG close in both themes; dark palette is in theme.css. */
body.eplan-redesign.client-ui .lyfta-history-modal .lyfta-history-close{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:42px!important;height:42px!important;min-width:42px!important;
  padding:0!important;margin:0!important;border-radius:12px!important;
}
body.eplan-redesign.client-ui :is(.lyfta-history-close,.lyfta-aux-row>button)>.eplan-close-icon{
  display:block!important;flex:none!important;width:18px!important;height:18px!important;
  stroke:currentColor!important;transform:none!important;
}
body.eplan-redesign.client-ui .lyfta-aux-row>button{
  display:flex!important;align-items:center!important;justify-content:center!important;
}
body.eplan-redesign.client-ui .lyfta-history-chart{margin-top:14px}
body.eplan-redesign.client-ui .lyfta-history-chart svg{width:100%;height:145px}
body.eplan-redesign.client-ui .lyfta-history-line{fill:none;stroke:#1677ff;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
body.eplan-redesign.client-ui .lyfta-history-dot{fill:#fff;stroke:#1677ff;stroke-width:1.4}
body.eplan-redesign.client-ui .lyfta-history-chart>div{
  display:flex;justify-content:space-between;color:#8190a4;font-size:9.5px;margin-top:-4px;
}
body.eplan-redesign.client-ui .lyfta-history-list{display:grid;gap:7px;margin-top:14px}
body.eplan-redesign.client-ui .lyfta-history-item{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 12px;border-radius:12px;background:#f7f9fc;border:1px solid #e3e9f2;
}
body.eplan-redesign.client-ui .lyfta-history-item span{font-size:10px;color:#75839a}
body.eplan-redesign.client-ui .lyfta-history-item strong{font-size:11px}
@media(max-width:370px){
  body.eplan-redesign.client-ui .lyfta-set-head,
  body.eplan-redesign.client-ui .lyfta-set-row{grid-template-columns:36px 1fr 1fr .75fr 34px;gap:5px}
  body.eplan-redesign.client-ui .lyfta-set-row input{padding:9px 5px!important}
  body.eplan-redesign.client-ui .lyfta-drop-zone{margin-left:36px!important}
  body.eplan-redesign.client-ui .lyfta-aux-row{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) 32px!important;gap:5px!important}
}


/* Exercise replacement scope modal */
body.eplan-redesign.client-ui .swap-choice-card{
  width:min(440px,100%);
}
body.eplan-redesign.client-ui .swap-step-label{
  display:block;
  margin-bottom:4px;
  color:#7a889d;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.eplan-redesign.client-ui .swap-scope-actions{
  display:grid;
  gap:10px;
  margin-top:16px;
}
body.eplan-redesign.client-ui .swap-scope-actions>button{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  padding:14px 15px;
  text-align:left;
  border-radius:15px;
  background:#f8fbff!important;
  color:#0a1738!important;
  border:1px solid #dfe7f2!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .swap-scope-actions>button:first-child{
  border-color:#b8d7ff!important;
  background:#f3f8ff!important;
}
body.eplan-redesign.client-ui .swap-scope-actions strong{
  font-size:14px;
}
body.eplan-redesign.client-ui .swap-scope-actions span{
  color:#76849a;
  font-size:10.5px;
  font-weight:650;
}
body.eplan-redesign.client-ui .swap-back-btn{
  width:100%;
  margin-top:10px;
  background:#eef3f9!important;
  color:#526580!important;
}


/* Floating nav: keep it inside the app content edges */
body.eplan-redesign.client-ui .client-bottom-nav{
  width:min(398px,calc(100% - 34px))!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:calc(100% - 30px)!important;
  }
}

/* Measurements — body-area cards inspired by Lyfta */
body.eplan-redesign.client-ui .measurement-visual-overview{
  display:grid;
  gap:12px;
}
body.eplan-redesign.client-ui .measurement-visual-overview .measurement-section-title{
  margin:0 2px;
}
body.eplan-redesign.client-ui .measurement-visual-overview .measurement-section-title h2{
  margin:0;
  font-size:22px;
}
body.eplan-redesign.client-ui .measurement-visual-overview .measurement-section-title p{
  margin:4px 0 0;
}
body.eplan-redesign.client-ui .measurement-weight-visual{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e1e8f2;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .measurement-weight-visual>div:last-child{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
}
body.eplan-redesign.client-ui .measurement-weight-visual strong{
  font-size:23px;
  color:#0a1738;
}
body.eplan-redesign.client-ui .measurement-weight-visual strong small{
  font-size:12px;
  color:#718097;
}
body.eplan-redesign.client-ui .measurement-weight-visual em,
body.eplan-redesign.client-ui .measurement-place-card em{
  font-style:normal;
  color:#7b899d;
  font-size:10.5px;
  font-weight:750;
}
body.eplan-redesign.client-ui .measurement-weight-visual em.down,
body.eplan-redesign.client-ui .measurement-place-card em.down{
  color:#19985a;
}
body.eplan-redesign.client-ui .measurement-weight-visual em.up,
body.eplan-redesign.client-ui .measurement-place-card em.up{
  color:#d5821e;
}
body.eplan-redesign.client-ui .measurement-visual-subhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:4px 2px 0;
}
body.eplan-redesign.client-ui .measurement-visual-subhead h3{
  margin:0;
  font-size:18px;
}
body.eplan-redesign.client-ui .measurement-visual-subhead span{
  color:#7a889d;
  font-size:10.5px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-places-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.eplan-redesign.client-ui .measurement-place-card{
  min-width:0;
  min-height:152px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e1e8f2;
  box-shadow:0 8px 24px rgba(35,70,108,.045);
}
body.eplan-redesign.client-ui .measurement-place-top{
  display:flex;
  align-items:center;
  gap:10px;
}
body.eplan-redesign.client-ui .measurement-place-top>span{
  color:#0a1738;
  font-size:14px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-body-icon{
  width:42px;
  height:42px;
  padding:6px;
  border-radius:12px;
  background:#f1f6fc;
  stroke:#93a3b9;
  stroke-width:1.5;
  fill:none;
}
body.eplan-redesign.client-ui .measurement-body-icon .hot{
  stroke:#1677ff;
  stroke-width:2.8;
  stroke-linecap:round;
}
body.eplan-redesign.client-ui .measurement-place-card strong{
  margin-top:auto;
  font-size:22px;
  color:#0a1738;
}
body.eplan-redesign.client-ui .measurement-place-card strong small{
  font-size:12px;
  color:#718097;
}
body.eplan-redesign.client-ui .metric-waist .measurement-body-icon,
body.eplan-redesign.client-ui .metric-chest .measurement-body-icon{
  background:#eef5ff;
}
body.eplan-redesign.client-ui .metric-hips .measurement-body-icon,
body.eplan-redesign.client-ui .metric-thighs .measurement-body-icon{
  background:#f3f0ff;
}
body.eplan-redesign.client-ui .metric-arms .measurement-body-icon{
  background:#eef9f2;
}

@media(max-width:370px){
  body.eplan-redesign.client-ui .measurement-places-grid{gap:8px}
  body.eplan-redesign.client-ui .measurement-place-card{padding:12px;min-height:144px}
  body.eplan-redesign.client-ui .measurement-body-icon{width:38px;height:38px}
}


/* Minimal measurement SVG icon treatment */
body.eplan-redesign.client-ui .measurement-svg-icon{
  width:42px;
  height:42px;
  padding:7px;
  border-radius:12px;
  background:#f2f6fb;
  stroke:#6f7f96;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
body.eplan-redesign.client-ui .metric-waist .measurement-svg-icon,
body.eplan-redesign.client-ui .metric-chest .measurement-svg-icon{
  background:#eef5ff;
  stroke:#1677ff;
}
body.eplan-redesign.client-ui .metric-hips .measurement-svg-icon,
body.eplan-redesign.client-ui .metric-thighs .measurement-svg-icon{
  background:#f3f0ff;
  stroke:#7867d8;
}
body.eplan-redesign.client-ui .metric-arms .measurement-svg-icon{
  background:#eef9f2;
  stroke:#1f9a5b;
}


/* Clear body-zone measurement pictograms */
body.eplan-redesign.client-ui .measurement-zone-icon{
  width:48px;
  height:48px;
  padding:5px;
  border-radius:13px;
  background:#f3f7fc;
  stroke:#9aa8bb;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
body.eplan-redesign.client-ui .measurement-zone-icon .body-base{
  fill:#eef2f7;
  stroke:#a6b2c2;
}
body.eplan-redesign.client-ui .measurement-zone-icon .zone-hot{
  fill:#1677ff;
  stroke:#1677ff;
}
body.eplan-redesign.client-ui .metric-hips .measurement-zone-icon .zone-hot,
body.eplan-redesign.client-ui .metric-thighs .measurement-zone-icon .zone-hot{
  fill:#7a67d9;
  stroke:#7a67d9;
}
body.eplan-redesign.client-ui .metric-arms .measurement-zone-icon .zone-hot{
  fill:#20a15f;
  stroke:#20a15f;
}
body.eplan-redesign.client-ui .measurement-weight-visual .measurement-zone-icon{
  stroke:#71829a;
  background:#f1f5fa;
}


/* Generated male/female measurement artwork sprites */
body.eplan-redesign.client-ui .measurement-generated-art{
  display:block;
  flex:0 0 auto;
  width:74px;
  height:78px;
  border-radius:14px;
  background-repeat:no-repeat;
  background-size:500% 200%;
  background-position:var(--mx) var(--my);
  background-color:#fff;
  box-shadow:0 4px 14px rgba(44,67,99,.05);
}
body.eplan-redesign.client-ui .measurement-generated-art.sex-male{
  background-image:url('/static/img/measurements/male-sprite.webp');
}
body.eplan-redesign.client-ui .measurement-generated-art.sex-female{
  background-image:url('/static/img/measurements/female-sprite.webp');
}
body.eplan-redesign.client-ui .measurement-place-card{
  min-height:176px;
}
body.eplan-redesign.client-ui .measurement-place-top{
  align-items:center;
}
body.eplan-redesign.client-ui .measurement-place-top>span{
  font-size:13px;
}
body.eplan-redesign.client-ui .measurement-weight-visual .measurement-generated-art{
  width:82px;
  height:82px;
}
body.eplan-redesign.client-ui .measurement-input-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.eplan-redesign.client-ui .measurement-input-grid>div{
  min-width:0;
}
body.eplan-redesign.client-ui .measurement-input-grid input{
  width:100%;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .measurement-generated-art{
    width:66px;
    height:70px;
  }
  body.eplan-redesign.client-ui .measurement-place-card{
    min-height:164px;
  }
}


/* Paired measurements: right/left entry and display */
body.eplan-redesign.client-ui .measurement-side-values{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:auto;
}
body.eplan-redesign.client-ui .measurement-side-values>span{
  min-width:0;
  padding:9px 8px;
  border-radius:12px;
  background:#f6f9fd;
  border:1px solid #e2e9f2;
}
body.eplan-redesign.client-ui .measurement-side-values small{
  display:block;
  margin-bottom:2px;
  color:#7b899d;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-side-values b{
  display:block;
  color:#0a1738;
  font-size:13px;
  white-space:nowrap;
}

body.eplan-redesign.client-ui .measurement-form-section{
  display:grid;
  gap:10px;
  margin-top:14px;
}
body.eplan-redesign.client-ui .measurement-form-section h3{
  margin:0;
  font-size:17px;
}
body.eplan-redesign.client-ui .measurement-form-section>p{
  margin:0;
  font-size:10.5px;
  line-height:1.45;
}
body.eplan-redesign.client-ui .measurement-pair-list{
  display:grid;
  gap:10px;
}
body.eplan-redesign.client-ui .measurement-pair-group{
  padding:12px;
  border-radius:15px;
  background:#f8faff;
  border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .measurement-pair-title{
  margin-bottom:8px;
  color:#0a1738;
  font-size:12px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-pair-inputs{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .measurement-pair-inputs label{
  display:grid;
  gap:5px;
  color:#718097;
  font-size:9.5px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-pair-inputs input{
  width:100%;
  min-width:0;
  padding:11px 10px!important;
  border-radius:11px!important;
  background:#fff!important;
  border:1px solid #dbe4ef!important;
}

/* Measurement history: structured cards instead of tag cloud */
body.eplan-redesign.client-ui .measurement-history{
  display:grid;
  gap:12px;
  padding-top:12px;
}
body.eplan-redesign.client-ui .measurement-history-card.redesigned-history{
  position:relative;
  padding:16px!important;
  border:1px solid #e1e8f2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(37,61,92,.045);
}
body.eplan-redesign.client-ui .measurement-history-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .measurement-history-head>div{
  display:grid;
  gap:2px;
}
body.eplan-redesign.client-ui .measurement-history-caption{
  color:#8190a5;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.eplan-redesign.client-ui .measurement-history-head strong{
  font-size:17px;
  color:#0a1738;
}
body.eplan-redesign.client-ui .measurement-history-section{
  display:grid;
  gap:9px;
  margin-top:12px;
}
body.eplan-redesign.client-ui .measurement-history-section h4{
  margin:0;
  color:#718097;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.eplan-redesign.client-ui .measurement-history-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .measurement-history-metric{
  display:grid;
  gap:2px;
  padding:10px 11px;
  border-radius:12px;
  background:#f7f9fc;
  border:1px solid #e7ecf3;
}
body.eplan-redesign.client-ui .measurement-history-metric>span{
  color:#77869b;
  font-size:9.5px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-history-metric>strong{
  color:#0a1738;
  font-size:12px;
}
body.eplan-redesign.client-ui .measurement-history-metric>small{
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-history-metric>small.down{color:#15965a}
body.eplan-redesign.client-ui .measurement-history-metric>small.up{color:#d5821e}

body.eplan-redesign.client-ui .measurement-history-pair-grid{
  display:grid;
  gap:8px;
}
body.eplan-redesign.client-ui .measurement-history-pair{
  display:grid;
  grid-template-columns:minmax(90px,.8fr) 1.4fr;
  gap:10px;
  align-items:center;
  padding:10px 11px;
  border-radius:12px;
  background:#fbfcfe;
  border:1px solid #e7ecf3;
}
body.eplan-redesign.client-ui .measurement-history-pair-title{
  color:#0a1738;
  font-size:11px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-history-pair-sides{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
body.eplan-redesign.client-ui .measurement-history-pair-sides>span{
  display:grid;
  gap:1px;
}
body.eplan-redesign.client-ui .measurement-history-pair-sides small{
  color:#8190a5;
  font-size:8.5px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-history-pair-sides b{
  color:#0a1738;
  font-size:11px;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .measurement-metric.paired{
  display:grid;
  gap:8px;
}
body.eplan-redesign.client-ui .measurement-metric-sides{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
body.eplan-redesign.client-ui .measurement-metric-sides b{
  display:grid;
  gap:1px;
  font-size:11px;
}
body.eplan-redesign.client-ui .measurement-metric-sides small{
  color:#7b899d;
  font-size:8px;
  font-weight:800;
}


/* Measurement date, edit actions and history controls */
body.eplan-redesign.client-ui .measurement-date-row{
  display:grid;
  gap:6px;
  margin-top:14px;
  padding:12px;
  border-radius:14px;
  background:#f8faff;
  border:1px solid #e1e8f2;
}
body.eplan-redesign.client-ui .measurement-date-row label{
  color:#6f7e94;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-date-row input{
  width:100%;
  padding:11px 12px!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#0a1738!important;
  border:1px solid #dbe4ef!important;
}

body.eplan-redesign.client-ui .measurement-history-actions{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
body.eplan-redesign.client-ui .measurement-history-card .measurement-edit,
body.eplan-redesign.client-ui .measurement-history-card .measurement-delete{
  position:static!important;
  top:auto!important;
  right:auto!important;
  margin:0!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .measurement-history-card .measurement-edit{
  background:#edf4ff!important;
  border:1px solid #cfe0fb!important;
  color:#1677ff!important;
  font-size:18px!important;
}
body.eplan-redesign.client-ui .measurement-history-card .measurement-delete{
  background:#fff2f2!important;
  border:1px solid #f1caca!important;
  color:#db6b6b!important;
}
body.eplan-redesign.client-ui .measurement-history-card .measurement-delete svg{
  width:16px!important;
  height:16px!important;
}
body.eplan-redesign.client-ui .measurement-edit-modal{
  width:min(460px,100%);
  max-height:86dvh;
  overflow:auto;
}
body.eplan-redesign.client-ui .measurement-edit-modal>.between{
  position:sticky;
  top:-1px;
  z-index:2;
  padding-bottom:10px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}


/* Final measurement polish: date sizing + horizontal history actions */
body.eplan-redesign.client-ui .measurement-date-row{
  min-width:0!important;
  overflow:hidden!important;
}
body.eplan-redesign.client-ui .measurement-date-row input[type="date"]{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:11px 12px!important;
  -webkit-appearance:none;
  appearance:none;
}
body.eplan-redesign.client-ui .measurement-history-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
}
body.eplan-redesign.client-ui .measurement-history-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
body.eplan-redesign.client-ui .measurement-history-actions .measurement-edit,
body.eplan-redesign.client-ui .measurement-history-actions .measurement-delete{
  flex:0 0 36px!important;
}
body.eplan-redesign.client-ui .measurement-place-card .measurement-side-values + em:empty{
  display:none!important;
}


/* Compact selectable measurement comparison */
body.eplan-redesign.client-ui .measurement-compare-card{
  display:grid;
  gap:14px;
}
body.eplan-redesign.client-ui .measurement-compare-head h2{
  margin:0;
  font-size:20px;
}
body.eplan-redesign.client-ui .measurement-compare-head p{
  margin:4px 0 0;
}
body.eplan-redesign.client-ui .measurement-compare-selects{
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
  gap:8px;
  align-items:end;
}
body.eplan-redesign.client-ui .measurement-compare-selects label{
  display:grid;
  gap:5px;
  min-width:0;
}
body.eplan-redesign.client-ui .measurement-compare-selects label>span{
  color:#7a889d;
  font-size:9.5px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-compare-selects select{
  width:100%;
  min-width:0;
  height:42px;
  padding:0 10px;
  border-radius:11px;
  border:1px solid #dce5ef;
  background:#f7f9fc;
  color:#0a1738;
  font:inherit;
  font-size:12px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-compare-arrow{
  display:grid;
  place-items:center;
  height:42px;
  color:#8a98ab;
  font-weight:900;
}
body.eplan-redesign.client-ui .measurement-compare-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.client-ui .measurement-compare-item{
  min-width:0;
  padding:10px 11px;
  border:1px solid #e5ebf3;
  border-radius:12px;
  background:#f9fbfd;
}
body.eplan-redesign.client-ui .measurement-compare-item>span{
  display:block;
  margin-bottom:3px;
  color:#78869a;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.eplan-redesign.client-ui .measurement-compare-item>strong{
  display:block;
  color:#0a1738;
  font-size:11px;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .measurement-compare-item>small{
  display:block;
  margin-top:4px;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-compare-item>small.down,
body.eplan-redesign.client-ui .measurement-side-delta.down{color:#15965a}
body.eplan-redesign.client-ui .measurement-compare-item>small.up,
body.eplan-redesign.client-ui .measurement-side-delta.up{color:#d98a24}

body.eplan-redesign.client-ui .measurement-side-delta{
  display:block!important;
  margin-top:3px;
  font-size:8.5px!important;
  font-weight:850!important;
  line-height:1.2;
}

/* Back from workout history opened inside Progress */
body.eplan-redesign.client-ui .progress-history-back{
  display:inline-flex;
  align-items:center;
  width:auto!important;
  margin:0 0 14px;
  padding:9px 13px!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  border:1px solid #d4e4fb!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:850!important;
}

@media(max-width:370px){
  body.eplan-redesign.client-ui .measurement-compare-grid{
    grid-template-columns:1fr;
  }
}


/* Measurement deltas are informational, not good/bad. */
body.eplan-redesign.client-ui .neutral-change,
body.eplan-redesign.client-ui .measurement-side-delta.neutral-change,
body.eplan-redesign.client-ui .measurement-compare-item>small.neutral-change,
body.eplan-redesign.client-ui .measurement-metric em.neutral-change,
body.eplan-redesign.client-ui .measurement-changes em.neutral-change{
  color:#34425A!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .measurement-weight-visual em.neutral-change,
body.eplan-redesign.client-ui .measurement-place-card em.neutral-change{
  color:#34425A!important;
}


/* Progress overview metric selector */
body.eplan-redesign.client-ui .redesign-progress-kpi-select{
  text-align:left;
  cursor:default;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-select select{
  width:100%;
  max-width:100%;
  min-width:0;
  margin:4px 0 2px;
  padding:0 22px 0 0;
  border:0;
  outline:0;
  background:transparent;
  color:#6f7f94;
  font:inherit;
  font-size:11px;
  font-weight:850;
  appearance:auto;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .neutral-change,
body.eplan-redesign.client-ui .client-home-metric .neutral-change{
  color:#34425A!important;
  font-weight:800!important;
}


/* Progress KPI selector: same typography as Weight, arrows-only switching */
body.eplan-redesign.client-ui .redesign-progress-kpi-select{
  position:relative;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-labelrow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  margin:4px 0 2px;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-labelrow>small{
  margin:0!important;
  color:#6f7f94!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.2;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-arrows{
  display:flex;
  align-items:center;
  gap:4px;
  flex:0 0 auto;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-arrows button{
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:8px!important;
  background:#eef3f9!important;
  color:#34425A!important;
  box-shadow:none!important;
  font-size:18px!important;
  font-weight:800!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-arrows button:active{
  transform:scale(.96);
}


/* Separate floating bottom navigation from content cards */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(246,249,253,.24)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.20)!important;
  backdrop-filter:blur(26px) saturate(1.20)!important;
  border:1px solid rgba(184,198,217,.48)!important;
  box-shadow:
    0 12px 30px rgba(25,49,83,.12),
    0 -1px 0 rgba(255,255,255,.62) inset!important;
}
body.eplan-redesign.client-ui .client-bottom-nav::before{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.07) 0%,
    rgba(232,240,250,.015) 100%
  )!important;
}


/* Restore classic iPhone safe-area layout: status bar stays outside app content */
body.eplan-redesign.client-ui{
  background:#eef4fb!important;
  min-height:100dvh;
}
body.eplan-redesign.client-ui #app{
  min-height:100dvh;
  background:transparent!important;
}
body.eplan-redesign.client-ui .wrap.client-shell{
  padding:18px 18px 104px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .client-top{
  top:0!important;
}

/* Lower floating nav and keep the previous frosted-glass look */
body.eplan-redesign.client-ui .client-bottom-nav{
  bottom:6px!important;
  width:min(398px,calc(100% - 34px))!important;
  background:rgba(246,249,253,.24)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.20)!important;
  backdrop-filter:blur(26px) saturate(1.20)!important;
  border:1px solid rgba(184,198,217,.48)!important;
  border-radius:26px!important;
  box-shadow:
    0 12px 30px rgba(25,49,83,.12),
    0 -1px 0 rgba(255,255,255,.62) inset!important;
}
body.eplan-redesign.client-ui .client-bottom-nav::before{
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.07) 0%,
    rgba(232,240,250,.015) 100%
  )!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-bottom-nav{
    width:calc(100% - 30px)!important;
    bottom:5px!important;
  }
}


/* Mobile vertical rhythm: secondary client sections sit closer to the top */
@media(max-width:760px){
  body.eplan-redesign.client-ui .redesign-training-page,
  body.eplan-redesign.client-ui .redesign-progress-page,
  body.eplan-redesign.client-ui .redesign-nutrition-page,
  body.eplan-redesign.client-ui .redesign-more-page,
  body.eplan-redesign.client-ui .redesign-more-subpage,
  body.eplan-redesign.client-ui .redesign-bju-page{
    margin-top:-10px;
  }

  body.eplan-redesign.client-ui .client-bottom-nav{
    bottom:9px!important;
  }
}


/* Tighter top spacing on secondary client sections */
@media(max-width:760px){
  body.eplan-redesign.client-ui .redesign-training-page,
  body.eplan-redesign.client-ui .redesign-progress-page,
  body.eplan-redesign.client-ui .redesign-nutrition-page,
  body.eplan-redesign.client-ui .redesign-more-page,
  body.eplan-redesign.client-ui .redesign-more-subpage,
  body.eplan-redesign.client-ui .redesign-bju-page{
    margin-top:-22px!important;
  }
}

/* Unified segmented-control selection: white active tab like Training */
body.eplan-redesign.client-ui .redesign-progress-tabs button.active,
body.eplan-redesign.client-ui .redesign-nutrition-tabs button.active{
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 4px 12px rgba(42,72,108,.08)!important;
}


/* Secondary screens: remove the frosted top strip that overlaps page titles/tabs */
@media(max-width:760px){
  body.eplan-redesign.client-ui .client-top.client-top-compact{
    background:transparent!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }
}


/* Align primary client sections to one vertical level */
@media(max-width:760px){
  body.eplan-redesign.client-ui .redesign-training-page,
  body.eplan-redesign.client-ui .redesign-progress-shell,
  body.eplan-redesign.client-ui .redesign-nutrition-page,
  body.eplan-redesign.client-ui .redesign-more-page{
    margin-top:-22px!important;
  }

  body.eplan-redesign.client-ui .redesign-training-page>h1,
  body.eplan-redesign.client-ui .redesign-progress-shell>h1,
  body.eplan-redesign.client-ui .redesign-nutrition-page>h1,
  body.eplan-redesign.client-ui .redesign-more-page>h1{
    margin:4px 2px 14px!important;
    line-height:1.08!important;
  }

  body.eplan-redesign.client-ui .redesign-progress-shell .redesign-progress-page{
    margin-top:0!important;
  }
}


/* Make bottom navigation visibly translucent over the very light app background */
body.eplan-redesign.client-ui .client-bottom-nav{
  background:rgba(232,240,250,.10)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.08)!important;
  backdrop-filter:blur(16px) saturate(1.08)!important;
  border:1px solid rgba(150,170,195,.34)!important;
  box-shadow:
    0 10px 26px rgba(25,49,83,.10),
    inset 0 1px 0 rgba(255,255,255,.28)!important;
}
body.eplan-redesign.client-ui .client-bottom-nav::before{
  background:rgba(255,255,255,.015)!important;
}


/* Keep Weight KPI typography aligned with the selectable measurement KPI */
body.eplan-redesign.client-ui .redesign-progress-kpi-weight .redesign-progress-kpi-labelrow-static{
  justify-content:flex-start!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-weight>strong,
body.eplan-redesign.client-ui .redesign-progress-kpi-select>strong{
  font-size:21px!important;
  line-height:1.1!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi-weight>.neutral-change,
body.eplan-redesign.client-ui .redesign-progress-kpi-select>.neutral-change{
  font-size:11px!important;
  line-height:1.2!important;
  margin-top:0!important;
}


/* Align Weight and selectable measurement KPI rows on identical baselines */
body.eplan-redesign.client-ui .redesign-progress-topgrid{
  align-items:stretch!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi{
  display:grid!important;
  grid-template-rows:34px 24px 30px 18px!important;
  row-gap:4px!important;
  align-content:start!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .kpi-icon{
  margin:0!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .redesign-progress-kpi-labelrow,
body.eplan-redesign.client-ui .redesign-progress-kpi>small{
  align-self:end!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi .redesign-progress-kpi-labelrow{
  margin:0!important;
  min-height:24px!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi>strong{
  align-self:center!important;
  margin:0!important;
}
body.eplan-redesign.client-ui .redesign-progress-kpi>.neutral-change{
  align-self:start!important;
  margin:0!important;
}


/* Client avatar in header */
body.eplan-redesign.client-ui .client-top-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
body.eplan-redesign.client-ui .client-avatar{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#eaf2ff,#dfeaff)!important;
  border:1px solid #d3e0f2!important;
  color:#1677ff!important;
  box-shadow:0 6px 18px rgba(41,83,132,.08)!important;
}
body.eplan-redesign.client-ui .client-avatar span{
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.02em;
}
body.eplan-redesign.client-ui .client-avatar.compact{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
}
body.eplan-redesign.client-ui .client-avatar.compact span{
  font-size:12px!important;
}


/* Client avatar: small circular control that never covers page content */
body.eplan-redesign.client-ui .client-top-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
body.eplan-redesign.client-ui .client-avatar{
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  flex:0 0 38px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border-radius:999px!important;
  background:#eaf2ff!important;
  border:1px solid #d3e0f2!important;
  color:#1677ff!important;
  box-shadow:0 5px 14px rgba(41,83,132,.08)!important;
}
body.eplan-redesign.client-ui .client-avatar.compact{
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  flex-basis:36px!important;
}
body.eplan-redesign.client-ui .client-avatar img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:50%!important;
}
body.eplan-redesign.client-ui .client-avatar span{
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Profile photo editor */
body.eplan-redesign.client-ui .client-profile-avatar-card{
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 14px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}
body.eplan-redesign.client-ui .client-profile-avatar{
  position:relative;
  width:78px!important;
  min-width:78px!important;
  height:78px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:50%!important;
  border:1px solid #d5e1f0!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  display:grid!important;
  place-items:center!important;
}
body.eplan-redesign.client-ui .client-profile-avatar>img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
body.eplan-redesign.client-ui .client-profile-avatar>span:not(.client-profile-avatar-edit){
  font-size:22px;
  font-weight:900;
}
body.eplan-redesign.client-ui .client-profile-avatar-edit{
  position:absolute;
  right:2px;
  bottom:2px;
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#1677ff;
  color:#fff;
  border:2px solid #fff;
}
body.eplan-redesign.client-ui .client-profile-avatar-edit .ui-icon{
  width:12px;
  height:12px;
}
body.eplan-redesign.client-ui .client-profile-avatar-card>div{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}
body.eplan-redesign.client-ui .client-profile-avatar-card small{
  color:var(--muted);
  font-size:12px;
}
body.eplan-redesign.client-ui .client-profile-avatar-change{
  width:auto!important;
  min-height:0!important;
  margin-top:4px!important;
  padding:7px 11px!important;
  border-radius:10px!important;
  background:#eef4ff!important;
  color:#1677ff!important;
  font-size:12px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .client-avatar-input{
  display:none!important;
}


/* Neutral placeholder avatar across all client screens */
body.eplan-redesign.client-ui .client-avatar.is-placeholder,
body.eplan-redesign.client-ui .client-profile-avatar.is-placeholder{
  background:#e5e7eb!important;
  border-color:#d7dce5!important;
  color:#7d8796!important;
}
body.eplan-redesign.client-ui .client-avatar.is-placeholder span,
body.eplan-redesign.client-ui .client-profile-avatar.is-placeholder span{
  color:#7d8796!important;
}
body.eplan-redesign.client-ui .client-avatar.has-photo,
body.eplan-redesign.client-ui .client-profile-avatar.has-photo{
  background:#fff!important;
  color:inherit!important;
}
body.eplan-redesign.client-ui .client-profile-avatar-edit,
body.eplan-redesign.client-ui .client-profile-avatar-change{
  display:none!important;
}
body.eplan-redesign.client-ui .client-profile-avatar{
  cursor:pointer!important;
}


/* Profile hero inspired by the reference: centered avatar, name, simple edit action */
body.eplan-redesign.client-ui .client-profile-page{
  padding-top:4px;
}
body.eplan-redesign.client-ui .client-profile-hero{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin:4px 0 18px;
}
body.eplan-redesign.client-ui .client-profile-hero .client-profile-avatar{
  width:112px!important;
  min-width:112px!important;
  height:112px!important;
  min-height:112px!important;
  border-radius:50%!important;
  margin:0 auto 14px!important;
  border:0!important;
  box-shadow:none!important;
  background:#e6e8ed!important;
}
body.eplan-redesign.client-ui .client-profile-hero .client-profile-avatar.has-photo{
  background:#fff!important;
  border:1px solid #dde3eb!important;
}
body.eplan-redesign.client-ui .client-profile-hero h1{
  margin:0 0 12px!important;
  font-size:28px!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
  color:#081633!important;
}
body.eplan-redesign.client-ui .client-profile-edit-btn{
  width:auto!important;
  min-height:0!important;
  padding:10px 18px!important;
  margin:0 0 8px!important;
  border-radius:999px!important;
  background:#eef2f5!important;
  color:#0a1738!important;
  border:0!important;
  font-size:14px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .client-profile-hero>small{
  color:#7d8796;
  font-size:11px;
  line-height:1.3;
}
body.eplan-redesign.client-ui .client-profile-details{
  margin-top:0!important;
}

/* Neutral person silhouette inside empty avatars */
body.eplan-redesign.client-ui .avatar-person{
  position:relative;
  display:block!important;
  width:100%!important;
  height:100%!important;
  color:transparent!important;
}
body.eplan-redesign.client-ui .avatar-person::before{
  content:"";
  position:absolute;
  left:50%;
  top:24%;
  width:34%;
  height:34%;
  transform:translateX(-50%);
  border-radius:50%;
  background:#9ea3aa;
}
body.eplan-redesign.client-ui .avatar-person::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:10%;
  width:68%;
  height:36%;
  transform:translateX(-50%);
  border-radius:50% 50% 42% 42% / 70% 70% 30% 30%;
  background:#9ea3aa;
}
body.eplan-redesign.client-ui .client-avatar.is-placeholder{
  background:#e6e8ed!important;
  border-color:#d7dce5!important;
}
body.eplan-redesign.client-ui .client-profile-avatar.is-placeholder{
  background:#e6e8ed!important;
  border-color:#d7dce5!important;
}


/* Avatar placeholders use initials consistently across all client screens */
body.eplan-redesign.client-ui .avatar-person{display:none!important}
body.eplan-redesign.client-ui .avatar-initials{
  display:grid!important;
  place-items:center!important;
  width:100%!important;
  height:100%!important;
  color:#737b88!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
}
body.eplan-redesign.client-ui .avatar-initials-large{
  font-size:30px!important;
}


/* ===== Trainer redesign foundation ===== */
body.eplan-redesign.trainer-ui{background:#eef4fb;color:#081633}
body.eplan-redesign.trainer-ui .trainer-shell{max-width:760px;min-height:100dvh;margin:0 auto;padding:18px 18px 40px;background:#f8fbff}
body.eplan-redesign.trainer-ui .trainer-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:4px 2px 8px}
body.eplan-redesign.trainer-ui .trainer-top>div{display:flex;flex-direction:column}
body.eplan-redesign.trainer-ui .trainer-top strong{font-size:21px;font-weight:900;line-height:1.1}
body.eplan-redesign.trainer-ui .trainer-top span{margin-top:4px;color:#74829a;font-size:13px}
body.eplan-redesign.trainer-ui .trainer-top .notify-btn{width:44px;height:44px;padding:0;border-radius:14px;background:#fff;color:#081633;border:1px solid #dce5f1;display:grid;place-items:center}
body.eplan-redesign.trainer-ui .trainer-home-page,.trainer-clients-page{display:block}
body.eplan-redesign.trainer-ui .trainer-hero-card{width:100%;padding:20px;text-align:left;border:0;border-radius:22px;color:#fff;background:linear-gradient(135deg,#0d4f91,#1677d8);box-shadow:0 12px 28px rgba(15,72,130,.18)}
body.eplan-redesign.trainer-ui .trainer-hero-head{display:flex;align-items:center;gap:10px}
body.eplan-redesign.trainer-ui .trainer-hero-head>strong{font-size:18px}.trainer-hero-head .more-chevron{margin-left:auto}
body.eplan-redesign.trainer-ui .trainer-hero-count{margin-top:18px;font-size:30px;font-weight:900}.trainer-hero-count small{font-size:14px;font-weight:700}
body.eplan-redesign.trainer-ui .trainer-hero-sub{margin-top:2px;opacity:.82;font-size:13px}
body.eplan-redesign.trainer-ui .trainer-avatar-stack{display:flex;margin-top:15px}.trainer-client-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8eef7;color:#52627a;border:2px solid #fff;font-weight:900;font-size:12px}
body.eplan-redesign.trainer-ui .trainer-avatar-stack .trainer-client-avatar{margin-left:-7px}.trainer-avatar-stack .trainer-client-avatar:first-child{margin-left:0}.trainer-client-avatar.more{background:#dce7f5}
body.eplan-redesign.trainer-ui .trainer-home-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
body.eplan-redesign.trainer-ui .trainer-home-stats>button{min-height:124px;padding:16px;border:1px solid #dce5f1;border-radius:18px;background:#fff;text-align:left;color:#081633}
body.eplan-redesign.trainer-ui .trainer-home-stats strong{display:block;margin-top:10px;font-size:26px}.trainer-home-stats small{display:block;margin-top:3px;color:#71809a;font-weight:700}
body.eplan-redesign.trainer-ui .trainer-stat-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.trainer-stat-icon.orange{background:#fff2e7;color:#e58235}.trainer-stat-icon.green{background:#e9f7ef;color:#23965b}.trainer-stat-icon.blue{background:#eaf2ff;color:#1677ff}
body.eplan-redesign.trainer-ui .trainer-home-section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 2px 10px}.trainer-home-section-head h2{margin:0;font-size:20px}.trainer-home-section-head button{width:auto;padding:0;background:none;color:#1677ff}
body.eplan-redesign.trainer-ui .trainer-activity-card,.trainer-client-list{overflow:hidden;border:1px solid #dce5f1;border-radius:18px;background:#fff}
body.eplan-redesign.trainer-ui .trainer-activity-row,.trainer-client-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 16px;background:#fff;color:#081633;border:0;border-bottom:1px solid #edf1f6;text-align:left}
body.eplan-redesign.trainer-ui .trainer-activity-row:last-child,.trainer-client-row:last-child{border-bottom:0}.trainer-activity-row strong,.trainer-client-row strong{display:block}.trainer-activity-row small,.trainer-client-row small{display:block;margin-top:3px;color:#7b8799}
body.eplan-redesign.trainer-ui .trainer-page-title{display:flex;align-items:center;justify-content:space-between;margin:4px 0 14px}.trainer-page-title h1{margin:0;font-size:30px}.trainer-page-title button{width:42px;height:42px;padding:0;border-radius:13px;background:#eaf2ff;color:#1677ff}
body.eplan-redesign.trainer-ui .trainer-back-home{margin-top:14px;background:#eef4fb;color:#15304f}
body.eplan-redesign.trainer-ui .trainer-empty{padding:18px;color:#7b8799}


/* Trainer reference layout v2 */
body.eplan-redesign.trainer-ui .trainer-shell{
  position:relative;
  padding:18px 18px calc(112px + env(safe-area-inset-bottom));
  background:#f7fbff;
}
body.eplan-redesign.trainer-ui .trainer-top{
  margin-top:calc(env(safe-area-inset-top) + 8px);
  margin-bottom:16px;
}
body.eplan-redesign.trainer-ui .trainer-top strong{font-size:20px}
body.eplan-redesign.trainer-ui .trainer-top .notify-btn{
  position:relative;
  width:44px;height:44px;border-radius:15px;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-hero-card{
  min-height:190px;
  padding:18px 20px;
  border-radius:20px;
  background:linear-gradient(135deg,#0d4f91 0%,#0c65bb 58%,#1677d8 100%);
}
body.eplan-redesign.trainer-ui .trainer-hero-head strong{font-size:21px}
body.eplan-redesign.trainer-ui .trainer-hero-count{font-size:34px}
body.eplan-redesign.trainer-ui .trainer-avatar-stack{margin-top:16px}
body.eplan-redesign.trainer-ui .reference-grid>button{position:relative;min-height:150px}
body.eplan-redesign.trainer-ui .reference-grid>button em{
  display:block;margin-top:10px;color:#1677ff;font-style:normal;font-size:12px;font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-home-section-head h2{font-size:22px}
body.eplan-redesign.trainer-ui .trainer-activity-row{
  grid-template-columns:auto minmax(0,1fr) auto auto;
  min-height:68px;
}
body.eplan-redesign.trainer-ui .trainer-row-time{font-size:11px;color:#8a95a8}
body.eplan-redesign.trainer-ui .trainer-bottom-nav{
  position:fixed;
  left:50%;
  bottom:calc(8px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  z-index:50;
  width:min(calc(100% - 28px),732px);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:2px;
  padding:8px 6px;
  border:1px solid rgba(185,199,220,.9);
  border-radius:24px;
  background:rgba(248,251,255,.82);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 12px 32px rgba(31,65,106,.12);
}
body.eplan-redesign.trainer-ui .trainer-bottom-nav button{
  min-width:0;
  min-height:58px;
  padding:6px 2px;
  border:0;
  background:transparent;
  color:#74829a;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:11px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-bottom-nav button .ui-icon{width:22px;height:22px}
body.eplan-redesign.trainer-ui .trainer-bottom-nav button.active{
  color:#1677ff;
  background:#eef4ff;
  border-radius:17px;
}
body.eplan-redesign.trainer-ui .trainer-search{
  height:46px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 13px;
  border-radius:13px;
  background:#edf3fb;
  color:#7d8ba0;
  margin-bottom:10px;
}
body.eplan-redesign.trainer-ui .trainer-search .ui-icon{width:18px;height:18px}
body.eplan-redesign.trainer-ui .trainer-search input{
  flex:1;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:#081633!important;
}
body.eplan-redesign.trainer-ui .trainer-filter-chips{
  display:flex;gap:8px;overflow:auto;padding-bottom:10px;
}
body.eplan-redesign.trainer-ui .trainer-filter-chips button{
  width:auto;white-space:nowrap;padding:9px 12px;border-radius:12px;background:#edf3fb;color:#63728a;font-size:12px;
}
body.eplan-redesign.trainer-ui .trainer-filter-chips button.active{background:#1677ff;color:#fff}
body.eplan-redesign.trainer-ui .trainer-filter-chips span{font-weight:900}
body.eplan-redesign.trainer-ui .trainer-client-row{
  grid-template-columns:auto minmax(0,1fr) auto;
}
body.eplan-redesign.trainer-ui .trainer-client-copy{min-width:0}
body.eplan-redesign.trainer-ui .trainer-status-pill{
  display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:850;
  background:#e9f7ef;color:#23965b;
}
body.eplan-redesign.trainer-ui .trainer-status-pill.attention{background:#fff1e6;color:#d97828}
body.eplan-redesign.trainer-ui .trainer-round-add{
  width:42px!important;height:42px!important;border-radius:14px!important;background:#eaf2ff!important;color:#1677ff!important;padding:0!important;
}
body.eplan-redesign.trainer-ui .trainer-segmented{
  display:grid;grid-template-columns:1fr 1fr;background:#edf2f8;border-radius:14px;padding:4px;margin-bottom:14px;
}
body.eplan-redesign.trainer-ui .trainer-segmented button{
  background:transparent;color:#6f7f98;border:0;border-radius:11px;padding:10px;font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-segmented button.active{background:#1677ff;color:#fff}
body.eplan-redesign.trainer-ui .trainer-program-empty{
  text-align:center;padding:34px 20px;border:1px solid #dce5f1;border-radius:20px;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-program-empty-icon{
  width:56px;height:56px;margin:0 auto 12px;display:grid;place-items:center;border-radius:16px;background:#eaf2ff;color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-program-empty h2{margin:0 0 8px}
body.eplan-redesign.trainer-ui .trainer-program-empty p{color:#76849a}
body.eplan-redesign.trainer-ui .trainer-more-list{
  overflow:hidden;border:1px solid #dce5f1;border-radius:18px;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-more-list button{
  width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;
  padding:15px 16px;border:0;border-bottom:1px solid #edf1f6;background:#fff;color:#081633;
}
body.eplan-redesign.trainer-ui .trainer-more-list button:last-child{border-bottom:0}
body.eplan-redesign.trainer-ui .trainer-more-list span strong,
body.eplan-redesign.trainer-ui .trainer-more-list span small{display:block}
body.eplan-redesign.trainer-ui .trainer-more-list span small{margin-top:3px;color:#7b8799}


/* Trainer spacing + client-card polish */
body.eplan-redesign.trainer-ui .trainer-shell{
  max-width:440px!important;
  padding:8px 14px calc(122px + env(safe-area-inset-bottom))!important;
}
body.eplan-redesign.trainer-ui .trainer-top{
  margin-top:0!important;
  margin-bottom:12px!important;
  padding:8px 0 10px!important;
  min-height:66px!important;
}
body.eplan-redesign.trainer-ui .trainer-home-page,
body.eplan-redesign.trainer-ui .trainer-clients-page,
body.eplan-redesign.trainer-ui .trainer-programs-page,
body.eplan-redesign.trainer-ui .trainer-nutrition-page,
body.eplan-redesign.trainer-ui .trainer-more-page,
body.eplan-redesign.trainer-ui .trainer-client-page{
  margin-top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-bottom-nav{
  width:min(398px,calc(100% - 34px))!important;
  bottom:9px!important;
  background:rgba(255,255,255,.22)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.18)!important;
  backdrop-filter:blur(24px) saturate(1.18)!important;
  border:1px solid rgba(184,198,217,.48)!important;
}
body.eplan-redesign.trainer-ui .trainer-bottom-nav button.active{
  background:rgba(255,255,255,.42)!important;
}

/* Prevent legacy dark trainer cards inside redesigned environment */
body.eplan-redesign.trainer-ui .card{
  background:#fff!important;
  color:#081633!important;
  border:1px solid #dce5f1!important;
  box-shadow:0 8px 24px rgba(31,64,104,.05)!important;
}
body.eplan-redesign.trainer-ui .card h1,
body.eplan-redesign.trainer-ui .card h2,
body.eplan-redesign.trainer-ui .card h3,
body.eplan-redesign.trainer-ui .card strong{color:#081633!important}
body.eplan-redesign.trainer-ui .muted{color:#75839a!important}
body.eplan-redesign.trainer-ui .card input,
body.eplan-redesign.trainer-ui .card textarea,
body.eplan-redesign.trainer-ui .card select{
  background:#f7f9fd!important;color:#081633!important;border:1px solid #dce5f1!important;
}
body.eplan-redesign.trainer-ui .card button.dark{
  background:#eef3fb!important;color:#183153!important;border:1px solid #dce5f0!important;
}

body.eplan-redesign.trainer-ui .trainer-client-navline{
  display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;
}
body.eplan-redesign.trainer-ui .trainer-client-navline button{
  width:40px;height:40px;padding:0;border-radius:13px;background:#eef4ff;color:#0a1738;font-size:26px;
}
body.eplan-redesign.trainer-ui .trainer-client-navline .trainer-client-more{font-size:16px}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop{
  position:absolute;right:14px;top:64px;z-index:20;display:grid;gap:6px;padding:8px;border-radius:14px;background:#fff;border:1px solid #dce5f1;box-shadow:0 12px 30px rgba(31,64,104,.14);
}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop.hidden{display:none}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop button{width:140px}
body.eplan-redesign.trainer-ui .trainer-client-identity{
  display:flex;align-items:center;gap:13px;margin-bottom:14px;
}
body.eplan-redesign.trainer-ui .trainer-client-avatar.large{
  width:58px;height:58px;min-width:58px;font-size:17px;border:0;background:#e7f0ff;color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-client-identity h1{margin:0;font-size:22px;line-height:1.1}
body.eplan-redesign.trainer-ui .trainer-client-identity p{margin:4px 0 5px;color:#74829a;font-size:12px}
body.eplan-redesign.trainer-ui .trainer-client-tabs{
  display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;margin-bottom:14px;border-radius:14px;background:#edf2f8;
}
body.eplan-redesign.trainer-ui .trainer-client-tabs button{
  min-width:0;padding:9px 3px;border:0;border-radius:10px;background:transparent;color:#6c7b92;font-size:11px;font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-client-tabs button.active{background:#fff;color:#1677ff;box-shadow:0 3px 10px rgba(31,64,104,.07)}
body.eplan-redesign.trainer-ui .trainer-client-kpis{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;
}
body.eplan-redesign.trainer-ui .trainer-client-kpis>div{
  min-width:0;padding:12px 9px;border-radius:15px;background:#fff;border:1px solid #dce5f1;text-align:center;
}
body.eplan-redesign.trainer-ui .trainer-client-kpis strong{display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.eplan-redesign.trainer-ui .trainer-client-kpis small{display:block;margin-top:4px;color:#7a879b;font-size:9.5px}
body.eplan-redesign.trainer-ui .trainer-client-page .access-card{margin-top:12px}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-client-actions{display:flex;gap:8px}

/* Assigned programs + trainer nutrition */
body.eplan-redesign.trainer-ui .trainer-assigned-list,
body.eplan-redesign.trainer-ui .trainer-nutrition-list{
  overflow:hidden;border:1px solid #dce5f1;border-radius:18px;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row,
body.eplan-redesign.trainer-ui .trainer-nutrition-row{
  width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;padding:14px 16px;border:0;border-bottom:1px solid #edf1f6;background:#fff;color:#081633;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row:last-child,
body.eplan-redesign.trainer-ui .trainer-nutrition-row:last-child{border-bottom:0}
body.eplan-redesign.trainer-ui .trainer-assigned-row strong,
body.eplan-redesign.trainer-ui .trainer-assigned-row small,
body.eplan-redesign.trainer-ui .trainer-nutrition-row strong,
body.eplan-redesign.trainer-ui .trainer-nutrition-row small{display:block}
body.eplan-redesign.trainer-ui .trainer-assigned-row small,
body.eplan-redesign.trainer-ui .trainer-nutrition-row small{margin-top:3px;color:#7b8799}
body.eplan-redesign.trainer-ui .trainer-page-sub{margin:-4px 2px 14px;color:#74829a;font-size:13px}


/* Smart coaching states */
body.eplan-redesign.trainer-ui .trainer-smart-status{
  display:inline-flex;align-items:center;max-width:100%;margin-top:6px;padding:4px 8px;border-radius:999px;
  font-size:10px;font-weight:850;line-height:1.15;white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-smart-status.ok{background:#e9f7ef;color:#238b57}
body.eplan-redesign.trainer-ui .trainer-smart-status.training{background:#e7f8ef;color:#168a52}
body.eplan-redesign.trainer-ui .trainer-smart-status.training::before{content:'';width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(22,138,82,.12)}
body.eplan-redesign.trainer-ui .trainer-smart-status.new{background:#edf4ff;color:#2f72dc}
body.eplan-redesign.trainer-ui .trainer-smart-status.attention{background:#fff3e8;color:#c86c25}
body.eplan-redesign.trainer-ui .trainer-smart-status.risk{background:#ffecef;color:#c94755}
body.eplan-redesign.trainer-ui .trainer-smart-status.paused{background:#eef1f5;color:#78869b}
body.eplan-redesign.trainer-ui .trainer-client-copy em{
  display:block;margin-top:5px;color:#8a96a8;font-size:10px;font-style:normal;line-height:1.25;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px;padding:13px 14px;
  border-radius:15px;border:1px solid #dce5f1;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary strong{font-size:13px}
body.eplan-redesign.trainer-ui .trainer-smart-summary span{color:#738198;font-size:11px;text-align:right}
body.eplan-redesign.trainer-ui .trainer-smart-summary.attention{border-color:#f2d8bf;background:#fffaf5}
body.eplan-redesign.trainer-ui .trainer-smart-summary.risk{border-color:#f1c9cf;background:#fff7f8}
body.eplan-redesign.trainer-ui .trainer-smart-summary.ok{border-color:#cfe9da;background:#f8fdf9}

/* Trainer private notes + weekly check-ins */
body.eplan-redesign.trainer-ui .trainer-private-note small,
body.eplan-redesign.trainer-ui .trainer-checkin-card small{color:#8a96a8;font-weight:850;letter-spacing:.04em}
body.eplan-redesign.trainer-ui .trainer-private-note textarea{
  min-height:150px;margin:12px 0;background:#f7f9fd!important;color:#081633!important;border:1px solid #dce5f1!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history{margin-top:12px}
body.eplan-redesign.trainer-ui .trainer-checkin-card{margin-bottom:12px}
body.eplan-redesign.trainer-ui .trainer-checkin-card:last-child{margin-bottom:0}
body.eplan-redesign.trainer-ui .trainer-checkin-card h2{margin:3px 0 0;font-size:18px}
body.eplan-redesign.trainer-ui .trainer-checkin-score{
  min-width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#eaf2ff;color:#1677ff;font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-checkin-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;
}
body.eplan-redesign.trainer-ui .trainer-checkin-grid span{
  display:flex;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:11px;background:#f5f8fc;color:#687790;font-size:11px;
}
body.eplan-redesign.trainer-ui .trainer-checkin-grid b{color:#081633}
body.eplan-redesign.trainer-ui .trainer-checkin-card p{margin:10px 0;color:#43516a;line-height:1.45}
body.eplan-redesign.trainer-ui .trainer-checkin-reviewed{
  display:inline-flex;margin-top:5px;padding:6px 9px;border-radius:999px;background:#e9f7ef;color:#238b57;font-size:11px;font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-checkin-empty{
  display:flex;flex-direction:column;gap:4px;margin-bottom:12px;
}
body.eplan-redesign.trainer-ui .trainer-checkin-empty span{color:#7a879b;font-size:12px}
body.eplan-redesign.trainer-ui .trainer-client-tabs{grid-template-columns:repeat(5,1fr)!important}
body.eplan-redesign.trainer-ui .trainer-client-tabs button{font-size:10px!important;padding-inline:2px!important}

/* Client weekly check-in */
body.eplan-redesign.client-ui .client-weekly-checkin{
  position:relative;width:100%;display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center;
  margin:14px 0 4px;padding:15px 46px 15px 16px;border:1px solid #d7e2f0;border-radius:18px;
  background:linear-gradient(135deg,#f7fbff,#eef5ff);color:#081633;text-align:left;
}
body.eplan-redesign.client-ui .client-weekly-checkin>span{
  grid-column:1/2;color:#6f7f98;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.03em;
}
body.eplan-redesign.client-ui .client-weekly-checkin>strong{grid-column:1/2;font-size:15px}
body.eplan-redesign.client-ui .client-weekly-checkin>em{grid-column:1/2;color:#8490a3;font-size:11px;font-style:normal}
body.eplan-redesign.client-ui .client-weekly-checkin>b{
  position:absolute;right:17px;top:50%;transform:translateY(-50%);color:#1677ff;font-size:24px;
}
body.eplan-redesign.client-ui .client-weekly-checkin.done{
  background:#f8fcfa;border-color:#d6eadf;
}
.weekly-checkin-modal{max-width:520px!important;max-height:min(86dvh,760px);overflow:auto}
.weekly-checkin-field{margin-top:14px}
.weekly-checkin-field>label{display:block;margin-bottom:7px;color:#4e5c73;font-size:12px;font-weight:800}
.weekly-checkin-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.weekly-checkin-scale label{display:block}
.weekly-checkin-scale input{position:absolute;opacity:0;pointer-events:none}
.weekly-checkin-scale span{
  height:42px;display:grid;place-items:center;border:1px solid #d9e3ef;border-radius:12px;background:#f7f9fc;color:#6f7e95;font-weight:850;
}
.weekly-checkin-scale input:checked+span{background:#1677ff;color:#fff;border-color:#1677ff}
.weekly-checkin-comment{display:block;margin-top:15px;color:#4e5c73;font-size:12px;font-weight:800}
.weekly-checkin-comment textarea{min-height:90px;margin-top:7px}


/* ===== Trainer Library — unified with trainer environment ===== */
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-page-title{
  margin-bottom:12px;
}
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-page-title h1,
body.eplan-redesign.trainer-ui .trainer-nutrition-page .trainer-page-title h1{
  margin:0;
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.02em;
}
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-page-sub,
body.eplan-redesign.trainer-ui .trainer-nutrition-page .trainer-page-sub{
  margin:5px 0 0!important;
  color:#78869a;
  font-size:12px;
}
body.eplan-redesign.trainer-ui .trainer-library-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:0 0 12px;
}
body.eplan-redesign.trainer-ui .trainer-library-summary>div{
  padding:13px 10px;
  border:1px solid #dce5f1;
  border-radius:15px;
  background:#fff;
  text-align:center;
}
body.eplan-redesign.trainer-ui .trainer-library-summary strong{
  display:block;
  color:#081633;
  font-size:20px;
}
body.eplan-redesign.trainer-ui .trainer-library-summary small{
  display:block;
  margin-top:3px;
  color:#7b8799;
  font-size:10px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-library-tools{
  margin-bottom:10px;
}
body.eplan-redesign.trainer-ui .trainer-library-search{
  margin-bottom:8px;
}
body.eplan-redesign.trainer-ui .trainer-library-filters{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
body.eplan-redesign.trainer-ui .trainer-library-filters select{
  width:100%;
  min-width:0;
  height:42px;
  padding:0 11px;
  border:1px solid #dce5f1!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#23324b!important;
  font-size:12px;
  font-weight:750;
}
body.eplan-redesign.trainer-ui .trainer-library-result-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:8px 2px 10px;
  color:#7c899d;
  font-size:11px;
}
body.eplan-redesign.trainer-ui .trainer-library-result-line strong{
  color:#081633;
}
body.eplan-redesign.trainer-ui .trainer-library-group,
body.eplan-redesign.trainer-ui .trainer-library-admin{
  padding:0!important;
  overflow:hidden;
  margin-bottom:10px;
}
/* Trainer anatomy library reuses the same muscle-group art as clients,
   while retaining editable exercise groups and all existing library filters. */
body.eplan-redesign.trainer-ui #app .trainer-library-page{
 --el-panel:#fff;--el-elevated:#f5f8fd;--el-line:#dbe5f2;
 --el-text:#122342;--el-muted:#70819a;--el-action:#207df2;--el-visual:#f8fafd;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus{
 display:grid;gap:12px;margin:15px 0 17px;min-width:0;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus-head{
 display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus-head>strong{
 color:var(--el-text);font-size:15px;font-weight:850;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus-all{
 display:inline-flex!important;align-items:center!important;gap:10px!important;
 justify-self:start;min-height:47px!important;max-width:100%!important;
 padding:5px 14px 5px 6px!important;
 background:var(--el-elevated)!important;border:1px solid var(--el-line)!important;
 border-radius:15px!important;color:var(--el-text)!important;
 font-size:13px!important;font-weight:850!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus-all .trainer-library-back-icon{
 display:grid!important;place-items:center!important;
 width:34px!important;height:34px!important;flex:0 0 34px!important;
 background:var(--el-panel)!important;border:1px solid var(--el-line)!important;
 border-radius:11px!important;color:var(--el-action)!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-back-icon .ui-icon{
 width:19px!important;height:19px!important;
 stroke:currentColor!important;stroke-width:2.4!important;fill:none!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-flat-group{
 overflow:hidden!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-flat-group .library-group-body{
 display:block!important;margin:0!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-flat-group .trainer-library-exercise-list{
 border-top:0!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-focus-grid{
 margin:0!important;align-items:stretch;
}
body.eplan-redesign.trainer-ui #app .trainer-library-gallery-add{
 justify-self:start;min-height:38px!important;padding:0 13px!important;
 border:1px solid var(--el-line)!important;border-radius:12px!important;
 background:var(--el-elevated)!important;color:var(--el-action)!important;
 font-size:12px!important;font-weight:800!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui #app .trainer-library-detail{
 display:grid;gap:11px;min-width:0;margin-top:6px;
}

body.eplan-redesign.trainer-ui .trainer-library-group-toggle,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 16px;
  background:#fff!important;
  color:#081633!important;
  border:0!important;
  text-align:left;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle span:first-child,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle span:first-child{
  min-width:0;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle strong,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle strong{
  display:block;
  font-size:15px;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle small,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle small{
  display:block;
  margin-top:4px;
  color:#7e8a9d;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise-list{
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding:13px 15px;
  border-bottom:1px solid #edf1f6;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise-main strong{
  font-size:13px;
}
body.eplan-redesign.trainer-ui .library-muscle-lines{
  margin-top:5px;
  color:#7b8799;
  font-size:9.5px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .library-muscle-lines b{
  color:#56657c!important;
  font-weight:750;
}
body.eplan-redesign.trainer-ui .trainer-library-video{
  margin-top:6px;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-library-add{
  padding:15px;
  background:#f8fbff;
}
body.eplan-redesign.trainer-ui .trainer-library-add h3,
body.eplan-redesign.trainer-ui .trainer-library-admin-section h3{
  margin:0 0 10px;
  font-size:13px;
}
body.eplan-redesign.trainer-ui .trainer-library-add-actions{
  display:flex;
  gap:8px;
  margin-top:10px;
}
body.eplan-redesign.trainer-ui .trainer-library-add-actions button{
  flex:1;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-body{
  padding:15px;
  border-top:1px solid #edf1f6;
  background:#f8fbff;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-section+ .trainer-library-admin-section{
  margin-top:18px;
}
body.eplan-redesign.trainer-ui .library-muscle-admin-list{
  margin-top:10px;
}
body.eplan-redesign.trainer-ui .library-muscle-admin-list>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 0;
  border-bottom:1px solid #e8eef6;
}

/* ===== Trainer Nutrition — unified dashboard ===== */
body.eplan-redesign.trainer-ui .trainer-nutrition-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:0 0 12px;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-summary>div{
  min-width:0;
  padding:12px 9px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-summary .trainer-stat-icon{
  width:34px;
  height:34px;
  border-radius:11px;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-summary strong{
  display:block;
  margin-top:8px;
  color:#081633;
  font-size:20px;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-summary small{
  display:block;
  margin-top:3px;
  color:#7a879b;
  font-size:9px;
  line-height:1.2;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-list.modern{
  border:1px solid #dce5f1;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-row.modern{
  grid-template-columns:auto minmax(0,1fr) auto;
  padding:14px 15px;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-copy{
  min-width:0;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-copy strong,
body.eplan-redesign.trainer-ui .trainer-nutrition-copy small{
  display:block;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-copy small{
  margin-top:3px;
  color:#7b8799;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-status{
  display:inline-flex;
  margin-top:7px;
  padding:4px 8px;
  border-radius:999px;
  font-size:9.5px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-status.ok{
  background:#e9f7ef;
  color:#238b57;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-status.warn{
  background:#fff4df;
  color:#b97a1d;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-status.attention{
  background:#fff0e8;
  color:#cf6d27;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-status.neutral{
  background:#eef1f5;
  color:#77859a;
}


/* ===== Client live workout — light premium treatment ===== */
body.eplan-redesign.client-ui .rest-timer-card{
  background:#fff!important;
  border:1px solid #dce5f1!important;
  box-shadow:0 10px 28px rgba(31,64,104,.06)!important;
}
body.eplan-redesign.client-ui .rest-timer-label{
  color:#74829a!important;
}
body.eplan-redesign.client-ui .rest-timer-top strong{
  color:#0a1738!important;
}
body.eplan-redesign.client-ui .rest-timer-main{
  background:#eef4fb!important;
  color:#183153!important;
  border:1px solid #d9e4f1!important;
}
body.eplan-redesign.client-ui .rest-timer-choices button,
body.eplan-redesign.client-ui .rest-timer-choices button.dark{
  background:#f7f9fc!important;
  color:#183153!important;
  border:1px solid #dce5f1!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .rest-timer-choices button.selected{
  background:#e9f7ef!important;
  color:#248c57!important;
  border-color:#bfe2cf!important;
}
body.eplan-redesign.client-ui .rest-timer-actions button.dark{
  background:#eef4fb!important;
  color:#183153!important;
  border-color:#d9e4f1!important;
}
body.eplan-redesign.client-ui .rest-timer-note{
  color:#738198!important;
}

/* Live exercise cards */
body.eplan-redesign.client-ui .workout-live-exercise{
  overflow:hidden;
  padding:0!important;
  margin-top:10px!important;
  background:#fff!important;
  border:1px solid #dce5f1!important;
  border-radius:18px!important;
  box-shadow:0 7px 20px rgba(31,64,104,.045)!important;
}
body.eplan-redesign.client-ui .workout-live-exercise-inner{
  margin-top:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body.eplan-redesign.client-ui .workout-live-toggle{
  width:100%!important;
  min-height:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:15px 16px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  text-align:left!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-live-toggle>span:first-child{
  min-width:0;
  flex:1;
}
body.eplan-redesign.client-ui .workout-live-toggle strong{
  display:block;
  color:#0a1738!important;
  font-size:16px!important;
  line-height:1.25!important;
}
body.eplan-redesign.client-ui .workout-live-toggle .muted{
  color:#718097!important;
  font-size:12px!important;
  line-height:1.4!important;
}
body.eplan-redesign.client-ui .workout-live-toggle .arrow{
  flex:0 0 auto;
  color:#7d8ba0!important;
  font-size:18px!important;
  margin-top:1px;
}
body.eplan-redesign.client-ui .workout-live-toggle-side{
  align-self:stretch!important;
  display:flex!important;
  flex:0 0 28px!important;
  min-width:28px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.eplan-redesign.client-ui .workout-live-toggle-side .arrow{
  margin:0!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .workout-live-toggle-side .exercise-done-badge.compact{
  margin:0!important;
  flex:0 0 24px!important;
}
body.eplan-redesign.client-ui .workout-live-toggle.open{
  background:#f8fbff!important;
  border-bottom:1px solid #e8eef6!important;
}
body.eplan-redesign.client-ui .workout-live-body{
  padding:14px 14px 16px!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.client-ui .workout-live-body.hidden{
  display:none!important;
}

/* Previous result / history inside exercise */
body.eplan-redesign.client-ui .workout-live-body .workout-previous{
  margin:0 0 12px!important;
  padding:11px 12px!important;
  background:#f3f7fc!important;
  border:1px solid #e0e8f2!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-live-body .workout-previous .muted{
  color:#75839a!important;
}

/* Set entry grid */
body.eplan-redesign.client-ui .workout-live-body .setrow{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) minmax(70px,.8fr)!important;
  gap:8px!important;
  align-items:center!important;
  margin:0!important;
  padding:9px 0!important;
  border-bottom:1px solid #edf1f6!important;
}
body.eplan-redesign.client-ui .workout-live-body .setrow:first-of-type{
  padding-top:0!important;
}
body.eplan-redesign.client-ui .workout-live-body .setrow:last-of-type{
  border-bottom:0!important;
}
body.eplan-redesign.client-ui .workout-live-body .sethead{
  color:#7a879b!important;
  font-size:10px!important;
  font-weight:800!important;
  text-align:center!important;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .workout-live-body .setnum{
  color:#0a1738!important;
  font-size:15px!important;
  font-weight:900!important;
  text-align:center!important;
}
body.eplan-redesign.client-ui .workout-live-body .setrow input{
  min-width:0!important;
  width:100%!important;
  height:48px!important;
  padding:0 8px!important;
  border:1px solid #dbe5f1!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0a1738!important;
  font-size:15px!important;
  font-weight:750!important;
  text-align:center!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-live-body .setrow input:focus{
  outline:2px solid rgba(22,119,255,.14)!important;
  border-color:#8fbcff!important;
}
body.eplan-redesign.client-ui .workout-live-body .setrow input::placeholder{
  color:#a3adba!important;
  opacity:1!important;
}

/* Exercise actions */
body.eplan-redesign.client-ui .workout-live-body>button.dark,
body.eplan-redesign.client-ui .workout-live-body .swap-exercise-btn{
  width:100%!important;
  margin:0 0 12px!important;
  background:#eef4fb!important;
  color:#183153!important;
  border:1px solid #d9e4f1!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-finish-exercise{
  width:100%!important;
  margin-top:2px!important;
  background:#1677ff!important;
  color:#fff!important;
  border:1px solid #1677ff!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .exercise-done-badge{
  color:#24945c!important;
}
body.eplan-redesign.client-ui .workout-live-body>.exercise{
  background:#f3f8f5!important;
  border-color:#d7eadf!important;
  box-shadow:none!important;
}

/* Keep bottom nav from covering the final controls during a live workout */
body.eplan-redesign.client-ui .client-section-page:has(.training-live){
  padding-bottom:96px!important;
}
body.eplan-redesign.client-ui .client-section-page:has(.training-live) .finish-workout-wrap{
  margin-top:18px!important;
  padding-top:16px!important;
  border-top:1px solid #e3eaf3!important;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .workout-live-body{
    padding:12px 10px 14px!important;
  }
  body.eplan-redesign.client-ui .workout-live-body .setrow{
    grid-template-columns:30px minmax(0,1fr) minmax(0,1fr) 64px!important;
    gap:6px!important;
  }
  body.eplan-redesign.client-ui .workout-live-body .setrow input{
    height:46px!important;
    padding:0 5px!important;
    font-size:14px!important;
  }
  body.eplan-redesign.client-ui .workout-live-body .sethead{
    font-size:9px!important;
  }
}


/* Live workout action hierarchy — keep blue for navigation, not every completion action */
body.eplan-redesign.client-ui .workout-finish-exercise{
  background:#eef3f8!important;
  color:#16304f!important;
  border:1px solid #d8e2ee!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-finish-exercise:active{
  background:#e5ecf4!important;
}

body.eplan-redesign.client-ui .finish-workout-btn{
  background:#0f2342!important;
  color:#fff!important;
  border:1px solid #0f2342!important;
  box-shadow:0 8px 20px rgba(15,35,66,.12)!important;
}
body.eplan-redesign.client-ui .finish-workout-btn:active{
  background:#0b1b34!important;
}


/* ===== Workout duration ===== */
body.eplan-redesign.client-ui .workout-duration-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 10px;
  padding:10px 12px;
  border:1px solid #dce5f1;
  border-radius:13px;
  background:#f8fbff;
  color:#74829a;
  font-size:11px;
  font-weight:750;
}
.workout-duration-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:#eef3f8;
  color:#33445e;
  font-size:10px;
  font-weight:850;
  white-space:nowrap;
}
.workout-duration-badge.live{
  background:#eaf7f0;
  color:#268c59;
}
body.eplan-redesign.client-ui .next-action-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body.eplan-redesign.client-ui .next-action-title-row h2{
  margin-right:auto;
}
body.eplan-redesign.client-ui .workout-finish-summary-grid{
  grid-template-columns:repeat(3,1fr)!important;
}
body.eplan-redesign.client-ui .workout-finish-summary-grid .summary-number.duration{
  font-size:16px!important;
  line-height:1.25;
}
body.eplan-redesign.client-ui .finish-workout-comment{
  margin-top:14px!important;padding-top:14px!important;border-top:1px solid #e3eaf3!important;
}
body.eplan-redesign.client-ui .finish-workout-comment-head{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;margin-bottom:7px!important;
}
body.eplan-redesign.client-ui .finish-workout-comment-head strong{
  color:#0a1738!important;font-size:12px!important;font-weight:900!important;
}
body.eplan-redesign.client-ui .finish-workout-comment-head span{
  color:#93a0b2!important;font-size:9.5px!important;font-weight:750!important;
}
body.eplan-redesign.client-ui .finish-workout-comment textarea{
  width:100%!important;min-height:92px!important;padding:12px!important;border:1px solid #dce5f1!important;border-radius:13px!important;
  background:#f8fbff!important;color:#0a1738!important;box-shadow:none!important;font:inherit!important;font-size:12px!important;line-height:1.45!important;resize:vertical!important;
}
body.eplan-redesign.client-ui .finish-workout-comment-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin-top:9px!important;
}
body.eplan-redesign.client-ui .finish-workout-comment-actions button{
  min-height:42px!important;margin:0!important;border-radius:12px!important;font-size:10.5px!important;font-weight:900!important;
}
@media(max-width:380px){
  body.eplan-redesign.client-ui .finish-workout-comment-actions{grid-template-columns:1fr!important}
}
body.eplan-redesign.trainer-ui .trainer-workout-meta{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:5px;
}
body.eplan-redesign.trainer-ui .trainer-history-duration{
  background:#eef4fb;
  color:#53637a;
}
@media(max-width:380px){
  body.eplan-redesign.client-ui .next-action-title-row{
    align-items:flex-start;
    flex-direction:column;
  }
  body.eplan-redesign.client-ui .workout-finish-summary-grid{
    grid-template-columns:1fr 1fr!important;
  }
  body.eplan-redesign.client-ui .workout-finish-summary-grid>div:last-child{
    grid-column:1/-1;
  }
}


/* Live workout finishing states — refinement */
body.eplan-redesign.client-ui .finish-workout-btn{
  background:#1677ff!important;
  color:#fff!important;
  border-color:#1677ff!important;
  box-shadow:0 8px 20px rgba(22,119,255,.16)!important;
}
body.eplan-redesign.client-ui .finish-workout-btn:active{
  background:#0f69e6!important;
}

body.eplan-redesign.client-ui .exercise-done-badge.compact{
  display:inline-grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  padding:0!important;
  margin-left:auto!important;
  border-radius:999px!important;
  background:#e9f7ef!important;
  color:#24945c!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .workout-completed-label{
  color:#24945c!important;
  font-size:14px!important;
  font-weight:850!important;
}

/* Per-set check buttons are redundant: the exercise is saved with the main action. */
body.eplan-redesign.client-ui .workout-live-body .setrow button{
  display:none!important;
}


/* Compact rest timer inside active workout */
body.eplan-redesign.client-ui .workout-active-card{padding-top:16px!important}
body.eplan-redesign.client-ui .training-live-toolbar{
 display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px
}
body.eplan-redesign.client-ui .training-live-toolbar .training-live{margin:0!important}
body.eplan-redesign.client-ui .inline-rest-timer{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto!important;min-width:0!important;
 height:38px!important;padding:0 11px!important;border:1px solid #d7e2ef!important;border-radius:12px!important;
 background:#f3f7fc!important;color:#183153!important;box-shadow:none!important;font-size:11px!important;font-weight:850!important;white-space:nowrap
}
body.eplan-redesign.client-ui .inline-rest-timer-icon{font-size:14px}
body.eplan-redesign.client-ui .inline-rest-timer-choices{
 margin:0 0 12px!important;padding:10px!important;border-radius:13px;background:#f7f9fc;border:1px solid #e0e8f2
}
body.eplan-redesign.client-ui .inline-rest-timer-actions{margin:0 0 12px!important}
body.eplan-redesign.client-ui .workout-exercise-title-line{display:flex;align-items:center;gap:8px;min-width:0}
body.eplan-redesign.client-ui .workout-exercise-title-line strong{min-width:0}
body.eplan-redesign.client-ui .workout-exercise-title-line .exercise-done-badge.compact{margin-left:0!important}
body.eplan-redesign.client-ui .workout-replacement-note{display:block;margin-top:3px}
body.eplan-redesign.client-ui .workout-technique-row{margin-top:5px!important}
body.eplan-redesign.client-ui .workout-plan-line{display:block;margin-top:6px!important;line-height:1.32!important}
body.eplan-redesign.client-ui .workout-plan-line>span{display:block;margin-top:2px!important}


/* Active workout header: status + day + rest timer in the same card */
body.eplan-redesign.client-ui .workout-active-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .workout-active-head-copy{
  min-width:0;
}
body.eplan-redesign.client-ui .workout-active-head-copy .training-live{
  margin:0 0 5px!important;
}
body.eplan-redesign.client-ui .workout-active-head-copy h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:25px!important;
  line-height:1.08!important;
}
body.eplan-redesign.client-ui .workout-active-head .inline-rest-timer{
  flex:0 0 auto;
}
body.eplan-redesign.client-ui .workout-active-card>.inline-rest-timer-choices{
  margin-top:2px!important;
}


/* Lyfta-like automatic rest timer */
body.eplan-redesign.client-ui .workout-live-body .setrow{grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) minmax(62px,.72fr) 42px!important}
body.eplan-redesign.client-ui .workout-live-body .setrow .workout-set-check{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:999px!important;background:#eef2f7!important;color:#0f2342!important;font-size:20px!important;font-weight:900!important;box-shadow:none!important}
body.eplan-redesign.client-ui .workout-live-body .setrow .workout-set-check.done{background:#31c96b!important;color:#fff!important}
body.eplan-redesign.client-ui .redesign-rest-timer-icon{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:42px;height:42px;padding:0 10px;border:1px solid #d9e4f1;border-radius:13px;background:#f5f8fc;color:#183153;font-size:17px;box-shadow:none}
body.eplan-redesign.client-ui .redesign-rest-timer-icon span{font-size:11px;font-weight:850}
body.eplan-redesign.client-ui .redesign-rest-timer-icon.running{color:#1677ff;border-color:#b9d5ff;background:#edf5ff}
.rest-timer-picker{align-items:flex-end!important;padding:0!important;background:rgba(8,18,34,.46)!important;z-index:1200!important}
.rest-timer-picker-card{width:100%!important;max-width:520px!important;margin:0 auto!important;border-radius:26px 26px 0 0!important;padding:10px 18px calc(20px + env(safe-area-inset-bottom))!important;background:#fff!important;color:#0a1738!important}
.rest-timer-picker-handle{width:42px;height:5px;border-radius:999px;background:#d4d9e0;margin:0 auto 16px}
.rest-timer-picker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.rest-timer-picker-head strong{display:block;font-size:20px}.rest-timer-picker-head span{display:block;color:#7a879b;font-size:12px;margin-top:4px}.rest-timer-picker-close{flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:1px solid #dce5f0!important;border-radius:13px!important;background:#eef3f8!important;color:#183153!important;box-shadow:none!important;font-size:20px!important;font-weight:700!important;line-height:1!important}
.rest-timer-preset-list{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.rest-timer-preset-list button{padding:12px 4px;border-radius:12px;background:#f1f4f8;color:#23344e;font-size:13px}.rest-timer-preset-list button.selected{background:#1677ff;color:#fff}.rest-timer-custom{width:100%;margin-top:10px;background:#eef3f8;color:#183153}
@media(max-width:390px){body.eplan-redesign.client-ui .workout-live-body .setrow{grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 58px 36px!important;gap:5px!important}body.eplan-redesign.client-ui .workout-live-body .setrow .workout-set-check{width:34px!important;height:34px!important;min-width:34px!important}.rest-timer-preset-list{grid-template-columns:repeat(3,1fr)}}

/* Rest timer picker: neutral choices, blue only for the selected value. */
.rest-timer-preset-list button{background:#eef2f6!important;color:#183153!important;border:1px solid #dde5ee!important;box-shadow:none!important}
.rest-timer-preset-list button.selected{background:#e9f2ff!important;color:#1268d8!important;border-color:#bcd6fb!important}
.rest-timer-custom{background:#eef2f6!important;color:#183153!important;border:1px solid #dde5ee!important;box-shadow:none!important}


/* ===== Finished workout summary — Redesign V1 ===== */
body.eplan-redesign.client-ui #finishSummaryModal{background:rgba(10,23,56,.48)!important;backdrop-filter:blur(3px);padding:18px!important}
body.eplan-redesign.client-ui #finishSummaryModal .finish-summary{width:min(520px,100%)!important;margin:auto!important;padding:24px 20px 20px!important;border:1px solid #dce5f1!important;border-radius:24px!important;background:#fff!important;color:#0a1738!important;box-shadow:0 24px 70px rgba(15,35,66,.20)!important}
body.eplan-redesign.client-ui #finishSummaryModal .finish-summary h2{margin:0 0 8px!important;font-size:25px!important;line-height:1.15!important;letter-spacing:-.4px!important;color:#0a1738!important}
body.eplan-redesign.client-ui #finishSummaryModal .finish-summary>p{margin:0 0 18px!important;color:#74829a!important;font-size:14px!important;line-height:1.45!important}
body.eplan-redesign.client-ui #finishSummaryModal .workout-finish-summary-grid{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin:0 0 18px!important}
body.eplan-redesign.client-ui #finishSummaryModal .workout-finish-summary-grid>div{min-width:0!important;padding:14px 12px!important;border:1px solid #e0e8f2!important;border-radius:16px!important;background:#f7f9fc!important;color:#0a1738!important;box-shadow:none!important}
body.eplan-redesign.client-ui #finishSummaryModal .workout-finish-summary-grid .muted{display:block!important;margin-bottom:5px!important;color:#7a879b!important;font-size:11px!important;font-weight:750!important}
body.eplan-redesign.client-ui #finishSummaryModal .summary-number{color:#0a1738!important;font-size:25px!important;font-weight:900!important;line-height:1.05!important}
body.eplan-redesign.client-ui #finishSummaryModal .summary-number.duration{font-size:15px!important;line-height:1.25!important;overflow-wrap:anywhere}
body.eplan-redesign.client-ui #finishSummaryModal .finish-summary>button{width:100%!important;margin-top:2px!important;padding:14px 18px!important;border-radius:14px!important;background:#1677ff!important;color:#fff!important;font-size:15px!important;box-shadow:none!important}
@media(max-width:380px){body.eplan-redesign.client-ui #finishSummaryModal .finish-summary{padding:22px 16px 16px!important}body.eplan-redesign.client-ui #finishSummaryModal .workout-finish-summary-grid{gap:6px!important}body.eplan-redesign.client-ui #finishSummaryModal .workout-finish-summary-grid>div{padding:12px 9px!important}body.eplan-redesign.client-ui #finishSummaryModal .summary-number{font-size:22px!important}}


/* Training tab — make today's completed workout unmistakable. */
body.eplan-redesign.client-ui .redesign-training-today-done{display:flex;align-items:center;gap:11px;margin:0 0 12px;padding:13px 14px;border:1px solid #cfe8da;border-radius:16px;background:#f1faf5;color:#183153}
body.eplan-redesign.client-ui .redesign-training-today-done-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:999px;background:#e0f5e8;color:#24945c;font-size:18px;font-weight:900}
body.eplan-redesign.client-ui .redesign-training-today-done strong{display:block;color:#176b43;font-size:14px;font-weight:850;line-height:1.25}
body.eplan-redesign.client-ui .redesign-training-today-done small{display:block;margin-top:3px;color:#74829a;font-size:11px;font-weight:650;line-height:1.35}
body.eplan-redesign.client-ui .redesign-training-day.is-done{border-color:#cfe8da!important;background:#fbfefc!important}
body.eplan-redesign.client-ui .redesign-training-day.is-done .redesign-training-day-status{background:#e7f6ed!important;color:#258858!important}

body.eplan-redesign.client-ui .redesign-completed-workout-note{margin-top:12px;padding:12px 14px;border-radius:13px;background:#eef8f2;color:#258858;text-align:center;font-size:13px;font-weight:800}


/* Unified client back navigation + neutral secondary save action */
body.eplan-redesign.client-ui .unified-back-button,body.eplan-redesign.client-ui .redesign-back-title>button{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border:1px solid #d8e3f0!important;border-radius:13px!important;background:#f1f6fc!important;color:#183153!important;font-size:29px!important;font-weight:500!important;line-height:1!important;box-shadow:none!important}
body.eplan-redesign.client-ui .weekly-checkin-save{background:#eef2f6!important;color:#183153!important;border:1px solid #dce4ee!important;box-shadow:none!important}

/* Activity tab: calm secondary controls */
body.eplan-redesign.client-ui .redesign-training-page .cardio-activity-card>.exercise-toggle{background:transparent!important;color:#102044!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
body.eplan-redesign.client-ui .redesign-training-page .cardio-activity-card>.exercise-toggle strong{color:#102044!important}
body.eplan-redesign.client-ui .redesign-training-page .cardio-activity-card>.exercise-toggle .arrow{color:#71809c!important}
body.eplan-redesign.client-ui .cardio-save-neutral{background:#eef2f6!important;color:#183153!important;border:1px solid #dce4ee!important;box-shadow:none!important}

/* Activity / cardio cards */
body.eplan-redesign.client-ui .cardio-editor-card{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
body.eplan-redesign.client-ui .cardio-editor-card h2{font-size:23px!important;margin:0 0 5px!important}
body.eplan-redesign.client-ui .activity-section-label{margin:18px 0 9px;color:#71809a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
body.eplan-redesign.client-ui .cardio-type-native{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
body.eplan-redesign.client-ui .cardio-type-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:8px}
body.eplan-redesign.client-ui .cardio-type-card{display:flex!important;align-items:center!important;gap:10px!important;min-height:58px!important;padding:11px 13px!important;border:1px solid #dce5f0!important;border-radius:15px!important;background:#f7f9fc!important;color:#183153!important;box-shadow:none!important;text-align:left!important}
body.eplan-redesign.client-ui .cardio-type-card>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#eaf2ff;color:#2878ef;font-size:17px}
body.eplan-redesign.client-ui .cardio-type-card strong{font-size:13px;font-weight:800}
body.eplan-redesign.client-ui .cardio-type-card.selected{border-color:#9fc5ff!important;background:#f1f7ff!important}
body.eplan-redesign.client-ui .cardio-type-card.selected>span{background:#dfeeff}
body.eplan-redesign.client-ui .activity-metric-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;margin-top:10px!important}
body.eplan-redesign.client-ui .activity-field-card{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border:1px solid #dce5f0;border-radius:15px;background:#f7f9fc}
body.eplan-redesign.client-ui .activity-field-card>div{min-width:0;flex:1}
body.eplan-redesign.client-ui .activity-field-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#eaf2ff;color:#2878ef;font-weight:800}
body.eplan-redesign.client-ui .activity-field-card label{display:block;margin-bottom:2px;color:#71809a;font-size:11px;font-weight:750}
body.eplan-redesign.client-ui .activity-field-card input{width:100%!important;min-height:26px!important;padding:0!important;border:0!important;background:transparent!important;color:#102044!important;font-size:17px!important;font-weight:800!important;box-shadow:none!important}
body.eplan-redesign.client-ui .cardio-editor-card>.cardio-save-neutral{margin-top:14px!important}

/* Measurement-style cardio choices */
body.eplan-redesign.client-ui .cardio-entry-cards{display:grid;gap:9px}
body.eplan-redesign.client-ui .cardio-entry-card{display:flex!important;align-items:center!important;width:100%!important;min-height:70px!important;padding:11px 13px!important;border:1px solid #dce5f0!important;border-radius:16px!important;background:#fff!important;color:#183153!important;text-align:left!important;box-shadow:none!important}
body.eplan-redesign.client-ui .cardio-entry-card>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}
body.eplan-redesign.client-ui .cardio-entry-card strong{font-size:14px;font-weight:850}
body.eplan-redesign.client-ui .cardio-entry-card small{color:#8390a7;font-size:11px;font-weight:650}
body.eplan-redesign.client-ui .cardio-entry-card>b{color:#8390a7;font-size:24px;font-weight:500}
body.eplan-redesign.client-ui .cardio-entry-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;margin-right:11px;border-radius:12px;background:#edf4ff;color:#2878ef;font-size:19px}
body.eplan-redesign.client-ui .cardio-entry-card.selected{border-color:#b9d5ff!important;background:#f8fbff!important}
body.eplan-redesign.client-ui .cardio-entry-editor{margin-top:10px;padding:12px;border:1px solid #dce5f0;border-radius:16px;background:#f8fafc}
body.eplan-redesign.client-ui .cardio-entry-editor.hidden{display:none!important}
body.eplan-redesign.client-ui .cardio-entry-editor-head{display:flex;align-items:center;gap:9px;margin-bottom:10px}
body.eplan-redesign.client-ui .cardio-entry-close{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#edf2f7!important;color:#183153!important;font-size:22px!important;box-shadow:none!important}
body.eplan-redesign.client-ui .redesign-training-stats .redesign-training-progress-link,body.eplan-redesign.client-ui .redesign-training-stats a,body.eplan-redesign.client-ui .redesign-training-stats button{background:#eef2f6!important;color:#183153!important;border-color:#dce4ee!important;box-shadow:none!important}

/* Inline cardio editors + minimal line icons */
body.eplan-redesign.client-ui .cardio-entry-wrap{display:grid;gap:8px}
body.eplan-redesign.client-ui .cardio-inline-editor{padding:2px 0 6px}
body.eplan-redesign.client-ui .cardio-inline-editor .activity-metric-cards{margin-top:0!important}
body.eplan-redesign.client-ui .activity-svg-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.eplan-redesign.client-ui .activity-steps-card .activity-svg-icon svg{width:23px;height:23px;fill:currentColor;stroke:none}
body.eplan-redesign.client-ui .cardio-entry-card.selected>b{transform:rotate(90deg)}

/* Cleaner cardio value entry */
body.eplan-redesign.client-ui .cardio-metric-inputs .activity-field-card{min-height:58px!important;padding:9px 13px!important;background:#f7f9fc!important}
body.eplan-redesign.client-ui .cardio-metric-inputs .activity-field-card>div{width:100%}
body.eplan-redesign.client-ui .cardio-metric-inputs .activity-field-card input{display:block!important;width:100%!important;height:25px!important;min-height:25px!important;margin:1px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#102044!important;font-size:16px!important;line-height:25px!important;font-weight:750!important;-webkit-appearance:none!important;appearance:none!important}
body.eplan-redesign.client-ui .cardio-metric-inputs .activity-field-card input:focus{border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
body.eplan-redesign.client-ui .cardio-metric-inputs .activity-field-card input::placeholder{color:#a7b0bf!important;font-size:16px!important;font-weight:650!important;opacity:1}

/* Steps input matches cardio metric inputs */
body.eplan-redesign.client-ui .activity-steps-card input{display:block!important;width:100%!important;height:25px!important;min-height:25px!important;margin:1px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#102044!important;font-size:16px!important;line-height:25px!important;font-weight:750!important;-webkit-appearance:none!important;appearance:none!important}
body.eplan-redesign.client-ui .activity-steps-card input:focus{border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
body.eplan-redesign.client-ui .activity-steps-card input::placeholder{color:#a7b0bf!important;font-size:16px!important;font-weight:650!important;opacity:1}

/* Activity section stays expanded */
body.eplan-redesign.client-ui .activity-always-open .client-collapsible-body{display:block!important}
body.eplan-redesign.client-ui .activity-static-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 14px;color:#102044}
body.eplan-redesign.client-ui .activity-static-heading>strong{font-size:16px;font-weight:850}
body.eplan-redesign.client-ui .activity-static-heading .client-status{font-size:12px}

/* Approved activity SVG assets: keep original Premium Navy, no blue tint */
body.eplan-redesign.client-ui .activity-approved-icon{display:block;width:24px;height:24px;object-fit:contain}
body.eplan-redesign.client-ui .cardio-entry-icon:has(.activity-approved-icon),
body.eplan-redesign.client-ui .activity-field-icon:has(.activity-approved-icon){background:#f1f4f8!important;color:#10203A!important}
body.eplan-redesign.client-ui .cardio-entry-icon .activity-approved-icon{width:26px;height:26px}
body.eplan-redesign.client-ui .activity-steps-card .activity-approved-icon{width:25px;height:25px}

/* Fix custom activity fields spacing */
body.eplan-redesign.client-ui .activity-custom-cardio{margin:8px 0 12px!important}
body.eplan-redesign.client-ui .activity-custom-cardio label{display:block;margin:0 0 6px!important;color:#102044;font-size:14px;font-weight:700}
body.eplan-redesign.client-ui .activity-custom-cardio input{display:block!important;width:100%!important;box-sizing:border-box!important;margin:0!important}
body.eplan-redesign.client-ui .activity-custom-cardio + .activity-metric-cards{margin-top:12px!important}

/* Standardize and optically center back chevron in every client page */
body.eplan-redesign.client-ui .unified-back-button,
body.eplan-redesign.client-ui .redesign-back-title>button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:relative!important;text-align:center!important;text-indent:0!important;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
 line-height:1!important;
}
body.eplan-redesign.client-ui .unified-back-button>svg,
body.eplan-redesign.client-ui .redesign-back-title>button>svg{
 display:block!important;margin:auto!important;transform:none!important;
}

/* Back button: use a drawn chevron so glyph font metrics cannot shift it */
body.eplan-redesign.client-ui .unified-back-button,
body.eplan-redesign.client-ui .redesign-back-title>button{
 font-size:0!important;color:transparent!important;
}
body.eplan-redesign.client-ui .unified-back-button::before,
body.eplan-redesign.client-ui .redesign-back-title>button::before{
 content:""!important;display:block!important;width:11px!important;height:11px!important;
 border-left:3px solid #183153!important;border-bottom:3px solid #183153!important;
 transform:rotate(45deg)!important;transform-origin:50% 50%!important;
 margin-left:4px!important;box-sizing:border-box!important;
}

/* More subpages: separate back control from title and keep a clean header rhythm */
body.eplan-redesign.client-ui .redesign-more-subpage .redesign-back-title{
 display:grid!important;
 grid-template-columns:44px minmax(0,1fr)!important;
 column-gap:14px!important;
 align-items:center!important;
 margin:0 0 22px!important;
}
body.eplan-redesign.client-ui .redesign-more-subpage .redesign-back-title>button{
 width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;
}
body.eplan-redesign.client-ui .redesign-more-subpage .redesign-back-title h1{
 margin:0!important;min-width:0!important;font-size:30px!important;line-height:1.08!important;
 letter-spacing:-.02em!important;
}
@media(max-width:520px){
 body.eplan-redesign.client-ui .redesign-more-subpage .redesign-back-title{
  grid-template-columns:44px minmax(0,1fr)!important;column-gap:14px!important;
 }
}

/* Training statistics: make "view all progress" clearly actionable, not muted */
body.eplan-redesign.client-ui .redesign-training-stats .redesign-training-progress-link{
 background:#fff!important;
 color:#102044!important;
 border:1px solid #d5e0ed!important;
 opacity:1!important;
 font-weight:800!important;
 box-shadow:0 1px 2px rgba(16,32,68,.03)!important;
}
body.eplan-redesign.client-ui .redesign-training-stats .redesign-training-progress-link *{
 color:inherit!important;opacity:1!important;
}

/* Training stats CTA — actual button class */
body.eplan-redesign.client-ui .redesign-training-stats .redesign-training-details{
 background:#fff!important;
 color:#102044!important;
 border:1px solid #d5e0ed!important;
 opacity:1!important;
 font-weight:800!important;
 box-shadow:0 1px 2px rgba(16,32,68,.04)!important;
}
body.eplan-redesign.client-ui .redesign-training-stats .redesign-training-details span{
 color:#102044!important;opacity:1!important;
}


/* Auth + current launch splash */
body.eplan-auth-page{background:#f8fbff;color:#0a1738;min-height:100dvh}
body.eplan-auth-page #app{min-height:100dvh;background:#f8fbff}
.auth-shell{width:min(100%,440px);min-height:100dvh;margin:0 auto;padding:calc(58px + env(safe-area-inset-top)) 22px calc(34px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}
.auth-logo{width:92px;height:92px;margin:0 auto 30px;border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(30,67,111,.12)}
.auth-logo img{display:block;width:100%;height:100%;object-fit:cover}
.auth-card{padding:24px 20px 20px;background:#fff;border:1px solid #e1e8f2;border-radius:24px;box-shadow:0 18px 48px rgba(31,64,104,.08)}
.auth-heading span{display:block;margin-bottom:5px;color:#1677ff;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.auth-heading h1{margin:0 0 7px;color:#0a1738;font-size:30px;letter-spacing:-.03em}
.auth-heading p{margin:0 0 22px;color:#74839a;font-size:14px}
.auth-field{display:block;margin-top:14px}
.auth-field>span{display:block;margin:0 0 7px 2px;color:#53647e;font-size:12px;font-weight:800}
body.eplan-auth-page .auth-field input{height:54px;margin:0;padding:0 15px;background:#f7f9fd;color:#0a1738;border:1px solid #dfe7f2;border-radius:15px;font-size:16px;outline:0;box-shadow:none}
body.eplan-auth-page .auth-field input:focus{border-color:#9bc6ff;box-shadow:0 0 0 3px rgba(22,119,255,.09)}
body.eplan-auth-page .password-field-wrap{position:relative}
body.eplan-auth-page .password-field-wrap input{padding-right:50px}
body.eplan-auth-page .password-eye-btn{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:40px;height:40px;padding:0;display:grid;place-items:center;background:transparent!important;color:#74839a!important;border:0!important;box-shadow:none!important}
body.eplan-auth-page .password-eye-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 6px}
body.eplan-auth-page .remember-row{margin:0;color:#687892;font-size:12px;gap:8px}
body.eplan-auth-page .remember-row input{width:18px;height:18px;accent-color:#1677ff}
body.eplan-auth-page .auth-forgot{padding:6px 0;background:transparent!important;color:#1677ff!important;border:0!important;border-radius:0!important;font-size:12px;box-shadow:none!important}
.auth-error{min-height:20px;margin:5px 0 8px;color:#c64a55;font-size:12px}
body.eplan-auth-page .auth-submit{width:100%;height:52px;border-radius:15px;background:#1677ff!important;color:#fff!important;font-size:15px;box-shadow:0 8px 20px rgba(22,119,255,.18)}
@media(max-width:380px){.auth-shell{padding-left:16px;padding-right:16px}.auth-card{padding:21px 17px 18px}.auth-options{align-items:flex-start;flex-direction:column}.auth-logo{width:82px;height:82px;margin-bottom:22px}}

.eplan-splash{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:#fff!important;opacity:1;visibility:visible;transition:opacity .2s ease,visibility .2s ease}
.eplan-splash.is-hidden{opacity:0;visibility:hidden;pointer-events:none}

/* Login brand name below the app emblem */
.eplan-auth-page .auth-logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.eplan-auth-page .auth-logo-name{
  color:#0b1f44;
  font-size:22px;
  line-height:1.15;
  font-weight:750;
  letter-spacing:-0.02em;
}
@media (prefers-color-scheme: dark){
  .eplan-auth-page .auth-logo-name{color:#f5f8ff;}
}


/* v75 — simple Є | ПЛАН launch wordmark */
.eplan-wordmark-splash{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:250px;
  color:#0b1f44;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-weight:760;
  letter-spacing:-.035em;
}
.eplan-wordmark-e{
  display:inline-block;
  font-size:54px;
  line-height:1;
  opacity:0;
  transform:translateY(2px) scale(.96);
  animation:eplanWordmarkE .18s ease .04s forwards;
}
.eplan-wordmark-divider{
  width:2px;
  height:48px;
  margin:0 14px;
  border-radius:999px;
  background:#0b1f44;
  transform:scaleY(0);
  transform-origin:center;
  animation:eplanWordmarkDivider .18s ease .18s forwards;
}
.eplan-wordmark-plan-wrap{
  display:inline-block;
  width:0;
  overflow:hidden;
  white-space:nowrap;
  animation:eplanWordmarkReveal .34s cubic-bezier(.35,0,.15,1) .30s forwards;
}
.eplan-wordmark-plan{
  display:inline-block;
  font-size:42px;
  line-height:1;
  letter-spacing:.035em;
  transform:translateX(-10px);
  animation:eplanWordmarkPlanSlide .34s cubic-bezier(.35,0,.15,1) .30s forwards;
}
@keyframes eplanWordmarkE{
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes eplanWordmarkDivider{
  to{transform:scaleY(1)}
}
@keyframes eplanWordmarkReveal{
  to{width:124px}
}
@keyframes eplanWordmarkPlanSlide{
  to{transform:translateX(0)}
}
@media(max-width:380px){
  .eplan-wordmark-splash{min-width:225px}
  .eplan-wordmark-e{font-size:48px}
  .eplan-wordmark-divider{height:43px;margin:0 12px}
  .eplan-wordmark-plan{font-size:37px}
  @keyframes eplanWordmarkReveal{to{width:110px}}
}
@media(prefers-reduced-motion:reduce){
  .eplan-wordmark-e{opacity:1;transform:none;animation:none}
  .eplan-wordmark-divider{transform:none;animation:none}
  .eplan-wordmark-plan-wrap{width:124px;animation:none}
  .eplan-wordmark-plan{transform:none;animation:none}
}


/* v77 — darker program hero */
body.eplan-redesign.client-ui:not([data-eplan-theme="dark"]) .client-program-hero{
  border-color:#084b8d!important;
  background:
    radial-gradient(circle at 88% 18%,rgba(32,132,224,.26),transparent 34%),
    linear-gradient(145deg,#05284f 0%,#06467f 60%,#0a61ad 100%)!important;
  box-shadow:0 18px 38px rgba(7,43,82,.24)!important;
}


/* v80 — achievements live under Progress */
body.eplan-redesign.client-ui .redesign-progress-achievements-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:2px 2px 10px;
}
body.eplan-redesign.client-ui .redesign-progress-achievements-head>div{
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.client-ui .redesign-progress-achievements-head span{
  color:#0a1738;
  font-size:20px;
  font-weight:900;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .redesign-progress-achievements-head strong{
  color:#7a899f;
  font-size:11px;
  font-weight:700;
}
body.eplan-redesign.client-ui .redesign-progress-achievements-head button{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}


/* v84 — final client UI polish */

/* Activity: one clear heading, tighter card, compact saved state */
body.eplan-redesign.client-ui .redesign-training-page .cardio-activity-card{
  padding:20px 18px!important;
}
body.eplan-redesign.client-ui .redesign-training-page .cardio-activity-card #cardioPanel{
  margin-top:0!important;
}
body.eplan-redesign.client-ui .activity-saved-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
}
body.eplan-redesign.client-ui .activity-saved-heading>strong{
  color:#102044;
  font-size:23px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .activity-saved-heading .client-status{
  color:#258858!important;
  font-size:12px;
  white-space:nowrap;
}

/* Measurements: make the section name primary and timing secondary */
body.eplan-redesign.client-ui .measurements-page .measurement-next .measurement-kicker{
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
  text-transform:none!important;
  letter-spacing:-.02em!important;
  margin:0 0 9px!important;
}
body.eplan-redesign.client-ui .measurements-page .measurement-next h2{
  margin:0 0 5px!important;
  color:#607089!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:800!important;
  letter-spacing:-.01em!important;
}

/* Client notification swipe action */
body.eplan-redesign.client-ui .notification-swipe{
  border-radius:16px;
}
body.eplan-redesign.client-ui .notification-delete-bg.client-notification-delete{
  width:72px!important;
  padding:0!important;
  border:1px solid #ffd2d6!important;
  border-radius:16px!important;
  background:#fff0f1!important;
  color:#c64a55!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .notification-delete-bg.client-notification-delete svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.eplan-redesign.client-ui .notification-swipe .notification-item{
  background:#f8faff!important;
  border-color:#dfe7f2!important;
}

/* Profile editor: unified close control + polished native select */
body.eplan-redesign.client-ui #profileModal .profile-modal-sticky{
  position:sticky;
  top:0;
  z-index:6;
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  align-items:start;
  gap:14px;
  margin:-28px -28px 18px;
  padding:28px 28px 16px;
  background:#fff;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.client-ui #profileModal .profile-modal-head{
  min-width:0;
  margin:0!important;
  padding:0!important;
}
body.eplan-redesign.client-ui #profileModal .profile-close{
  position:static!important;
  top:auto!important;
  right:auto!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:24px!important;
  font-weight:500!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui #profileModal #pfSex{
  width:100%!important;
  min-height:54px!important;
  padding:0 46px 0 14px!important;
  border:1px solid #dfe7f2!important;
  border-radius:15px!important;
  background-color:#f8faff!important;
  color:#0a1738!important;
  font:inherit!important;
  font-size:16px!important;
  box-shadow:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:
    linear-gradient(45deg,transparent 50%,#718097 50%),
    linear-gradient(135deg,#718097 50%,transparent 50%)!important;
  background-position:
    calc(100% - 20px) 24px,
    calc(100% - 14px) 24px!important;
  background-size:6px 6px,6px 6px!important;
  background-repeat:no-repeat!important;
}
body.eplan-redesign.client-ui #profileModal #pfSex:focus{
  border-color:#9bc6ff!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;
}
@media(max-width:650px){
  body.eplan-redesign.client-ui #profileModal .profile-modal-sticky{
    top:0;
    margin:-22px -18px 16px;
    padding:22px 18px 14px;
  }
}


/* v87 — measurement history calendar */
body.eplan-redesign.client-ui .measurement-history-calendar-card{
  margin:0!important;
  padding:18px!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .measurement-history-calendar-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
body.eplan-redesign.client-ui .measurement-history-calendar-title>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.client-ui .measurement-history-calendar-title strong{
  color:#0a1738;
  font-size:20px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .measurement-history-calendar-title span{
  color:#7a899f;
  font-size:12px;
  font-weight:750;
}
body.eplan-redesign.client-ui .measurement-calendar-head{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
body.eplan-redesign.client-ui .measurement-calendar-head>strong{
  color:#102044;
  text-align:center;
  font-size:15px;
  font-weight:850;
}
body.eplan-redesign.client-ui .measurement-calendar-head>button{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid #dfe7f2!important;
  border-radius:12px!important;
  background:#f2f6fb!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:25px!important;
  font-weight:500!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .measurement-calendar-weekdays,
body.eplan-redesign.client-ui .measurement-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:6px;
}
body.eplan-redesign.client-ui .measurement-calendar-weekdays{
  margin-bottom:6px;
}
body.eplan-redesign.client-ui .measurement-calendar-weekdays span{
  color:#8a98ab;
  text-align:center;
  font-size:10px;
  font-weight:800;
}
body.eplan-redesign.client-ui .measurement-calendar-day{
  position:relative;
  aspect-ratio:1/1;
  min-width:0!important;
  width:100%!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:#f7f9fc!important;
  color:#7d8ba0!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .measurement-calendar-day.empty{
  visibility:hidden;
}
body.eplan-redesign.client-ui .measurement-calendar-day:disabled{
  opacity:.72!important;
}
body.eplan-redesign.client-ui .measurement-calendar-day.has-data{
  border-color:#bcd5fa!important;
  background:#eef5ff!important;
  color:#0d63d8!important;
  opacity:1!important;
}
body.eplan-redesign.client-ui .measurement-calendar-day.has-data::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:5px;
  width:4px;
  height:4px;
  border-radius:50%;
  transform:translateX(-50%);
  background:#1677ff;
}
body.eplan-redesign.client-ui .measurement-calendar-day.active{
  border-color:#1677ff!important;
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.client-ui .measurement-calendar-day.active::after{
  background:#fff;
}
body.eplan-redesign.client-ui .measurement-calendar-selected{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .measurement-calendar-selected .measurement-history-card{
  margin:0!important;
}
body.eplan-redesign.client-ui .measurement-calendar-empty{
  margin-top:14px;
  padding:14px;
  border-radius:13px;
  background:#f7f9fc;
  color:#7a899f;
  text-align:center;
  font-size:12px;
  font-weight:700;
}


/* v88 — collapsible measurement history calendar */
body.eplan-redesign.client-ui .measurement-history-calendar-card{
  padding:0!important;
  overflow:hidden;
}
body.eplan-redesign.client-ui .measurement-history-calendar-toggle{
  width:100%!important;
  min-height:78px!important;
  padding:16px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.client-ui .measurement-history-calendar-toggle>span{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:4px;
}
body.eplan-redesign.client-ui .measurement-history-calendar-toggle strong{
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.client-ui .measurement-history-calendar-toggle small{
  color:#7a899f!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .measurement-history-calendar-toggle>b{
  color:#8a98ab!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:600!important;
  transform:rotate(0deg);
  transition:transform .18s ease;
}
body.eplan-redesign.client-ui .measurement-history-calendar-card.is-open .measurement-history-calendar-toggle>b{
  transform:rotate(180deg);
}
body.eplan-redesign.client-ui .measurement-history-calendar-body{
  padding:16px 18px 18px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .measurement-calendar-hint{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:#f7f9fc;
  color:#7a899f;
  text-align:center;
  font-size:12px;
  font-weight:700;
}


/* v90 — show supersets and alternatives in client workout preview */
body.eplan-redesign.client-ui .redesign-training-superset{
  margin:8px 0;
  padding:0 10px;
  border:1px solid #dbe7f5;
  border-radius:14px;
  background:#f8fbff;
  overflow:hidden;
}
body.eplan-redesign.client-ui .redesign-training-superset-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 -10px;
  padding:9px 10px;
  border-bottom:1px solid #e3ebf5;
  background:#eef5ff;
}
body.eplan-redesign.client-ui .redesign-training-superset-label span{
  color:#1677ff;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body.eplan-redesign.client-ui .redesign-training-superset-label small{
  color:#7b899e;
  font-size:9.5px;
  font-weight:700;
}
body.eplan-redesign.client-ui .redesign-training-superset .redesign-training-exercise{
  padding-left:0;
  padding-right:0;
}
body.eplan-redesign.client-ui .redesign-training-superset .redesign-training-exercise:last-child{
  border-bottom:0;
}
body.eplan-redesign.client-ui .redesign-training-exercise-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.client-ui .redesign-training-alternatives{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  margin-top:5px;
}
body.eplan-redesign.client-ui .redesign-training-alternatives em{
  color:#7b899e;
  font-size:9.5px;
  font-style:normal;
  font-weight:750;
}
body.eplan-redesign.client-ui .redesign-training-alternatives i{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 7px;
  border-radius:999px;
  background:#eef3f8;
  color:#43546d;
  font-size:9.5px;
  font-style:normal;
  font-weight:750;
}


/* v91 — technique links in workout preview */
body.eplan-redesign.client-ui .redesign-training-technique{
  margin-top:4px;
}
body.eplan-redesign.client-ui .redesign-training-tech-link,
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  color:#1677ff!important;
  text-decoration:none!important;
  font-size:9.5px!important;
  font-weight:850!important;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .redesign-training-alternatives{
  align-items:flex-start;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:24px;
  padding:3px 7px;
  border-radius:999px;
  background:#eef3f8;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip i{
  padding:0!important;
  min-height:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  padding-left:6px;
  border-left:1px solid #d3deeb;
}


/* v92 — polished technique links, soft orange without borders */
body.eplan-redesign.client-ui .redesign-training-technique{
  display:flex;
  align-items:center;
  margin-top:6px;
}
body.eplan-redesign.client-ui .redesign-training-tech-link,
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  padding:4px 9px!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff1e6!important;
  color:#d66a20!important;
  text-decoration:none!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .redesign-training-alternatives{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px!important;
  margin-top:7px!important;
}
body.eplan-redesign.client-ui .redesign-training-alternatives>em{
  flex:0 0 100%;
  margin-bottom:1px;
  color:#7b899e!important;
  font-size:9.5px!important;
  font-style:normal!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:24px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip>i{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:4px 9px!important;
  border:0!important;
  border-radius:999px!important;
  background:#eef3f8!important;
  color:#43546d!important;
  font-size:9.5px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  margin:0!important;
  padding:4px 9px!important;
  border-left:0!important;
}


/* v93 — technique links as clean orange text */
body.eplan-redesign.client-ui .redesign-training-tech-link,
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#d66a20!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:9.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .redesign-training-technique{
  margin-top:5px!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip{
  gap:7px!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-tech{
  margin-left:1px!important;
}


/* v94 — keep each alternative and its technique link in one neutral chip */
body.eplan-redesign.client-ui .redesign-training-alt-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  min-height:26px!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#eef3f8!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip>i{
  min-height:26px!important;
  padding:5px 9px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#43546d!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip>.redesign-training-alt-tech{
  align-self:stretch!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  margin:0!important;
  padding:5px 9px!important;
  border:0!important;
  border-left:1px solid #d3deeb!important;
  border-radius:0!important;
  background:transparent!important;
  color:#d66a20!important;
  box-shadow:none!important;
}


/* v95 — primary exercise technique inline with title */
body.eplan-redesign.client-ui .redesign-training-main-title-row{
  min-width:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
}
body.eplan-redesign.client-ui .redesign-training-main-title-row>strong{
  min-width:0;
}
body.eplan-redesign.client-ui .redesign-training-main-title-row>.redesign-training-tech-link{
  flex:0 0 auto;
  margin-left:8px!important;
  padding-left:8px!important;
  border-left:1px solid #d3deeb!important;
  background:transparent!important;
  color:#d66a20!important;
  border-radius:0!important;
}


/* v96 — align primary technique text to exercise-name baseline */
body.eplan-redesign.client-ui .redesign-training-main-title-row{
  align-items:baseline!important;
}
body.eplan-redesign.client-ui .redesign-training-main-title-row>.redesign-training-tech-link{
  align-self:baseline!important;
  line-height:1!important;
  position:relative;
  top:0!important;
}


/* v98 — active workout fully aligned with redesign-v1 */
body.eplan-redesign.client-ui .redesign-active-workout{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .redesign-active-workout>h2{
  margin:8px 0 14px!important;
  color:#0a1738!important;
  font-size:28px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.client-ui .redesign-active-workout-head{
  margin:0 0 10px!important;
}
body.eplan-redesign.client-ui .training-live{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#1e9b5a!important;
  font-size:16px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .training-live::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:#27bf6b;
  box-shadow:0 0 0 4px rgba(39,191,107,.10);
}

body.eplan-redesign.client-ui .workout-live-superset{
  margin-top:12px;
  overflow:hidden;
  border:1px solid #cfe0f5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 7px 20px rgba(31,64,104,.04);
}
body.eplan-redesign.client-ui .workout-live-superset-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid #dfe8f3;
  background:#eef5ff;
}
body.eplan-redesign.client-ui .workout-live-superset-head strong{
  color:#1677ff;
  font-size:13px;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-live-superset-head span{
  color:#7a889c;
  font-size:10px;
  font-weight:750;
}
body.eplan-redesign.client-ui .workout-live-superset-body{
  padding:0 14px;
}
body.eplan-redesign.client-ui .workout-live-superset-divider{
  height:1px;
  background:#edf1f6;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise-inner{
  margin:0!important;
  padding:0!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle{
  padding:15px 0!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-body{
  margin:0 -14px;
  padding:14px!important;
}

body.eplan-redesign.client-ui .workout-exercise-title-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:0!important;
}
body.eplan-redesign.client-ui .workout-live-tech-link{
  display:inline-flex!important;
  align-items:baseline!important;
  margin-left:8px!important;
  padding-left:8px!important;
  border-left:1px solid #d3deeb!important;
  background:transparent!important;
  color:#d66a20!important;
  text-decoration:none!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .workout-plan-line{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:4px 8px!important;
  margin-top:4px!important;
}
body.eplan-redesign.client-ui .workout-plan-line>span{
  display:inline!important;
}
body.eplan-redesign.client-ui .swap-exercise-btn{
  border-radius:13px!important;
  background:#eef4fb!important;
  color:#183153!important;
  border:1px solid #d9e4f1!important;
  font-weight:850!important;
}

/* Exercise replacement modal — light redesign instead of legacy dark buttons */
body.eplan-redesign.client-ui #alternativeExerciseModal{
  background:rgba(12,22,39,.72)!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal>.swap-choice-card{
  width:min(440px,calc(100% - 28px))!important;
  padding:20px!important;
  border:1px solid #e1e8f2!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(16,34,58,.20)!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .edit-exercise-head{
  align-items:flex-start!important;
  margin-bottom:16px!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .edit-exercise-head h2{
  color:#0a1738!important;
  font-size:25px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .edit-exercise-head .muted{
  color:#74829a!important;
  font-size:13px!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .edit-exercise-close{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:20px!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list{
  display:grid;
  gap:9px;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button{
  width:100%!important;
  min-height:52px!important;
  padding:13px 15px!important;
  border:1px solid #dfe7f2!important;
  border-radius:14px!important;
  background:#f8fbff!important;
  color:#183153!important;
  box-shadow:none!important;
  text-align:left!important;
  font-size:14px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button.alternative-current{
  border-color:#b7d4fa!important;
  background:#eef5ff!important;
  color:#0d63d8!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button.alternative-current::after{
  content:"✓";
  float:right;
  color:#1677ff;
  font-weight:900;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .swap-scope-actions>button{
  border-radius:14px!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .swap-back-btn{
  border-radius:13px!important;
  border:1px solid #dce5f0!important;
  box-shadow:none!important;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .workout-live-superset-head{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  body.eplan-redesign.client-ui #alternativeExerciseModal>.swap-choice-card{
    width:calc(100% - 20px)!important;
    padding:18px!important;
    border-radius:20px!important;
  }
}


/* v99 — cleaner live-workout metadata + active workout state on Home */
body.eplan-redesign.client-ui .workout-plan-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:0!important;
  margin-top:5px!important;
  color:#718097!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .workout-plan-line .workout-plan-meta{
  display:inline-flex!important;
  align-items:baseline!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .workout-plan-line .workout-plan-meta+.workout-plan-meta{
  margin-left:8px!important;
  padding-left:8px!important;
  border-left:1px solid #cfd9e6!important;
}
body.eplan-redesign.client-ui .client-program-active-status{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:2px 0 9px;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(229,249,238,.96);
  color:#168a50;
  font-size:10.5px;
  line-height:1;
  font-weight:900;
}
body.eplan-redesign.client-ui .client-program-active-status i{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#24b867;
  box-shadow:0 0 0 3px rgba(36,184,103,.12);
}
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active{
  background:#20a660!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(32,166,96,.18)!important;
}
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active:active{
  background:#198c50!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .workout-plan-line{
    font-size:10.5px!important;
  }
  body.eplan-redesign.client-ui .workout-plan-line .workout-plan-meta+.workout-plan-meta{
    margin-left:6px!important;
    padding-left:6px!important;
  }
  body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta{
    font-size:12.5px!important;
  }
}


/* v100 — seamless superset open state + softer active-workout CTA */
body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle.open{
  width:calc(100% + 28px)!important;
  margin-left:-14px!important;
  margin-right:-14px!important;
  padding-left:14px!important;
  padding-right:14px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-body{
  width:calc(100% + 28px)!important;
  margin-left:-14px!important;
  margin-right:-14px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active{
  background:linear-gradient(135deg,#43c98a 0%,#59d9a0 100%)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  box-shadow:
    0 10px 24px rgba(55,199,133,.26),
    0 0 18px rgba(89,217,160,.18)!important;
}
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active:active{
  background:linear-gradient(135deg,#36b978 0%,#48c98d 100%)!important;
  box-shadow:0 6px 16px rgba(55,199,133,.22)!important;
}


/* v101 — edge-to-edge open superset state */
body.eplan-redesign.client-ui .workout-live-superset-body{
  padding:0!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle{
  width:100%!important;
  margin:0!important;
  padding:15px 28px!important;
  box-sizing:border-box!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle.open{
  width:100%!important;
  margin:0!important;
  padding:15px 28px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-body{
  width:100%!important;
  margin:0!important;
  padding:14px 28px 16px!important;
  box-sizing:border-box!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .workout-live-superset-divider{
  margin:0 28px!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle,
  body.eplan-redesign.client-ui .workout-live-superset .workout-live-toggle.open{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  body.eplan-redesign.client-ui .workout-live-superset .workout-live-body{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  body.eplan-redesign.client-ui .workout-live-superset-divider{
    margin-left:20px!important;
    margin-right:20px!important;
  }
}


/* v102 — active workout CTA, option 5: green with light outline */
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active{
  background:linear-gradient(135deg,#12b96a 0%,#17c978 100%)!important;
  border:1px solid rgba(218,255,235,.92)!important;
  color:#fff!important;
  box-shadow:
    0 8px 18px rgba(18,185,106,.20),
    0 0 0 1px rgba(255,255,255,.08) inset!important;
}
body.eplan-redesign.client-ui .client-program-hero.is-active .client-program-hero-cta.active:active{
  background:linear-gradient(135deg,#0fa75f 0%,#13b96b 100%)!important;
  border-color:rgba(218,255,235,.78)!important;
  box-shadow:0 5px 12px rgba(18,185,106,.16)!important;
}


/* v104 — completed set highlight */
body.eplan-redesign.client-ui .lyfta-set-wrap{
  position:relative;
  transition:background-color .16s ease, box-shadow .16s ease;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete{
  margin-left:-6px;
  margin-right:-6px;
  padding-left:6px;
  padding-right:6px;
  border-radius:14px;
  background:#f2fbf5;
  box-shadow:inset 0 0 0 1px #d8f1e1;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-row{
  opacity:1!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-row input{
  background:#f8fdf9!important;
  border-color:#d6eadc!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-prev-line{
  color:#6d8b77!important;
}


/* v107 — persistent rest timer above the client bottom navigation */
body.eplan-redesign.client-ui .redesign-floating-rest-timer{
  position:fixed!important;
  right:18px!important;
  bottom:calc(98px + env(safe-area-inset-bottom))!important;
  z-index:65!important;
  width:66px!important;
  height:66px!important;
  min-width:66px!important;
  padding:7px 6px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  border:1px solid #cfe0f2!important;
  border-radius:19px!important;
  background:rgba(248,251,255,.95)!important;
  color:#17345a!important;
  box-shadow:0 10px 28px rgba(31,64,104,.16)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer:active{
  transform:scale(.97)!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer-icon{
  display:block;
  font-size:23px;
  line-height:1;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer #floatingRestTimerValue{
  display:block;
  font-size:11px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.01em;
  color:#17345a;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .redesign-floating-rest-timer{
    right:14px!important;
    bottom:calc(96px + env(safe-area-inset-bottom))!important;
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
    border-radius:18px!important;
  }
}


/* v108 — completed exercises + redesigned workout history */
body.eplan-redesign.client-ui .workout-exercise-title-line .exercise-done-badge.compact{
  margin-left:12px!important;
  flex:0 0 24px!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete{
  border-color:#d7eadf!important;
  background:#f5fbf7!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete>.workout-live-toggle,
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise.is-exercise-complete>.workout-live-toggle{
  background:#f4fbf6!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete>.workout-live-toggle.open,
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise.is-exercise-complete>.workout-live-toggle.open{
  background:#f2faf4!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete .workout-live-body{
  background:#f7fcf8!important;
}

body.eplan-redesign.client-ui .workout-completed-summary{
  margin-top:2px;
  padding:15px;
  border:1px solid #d8ebdf;
  border-radius:16px;
  background:linear-gradient(180deg,#f6fcf8 0%,#f1f9f4 100%);
  box-shadow:none;
}
body.eplan-redesign.client-ui .workout-completed-summary-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .workout-completed-summary-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#e3f5e9;
  color:#26965b;
  font-size:18px;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-completed-summary-head>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.client-ui .workout-completed-summary-head strong{
  color:#16304f!important;
  font-size:15px!important;
  line-height:1.15;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-completed-summary-head small{
  color:#718097;
  font-size:10.5px;
  font-weight:700;
}
body.eplan-redesign.client-ui .workout-completed-replacement{
  margin-bottom:10px;
  padding:9px 10px;
  border-radius:11px;
  background:rgba(255,255,255,.62);
  color:#6c7b92;
  font-size:10.5px;
  font-weight:700;
}
body.eplan-redesign.client-ui .workout-completed-replacement strong{
  color:#183153!important;
}
body.eplan-redesign.client-ui .workout-completed-replacement span{
  display:block;
  margin-top:2px;
}
body.eplan-redesign.client-ui .workout-completed-sets{
  display:grid;
  gap:6px;
}
body.eplan-redesign.client-ui .workout-completed-aux{
  display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;
  margin:0 0 8px!important;padding:8px 9px!important;border:1px solid #dfe7f0!important;
  border-radius:11px!important;background:#f8fafc!important;
}
body.eplan-redesign.client-ui .workout-completed-aux small{
  color:#7b899d!important;font-size:9px!important;font-weight:900!important;margin-right:2px!important;
}
body.eplan-redesign.client-ui .workout-completed-aux span{
  padding:4px 7px!important;border-radius:8px!important;background:#fff!important;color:#53647d!important;
  font-size:9.5px!important;font-weight:800!important;
}
body.eplan-redesign.client-ui .workout-completed-set-group{
  display:grid!important;gap:4px!important;
}
body.eplan-redesign.client-ui .workout-completed-drop{
  min-height:30px!important;display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;
  align-items:center!important;gap:8px!important;margin-left:22px!important;padding:5px 9px!important;
  border-left:2px solid #dbe4ee!important;border-radius:0 9px 9px 0!important;background:#fafbfd!important;
}
body.eplan-redesign.client-ui .workout-completed-drop span{
  color:#7b899d!important;font-size:9px!important;font-weight:800!important;
}
body.eplan-redesign.client-ui .workout-completed-drop strong{
  color:#40516b!important;font-size:10px!important;font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-completed-set{
  min-height:38px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  border-radius:11px;
  background:rgba(255,255,255,.76);
  color:#718097;
  font-size:10.5px;
}
body.eplan-redesign.client-ui .workout-completed-set strong{
  color:#183153!important;
  font-size:12px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .workout-completed-set em{
  color:#5d6f87;
  font-size:10px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .workout-completed-edit{
  width:auto!important;
  min-height:38px!important;
  margin-top:12px!important;
  padding:0 13px!important;
  border:1px solid #d7e3ee!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:850!important;
}

/* Calendar/day workout history */
body.eplan-redesign.client-ui .calendar-workout-session{
  margin-bottom:12px;
  padding:14px 15px;
  border:1px solid #dce6f1;
  border-radius:16px;
  background:#f8fbff;
}
body.eplan-redesign.client-ui .calendar-workout-session-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.eplan-redesign.client-ui .calendar-workout-session-top>strong{
  color:#0a1738!important;
  font-size:18px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#24945c;
  font-size:10.5px;
  font-weight:850;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .calendar-workout-session-status::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#2dbb70;
  box-shadow:0 0 0 3px rgba(45,187,112,.10);
}
body.eplan-redesign.client-ui .calendar-workout-session.is-finished .calendar-workout-session-status{
  color:#5f7088;
}
body.eplan-redesign.client-ui .calendar-workout-session.is-finished .calendar-workout-session-status::before{
  background:#7e8ca0;
  box-shadow:none;
}
body.eplan-redesign.client-ui .calendar-review-done{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #e5ebf2;
  color:#66778d;
  font-size:11px;
}
body.eplan-redesign.client-ui .calendar-review-done strong{
  color:#24945c!important;
}

body.eplan-redesign.client-ui .calendar-workout-superset{
  overflow:hidden;
  margin-top:10px;
  border:1px solid #cfe0f5;
  border-radius:17px;
  background:#fff;
}
body.eplan-redesign.client-ui .calendar-workout-superset-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 14px;
  border-bottom:1px solid #dde7f2;
  background:#eef5ff;
}
body.eplan-redesign.client-ui .calendar-workout-superset-head strong{
  color:#1677ff!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .calendar-workout-superset-head span{
  color:#7d8ba0;
  font-size:9.5px;
  font-weight:750;
}
body.eplan-redesign.client-ui .calendar-workout-superset-body{
  padding:0 14px;
}
body.eplan-redesign.client-ui .calendar-workout-exercise{
  background:#fff;
}
body.eplan-redesign.client-ui .calendar-workout-exercise.standalone{
  margin-top:9px;
  padding:0 14px;
  border:1px solid #dce5f1;
  border-radius:15px;
  background:#fff;
}
body.eplan-redesign.client-ui .calendar-workout-exercise.with-divider{
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .calendar-workout-toggle{
  width:100%!important;
  min-height:0!important;
  padding:13px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.client-ui .calendar-workout-toggle strong{
  color:#0a1738!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .calendar-workout-count{
  display:block;
  margin-top:3px;
  color:#8290a4;
  font-size:10px;
  font-weight:750;
}
body.eplan-redesign.client-ui .calendar-workout-details{
  padding:0 0 11px;
}
body.eplan-redesign.client-ui .calendar-workout-set{
  min-height:38px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  padding:7px 9px;
  margin-top:6px;
  border-radius:11px;
  background:#f7f9fd;
  color:#718097;
  font-size:10.5px;
}
body.eplan-redesign.client-ui .calendar-workout-set strong{
  color:#183153!important;
  font-size:12px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .calendar-workout-set em{
  color:#5d6f87;
  font-size:10px;
  font-style:normal;
  font-weight:800;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .trainer-calendar-review{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e4ebf3;
}
body.eplan-redesign.client-ui .trainer-calendar-review>strong{
  color:#d28a22!important;
}
body.eplan-redesign.client-ui .trainer-calendar-review textarea{
  width:100%;
  min-height:75px;
  margin-top:10px;
  padding:12px;
  border:1px solid #dce5f1;
  border-radius:12px;
  background:#f7f9fd;
  color:#0a1738;
  font:inherit;
}

@media(max-width:390px){
  body.eplan-redesign.client-ui .workout-completed-set,
  body.eplan-redesign.client-ui .calendar-workout-set{
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:6px;
  }
  body.eplan-redesign.client-ui .calendar-workout-superset-head{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
}


/* v109 — lighter completed summary + polished diary header */
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete .workout-live-body{
  background:#fff!important;
}
body.eplan-redesign.client-ui .workout-completed-summary{
  background:#fff!important;
  border-color:#dce9e1!important;
}
body.eplan-redesign.client-ui .workout-completed-set{
  background:#f7faf8!important;
}
body.eplan-redesign.client-ui .workout-completed-replacement{
  background:#f7faf8!important;
}

body.eplan-redesign.client-ui .diary-day-hero{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px!important;
  min-height:112px;
  border:1px solid #dce5f1!important;
  background:linear-gradient(145deg,#ffffff 0%,#f7faff 100%)!important;
  box-shadow:0 8px 24px rgba(31,64,104,.045)!important;
}
body.eplan-redesign.client-ui .diary-day-icon{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eef5ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .diary-day-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.eplan-redesign.client-ui .diary-day-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}
body.eplan-redesign.client-ui .diary-day-kicker{
  margin-bottom:3px;
  color:#7c8ba1;
  font-size:10.5px;
  line-height:1.1;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.055em;
}
body.eplan-redesign.client-ui .diary-day-copy h1{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
body.eplan-redesign.client-ui .diary-day-weekday{
  margin-top:5px;
  color:#63748c;
  font-size:11.5px;
  line-height:1.2;
  font-weight:750;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .diary-day-hero{
    min-height:102px;
    padding:15px!important;
  }
  body.eplan-redesign.client-ui .diary-day-icon{
    width:46px;
    height:46px;
    flex-basis:46px;
    border-radius:14px;
  }
  body.eplan-redesign.client-ui .diary-day-copy h1{
    font-size:22px!important;
  }
}


/* v110 — QA: completed exercise bounds + manual rest timer control */
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete{
  background:#fff!important;
}
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise-inner.is-exercise-complete{
  background:transparent!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete>.workout-live-toggle,
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise.is-exercise-complete>.workout-live-toggle{
  background:#f4fbf6!important;
}

body.eplan-redesign.client-ui .redesign-active-workout-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.eplan-redesign.client-ui .redesign-rest-timer-control{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
body.eplan-redesign.client-ui .redesign-rest-timer-play{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #d9e4f1!important;
  border-radius:12px!important;
  background:#f5f8fc!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .redesign-rest-timer-play.running{
  border-color:#b9d5ff!important;
  background:#edf5ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-rest-timer-play:active{
  transform:scale(.96);
}
body.eplan-redesign.client-ui .redesign-rest-timer-icon.paused{
  border-color:#d9e4f1;
  background:#f5f8fc;
  color:#64748b;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .redesign-active-workout-head{gap:8px!important}
  body.eplan-redesign.client-ui .redesign-rest-timer-control{gap:5px}
  body.eplan-redesign.client-ui .redesign-rest-timer-play{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }
}


/* v112 — PR card final polish */
body.eplan-redesign.client-ui .achievement-pr-card{
  padding:16px!important;
  border:1px solid #dfe7f1!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(35,70,108,.05)!important;
}
body.eplan-redesign.client-ui .achievement-pr-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 12px!important;
}
body.eplan-redesign.client-ui .achievement-pr-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.client-ui .achievement-pr-head>div:first-child>span{
  display:block!important;
  margin-top:4px!important;
  color:#7b899c!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary{
  flex:0 0 auto!important;
  min-width:86px!important;
  padding:9px 11px!important;
  border:1px solid #d7eadf!important;
  border-radius:14px!important;
  background:#f0f8f3!important;
  box-shadow:none!important;
  text-align:center!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary strong{
  display:block!important;
  color:#238458!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary small{
  display:block!important;
  margin-top:4px!important;
  color:#6e8577!important;
  font-size:9.5px!important;
  line-height:1.1!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .achievement-pr-events{
  display:grid!important;
  gap:8px!important;
}
body.eplan-redesign.client-ui .achievement-pr-event{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  padding:11px 12px!important;
  border:1px solid #e2e9f1!important;
  border-radius:14px!important;
  background:#fbfcfe!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .achievement-pr-icon{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  background:#eef8f1!important;
  color:#24895a!important;
}
body.eplan-redesign.client-ui .achievement-pr-icon svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.eplan-redesign.client-ui .achievement-pr-copy{
  min-width:0!important;
}
body.eplan-redesign.client-ui .achievement-pr-copy strong{
  display:block!important;
  overflow:hidden!important;
  color:#0a1738!important;
  font-size:13.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .achievement-pr-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#8794a7!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .achievement-pr-values{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:4px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .achievement-pr-main{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  gap:6px!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .achievement-pr-main span{
  color:#8b97a9!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .achievement-pr-main b{
  color:#238458!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .achievement-pr-delta{
  display:inline-flex!important;
  align-items:center!important;
  min-height:20px!important;
  padding:3px 7px!important;
  border-radius:999px!important;
  background:#eef8f1!important;
  color:#238458!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .achievement-pr-delta.first{
  background:#f0f3f7!important;
  color:#7c899d!important;
}
body.eplan-redesign.client-ui .achievement-pr-more{
  width:100%!important;
  min-height:42px!important;
  margin:10px 0 0!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid #dce5ef!important;
  border-radius:13px!important;
  background:#f3f6fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .achievement-pr-more span{
  color:#748299!important;
  font-size:16px!important;
  line-height:1!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .achievement-pr-event{
    grid-template-columns:36px minmax(0,1fr)!important;
    align-items:flex-start!important;
  }
  body.eplan-redesign.client-ui .achievement-pr-values{
    grid-column:2!important;
    align-items:flex-start!important;
    margin-top:2px!important;
  }
  body.eplan-redesign.client-ui .achievement-pr-main{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    white-space:normal!important;
  }
}


/* v113 — warm gold accent for new PRs */
body.eplan-redesign.client-ui .achievement-pr-summary{
  border-color:#ecd8ad!important;
  background:#fff7e8!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary strong{
  color:#c7821d!important;
}
body.eplan-redesign.client-ui .achievement-pr-summary small{
  color:#8b6a2d!important;
}
body.eplan-redesign.client-ui .achievement-pr-icon{
  background:#fff6e7!important;
  color:#c7821d!important;
}
body.eplan-redesign.client-ui .achievement-pr-main b{
  color:#c7821d!important;
}
body.eplan-redesign.client-ui .achievement-pr-delta{
  background:#fff4df!important;
  color:#b87218!important;
}
body.eplan-redesign.client-ui .achievement-pr-delta.first{
  background:#f0f3f7!important;
  color:#7c899d!important;
}



/* v116 — workout history duration + replacement context */
body.eplan-redesign.client-ui .calendar-workout-session-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:10px;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid #dfe7f1;
  border-radius:11px;
  background:#f7f9fc;
  color:#718097;
  font-size:10.5px;
  font-weight:750;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:#6f8097;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration strong{
  color:#183153!important;
  font-size:11.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .calendar-workout-replacement{
  display:block;
  margin-top:3px;
  color:#8794a7;
  font-size:9.5px;
  line-height:1.2;
  font-weight:750;
}


/* v119 — compact expandable nutrition history */
body.eplan-redesign.client-ui .nutrition-history-more{
  width:100%!important;
  min-height:44px!important;
  margin-top:10px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid #dce5ef!important;
  border-radius:13px!important;
  background:#f3f6fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .nutrition-history-more span{
  color:#748299!important;
  font-size:16px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .nutrition-history-more:active{
  transform:scale(.995);
}


/* v120 — history BJU modal + seamless profile editor */
body.eplan-redesign.client-ui .history-nutrition-empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#77869a;
}
body.eplan-redesign.client-ui .history-nutrition-add{
  flex:0 0 auto;
  background:#edf4ff!important;
  color:#1677ff!important;
  border:1px solid #d4e4fb!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .history-nutrition-modal{
  padding:20px!important;
}
body.eplan-redesign.client-ui .history-nutrition-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
body.eplan-redesign.client-ui .history-nutrition-head h2{
  margin:0 0 4px!important;
  color:#0a1738!important;
  font-size:22px!important;
}
body.eplan-redesign.client-ui .history-nutrition-head p{
  margin:0!important;
  color:#7a879b!important;
  font-size:12px!important;
}
body.eplan-redesign.client-ui .history-nutrition-close{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:22px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .history-nutrition-save{
  width:100%!important;
  margin-top:14px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui #profileModal>.profile-editor-card{
  padding:0!important;
  overflow-y:auto!important;
}
body.eplan-redesign.client-ui #profileModal .profile-modal-sticky{
  position:sticky!important;
  top:0!important;
  z-index:6!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  align-items:center!important;
  gap:14px!important;
  margin:0!important;
  padding:24px 24px 16px!important;
  background:#fff!important;
  border-bottom:0!important;
}
body.eplan-redesign.client-ui #profileModal .profile-modal-head h2{
  margin:0!important;
  color:#0a1738!important;
}
body.eplan-redesign.client-ui #profileModal .profile-modal-body{
  padding:4px 24px 24px!important;
}
body.eplan-redesign.client-ui #profileModal .profile-grid{
  margin-top:0!important;
}
body.eplan-redesign.client-ui #profileModal .profile-save{
  width:100%!important;
  margin-top:4px!important;
}
@media(max-width:650px){
  body.eplan-redesign.client-ui #profileModal .profile-modal-sticky{
    margin:0!important;
    padding:20px 18px 14px!important;
  }
  body.eplan-redesign.client-ui #profileModal .profile-modal-body{
    padding:8px 18px 22px!important;
  }
}


/* v121 — date BJU editing + polished calendar nutrition */
body.eplan-redesign.client-ui .redesign-nutrition-day-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto 38px!important;
  align-items:center!important;
  gap:10px!important;
}
body.eplan-redesign.client-ui .nutrition-row-date{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .nutrition-row-values{
  color:#77869a!important;
  font-size:10.5px!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .nutrition-row-edit{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dce6f1!important;
  border-radius:11px!important;
  background:#f2f6fb!important;
  color:#476482!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .nutrition-row-edit .ui-icon{
  width:17px!important;
  height:17px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}
body.eplan-redesign.client-ui #nutritionDateModal{
  background:rgba(10,23,56,.48)!important;
  backdrop-filter:blur(3px);
  padding:18px!important;
}
body.eplan-redesign.client-ui #nutritionDateModal .nutrition-date-modal{
  width:min(520px,100%)!important;
  margin:auto!important;
  padding:22px 20px 20px!important;
  border:1px solid #dce5f1!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(15,35,66,.20)!important;
}
body.eplan-redesign.client-ui .nutrition-date-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
body.eplan-redesign.client-ui .nutrition-date-head h2{
  margin:0 0 5px!important;
  color:#0a1738!important;
  font-size:22px!important;
  line-height:1.15!important;
}
body.eplan-redesign.client-ui .nutrition-date-head p{
  margin:0!important;
  color:#7a879b!important;
  font-size:12px!important;
  line-height:1.4!important;
}
body.eplan-redesign.client-ui .nutrition-date-close{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:22px!important;
  font-weight:600!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .nutrition-date-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.eplan-redesign.client-ui .nutrition-date-grid label{
  min-width:0!important;
}
body.eplan-redesign.client-ui .nutrition-date-grid label>span{
  display:block!important;
  margin:0 0 6px!important;
  color:#74829a!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .nutrition-date-grid input{
  min-height:52px!important;
  background:#f8faff!important;
  border:1px solid #dfe7f2!important;
  border-radius:14px!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .nutrition-date-grid input:focus{
  border-color:#9bc6ff!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;
}
body.eplan-redesign.client-ui .nutrition-date-save{
  width:100%!important;
  min-height:48px!important;
  margin-top:14px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-card{
  padding:14px!important;
  border:1px solid #dfe7f1!important;
  border-radius:16px!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-icon{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#eaf3ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-icon .ui-icon{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-title>div{
  min-width:0!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-title span:not(.calendar-nutrition-icon){
  display:block!important;
  margin-bottom:2px!important;
  color:#7a879b!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-title strong{
  color:#0a1738!important;
  font-size:18px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-status{
  flex:0 0 auto!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#eef8f1!important;
  color:#238458!important;
  font-size:9.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-macros{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:12px!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-macros>div{
  min-width:0!important;
  padding:10px!important;
  border:1px solid #e2e9f2!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-macros span{
  display:block!important;
  margin-bottom:3px!important;
  color:#7e8b9f!important;
  font-size:9.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-macros strong{
  color:#183153!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-macros .protein{border-top:3px solid #6ba6ff!important}
body.eplan-redesign.client-ui .calendar-nutrition-macros .fat{border-top:3px solid #efb24b!important}
body.eplan-redesign.client-ui .calendar-nutrition-macros .carbs{border-top:3px solid #65b987!important}
body.eplan-redesign.client-ui .calendar-nutrition-edit{
  width:100%!important;
  min-height:42px!important;
  margin-top:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #d9e5f4!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-edit .ui-icon{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty{
  padding:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:1px dashed #d9e4f0!important;
  border-radius:16px!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty-copy{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#eef3f8!important;
  color:#718097!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty-icon .ui-icon{
  width:19px!important;
  height:19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty-copy strong{
  display:block!important;
  color:#183153!important;
  font-size:12.5px!important;
}
body.eplan-redesign.client-ui .calendar-nutrition-empty-copy small{
  display:block!important;
  margin-top:3px!important;
  color:#8190a3!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
@media(max-width:430px){
  body.eplan-redesign.client-ui .redesign-nutrition-day-row{
    grid-template-columns:minmax(0,1fr) 38px!important;
  }
  body.eplan-redesign.client-ui .nutrition-row-values{
    grid-column:1/-1!important;
    grid-row:2!important;
    white-space:normal!important;
  }
  body.eplan-redesign.client-ui .calendar-nutrition-empty{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  body.eplan-redesign.client-ui .history-nutrition-add{
    width:100%!important;
  }
}


/* v122 — calendar workout status with duration below */
body.eplan-redesign.client-ui .calendar-workout-session-top{
  align-items:flex-start!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-state{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  text-align:right;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration-inline{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  color:#7b899c;
  font-size:10.5px;
  line-height:1.15;
  font-weight:800;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration-inline svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:#7b899c;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .calendar-workout-session-top{
    gap:10px!important;
  }
  body.eplan-redesign.client-ui .calendar-workout-session-top>strong{
    font-size:17px!important;
  }
}


/* v123 — polished saved activity + calendar activity */
body.eplan-redesign.client-ui .activity-saved-card{
  padding:18px!important;
  border:1px solid #dfe7f1!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(35,70,108,.04)!important;
}
body.eplan-redesign.client-ui .activity-saved-top{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
body.eplan-redesign.client-ui .activity-saved-top>div{
  min-width:0!important;
}
body.eplan-redesign.client-ui .activity-saved-kicker{
  display:block!important;
  margin-bottom:4px!important;
  color:#7b899c!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .activity-saved-top>div>strong{
  display:block!important;
  color:#0a1738!important;
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .activity-saved-status{
  flex:0 0 auto!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#eef8f1!important;
  color:#238458!important;
  font-size:10px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .activity-saved-card #cardioPanel{
  margin:0!important;
}
body.eplan-redesign.client-ui .activity-saved-hero{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px!important;
  border:1px solid #dce7f3!important;
  border-radius:15px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.client-ui .activity-saved-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:#eef4fb!important;
  color:#183153!important;
}
body.eplan-redesign.client-ui .activity-saved-icon .activity-approved-icon{
  width:28px!important;
  height:28px!important;
}
body.eplan-redesign.client-ui .activity-saved-hero>div{
  min-width:0!important;
}
body.eplan-redesign.client-ui .activity-saved-hero strong{
  display:block!important;
  color:#0a1738!important;
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .activity-saved-hero small{
  display:block!important;
  margin-top:4px!important;
  color:#7d8ba0!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .activity-saved-metrics{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:10px!important;
}
body.eplan-redesign.client-ui .activity-saved-metrics>div{
  min-width:0!important;
  padding:11px 12px!important;
  border:1px solid #e1e8f1!important;
  border-radius:13px!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .activity-saved-metrics span{
  display:block!important;
  margin-bottom:3px!important;
  color:#8491a4!important;
  font-size:9.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .activity-saved-metrics strong{
  display:block!important;
  color:#183153!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .activity-saved-edit{
  width:100%!important;
  min-height:44px!important;
  margin-top:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid #d9e5f4!important;
  border-radius:13px!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .activity-saved-edit .ui-icon{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
}

body.eplan-redesign.client-ui .calendar-activity-card{
  padding:14px!important;
  border:1px solid #dfe7f1!important;
  border-radius:16px!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .calendar-activity-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.eplan-redesign.client-ui .calendar-activity-title{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .calendar-activity-icon{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#eef4fb!important;
  color:#183153!important;
}
body.eplan-redesign.client-ui .calendar-activity-icon .activity-approved-icon{
  width:24px!important;
  height:24px!important;
}
body.eplan-redesign.client-ui .calendar-activity-title>div{
  min-width:0!important;
}
body.eplan-redesign.client-ui .calendar-activity-title span:not(.calendar-activity-icon){
  display:block!important;
  margin-bottom:2px!important;
  color:#7a879b!important;
  font-size:9.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .calendar-activity-title strong{
  display:block!important;
  color:#0a1738!important;
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .calendar-activity-status{
  flex:0 0 auto!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#eef8f1!important;
  color:#238458!important;
  font-size:9.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .calendar-activity-metrics{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:12px!important;
}
body.eplan-redesign.client-ui .calendar-activity-metrics>div{
  min-width:0!important;
  padding:10px!important;
  border:1px solid #e2e9f2!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .calendar-activity-metrics span{
  display:block!important;
  margin-bottom:3px!important;
  color:#7e8b9f!important;
  font-size:9.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .calendar-activity-metrics strong{
  display:block!important;
  color:#183153!important;
  font-size:13px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .calendar-activity-empty{
  padding:14px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border:1px dashed #d9e4f0!important;
  border-radius:16px!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .calendar-activity-empty-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#eef3f8!important;
  color:#718097!important;
}
body.eplan-redesign.client-ui .calendar-activity-empty-icon .activity-approved-icon{
  width:22px!important;
  height:22px!important;
  opacity:.72!important;
}
body.eplan-redesign.client-ui .calendar-activity-empty strong{
  display:block!important;
  color:#183153!important;
  font-size:12.5px!important;
}
body.eplan-redesign.client-ui .calendar-activity-empty small{
  display:block!important;
  margin-top:3px!important;
  color:#8190a3!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .activity-saved-metrics,
  body.eplan-redesign.client-ui .calendar-activity-metrics{
    grid-template-columns:1fr 1fr!important;
  }
}


/* v125 — calendar completion + notification polish */
/* Finished workout uses the same positive-state language as nutrition/activity. */
body.eplan-redesign.client-ui .calendar-workout-session.is-finished .calendar-workout-session-status{
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#eef8f1!important;
  color:#238458!important;
}
body.eplan-redesign.client-ui .calendar-workout-session.is-finished .calendar-workout-session-status::before{
  background:#32a66a!important;
  box-shadow:none!important;
}

/* Keep notification list in DOM behind detail view so Back is instant and flicker-free. */
body.eplan-redesign.client-ui #notificationModal.notification-list-hidden{
  display:none!important;
}

/* Give the revealed trash control some breathing room from the message card. */
body.eplan-redesign.client-ui .notification-swipe.reveal .notification-item{
  transform:translateX(-84px)!important;
}
body.eplan-redesign.client-ui .notification-delete-bg.client-notification-delete{
  width:72px!important;
  right:0!important;
}

/* Enabled push state: calm, light success treatment instead of saturated green. */
body.eplan-redesign.client-ui .phone-notify-enable.push-enabled{
  background:#eef8f1!important;
  border-color:#d2eadb!important;
  color:#2b8053!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .phone-notify-enable.push-enabled:hover{
  background:#e9f5ed!important;
}

/* Notification detail Back is a quiet secondary action. */
body.eplan-redesign.client-ui .notification-detail-back{
  background:#eef3f8!important;
  border:1px solid #dce5f0!important;
  color:#183153!important;
  box-shadow:none!important;
}


/* v126 — centered workout header + collapsible client library */
/* Calendar workout header: day centered, duration directly beneath completion state. */
body.eplan-redesign.client-ui .calendar-workout-session-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-top>strong{
  grid-column:2!important;
  justify-self:center!important;
  margin:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-state{
  grid-column:3!important;
  justify-self:end!important;
  align-items:center!important;
  text-align:center!important;
  gap:5px!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-duration-inline{
  width:100%!important;
  justify-content:center!important;
  text-align:center!important;
}

/* Client exercise library starts collapsed; group header is the navigation row. */
body.eplan-redesign.client-ui .redesign-library-group-head{
  width:100%!important;
  min-height:64px!important;
  padding:14px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.client-ui .redesign-library-group-head:hover{
  filter:none!important;
  transform:none!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .redesign-library-group-head strong{
  color:#0a1738!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .redesign-library-group-head .redesign-library-group-meta{
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  border-radius:0!important;
  background:transparent!important;
  color:#718097!important;
}
body.eplan-redesign.client-ui .redesign-library-group-meta b{
  min-width:30px!important;
  height:28px!important;
  padding:0 9px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#eaf3ff!important;
  color:#1677ff!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .redesign-library-group-meta i{
  display:block!important;
  color:#718097!important;
  font-size:19px!important;
  line-height:1!important;
  font-style:normal!important;
  transition:transform .18s ease!important;
}
body.eplan-redesign.client-ui .redesign-library-group-head.open .redesign-library-group-meta i{
  transform:rotate(180deg)!important;
}
body.eplan-redesign.client-ui .redesign-library-group-body{
  border-top:1px solid #edf1f6!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .redesign-library-group-body.hidden{
  display:none!important;
}


/* v127 — calendar day label left, vertically centered */
body.eplan-redesign.client-ui .calendar-workout-session-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-top>strong{
  grid-column:1!important;
  justify-self:start!important;
  align-self:center!important;
  margin:0!important;
  text-align:left!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .calendar-workout-session-state{
  grid-column:2!important;
  justify-self:end!important;
  align-self:center!important;
  align-items:center!important;
  text-align:center!important;
}


/* v129 — cleaner completed sets + centered weight input */
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete{
  background:#f2fbf5!important;
  box-shadow:none!important;
  outline:none!important;
  border-top-color:transparent!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-row input{
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .lyfta-input-wrap input{
  padding-left:28px!important;
  padding-right:28px!important;
  text-align:center!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .lyfta-input-wrap input{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}


/* v131 — frozen client redesigned home */
body.eplan-redesign.client-ui .client-paused-home{
  display:grid!important;
  gap:14px!important;
}
body.eplan-redesign.client-ui .client-paused-view-card{
  padding:20px!important;
  border:1px solid #dfe7f1!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .client-paused-kicker{
  display:block!important;
  margin-bottom:6px!important;
  color:#7b899c!important;
  font-size:10.5px!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
body.eplan-redesign.client-ui .client-paused-view-card h2{
  margin:0 0 8px!important;
  color:#0a1738!important;
  font-size:22px!important;
  line-height:1.15!important;
}
body.eplan-redesign.client-ui .client-paused-view-card p{
  margin:0!important;
  color:#75849a!important;
  font-size:14px!important;
  line-height:1.45!important;
}
body.eplan-redesign.client-ui .client-paused-history-card{
  width:100%!important;
  min-height:78px!important;
  padding:14px 16px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  border:1px solid #dfe7f1!important;
  border-radius:18px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.client-ui .client-paused-history-icon{
  width:42px!important;
  height:42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#eef4fb!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .client-paused-history-icon .ui-icon{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
}
body.eplan-redesign.client-ui .client-paused-history-copy{
  min-width:0!important;
}
body.eplan-redesign.client-ui .client-paused-history-copy strong{
  display:block!important;
  color:#0a1738!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .client-paused-history-copy small{
  display:block!important;
  margin-top:4px!important;
  color:#7b899c!important;
  font-size:10.5px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
body.eplan-redesign.client-ui .client-paused-history-chevron{
  color:#718097!important;
  font-size:24px!important;
  line-height:1!important;
}


/* v133 — offline status above bottom navigation */
body.eplan-redesign.client-ui .offline-pill,
body.eplan-redesign.trainer-ui .offline-pill{
  bottom:calc(118px + env(safe-area-inset-bottom))!important;
  max-width:calc(100vw - 40px)!important;
  padding:8px 12px!important;
  border-radius:14px!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  text-align:center!important;
  box-shadow:0 8px 24px rgba(0,0,0,.20)!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .offline-pill,
  body.eplan-redesign.trainer-ui .offline-pill{
    bottom:calc(112px + env(safe-area-inset-bottom))!important;
    max-width:calc(100vw - 28px)!important;
  }
}


/* v134 — translucent offline status */
body.eplan-redesign.client-ui .offline-pill,
body.eplan-redesign.trainer-ui .offline-pill{
  background:rgba(20,24,31,.82)!important;
  border-color:rgba(255,255,255,.10)!important;
  -webkit-backdrop-filter:blur(14px) saturate(135%)!important;
  backdrop-filter:blur(14px) saturate(135%)!important;
  box-shadow:0 8px 24px rgba(10,18,30,.16)!important;
}


/* v135 — lighter translucent offline status */
body.eplan-redesign.client-ui .offline-pill,
body.eplan-redesign.trainer-ui .offline-pill{
  background:rgba(20,24,31,.58)!important;
  border-color:rgba(255,255,255,.08)!important;
  -webkit-backdrop-filter:blur(16px) saturate(125%)!important;
  backdrop-filter:blur(16px) saturate(125%)!important;
  box-shadow:0 6px 20px rgba(10,18,30,.10)!important;
}


/* Progress workout volume + finite history list */
body.eplan-redesign.client-ui .redesign-progress-training-more{
  width:100%;
  margin-top:3px;
  padding:13px 16px;
  border-radius:16px;
  border:1px solid #dfe7f1!important;
  background:#f6f9fd!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:13px;
  font-weight:800;
}
body.eplan-redesign.client-ui .progress-workout-stats{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);
  gap:10px;
  margin:12px 0;
}
body.eplan-redesign.client-ui .progress-workout-stat{
  min-width:0;
  padding:15px 16px;
  border:1px solid #e1e8f2;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(35,70,108,.045);
}
body.eplan-redesign.client-ui .progress-workout-stat small{
  display:block;
  margin-bottom:5px;
  font-size:10.5px;
  font-weight:800;
  color:#7b899d;
  text-transform:uppercase;
  letter-spacing:.035em;
}
body.eplan-redesign.client-ui .progress-workout-stat strong{
  display:block;
  color:#0a1738;
  font-size:22px;
  line-height:1.05;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .progress-workout-stat.primary{
  border-color:#e1e8f2;
  background:#fff;
}
body.eplan-redesign.client-ui .progress-workout-stat.primary small{color:#7b899d}
body.eplan-redesign.client-ui .progress-workout-stat.primary strong{color:#0a1738}
body.eplan-redesign.client-ui .progress-workout-muscles{
  margin-top:12px;
  padding:17px 18px;
  border:1px solid #e1e8f2;
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.client-ui .progress-workout-muscles-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .progress-workout-muscles-head>span{
  font-size:18px;
  font-weight:850;
  color:#0a1738;
}
body.eplan-redesign.client-ui .progress-workout-muscles-head>small{
  flex:0 0 auto;
  font-size:10.5px;
  font-weight:750;
  color:#8795a9;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row{
  padding:10px 0;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row:first-of-type{
  border-top:0;
  padding-top:2px;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:7px;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row span{
  min-width:0;
  font-size:13px;
  font-weight:750;
  color:#0a1738;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row strong{
  flex:0 0 auto;
  font-size:12.5px;
  color:#0a1738;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row>i{
  display:block;
  height:6px;
  overflow:hidden;
  border-radius:999px;
  background:#edf2f8;
}
body.eplan-redesign.client-ui .progress-workout-muscle-row>i>b{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#1677ff;
}
body.eplan-redesign.client-ui .progress-workout-muscle-empty{
  padding:4px 0 2px;
  font-size:12px;
  line-height:1.45;
  color:#7b899d;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .progress-workout-stats{grid-template-columns:1fr}
}


/* Trainer client overview v3 — isolate from legacy dark components */
body.eplan-redesign.trainer-ui .trainer-client-page #profile{
  display:grid;
  gap:12px;
}
body.eplan-redesign.trainer-ui .trainer-client-page #profile>.card,
body.eplan-redesign.trainer-ui .trainer-client-page #profile>.trainer-smart-summary,
body.eplan-redesign.trainer-ui .trainer-client-page #profile>.trainer-client-kpis{
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page #profile>.card{
  padding:18px!important;
  border:1px solid #dce5f1!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}

/* Weekly check-in */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card{
  padding:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card .between{
  align-items:flex-start!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card small{
  color:#8593a8!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.05em!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card h2{
  margin:4px 0 0!important;
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-score{
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:#edf4ff!important;
  color:#1677ff!important;
  font-size:11px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-grid{
  gap:7px!important;
  margin:14px 0 12px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-grid span{
  min-height:38px!important;
  align-items:center!important;
  padding:8px 10px!important;
  border:1px solid #edf1f6!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#71809a!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card p{
  margin:10px 0 13px!important;
  color:#43516a!important;
  font-size:13px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-checkin-card>button{
  width:100%!important;
  margin:2px 0 0!important;
  padding:12px 14px!important;
  border:1px solid #cfe0fb!important;
  border-radius:14px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:850!important;
}

/* Compact overview card */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-overview-card{
  padding:16px 18px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-overview-card h2{
  margin:0 0 10px!important;
  color:#0a1738!important;
  font-size:18px!important;
  line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-client-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-meta-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:7px 10px!important;
  border:1px solid #e0e7f0!important;
  border-radius:999px!important;
  background:#f6f8fb!important;
  color:#5f6f87!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-meta-chip.ok{
  border-color:#cfe9da!important;
  background:#f1faf5!important;
  color:#278156!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-meta-chip.warn{
  border-color:#f1dcc7!important;
  background:#fff8f1!important;
  color:#bd6a2e!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-meta-chip.alert{
  border-color:#f0d0d5!important;
  background:#fff5f6!important;
  color:#c64a58!important;
}

/* Client questionnaire */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card{
  padding:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card h2{
  margin:0 0 15px!important;
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card .grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card .grid>div,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card>div[style*="margin-top"]{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card .muted{
  color:#8593a8!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card strong,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card div[style*="white-space"]{
  color:#0a1738!important;
  font-size:13px!important;
  line-height:1.4!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card>div[style*="margin-top"]{
  margin-top:14px!important;
  padding-top:14px!important;
  border-top:1px solid #edf1f6!important;
}

/* Access card */
body.eplan-redesign.trainer-ui .trainer-client-page .access-card{
  padding:18px!important;
  border-color:#dce5f1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-saved{
  display:block!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-saved>div{
  width:100%!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-saved h2{
  margin:0 0 14px!important;
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-saved-main{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-pill{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  justify-content:center!important;
  padding:9px 8px!important;
  border:1px solid #e0e7f0!important;
  border-radius:12px!important;
  background:#f6f8fb!important;
  color:#5f6f87!important;
  font-size:11px!important;
  font-weight:800!important;
  text-align:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-pill.ok{
  border-color:#cfe9da!important;
  background:#f1faf5!important;
  color:#278156!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-pill.warn{
  border-color:#f1dcc7!important;
  background:#fff8f1!important;
  color:#bd6a2e!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-pill.off{
  border-color:#f0d0d5!important;
  background:#fff5f6!important;
  color:#c64a58!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-saved>button{
  width:100%!important;
  height:44px!important;
  margin-top:12px!important;
  padding:0 14px!important;
  border:1px solid #dbe4ef!important;
  border-radius:14px!important;
  background:#f3f6fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-edit-box{
  margin-top:14px!important;
  padding-top:14px!important;
  border-top:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-edit-box input,
body.eplan-redesign.trainer-ui .trainer-client-page .access-edit-box select{
  background:#f7f9fc!important;
  color:#0a1738!important;
  border:1px solid #dce5f1!important;
}

/* Keep all overview typography in the redesigned scale */
body.eplan-redesign.trainer-ui .trainer-client-page #profile h2{
  letter-spacing:-.01em!important;
}
@media(max-width:370px){
  body.eplan-redesign.trainer-ui .trainer-client-page .trainer-profile-card .grid{
    grid-template-columns:1fr!important;
  }
}


/* Trainer client actions + light program workspace v4 */
/* Client actions popover / bottom sheet */
body.eplan-redesign.trainer-ui .trainer-client-actions-layer{
  position:fixed!important;inset:0!important;z-index:120!important;
  display:flex!important;align-items:flex-end!important;justify-content:center!important;
  padding:16px 16px calc(18px + env(safe-area-inset-bottom))!important;
  background:rgba(10,23,56,.22)!important;
  backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-layer.hidden{display:none!important}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop{
  position:static!important;width:min(100%,410px)!important;display:grid!important;gap:8px!important;
  padding:14px!important;border:1px solid #dce5f1!important;border-radius:22px!important;
  background:#fff!important;box-shadow:0 18px 48px rgba(18,43,78,.20)!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;padding:2px 2px 8px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-head strong{color:#0a1738!important;font-size:16px!important}
body.eplan-redesign.trainer-ui .trainer-client-actions-head button{
  width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
  border:0!important;border-radius:11px!important;background:#f0f4f9!important;
  color:#53647d!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop .trainer-client-action{
  width:100%!important;min-height:48px!important;padding:0 15px!important;
  border-radius:14px!important;box-shadow:none!important;text-align:left!important;
  font-size:14px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop .trainer-client-action.neutral{
  border:1px solid #dce5f1!important;background:#f6f8fb!important;color:#183153!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-pop .trainer-client-action.danger{
  border:1px solid #f0d4d8!important;background:#fff5f6!important;color:#c54755!important;
}

/* Program editor */
body.eplan-redesign.trainer-ui .trainer-client-page #program{display:grid;gap:12px}
body.eplan-redesign.trainer-ui .trainer-client-page #program>.card{margin:0!important}
body.eplan-redesign.trainer-ui .trainer-program-editor{
  padding:18px!important;border:1px solid #dce5f1!important;border-radius:20px!important;
  background:#fff!important;box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-head{margin-bottom:15px!important}
body.eplan-redesign.trainer-ui .trainer-program-editor-head h2{
  margin:0!important;color:#0a1738!important;font-size:20px!important;line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-head p{
  margin:5px 0 0!important;color:#7b899d!important;font-size:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid label{
  min-width:0!important;color:#72819a!important;font-size:11px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid label.wide{grid-column:1/-1!important}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid label>span{display:block!important;margin:0 0 6px!important}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid input{
  width:100%!important;min-width:0!important;height:46px!important;margin:0!important;padding:0 13px!important;
  border:1px solid #dce5f1!important;border-radius:13px!important;background:#f7f9fc!important;
  color:#0a1738!important;box-shadow:none!important;font-size:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-grid input::placeholder{color:#a0aabd!important}
body.eplan-redesign.trainer-ui .trainer-program-add{
  width:100%!important;min-height:46px!important;margin-top:14px!important;
  border:1px solid #cfe0fb!important;border-radius:14px!important;background:#edf4ff!important;
  color:#176fe5!important;box-shadow:none!important;font-size:14px!important;font-weight:850!important;
}

/* Program day cards */
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-card{
  overflow:hidden!important;padding:0!important;border:1px solid #dce5f1!important;
  border-radius:20px!important;background:#fff!important;box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-header-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;align-items:center!important;
  gap:8px!important;padding:14px 14px 14px 18px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-head{
  width:100%!important;min-width:0!important;padding:0!important;border:0!important;
  background:transparent!important;color:#0a1738!important;box-shadow:none!important;text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-heading{
  display:flex!important;flex-direction:column!important;gap:3px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-heading h2{
  margin:0!important;color:#0a1738!important;font-size:20px!important;line-height:1.1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-heading small{color:#8b97aa!important;font-size:11px!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-arrow{margin-left:auto!important;color:#7b899d!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-title-edit{
  width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;
  border:1px solid #dce5f1!important;border-radius:13px!important;background:#f3f6fa!important;
  color:#53647d!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-day-card>div[id^="programDay_"]{
  margin:0!important;padding:0 14px 14px!important;
}

/* Exercise blocks */
body.eplan-redesign.trainer-ui .trainer-client-page .program-block{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;
  margin:8px 0 0!important;padding:14px!important;border:1px solid #e1e8f2!important;
  border-radius:16px!important;background:#f9fbfd!important;color:#0a1738!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block:first-child{margin-top:0!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block-info{min-width:0!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block strong{color:#0a1738!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block .muted{color:#7b899d!important;font-size:12px!important}
body.eplan-redesign.trainer-ui .trainer-client-page .program-extra{
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-extra .badge{
  padding:5px 8px!important;border:1px solid #e0e7f0!important;border-radius:999px!important;
  background:#f2f5f9!important;color:#61718a!important;font-size:10px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .inner-actions{
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .inner-actions button{
  width:auto!important;min-height:36px!important;padding:0 11px!important;border-radius:11px!important;
  box-shadow:none!important;font-size:11px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .inner-actions button.dark{
  border:1px solid #dce5f1!important;background:#f2f5f9!important;color:#183153!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .inner-actions button.danger{
  border:1px solid #f0d4d8!important;background:#fff5f6!important;color:#c54755!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block-actions{
  display:flex!important;flex-direction:column!important;gap:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block-actions button{
  width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;
  border:1px solid #dce5f1!important;border-radius:10px!important;background:#f2f5f9!important;
  color:#53647d!important;box-shadow:none!important;
}

/* Superset = light group with a soft blue accent */
body.eplan-redesign.trainer-ui .trainer-client-page .program-block.superset-block{
  display:block!important;padding:0!important;overflow:hidden!important;
  border:1px solid #bcd6fb!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  margin:0!important;padding:10px 14px!important;border-bottom:1px solid #d9e7fb!important;
  background:#edf5ff!important;color:#176fe5!important;font-size:11px!important;font-weight:900!important;
  text-transform:uppercase!important;letter-spacing:.04em!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner{
  padding:14px!important;border:0!important;border-top:1px solid #edf1f6!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner:nth-of-type(2){border-top:0!important}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .program-block-actions{
  flex-direction:row!important;justify-content:flex-end!important;padding:0 14px 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .exercise-alternatives{
  margin-top:10px!important;padding:10px!important;border:1px solid #dfb08a!important;
  border-radius:12px!important;background:#fffaf5!important;color:#745d48!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .exercise-alternatives>strong{
  display:block!important;margin-bottom:6px!important;color:#71809a!important;font-size:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip{
  display:inline-flex!important;margin:3px 4px 0 0!important;padding:7px 10px!important;
  border:1px solid #d99b69!important;border-radius:11px!important;background:#fff!important;
  color:#604a36!important;font-size:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page #program a{color:#1677ff!important}
@media(max-width:370px){
  body.eplan-redesign.trainer-ui .trainer-program-editor-grid{grid-template-columns:1fr!important}
  body.eplan-redesign.trainer-ui .trainer-program-editor-grid label.wide{grid-column:auto!important}
}


/* Trainer program title technique + compact superset controls v6 */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:0!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>strong{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>.alternative-tech-link{
  flex:0 0 auto!important;
  margin-left:5px!important;
  color:#1677ff!important;
  text-decoration:underline!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Move superset order controls into the header, removing the empty bottom area */
body.eplan-redesign.trainer-ui .trainer-client-page .program-block.superset-block{
  position:relative!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  padding-right:86px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .program-block-actions{
  position:absolute!important;
  top:6px!important;
  right:8px!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:row!important;
  gap:5px!important;
  margin:0!important;
  padding:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .program-block-actions button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  padding:0!important;
  border:1px solid #cddcf0!important;
  border-radius:9px!important;
  background:#f8fbff!important;
  color:#53647d!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .program-block-info{
  width:100%!important;
}


/* Superset reorder buttons in header v7 */
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:8px 10px 8px 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-head>span:first-child{
  color:#176fe5!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-move{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-move button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #cddcf0!important;
  border-radius:9px!important;
  background:#f8fbff!important;
  color:#53647d!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:850!important;
}


/* Fix superset move pinning v8 */
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  padding:15px 54px 13px 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-move{
  position:absolute!important;
  top:50%!important;
  right:10px!important;
  transform:translateY(-50%)!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-move button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
}


/* Unified trainer exercise headers v9 */
/* Normal exercise cards now use the same two-part structure throughout */
body.eplan-redesign.trainer-ui .trainer-client-page .program-block.trainer-exercise-card{
  display:block!important;
  position:relative!important;
  min-height:0!important;
  margin:8px 0 0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dfe7f1!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .program-block.trainer-exercise-card:first-child{
  margin-top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-card>.program-block-info{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow:visible!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-shell{
  width:100%!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  padding:9px 10px 9px 14px!important;
  border-bottom:1px solid #e5ebf3!important;
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .trainer-program-title-line{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .trainer-program-title-line>strong{
  color:#0a1738!important;
  font-size:15px!important;
  line-height:1.25!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .alternative-tech-link{
  margin-left:5px!important;
  color:#1677ff!important;
  font-size:11px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d7e1ee!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#53647d!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-body{
  padding:12px 14px 14px!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-body>.muted{
  margin:0!important;
  color:#7b899d!important;
  font-size:12px!important;
}

/* Superset keeps the shared blue group header, while each exercise gets its own separated title strip */
body.eplan-redesign.trainer-ui .trainer-client-page .program-block.trainer-exercise-card.superset-block{
  border-color:#bcd6fb!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner{
  margin:0!important;
  padding:0!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner+.superset-inner{
  margin-top:0!important;
  padding-top:0!important;
  border-top:1px solid #dfe7f1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner>.trainer-exercise-head{
  min-height:46px!important;
  padding:9px 14px!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner>.trainer-exercise-body{
  padding:11px 14px 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner:last-child{
  padding-bottom:0!important;
}


/* Superset controls in exercise header + technique divider v10 */
/* Superset label is now just a group label */
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  position:static!important;
  display:block!important;
  width:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
  padding:11px 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-head .trainer-superset-move{
  display:none!important;
}

/* Superset reorder arrows use the same placement as regular exercise actions */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d7e1ee!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#53647d!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:850!important;
}

/* Technique link is separated from exercise name by a clean vertical divider */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>.alternative-tech-link{
  position:relative!important;
  margin-left:8px!important;
  padding-left:9px!important;
  text-decoration:underline!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>.alternative-tech-link::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:50%!important;
  width:1px!important;
  height:14px!important;
  background:#cfd9e6!important;
  transform:translateY(-50%)!important;
  border-radius:1px!important;
}


/* Alternative technique divider v11 */
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip{
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-name{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-tech-link{
  position:relative!important;
  margin-left:8px!important;
  padding-left:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-tech-link::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:50%!important;
  width:1px!important;
  height:13px!important;
  background:#cfd9e6!important;
  transform:translateY(-50%)!important;
  border-radius:1px!important;
}


/* Explicit alternative divider v12 */
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip{
  display:inline-flex!important;
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-divider{
  display:block!important;
  flex:0 0 1px!important;
  width:1px!important;
  height:14px!important;
  margin:0 8px!important;
  background:#cfd9e6!important;
  border-radius:1px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-tech-link{
  position:static!important;
  margin-left:0!important;
  padding-left:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip>.alternative-tech-link::before{
  content:none!important;
  display:none!important;
}


/* Equal trainer exercise header heights + baseline v13 */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head,
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .superset-inner>.trainer-exercise-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  width:100%!important;
  min-height:58px!important;
  height:58px!important;
  box-sizing:border-box!important;
  padding:0 10px 0 14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line,
body.eplan-redesign.trainer-ui .trainer-client-page .superset-title-line{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  min-height:30px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>strong{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line>.alternative-tech-link{
  display:inline-flex!important;
  align-items:center!important;
  align-self:center!important;
  line-height:1.15!important;
  top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move{
  align-self:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions button,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move button{
  align-self:center!important;
}


/* Hard unify trainer exercise headers v14 */
/* One exact header geometry for normal exercises and superset exercises */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-shell>.trainer-exercise-head,
body.eplan-redesign.trainer-ui .trainer-client-page .superset-inner>.trainer-exercise-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 10px 0 14px!important;
  border:0!important;
  border-bottom:1px solid #e5ebf3!important;
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-inner{
  margin:0!important;
  padding:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-shell{
  margin:0!important;
  padding:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .trainer-program-title-line{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:0!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0!important;
  line-height:30px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .trainer-program-title-line>strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#0a1738!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:30px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head .trainer-program-title-line>.alternative-tech-link{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  height:30px!important;
  margin:0 0 0 8px!important;
  padding:0 0 0 9px!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:30px!important;
  vertical-align:middle!important;
  top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-exercise-head-actions button,
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-superset-inline-move button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  line-height:30px!important;
}


/* Trainer measurements reuse client measurement system v15 */
body.eplan-redesign.trainer-ui .measurement-history-card{
  padding:14px 0!important;
  border-bottom:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .measurement-history-card:last-child{
  border-bottom:0!important;
}
/* Measurements — body-area cards inspired by Lyfta */
body.eplan-redesign.trainer-ui .measurement-visual-overview{
  display:grid;
  gap:12px;
}
body.eplan-redesign.trainer-ui .measurement-visual-overview .measurement-section-title{
  margin:0 2px;
}
body.eplan-redesign.trainer-ui .measurement-visual-overview .measurement-section-title h2{
  margin:0;
  font-size:22px;
}
body.eplan-redesign.trainer-ui .measurement-visual-overview .measurement-section-title p{
  margin:4px 0 0;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e1e8f2;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.trainer-ui .measurement-weight-visual>div:last-child{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:3px;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual strong{
  font-size:23px;
  color:#0a1738;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual strong small{
  font-size:12px;
  color:#718097;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual em,
body.eplan-redesign.trainer-ui .measurement-place-card em{
  font-style:normal;
  color:#7b899d;
  font-size:10.5px;
  font-weight:750;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual em.down,
body.eplan-redesign.trainer-ui .measurement-place-card em.down{
  color:#19985a;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual em.up,
body.eplan-redesign.trainer-ui .measurement-place-card em.up{
  color:#d5821e;
}
body.eplan-redesign.trainer-ui .measurement-visual-subhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:4px 2px 0;
}
body.eplan-redesign.trainer-ui .measurement-visual-subhead h3{
  margin:0;
  font-size:18px;
}
body.eplan-redesign.trainer-ui .measurement-visual-subhead span{
  color:#7a889d;
  font-size:10.5px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-places-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.eplan-redesign.trainer-ui .measurement-place-card{
  min-width:0;
  min-height:152px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e1e8f2;
  box-shadow:0 8px 24px rgba(35,70,108,.045);
}
body.eplan-redesign.trainer-ui .measurement-place-top{
  display:flex;
  align-items:center;
  gap:10px;
}
body.eplan-redesign.trainer-ui .measurement-place-top>span{
  color:#0a1738;
  font-size:14px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .measurement-place-card strong{
  margin-top:auto;
  font-size:22px;
  color:#0a1738;
}
body.eplan-redesign.trainer-ui .measurement-place-card strong small{
  font-size:12px;
  color:#718097;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual .measurement-zone-icon{
  stroke:#71829a;
  background:#f1f5fa;
}
body.eplan-redesign.trainer-ui .measurement-place-card{
  min-height:176px;
}
body.eplan-redesign.trainer-ui .measurement-place-top{
  align-items:center;
}
body.eplan-redesign.trainer-ui .measurement-place-top>span{
  font-size:13px;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual .measurement-generated-art{
  width:82px;
  height:82px;
}
/* Paired measurements: right/left entry and display */
body.eplan-redesign.trainer-ui .measurement-side-values{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:auto;
}
body.eplan-redesign.trainer-ui .measurement-side-values>span{
  min-width:0;
  padding:9px 8px;
  border-radius:12px;
  background:#f6f9fd;
  border:1px solid #e2e9f2;
}
body.eplan-redesign.trainer-ui .measurement-side-values small{
  display:block;
  margin-bottom:2px;
  color:#7b899d;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-side-values b{
  display:block;
  color:#0a1738;
  font-size:13px;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .measurement-history-card.redesigned-history{
  position:relative;
  padding:16px!important;
  border:1px solid #e1e8f2!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(37,61,92,.045);
}
body.eplan-redesign.trainer-ui .measurement-history-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.trainer-ui .measurement-history-head>div{
  display:grid;
  gap:2px;
}
body.eplan-redesign.trainer-ui .measurement-history-caption{
  color:#8190a5;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.eplan-redesign.trainer-ui .measurement-history-head strong{
  font-size:17px;
  color:#0a1738;
}
body.eplan-redesign.trainer-ui .measurement-history-section{
  display:grid;
  gap:9px;
  margin-top:12px;
}
body.eplan-redesign.trainer-ui .measurement-history-section h4{
  margin:0;
  color:#718097;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.eplan-redesign.trainer-ui .measurement-history-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.trainer-ui .measurement-history-metric{
  display:grid;
  gap:2px;
  padding:10px 11px;
  border-radius:12px;
  background:#f7f9fc;
  border:1px solid #e7ecf3;
}
body.eplan-redesign.trainer-ui .measurement-history-metric>span{
  color:#77869b;
  font-size:9.5px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-history-metric>strong{
  color:#0a1738;
  font-size:12px;
}
body.eplan-redesign.trainer-ui .measurement-history-metric>small{
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-history-metric>small.down{color:#15965a}
body.eplan-redesign.trainer-ui .measurement-history-metric>small.up{color:#d5821e}
body.eplan-redesign.trainer-ui .measurement-history-pair-grid{
  display:grid;
  gap:8px;
}
body.eplan-redesign.trainer-ui .measurement-history-pair{
  display:grid;
  grid-template-columns:minmax(90px,.8fr) 1.4fr;
  gap:10px;
  align-items:center;
  padding:10px 11px;
  border-radius:12px;
  background:#fbfcfe;
  border:1px solid #e7ecf3;
}
body.eplan-redesign.trainer-ui .measurement-history-pair-title{
  color:#0a1738;
  font-size:11px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .measurement-history-pair-sides{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
body.eplan-redesign.trainer-ui .measurement-history-pair-sides>span{
  display:grid;
  gap:1px;
}
body.eplan-redesign.trainer-ui .measurement-history-pair-sides small{
  color:#8190a5;
  font-size:8.5px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-history-pair-sides b{
  color:#0a1738;
  font-size:11px;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .measurement-history-card .measurement-edit,
body.eplan-redesign.trainer-ui .measurement-history-card .measurement-delete{
  position:static!important;
  top:auto!important;
  right:auto!important;
  margin:0!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .measurement-history-card .measurement-edit{
  background:#edf4ff!important;
  border:1px solid #cfe0fb!important;
  color:#1677ff!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .measurement-history-card .measurement-delete{
  background:#fff2f2!important;
  border:1px solid #f1caca!important;
  color:#db6b6b!important;
}
body.eplan-redesign.trainer-ui .measurement-history-card .measurement-delete svg{
  width:16px!important;
  height:16px!important;
}
body.eplan-redesign.trainer-ui .measurement-history-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
}
body.eplan-redesign.trainer-ui .measurement-place-card .measurement-side-values + em:empty{
  display:none!important;
}
/* Compact selectable measurement comparison */
body.eplan-redesign.trainer-ui .measurement-compare-card{
  display:grid;
  gap:14px;
}
body.eplan-redesign.trainer-ui .measurement-compare-head h2{
  margin:0;
  font-size:20px;
}
body.eplan-redesign.trainer-ui .measurement-compare-head p{
  margin:4px 0 0;
}
body.eplan-redesign.trainer-ui .measurement-compare-selects{
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
  gap:8px;
  align-items:end;
}
body.eplan-redesign.trainer-ui .measurement-compare-selects label{
  display:grid;
  gap:5px;
  min-width:0;
}
body.eplan-redesign.trainer-ui .measurement-compare-selects label>span{
  color:#7a889d;
  font-size:9.5px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .measurement-compare-selects select{
  width:100%;
  min-width:0;
  height:42px;
  padding:0 10px;
  border-radius:11px;
  border:1px solid #dce5ef;
  background:#f7f9fc;
  color:#0a1738;
  font:inherit;
  font-size:12px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-compare-arrow{
  display:grid;
  place-items:center;
  height:42px;
  color:#8a98ab;
  font-weight:900;
}
body.eplan-redesign.trainer-ui .measurement-compare-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
body.eplan-redesign.trainer-ui .measurement-compare-item{
  min-width:0;
  padding:10px 11px;
  border:1px solid #e5ebf3;
  border-radius:12px;
  background:#f9fbfd;
}
body.eplan-redesign.trainer-ui .measurement-compare-item>span{
  display:block;
  margin-bottom:3px;
  color:#78869a;
  font-size:9px;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.eplan-redesign.trainer-ui .measurement-compare-item>strong{
  display:block;
  color:#0a1738;
  font-size:11px;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .measurement-compare-item>small{
  display:block;
  margin-top:4px;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .measurement-compare-item>small.down,
body.eplan-redesign.trainer-ui .measurement-side-delta.down{color:#15965a}
body.eplan-redesign.trainer-ui .measurement-compare-item>small.up,
body.eplan-redesign.trainer-ui .measurement-side-delta.up{color:#d98a24}
body.eplan-redesign.trainer-ui .measurement-side-delta{
  display:block!important;
  margin-top:3px;
  font-size:8.5px!important;
  font-weight:850!important;
  line-height:1.2;
}
/* Measurement deltas are informational, not good/bad. */
body.eplan-redesign.trainer-ui .neutral-change,
body.eplan-redesign.trainer-ui .measurement-side-delta.neutral-change,
body.eplan-redesign.trainer-ui .measurement-compare-item>small.neutral-change,
body.eplan-redesign.trainer-ui .measurement-metric em.neutral-change,
body.eplan-redesign.trainer-ui .measurement-changes em.neutral-change{
  color:#34425A!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual em.neutral-change,
body.eplan-redesign.trainer-ui .measurement-place-card em.neutral-change{
  color:#34425A!important;
}
body.eplan-redesign.trainer-ui .redesign-progress-kpi .neutral-change,
body.eplan-redesign.trainer-ui .client-home-metric .neutral-change{
  color:#34425A!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .redesign-progress-kpi-weight>.neutral-change,
body.eplan-redesign.trainer-ui .redesign-progress-kpi-select>.neutral-change{
  font-size:11px!important;
  line-height:1.2!important;
  margin-top:0!important;
}
body.eplan-redesign.trainer-ui .redesign-progress-kpi>.neutral-change{
  align-self:start!important;
  margin:0!important;
}
/* v87 — measurement history calendar */
body.eplan-redesign.trainer-ui .measurement-history-calendar-card{
  margin:0!important;
  padding:18px!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-title>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-title strong{
  color:#0a1738;
  font-size:20px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.02em;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-title span{
  color:#7a899f;
  font-size:12px;
  font-weight:750;
}
body.eplan-redesign.trainer-ui .measurement-calendar-head{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
body.eplan-redesign.trainer-ui .measurement-calendar-head>strong{
  color:#102044;
  text-align:center;
  font-size:15px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .measurement-calendar-head>button{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid #dfe7f2!important;
  border-radius:12px!important;
  background:#f2f6fb!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:25px!important;
  font-weight:500!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-weekdays,
body.eplan-redesign.trainer-ui .measurement-calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:6px;
}
body.eplan-redesign.trainer-ui .measurement-calendar-weekdays{
  margin-bottom:6px;
}
body.eplan-redesign.trainer-ui .measurement-calendar-weekdays span{
  color:#8a98ab;
  text-align:center;
  font-size:10px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day{
  position:relative;
  aspect-ratio:1/1;
  min-width:0!important;
  width:100%!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:#f7f9fc!important;
  color:#7d8ba0!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day.empty{
  visibility:hidden;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day:disabled{
  opacity:.72!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day.has-data{
  border-color:#bcd5fa!important;
  background:#eef5ff!important;
  color:#0d63d8!important;
  opacity:1!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day.has-data::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:5px;
  width:4px;
  height:4px;
  border-radius:50%;
  transform:translateX(-50%);
  background:#1677ff;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day.active{
  border-color:#1677ff!important;
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-day.active::after{
  background:#fff;
}
body.eplan-redesign.trainer-ui .measurement-calendar-selected .measurement-history-card{
  margin:0!important;
}
/* v88 — collapsible measurement history calendar */
body.eplan-redesign.trainer-ui .measurement-history-calendar-card{
  padding:0!important;
  overflow:hidden;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-toggle{
  width:100%!important;
  min-height:78px!important;
  padding:16px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-toggle>span{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:4px;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-toggle strong{
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-toggle small{
  color:#7a899f!important;
  font-size:12px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-toggle>b{
  color:#8a98ab!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:600!important;
  transform:rotate(0deg);
  transition:transform .18s ease;
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-card.is-open .measurement-history-calendar-toggle>b{
  transform:rotate(180deg);
}
body.eplan-redesign.trainer-ui .measurement-history-calendar-body{
  padding:16px 18px 18px;
  border-top:1px solid #edf1f6;
}

body.eplan-redesign.trainer-ui .trainer-measurements-page{
  display:grid!important;
  gap:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-visual-overview,
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-compare-card,
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-history-calendar-card{
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-measure-count{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  padding:0 10px!important;
  border:1px solid #cfe9da!important;
  border-radius:999px!important;
  background:#f1faf5!important;
  color:#278156!important;
  font-size:11px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-measure-empty{
  padding:20px!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-measure-empty strong{
  color:#0a1738!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-measure-empty p{
  margin:6px 0 0!important;
}


/* Trainer measurement artwork + calendar hint v16 */
/* Reuse the exact same male/female measurement artwork as client UI */
body.eplan-redesign.trainer-ui .measurement-generated-art{
  display:block!important;
  flex:0 0 auto!important;
  width:74px!important;
  height:78px!important;
  border-radius:14px!important;
  background-repeat:no-repeat!important;
  background-size:500% 200%!important;
  background-position:var(--mx) var(--my)!important;
  background-color:#fff!important;
  box-shadow:0 4px 14px rgba(44,67,99,.05)!important;
}
body.eplan-redesign.trainer-ui .measurement-generated-art.sex-male{
  background-image:url('/static/img/measurements/male-sprite.webp')!important;
}
body.eplan-redesign.trainer-ui .measurement-generated-art.sex-female{
  background-image:url('/static/img/measurements/female-sprite.webp')!important;
}
body.eplan-redesign.trainer-ui .measurement-weight-visual .measurement-generated-art{
  width:82px!important;
  height:82px!important;
}

/* Match the client's compact hint below the history calendar */
body.eplan-redesign.trainer-ui .measurement-calendar-hint{
  margin-top:14px!important;
  padding:12px 14px!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#7a899f!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}

/* Keep artwork cards balanced now that the images are visible */
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-place-card{
  min-height:176px!important;
}
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-place-top{
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-place-top>span{
  font-size:13px!important;
}
@media(max-width:370px){
  body.eplan-redesign.trainer-ui .measurement-generated-art{
    width:66px!important;
    height:70px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-measurements-page .measurement-place-card{
    min-height:164px!important;
  }
}


/* Trainer measurement selected-date spacing v17 */
body.eplan-redesign.trainer-ui .measurement-calendar-selected{
  margin-top:18px!important;
  padding-top:18px!important;
  border-top:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .measurement-calendar-selected .measurement-history-card{
  margin:0!important;
}


/* Trainer nutrition redesign v18 */
body.eplan-redesign.trainer-ui .trainer-nutrition-page{
  display:grid!important;
  gap:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-card{
  margin:0!important;
  padding:18px!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:20px!important;
  line-height:1.15!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-head p{
  margin:5px 0 0!important;
  color:#7b899d!important;
  font-size:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-edit{
  flex:0 0 auto!important;
  min-height:38px!important;
  padding:0 11px!important;
  border:1px solid #d8e4f2!important;
  border-radius:12px!important;
  background:#f3f7fc!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-edit .ui-icon{
  width:15px!important;
  height:15px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary>div{
  min-width:0!important;
  padding:10px!important;
  border:1px solid #e1e8f2!important;
  border-radius:13px!important;
  background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary span{
  display:block!important;
  margin-bottom:4px!important;
  color:#7e8b9f!important;
  font-size:9.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary strong{
  color:#183153!important;
  font-size:14px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary small{
  color:#718097!important;
  font-size:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary .kcal{border-top:3px solid #7f9fc8!important}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary .protein{border-top:3px solid #6ba6ff!important}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary .fat{border-top:3px solid #efb24b!important}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary .carbs{border-top:3px solid #65b987!important}

body.eplan-redesign.trainer-ui .trainer-nutrition-target-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:15px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-fields label{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-fields label>span{
  display:block!important;
  margin-bottom:6px!important;
  color:#72819a!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-fields input{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-actions{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-top:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-actions button{
  min-height:42px!important;
  padding:0 13px!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-actions button:not(.dark){
  border:1px solid #cfe0fb!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-target-actions button.dark{
  border:1px solid #dce5f1!important;
  background:#f3f6fa!important;
  color:#53647d!important;
}

/* Nutrition plan — remove legacy dark cards */
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-card{
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-head{
  width:100%!important;
  min-height:72px!important;
  padding:15px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-head strong{
  color:#0a1738!important;
  font-size:17px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-head .muted{
  color:#8491a5!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-head .arrow{
  color:#8a98ab!important;
  font-size:22px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-plan-body{
  padding:0 14px 14px!important;
  border-top:1px solid #edf1f6!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-view{
  margin-top:10px!important;
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:16px!important;
  background:#f8faff!important;
  color:#183153!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-view>strong{
  display:block!important;
  color:#0a1738!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-view>.muted{
  margin-top:7px!important;
  color:#8a96a8!important;
  font-size:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-option{
  margin-top:10px!important;
  padding:10px 0 0!important;
  border-top:1px solid #e5ebf3!important;
  color:#43516a!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-option:first-of-type{
  border-top:0!important;
  padding-top:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .variant-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:25px!important;
  margin:0 0 5px!important;
  padding:0 8px!important;
  border:1px solid #d9e5f4!important;
  border-radius:999px!important;
  background:#eef4fb!important;
  color:#61718a!important;
  font-size:9.5px!important;
  font-weight:800!important;
}

/* Nutrition plan editor */
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-editor{
  margin-top:10px!important;
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:16px!important;
  background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-editor-head strong{
  color:#0a1738!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-variant{
  margin-top:12px!important;
  padding-top:12px!important;
  border-top:1px solid #e5ebf3!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-variant textarea{
  width:100%!important;
  min-height:100px!important;
  margin-top:8px!important;
  padding:12px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-actions{
  display:flex!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  margin-top:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-actions button,
body.eplan-redesign.trainer-ui .trainer-nutrition-page .meal-editor .icon-btn{
  min-height:36px!important;
  padding:0 10px!important;
  border:1px solid #dce5f1!important;
  border-radius:11px!important;
  background:#f3f6fa!important;
  color:#53647d!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui .trainer-nutrition-target-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* Trainer notes + scalable checkin history v19 */
body.eplan-redesign.trainer-ui .trainer-client-page #notes:not(.hidden){display:grid!important;gap:12px!important}
body.eplan-redesign.trainer-ui .trainer-client-page #notes.hidden{display:none!important}
body.eplan-redesign.trainer-ui .trainer-private-note,
body.eplan-redesign.trainer-ui .trainer-checkin-history{
  margin:0!important;padding:18px!important;border:1px solid #dfe7f2!important;border-radius:20px!important;
  background:#fff!important;box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note-head small{
  display:block!important;margin-bottom:4px!important;color:#8a98aa!important;font-size:10px!important;font-weight:900!important;letter-spacing:.05em!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note-head h2,
body.eplan-redesign.trainer-ui .trainer-checkin-history-head h2{
  margin:0!important;color:#0a1738!important;font-size:20px!important;line-height:1.15!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note-head p,
body.eplan-redesign.trainer-ui .trainer-checkin-history-head p{
  margin:5px 0 0!important;color:#8290a4!important;font-size:11px!important;line-height:1.35!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note textarea{
  width:100%!important;min-height:130px!important;margin-top:14px!important;padding:13px!important;
  border:1px solid #dce5f1!important;border-radius:14px!important;background:#f7f9fc!important;color:#0a1738!important;
  box-shadow:none!important;font-size:14px!important;line-height:1.5!important;resize:vertical!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note textarea:focus{
  border-color:#9bc6ff!important;box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;outline:0!important;
}
body.eplan-redesign.trainer-ui .trainer-private-note-save{
  width:100%!important;min-height:44px!important;margin-top:12px!important;padding:0 14px!important;
  border:1px solid #cfe0fb!important;border-radius:13px!important;background:#edf4ff!important;color:#176fe5!important;
  box-shadow:none!important;font-size:13px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-head>span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:32px!important;height:32px!important;padding:0 9px!important;
  border-radius:999px!important;background:#edf4ff!important;color:#176fe5!important;font-size:11px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-list{display:grid!important;gap:8px!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-item{
  overflow:hidden!important;border:1px solid #e1e8f2!important;border-radius:15px!important;background:#f9fbfd!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-toggle{
  width:100%!important;min-height:60px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto 24px!important;align-items:center!important;gap:9px!important;
  padding:10px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#0a1738!important;box-shadow:none!important;text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-toggle>span:first-child{min-width:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-toggle small{color:#8a98aa!important;font-size:9px!important;font-weight:850!important;letter-spacing:.04em!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-toggle strong{color:#0a1738!important;font-size:14px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-status{
  padding:5px 8px!important;border-radius:999px!important;font-size:9.5px!important;font-weight:850!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-status.reviewed{background:#eef8f1!important;color:#278156!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-status.new{background:#edf4ff!important;color:#176fe5!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-arrow{
  color:#8290a4!important;font-size:19px!important;font-weight:600!important;line-height:1!important;transition:transform .18s ease!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-item.is-open .trainer-checkin-history-arrow{transform:rotate(180deg)!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-detail{
  padding:0 12px 12px!important;border-top:1px solid #edf1f6!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-detail.hidden{display:none!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-detail .trainer-checkin-grid{margin:12px 0 10px!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-detail p{margin:8px 0 10px!important;color:#43516a!important;font-size:12px!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-detail>button{
  width:100%!important;min-height:38px!important;border:1px solid #cfe0fb!important;border-radius:11px!important;background:#edf4ff!important;
  color:#176fe5!important;box-shadow:none!important;font-size:11px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-more{
  width:100%!important;min-height:40px!important;margin-top:10px!important;border:1px solid #dce5f1!important;border-radius:12px!important;
  background:#f3f6fa!important;color:#53647d!important;box-shadow:none!important;font-size:11.5px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-checkin-history-more span{color:#8a98aa!important}
body.eplan-redesign.trainer-ui .trainer-checkin-history-empty{
  padding:14px!important;border-radius:13px!important;background:#f7f9fc!important;color:#7c899d!important;text-align:center!important;font-size:11px!important;font-weight:700!important;
}


/* New client modal redesign v20 */
body.eplan-redesign.trainer-ui .trainer-new-client-modal{
  padding:18px!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(9,20,39,.68)!important;
  backdrop-filter:blur(4px)!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-card{
  width:min(100%,520px)!important;
  max-height:min(88dvh,760px)!important;
  overflow:auto!important;
  margin:0!important;
  padding:20px!important;
  border:1px solid #dfe7f2!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(10,23,56,.18)!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-head small{
  display:block!important;
  margin-bottom:4px!important;
  color:#8a98aa!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-close{
  display:grid!important;
  place-items:center!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid #d8e3f0!important;
  border-radius:13px!important;
  background:#f1f6fc!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:18px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-copy{
  margin:14px 0 0!important;
  color:#7b899d!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-main-fields{
  display:grid!important;
  gap:10px!important;
  margin-top:16px!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-main-fields label,
body.eplan-redesign.trainer-ui .trainer-new-client-macros label{
  display:block!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-main-fields label>span,
body.eplan-redesign.trainer-ui .trainer-new-client-macros label>span{
  display:block!important;
  margin-bottom:6px!important;
  color:#71809a!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-card input{
  width:100%!important;
  height:48px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-card input:focus{
  border-color:#9bc6ff!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;
  outline:0!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-section{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid #e2e9f2!important;
  border-radius:16px!important;
  background:#f9fbfd!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-section-head strong{
  color:#183153!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-section-head span{
  color:#8a98aa!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-macros{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-error{
  min-height:18px!important;
  margin:10px 0 0!important;
  color:#c6535f!important;
  font-size:11px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-submit{
  width:100%!important;
  min-height:46px!important;
  margin-top:4px!important;
  padding:0 14px!important;
  border:1px solid #cfe0fb!important;
  border-radius:13px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-new-client-submit:active{
  transform:translateY(1px)!important;
}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-new-client-card{padding:17px!important}
  body.eplan-redesign.trainer-ui .trainer-new-client-head h2{font-size:22px!important}
}


/* Trainer pending workout review queue v21 */
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action{
  width:100%!important;cursor:pointer!important;text-align:left!important;font:inherit!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action span{margin-left:auto!important}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action>b{
  flex:0 0 auto!important;color:#b87536!important;font-size:22px!important;line-height:1!important;font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action:active{transform:translateY(1px)!important}

body.eplan-redesign.trainer-ui .trainer-review-queue{
  margin:0 0 12px!important;padding:18px!important;border:1px solid #f1d4b8!important;border-radius:20px!important;
  background:#fffaf5!important;box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-review-queue-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:13px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-queue-head small{
  display:block!important;margin-bottom:3px!important;color:#c17836!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui .trainer-review-queue-head h2{
  margin:0!important;color:#0a1738!important;font-size:20px!important;line-height:1.15!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-review-queue-head p{
  margin:5px 0 0!important;color:#7c899d!important;font-size:11px!important;line-height:1.4!important;
}
body.eplan-redesign.trainer-ui .trainer-review-queue-head>span{
  display:grid!important;place-items:center!important;min-width:34px!important;height:34px!important;padding:0 9px!important;border-radius:999px!important;
  background:#fff0e2!important;color:#c56f25!important;font-size:12px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-review-list{display:grid!important;gap:8px!important}
body.eplan-redesign.trainer-ui .trainer-review-card{
  overflow:hidden!important;border:1px solid #e4eaf2!important;border-radius:15px!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-review-toggle{
  width:100%!important;min-height:64px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto 24px!important;
  align-items:center!important;gap:8px!important;padding:10px 12px!important;border:0!important;border-radius:0!important;background:#fff!important;
  color:#0a1738!important;box-shadow:none!important;text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-review-main{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
body.eplan-redesign.trainer-ui .trainer-review-main small{color:#8a98aa!important;font-size:9.5px!important;font-weight:800!important}
body.eplan-redesign.trainer-ui .trainer-review-main strong{overflow:hidden!important;color:#0a1738!important;font-size:14px!important;font-weight:900!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.eplan-redesign.trainer-ui .trainer-review-duration{
  padding:5px 8px!important;border-radius:999px!important;background:#f3f6fa!important;color:#687790!important;font-size:9px!important;font-weight:800!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-badge{
  padding:5px 8px!important;border-radius:999px!important;background:#fff0e2!important;color:#c56f25!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-arrow{color:#8794a8!important;font-size:18px!important;line-height:1!important}
body.eplan-redesign.trainer-ui .trainer-review-detail{
  padding:12px!important;border-top:1px solid #edf1f6!important;background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-review-detail.hidden{display:none!important}
body.eplan-redesign.trainer-ui .trainer-review-client-comment{
  margin:0 0 10px!important;padding:11px 12px!important;border:1px solid #cfe0fb!important;border-radius:12px!important;background:#f4f8ff!important;
}
body.eplan-redesign.trainer-ui .trainer-review-client-comment-head{
  display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:8px!important;margin-bottom:5px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-client-comment-head span{
  color:#176fe5!important;font-size:10px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-review-client-comment-head small{
  color:#8a97aa!important;font-size:8.5px!important;font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-review-client-comment p{
  margin:0!important;color:#183153!important;font-size:11px!important;line-height:1.45!important;font-weight:700!important;white-space:pre-wrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-client-comment p+p{
  margin-top:7px!important;padding-top:7px!important;border-top:1px solid #dfe9f7!important;
}
body.eplan-redesign.trainer-ui .trainer-review-exercises{display:grid!important;gap:8px!important}
body.eplan-redesign.trainer-ui .trainer-review-exercise{
  margin-bottom:8px!important;padding:12px!important;border:1px solid #e2e8f1!important;border-radius:13px!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-review-exercise-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
body.eplan-redesign.trainer-ui .trainer-review-exercise-head strong{color:#0a1738!important;font-size:13px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-review-exercise-head span{color:#8592a6!important;font-size:9.5px!important;font-weight:800!important;white-space:nowrap!important}
body.eplan-redesign.trainer-ui .trainer-review-sets{display:grid!important;gap:6px!important;margin-top:9px!important}
body.eplan-redesign.trainer-ui .trainer-review-aux{
  display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;
  margin:8px 0 0!important;padding:7px 9px!important;border:1px solid #e0e7f0!important;
  border-radius:10px!important;background:#f8fafc!important;
}
body.eplan-redesign.trainer-ui .trainer-review-aux small{
  color:#7d899b!important;font-size:8.5px!important;font-weight:900!important;margin-right:2px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-aux span{
  padding:3px 6px!important;border-radius:7px!important;background:#fff!important;color:#53647d!important;
  font-size:9px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-review-drop-list{
  display:grid!important;gap:3px!important;margin:4px 0 0 18px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-drop-list>div{
  display:grid!important;grid-template-columns:70px minmax(0,1fr)!important;gap:7px!important;align-items:center!important;
  padding:4px 8px!important;border-left:2px solid #d9e3ee!important;border-radius:0 8px 8px 0!important;background:#fafbfd!important;
}
body.eplan-redesign.trainer-ui .trainer-review-drop-list span{
  color:#8491a4!important;font-size:8.5px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-review-drop-list strong{
  color:#53647d!important;font-size:9.5px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-review-sets>div{
  display:grid!important;grid-template-columns:70px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:8px 9px!important;
  border-radius:10px!important;background:#f6f8fb!important;
}
body.eplan-redesign.trainer-ui .trainer-review-sets small{color:#8b97a9!important;font-size:9px!important}
body.eplan-redesign.trainer-ui .trainer-review-sets b{color:#183153!important;font-size:11px!important;font-weight:850!important}
body.eplan-redesign.trainer-ui .trainer-review-sets em{color:#718099!important;font-size:9.5px!important;font-style:normal!important;font-weight:800!important}
body.eplan-redesign.trainer-ui .trainer-review-comment{display:block!important;margin-top:10px!important}
body.eplan-redesign.trainer-ui .trainer-review-comment>span{display:block!important;margin-bottom:6px!important;color:#53647d!important;font-size:10.5px!important;font-weight:850!important}
body.eplan-redesign.trainer-ui .trainer-review-comment>span small{color:#9aa5b6!important;font-size:9px!important;font-weight:700!important}
body.eplan-redesign.trainer-ui .trainer-review-comment textarea{
  width:100%!important;min-height:82px!important;padding:11px!important;border:1px solid #dce5f1!important;border-radius:12px!important;
  background:#fff!important;color:#0a1738!important;box-shadow:none!important;font-size:12px!important;line-height:1.45!important;
}
body.eplan-redesign.trainer-ui .trainer-review-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin-top:9px!important}
body.eplan-redesign.trainer-ui .trainer-review-actions button{
  min-height:40px!important;padding:0 11px!important;border:1px solid #cfe0fb!important;border-radius:11px!important;background:#edf4ff!important;
  color:#176fe5!important;box-shadow:none!important;font-size:10.5px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-review-actions button.dark{
  border-color:#dce5f1!important;background:#f3f6fa!important;color:#53647d!important;
}
body.eplan-redesign.trainer-ui .trainer-review-empty-detail{
  padding:12px!important;border-radius:11px!important;background:#f6f8fb!important;color:#8290a4!important;text-align:center!important;font-size:10.5px!important;
}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-review-toggle{grid-template-columns:minmax(0,1fr) auto 22px!important}
  body.eplan-redesign.trainer-ui .trainer-review-duration{display:none!important}
  body.eplan-redesign.trainer-ui .trainer-review-sets>div{grid-template-columns:60px minmax(0,1fr) auto!important}
}


/* Align trainer attention banner content v22 */
body.eplan-redesign.trainer-ui .trainer-smart-summary{
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) 22px!important;
  align-items:center!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action strong,
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action span,
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action>b{
  margin:0!important;
  line-height:1.2!important;
  align-self:center!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action strong{
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action span{
  min-width:0!important;
  text-align:right!important;
}
body.eplan-redesign.trainer-ui .trainer-smart-summary.is-action>b{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:22px!important;
}


/* Trainer programs page redesign v23 */
body.eplan-redesign.trainer-ui .trainer-programs-page.modern{
  display:grid!important;
  gap:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-title{
  margin-bottom:0!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-title>div{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-title .trainer-page-sub{
  margin:5px 0 0!important;
  color:#7b899d!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-page .trainer-round-add{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid #d6e4f5!important;
  border-radius:14px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:22px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-segmented{
  margin:0!important;
  padding:4px!important;
  border:0!important;
  border-radius:15px!important;
  background:#edf2f8!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-segmented button{
  min-height:40px!important;
  padding:0 12px!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#718099!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-programs-segmented button.active{
  background:#fff!important;
  color:#176fe5!important;
  box-shadow:0 3px 10px rgba(32,67,107,.07)!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty.modern,
body.eplan-redesign.trainer-ui .trainer-program-empty.compact{
  margin:0!important;
  padding:30px 22px!important;
  border:1px solid #dfe7f2!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
  text-align:center!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty.compact{
  padding:26px 20px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty-icon{
  display:grid!important;
  place-items:center!important;
  width:54px!important;
  height:54px!important;
  margin:0 auto 14px!important;
  border-radius:15px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty-icon .ui-icon{
  width:22px!important;
  height:22px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:21px!important;
  line-height:1.15!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-program-empty p{
  max-width:310px!important;
  margin:9px auto 0!important;
  color:#7c899d!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.eplan-redesign.trainer-ui .trainer-program-create{
  min-height:42px!important;
  margin-top:18px!important;
  padding:0 16px!important;
  border:1px solid #cfe0fb!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:12.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-list.modern{
  display:grid!important;
  gap:8px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row.modern{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto 20px!important;
  align-items:center!important;
  gap:11px!important;
  width:100%!important;
  min-height:72px!important;
  padding:12px 13px!important;
  border:1px solid #dfe7f2!important;
  border-radius:17px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 5px 16px rgba(32,67,107,.04)!important;
  text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row.modern:last-child{
  border-bottom:1px solid #dfe7f2!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row.modern .trainer-client-avatar{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:50%!important;
  background:#eef3fb!important;
  color:#607089!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-copy{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-copy strong{
  display:block!important;
  overflow:hidden!important;
  color:#0a1738!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-copy small{
  display:block!important;
  overflow:hidden!important;
  margin-top:4px!important;
  color:#7e8b9f!important;
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-meta{
  display:inline-flex!important;
  align-items:center!important;
  min-height:27px!important;
  padding:0 8px!important;
  border-radius:999px!important;
  font-size:9.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-meta.active{
  background:#eef8f1!important;
  color:#278156!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-meta.empty{
  background:#f1f4f8!important;
  color:#7b899d!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-chevron{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#7d8ba0!important;
  font-size:20px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-assigned-row.modern:active{
  transform:translateY(1px)!important;
  background:#fbfcfe!important;
}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-assigned-row.modern{
    grid-template-columns:auto minmax(0,1fr) 20px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-assigned-meta{
    display:none!important;
  }
}


/* Trainer more page mirrors client More v24 */
body.eplan-redesign.trainer-ui .trainer-more-page.modern{
  display:grid!important;
  gap:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-more-title{
  margin-bottom:5px!important;
}
body.eplan-redesign.trainer-ui .trainer-more-title h1{
  margin:4px 2px 6px!important;
  font-size:28px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
body.eplan-redesign.trainer-ui .trainer-more-list.modern{
  display:grid!important;
  gap:9px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.eplan-redesign.trainer-ui .trainer-more-list.modern .trainer-more-item{
  width:100%!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  min-height:70px!important;
  padding:13px 14px!important;
  text-align:left!important;
  border:1px solid #e1e8f2!important;
  border-radius:17px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 8px 22px rgba(35,70,108,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-more-list.modern .trainer-more-item:last-child{
  border-bottom:1px solid #e1e8f2!important;
}
body.eplan-redesign.trainer-ui .trainer-more-icon{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.trainer-ui .trainer-more-icon .ui-icon{
  width:20px!important;
  height:20px!important;
}
body.eplan-redesign.trainer-ui .trainer-more-copy{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-more-copy strong,
body.eplan-redesign.trainer-ui .trainer-more-copy small{
  display:block!important;
}
body.eplan-redesign.trainer-ui .trainer-more-copy strong{
  color:#0a1738!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
body.eplan-redesign.trainer-ui .trainer-more-copy small{
  margin-top:4px!important;
  color:#7b8799!important;
  font-size:10.5px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
body.eplan-redesign.trainer-ui .trainer-more-chevron{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#7d8ba0!important;
  font-size:20px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-more-logout{
  width:100%!important;
  min-height:48px!important;
  margin-top:3px!important;
  padding:13px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  border:1px solid #ffdadd!important;
  border-radius:15px!important;
  background:#fff2f2!important;
  color:#c8454e!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-more-logout .ui-icon{
  width:18px!important;
  height:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-more-item:active,
body.eplan-redesign.trainer-ui .trainer-more-logout:active{
  transform:translateY(1px)!important;
}


/* Shared notification center redesign v25 */
body.eplan-redesign.client-ui .notification-modal,
body.eplan-redesign.trainer-ui .notification-modal{
  padding:18px!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(9,20,39,.66)!important;
  -webkit-backdrop-filter:blur(4px)!important;
  backdrop-filter:blur(4px)!important;
}
body.eplan-redesign.client-ui .notification-modal-card,
body.eplan-redesign.trainer-ui .notification-modal-card{
  width:min(100%,430px)!important;
  max-height:min(84dvh,760px)!important;
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
  padding:18px!important;
  overflow:hidden!important;
  border:1px solid #dfe7f2!important;
  border-radius:23px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(10,23,56,.18)!important;
}
body.eplan-redesign.client-ui .notification-modal-head,
body.eplan-redesign.trainer-ui .notification-modal-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 12px!important;
}
body.eplan-redesign.client-ui .notification-modal-head small,
body.eplan-redesign.trainer-ui .notification-modal-head small{
  display:block!important;
  margin-bottom:3px!important;
  color:#8a98aa!important;
  font-size:9.5px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}
body.eplan-redesign.client-ui .notification-modal-head h2,
body.eplan-redesign.trainer-ui .notification-modal-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.1!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .notification-modal-actions,
body.eplan-redesign.trainer-ui .notification-modal-actions{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
body.eplan-redesign.client-ui .notification-close,
body.eplan-redesign.trainer-ui .notification-close{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #d8e3f0!important;
  border-radius:12px!important;
  background:#f1f6fc!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:17px!important;
  font-weight:700!important;
}
body.eplan-redesign.client-ui .notification-clear-all,
body.eplan-redesign.trainer-ui .notification-clear-all{
  min-height:36px!important;
  padding:0 10px!important;
  border:1px solid #ffdadd!important;
  border-radius:11px!important;
  background:#fff5f5!important;
  color:#c64a55!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .notification-phone-toggle,
body.eplan-redesign.trainer-ui .notification-phone-toggle{
  width:100%!important;
  min-height:42px!important;
  margin:0 0 12px!important;
  padding:0 12px!important;
  border:1px solid #d7e7fb!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .notification-phone-toggle.push-enabled,
body.eplan-redesign.trainer-ui .notification-phone-toggle.push-enabled{
  border-color:#d2eadb!important;
  background:#eef8f1!important;
  color:#2b8053!important;
}
body.eplan-redesign.client-ui .notification-list,
body.eplan-redesign.trainer-ui .notification-list{
  min-height:0!important;
  overflow:auto!important;
  display:grid!important;
  gap:8px!important;
  padding-right:1px!important;
}
body.eplan-redesign.client-ui .notification-swipe,
body.eplan-redesign.trainer-ui .notification-swipe{
  position:relative!important;
  overflow:hidden!important;
  border-radius:15px!important;
}
body.eplan-redesign.client-ui .notification-item,
body.eplan-redesign.trainer-ui .notification-item{
  position:relative!important;
  z-index:2!important;
  min-height:82px!important;
  padding:12px 13px!important;
  border:1px solid #e1e8f2!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  transition:transform .18s ease!important;
}
body.eplan-redesign.client-ui .notification-item.unread,
body.eplan-redesign.trainer-ui .notification-item.unread{
  border-color:#cfe0fb!important;
  background:#f6f9ff!important;
}
body.eplan-redesign.client-ui .notification-item-top,
body.eplan-redesign.trainer-ui .notification-item-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding-left:12px!important;
}
body.eplan-redesign.client-ui .notification-item-top strong,
body.eplan-redesign.trainer-ui .notification-item-top strong{
  overflow:hidden!important;
  color:#183153!important;
  font-size:11px!important;
  font-weight:850!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .notification-item-top time,
body.eplan-redesign.trainer-ui .notification-item-top time{
  flex:0 0 auto!important;
  color:#93a0b2!important;
  font-size:9px!important;
  font-weight:700!important;
}
body.eplan-redesign.client-ui .notification-item p,
body.eplan-redesign.trainer-ui .notification-item p{
  margin:7px 0 0 12px!important;
  color:#0a1738!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .notification-dot,
body.eplan-redesign.trainer-ui .notification-dot{
  position:absolute!important;
  left:12px!important;
  top:15px!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#1677ff!important;
  box-shadow:0 0 0 3px #e6f0ff!important;
}
body.eplan-redesign.client-ui .notification-delete-bg.notification-delete,
body.eplan-redesign.trainer-ui .notification-delete-bg.notification-delete{
  position:absolute!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:72px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid #ffd2d6!important;
  border-radius:15px!important;
  background:#fff0f1!important;
  color:#c64a55!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .notification-delete-bg.notification-delete svg,
body.eplan-redesign.trainer-ui .notification-delete-bg.notification-delete svg{
  width:21px!important;
  height:21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.eplan-redesign.client-ui .notification-swipe.reveal .notification-item,
body.eplan-redesign.trainer-ui .notification-swipe.reveal .notification-item{
  transform:translateX(-84px)!important;
}
body.eplan-redesign.client-ui .notification-empty,
body.eplan-redesign.trainer-ui .notification-empty{
  min-height:180px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:22px!important;
  border:1px dashed #dbe4ef!important;
  border-radius:16px!important;
  background:#f9fbfd!important;
  text-align:center!important;
}
body.eplan-redesign.client-ui .notification-empty .ui-icon,
body.eplan-redesign.trainer-ui .notification-empty .ui-icon{
  width:24px!important;
  height:24px!important;
  color:#7e8da2!important;
}
body.eplan-redesign.client-ui .notification-empty strong,
body.eplan-redesign.trainer-ui .notification-empty strong{
  color:#183153!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .notification-empty span,
body.eplan-redesign.trainer-ui .notification-empty span{
  color:#8a97aa!important;
  font-size:10.5px!important;
}
body.eplan-redesign.client-ui .notification-detail-card,
body.eplan-redesign.trainer-ui .notification-detail-card{
  max-height:none!important;
}
body.eplan-redesign.client-ui .notification-detail-message,
body.eplan-redesign.trainer-ui .notification-detail-message{
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:15px!important;
  background:#f8faff!important;
}
body.eplan-redesign.client-ui .notification-detail-message p,
body.eplan-redesign.trainer-ui .notification-detail-message p{
  margin:0!important;
  color:#0a1738!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:750!important;
  white-space:pre-wrap!important;
}
body.eplan-redesign.client-ui .notification-detail-message time,
body.eplan-redesign.trainer-ui .notification-detail-message time{
  display:block!important;
  margin-top:10px!important;
  color:#8d9aad!important;
  font-size:9.5px!important;
}
body.eplan-redesign.client-ui .notification-detail-back,
body.eplan-redesign.trainer-ui .notification-detail-back{
  width:100%!important;
  min-height:40px!important;
  margin-top:10px!important;
  border:1px solid #dce5f0!important;
  border-radius:11px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .notification-modal,
  body.eplan-redesign.trainer-ui .notification-modal{padding:12px!important}
  body.eplan-redesign.client-ui .notification-modal-card,
  body.eplan-redesign.trainer-ui .notification-modal-card{padding:15px!important}
  body.eplan-redesign.client-ui .notification-clear-all,
  body.eplan-redesign.trainer-ui .notification-clear-all{padding:0 8px!important;font-size:10px!important}
}


/* Notification cards: prevent Safari row compression v26 */
body.eplan-redesign.client-ui .notification-list,
body.eplan-redesign.trainer-ui .notification-list{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:8px!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
}
body.eplan-redesign.client-ui .notification-swipe,
body.eplan-redesign.trainer-ui .notification-swipe{
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
}
body.eplan-redesign.client-ui .notification-item,
body.eplan-redesign.trainer-ui .notification-item{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:82px!important;
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body.eplan-redesign.client-ui .notification-item-top,
body.eplan-redesign.trainer-ui .notification-item-top{
  min-height:18px!important;
}
body.eplan-redesign.client-ui .notification-item p,
body.eplan-redesign.trainer-ui .notification-item p{
  display:block!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  white-space:normal!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
}


/* Trainer workout calendar v27 */
body.eplan-redesign.trainer-ui .trainer-workout-calendar-card{
  margin:0 0 12px!important;padding:18px!important;border:1px solid #dfe7f2!important;border-radius:20px!important;
  background:#fff!important;box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-title{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-title small{
  display:block!important;margin-bottom:3px!important;color:#8a98aa!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-title h2{
  margin:0!important;color:#0a1738!important;font-size:20px!important;line-height:1.15!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-title p{
  margin:5px 0 0!important;color:#8190a4!important;font-size:11px!important;line-height:1.35!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-title>span{
  display:grid!important;place-items:center!important;min-width:34px!important;height:34px!important;padding:0 9px!important;border-radius:999px!important;
  background:#edf4ff!important;color:#176fe5!important;font-size:11px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-nav{
  display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center!important;gap:8px!important;margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-nav button{
  width:40px!important;height:40px!important;padding:0!important;border:1px solid #dce5f1!important;border-radius:12px!important;
  background:#f5f8fc!important;color:#183153!important;box-shadow:none!important;font-size:24px!important;font-weight:600!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-nav strong{
  text-align:center!important;color:#0a1738!important;font-size:13px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-weekdays,
body.eplan-redesign.trainer-ui .trainer-workout-calendar-grid{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-weekdays{margin-bottom:6px!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-weekdays span{
  text-align:center!important;color:#8b98aa!important;font-size:9px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell{
  position:relative!important;aspect-ratio:1/1!important;min-width:0!important;display:grid!important;place-items:center!important;padding:0!important;
  border:1px solid transparent!important;border-radius:11px!important;background:#f7f9fc!important;color:#a2adbd!important;box-shadow:none!important;
  font-size:11px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell.empty{background:transparent!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell.has-workout{
  border-color:#d8e6f9!important;background:#eef5ff!important;color:#176fe5!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell.has-workout i{
  position:absolute!important;left:50%!important;bottom:5px!important;width:4px!important;height:4px!important;border-radius:50%!important;
  background:#3d7ff2!important;transform:translateX(-50%)!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell.selected{
  border-color:#3d7ff2!important;background:#3d7ff2!important;color:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-cell.selected i{background:#fff!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-details{margin-top:14px!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-empty{
  padding:14px!important;border:1px dashed #dce5f1!important;border-radius:13px!important;background:#f9fbfd!important;
  color:#7f8da1!important;text-align:center!important;font-size:10.5px!important;font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-day-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-day-head small{
  display:block!important;margin-bottom:2px!important;color:#8a98aa!important;font-size:8.5px!important;font-weight:900!important;letter-spacing:.05em!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-day-head strong{
  color:#0a1738!important;font-size:14px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-day-head>span{
  color:#7d8ba0!important;font-size:9.5px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-sessions{display:grid!important;gap:9px!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session{
  padding:13px!important;border:1px solid #e0e8f2!important;border-radius:15px!important;background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-head>div:first-child strong,
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-head>div:first-child span{display:block!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-head>div:first-child strong{
  color:#0a1738!important;font-size:13px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-head>div:first-child span{
  margin-top:3px!important;color:#8a98aa!important;font-size:9.5px!important;font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-session-meta{
  display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;justify-content:flex-end!important;
}
body.eplan-redesign.trainer-ui .trainer-calendar-duration{
  padding:5px 7px!important;border-radius:999px!important;background:#f0f4f8!important;color:#687790!important;font-size:9px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-status{
  padding:5px 7px!important;border-radius:999px!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-status.reviewed{background:#eef8f1!important;color:#278156!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-status.pending{background:#fff0e2!important;color:#c56f25!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-exercises .trainer-review-exercise{margin-bottom:7px!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-comment{
  margin-top:9px!important;padding:10px!important;border-radius:11px!important;background:#eef8f1!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-comment small{color:#5b8d70!important;font-size:8.5px!important;font-weight:850!important}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-comment p{
  margin:4px 0 0!important;color:#244d35!important;font-size:10.5px!important;line-height:1.4!important;
}
body.eplan-redesign.trainer-ui .trainer-workout-calendar-review-link{
  width:100%!important;min-height:38px!important;margin-top:9px!important;border:1px solid #f1d4b8!important;border-radius:11px!important;
  background:#fff6ed!important;color:#bd6d2b!important;box-shadow:none!important;font-size:10.5px!important;font-weight:850!important;
}


/* Trainer unified Progress tab v28 */
body.eplan-redesign.trainer-ui .trainer-progress-page{display:grid!important;gap:12px!important}
body.eplan-redesign.trainer-ui .trainer-progress-hero{
  padding:18px!important;border:1px solid #dfe7f2!important;border-radius:20px!important;background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-hero small{
  display:block!important;margin-bottom:3px!important;color:#8a98aa!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-hero h2{margin:0!important;color:#0a1738!important;font-size:22px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-progress-hero p{margin:5px 0 0!important;color:#7d8ba0!important;font-size:11px!important;line-height:1.4!important}
body.eplan-redesign.trainer-ui .trainer-progress-periods{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-top:14px!important;padding:4px!important;
  border-radius:13px!important;background:#edf2f8!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-periods button{
  min-height:34px!important;padding:0 5px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#738198!important;
  box-shadow:none!important;font-size:10px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-periods button.active{
  background:#fff!important;color:#176fe5!important;box-shadow:0 3px 10px rgba(32,67,107,.07)!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-summary,
body.eplan-redesign.trainer-ui .trainer-progress-activity-stats{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-summary>div,
body.eplan-redesign.trainer-ui .trainer-progress-activity-stats>div{
  min-width:0!important;padding:12px!important;border:1px solid #e1e8f2!important;border-radius:15px!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-summary span,
body.eplan-redesign.trainer-ui .trainer-progress-activity-stats span{
  display:block!important;color:#7d8ba0!important;font-size:9.5px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-summary strong,
body.eplan-redesign.trainer-ui .trainer-progress-activity-stats strong{
  display:block!important;margin-top:5px!important;color:#0a1738!important;font-size:17px!important;font-weight:900!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-summary small,
body.eplan-redesign.trainer-ui .trainer-progress-activity-stats small{
  display:block!important;overflow:hidden!important;margin-top:3px!important;color:#98a3b3!important;font-size:8.5px!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-section{
  padding:18px!important;border:1px solid #dfe7f2!important;border-radius:20px!important;background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-section-head{margin-bottom:12px!important}
body.eplan-redesign.trainer-ui .trainer-progress-section-head h3{margin:0!important;color:#0a1738!important;font-size:18px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-progress-section-head p{margin:4px 0 0!important;color:#8290a4!important;font-size:10.5px!important}
body.eplan-redesign.trainer-ui .trainer-progress-empty{
  padding:14px!important;border:1px dashed #dce5f1!important;border-radius:13px!important;background:#f9fbfd!important;color:#7f8da1!important;
  text-align:center!important;font-size:10.5px!important;font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card{
  min-width:0!important;padding:12px!important;border:1px solid #e0e8f2!important;border-radius:14px!important;background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card>span{
  display:inline-flex!important;padding:4px 7px!important;border-radius:999px!important;background:#eef8f1!important;color:#278156!important;font-size:8px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card strong{
  display:block!important;overflow:hidden!important;margin-top:8px!important;color:#183153!important;font-size:11px!important;font-weight:850!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card b{
  display:block!important;margin-top:5px!important;color:#0a1738!important;font-size:15px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card small{display:block!important;margin-top:3px!important;color:#8b98aa!important;font-size:8.5px!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list{display:grid!important;gap:7px!important;margin-top:10px!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list>div,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 11px!important;border-radius:12px!important;background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list span,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list span{min-width:0!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list strong,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list strong{
  display:block!important;overflow:hidden!important;color:#183153!important;font-size:10.5px!important;font-weight:850!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list small,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list small{
  display:block!important;margin-top:3px!important;color:#8b98aa!important;font-size:8.5px!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list b,
body.eplan-redesign.trainer-ui .trainer-progress-activity-list b{
  flex:0 0 auto!important;color:#53647d!important;font-size:10px!important;font-weight:850!important;text-align:right!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list b em{margin-left:4px!important;font-style:normal!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list b.up em{color:#278156!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list b.down em{color:#c64a55!important}
body.eplan-redesign.trainer-ui .trainer-progress-compare-list b.same em{color:#8290a4!important}
body.eplan-redesign.trainer-ui #profile .trainer-private-note{margin-top:12px!important}
body.eplan-redesign.trainer-ui #profile .trainer-checkin-history{margin-top:12px!important}
body.eplan-redesign.trainer-ui .trainer-client-tabs button{min-width:0!important}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-progress-summary,
  body.eplan-redesign.trainer-ui .trainer-progress-activity-stats{gap:6px!important}
  body.eplan-redesign.trainer-ui .trainer-progress-summary>div,
  body.eplan-redesign.trainer-ui .trainer-progress-activity-stats>div{padding:10px 8px!important}
  body.eplan-redesign.trainer-ui .trainer-progress-summary strong,
  body.eplan-redesign.trainer-ui .trainer-progress-activity-stats strong{font-size:14px!important}
}


/* Trainer Progress depth v29 */
/* Previous workout comparison */
body.eplan-redesign.trainer-ui .trainer-review-exercise-head>div{min-width:0!important}
body.eplan-redesign.trainer-ui .trainer-review-exercise-head>div>small{
  display:block!important;margin-top:3px!important;color:#8a97aa!important;font-size:8.5px!important;font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-block{
  display:block!important;padding:0!important;border:0!important;background:transparent!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-current{
  display:grid!important;grid-template-columns:minmax(62px,.8fr) minmax(100px,1.2fr) auto!important;align-items:center!important;gap:8px!important;
  min-height:42px!important;padding:8px 10px!important;border-radius:11px!important;background:#f6f8fb!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-previous{
  display:flex!important;align-items:center!important;gap:6px!important;padding:5px 10px 1px!important;color:#7f8da1!important;font-size:8.8px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-previous span{font-weight:750!important}
body.eplan-redesign.trainer-ui .trainer-review-set-previous strong{color:#53647d!important;font-size:9.5px!important;font-weight:850!important}
body.eplan-redesign.trainer-ui .trainer-review-set-previous small{margin-left:auto!important;color:#8b98aa!important;font-size:8.5px!important}
body.eplan-redesign.trainer-ui .trainer-review-set-meta{
  display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;min-width:0!important;line-height:1.15!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-meta .trainer-review-rir{
  color:#718099!important;font-size:9.5px!important;font-weight:850!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-meta .trainer-review-meta-separator{
  color:#a8b2c1!important;font-size:9px!important;font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-meta .trainer-review-rest{
  color:#5f708a!important;font-size:9px!important;font-weight:800!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-meta.previous{
  gap:5px!important;min-width:0!important;margin-left:2px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-meta.previous .trainer-review-rir,
body.eplan-redesign.trainer-ui .trainer-review-set-meta.previous .trainer-review-rest,
body.eplan-redesign.trainer-ui .trainer-review-set-meta.previous .trainer-review-meta-separator{
  font-size:8.8px!important;
}

/* Day volume inside selected calendar date */
body.eplan-redesign.trainer-ui .trainer-calendar-day-volume{
  display:grid!important;grid-template-columns:1.45fr 1fr!important;gap:8px!important;margin:9px 0 12px!important;
}
body.eplan-redesign.trainer-ui .trainer-calendar-day-volume>div{
  padding:10px 12px!important;border:1px solid #e0e8f2!important;border-radius:13px!important;background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-calendar-day-volume small{
  display:block!important;color:#8290a4!important;font-size:8.5px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-calendar-day-volume strong{
  display:block!important;margin-top:4px!important;color:#0a1738!important;font-size:14px!important;font-weight:900!important;
}

/* Compact period volume panel */
body.eplan-redesign.trainer-ui .trainer-volume-panel{
  margin-top:14px!important;padding:14px!important;border:1px solid #dfe7f1!important;border-radius:17px!important;background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-head small{
  display:block!important;color:#8a97aa!important;font-size:8.5px!important;font-weight:900!important;letter-spacing:.05em!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-head h3{
  margin:3px 0 0!important;color:#0a1738!important;font-size:15px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-tabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:11px 0!important;padding:3px!important;border-radius:12px!important;background:#eef2f7!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-tabs button{
  min-height:31px!important;padding:0 4px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#748299!important;box-shadow:none!important;font-size:9px!important;font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-tabs button.active{
  background:#fff!important;color:#176fe5!important;box-shadow:0 2px 8px rgba(32,67,107,.07)!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-kpis{
  display:grid!important;grid-template-columns:1.45fr 1fr!important;gap:7px!important;margin-bottom:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-kpis>div{
  min-width:0!important;padding:11px!important;border:1px solid #e1e8f2!important;border-radius:13px!important;background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-kpis span{
  display:block!important;color:#7e8ca0!important;font-size:8.5px!important;font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-kpis strong{
  display:block!important;margin-top:4px!important;color:#0a1738!important;font-size:15px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-muscles-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 1px 8px!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-muscles-head span{color:#183153!important;font-size:11px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-volume-muscles-head small{color:#8b98aa!important;font-size:8px!important;font-weight:800!important}
body.eplan-redesign.trainer-ui .trainer-volume-muscles{display:grid!important;gap:7px!important}
body.eplan-redesign.trainer-ui .trainer-volume-muscle-row>div{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-muscle-row span{color:#53647d!important;font-size:9.5px!important;font-weight:800!important}
body.eplan-redesign.trainer-ui .trainer-volume-muscle-row strong{color:#183153!important;font-size:9.5px!important;font-weight:900!important}
body.eplan-redesign.trainer-ui .trainer-volume-muscle-row>i{
  display:block!important;height:5px!important;margin-top:5px!important;overflow:hidden!important;border-radius:999px!important;background:#edf2f7!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-muscle-row>i>b{
  display:block!important;height:100%!important;border-radius:999px!important;background:#3c7ef3!important;
}
body.eplan-redesign.trainer-ui .trainer-volume-more,
body.eplan-redesign.trainer-ui .trainer-activity-more{
  width:100%!important;min-height:34px!important;margin-top:10px!important;padding:0 10px!important;border:1px solid #e0e7f0!important;border-radius:11px!important;background:#f4f7fa!important;color:#53647d!important;box-shadow:none!important;font-size:9.5px!important;font-weight:850!important;
}

/* Activity: only three rows by default, expanded list scrolls instead of growing page */
body.eplan-redesign.trainer-ui .trainer-progress-activity-list.expanded{
  max-height:300px!important;overflow:auto!important;overscroll-behavior:contain!important;padding-right:2px!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div{align-items:flex-start!important}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list small{
  white-space:normal!important;line-height:1.35!important;
}

/* PR uses the same warm orange family as the client environment */
body.eplan-redesign.trainer-ui .trainer-progress-pr-card>span{
  background:#fff4df!important;color:#b87218!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card b{color:#c7821d!important}

/* Compact empty state inside volume panel */
body.eplan-redesign.trainer-ui .trainer-progress-empty.compact{padding:10px!important;font-size:9px!important}


/* Trainer Progress comparison v30 — isolate previous result from legacy set grid */
body.eplan-redesign.trainer-ui .trainer-review-sets>.trainer-review-set-block{
  display:block!important;
  grid-template-columns:none!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  overflow:visible!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-current{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 46px!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
  background:#f6f8fb!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-current>small{
  color:#8b97a9!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-current>b{
  color:#183153!important;
  font-size:11px!important;
  font-weight:850!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-current>em{
  color:#718099!important;
  font-size:9px!important;
  font-style:normal!important;
  font-weight:800!important;
  text-align:right!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-previous{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-height:24px!important;
  padding:4px 10px 0!important;
  background:transparent!important;
  color:#8491a4!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-previous>span{
  flex:0 0 auto!important;
  color:#8b98aa!important;
  font-size:8.5px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-previous>strong{
  min-width:0!important;
  color:#617089!important;
  font-size:9px!important;
  font-weight:850!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* PR: only the PR badge is orange; result values stay Premium Navy. */
body.eplan-redesign.trainer-ui .trainer-progress-pr-card>span{
  background:#fff4df!important;
  color:#b87218!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-pr-card>b{
  color:#0a1738!important;
}


/* Previous workout deltas v31 */
body.eplan-redesign.trainer-ui .trainer-review-set-deltas{
  display:inline-flex!important;align-items:center!important;gap:5px!important;margin-left:auto!important;flex:0 0 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-deltas>i{
  display:inline-flex!important;align-items:center!important;min-height:20px!important;padding:2px 6px!important;border-radius:999px!important;
  font-size:8.5px!important;font-style:normal!important;font-weight:900!important;line-height:1!important;white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-deltas>.delta-up{background:#edf8f1!important;color:#278156!important}
body.eplan-redesign.trainer-ui .trainer-review-set-deltas>.delta-down{background:#fff0f1!important;color:#c44c57!important}
body.eplan-redesign.trainer-ui .trainer-review-set-deltas>.delta-same{background:#f0f3f7!important;color:#7f8c9f!important}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-review-set-previous{flex-wrap:wrap!important}
  body.eplan-redesign.trainer-ui .trainer-review-set-deltas{margin-left:0!important}
}


/* Trainer activity readability v32 */
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div{
  align-items:center!important;
  min-height:62px!important;
  padding:11px 12px!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div>span{
  display:block!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div>span>strong{
  font-size:10.8px!important;
  line-height:1.2!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div>span>small{
  display:block!important;
  margin-top:5px!important;
  color:#687790!important;
  font-size:9.5px!important;
  font-weight:700!important;
  line-height:1.45!important;
  white-space:normal!important;
}
body.eplan-redesign.trainer-ui .trainer-progress-activity-list>div>b{
  align-self:center!important;
  margin:0!important;
  color:#53647d!important;
  font-size:10.2px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-align:right!important;
  white-space:nowrap!important;
}


/* Trainer exercise library unified v33 */
body.eplan-redesign.trainer-ui .trainer-library-page{
  padding-bottom:22px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-client-navline{
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group,
body.eplan-redesign.trainer-ui .trainer-library-admin{
  border:1px solid #e1e8f2!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(35,70,108,.05)!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle{
  min-height:64px!important;
  padding:14px 16px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle:hover,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle:hover{
  transform:none!important;
  filter:none!important;
  background:#f8faff!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle>strong{
  color:#0a1738!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
body.eplan-redesign.trainer-ui .trainer-library-toggle-meta{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-library-toggle-meta>b{
  min-width:30px!important;
  height:28px!important;
  padding:0 9px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#eaf3ff!important;
  color:#1677ff!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-library-toggle-meta>.arrow{
  display:block!important;
  color:#718097!important;
  font-size:19px!important;
  font-style:normal!important;
  line-height:1!important;
  transition:transform .18s ease!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group-toggle.open .trainer-library-toggle-meta>.arrow,
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle.open .trainer-library-toggle-meta>.arrow,
body.eplan-redesign.trainer-ui .trainer-library-add-toggle.open>.arrow{
  transform:rotate(180deg)!important;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise-list{
  border-top:1px solid #edf1f6!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise{
  min-height:72px!important;
  padding:13px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  border:0!important;
  border-bottom:1px solid #edf1f6!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise:last-child{
  border-bottom:0!important;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise-main{
  min-width:0!important;
  flex:1 1 auto!important;
}
body.eplan-redesign.trainer-ui .trainer-library-exercise-main>strong{
  display:block!important;
  color:#0a1738!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.3!important;
}
body.eplan-redesign.trainer-ui .library-muscles-empty{
  margin-top:4px!important;
  color:#8b97a8!important;
  font-size:10px!important;
  line-height:1.3!important;
}
body.eplan-redesign.trainer-ui .library-muscle-lines{
  margin-top:5px!important;
  color:#7a889c!important;
  font-size:9.5px!important;
  line-height:1.4!important;
}
body.eplan-redesign.trainer-ui .trainer-library-video{
  margin-top:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-video .redesign-library-video,
body.eplan-redesign.trainer-ui .trainer-library-video a{
  color:#1677ff!important;
  font-size:10.5px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.eplan-redesign.trainer-ui .library-exercise-actions{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
}
body.eplan-redesign.trainer-ui .library-icon-btn{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-size:17px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .library-edit-btn{
  border:1px solid #dce5f1!important;
  background:#f2f6fb!important;
  color:#183153!important;
}
body.eplan-redesign.trainer-ui .library-delete-btn{
  border:1px solid #f1d1d5!important;
  background:#fff3f4!important;
  color:#c64a55!important;
}
body.eplan-redesign.trainer-ui .trainer-library-group-footer{
  border-top:1px solid #edf1f6!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-toggle{
  width:100%!important;
  min-height:48px!important;
  padding:0 15px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  border:0!important;
  border-radius:0!important;
  background:#fbfcfe!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:900!important;
  text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-toggle>.arrow{
  color:#7c899d!important;
  font-size:17px!important;
  transition:transform .18s ease!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add{
  padding:15px!important;
  border-top:1px solid #edf1f6!important;
  background:#f8fbff!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add.hidden{
  display:none!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-head{
  margin-bottom:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-head>strong,
body.eplan-redesign.trainer-ui .trainer-library-admin-section-head strong{
  display:block!important;
  color:#0a1738!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-head>small,
body.eplan-redesign.trainer-ui .trainer-library-admin-section-head small{
  display:block!important;
  margin-top:3px!important;
  color:#8491a4!important;
  font-size:9.5px!important;
  line-height:1.35!important;
}
body.eplan-redesign.trainer-ui .trainer-library-input-stack,
body.eplan-redesign.trainer-ui .trainer-library-admin-form{
  display:grid!important;
  gap:8px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-input-stack input,
body.eplan-redesign.trainer-ui .trainer-library-admin-form input,
body.eplan-redesign.trainer-ui .trainer-library-admin-body input,
body.eplan-redesign.trainer-ui .library-edit-card input,
body.eplan-redesign.trainer-ui .library-edit-card select{
  width:100%!important;
  min-height:46px!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-input-stack input::placeholder,
body.eplan-redesign.trainer-ui .trainer-library-admin-form input::placeholder{
  color:#a1acbb!important;
}
body.eplan-redesign.trainer-ui .trainer-library-primary-btn{
  min-height:42px!important;
  padding:0 14px!important;
  border:1px solid #cfe0ff!important;
  border-radius:12px!important;
  background:#eaf3ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-library-danger-btn{
  min-height:42px!important;
  padding:0 14px!important;
  border:1px solid #f1d1d5!important;
  border-radius:12px!important;
  background:#fff3f4!important;
  color:#c64a55!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-library-add-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-body{
  padding:15px!important;
  border-top:1px solid #edf1f6!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-section{
  padding:0!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-section+.trainer-library-admin-section{
  margin-top:20px!important;
  padding-top:18px!important;
  border-top:1px solid #e8eef6!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-section-head{
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-form{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-form .trainer-library-primary-btn{
  min-width:130px!important;
}
body.eplan-redesign.trainer-ui .library-muscle-admin-list{
  margin-top:10px!important;
  display:grid!important;
  gap:6px!important;
}
body.eplan-redesign.trainer-ui .library-muscle-admin-list>div{
  min-height:46px!important;
  padding:6px 8px 6px 12px!important;
  border:1px solid #e3e9f1!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .library-muscle-admin-list>div>span{
  color:#183153!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .library-muscle-picker{
  margin-top:12px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .library-muscle-picker>div{
  padding:12px!important;
  border:1px solid #dfe7f2!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .library-muscle-picker>div>strong{
  display:block!important;
  margin-bottom:7px!important;
  color:#53647d!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .library-check-grid{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:0!important;
  max-height:none!important;
  overflow:visible!important;
}
body.eplan-redesign.trainer-ui .library-check-grid label{
  margin:0!important;
  padding:7px 9px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #dfe6ef!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#53647d!important;
  font-size:9.5px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .library-check-grid input{
  width:14px!important;
  height:14px!important;
  min-height:0!important;
  margin:0!important;
  accent-color:#1677ff!important;
}
body.eplan-redesign.trainer-ui .library-check-grid label:has(input:checked){
  border-color:#c8dcff!important;
  background:#eef5ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.trainer-ui .trainer-library-empty-row{
  margin:0!important;
  padding:16px!important;
}
body.eplan-redesign.trainer-ui .library-edit-card{
  max-width:560px!important;
  padding:18px!important;
  border-radius:20px!important;
}
body.eplan-redesign.trainer-ui .library-edit-card .edit-exercise-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:12px!important;
}
body.eplan-redesign.trainer-ui .library-edit-card .edit-exercise-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:20px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .library-edit-card .edit-exercise-close{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #dce5f1!important;
  border-radius:12px!important;
  background:#f2f6fb!important;
  color:#183153!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .library-edit-card>button{
  width:100%!important;
  min-height:44px!important;
  border:1px solid #cfe0ff!important;
  border-radius:12px!important;
  background:#eaf3ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-weight:900!important;
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui .trainer-library-admin-form{
    grid-template-columns:1fr!important;
  }
  body.eplan-redesign.trainer-ui .trainer-library-admin-form .trainer-library-primary-btn{
    width:100%!important;
    min-width:0!important;
  }
  body.eplan-redesign.trainer-ui .trainer-library-add-actions{
    grid-template-columns:1fr!important;
  }
}


/* Trainer access editor v33 */
body.eplan-redesign.trainer-ui .trainer-client-page .access-edit-box{
  margin-top:14px!important;
  padding:16px!important;
  border:1px solid #e0e7f0!important;
  border-radius:16px!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-head{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  margin-bottom:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-head small{
  color:#8a98aa!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-head strong{
  color:#0a1738!important;
  font-size:16px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-field{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-field label{
  display:block!important;
  margin:0 0 6px 2px!important;
  color:#74829a!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-field input,
body.eplan-redesign.trainer-ui .trainer-client-page .access-field select{
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f6f8fb!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-field select{
  -webkit-appearance:auto!important;
  appearance:auto!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-quick-title{
  margin:14px 2px 7px!important;
  color:#74829a!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-quick-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-quick-actions button{
  min-width:0!important;
  height:42px!important;
  padding:0 6px!important;
  border:1px solid #dce5f1!important;
  border-radius:12px!important;
  background:#f1f5fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-quick-actions button:active{
  background:#e8f0fb!important;
  transform:none!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-actions button{
  height:46px!important;
  min-width:0!important;
  padding:0 10px!important;
  border-radius:13px!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-actions .access-primary{
  border:1px solid #3478f6!important;
  background:#3478f6!important;
  color:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-actions .access-secondary{
  border:1px solid #dce5f1!important;
  background:#f3f6fa!important;
  color:#183153!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-actions .access-primary.access-save-success{
  border-color:#d2eadb!important;
  background:#eef8f2!important;
  color:#278156!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-note{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin-top:12px!important;
  padding:10px 11px!important;
  border:1px solid #e6ebf2!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-note>span{
  flex:0 0 auto!important;
  display:grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  border-radius:50%!important;
  background:#e8f1ff!important;
  color:#3478f6!important;
  font-size:9px!important;
  font-weight:900!important;
  font-style:normal!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .access-editor-note p{
  margin:0!important;
  color:#728099!important;
  font-size:9.5px!important;
  line-height:1.45!important;
  font-weight:650!important;
}
@media(max-width:350px){
  body.eplan-redesign.trainer-ui .trainer-client-page .access-quick-actions{
    grid-template-columns:1fr!important;
  }
}


/* Trainer access date alignment v34 */
body.eplan-redesign.trainer-ui .trainer-client-page #accessUntil{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:normal!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page #accessUntil::-webkit-date-and-time-value{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  text-align:center!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page #accessUntil::-webkit-calendar-picker-indicator{
  align-self:center!important;
  margin-top:0!important;
  margin-bottom:0!important;
}


/* Trainer marketplace foundation v1 */
body.eplan-redesign.client-ui .nutrition-coaching-upsell{
  margin-top:14px;
  padding:16px;
  border-radius:18px;
}
body.eplan-redesign.client-ui .nutrition-coaching-upsell>strong{
  display:block;
  margin:4px 0 6px;
  font-size:16px;
}
body.eplan-redesign.client-ui .nutrition-coaching-upsell p{
  margin:0 0 12px;
  color:#718099;
  font-size:12px;
  line-height:1.45;
}
body.eplan-redesign.client-ui .nutrition-coaching-upsell button{
  width:100%;
  background:#eef5ff!important;
  color:#1677ff!important;
  border:1px solid #d8e8fb!important;
}

body.eplan-redesign.client-ui .trainer-market-page .redesign-back-title{
  align-items:flex-start;
}
body.eplan-redesign.client-ui .trainer-market-page .redesign-back-title h1{
  margin:0;
}
body.eplan-redesign.client-ui .trainer-market-page .redesign-back-title p{
  margin:4px 0 0;
  color:#7a8799;
  font-size:11px;
}
body.eplan-redesign.client-ui .trainer-market-list{
  display:grid;
  gap:10px;
}
body.eplan-redesign.client-ui .trainer-market-card{
  width:100%;
  display:grid;
  grid-template-columns:50px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  position:relative;
  padding:14px 38px 14px 14px;
  text-align:left;
  background:#fff!important;
  color:#091735!important;
  border:1px solid #dfe7f2!important;
  border-radius:19px!important;
  box-shadow:0 8px 24px rgba(31,64,104,.05)!important;
}
body.eplan-redesign.client-ui .trainer-market-avatar{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#edf1f6;
  color:#66758b;
  font-weight:900;
  font-size:14px;
  letter-spacing:.02em;
}
body.eplan-redesign.client-ui .trainer-market-avatar.large{
  width:72px;height:72px;
  min-width:72px;
  font-size:20px;
}
body.eplan-redesign.client-ui .trainer-market-card-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.client-ui .trainer-market-card-copy strong{
  font-size:15px;
}
body.eplan-redesign.client-ui .trainer-market-card-copy>small{
  color:#75839a;
  font-size:11px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.eplan-redesign.client-ui .trainer-market-tags,
body.eplan-redesign.client-ui .trainer-profile-tags{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:4px;
}
body.eplan-redesign.client-ui .trainer-market-tags i,
body.eplan-redesign.client-ui .trainer-profile-tags span{
  padding:4px 7px;
  border-radius:999px;
  background:#eef5ff;
  color:#35648f;
  font-size:9px;
  font-style:normal;
  font-weight:800;
}
body.eplan-redesign.client-ui .trainer-market-status{
  font-size:9px;
  font-weight:900;
  color:#718099;
}
body.eplan-redesign.client-ui .trainer-market-status.open{color:#198754}
body.eplan-redesign.client-ui .trainer-market-status.current{color:#1677ff}
body.eplan-redesign.client-ui .trainer-market-arrow{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#92a0b2;
  font-size:22px;
}
body.eplan-redesign.client-ui .trainer-profile-hero-public{
  display:flex;
  align-items:center;
  gap:15px;
  padding:18px;
  border-radius:20px;
}
body.eplan-redesign.client-ui .trainer-profile-hero-public h2{
  margin:0 0 4px;
  font-size:21px;
}
body.eplan-redesign.client-ui .trainer-profile-hero-public p{
  margin:0;
  color:#718099;
  font-size:12px;
}
body.eplan-redesign.client-ui .trainer-profile-section,
body.eplan-redesign.client-ui .trainer-profile-service-note{
  margin-top:12px;
  padding:15px 16px;
  border:1px solid #dfe7f2;
  border-radius:18px;
  background:#fff;
}
body.eplan-redesign.client-ui .trainer-profile-section h3,
body.eplan-redesign.client-ui .trainer-profile-service-note strong{
  display:block;
  margin:0 0 7px;
  font-size:14px;
}
body.eplan-redesign.client-ui .trainer-profile-section p,
body.eplan-redesign.client-ui .trainer-profile-service-note p{
  margin:0;
  color:#718099;
  font-size:12px;
  line-height:1.5;
}
body.eplan-redesign.client-ui .trainer-profile-bio{
  white-space:pre-wrap;
}
body.eplan-redesign.client-ui .trainer-market-socials{
  display:flex;
  gap:9px;
  margin-top:12px;
}
body.eplan-redesign.client-ui .trainer-market-socials a{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:1px solid #dfe7f2;
  border-radius:13px;
  background:#fff;
  color:#1a3659;
}
body.eplan-redesign.client-ui .trainer-market-socials svg{
  width:19px;height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
body.eplan-redesign.client-ui .trainer-market-primary{
  width:100%;
  margin-top:14px;
  min-height:48px;
  border-radius:15px!important;
  background:#1677ff!important;
  color:#fff!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .trainer-market-primary.current,
body.eplan-redesign.client-ui .trainer-market-primary:disabled{
  background:#edf2f8!important;
  color:#6f7f98!important;
  border:1px solid #dbe4ef!important;
}
body.eplan-redesign.client-ui .trainer-request-modal{
  width:min(92vw,420px);
}
body.eplan-redesign.client-ui .trainer-request-modal label{
  display:block;
  margin-top:14px;
}
body.eplan-redesign.client-ui .trainer-request-modal label>span{
  display:block;
  margin-bottom:6px;
  color:#586b86;
  font-size:11px;
  font-weight:800;
}
body.eplan-redesign.client-ui .trainer-request-modal textarea{
  width:100%;
  min-height:110px;
  box-sizing:border-box;
  resize:vertical;
}

/* Trainer-side public profile and request inbox */
body.eplan-redesign.trainer-ui .trainer-public-profile-card{
  display:grid;
  gap:12px;
  padding:16px;
  border-radius:20px;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-card label>span{
  display:block;
  margin-bottom:6px;
  color:#5e708b;
  font-size:11px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-card input,
body.eplan-redesign.trainer-ui .trainer-public-profile-card textarea{
  width:100%;
  box-sizing:border-box;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-card textarea{
  min-height:130px;
  resize:vertical;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-social-grid{
  display:grid;
  gap:10px;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-check{
  display:flex!important;
  align-items:center;
  gap:9px;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-check input{
  width:18px!important;height:18px;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-check span{
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-save{
  width:100%;
  min-height:48px;
  margin-top:4px;
  border-radius:14px;
}
body.eplan-redesign.trainer-ui .trainer-coach-requests-page{
  display:grid;
  gap:10px;
}
body.eplan-redesign.trainer-ui .trainer-coach-request{
  padding:15px;
  border-radius:18px;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-head>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-head small{
  color:#7a8799;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-status{
  padding:5px 8px;
  border-radius:999px;
  background:#eef3f8;
  color:#6f7f98;
  font-size:9px;
  font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-status.pending{background:#fff3df;color:#b36a00}
body.eplan-redesign.trainer-ui .trainer-coach-request-status.accepted{background:#eaf8ef;color:#198754}
body.eplan-redesign.trainer-ui .trainer-coach-request p{
  margin:11px 0 0;
  color:#5f6f86;
  font-size:12px;
  line-height:1.45;
}
body.eplan-redesign.trainer-ui .trainer-coach-request-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
}


/* Self-managed nutrition targets v1 */
body.eplan-redesign.client-ui .redesign-nutrition-actions{
  display:grid;
  gap:8px;
}
body.eplan-redesign.client-ui .redesign-nutrition-actions .nutrition-targets-button{
  background:#eef3f8!important;
  color:#53657e!important;
  border:1px solid #dce5f0!important;
}
body.eplan-redesign.client-ui .nutrition-targets-modal .nutrition-targets-hint{
  margin:12px 0 0;
  font-size:11px;
  line-height:1.45;
}


/* Client home trainer marketplace teaser v1 */
body.eplan-redesign.client-ui .client-home-trainers{
  margin-top:24px;
}
body.eplan-redesign.client-ui .client-home-trainers-head{
  margin-bottom:10px;
}
body.eplan-redesign.client-ui .client-home-trainers-row{
  display:flex;
  gap:9px;
  overflow-x:auto;
  margin:0 -14px;
  padding:0 14px 4px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
body.eplan-redesign.client-ui .client-home-trainers-row::-webkit-scrollbar{display:none}
body.eplan-redesign.client-ui .client-home-trainer-card{
  flex:0 0 min(310px,82vw);
  scroll-snap-align:start;
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  grid-template-areas:
    "avatar copy"
    "avatar status";
  gap:3px 11px;
  align-items:center;
  min-height:92px;
  padding:13px 38px 13px 13px;
  text-align:left;
  background:#fff!important;
  color:#0a1738!important;
  border:1px solid #dfe7f2!important;
  border-radius:17px!important;
  box-shadow:0 8px 22px rgba(35,70,108,.055)!important;
}
body.eplan-redesign.client-ui .client-home-trainer-card.current{
  border-color:#cfe2fb!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
}
body.eplan-redesign.client-ui .client-home-trainer-avatar{
  grid-area:avatar;
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#edf1f6;
  color:#66758b;
  font-size:13px;
  font-weight:900;
  letter-spacing:.02em;
}
body.eplan-redesign.client-ui .client-home-trainer-card.current .client-home-trainer-avatar{
  background:#e9f3ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .client-home-trainer-copy{
  grid-area:copy;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.client-ui .client-home-trainer-copy strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
}
body.eplan-redesign.client-ui .client-home-trainer-copy small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#75839a;
  font-size:10.5px;
}
body.eplan-redesign.client-ui .client-home-trainer-status{
  grid-area:status;
  color:#5e718b;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.client-ui .client-home-trainer-card.open .client-home-trainer-status{color:#198754}
body.eplan-redesign.client-ui .client-home-trainer-card.current .client-home-trainer-status{color:#1677ff}
body.eplan-redesign.client-ui .client-home-trainer-arrow{
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#8f9daf;
  font-size:22px;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-home-trainer-card{
    flex-basis:min(292px,84vw);
  }
}


/* Trainer marketplace premium v2 */
body.eplan-redesign.client-ui .client-home-trainer-card.premium{
  grid-template-columns:54px minmax(0,1fr) auto;
  grid-template-areas:
    "avatar copy arrow"
    "rating meta arrow"
    "status status arrow"
    "capacity capacity arrow";
  align-items:center;
  min-height:132px;
  padding:14px 38px 13px 14px;
  background:
    radial-gradient(circle at 92% 12%,rgba(22,119,255,.08),transparent 32%),
    #fff!important;
}
body.eplan-redesign.client-ui .client-home-trainer-avatar{
  grid-area:avatar;
  width:52px;height:52px;
}
body.eplan-redesign.client-ui .client-home-trainer-avatar.has-photo,
body.eplan-redesign.client-ui .trainer-market-avatar.has-photo{
  overflow:hidden;
  background:#e9eef5;
}
body.eplan-redesign.client-ui .client-home-trainer-avatar img,
body.eplan-redesign.client-ui .trainer-market-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.eplan-redesign.client-ui .client-home-trainer-copy{grid-area:copy}
body.eplan-redesign.client-ui .client-home-trainer-copy strong{font-size:15px}
body.eplan-redesign.client-ui .client-home-trainer-copy small{font-size:10.5px}
body.eplan-redesign.client-ui .client-home-trainer-rating{
  grid-area:rating;
  color:#f3a600;
  font-size:10.5px;
  font-weight:900;
}
body.eplan-redesign.client-ui .client-home-trainer-meta{
  grid-area:meta;
  justify-self:end;
  color:#72809a;
  font-size:10px;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .client-home-trainer-meta b{
  color:#0a1738;
  font-weight:900;
}
body.eplan-redesign.client-ui .client-home-trainer-status{
  grid-area:status;
  margin-top:5px;
}
body.eplan-redesign.client-ui .client-home-trainer-capacity{
  grid-area:capacity;
  display:block;
  width:100%;
  height:4px;
  overflow:hidden;
  border-radius:999px;
  background:#e8eef6;
}
body.eplan-redesign.client-ui .client-home-trainer-capacity i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#1677ff;
}
body.eplan-redesign.client-ui .client-home-trainer-arrow{grid-area:arrow}

body.eplan-redesign.client-ui .trainer-market-card.premium{
  grid-template-columns:56px minmax(0,1fr) auto;
  padding:15px 40px 15px 14px;
  min-height:118px;
  background:
    radial-gradient(circle at 90% 10%,rgba(22,119,255,.07),transparent 30%),
    #fff!important;
}
body.eplan-redesign.client-ui .trainer-market-card.premium .trainer-market-avatar{
  width:54px;height:54px;
}
body.eplan-redesign.client-ui .trainer-market-name-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body.eplan-redesign.client-ui .trainer-market-name-line>b{
  color:#f3a600;
  font-size:11px;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .trainer-market-card-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
  color:#718099;
  font-size:9.5px;
}
body.eplan-redesign.client-ui .trainer-market-card-stats i{
  font-style:normal;
}
body.eplan-redesign.client-ui .trainer-market-card-stats b{
  color:#162746;
  font-weight:900;
}

body.eplan-redesign.client-ui .trainer-profile-public.premium{
  padding-bottom:8px;
}
body.eplan-redesign.client-ui .trainer-profile-cover{
  position:relative;
  display:flex;
  gap:15px;
  align-items:center;
  padding:20px 18px;
  overflow:hidden;
  border:1px solid #dce7f5;
  border-radius:22px;
  background:
    radial-gradient(circle at 100% 0%,rgba(31,135,255,.18),transparent 42%),
    linear-gradient(145deg,#fdfefe 0%,#f4f9ff 100%);
  box-shadow:0 12px 30px rgba(35,70,108,.075);
}
body.eplan-redesign.client-ui .trainer-profile-cover .trainer-market-avatar.large{
  width:82px;height:82px;
  min-width:82px;
  font-size:22px;
  border:4px solid #fff;
  box-shadow:0 8px 20px rgba(35,70,108,.11);
}
body.eplan-redesign.client-ui .trainer-profile-cover-copy{
  min-width:0;
}
body.eplan-redesign.client-ui .trainer-profile-cover-copy h2{
  margin:5px 0 3px;
  font-size:23px;
  line-height:1.05;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .trainer-profile-cover-copy>p{
  margin:0;
  color:#667890;
  font-size:11.5px;
  line-height:1.35;
}
body.eplan-redesign.client-ui .trainer-profile-availability{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  background:#eef3f8;
  color:#66758a;
  font-size:9px;
  font-weight:900;
}
body.eplan-redesign.client-ui .trainer-profile-availability.open{
  background:#e9f8ef;
  color:#16854f;
}
body.eplan-redesign.client-ui .trainer-profile-rating-line{
  display:flex;
  align-items:center;
  gap:4px;
  margin-top:9px;
}
body.eplan-redesign.client-ui .trainer-profile-rating-line strong{
  color:#0a1738;
  font-size:18px;
}
body.eplan-redesign.client-ui .trainer-profile-rating-line>span{
  color:#f3a600;
  font-size:14px;
}
body.eplan-redesign.client-ui .trainer-profile-rating-line small{
  color:#7b8798;
  font-size:10px;
}
body.eplan-redesign.client-ui .trainer-profile-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}
body.eplan-redesign.client-ui .trainer-profile-stats>div{
  min-width:0;
  padding:12px 7px;
  text-align:center;
  border:1px solid #e0e8f2;
  border-radius:15px;
  background:#fff;
}
body.eplan-redesign.client-ui .trainer-profile-stats strong{
  display:block;
  color:#0b1838;
  font-size:18px;
  line-height:1;
}
body.eplan-redesign.client-ui .trainer-profile-stats span{
  display:block;
  margin-top:5px;
  color:#7a8799;
  font-size:8.5px;
  line-height:1.2;
}
body.eplan-redesign.client-ui .trainer-reviews-section{
  margin-top:12px;
}
body.eplan-redesign.client-ui .trainer-reviews-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
body.eplan-redesign.client-ui .trainer-reviews-head h3{
  margin:0;
}
body.eplan-redesign.client-ui .trainer-reviews-head p{
  margin:3px 0 0;
  color:#8190a4;
  font-size:10px;
}
body.eplan-redesign.client-ui .trainer-review-action{
  padding:7px 9px!important;
  border-radius:10px!important;
  background:#eef5ff!important;
  color:#1677ff!important;
  border:1px solid #d9e8fb!important;
  font-size:10px!important;
}
body.eplan-redesign.client-ui .trainer-review-row{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .trainer-review-row>div{
  display:flex;
  justify-content:space-between;
  gap:10px;
}
body.eplan-redesign.client-ui .trainer-review-row strong{
  font-size:11.5px;
}
body.eplan-redesign.client-ui .trainer-review-row span{
  color:#f3a600;
  font-size:10.5px;
  font-weight:900;
}
body.eplan-redesign.client-ui .trainer-review-row p{
  margin:5px 0 0;
  color:#667890;
  font-size:11px;
  line-height:1.45;
}
body.eplan-redesign.client-ui .trainer-review-empty{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  background:#f7f9fc;
  color:#7a8799;
  font-size:10.5px;
  line-height:1.4;
}
body.eplan-redesign.client-ui .trainer-review-modal{
  width:min(92vw,420px);
}
body.eplan-redesign.client-ui .trainer-review-stars{
  display:flex;
  justify-content:center;
  gap:6px;
  margin:18px 0 14px;
}
body.eplan-redesign.client-ui .trainer-review-stars button{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:#d7dee8!important;
  font-size:34px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .trainer-review-stars button.active{
  color:#f3a600!important;
}
body.eplan-redesign.client-ui .trainer-review-modal textarea{
  width:100%;
  min-height:100px;
  box-sizing:border-box;
  resize:vertical;
}

/* Trainer profile editor premium */
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview{
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:12px;
  align-items:center;
  position:relative;
  padding:16px;
  margin-bottom:10px;
  border-radius:20px;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-avatar{
  width:66px;height:66px;
  display:grid;place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:#edf1f6;
  color:#64758d;
  font-size:19px;
  font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-avatar img{
  width:100%;height:100%;object-fit:cover;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview>div:nth-child(2){
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview strong{
  font-size:17px;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview span,
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview span{color:#6e7c91;font-size:11px}
body.eplan-redesign.trainer-ui .trainer-profile-editor-preview small{color:#f0a000;font-size:10px;font-weight:800}
body.eplan-redesign.trainer-ui .trainer-avatar-upload{
  grid-column:1/-1;
  display:block;
}
body.eplan-redesign.trainer-ui .trainer-avatar-upload input{display:none}
body.eplan-redesign.trainer-ui .trainer-avatar-upload>span{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:39px;
  margin:0!important;
  border-radius:12px;
  background:#eef5ff;
  color:#1677ff!important;
  cursor:pointer;
}
body.eplan-redesign.trainer-ui .trainer-avatar-upload .ui-icon{width:16px;height:16px}
body.eplan-redesign.trainer-ui .trainer-profile-editor-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:10px;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-stats>div{
  padding:12px 8px;
  text-align:center;
  border:1px solid #dfe7f2;
  border-radius:14px;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-stats strong{
  display:block;
  font-size:18px;
}
body.eplan-redesign.trainer-ui .trainer-profile-editor-stats span{
  display:block;
  margin-top:3px;
  color:#78869a;
  font-size:9px;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

/* Program templates */
body.eplan-redesign.trainer-ui .trainer-program-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  padding:5px;
  margin-bottom:14px;
  border-radius:14px;
  background:#edf2f8;
}
body.eplan-redesign.trainer-ui .trainer-program-tabs button{
  padding:10px 8px;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#67778e!important;
  box-shadow:none!important;
  font-size:12px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-program-tabs button.active{
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 4px 12px rgba(35,70,108,.07)!important;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar>div{
  display:flex;
  flex-direction:column;
  gap:2px;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar strong{font-size:14px}
body.eplan-redesign.trainer-ui .trainer-template-toolbar span{color:#7b889a;font-size:10px}
body.eplan-redesign.trainer-ui .trainer-template-toolbar>button{
  padding:9px 11px;
  border-radius:11px;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-template-list{
  display:grid;
  gap:9px;
}
body.eplan-redesign.trainer-ui .trainer-template-card{
  padding:14px;
  border:1px solid #dfe7f2;
  border-radius:17px;
  background:#fff;
  box-shadow:0 7px 20px rgba(35,70,108,.045);
}
body.eplan-redesign.trainer-ui .trainer-template-card-main{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:11px;
  align-items:center;
}
body.eplan-redesign.trainer-ui .trainer-template-icon{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:12px;
  background:#eef5ff;
  color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-template-card-main>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.trainer-ui .trainer-template-card-main strong{font-size:14px}
body.eplan-redesign.trainer-ui .trainer-template-card-main small{color:#718099;font-size:10px}
body.eplan-redesign.trainer-ui .trainer-template-card-main p{
  margin:2px 0 0;
  color:#7b8798;
  font-size:10px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .trainer-template-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:7px;
  margin-top:11px;
}
body.eplan-redesign.trainer-ui .trainer-template-actions button{
  min-height:39px;
  border-radius:11px;
  font-size:10.5px;
}
body.eplan-redesign.trainer-ui .trainer-template-actions .dark{
  width:auto;
  min-width:42px;
  padding:0 10px;
}
body.eplan-redesign.trainer-ui .trainer-template-actions .dark:last-child{
  width:42px;
  padding:0;
}
body.eplan-redesign.trainer-ui .trainer-template-modal{
  width:min(92vw,440px);
}
body.eplan-redesign.trainer-ui .trainer-template-modal label{
  display:block;
  margin-top:12px;
}
body.eplan-redesign.trainer-ui .trainer-template-modal label>span{
  display:block;
  margin-bottom:6px;
  color:#61728a;
  font-size:10.5px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-template-modal input,
body.eplan-redesign.trainer-ui .trainer-template-modal select,
body.eplan-redesign.trainer-ui .trainer-template-modal textarea{
  width:100%;
  box-sizing:border-box;
}
body.eplan-redesign.trainer-ui .trainer-template-modal textarea{
  min-height:90px;
  resize:vertical;
}
body.eplan-redesign.trainer-ui .trainer-template-primary{
  width:100%;
  min-height:46px;
  margin-top:14px;
  border-radius:13px;
}

body.eplan-redesign.trainer-ui .trainer-template-editor-modal{
  padding:12px;
  align-items:flex-start;
  overflow:auto;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-card{
  width:min(96vw,760px);
  max-height:none;
  margin:12px auto 110px;
  padding:18px;
  box-sizing:border-box;
  border-radius:22px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-top>div{min-width:0}
body.eplan-redesign.trainer-ui .trainer-template-editor-top small{
  display:block;color:#1677ff;font-size:9px;font-weight:900;letter-spacing:.06em;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-top h2{
  margin:3px 0 0;color:#0a1738;font-size:20px;font-weight:950;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-top p{
  margin:5px 0 0;color:#7b889a;font-size:10.5px;line-height:1.4;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-top>button{
  width:38px;min-width:38px;height:38px;padding:0!important;border-radius:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta label,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid label{display:block}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta label>span,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid label>span{
  display:block;margin-bottom:5px;color:#63738a;font-size:9.5px;font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta input,
body.eplan-redesign.trainer-ui .trainer-template-editor-meta textarea,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid input,
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise input{
  width:100%;box-sizing:border-box;border:1px solid #dce5f1!important;border-radius:11px!important;background:#fff!important;color:#0a1738!important;box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta textarea{
  min-height:66px;resize:vertical;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-days{display:grid;gap:12px}
body.eplan-redesign.trainer-ui .trainer-template-editor-day{
  padding:12px;border:1px solid #dfe7f2;border-radius:17px;background:#f8faff;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head>div:first-child{min-width:0;flex:1}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head small{
  display:block;margin-bottom:4px;color:#1677ff;font-size:9px;font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head input{
  width:100%;box-sizing:border-box;padding:8px 9px!important;border:1px solid #dce5f1!important;border-radius:10px!important;background:#fff!important;color:#0a1738!important;box-shadow:none!important;font-size:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head>div:last-child,
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head>div{
  display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head button,
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head button{
  min-height:31px;padding:0 8px!important;border-radius:9px!important;font-size:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head button:disabled,
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head button:disabled{opacity:.35}
body.eplan-redesign.trainer-ui .trainer-template-editor-items{display:grid;gap:8px}
body.eplan-redesign.trainer-ui .trainer-template-editor-item{
  padding:11px;border:1px solid #e1e8f1;border-radius:13px;background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head strong{
  color:#0a1738;font-size:11px;font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-bottom:8px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise button{
  min-height:39px;padding:0 10px!important;border-radius:10px!important;font-size:9.5px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid label.wide{grid-column:1/-1}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid input{
  min-width:0;padding:8px 7px!important;font-size:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives{
  margin-top:10px;padding-top:10px;border-top:1px solid #edf1f6;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:7px;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head span{
  color:#63738a;font-size:9.5px;font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head small{
  color:#98a3b3;font-size:8.5px;font-weight:700;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-empty{
  padding:9px 10px;border:1px dashed #d5deea;border-radius:10px;background:#fafbfd;color:#8a96a8;font-size:9.5px;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto 36px;gap:7px;align-items:center;margin-top:7px;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-row input{
  min-width:0;width:100%;box-sizing:border-box;padding:8px 9px!important;border:1px solid #dce5f1!important;border-radius:10px!important;background:#fff!important;color:#0a1738!important;box-shadow:none!important;font-size:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-row button{
  min-height:36px;margin:0!important;border-radius:10px!important;font-size:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-pick{
  padding:0 10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-remove{
  width:36px!important;min-width:36px!important;padding:0!important;color:#b95d5d!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-add{
  width:100%;min-height:36px;margin-top:8px!important;border:1px dashed #b9cce6!important;border-radius:10px!important;background:#f4f8ff!important;color:#1677ff!important;box-shadow:none!important;font-size:9.5px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-add-exercise,
body.eplan-redesign.trainer-ui .trainer-template-editor-add-day{
  width:100%;min-height:38px;margin-top:9px;border:1px dashed #b9cce6!important;border-radius:11px!important;background:#f4f8ff!important;color:#1677ff!important;box-shadow:none!important;font-size:10px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-add-day{
  min-height:44px;margin-top:12px;background:#eef5ff!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions{
  position:sticky;bottom:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding:8px;border:1px solid #dfe7f2;border-radius:15px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions button{
  min-height:44px;margin:0!important;border-radius:11px!important;font-size:10.5px!important;font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions .trainer-template-primary{
  background:#1677ff!important;color:#fff!important;border-color:#1677ff!important;
}
body.eplan-redesign.trainer-ui .danger-soft{color:#c85d5d!important}
@media(max-width:620px){
  body.eplan-redesign.trainer-ui .trainer-template-editor-meta{grid-template-columns:1fr}
  body.eplan-redesign.trainer-ui .trainer-template-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.eplan-redesign.trainer-ui .trainer-template-editor-day-head{align-items:flex-start;flex-direction:column}
  body.eplan-redesign.trainer-ui .trainer-template-editor-day-head>div:last-child{width:100%;justify-content:flex-start}
  body.eplan-redesign.trainer-ui .trainer-template-alternative-row{grid-template-columns:minmax(0,1fr) 36px}
  body.eplan-redesign.trainer-ui .trainer-template-alternative-pick{grid-column:1/-1;grid-row:2}
  body.eplan-redesign.trainer-ui .trainer-template-alternative-remove{grid-column:2;grid-row:1}
}

/* Template editor — unified with assigned program editor */
body.eplan-redesign.trainer-ui .trainer-template-editor-card{
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta{
  padding:14px!important;
  border:1px solid #dce5f1!important;
  border-radius:17px!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta label>span,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid label>span,
body.eplan-redesign.trainer-ui .trainer-template-editor-main-exercise>span{
  display:block!important;
  margin:0 0 6px!important;
  color:#72819a!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta input,
body.eplan-redesign.trainer-ui .trainer-template-editor-meta textarea,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid input,
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise>input{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-meta textarea{
  min-height:82px!important;
  padding:11px 13px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day{
  padding:14px!important;
  border:1px solid #dce5f1!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(32,67,107,.045)!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head{
  margin-bottom:12px!important;
  padding-bottom:11px!important;
  border-bottom:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head small{
  color:#1677ff!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head input{
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid #dce5f1!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  font-size:13px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head button,
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head button{
  min-width:38px!important;
  min-height:38px!important;
  padding:0 10px!important;
  border:1px solid #dce5f1!important;
  border-radius:11px!important;
  background:#f3f6fa!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-day-head .danger-soft,
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head .danger-soft{
  border-color:#f0d4d8!important;
  background:#fff5f6!important;
  color:#c54755!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-items{
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-item{
  padding:14px!important;
  border:1px solid #e1e8f2!important;
  border-radius:16px!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head{
  margin-bottom:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-item-head strong{
  font-size:13px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-main-exercise{
  display:block!important;
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-exercise>button{
  min-width:132px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #cfe0fb!important;
  border-radius:13px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid input{
  height:46px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives{
  grid-column:1/-1!important;
  margin-top:12px!important;
  padding:12px!important;
  border:1px solid #e1e8f2!important;
  border-radius:14px!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head{
  margin-bottom:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head>span{
  color:#52637c!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-head>small{
  color:#8996a9!important;
  font-size:9.5px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternatives-empty{
  padding:11px 12px!important;
  border:1px dashed #d5deea!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-row{
  grid-template-columns:minmax(0,1fr) 132px 38px!important;
  gap:7px!important;
  margin-top:0!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-row input{
  height:46px!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  font-size:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-pick{
  min-height:46px!important;
  padding:0 10px!important;
  border:1px solid #cfe0fb!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-remove{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:0!important;
  border:1px solid #e0e7f0!important;
  border-radius:11px!important;
  background:#f4f7fa!important;
  color:#78879b!important;
  font-size:20px!important;
  font-weight:500!important;
}
body.eplan-redesign.trainer-ui .trainer-template-alternative-add{
  width:auto!important;
  min-height:38px!important;
  margin:9px 0 0!important;
  padding:0 12px!important;
  border:1px dashed #b9cff0!important;
  border-radius:11px!important;
  background:#f4f8ff!important;
  color:#176fe5!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-add-exercise{
  width:100%!important;
  min-height:46px!important;
  margin-top:12px!important;
  border:1px solid #cfe0fb!important;
  border-radius:14px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-add-day{
  width:100%!important;
  min-height:46px!important;
  margin-top:12px!important;
  border:1px dashed #b9cff0!important;
  border-radius:14px!important;
  background:#f4f8ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions{
  padding:10px!important;
  border:1px solid #dce5f1!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions button{
  min-height:46px!important;
  border-radius:13px!important;
  font-size:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions .dark{
  border:1px solid #cfe0fb!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-actions .trainer-template-primary{
  border:1px solid #1677ff!important;
  background:#1677ff!important;
  color:#fff!important;
}
@media(max-width:620px){
  body.eplan-redesign.trainer-ui .trainer-template-editor-exercise{
    grid-template-columns:minmax(0,1fr) minmax(150px,auto)!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-editor-exercise>button{
    min-width:150px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-alternative-row{
    grid-template-columns:minmax(0,1fr) 40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-alternative-pick{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-height:40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-alternative-remove{
    grid-column:2!important;
    grid-row:1!important;
    width:40px!important;
    height:46px!important;
  }
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui .trainer-template-editor-card{
    width:calc(100vw - 16px)!important;
    padding:12px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-editor-day,
  body.eplan-redesign.trainer-ui .trainer-template-editor-item{
    padding:11px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-editor-exercise{
    grid-template-columns:minmax(0,1fr) 154px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-template-editor-exercise>button{
    min-width:154px!important;
    padding:0 8px!important;
    font-size:10.5px!important;
  }
}

/* Exercise library ownership */
body.eplan-redesign.trainer-ui .library-exercise-name-line{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
body.eplan-redesign.trainer-ui .library-scope-badge{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:3px 6px;
  border-radius:999px;
  font-size:8px;
  font-weight:900;
  letter-spacing:.02em;
}
body.eplan-redesign.trainer-ui .library-scope-badge.platform{
  background:#eef3f8;
  color:#66768c;
}
body.eplan-redesign.trainer-ui .library-scope-badge.mine{
  background:#eaf4ff;
  color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-library-filters{
  grid-template-columns:repeat(3,minmax(0,1fr));
}


/* Trainer avatar cropper v1 */
body.eplan-redesign.trainer-ui .trainer-public-profile-save{
  background:#1677ff!important;
  color:#fff!important;
  border:1px solid #1677ff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-public-profile-save:disabled{
  opacity:.62;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-modal{
  z-index:12000;
  padding:18px;
  align-items:center;
  justify-content:center;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-card{
  width:min(92vw,430px);
  max-height:min(88vh,720px);
  overflow:auto;
  box-sizing:border-box;
  padding:18px;
  border-radius:22px;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-head h2{
  margin:0;
  color:#0a1738;
  font-size:20px;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-head p{
  margin:5px 0 0;
  color:#738199;
  font-size:10.5px;
  line-height:1.4;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-head>button{
  width:38px;
  min-width:38px;
  height:38px;
  padding:0!important;
  border-radius:12px!important;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-stage{
  display:flex;
  justify-content:center;
  margin:18px 0 12px;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-viewport{
  position:relative;
  width:min(72vw,300px);
  aspect-ratio:1;
  overflow:hidden;
  touch-action:none;
  user-select:none;
  background:#dfe5ed;
  border-radius:18px;
  cursor:grab;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-viewport.is-dragging{
  cursor:grabbing;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-viewport img{
  position:absolute;
  left:0;
  top:0;
  display:block;
  max-width:none!important;
  max-height:none!important;
  transform-origin:0 0;
  will-change:transform,width,height;
  pointer-events:none;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,transparent 49.6%,rgba(255,255,255,.24) 49.8%,rgba(255,255,255,.24) 50.2%,transparent 50.4%),
    linear-gradient(0deg,transparent 49.6%,rgba(255,255,255,.24) 49.8%,rgba(255,255,255,.24) 50.2%,transparent 50.4%);
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-ring{
  position:absolute;
  inset:12px;
  border:2px solid rgba(255,255,255,.95);
  border-radius:50%;
  box-shadow:0 0 0 999px rgba(7,17,37,.52);
  pointer-events:none;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-zoom{
  display:grid;
  grid-template-columns:22px 1fr 22px;
  gap:8px;
  align-items:center;
  max-width:320px;
  margin:0 auto;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-zoom>span{
  color:#66758b;
  font-size:18px;
  text-align:center;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-zoom input{
  width:100%;
  accent-color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-actions{
  display:grid;
  grid-template-columns:1fr 1.45fr;
  gap:8px;
  margin-top:16px;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-actions button{
  min-height:46px;
  border-radius:13px!important;
  font-size:11.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-save{
  background:#1677ff!important;
  color:#fff!important;
  border:1px solid #1677ff!important;
}
body.eplan-redesign.trainer-ui .trainer-avatar-crop-save:disabled{
  opacity:.62;
}


/* Collapsible trainer profile editor v1 */
body.eplan-redesign.trainer-ui .trainer-public-profile-editor.is-collapsed{
  padding-bottom:18px;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed{
  padding:16px;
  border:1px solid #dfe7f2;
  border-radius:20px;
  background:
    radial-gradient(circle at 96% 0%,rgba(22,119,255,.08),transparent 32%),
    #fff;
  box-shadow:0 8px 24px rgba(35,70,108,.05);
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-top{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed .trainer-profile-editor-avatar{
  width:72px;
  height:72px;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-copy{
  min-width:0;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-copy h2{
  margin:5px 0 3px;
  color:#0a1738;
  font-size:20px;
  line-height:1.05;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-copy p{
  margin:0;
  color:#6f7f95;
  font-size:11px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-copy small{
  display:block;
  margin-top:6px;
  color:#f0a000;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-status{
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  background:#eef3f8;
  color:#6d7c91;
  font-size:9px;
  font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-status.open{
  background:#e9f8ef;
  color:#188553;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-stats>div{
  padding:11px 8px;
  text-align:center;
  border:1px solid #e3eaf3;
  border-radius:14px;
  background:#f8fafc;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-stats strong{
  display:block;
  color:#0b1838;
  font-size:14px;
  line-height:1.1;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-stats span{
  display:block;
  margin-top:4px;
  color:#7d899a;
  font-size:8.5px;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-tags span{
  padding:5px 8px;
  border-radius:999px;
  background:#eef5ff;
  color:#35648f;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapsed-bio{
  margin:12px 0 0;
  color:#68798f;
  font-size:11px;
  line-height:1.45;
  white-space:pre-wrap;
}
body.eplan-redesign.trainer-ui .trainer-profile-edit-toggle{
  width:100%;
  min-height:44px;
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border-radius:13px!important;
  background:#eef5ff!important;
  color:#1677ff!important;
  border:1px solid #d9e8fb!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-profile-edit-toggle .ui-icon{
  width:16px;
  height:16px;
}
body.eplan-redesign.trainer-ui .trainer-profile-form-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:2px;
  padding-bottom:10px;
  border-bottom:1px solid #edf1f6;
}
body.eplan-redesign.trainer-ui .trainer-profile-form-head>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
body.eplan-redesign.trainer-ui .trainer-profile-form-head strong{
  color:#0b1838;
  font-size:14px;
}
body.eplan-redesign.trainer-ui .trainer-profile-form-head span{
  color:#7b8799!important;
  font-size:9.5px!important;
}
body.eplan-redesign.trainer-ui .trainer-profile-collapse-btn{
  flex:0 0 auto;
  padding:7px 9px!important;
  border-radius:10px!important;
  background:#eef3f8!important;
  color:#64758c!important;
  border:1px solid #dbe4ee!important;
  box-shadow:none!important;
  font-size:9.5px!important;
}


/* Compact exercise library filters v2 */
body.eplan-redesign.trainer-ui .trainer-library-summary{
  gap:7px!important;
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-summary>div{
  min-height:76px!important;
  padding:9px 8px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-summary strong{
  font-size:18px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-library-summary small{
  margin-top:5px!important;
  font-size:9px!important;
  line-height:1.1!important;
}
body.eplan-redesign.trainer-ui .trainer-library-tools{
  margin-bottom:4px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-search{
  margin-bottom:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-strip{
  display:flex;
  align-items:center;
  gap:7px;
  width:100%;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 1px 4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-strip::-webkit-scrollbar{
  display:none;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-chip{
  position:relative;
  flex:0 0 auto;
  min-width:94px;
  max-width:178px;
  min-height:38px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:5px;
  padding:0 10px;
  margin:0!important;
  overflow:hidden;
  border:1px solid #dce5f1;
  border-radius:999px;
  background:#fff;
  color:#22324c;
  box-shadow:0 2px 8px rgba(35,70,108,.025);
}
body.eplan-redesign.trainer-ui .trainer-library-filter-chip>span{
  flex:0 0 auto;
  color:#8090a5;
  font-size:9px;
  font-weight:800;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-chip>strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#172844;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-chip>i{
  flex:0 0 auto;
  margin-left:1px;
  color:#8a98aa;
  font-size:11px;
  font-style:normal;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-library-filter-chip select{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
}
body.eplan-redesign.trainer-ui .trainer-library-result-line{
  justify-content:flex-start!important;
  margin:4px 2px 9px!important;
  font-size:10.5px!important;
}
body.eplan-redesign.trainer-ui .trainer-library-result-line strong{
  margin-left:3px;
  font-size:11px;
}
body.eplan-redesign.trainer-ui .trainer-library-admin{
  border:1px solid #d8e5f3!important;
  background:#f8fbff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle{
  background:
    linear-gradient(180deg,#fbfdff 0%,#f6faff 100%)!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle strong{
  color:#173357!important;
}
body.eplan-redesign.trainer-ui .trainer-library-admin-toggle small{
  color:#8492a5!important;
}
@media(max-width:390px){
  body.eplan-redesign.trainer-ui .trainer-library-summary>div{
    min-height:70px!important;
    padding:8px 6px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-library-summary strong{
    font-size:17px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-library-filter-chip{
    min-width:90px;
    padding:0 9px;
  }
}


/* Trainer cards hierarchy v3 */
body.eplan-redesign.client-ui .trainer-card-v3{
  width:100%;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:start!important;
  min-height:0!important;
  padding:14px!important;
  text-align:left!important;
  background:
    radial-gradient(circle at 96% 4%,rgba(36,137,255,.22) 0%,rgba(69,153,255,.12) 26%,rgba(111,178,255,.05) 44%,transparent 62%),
    linear-gradient(135deg,#ffffff 0%,#fbfdff 54%,#eef6ff 100%)!important;
  border:1px solid #d8e6f7!important;
  border-radius:18px!important;
  box-shadow:0 9px 24px rgba(35,70,108,.075)!important;
  color:#0b1838!important;
}
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-avatar,
body.eplan-redesign.client-ui .trainer-card-v3 .trainer-market-avatar{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  grid-area:auto!important;
  align-self:start!important;
  margin:0!important;
}
body.eplan-redesign.client-ui .trainer-card-v3-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
body.eplan-redesign.client-ui .trainer-card-v3-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
body.eplan-redesign.client-ui .trainer-card-v3-head>strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#0a1738;
  font-size:15px;
  line-height:1.15;
  font-weight:900;
}
body.eplan-redesign.client-ui .trainer-card-v3-head>b{
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:999px;
  background:#fff7e6;
  color:#e6a126;
  font-size:9px;
  line-height:1;
  font-weight:900;
}
body.eplan-redesign.client-ui .trainer-card-v3-subtitle{
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#7b8799!important;
  font-size:10.5px!important;
  line-height:1.25;
}
body.eplan-redesign.client-ui .trainer-card-v3-meta{
  margin-top:4px;
  color:#5f7089;
  font-size:10px;
  line-height:1.2;
  font-weight:800;
}
body.eplan-redesign.client-ui .trainer-card-v3-tags{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:3px;
}
body.eplan-redesign.client-ui .trainer-card-v3-tags>i{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#eef5ff;
  color:#42658c;
  font-size:9px;
  line-height:1;
  font-weight:850;
  font-style:normal;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding-top:9px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer>i{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 8px;
  border-radius:999px;
  background:#eef3f8;
  color:#66778e;
  font-size:9px;
  line-height:1;
  font-weight:900;
  font-style:normal;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer>i.current{
  background:#eaf3ff;
  color:#1677ff;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer>i.open{
  background:#eaf8ef;
  color:#198754;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer>i.closed{
  background:#f2f4f7;
  color:#8b96a5;
}
body.eplan-redesign.client-ui .trainer-card-v3-footer>em{
  color:#1677ff;
  font-size:10px;
  line-height:1;
  font-weight:900;
  font-style:normal;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .client-home-trainer-card.trainer-card-v3{
  flex:0 0 min(330px,88vw)!important;
}
body.eplan-redesign.client-ui .trainer-market-card.trainer-card-v3{
  position:relative;
}
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-rating,
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-meta,
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-status,
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-capacity,
body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-arrow,
body.eplan-redesign.client-ui .trainer-card-v3 .trainer-market-card-copy,
body.eplan-redesign.client-ui .trainer-card-v3 .trainer-market-status,
body.eplan-redesign.client-ui .trainer-card-v3 .trainer-market-arrow{
  display:none!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .client-home-trainer-card.trainer-card-v3{
    flex-basis:min(310px,89vw)!important;
  }
  body.eplan-redesign.client-ui .trainer-card-v3{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:10px!important;
    padding:13px!important;
  }
  body.eplan-redesign.client-ui .trainer-card-v3 .client-home-trainer-avatar,
  body.eplan-redesign.client-ui .trainer-card-v3 .trainer-market-avatar{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
  }
}


/* iOS library select containment v3 */
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-library-filter-chip{
  position:relative!important;
  isolation:isolate;
  color-scheme:light;
}
body.eplan-redesign.trainer-ui .trainer-library-page .trainer-library-filter-chip>select{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  opacity:0!important;
  background:transparent!important;
  color:transparent!important;
  box-shadow:none!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  z-index:5!important;
}


/* Trainer card gradient restore v4 */
body.eplan-redesign.client-ui .trainer-card-v3.current{
  background:
    radial-gradient(circle at 96% 4%,rgba(30,125,255,.26) 0%,rgba(66,151,255,.15) 28%,rgba(115,180,255,.06) 46%,transparent 64%),
    linear-gradient(135deg,#ffffff 0%,#f9fcff 52%,#eaf4ff 100%)!important;
  border-color:#cfe1f7!important;
}
body.eplan-redesign.client-ui .trainer-market-card.trainer-card-v3.marketplace{
  background:
    radial-gradient(circle at 94% 7%,rgba(36,137,255,.20) 0%,rgba(74,157,255,.10) 28%,rgba(121,183,255,.04) 44%,transparent 62%),
    linear-gradient(135deg,#ffffff 0%,#fbfdff 56%,#f0f7ff 100%)!important;
}


/* Trainer program templates — current redesign */
body.eplan-redesign.trainer-ui .trainer-template-toolbar.modern{
  align-items:flex-end;
  gap:14px;
  margin:18px 2px 12px;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar.modern>div{
  min-width:0;
  flex:1;
  gap:4px;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar.modern strong{
  color:#0a1738;
  font-size:17px;
  line-height:1.15;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar.modern>div>span{
  max-width:235px;
  color:#74829a;
  font-size:11.5px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar .trainer-template-create{
  width:auto!important;
  min-width:104px;
  min-height:40px;
  padding:0 13px!important;
  border:1px solid #1677ff!important;
  border-radius:12px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  font-weight:850!important;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-template-toolbar .trainer-template-create:active{
  transform:translateY(1px);
}
body.eplan-redesign.trainer-ui .trainer-template-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:168px;
  padding:24px 18px 20px;
  border-top:1px solid #e3eaf3;
  text-align:center;
}
body.eplan-redesign.trainer-ui .trainer-template-empty-icon{
  width:46px;
  height:46px;
  margin:0 0 12px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eef5ff;
  color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-template-empty-icon .ui-icon{
  width:21px;
  height:21px;
}
body.eplan-redesign.trainer-ui .trainer-template-empty>strong{
  color:#0a1738;
  font-size:17px;
  line-height:1.2;
}
body.eplan-redesign.trainer-ui .trainer-template-empty>p{
  max-width:270px;
  margin:7px 0 0;
  color:#7a8799;
  font-size:11.5px;
  line-height:1.45;
}
body.eplan-redesign.trainer-ui .trainer-template-list.modern{
  gap:10px;
}
body.eplan-redesign.trainer-ui .trainer-template-list.modern .trainer-template-card{
  padding:14px 15px;
  border:1px solid #dfe7f2;
  border-radius:16px;
  box-shadow:none;
}
body.eplan-redesign.trainer-ui .trainer-template-list.modern .trainer-template-actions button:first-child{
  background:#eef5ff!important;
  color:#1677ff!important;
  border:1px solid #d7e7ff!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui .trainer-template-list.modern .trainer-template-actions .dark{
  background:#f2f5f9!important;
  color:#66768c!important;
  border:1px solid #e1e7ef!important;
}
body.eplan-redesign.trainer-ui .trainer-template-primary{
  background:#1677ff!important;
  color:#fff!important;
  border:1px solid #1677ff!important;
  box-shadow:none!important;
}


/* Trainer clients — separate cards */
body.eplan-redesign.trainer-ui .trainer-client-list{
  display:grid;
  gap:10px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
}
body.eplan-redesign.trainer-ui .trainer-client-row{
  width:100%;
  min-height:82px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  color:#081633;
  text-align:left;
  box-shadow:0 5px 16px rgba(31,64,104,.035);
}
body.eplan-redesign.trainer-ui .trainer-client-row:last-child{
  border-bottom:1px solid #dce5f1;
}
body.eplan-redesign.trainer-ui .trainer-client-row:active{
  background:#f8fbff;
  transform:translateY(1px);
}
body.eplan-redesign.trainer-ui .trainer-client-copy{
  min-width:0;
  padding:1px 0;
}
body.eplan-redesign.trainer-ui .trainer-client-row .more-chevron{
  width:28px;
  min-width:28px;
  height:34px;
  display:grid;
  place-items:center;
  color:#8593a8;
  font-size:27px;
  font-weight:500;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-client-list>.trainer-empty{
  padding:22px 16px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  text-align:center;
}


/* Trainer home + nutrition — separate client cards */
body.eplan-redesign.trainer-ui .trainer-activity-card{
  display:grid;
  gap:10px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
}
body.eplan-redesign.trainer-ui .trainer-activity-row{
  width:100%;
  min-height:78px;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:12px;
  padding:14px 15px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(31,64,104,.035);
}
body.eplan-redesign.trainer-ui .trainer-activity-row:last-child{
  border-bottom:1px solid #dce5f1;
}
body.eplan-redesign.trainer-ui .trainer-activity-row:active{
  background:#f8fbff;
  transform:translateY(1px);
}
body.eplan-redesign.trainer-ui .trainer-activity-card>.trainer-empty{
  padding:22px 16px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  text-align:center;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-list.modern{
  display:grid;
  gap:10px;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-row.modern{
  width:100%;
  min-height:84px;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  padding:14px 15px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 16px rgba(31,64,104,.035);
}
body.eplan-redesign.trainer-ui .trainer-nutrition-row.modern:last-child{
  border-bottom:1px solid #dce5f1;
}
body.eplan-redesign.trainer-ui .trainer-nutrition-row.modern:active{
  background:#f8fbff;
  transform:translateY(1px);
}
body.eplan-redesign.trainer-ui .trainer-nutrition-list.modern>.trainer-empty{
  padding:22px 16px;
  border:1px solid #dce5f1;
  border-radius:16px;
  background:#fff;
  text-align:center;
}


/* Trainer exercise editor + long title marquee */
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-title-line{
  flex-wrap:nowrap!important;
  align-items:center!important;
  overflow:hidden!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-marquee{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 92%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 92%,transparent 100%);
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-track{
  display:inline-flex;
  align-items:center;
  gap:28px;
  width:max-content;
  will-change:transform;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-track>strong{
  flex:0 0 auto;
  color:#0a1738!important;
  font-size:15px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-marquee.is-long .trainer-program-name-track{
  animation:trainerProgramNameMarquee 11s linear infinite;
}
@keyframes trainerProgramNameMarquee{
  0%,16%{transform:translateX(0)}
  84%,100%{transform:translateX(calc(-50% - 14px))}
}
@media(prefers-reduced-motion:reduce){
  body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-marquee.is-long .trainer-program-name-track{
    animation:none!important;
  }
  body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-marquee{
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  body.eplan-redesign.trainer-ui .trainer-client-page .trainer-program-name-marquee::-webkit-scrollbar{
    display:none;
  }
}

body.eplan-redesign.trainer-ui #dayTitleModal{
  background:rgba(12,22,39,.72)!important;
  padding:14px!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal>.trainer-day-title-card{
  width:min(460px,calc(100% - 28px))!important;
  padding:20px!important;
  border:1px solid #e1e8f2!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(16,34,58,.20)!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .edit-exercise-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:16px!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-kicker{
  display:block!important;
  margin-bottom:4px!important;
  color:#1677ff!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .edit-exercise-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-day{
  margin-top:5px!important;
  color:#7d8aa0!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .edit-exercise-close{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-field{
  display:block!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-field>span{
  display:block!important;
  margin-bottom:6px!important;
  color:#5f6f87!important;
  font-size:10.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal #dayTitleInput{
  width:100%!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal #dayTitleInput:focus{
  border-color:#a9caf7!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;
  outline:none!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-hint{
  margin:9px 0 0!important;
  color:#8793a6!important;
  font-size:10px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-save{
  width:100%!important;
  min-height:48px!important;
  margin:14px 0 0!important;
  padding:0 16px!important;
  border:1px solid #1677ff!important;
  border-radius:14px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui #dayTitleModal .trainer-day-title-save:active{
  transform:translateY(1px)!important;
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui #dayTitleModal>.trainer-day-title-card{
    width:calc(100% - 12px)!important;
    padding:18px!important;
    border-radius:20px!important;
  }
  body.eplan-redesign.trainer-ui #dayTitleModal .edit-exercise-head h2{
    font-size:22px!important;
  }
}

body.eplan-redesign.trainer-ui #editExerciseModal{
  background:rgba(12,22,39,.72)!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal>.edit-exercise-card{
  width:min(440px,calc(100% - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:auto!important;
  padding:20px!important;
  border:1px solid #e1e8f2!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(16,34,58,.20)!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .edit-exercise-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:16px!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .edit-exercise-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:25px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .edit-exercise-close{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:20px!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .grid{
  gap:10px!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal input{
  min-height:48px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-edit-exercise-primary{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:12px 16px!important;
  border:1px solid #1677ff!important;
  border-radius:14px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-edit-exercise-primary:active{
  transform:translateY(1px);
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui #editExerciseModal>.edit-exercise-card{
    width:calc(100% - 20px)!important;
    padding:18px!important;
    border-radius:20px!important;
  }
}


/* Trainer superset add modal — current redesign */
body.eplan-redesign.trainer-ui #supersetModal{
  background:rgba(12,22,39,.72)!important;
}
body.eplan-redesign.trainer-ui #supersetModal>.trainer-superset-modal{
  width:min(460px,calc(100% - 28px))!important;
  max-height:calc(100dvh - 28px)!important;
  overflow:auto!important;
  padding:20px!important;
  border:1px solid #e1e8f2!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(16,34,58,.20)!important;
}
body.eplan-redesign.trainer-ui #supersetModal .edit-exercise-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:10px!important;
}
body.eplan-redesign.trainer-ui #supersetModal .edit-exercise-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.1!important;
  letter-spacing:-.02em!important;
}
body.eplan-redesign.trainer-ui #supersetModal .edit-exercise-close{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:20px!important;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-copy{
  margin:0 0 14px!important;
  color:#74829a!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid label{
  display:grid;
  gap:6px;
  min-width:0;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid label.wide{
  grid-column:1/-1;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid label>span{
  color:#65748c!important;
  font-size:11px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui #supersetModal input{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:12px 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-primary{
  width:100%!important;
  min-height:48px!important;
  margin-top:16px!important;
  padding:12px 16px!important;
  border:1px solid #1677ff!important;
  border-radius:14px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-primary:active{
  transform:translateY(1px);
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui #supersetModal>.trainer-superset-modal{
    width:calc(100% - 20px)!important;
    padding:18px!important;
    border-radius:20px!important;
  }
}
@media(max-width:360px){
  body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid{
    grid-template-columns:1fr;
  }
  body.eplan-redesign.trainer-ui #supersetModal .trainer-superset-modal-grid label.wide{
    grid-column:auto;
  }
}


/* Client bottom nav touch hardening */
body.eplan-redesign.client-ui .client-bottom-nav{
  pointer-events:auto!important;
}
body.eplan-redesign.client-ui .client-bottom-nav button{
  pointer-events:auto!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}


/* Password recovery — current auth redesign */
body.eplan-auth-page .auth-status{
  min-height:20px;
  margin:12px 0 8px;
  color:#687892;
  font-size:12px;
  line-height:1.4;
}
body.eplan-auth-page .auth-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
body.eplan-auth-page .auth-actions .auth-submit{
  width:100%;
  margin:0;
}
body.eplan-auth-page .auth-secondary{
  height:52px;
  min-width:96px;
  padding:0 18px;
  border:1px solid #d9e3ef!important;
  border-radius:15px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:850!important;
}
body.eplan-auth-page .auth-secondary:active{
  transform:translateY(1px);
}
@media(max-width:380px){
  body.eplan-auth-page .auth-actions{
    grid-template-columns:1fr;
  }
  body.eplan-auth-page .auth-secondary{
    width:100%;
  }
}


/* Auth pages intentionally stay in the light product theme even when Safari/Gmail uses dark mode. */
body.eplan-auth-page{color-scheme:light}
body.eplan-auth-page .auth-logo-name{color:#0b1f44!important}


/* Client training — technique links on their own row */
body.eplan-redesign.client-ui .redesign-training-main-title-row{
  display:block!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .redesign-training-main-title-row>strong{
  display:block!important;
  min-width:0!important;
  line-height:1.22!important;
}
body.eplan-redesign.client-ui .redesign-training-technique{
  display:block!important;
  margin:3px 0 1px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .redesign-training-technique>.redesign-training-tech-link{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#d66a20!important;
  font-size:9.5px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

body.eplan-redesign.client-ui .workout-exercise-title-line{
  display:flex!important;
  align-items:flex-start!important;
  gap:8px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .workout-exercise-title-line>strong{
  display:block!important;
  min-width:0!important;
  line-height:1.22!important;
}
body.eplan-redesign.client-ui .workout-technique-row{
  display:block!important;
  margin:4px 0 1px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .workout-technique-row>.workout-live-tech-link{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#d66a20!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:850!important;
  white-space:nowrap!important;
}


/* Workout start confirmation + early cancellation */
body.eplan-redesign.client-ui #workoutStartConfirmModal{
  background:rgba(12,22,39,.72)!important;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal>.workout-start-confirm{
  position:relative;
  width:min(390px,calc(100% - 28px))!important;
  padding:24px 20px 20px!important;
  border:1px solid #e1e8f2!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#0a1738!important;
  text-align:center;
  box-shadow:0 24px 70px rgba(16,34,58,.20)!important;
}
body.eplan-redesign.client-ui .workout-confirm-close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:12px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.client-ui .workout-confirm-icon{
  width:52px;
  height:52px;
  margin:4px auto 12px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eef5ff;
  font-size:24px;
}
body.eplan-redesign.client-ui .workout-start-confirm h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:24px!important;
  line-height:1.1!important;
}
body.eplan-redesign.client-ui .workout-start-confirm p{
  margin:10px 0 5px!important;
  color:#17345a!important;
  font-size:14px!important;
}
body.eplan-redesign.client-ui .workout-start-confirm small{
  display:block;
  margin:0 auto;
  max-width:280px;
  color:#74829a!important;
  font-size:11px!important;
  line-height:1.45!important;
}
body.eplan-redesign.client-ui .workout-confirm-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:18px;
}
body.eplan-redesign.client-ui .workout-confirm-actions button{
  min-height:48px!important;
  padding:0 14px!important;
  border-radius:14px!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-confirm-secondary{
  border:1px solid #dbe4ef!important;
  background:#f1f5f9!important;
  color:#66768c!important;
}
body.eplan-redesign.client-ui .workout-confirm-primary{
  border:1px solid #1677ff!important;
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.client-ui .workout-cancel-early{
  width:auto!important;
  min-height:0!important;
  margin:-2px 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#7b8798!important;
  box-shadow:none!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:800!important;
  text-decoration:underline;
  text-underline-offset:3px;
}
body.eplan-redesign.client-ui .workout-cancel-early:active{
  color:#4d5f77!important;
  transform:none!important;
}
@media(max-width:380px){
  body.eplan-redesign.client-ui .workout-confirm-actions{
    grid-template-columns:1fr;
  }
}


/* Per-set rest history */
body.eplan-redesign.client-ui .lyfta-prev-line strong{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.25!important;
}


/* Trainer program exercise library picker */
body.eplan-redesign.trainer-ui .trainer-program-exercise-field{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:stretch!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-exercise-field>input{
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-exercise-field>button{
  min-width:132px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #cfe0fb!important;
  border-radius:13px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-program-exercise-field,
body.eplan-redesign.trainer-ui #supersetModal .trainer-program-exercise-field{
  width:100%!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-program-exercise-field>button,
body.eplan-redesign.trainer-ui #supersetModal .trainer-program-exercise-field>button{
  min-height:48px!important;
}

body.eplan-redesign.trainer-ui #programExercisePickerModal{
  position:fixed!important;
  inset:0!important;
  display:flex!important;
  z-index:12150!important;
  overscroll-behavior:contain!important;
  padding:10px!important;
  background:rgba(12,22,39,.72)!important;
}
body.eplan-redesign.trainer-ui #programExercisePickerModal>.trainer-program-picker-card{
  display:flex!important;
  flex-direction:column!important;
  width:min(620px,calc(100% - 12px))!important;
  max-height:min(880px,calc(100dvh - 20px))!important;
  margin:auto!important;
  padding:18px!important;
  overflow:hidden!important;
  border:1px solid #e1e8f2!important;
  border-radius:24px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:0 24px 70px rgba(16,34,58,.22)!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-head small{
  display:block!important;
  margin-bottom:4px!important;
  color:#1677ff!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.11em!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:25px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-head p{
  margin:6px 0 0!important;
  color:#7b899d!important;
  font-size:11px!important;
  line-height:1.35!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-close{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:13px!important;
  background:#eef3f8!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-search{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr)!important;
  align-items:center!important;
  min-height:48px!important;
  margin:0 0 10px!important;
  padding:0 12px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f7f9fc!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-search>span{
  color:#73839a!important;
  font-size:20px!important;
  line-height:1!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-search>input{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-modes,
body.eplan-redesign.trainer-ui .trainer-program-picker-muscles{
  display:flex!important;
  flex:0 0 auto!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 1px 7px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-modes::-webkit-scrollbar,
body.eplan-redesign.trainer-ui .trainer-program-picker-muscles::-webkit-scrollbar{
  display:none!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-modes button,
body.eplan-redesign.trainer-ui .trainer-program-picker-muscles button{
  flex:0 0 auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #dce5f1!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#52627a!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-modes button.active,
body.eplan-redesign.trainer-ui .trainer-program-picker-muscles button.active{
  border-color:#bdd5fb!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-results{
  flex:1 1 auto!important;
  min-height:140px!important;
  margin-top:2px!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
  border-top:1px solid #edf1f6!important;
  border-bottom:1px solid #edf1f6!important;
  -webkit-overflow-scrolling:touch!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 42px!important;
  align-items:stretch!important;
  gap:6px!important;
  padding:7px 0!important;
  border-bottom:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-row:last-child{
  border-bottom:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-pick{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#0a1738!important;
  box-shadow:none!important;
  text-align:left!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-pick:active{
  background:#f4f7fb!important;
  transform:none!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-copy{
  display:block!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-copy strong{
  display:block!important;
  color:#13284a!important;
  font-size:13px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-copy small{
  display:block!important;
  margin-top:4px!important;
  color:#8693a6!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-select{
  color:#1677ff!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-fav{
  align-self:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e0e7f0!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#9aa5b6!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-fav.active{
  border-color:#f1d99b!important;
  background:#fff8e6!important;
  color:#d79a13!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-empty{
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  min-height:180px!important;
  padding:24px!important;
  text-align:center!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-empty strong{
  color:#263b5c!important;
  font-size:14px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-empty span{
  max-width:280px!important;
  margin-top:5px!important;
  color:#8a97aa!important;
  font-size:11px!important;
  line-height:1.4!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-manual{
  flex:0 0 auto!important;
  width:100%!important;
  min-height:46px!important;
  margin:12px 0 0!important;
  padding:0 12px!important;
  border:1px solid #dce5f1!important;
  border-radius:14px!important;
  background:#f4f7fa!important;
  color:#61718a!important;
  box-shadow:none!important;
  font-size:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-manual strong{
  color:#176fe5!important;
}
@media(max-width:430px){
  body.eplan-redesign.trainer-ui #programExercisePickerModal{
    padding:0!important;
    align-items:flex-end!important;
  }
  body.eplan-redesign.trainer-ui #programExercisePickerModal>.trainer-program-picker-card{
    width:100%!important;
    max-height:92dvh!important;
    margin:auto 0 0!important;
    padding:16px!important;
    border-radius:24px 24px 0 0!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-picker-head h2{
    font-size:23px!important;
  }
}
@media(max-width:380px){
  body.eplan-redesign.trainer-ui .trainer-program-exercise-field{
    grid-template-columns:1fr!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-exercise-field>button{
    width:100%!important;
    min-width:0!important;
  }
}


/* Primary muscle scope in program exercise picker */
body.eplan-redesign.trainer-ui .trainer-program-picker-scope{
  display:flex!important;
  flex:0 0 auto!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 1px 7px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-scope::-webkit-scrollbar{
  display:none!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-scope button{
  flex:0 0 auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #dce5f1!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#52627a!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-scope button.active{
  border-color:#bdd5fb!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}


/* Exercise group row in trainer program picker */
body.eplan-redesign.trainer-ui .trainer-program-picker-groups{
  display:flex!important;
  flex:0 0 auto!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:0 1px 7px!important;
  scrollbar-width:none!important;
  -webkit-overflow-scrolling:touch!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-groups::-webkit-scrollbar{
  display:none!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-groups button{
  flex:0 0 auto!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #dce5f1!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#31445f!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-program-picker-groups button.active{
  border-color:#9ec3ff!important;
  background:#eaf3ff!important;
  color:#176fe5!important;
}


/* Client workout — session-only extra sets */
body.eplan-redesign.client-ui .lyfta-set-wrap.is-extra{
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px dashed #cfdced!important;
}
body.eplan-redesign.client-ui .lyfta-set-row.is-extra .setnum{
  position:relative!important;
  background:#eef5ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.client-ui .lyfta-set-row.is-extra .setnum small{
  position:absolute!important;
  top:-4px!important;
  right:-4px!important;
  display:grid!important;
  place-items:center!important;
  width:14px!important;
  height:14px!important;
  border-radius:999px!important;
  background:#1677ff!important;
  color:#fff!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
}
body.eplan-redesign.client-ui .lyfta-extra-set-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:10px 0 2px!important;
  padding-top:4px!important;
}
body.eplan-redesign.client-ui .lyfta-extra-set-actions button{
  min-height:38px!important;
  margin:0!important;
  padding:0 12px!important;
  border-radius:12px!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .lyfta-add-set{
  border:1px solid #c9dcfb!important;
  background:#edf4ff!important;
  color:#176fe5!important;
}
body.eplan-redesign.client-ui .lyfta-remove-set{
  border:1px solid #dce5ef!important;
  background:#f5f7fa!important;
  color:#718096!important;
}
@media(max-width:380px){
  body.eplan-redesign.client-ui .lyfta-extra-set-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.eplan-redesign.client-ui .lyfta-extra-set-actions button{
    width:100%!important;
  }
}


/* Trainer program — structured alternative exercise editor */
body.eplan-redesign.trainer-ui .trainer-program-alternatives-block{
  grid-column:1/-1!important;
  min-width:0!important;
  padding:12px!important;
  border:1px solid #e1e8f2!important;
  border-radius:14px!important;
  background:#fbfcfe!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternatives-title{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternatives-title>span{
  color:#52637c!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternatives-title>small{
  color:#8996a9!important;
  font-size:9.5px!important;
  font-weight:700!important;
  text-align:right!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternatives-editor{
  display:grid!important;
  gap:8px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 132px 38px!important;
  gap:7px!important;
  align-items:center!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-row .trainer-program-alternative-input{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-pick{
  min-width:0!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #cfe0fb!important;
  border-radius:12px!important;
  background:#edf4ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-program-alternative-pick{
  min-height:48px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-remove{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e0e7f0!important;
  border-radius:11px!important;
  background:#f4f7fa!important;
  color:#78879b!important;
  box-shadow:none!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:500!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-add{
  width:auto!important;
  min-height:38px!important;
  margin:9px 0 0!important;
  padding:0 12px!important;
  border:1px dashed #b9cff0!important;
  border-radius:11px!important;
  background:#f4f8ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui #editExerciseModal .trainer-program-alternatives-block{
  grid-column:1/-1!important;
}
@media(max-width:520px){
  body.eplan-redesign.trainer-ui .trainer-program-alternative-row{
    grid-template-columns:minmax(0,1fr) 40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternative-pick{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-height:40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternative-remove{
    grid-column:2!important;
    grid-row:1!important;
    width:40px!important;
    height:46px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternatives-title{
    display:block!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternatives-title>small{
    display:block!important;
    margin-top:3px!important;
    text-align:left!important;
  }
}


/* Alternative exercise parameters — each alternative owns its workout prescription */
body.eplan-redesign.trainer-ui .trainer-program-alternative-card{
  display:block!important;
  padding:10px!important;
  border:1px solid #dfb08a!important;
  border-radius:13px!important;
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-main{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 132px 38px!important;
  gap:7px!important;
  align-items:center!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px solid #edf1f6!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params label{
  display:block!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params label>span{
  display:block!important;
  margin:0 0 4px!important;
  color:#75839a!important;
  font-size:8.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params :is(input,select){
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 8px!important;
  border:1px solid #dce5f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:13px!important;
}
body.eplan-redesign.trainer-ui .alternative-chip-detailed{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
body.eplan-redesign.trainer-ui .alternative-chip-detailed small{
  color:#7d899c!important;
  font-size:8.5px!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button>strong{
  color:inherit!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button>small{
  color:#7b889c!important;
  font-size:10px!important;
  font-weight:700!important;
}
body.eplan-redesign.client-ui #alternativeExerciseModal .alternative-modal-list>button.alternative-current>small{
  color:#5f86b8!important;
}
@media(max-width:620px){
  body.eplan-redesign.trainer-ui .trainer-program-alternative-main{
    grid-template-columns:minmax(0,1fr) 40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternative-main .trainer-program-alternative-pick{
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    min-height:40px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternative-main .trainer-program-alternative-remove{
    grid-column:2!important;
    grid-row:1!important;
    width:40px!important;
    height:46px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-program-alternative-params{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


body.eplan-redesign.client-ui .redesign-training-alt-chip.detailed{
  display:inline-grid!important;
  grid-template-columns:auto auto!important;
  grid-template-areas:"name tech" "meta meta"!important;
  align-items:center!important;
  gap:2px 7px!important;
  padding:5px 8px!important;
  border-radius:11px!important;
  background:#eef3f8!important;
  overflow:visible!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip.detailed>i{
  grid-area:name!important;
  min-height:0!important;
  padding:0!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip.detailed>small{
  grid-area:meta!important;
  color:#7c899c!important;
  font-size:8.5px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .redesign-training-alt-chip.detailed>.redesign-training-alt-tech{
  grid-area:tech!important;
}


/* v250 — cleaner alternative technique layout + direct superset creation */
body.eplan-redesign.trainer-ui .trainer-client-page .exercise-alternatives>div{
  display:grid!important;
  gap:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip.alternative-chip-detailed{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:4px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:1px solid #dfe7f1!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#43546d!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip-detailed .alternative-chip-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  min-width:0!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip-detailed .alternative-name{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#40516b!important;
  font-size:10px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip-detailed small{
  display:block!important;
  color:#7b899d!important;
  font-size:8.5px!important;
  line-height:1.25!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .alternative-chip-detailed .alternative-tech-link{
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  color:#1677ff!important;
  text-decoration:underline!important;
  font-size:9px!important;
  font-weight:850!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-program-superset-field{
  display:block!important;
  padding:10px!important;
  border:1px solid #dfe7f1!important;
  border-radius:13px!important;
  background:#f8fafc!important;
}
body.eplan-redesign.trainer-ui .trainer-program-superset-field>span{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin-bottom:6px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-superset-field>span>small{
  color:#8996a9!important;
  font-size:9px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-program-superset-field>select{
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #d8e3ef!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#183153!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-program-superset-field>small{
  display:block!important;
  margin-top:6px!important;
  color:#8996a9!important;
  font-size:8.5px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
body.eplan-redesign.trainer-ui .trainer-client-page .superset-block .trainer-superset-head>small{
  color:#7d8aa0!important;
  font-size:9px!important;
  font-weight:800!important;
  text-transform:none!important;
  letter-spacing:0!important;
}


/* Inline superset builder */
body.eplan-redesign.trainer-ui .trainer-inline-superset-builder{
  margin-top:2px!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-toggle{
  width:100%!important;
  min-height:46px!important;
  margin:0!important;
  border:1px dashed #b9cff0!important;
  border-radius:14px!important;
  background:#f4f8ff!important;
  color:#176fe5!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-toggle.active{
  border-style:solid!important;
  border-color:#bfd5f5!important;
  background:#eaf3ff!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-fields{
  margin-top:10px!important;
  padding:12px!important;
  border:1px solid #cfe0fb!important;
  border-radius:16px!important;
  background:#f8fbff!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:10px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid #dfe9f7!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head>div{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head small{
  color:#1677ff!important;
  font-size:8.5px!important;
  font-weight:900!important;
  letter-spacing:.05em!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head strong{
  color:#0a1738!important;
  font-size:13px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head span{
  color:#7c899c!important;
  font-size:9px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-head>button{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #dce5f0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#77869a!important;
  box-shadow:none!important;
  font-size:16px!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid .wide{
  grid-column:1/-1!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid label>span{
  display:block!important;
  margin:0 0 6px!important;
  color:#72819a!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid>label>input{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:13px!important;
}
@media(max-width:620px){
  body.eplan-redesign.trainer-ui .trainer-inline-superset-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* Repetition counting mode */
body.eplan-redesign.trainer-ui .trainer-program-editor-grid select,
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid select,
body.eplan-redesign.trainer-ui .trainer-repeat-mode-field select{
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 36px 0 13px!important;
  border:1px solid #dce5f1!important;
  border-radius:13px!important;
  background:#f7f9fc!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid select{
  background:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-repeat-mode-field{
  display:block!important;
}
body.eplan-redesign.trainer-ui .trainer-repeat-mode-field>span{
  display:block!important;
  margin:0 0 6px!important;
  color:#72819a!important;
  font-size:10.5px!important;
  font-weight:800!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
body.eplan-redesign.trainer-ui .trainer-program-alternative-params select,
body.eplan-redesign.trainer-ui .trainer-template-editor-grid select{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 26px 0 8px!important;
  border:1px solid #dce5f1!important;
  border-radius:10px!important;
  background:#f8fafc!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:9.5px!important;
  font-weight:750!important;
}
body.eplan-redesign.trainer-ui .trainer-template-editor-grid select{
  height:46px!important;
  padding:0 32px 0 10px!important;
  background:#f7f9fc!important;
  font-size:10px!important;
}
body.eplan-redesign.client-ui .lyfta-set-head>span>small{
  display:block!important;
  margin-top:2px!important;
  color:#9aa5b5!important;
  font-size:7.5px!important;
  line-height:1.05!important;
  font-weight:800!important;
  text-transform:none!important;
}
@media(max-width:620px){
  body.eplan-redesign.trainer-ui .trainer-program-alternative-params{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* Trainer bottom navigation scroll stability — iOS */
body.eplan-redesign.trainer-ui .trainer-bottom-nav{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(9px + env(safe-area-inset-bottom, 0px))!important;
  -webkit-transform:translate3d(-50%,0,0)!important;
  transform:translate3d(-50%,0,0)!important;
  z-index:950!important;
  will-change:transform;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}


/* Completed workout recovery + editor */
body.eplan-redesign.client-ui .completed-workout-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  margin:12px 0 14px;
}
body.eplan-redesign.client-ui .completed-workout-actions button{
  min-height:46px;
  padding:10px 12px;
  border-radius:14px;
  font-size:11px;
  font-weight:850;
}
body.eplan-redesign.client-ui .completed-workout-edit-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-btn .ui-icon{
  width:17px;
  height:17px;
}
body.eplan-redesign.client-ui .completed-workout-reopen-btn{
  background:#fff!important;
  color:#4b5d77!important;
  border:1px solid #d7e1ee!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-modal{
  z-index:12050;
  padding:12px;
  align-items:flex-start;
  overflow:auto;
}
body.eplan-redesign.client-ui .completed-workout-edit-card{
  width:min(100%,520px);
  max-height:calc(100dvh - 24px);
  margin:0 auto;
  padding:18px;
  overflow:auto;
  border-radius:22px!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  gap:12px;
  align-items:start;
  margin-bottom:14px;
}
body.eplan-redesign.client-ui .completed-workout-edit-head small{
  display:block;
  margin-bottom:3px;
  color:#1677ff;
  font-size:10px;
  font-weight:850;
}
body.eplan-redesign.client-ui .completed-workout-edit-head h2{
  margin:0;
  color:#0a1738;
  font-size:24px;
  letter-spacing:-.02em;
}
body.eplan-redesign.client-ui .completed-workout-edit-head p{
  margin:6px 0 0;
  color:#75839a;
  font-size:11px;
  line-height:1.45;
}
body.eplan-redesign.client-ui .completed-workout-edit-head>button{
  width:42px;
  height:42px;
  min-width:42px;
  padding:0!important;
  border-radius:13px!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-list{
  display:grid;
  gap:10px;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise{
  padding:13px;
  border:1px solid #e0e8f2;
  border-radius:17px;
  background:#fbfcff;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise-head>div{
  min-width:0;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise-head strong{
  display:block;
  color:#0a1738!important;
  font-size:13px;
  line-height:1.3;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise-head small{
  display:block;
  margin-top:3px;
  color:#7c899c;
  font-size:9.5px;
}
body.eplan-redesign.client-ui .completed-workout-edit-exercise-head>span{
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:999px;
  background:#eef4ff;
  color:#4f6f99;
  font-size:9px;
  font-weight:850;
}
body.eplan-redesign.client-ui .completed-workout-edit-labels,
body.eplan-redesign.client-ui .completed-workout-edit-set{
  display:grid;
  grid-template-columns:24px repeat(3,minmax(0,1fr));
  gap:6px;
  align-items:center;
}
body.eplan-redesign.client-ui .completed-workout-edit-labels{
  margin-bottom:5px;
  color:#8995a7;
  font-size:8.5px;
  font-weight:800;
  text-align:center;
}
body.eplan-redesign.client-ui .completed-workout-edit-sets{
  display:grid;
  gap:6px;
}
body.eplan-redesign.client-ui .completed-workout-edit-set-number{
  display:grid;
  place-items:center;
  color:#66758c;
  font-size:10px;
  font-weight:900;
}
body.eplan-redesign.client-ui .completed-workout-edit-set input{
  width:100%;
  min-width:0;
  height:40px;
  padding:8px 6px!important;
  border-radius:11px!important;
  text-align:center;
  font-size:12px!important;
}
body.eplan-redesign.client-ui .completed-workout-add-set{
  width:100%;
  margin-top:8px;
  min-height:38px;
  padding:8px 10px!important;
  border-radius:11px!important;
  background:#eef4ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:10px!important;
}
body.eplan-redesign.client-ui .completed-workout-save{
  width:100%;
  min-height:48px;
  margin-top:14px;
  border-radius:14px!important;
}
body.eplan-redesign.client-ui .finish-summary-recovery-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
}
body.eplan-redesign.client-ui .finish-summary-recovery-actions button{
  min-height:44px;
  padding:9px 10px;
  border-radius:13px;
  font-size:10.5px;
}
body.eplan-redesign.client-ui .finish-summary-reopen{
  background:#fff!important;
  color:#53647d!important;
  border:1px solid #d9e2ed!important;
  box-shadow:none!important;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .completed-workout-actions,
  body.eplan-redesign.client-ui .finish-summary-recovery-actions{
    grid-template-columns:1fr;
  }
  body.eplan-redesign.client-ui .completed-workout-edit-card{
    padding:14px;
  }
}


/* Completed workout auxiliary sets editor */
body.eplan-redesign.client-ui .completed-workout-edit-aux-section{
  margin:0 0 12px;
  padding:10px;
  border:1px solid #e3eaf4;
  border-radius:13px;
  background:#f7f9fc;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-title>span{
  color:#55667f;
  font-size:10px;
  font-weight:900;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-title>small{
  color:#98a3b3;
  font-size:8.5px;
}
body.eplan-redesign.client-ui .completed-workout-edit-warmup-holder,
body.eplan-redesign.client-ui .completed-workout-edit-drop-holder{
  display:grid;
  gap:6px;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-row{
  display:grid;
  grid-template-columns:68px minmax(0,1fr) minmax(0,1fr) 32px;
  gap:6px;
  align-items:center;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-row>span{
  color:#708099;
  font-size:9px;
  font-weight:850;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-row.drop>span{
  color:#687b95;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-row input{
  width:100%;
  min-width:0;
  height:36px;
  padding:7px 6px!important;
  border-radius:10px!important;
  text-align:center;
  font-size:11px!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-aux-row>button{
  width:32px;
  height:32px;
  min-width:32px;
  padding:0!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#8390a3!important;
  border:1px solid #dce4ee!important;
  box-shadow:none!important;
  font-size:12px!important;
}
body.eplan-redesign.client-ui .completed-workout-add-warmup,
body.eplan-redesign.client-ui .completed-workout-add-drop{
  width:100%;
  min-height:34px;
  padding:7px 9px!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-size:9.5px!important;
  font-weight:850!important;
}
body.eplan-redesign.client-ui .completed-workout-add-warmup{
  margin-top:7px;
  background:#fff!important;
  color:#5d7190!important;
  border:1px solid #dfe7f1!important;
}
body.eplan-redesign.client-ui .completed-workout-edit-set-group{
  padding-bottom:8px;
  border-bottom:1px solid #e7edf5;
}
body.eplan-redesign.client-ui .completed-workout-edit-set-group:last-child{
  border-bottom:0;
}
body.eplan-redesign.client-ui .completed-workout-edit-drop-holder{
  margin:6px 0 0 24px;
}
body.eplan-redesign.client-ui .completed-workout-add-drop{
  width:auto;
  margin:6px 0 0 24px;
  background:#f1f5fb!important;
  color:#61758f!important;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .completed-workout-edit-aux-row{
    grid-template-columns:56px minmax(0,1fr) minmax(0,1fr) 30px;
    gap:4px;
  }
  body.eplan-redesign.client-ui .completed-workout-edit-drop-holder,
  body.eplan-redesign.client-ui .completed-workout-add-drop{
    margin-left:18px;
  }
}


/* Extra training days */
body.eplan-redesign.trainer-ui .trainer-program-editor-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
body.eplan-redesign.trainer-ui .trainer-program-editor-head>div{min-width:0}
body.eplan-redesign.trainer-ui .trainer-extra-day-create{
  flex:0 0 auto;
  min-height:38px;
  padding:8px 11px!important;
  border-radius:11px!important;
  background:#eef5ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-card{
  border-color:#bfd9ff!important;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9ff 100%)!important;
}
body.eplan-redesign.trainer-ui .trainer-program-day-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges b,
body.eplan-redesign.trainer-ui .trainer-extra-day-badges em,
body.eplan-redesign.trainer-ui .trainer-extra-day-badges i{
  padding:4px 7px;
  border-radius:999px;
  font-size:8.5px;
  font-style:normal;
  font-weight:850;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges b{
  background:#e9f3ff;
  color:#1677ff;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges em{
  background:#f1f4f8;
  color:#60718a;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges i.active{
  background:#e8f7ef;
  color:#168553;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-badges i.paused{
  background:#fff3e8;
  color:#b56b1c;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 12px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-actions button{
  min-height:40px;
  padding:8px 10px!important;
  border-radius:11px!important;
  font-size:9.5px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-actions .trainer-extra-promote{
  grid-column:1/-1;
  background:#1677ff!important;
  color:#fff!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border:1px dashed #bfd0e6;
  border-radius:13px;
  background:#fff;
  color:#74839a;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty button{
  flex:0 0 auto;
  min-height:34px;
  padding:7px 10px!important;
  border-radius:10px!important;
  font-size:9px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal{z-index:12050;padding:12px}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card{
  width:min(100%,480px);
  max-height:calc(100dvh - 24px);
  overflow:auto;
  border-radius:22px!important;
  padding:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-head small{
  display:block;
  margin-bottom:3px;
  color:#1677ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label:first-child,
body.eplan-redesign.trainer-ui .trainer-extra-day-form label:nth-child(2),
body.eplan-redesign.trainer-ui .trainer-extra-day-form #extraDayUntilWrap{
  grid-column:1/-1;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label,
body.eplan-redesign.trainer-ui .trainer-day-title-field{
  display:grid;
  gap:5px;
  margin-top:9px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label>span,
body.eplan-redesign.trainer-ui .trainer-day-title-field>span{
  color:#718198;
  font-size:9px;
  font-weight:850;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form input,
body.eplan-redesign.trainer-ui .trainer-extra-day-form select,
body.eplan-redesign.trainer-ui .trainer-day-title-field input{
  min-height:42px;
  border-radius:11px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-note{
  margin:12px 0 0;
  color:#7d8999;
  font-size:9.5px;
  line-height:1.45;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-save{
  width:100%;
  min-height:46px;
  margin-top:14px;
  border-radius:13px!important;
}

body.eplan-redesign.client-ui .redesign-extra-training-section{
  margin-top:16px;
}
body.eplan-redesign.client-ui .redesign-extra-training-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
  padding:0 2px;
}
body.eplan-redesign.client-ui .redesign-extra-training-head>div{
  display:grid;
  gap:2px;
}
body.eplan-redesign.client-ui .redesign-extra-training-head span{
  color:#0a1738;
  font-size:13px;
  font-weight:900;
}
body.eplan-redesign.client-ui .redesign-extra-training-head small{
  color:#8390a3;
  font-size:9px;
  font-weight:650;
}
body.eplan-redesign.client-ui .redesign-extra-training-head>b{
  display:grid;
  place-items:center;
  min-width:26px;
  height:26px;
  padding:0 7px;
  border-radius:999px;
  background:#eaf3ff;
  color:#1677ff;
  font-size:10px;
}
body.eplan-redesign.client-ui .redesign-extra-training-day{
  border-color:#c6dcfb!important;
  background:linear-gradient(180deg,#fff 0%,#f6faff 100%)!important;
}
body.eplan-redesign.client-ui .redesign-training-day-index.extra{
  background:#eaf3ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-training-day-status.extra{
  background:#eaf3ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .redesign-start-workout.extra{
  background:#1677ff!important;
}
@media(max-width:480px){
  body.eplan-redesign.trainer-ui .trainer-program-editor-head{
    display:grid;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-day-create{width:100%}
}
@media(max-width:370px){
  body.eplan-redesign.trainer-ui .trainer-extra-day-form,
  body.eplan-redesign.trainer-ui .trainer-extra-day-actions{
    grid-template-columns:1fr;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-day-actions .trainer-extra-promote{
    grid-column:auto;
  }
}


/* Extra training manager v2 */
body.eplan-redesign.trainer-ui .trainer-extra-manager{
  margin-bottom:14px;
  padding:18px;
  border:1px solid #d7e3f2!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 8px 26px rgba(22,54,96,.06)!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-head>div{min-width:0}
body.eplan-redesign.trainer-ui .trainer-extra-manager-kicker{
  display:block;
  margin-bottom:5px;
  color:#1677ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-head h2{
  margin:0;
  color:#0a1738;
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.02em;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-head p{
  margin:6px 0 0;
  color:#7d8ca2;
  font-size:10px;
  line-height:1.4;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-create{
  flex:0 0 auto;
  min-height:40px;
  padding:9px 13px!important;
  border:1px solid #c7dcfb!important;
  border-radius:12px!important;
  background:#edf5ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-empty{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:14px;
  padding:13px;
  border:1px dashed #cbd8e9;
  border-radius:15px;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-empty>span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:10px;
  background:#edf5ff;
  color:#1677ff;
  font-size:19px;
  font-weight:500;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-empty>div{
  display:grid;
  gap:3px;
  min-width:0;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-empty strong{
  color:#182946;
  font-size:10.5px;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-empty small{
  color:#8b98aa;
  font-size:9px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-list{
  display:grid;
  gap:10px;
  margin-top:14px;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-item{
  overflow:hidden;
  border:1px solid #dce6f3;
  border-radius:16px;
  background:#fff;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-item.active{
  border-color:#c5dcfb;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-item.paused{
  background:#fbfcfe;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-main{
  width:100%;
  min-height:78px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto 18px;
  gap:10px;
  align-items:center;
  padding:12px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  text-align:left;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#eaf3ff;
  color:#1677ff;
  font-size:20px;
  font-weight:600;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-copy{
  display:grid;
  gap:2px;
  min-width:0;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-copy strong{
  overflow:hidden;
  color:#0a1738;
  font-size:13px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-copy small{
  overflow:hidden;
  color:#6f7f96;
  font-size:10px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-copy em{
  color:#9aa5b4;
  font-size:8.5px;
  font-style:normal;
  font-weight:700;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-status{
  padding:5px 8px;
  border-radius:999px;
  font-size:8.5px;
  font-weight:900;
  white-space:nowrap;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-status.active{
  background:#eaf8f0;
  color:#168553;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-status.paused{
  background:#fff3e9;
  color:#b36c23;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-main .program-day-arrow{
  color:#8190a5;
  font-size:16px;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-body{
  padding:0 12px 12px;
  border-top:1px solid #edf1f6;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-body.hidden{display:none!important}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:11px 0;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions .trainer-extra-action{
  min-height:34px;
  padding:7px 10px!important;
  border:1px solid #dbe5f1!important;
  border-radius:10px!important;
  background:#f6f9fd!important;
  color:#52647d!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions .trainer-extra-action.activate{
  border-color:#bfe7d1!important;
  background:#eefaf3!important;
  color:#168553!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions .trainer-extra-action.pause{
  background:#f8fafc!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions .trainer-extra-action.promote{
  border-color:#c2d9fb!important;
  background:#edf5ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-actions .trainer-extra-action.delete{
  margin-left:auto;
  border-color:#f1d2d2!important;
  background:#fff6f6!important;
  color:#c45d5d!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-exercises{
  display:grid;
  gap:8px;
  margin-top:10px;
}
body.eplan-redesign.trainer-ui .trainer-extra-manager-exercises .trainer-exercise-card{
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px dashed #cad8ea;
  border-radius:13px;
  background:#f9fbfe;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty>div{
  display:grid;
  gap:2px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty strong{
  color:#334661;
  font-size:10px;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty span{
  color:#8b98aa;
  font-size:9px;
  line-height:1.35;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-empty button{
  min-height:34px;
  padding:7px 10px!important;
  border:1px solid #c7dcfb!important;
  border-radius:10px!important;
  background:#edf5ff!important;
  color:#1677ff!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:900!important;
}

/* Modern extra-training sheet */
body.eplan-redesign.trainer-ui .trainer-extra-day-modal{
  z-index:12050!important;
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(8,17,35,.58)!important;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card{
  width:min(100%,560px)!important;
  max-height:min(88dvh,760px)!important;
  margin:0 auto!important;
  padding:20px 18px calc(18px + env(safe-area-inset-bottom))!important;
  overflow:auto;
  border:0!important;
  border-radius:26px 26px 0 0!important;
  background:#fff!important;
  box-shadow:0 -12px 42px rgba(10,23,56,.18)!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 44px!important;
  gap:12px!important;
  align-items:start!important;
  margin:0 0 16px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-head>div{min-width:0}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-head small{
  display:block!important;
  margin:0 0 4px!important;
  color:#1677ff!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-head h2{
  margin:0!important;
  color:#0a1738!important;
  font-size:26px!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .edit-exercise-close{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  border:1px solid #dbe5f0!important;
  border-radius:13px!important;
  background:#f3f7fc!important;
  color:#183253!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label,
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .trainer-day-title-field{
  display:grid!important;
  gap:6px!important;
  margin:0!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label:first-child,
body.eplan-redesign.trainer-ui .trainer-extra-day-form label:nth-child(2),
body.eplan-redesign.trainer-ui .trainer-extra-day-form #extraDayUntilWrap{
  grid-column:1/-1;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form label>span,
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .trainer-day-title-field>span{
  color:#64758d!important;
  font-size:9px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form input,
body.eplan-redesign.trainer-ui .trainer-extra-day-form select,
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .trainer-day-title-field input{
  width:100%!important;
  min-height:48px!important;
  padding:11px 13px!important;
  border:1px solid #d8e3f0!important;
  border-radius:13px!important;
  outline:0!important;
  background:#f8fbff!important;
  color:#0a1738!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form input:focus,
body.eplan-redesign.trainer-ui .trainer-extra-day-form select:focus,
body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card .trainer-day-title-field input:focus{
  border-color:#8bbaff!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(22,119,255,.08)!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-form input[readonly]{
  color:#728196!important;
  background:#f2f5f9!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-note{
  margin:12px 0 0!important;
  padding:10px 11px!important;
  border-radius:11px!important;
  background:#f4f8fd!important;
  color:#74839a!important;
  font-size:9.5px!important;
  line-height:1.45!important;
}
body.eplan-redesign.trainer-ui .trainer-extra-day-save{
  width:100%!important;
  min-height:48px!important;
  margin-top:14px!important;
  padding:10px 14px!important;
  border:0!important;
  border-radius:13px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(22,119,255,.16)!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui #duplicateProgramDayModal .trainer-day-title-field+ .trainer-day-title-field{
  margin-top:10px!important;
}

@media(min-width:700px){
  body.eplan-redesign.trainer-ui .trainer-extra-day-modal{align-items:center!important;padding:24px!important}
  body.eplan-redesign.trainer-ui .trainer-extra-day-modal-card{border-radius:24px!important}
}
@media(max-width:480px){
  body.eplan-redesign.trainer-ui .trainer-extra-manager{
    padding:15px;
    border-radius:19px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-manager-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-manager-create{
    align-self:start;
    padding:8px 10px!important;
  }
}
@media(max-width:370px){
  body.eplan-redesign.trainer-ui .trainer-extra-manager-main{
    grid-template-columns:34px minmax(0,1fr) 18px;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-manager-status{
    grid-column:2;
    justify-self:start;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-manager-main .program-day-arrow{
    grid-column:3;
    grid-row:1/3;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-day-form{
    grid-template-columns:1fr!important;
  }
  body.eplan-redesign.trainer-ui .trainer-extra-day-form label:first-child,
  body.eplan-redesign.trainer-ui .trainer-extra-day-form label:nth-child(2),
  body.eplan-redesign.trainer-ui .trainer-extra-day-form #extraDayUntilWrap{
    grid-column:auto;
  }
}


/* Trainer review completion modal */
body.eplan-redesign.trainer-ui .trainer-review-complete-modal{
  z-index:12060!important;
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(8,17,35,.56)!important;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
body.eplan-redesign.trainer-ui .trainer-review-complete-card{
  width:min(100%,520px)!important;
  margin:0 auto!important;
  padding:20px 18px calc(18px + env(safe-area-inset-bottom))!important;
  border:0!important;
  border-radius:26px 26px 0 0!important;
  background:#fff!important;
  box-shadow:0 -12px 42px rgba(10,23,56,.18)!important;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:#eaf8f0;
  color:#168553;
  font-size:22px;
  font-weight:900;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-close{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  border:1px solid #dbe5f0!important;
  border-radius:13px!important;
  background:#f3f7fc!important;
  color:#183253!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-kicker{
  display:block;
  margin-bottom:5px;
  color:#1677ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-card h2{
  margin:0;
  color:#0a1738!important;
  font-size:26px!important;
  line-height:1.08!important;
  letter-spacing:-.025em;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-card>p{
  margin:8px 0 0;
  color:#74839a;
  font-size:11px;
  line-height:1.45;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-next{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:16px;
  padding:12px 13px;
  border:1px solid #dce6f2;
  border-radius:14px;
  background:#f8fbff;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-next span{
  color:#62738b;
  font-size:10.5px;
  font-weight:800;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-next strong{
  display:grid;
  place-items:center;
  min-width:32px;
  height:32px;
  padding:0 9px;
  border-radius:999px;
  background:#eaf3ff;
  color:#1677ff!important;
  font-size:12px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-actions{
  display:grid;
  gap:8px;
  margin-top:14px;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-actions button{
  width:100%!important;
  min-height:48px!important;
  padding:10px 14px!important;
  border-radius:13px!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-primary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:0!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(22,119,255,.16)!important;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-primary span{
  font-size:16px;
  line-height:1;
}
body.eplan-redesign.trainer-ui .trainer-review-complete-secondary{
  border:1px solid #d8e3f0!important;
  background:#f3f7fc!important;
  color:#334a68!important;
  box-shadow:none!important;
}
@media(min-width:700px){
  body.eplan-redesign.trainer-ui .trainer-review-complete-modal{
    align-items:center!important;
    padding:24px!important;
  }
  body.eplan-redesign.trainer-ui .trainer-review-complete-card{
    border-radius:24px!important;
  }
}


/* Client workout set swipe actions */
body.eplan-redesign.client-ui .lyfta-set-wrap{
  overflow:hidden;
}
body.eplan-redesign.client-ui .lyfta-set-swipe{
  position:relative;
  overflow:hidden;
  border-radius:12px;
}
body.eplan-redesign.client-ui .lyfta-set-swipe-content{
  position:relative;
  z-index:2;
  background:#fff;
  transform:translateX(0);
  transition:transform .18s ease;
  touch-action:pan-y;
}
body.eplan-redesign.client-ui .lyfta-set-swipe.open .lyfta-set-swipe-content{
  transform:translateX(-92px);
}
body.eplan-redesign.client-ui .lyfta-set-action-tray{
  position:absolute;
  inset:0 0 0 auto;
  z-index:1;
  width:92px;
  display:flex;
  align-items:stretch;
  justify-content:stretch;
}
body.eplan-redesign.client-ui .lyfta-set-action-tray button{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-size:9px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .lyfta-set-action-tray.skip button{
  background:#fff5e8!important;
  color:#a76412!important;
}
body.eplan-redesign.client-ui .lyfta-set-action-tray.restore button{
  background:#edf5ff!important;
  color:#1677ff!important;
}
body.eplan-redesign.client-ui .lyfta-set-action-tray.delete button{
  background:#fff0f1!important;
  color:#c7434e!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-skipped{
  opacity:1!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-skipped .lyfta-set-swipe-content{
  background:#fbfcfe;
}
body.eplan-redesign.client-ui .lyfta-set-row.is-skipped{
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:8px!important;
  min-height:44px;
  padding:2px 0 3px;
  opacity:1!important;
}
body.eplan-redesign.client-ui .lyfta-skipped-copy{
  display:grid;
  gap:2px;
  min-width:0;
}
body.eplan-redesign.client-ui .lyfta-skipped-copy strong{
  color:#6d7b90!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .lyfta-skipped-copy small{
  color:#9aa5b4;
  font-size:8.5px;
  font-weight:700;
}
body.eplan-redesign.client-ui .lyfta-swipe-hint{
  padding-right:4px;
  color:#a2adbb;
  font-size:8px;
  font-weight:800;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .lyfta-extra-set-actions{
  flex-wrap:wrap!important;
}
body.eplan-redesign.client-ui .lyfta-extra-set-actions>small{
  flex:1 1 100%;
  color:#93a0b1;
  font-size:8.5px;
  font-weight:700;
  line-height:1.35;
}
body.eplan-redesign.client-ui .workout-completed-set.skipped{
  background:#f6f8fb!important;
  border-color:#e2e8f0!important;
}
body.eplan-redesign.client-ui .workout-completed-set.skipped strong{
  color:#7a879a!important;
}
body.eplan-redesign.client-ui .workout-completed-set.skipped em{
  color:#a0aaba!important;
}
body.eplan-redesign.client-ui .workout-saved-skip{
  color:#8895a7!important;
}
body.eplan-redesign.client-ui .calendar-workout-set.skipped,
body.eplan-redesign.client-ui .trainer-review-set.skipped{
  background:#f6f8fb!important;
  border-color:#e1e7ef!important;
}
body.eplan-redesign.client-ui .calendar-workout-set.skipped strong,
body.eplan-redesign.trainer-ui .trainer-review-set.skipped strong{
  color:#7a8798!important;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .lyfta-set-row.is-skipped{
    grid-template-columns:36px minmax(0,1fr) auto!important;
  }
}


/* Timed exercises — additive mode, no changes to classic workout cards */
body.eplan-redesign.trainer-ui .trainer-program-editor select#executionmode,
body.eplan-redesign.trainer-ui .edit-exercise-card select#editExecutionMode{
  width:100%;
  min-height:42px;
}
body.eplan-redesign.client-ui .workout-timed-previous{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  margin:0 0 10px;
  padding:10px 11px;
  border:1px solid #e0e8f2;
  border-radius:12px;
  background:#f3f7fc;
}
body.eplan-redesign.client-ui .workout-timed-previous span{
  color:#8390a3;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.client-ui .workout-timed-previous strong{
  color:#233a59;
  font-size:11px;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-timed-previous em{
  padding:4px 7px;
  border-radius:999px;
  font-size:8.5px;
  font-style:normal;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-timed-previous em.up{
  background:#eaf8f0;
  color:#168553;
}
body.eplan-redesign.client-ui .workout-timed-previous em.down{
  background:#fff3e8;
  color:#b36c23;
}
body.eplan-redesign.client-ui .workout-timed-plan{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:0 0 10px;
}
body.eplan-redesign.client-ui .workout-timed-plan>div{
  display:grid;
  gap:3px;
  padding:10px 8px;
  border:1px solid #e0e8f2;
  border-radius:11px;
  background:#f3f7fc;
  text-align:center;
}
body.eplan-redesign.client-ui .workout-timed-plan span{
  color:#8794a6;
  font-size:8px;
  font-weight:800;
}
body.eplan-redesign.client-ui .workout-timed-plan strong{
  color:#183153;
  font-size:10.5px;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-timed-start{
  width:100%!important;
}
body.eplan-redesign.client-ui .workout-timed-modal{
  z-index:13050!important;
  align-items:flex-end!important;
  padding:0!important;
  background:rgba(8,17,35,.58)!important;
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
body.eplan-redesign.client-ui .workout-timed-modal-card{
  width:min(100%,560px)!important;
  max-height:92dvh!important;
  margin:0 auto!important;
  padding:18px 16px calc(18px + env(safe-area-inset-bottom))!important;
  overflow:auto;
  border:0!important;
  border-radius:26px 26px 0 0!important;
  background:#fff!important;
  box-shadow:0 -14px 42px rgba(10,23,56,.2)!important;
}
body.eplan-redesign.client-ui .workout-timed-modal-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  gap:12px;
  align-items:start;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui .workout-timed-modal-head small{
  display:block;
  margin-bottom:4px;
  color:#1677ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
body.eplan-redesign.client-ui .workout-timed-modal-head h2{
  margin:0;
  color:#0a1738;
  font-size:22px;
  line-height:1.12;
  letter-spacing:-.025em;
}
body.eplan-redesign.client-ui .workout-timed-close{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  border:1px solid #dbe5f0!important;
  border-radius:13px!important;
  background:#f3f7fc!important;
  color:#183253!important;
  box-shadow:none!important;
  font-size:18px!important;
}
body.eplan-redesign.client-ui .workout-timed-modal-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
  color:#6c7d95;
  font-size:9.5px;
  font-weight:850;
}
body.eplan-redesign.client-ui .workout-timed-modal-meta b{
  padding:5px 8px;
  border-radius:999px;
  background:#f1f5fa;
  color:#52647d;
  font-size:8.5px;
  font-weight:850;
}
body.eplan-redesign.client-ui .workout-timed-ring{
  position:relative;
  width:clamp(220px,68vw,270px);
  height:clamp(220px,68vw,270px);
  margin:6px auto 16px;
}
body.eplan-redesign.client-ui .workout-timed-ring svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  transform:rotate(-90deg);
}
body.eplan-redesign.client-ui .workout-timed-ring circle{
  fill:none;
  stroke-width:7;
}
body.eplan-redesign.client-ui .workout-timed-ring .track{
  stroke:#eaf0f7;
}
body.eplan-redesign.client-ui .workout-timed-ring .progress{
  stroke:#1677ff;
  stroke-linecap:round;
  stroke-dasharray:339.292;
  stroke-dashoffset:339.292;
}
body.eplan-redesign.client-ui .workout-timed-ring.rest .progress{
  stroke:#19a568;
}
body.eplan-redesign.client-ui .workout-timed-ring.done .progress{
  stroke:#19a568;
}
body.eplan-redesign.client-ui .workout-timed-ring>div{
  position:absolute;
  inset:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #edf2f7;
}
body.eplan-redesign.client-ui .workout-timed-ring span{
  color:#1677ff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.08em;
}
body.eplan-redesign.client-ui .workout-timed-ring.rest span{
  color:#19a568;
}
body.eplan-redesign.client-ui .workout-timed-ring strong{
  margin:8px 0 3px;
  color:#0a1738;
  font-size:50px;
  line-height:1;
  letter-spacing:-.04em;
}
body.eplan-redesign.client-ui .workout-timed-ring small{
  color:#8a97aa;
  font-size:9px;
  font-weight:700;
}
body.eplan-redesign.client-ui .workout-timed-primary{
  width:100%!important;
  min-height:48px!important;
  border:0!important;
  border-radius:13px!important;
  background:#1677ff!important;
  color:#fff!important;
  box-shadow:0 9px 20px rgba(22,119,255,.16)!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-timed-primary:disabled{
  opacity:.65;
}
body.eplan-redesign.client-ui .progress-timed-label{
  display:block;
  margin-top:4px;
  color:#1677ff;
  font-size:9px;
  font-weight:850;
}
body.eplan-redesign.client-ui .calendar-workout-set.timed{
  background:#f6f9ff;
  border-color:#dce8f8;
}
body.eplan-redesign.trainer-ui .trainer-review-set-block.timed{
  border-color:#dce7f5;
  background:#f8fbff;
}
@media(min-width:700px){
  body.eplan-redesign.client-ui .workout-timed-modal{
    align-items:center!important;
    padding:24px!important;
  }
  body.eplan-redesign.client-ui .workout-timed-modal-card{
    border-radius:24px!important;
  }
}


/* Timed results are read-only in the legacy completed-workout editor */
body.eplan-redesign.client-ui .completed-workout-edit-exercise.timed-readonly{
  border-color:#dce7f5!important;
  background:#f9fbff!important;
}
body.eplan-redesign.client-ui .completed-workout-timed-readonly{
  display:grid;
  gap:7px;
  margin-top:10px;
}
body.eplan-redesign.client-ui .completed-workout-timed-readonly>div{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #e0e8f2;
  border-radius:11px;
  background:#fff;
}
body.eplan-redesign.client-ui .completed-workout-timed-readonly span{
  color:#7c899c;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.client-ui .completed-workout-timed-readonly strong{
  color:#183153;
  font-size:10.5px;
}
body.eplan-redesign.client-ui .completed-workout-timed-readonly small{
  color:#8995a6;
  font-size:8.5px;
}
body.eplan-redesign.client-ui .completed-workout-timed-note{
  margin:10px 0 0;
  color:#8190a4;
  font-size:9px;
  line-height:1.4;
}


/* Timed / mixed supersets */
body.eplan-redesign.trainer-ui .trainer-superset-modal-grid input.is-locked{
  background:#eef3f8;
  color:#667790;
}
body.eplan-redesign.trainer-ui .trainer-superset-round-note{
  margin:0;
  padding:9px 10px;
  border:1px solid #dbe7f5;
  border-radius:11px;
  background:#f6f9fd;
  color:#75859b;
  font-size:9px;
  line-height:1.4;
}
body.eplan-redesign.client-ui .workout-live-superset.has-timed .workout-live-superset-head{
  background:#eef5ff;
}
body.eplan-redesign.client-ui .workout-timed-superset-progress{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 9px;
  padding:9px 11px;
  border:1px solid #dce7f5;
  border-radius:11px;
  background:#f7faff;
}
body.eplan-redesign.client-ui .workout-timed-superset-progress span{
  color:#7e8da2;
  font-size:9px;
  font-weight:800;
}
body.eplan-redesign.client-ui .workout-timed-superset-progress strong{
  color:#1677ff;
  font-size:10px;
  font-weight:900;
}


/* Superset group accordion + timed round rest */
body.eplan-redesign.client-ui .workout-live-superset-toggle{
  width:100%!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:#0a1738!important;
  text-align:left!important;
  cursor:pointer;
}
body.eplan-redesign.client-ui .workout-live-superset-toggle.open{
  border-bottom:1px solid #dfe8f3!important;
}
body.eplan-redesign.client-ui .workout-live-superset-copy{
  min-width:0;
  display:flex;
  flex:1;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body.eplan-redesign.client-ui .workout-live-superset-copy>span{
  flex:1;
  text-align:right;
}
body.eplan-redesign.client-ui .workout-live-superset-arrow{
  flex:0 0 auto;
  color:#7d8ba0!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .workout-live-superset-body.hidden{
  display:none!important;
}
body.eplan-redesign.client-ui .workout-live-grouped-exercise-head{
  cursor:default!important;
}
body.eplan-redesign.client-ui .workout-live-grouped-exercise-head .workout-live-toggle-side{
  justify-content:flex-end!important;
}
body.eplan-redesign.client-ui .workout-live-grouped-body{
  display:block!important;
}
@media(max-width:520px){
  body.eplan-redesign.client-ui .workout-live-superset-copy{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  body.eplan-redesign.client-ui .workout-live-superset-copy>span{
    text-align:left;
  }
}


/* v245 — client workout set: unified completion fill and iPhone input/label clipping.
   Keep the swipe viewports clipped so skip/delete gestures continue to work. */
body.eplan-redesign.client-ui .lyfta-set-swipe-content{
  box-sizing:border-box;
  padding:3px 7px 9px;
}
body.eplan-redesign.client-ui .lyfta-prev-line{
  min-width:0;
  min-height:19px;
  margin:0 1px 8px;
  padding:3px 2px 0;
  line-height:1.4;
}
body.eplan-redesign.client-ui .lyfta-prev-line>span{
  display:block;
  min-width:0;
  padding-left:1px;
  line-height:1.4;
}
body.eplan-redesign.client-ui .lyfta-set-row{
  padding:2px 0 4px;
}
body.eplan-redesign.client-ui .lyfta-set-row input{
  display:block!important;
  box-sizing:border-box!important;
  height:43px!important;
  min-height:43px!important;
  margin:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1.2!important;
  outline:0!important;
}
body.eplan-redesign.client-ui .lyfta-set-row input:focus{
  outline:0!important;
  border-color:#80b8fa!important;
  box-shadow:inset 0 0 0 1.5px rgba(22,119,255,.42)!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete{
  background:#f1faf4!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-swipe-content{
  background:#f1faf4!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-row input{
  background:#fff!important;
  border-color:#d8ebdf!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-set-row input:focus{
  border-color:#80b8fa!important;
  box-shadow:inset 0 0 0 1.5px rgba(22,119,255,.42)!important;
}
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete .lyfta-drop-zone{
  background:#f1faf4!important;
  border-left-color:#d8ebdf!important;
}

/* v247 — distinct completed-set cards: spacing and a quiet outline prevent
   neighbouring mint surfaces from visually merging into one large panel.
   Keep the existing swipe clipping, white input fields and checked state. */
body.eplan-redesign.client-ui .lyfta-set-wrap.is-complete{
  margin-top:6px!important;
  margin-bottom:12px!important;
  border:1px solid #dbece1!important;
  border-radius:16px!important;
  box-shadow:0 2px 6px rgba(32,107,64,.035)!important;
}

/* v248 — completed workout headers remain neutral; only checks/inner sets green.
   A superset earns its own completion check when every exercise is finished. */
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete:not(.workout-live-exercise-inner){
  border-color:#dfe7f1!important;
  background:#fff!important;
}
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete>.workout-live-toggle,
body.eplan-redesign.client-ui .workout-live-exercise.is-exercise-complete>.workout-live-toggle.open,
body.eplan-redesign.client-ui .workout-live-superset .workout-live-exercise.is-exercise-complete>.workout-live-toggle{
  background:#fff!important;
}
body.eplan-redesign.client-ui .workout-live-superset-status{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
body.eplan-redesign.client-ui .workout-live-superset-status .exercise-done-badge.compact{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#e6f6ec!important;
  color:#278e53!important;
  font-size:18px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-live-superset-status .workout-live-superset-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  flex:0 0 16px;
}
/* iOS: match text/caret line metrics and avoid padding-induced vertical shift.
   Keep the input's datalist, inline technique autofill and picker behavior. */
body.eplan-redesign.trainer-ui #supersetModal #ssex{
  display:block!important;
  box-sizing:border-box!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  margin:0!important;
  padding:0 13px!important;
  font-size:16px!important;
  line-height:22px!important;
  text-align:left!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}


/* v249 — trainer inline superset: span the full editor, not a half-width grid cell.
   The nested form and library chooser must never crush the name field on iPhone. */
body.eplan-redesign.trainer-ui .trainer-program-editor-grid>.trainer-inline-superset-builder{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-fields,
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid>label,
body.eplan-redesign.trainer-ui .trainer-inline-superset-grid .trainer-program-exercise-field{
  min-width:0!important;
  width:100%!important;
}
@media(max-width:520px){
  body.eplan-redesign.trainer-ui .trainer-inline-superset-grid .trainer-program-exercise-field{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.eplan-redesign.trainer-ui .trainer-inline-superset-grid .trainer-program-exercise-field>button{
    min-width:0!important;
    width:100%!important;
    min-height:44px!important;
  }
}

/* v250 — trainer client action sheet stays above bottom navigation (iPhone).
   The nav is z-index 950; the original layer at 120 left Delete obscured.
   Reserve room for the persistent nav and safe area, and allow short-screen scrolling. */
body.eplan-redesign.trainer-ui .trainer-client-actions-layer{
  z-index:12060!important;
  box-sizing:border-box!important;
  padding-bottom:calc(118px + env(safe-area-inset-bottom, 0px))!important;
}
body.eplan-redesign.trainer-ui .trainer-client-actions-layer>.trainer-client-actions-pop{
  box-sizing:border-box!important;
  width:min(100%,410px)!important;
  min-width:0!important;
  max-height:calc(100dvh - 160px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
@media(max-height:530px){
  body.eplan-redesign.trainer-ui .trainer-client-actions-layer{
    padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px))!important;
  }
  body.eplan-redesign.trainer-ui .trainer-client-actions-layer>.trainer-client-actions-pop{
    max-height:calc(100dvh - 42px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))!important;
  }
}


/* v251 — client-only manual load phase, with accessible touch-size selection.
   The selected phase is stored on each workout session, never on the plan. */
body.eplan-redesign.client-ui #workoutStartConfirmModal{
  z-index:12070!important;
  padding:14px!important;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal>.workout-start-confirm{
  max-height:calc(100dvh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
body.eplan-redesign.client-ui .workout-phase-select{
  margin:18px 0 12px;
  text-align:left;
}
body.eplan-redesign.client-ui .workout-phase-select>strong{
  display:block;
  margin:0 0 10px;
  font-size:14px;
  font-weight:850;
  color:#152c4c;
}
body.eplan-redesign.client-ui .workout-phase-options{
  display:grid;
  gap:8px;
}
body.eplan-redesign.client-ui .workout-phase-option{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:58px;
  padding:9px 13px;
  border:1px solid #dce6f2;
  border-radius:14px;
  background:#f8fafc;
  cursor:pointer;
  text-align:left;
}
body.eplan-redesign.client-ui .workout-phase-option.selected{
  border-color:#86bafa;
  background:#eff6ff;
  box-shadow:inset 0 0 0 1px rgba(28,117,238,.16);
}
body.eplan-redesign.client-ui .workout-phase-option input{
  appearance:none;
  -webkit-appearance:none;
  flex:none;
  width:21px;
  height:21px;
  margin:0;
  border:2px solid #b5c5d9;
  border-radius:50%;
  background:#fff;
  outline-offset:3px;
}
body.eplan-redesign.client-ui .workout-phase-option input:checked{
  border:6px solid #1677ff;
}
body.eplan-redesign.client-ui .workout-phase-indicator{
  flex:none;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#d7923e;
}
body.eplan-redesign.client-ui .workout-phase-option[data-phase="medium"] .workout-phase-indicator{background:#408bde}
body.eplan-redesign.client-ui .workout-phase-option[data-phase="light"] .workout-phase-indicator{background:#3ca36b}
body.eplan-redesign.client-ui .workout-phase-copy{display:grid;gap:3px;min-width:0}
body.eplan-redesign.client-ui .workout-phase-copy strong{font-size:13px;font-weight:850;color:#0a1738}
body.eplan-redesign.client-ui .workout-phase-copy small{
  display:block;
  max-width:none;
  margin:0;
  font-size:11px;
  line-height:1.25;
  font-weight:650;
  color:#8390a2!important;
}
body.eplan-redesign.client-ui .workout-phase-select>small{
  display:block;
  max-width:none;
  margin:9px 0 0;
  line-height:1.45;
  text-align:left;
  color:#7a889b!important;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-confirm-primary:disabled{
  opacity:.48!important;
  cursor:not-allowed;
}
body.eplan-redesign.client-ui .workout-current-phase{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 12px;
  padding:12px 14px;
  border:1px solid #efdfc5;
  border-radius:16px;
  background:#fff9f1;
}
body.eplan-redesign.client-ui .workout-current-phase[data-phase="medium"]{
  border-color:#d5e7fa;background:#f0f7ff;
}
body.eplan-redesign.client-ui .workout-current-phase[data-phase="light"]{
  border-color:#d6eadd;background:#f0f9f3;
}
body.eplan-redesign.client-ui .workout-phase-dot{
  display:block;
  flex:0 0 11px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#d7923e;
}
body.eplan-redesign.client-ui .workout-current-phase[data-phase="medium"] .workout-phase-dot{background:#408bde}
body.eplan-redesign.client-ui .workout-current-phase[data-phase="light"] .workout-phase-dot{background:#3ca36b}
body.eplan-redesign.client-ui .workout-current-phase>div{display:grid;gap:3px;min-width:0}
body.eplan-redesign.client-ui .workout-current-phase strong{font-size:13px;color:#183153}
body.eplan-redesign.client-ui .workout-current-phase small{font-size:11px;color:#7c8da0;line-height:1.35}
body.eplan-redesign.client-ui .workout-finish-phase{
  display:inline-block;
  padding:7px 12px;
  margin:10px 0 4px;
  border-radius:999px;
  color:#936323;
  background:#fff1de;
  font-size:12px;
  font-weight:850;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .workout-phase-option{min-height:54px;padding:8px 10px}
  body.eplan-redesign.client-ui .workout-phase-select{margin:13px 0 8px}
  body.eplan-redesign.client-ui #workoutStartConfirmModal>.workout-start-confirm{padding:18px 14px!important}
}


/* v252 — iPhone: draw an unmistakable checked state for the workout load phase.
   Keep the native radio in the accessibility tree; its label remains tappable. */
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-phase-option{
  position:relative;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-phase-option input[type="radio"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  padding:0!important;
  margin:0!important;
  pointer-events:none!important;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-phase-check{
  width:27px;
  height:27px;
  min-width:27px;
  flex:0 0 27px;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  border:1.5px solid #d2dff0;
  border-radius:50%;
  background:#f6f9fd;
  color:transparent;
  font-family:inherit;
  font-size:16px;
  line-height:1;
  font-weight:900;
  transition:background-color .12s ease,border-color .12s ease,color .12s ease;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-phase-option input[type="radio"]:checked + .workout-phase-check{
  background:#1677ff;
  border-color:#1677ff;
  color:#fff;
}
body.eplan-redesign.client-ui #workoutStartConfirmModal .workout-phase-option input[type="radio"]:focus-visible + .workout-phase-check{
  outline:2px solid #0059cc;
  outline-offset:3px;
}


/* v253 — prominent rest timer INSIDE the active repetition exercise.
   Timer state, tracking, pause, skip and rest completion are unchanged. */
body.eplan-redesign.client-ui .workout-featured-rest[hidden]{
  display:none!important;
}
body.eplan-redesign.client-ui .workout-live-body .workout-featured-rest{
  display:block;
  margin:0 0 14px;
  padding:14px 14px 12px;
  background:linear-gradient(130deg,#f2f7ff,#f8fbff);
  border:1px solid #bfd7ff;
  border-radius:18px;
  box-shadow:0 3px 13px rgba(36,99,185,.05);
  color:#0b1d43;
  box-sizing:border-box;
}
body.eplan-redesign.client-ui .workout-featured-rest-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
body.eplan-redesign.client-ui .workout-featured-rest-heading{
  min-width:0;
  font-size:14px;
  font-weight:850;
  color:#196ce5;
  line-height:1.25;
}
body.eplan-redesign.client-ui .workout-featured-rest-settings{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:5px 9px!important;
  border-radius:11px!important;
  border:1px solid #d9e5f7!important;
  background:#f7faff!important;
  color:#47658d!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:750!important;
  white-space:nowrap;
}
body.eplan-redesign.client-ui .workout-featured-rest-main{
  display:grid;
  grid-template-columns:70px minmax(0,1fr) 96px;
  align-items:center;
  gap:10px;
  margin-top:12px;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring{
  position:relative;
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  transform:rotate(-90deg);
  overflow:visible;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring circle{
  fill:none;
  stroke-width:9;
}
body.eplan-redesign.client-ui .workout-featured-rest-track{stroke:#dfe9f8}
body.eplan-redesign.client-ui .workout-featured-rest-progress{
  stroke:#2676f3;
  stroke-linecap:round;
  transition:stroke-dashoffset .25s linear;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span{
  font-size:22px;
  line-height:1;
  color:#2d78ed;
}
body.eplan-redesign.client-ui .workout-featured-rest-countdown{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
body.eplan-redesign.client-ui .workout-featured-rest-value{
  display:block;
  color:#102346;
  font-size:clamp(34px,9vw,48px);
  font-variant-numeric:tabular-nums;
  letter-spacing:-.04em;
  line-height:1;
  font-weight:900;
}
body.eplan-redesign.client-ui .workout-featured-rest-next{
  display:block;
  color:#6c7d99;
  font-size:11px;
  line-height:1.3;
  font-weight:700;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>button{
  flex:0 0 44px;
  width:44px!important;
  height:46px!important;
  min-width:44px!important;
  min-height:46px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:14px!important;
  border:1px solid #bfd5f5!important;
  background:#f7faff!important;
  color:#2368cd!important;
  box-shadow:none!important;
  font-size:22px!important;
  font-weight:900!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause{
  border-color:#2676f3!important;
  color:#fff!important;
  background:#2676f3!important;
}
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-featured-rest-actions>.workout-featured-rest-pause{
  background:#f2f7ff!important;
  color:#2676f3!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-status{
  margin-top:9px;
  color:#607492;
  font-size:11px;
  line-height:1.3;
}
@media(max-width:375px){
  body.eplan-redesign.client-ui .workout-live-body .workout-featured-rest{
    padding:12px 10px;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-main{
    grid-template-columns:52px minmax(0,1fr) 82px;
    gap:7px;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring{
    width:52px;
    height:52px;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring>span{font-size:16px}
  body.eplan-redesign.client-ui .workout-featured-rest-value{font-size:34px}
  body.eplan-redesign.client-ui .workout-featured-rest-actions{gap:4px}
  body.eplan-redesign.client-ui .workout-featured-rest-actions>button{
    width:39px!important;
    height:44px!important;
    min-width:39px!important;
    min-height:44px!important;
    flex:0 0 39px;
    font-size:20px!important;
  }
}


/* v254 — approved variant 1: quiet icon controls, explicit skip, +30 seconds. */
body.eplan-redesign.client-ui .workout-featured-rest-heading{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#15284b!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-heading svg{
  flex:none;
  width:18px;
  height:18px;
  color:#287af0;
}
body.eplan-redesign.client-ui .workout-featured-rest-settings{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px;
  padding:5px 2px!important;
  min-height:34px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#73849f!important;
  font-size:11px!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-settings svg{
  width:17px;
  height:17px;
  flex:none;
}
body.eplan-redesign.client-ui .workout-featured-rest-main{
  grid-template-columns:62px minmax(0,1fr) 114px;
  gap:8px;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring{
  width:62px;
  height:62px;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span{
  display:grid;
  place-items:center;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span svg{
  position:static;
  inset:auto;
  transform:none;
  width:21px;
  height:21px;
  color:#7385a0;
}
body.eplan-redesign.client-ui .workout-featured-rest-value{
  font-size:clamp(32px,8vw,44px);
}
body.eplan-redesign.client-ui .workout-featured-rest-actions{
  align-items:stretch;
  gap:6px;
  justify-content:flex-end;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>button,
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause,
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-featured-rest-actions>.workout-featured-rest-pause{
  display:flex!important;
  flex-direction:column;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex:0 1 54px!important;
  min-width:0!important;
  width:54px!important;
  height:64px!important;
  min-height:60px!important;
  padding:6px 3px!important;
  border:1px solid #d7e3f3!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.83)!important;
  color:#667c9b!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:650!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause{
  color:#2475eb!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>button svg{
  display:block;
  flex:none;
  width:20px;
  height:20px;
}
body.eplan-redesign.client-ui .workout-rest-control-caption{
  color:inherit;
  font-size:9px;
  line-height:1.15;
  white-space:nowrap;
  font-weight:700;
}
body.eplan-redesign.client-ui .workout-rest-icon-play{
  display:none;
}
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-rest-icon-pause{
  display:none;
}
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-rest-icon-play{
  display:block;
}
body.eplan-redesign.client-ui .workout-featured-rest-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:12px;
}
body.eplan-redesign.client-ui .workout-featured-rest-footer .workout-featured-rest-status{
  flex:1 1 auto;
  min-width:0;
  margin:0;
}
body.eplan-redesign.client-ui .workout-featured-rest-add{
  flex:none;
  min-height:36px!important;
  padding:7px 13px!important;
  border:1px solid #cfdef2!important;
  background:rgba(255,255,255,.85)!important;
  border-radius:12px!important;
  color:#2473d9!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>button:active,
body.eplan-redesign.client-ui .workout-featured-rest-add:active{
  background:#eaf3ff!important;
}
@media(max-width:375px){
  body.eplan-redesign.client-ui .workout-featured-rest-main{
    grid-template-columns:54px minmax(0,1fr);
    gap:7px;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring{
    width:54px;
    height:54px;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions{
    grid-column:1/-1;
    justify-content:flex-end;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions>button{
    flex:0 0 88px!important;
    width:88px!important;
    height:43px!important;
    min-height:43px!important;
    flex-direction:row;
    gap:6px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-value{
    font-size:34px;
  }
}


/* v255 — final iPhone rest card: Pause | Stop, then one +30s rectangle.
   Blue remaining-time arc runs clockwise from the 12 o'clock position. */
body.eplan-redesign.client-ui .workout-featured-rest-main{
  grid-template-columns:62px minmax(0,1fr) 122px!important;
  gap:9px!important;
  align-items:center!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions{
  display:grid!important;
  width:122px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:65px 41px!important;
  gap:7px!important;
  justify-content:stretch!important;
  align-content:center!important;
  align-items:stretch!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause,
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-stop,
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-featured-rest-actions>.workout-featured-rest-pause{
  width:100%!important;
  height:65px!important;
  min-width:0!important;
  min-height:65px!important;
  max-width:none!important;
  display:flex!important;
  flex:initial!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid #d3e1f4!important;
  border-radius:14px!important;
  padding:6px 2px!important;
  background:rgba(255,255,255,.85)!important;
  color:#6b7e99!important;
  box-shadow:none!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause,
body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-featured-rest-actions>.workout-featured-rest-pause{
  color:#277af3!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add{
  grid-column:1/-1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:100%!important;
  height:41px!important;
  min-width:0!important;
  min-height:41px!important;
  max-width:none!important;
  padding:7px 8px!important;
  flex:initial!important;
  border:1px solid #d3e1f4!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.85)!important;
  color:#54749d!important;
  box-shadow:none!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:750!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add svg{
  width:18px!important;
  height:18px!important;
  flex:none;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-stop svg{
  color:#6b7e99;
}
body.eplan-redesign.client-ui .workout-rest-control-caption{
  color:inherit!important;
  display:block!important;
  font-size:10px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-countdown .workout-featured-rest-status{
  display:block!important;
  margin:8px 0 0!important;
  color:#8491a7!important;
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:550!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-value{
  font-size:clamp(31px,8.2vw,42px)!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-progress{
  transition:stroke-dasharray .24s linear!important;
}
@media(max-width:420px){
  body.eplan-redesign.client-ui .workout-live-body .workout-featured-rest{
    padding:12px 11px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-main{
    grid-template-columns:53px minmax(0,1fr) 112px!important;
    gap:7px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring{
    width:53px!important;
    height:53px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions{
    width:112px!important;
    grid-column:auto!important;
    grid-template-rows:61px 40px!important;
    gap:6px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-pause,
  body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-stop,
  body.eplan-redesign.client-ui .workout-featured-rest.is-paused .workout-featured-rest-actions>.workout-featured-rest-pause{
    width:100%!important;
    height:61px!important;
    min-height:61px!important;
    flex:initial!important;
    flex-direction:column!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add{
    height:40px!important;
    min-height:40px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-value{
    font-size:clamp(29px,8vw,35px)!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-next{
    font-size:10px!important;
  }
  body.eplan-redesign.client-ui .workout-rest-control-caption{
    font-size:9px!important;
  }
}
@media(max-width:350px){
  body.eplan-redesign.client-ui .workout-featured-rest-main{
    grid-template-columns:46px minmax(0,1fr) 106px!important;
    gap:5px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring{
    width:46px!important;
    height:46px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions{
    width:106px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-value{
    font-size:28px!important;
  }
}


/* v256 — iPhone timer polish: delicate stopwatch + wider horizontal floater.
   Presentation only; both views consume the existing rest countdown. */
body.eplan-redesign.client-ui .workout-featured-rest-ring>span{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#6d82a0!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span svg{
  position:static!important;
  display:block!important;
  width:23px!important;
  height:23px!important;
  transform:none!important;
  overflow:visible!important;
  background:transparent!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.75!important;
  color:#6d82a0!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>.workout-featured-rest-ring-track{
  transform:rotate(-90deg)!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer{
  right:14px!important;
  bottom:calc(101px + env(safe-area-inset-bottom,0px))!important;
  width:148px!important;
  min-width:148px!important;
  max-width:148px!important;
  height:66px!important;
  min-height:66px!important;
  padding:9px 12px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:11px!important;
  border-radius:19px!important;
  border:1px solid #cddff4!important;
  background:rgba(249,251,255,.97)!important;
  box-shadow:0 9px 28px rgba(30,69,114,.12)!important;
  color:#123159!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer-icon{
  width:29px!important;
  height:29px!important;
  flex:0 0 29px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer-icon svg{
  display:block!important;
  width:27px!important;
  height:27px!important;
  fill:none!important;
  stroke:#4089ec!important;
  stroke-width:1.8!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:3px;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer #floatingRestTimerValue{
  display:block!important;
  margin:0!important;
  font-size:20px!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  font-variant-numeric:tabular-nums;
  font-weight:900!important;
  color:#123159!important;
}
body.eplan-redesign.client-ui .redesign-floating-rest-timer-copy small{
  display:block;
  font-size:10px!important;
  font-weight:650!important;
  letter-spacing:0!important;
  line-height:1.1!important;
  color:#7b8ba1!important;
}
@media(max-width:390px){
  body.eplan-redesign.client-ui .redesign-floating-rest-timer{
    right:12px!important;
    width:146px!important;
    min-width:146px!important;
    max-width:146px!important;
    height:66px!important;
    min-height:66px!important;
    bottom:calc(99px + env(safe-area-inset-bottom,0px))!important;
  }
}


/* v257 — final rest controls: inline +30, blue line-art dial and toothed gear.
   Narrow iPhone widths must never wrap +30 сек into a vertical stack. */
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  padding:7px 8px!important;
  min-width:0!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add svg{
  display:block!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add>span{
  display:inline-block!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
  font-size:12px!important;
  line-height:1!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span svg{
  width:26px!important;
  height:26px!important;
  stroke-width:1.7!important;
  color:#267af3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-settings svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.75!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  color:#7385a0!important;
}
@media(max-width:350px){
  body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add{
    gap:4px!important;
    padding:6px 4px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-actions>.workout-featured-rest-add>span{
    font-size:11px!important;
  }
  body.eplan-redesign.client-ui .workout-featured-rest-ring>span svg{
    width:22px!important;
    height:22px!important;
  }
}


/* v258 — single-face rest dial: thin progress arc, two quiet clock hands.
   No nested filled stopwatch inside the circular progress indicator. */
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-track,
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-progress{
  stroke-width:5!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-track{
  stroke:#dbe6f5!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-progress{
  stroke:#2879ec!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  pointer-events:none!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span svg{
  display:none!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::before,
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::after{
  content:"";
  position:absolute;
  display:block;
  left:calc(50% - 1px);
  width:2px;
  background:#6883a7;
  border-radius:2px;
  transform-origin:50% calc(100% - 1px);
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::before{
  top:calc(50% - 12px);
  height:12px;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::after{
  top:calc(50% - 9px);
  height:9px;
  transform:rotate(120deg);
}

/* v259 — centered rest clock hands + continuously animated SVG progress.
   Keep both hands anchored to precisely the same center at every card size. */
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::before,
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::after{
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform-origin:50% 100%!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::before{
  height:12px!important;
  transform:translate(-50%,-100%)!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring>span::after{
  height:9px!important;
  transform:translate(-50%,-100%) rotate(120deg)!important;
}
body.eplan-redesign.client-ui .workout-featured-rest-ring .workout-featured-rest-progress{
  transition:none!important;
}

/* v260 — single rest card at the top of the active workout.
   No timer UI inside collapsed sets or superset exercise panels. */
body.eplan-redesign.client-ui .redesign-active-workout > .workout-featured-rest{
  width:100%;
  box-sizing:border-box;
  margin:14px 0 18px;
  padding:14px 14px 12px;
  background:linear-gradient(130deg,#f2f7ff,#f8fbff);
  border:1px solid #bfd7ff;
  border-radius:18px;
  box-shadow:0 3px 13px rgba(36,99,185,.05);
  color:#0b1d43;
}
@media(max-width:420px){
  body.eplan-redesign.client-ui .redesign-active-workout > .workout-featured-rest{
    padding:12px 11px;
  }
}

/* v262 — trainer review skipped-set readability on narrow iPhones.
   This is a status row, not a three-column weight / reps / RIR row. */
body.eplan-redesign.trainer-ui .trainer-review-set-block.skipped > .trainer-review-set-current.skipped{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:12px!important;
  min-width:0!important;
  min-height:44px!important;
  padding:9px 12px!important;
  background:#f6f8fb!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-block.skipped .trainer-review-set-current>small{
  min-width:0!important;
  white-space:nowrap!important;
}
body.eplan-redesign.trainer-ui .trainer-review-set-block.skipped .trainer-review-skipped-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:end!important;
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  background:#e9eef5!important;
  color:#687b95!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:nowrap!important;
}

/* v263 — optional per-program RIR, including exercise and template editors.
   We hide only unneeded controls; stored RIR and completed history are intact. */
body.eplan-redesign.trainer-ui .program-rir-disabled .program-rir-field{
  display:none!important;
}
body.eplan-redesign.trainer-ui .trainer-program-rir-toggle{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:14px 16px!important;
  margin:0 0 14px!important;
  border:1px solid #dce7f5!important;
  border-radius:14px!important;
  background:#f6f9fd!important;
  color:#163153!important;
}
body.eplan-redesign.trainer-ui .trainer-program-rir-toggle>span{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  gap:3px!important;
}
body.eplan-redesign.trainer-ui .trainer-program-rir-toggle strong{
  font-size:14px!important;
  font-weight:850!important;
}
body.eplan-redesign.trainer-ui .trainer-program-rir-toggle small{
  font-size:11px!important;
  line-height:1.35!important;
  color:#718199!important;
}
body.eplan-redesign.trainer-ui .trainer-program-rir-toggle>input{
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  accent-color:#267af3!important;
}
body.eplan-redesign.client-ui .lyfta-set-head.no-rir,
body.eplan-redesign.client-ui .lyfta-set-row.no-rir{
  grid-template-columns:42px minmax(0,1fr) minmax(0,1fr) 38px!important;
}
body.eplan-redesign.client-ui .lyfta-set-row.no-rir.is-skipped{
  grid-template-columns:42px minmax(0,1fr) auto!important;
}
@media(max-width:370px){
  body.eplan-redesign.client-ui .lyfta-set-head.no-rir,
  body.eplan-redesign.client-ui .lyfta-set-row.no-rir{
    grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 34px!important;
    gap:5px!important;
  }
  body.eplan-redesign.client-ui .lyfta-set-row.no-rir.is-skipped{
    grid-template-columns:36px minmax(0,1fr) auto!important;
  }
}


/* Client home v286 — reference-inspired composition.
   A single scoped design uses the approved OLED palette in dark mode and
   native light surfaces in light mode, without altering any existing screens. */
body.eplan-redesign.client-ui #app .client-home-v2{
 --cdh-card:#fff;--cdh-text:#10213a;--cdh-muted:#64758d;
 --cdh-border:rgba(72,106,150,.20);--cdh-blue:#1677ff;
 --cdh-track:#e8eef6;--cdh-subtle:#eff5fc;--cdh-green:#22b873;
 --cdh-accent:#227cef;--cdh-glow:rgba(24,120,255,.08);
 display:flex;flex-direction:column;gap:19px;
 margin:0;padding:0 0 28px;min-width:0;
 color:var(--cdh-text);
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] #app .client-home-v2{
 --cdh-card:#0B0F14;--cdh-text:#F4F7FB;--cdh-muted:#9AA9BB;
 --cdh-border:rgba(120,146,184,.19);--cdh-blue:#2D87FF;
 --cdh-track:#252C37;--cdh-subtle:#121922;--cdh-green:#32D27A;
 --cdh-accent:#3895FF;--cdh-glow:rgba(45,127,249,.16);
}
body.eplan-redesign.client-ui #app .client-home-v2 button{
 min-width:0;max-width:100%;font-family:inherit;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-workout{
 position:relative;isolation:isolate;overflow:hidden;
 display:flex;flex-direction:column;align-items:flex-start;
 width:100%;min-height:252px;
 padding:22px 20px 18px;
 margin:0;text-align:left;
 border:1px solid rgba(92,154,230,.35)!important;
 border-radius:22px!important;
 background:
  radial-gradient(ellipse at 86% 24%,rgba(44,135,252,.24),transparent 49%),
  linear-gradient(110deg,rgba(4,12,25,.98),rgba(4,14,30,.85)),
  #0A1422!important;
 color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 26px rgba(0,0,0,.11)!important;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-workout::after{
 content:"";pointer-events:none;position:absolute;
 z-index:-1;right:-49px;top:13px;
 width:217px;height:205px;border-radius:50%;
 background:
  radial-gradient(circle at center,transparent 0 27px,rgba(121,157,205,.14) 28px 32px,transparent 33px 47px,rgba(77,105,142,.15) 48px 55px,transparent 56px 73px,rgba(81,122,175,.12) 74px 80px,transparent 81px),
  linear-gradient(110deg,transparent 24%,rgba(73,126,205,.14) 49%,transparent 75%);
 transform:rotate(-16deg);
 opacity:.82;
}
body.eplan-redesign.client-ui #app .client-dash-workout-kicker{
 display:block;font-size:11px;line-height:1.3;font-weight:850;
 letter-spacing:.10em;color:#AAC4E4;
}
body.eplan-redesign.client-ui #app .client-dash-workout>strong{
 display:block;margin:17px 0 10px;
 font-size:clamp(21px,5.6vw,27px);line-height:1.12;
 max-width:97%;font-weight:900;letter-spacing:-.025em;
 overflow-wrap:anywhere;color:#FFF!important;
}
body.eplan-redesign.client-ui #app .client-dash-workout-summary{
 display:flex;gap:7px;align-items:center;flex-wrap:wrap;
 font-size:12px;line-height:1.5;font-weight:650;color:#BFCDE0;
}
body.eplan-redesign.client-ui #app .client-dash-workout-summary .ui-icon{
 width:16px;height:16px;flex:none;color:#90BDFA;
}
body.eplan-redesign.client-ui #app .client-dash-workout-summary i{
 width:3px;height:3px;flex:none;border-radius:50%;background:#7B8A9F;
}
body.eplan-redesign.client-ui #app .client-dash-workout-note{
 display:block;margin:13px 0 18px;max-width:87%;
 font-size:12px;line-height:1.45;color:#A9BAD0;
}
body.eplan-redesign.client-ui #app .client-dash-workout-cta{
 display:flex;align-items:center;justify-content:center;gap:9px;
 width:100%;min-height:48px;margin-top:auto;
 padding:11px 10px;border-radius:12px;
 font-size:14px;font-weight:850;line-height:1.22;
 white-space:normal;text-align:center;
 background:linear-gradient(100deg,#1677FF,#258AFB);
 color:#FFF;
 border:1px solid #529FFF;
 box-shadow:0 7px 17px rgba(22,119,255,.17);
}
body.eplan-redesign.client-ui #app .client-dash-workout-cta .ui-icon{
 width:18px;height:18px;flex:none;stroke-width:2.5;
}
body.eplan-redesign.client-ui #app .client-dash-workout-cta .ui-icon:last-child{margin-left:auto}
body.eplan-redesign.client-ui #app .client-dash-workout.is-active .client-dash-workout-cta{
 background:linear-gradient(105deg,#10BA69,#1FC97D);
 border-color:#55E19B;
 box-shadow:0 8px 17px rgba(16,186,105,.16);
}
body.eplan-redesign.client-ui #app .client-dash-workout-cycle{
 display:block;margin-top:11px;font-size:10px;letter-spacing:.015em;
 font-weight:700;color:#9DB1C9;
}
body.eplan-redesign.client-ui #app .client-dash-section-head,
body.eplan-redesign.client-ui #app .client-dash-card-head{
 display:flex;align-items:center;justify-content:space-between;
 gap:10px;min-width:0;
}
body.eplan-redesign.client-ui #app .client-dash-section-head{
 margin:1px 0 -7px;
}
body.eplan-redesign.client-ui #app :is(.client-dash-section-head,.client-dash-card-head)>h2{
 margin:0;font-size:18px;line-height:1.2;
 font-weight:850;letter-spacing:-.02em;color:var(--cdh-text)!important;
}
body.eplan-redesign.client-ui #app .client-dash-card-head h2{
 display:flex;align-items:center;gap:10px;font-size:16px;
}
body.eplan-redesign.client-ui #app .client-dash-card-head h2>.ui-icon{
 width:20px;height:20px;flex:none;color:var(--cdh-blue);
}
body.eplan-redesign.client-ui #app :is(.client-dash-section-head,.client-dash-card-head)>button{
 display:inline-flex;align-items:center;gap:3px;
 flex:none;width:auto;min-height:27px!important;
 padding:2px 0!important;margin:0;
 background:transparent!important;border:0!important;
 box-shadow:none!important;color:var(--cdh-blue)!important;
 font-size:11px;font-weight:750;white-space:nowrap;
}
body.eplan-redesign.client-ui #app :is(.client-dash-section-head,.client-dash-card-head)>button svg{
 width:14px;height:14px;
}
body.eplan-redesign.client-ui #app .client-dash-metrics{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:0;
}
body.eplan-redesign.client-ui #app .client-dash-metric{
 display:flex;flex-direction:column;align-items:flex-start;gap:7px;
 width:100%;min-height:154px;margin:0;
 padding:12px 10px 11px;border:1px solid var(--cdh-border)!important;
 border-radius:15px!important;background:var(--cdh-card)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
 color:var(--cdh-text)!important;text-align:left;
}
body.eplan-redesign.client-ui #app .client-dash-metric-head{
 display:flex;align-items:center;gap:6px;min-width:0;
 color:var(--cdh-muted);font-size:11px;line-height:1.3;font-weight:750;
}
body.eplan-redesign.client-ui #app .client-dash-metric-icon{
 display:grid;place-items:center;flex:0 0 28px;
 width:28px;height:28px;border-radius:9px;
 background:var(--cdh-glow);color:var(--cdh-blue);
}
body.eplan-redesign.client-ui #app .client-dash-metric-icon .ui-icon{
 width:19px;height:19px;
}
body.eplan-redesign.client-ui #app .client-dash-metric>strong{
 display:block;min-height:24px;font-size:clamp(17px,4.7vw,23px);
 font-variant-numeric:tabular-nums;
 font-weight:900;letter-spacing:-.025em;line-height:1.1;
 color:var(--cdh-text)!important;white-space:nowrap;
}
body.eplan-redesign.client-ui #app .client-dash-metric>strong small{
 font-size:11px;font-weight:700;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-spark{
 display:block;width:100%;height:31px;overflow:visible;
 fill:none;stroke:#34BE85;stroke-width:2.4;stroke-linejoin:round;
 stroke-linecap:round;
}
body.eplan-redesign.client-ui #app .client-dash-spark circle{
 fill:#34BE85;stroke:none;
}
body.eplan-redesign.client-ui #app .client-dash-spark-empty{
 display:block;margin:auto 0 0;
 font-size:9px;font-weight:600;line-height:1.25;
 color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-metric-note{
 display:block;max-width:100%;margin-top:auto;
 font-size:9px;line-height:1.3;color:var(--cdh-muted);
 font-weight:600;overflow-wrap:anywhere;
}
body.eplan-redesign.client-ui #app .client-dash-step-metric .client-dash-metric-icon{
 color:var(--cdh-blue);
}
body.eplan-redesign.client-ui #app .client-dash-steps-track{
 width:100%;height:6px;margin-top:6px;border-radius:999px;
 background:var(--cdh-track);overflow:hidden;
}
body.eplan-redesign.client-ui #app .client-dash-steps-track i{
 display:block;width:0;height:100%;border-radius:inherit;background:var(--cdh-blue);
}
/* Nutrition and weekly cards reuse the same restrained OLED surface. */
body.eplan-redesign.client-ui #app :is(.client-dash-nutrition,.client-dash-week){
 display:block;margin:0;min-width:0;padding:17px 16px 15px;
 border:1px solid var(--cdh-border)!important;border-radius:19px;
 background:var(--cdh-card)!important;color:var(--cdh-text)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
body.eplan-redesign.client-ui #app .client-dash-food-content{
 display:grid;grid-template-columns:minmax(102px,.94fr) minmax(0,1.34fr);
 align-items:center;gap:15px;margin-top:17px;
}
body.eplan-redesign.client-ui #app .client-dash-calories{
 display:flex;align-items:center;justify-content:center;flex-direction:column;
 gap:7px;margin:0;padding:0;
 background:transparent!important;border:0!important;
 color:var(--cdh-text)!important;box-shadow:none!important;
}
body.eplan-redesign.client-ui #app .client-dash-calorie-ring{
 display:grid;place-items:center;position:relative;
 width:min(100%,143px);aspect-ratio:1;border-radius:50%;
 background:conic-gradient(#1677FF var(--client-cal-pct),var(--cdh-track) 0);
}
body.eplan-redesign.client-ui #app .client-dash-calorie-ring:before{
 content:"";position:absolute;inset:12px;border-radius:50%;
 background:var(--cdh-card);
}
body.eplan-redesign.client-ui #app .client-dash-calorie-value{
 position:relative;z-index:1;min-width:0;
 display:flex;flex-direction:column;align-items:center;gap:2px;
}
body.eplan-redesign.client-ui #app .client-dash-calorie-value strong{
 font-size:clamp(21px,5.4vw,27px);line-height:1.1;
 letter-spacing:-.035em;color:var(--cdh-text);
 font-weight:900;font-variant-numeric:tabular-nums;
}
body.eplan-redesign.client-ui #app .client-dash-calorie-value small{
 font-size:9px;color:var(--cdh-muted);font-weight:650;
}
body.eplan-redesign.client-ui #app .client-dash-food-foot{
 display:block;font-size:10px;line-height:1.2;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-macros{
 display:grid;gap:12px;min-width:0;
}
body.eplan-redesign.client-ui #app .client-dash-macro{
 display:grid;grid-template-columns:minmax(0,1fr) auto;
 gap:3px 7px;align-items:baseline;min-width:0;
 --macro-color:#348AFF;
}
body.eplan-redesign.client-ui #app .client-dash-macro.fat{--macro-color:#F5BA4C}
body.eplan-redesign.client-ui #app .client-dash-macro.carbs{--macro-color:#A17DFA}
body.eplan-redesign.client-ui #app .client-dash-macro>span{
 font-size:11px;color:var(--cdh-muted);
 overflow:hidden;text-overflow:ellipsis;
}
body.eplan-redesign.client-ui #app .client-dash-macro strong{
 font-size:11px;font-weight:850;color:var(--cdh-text);
 white-space:nowrap;
}
body.eplan-redesign.client-ui #app .client-dash-macro strong small{
 font-size:9px;font-weight:600;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-macro-track{
 grid-column:1/-1;display:block;height:7px;border-radius:99px;
 background:var(--cdh-track);overflow:hidden;
}
body.eplan-redesign.client-ui #app .client-dash-macro-track>i{
 display:block;height:100%;border-radius:inherit;background:var(--macro-color);
}
body.eplan-redesign.client-ui #app .client-dash-macro>small{
 grid-column:1/-1;margin-top:1px;
 font-size:9px;font-weight:550;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-week{padding-bottom:14px}
body.eplan-redesign.client-ui #app .client-dash-week-stats{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:0;margin-top:20px;margin-bottom:13px;
}
body.eplan-redesign.client-ui #app .client-dash-week-stats>div{
 display:flex;flex-direction:column;align-items:flex-start;
 min-width:0;min-height:72px;gap:5px;padding:0 10px;
 border-right:1px solid var(--cdh-border);
}
body.eplan-redesign.client-ui #app .client-dash-week-stats>div:first-child{padding-left:0}
body.eplan-redesign.client-ui #app .client-dash-week-stats>div:last-child{
 border-right:0;padding-right:0;
}
body.eplan-redesign.client-ui #app .client-dash-week-stats strong{
 color:var(--cdh-text)!important;font-size:clamp(17px,4.9vw,23px);
 letter-spacing:-.025em;font-weight:900;line-height:1.12;
 white-space:nowrap;
}
body.eplan-redesign.client-ui #app .client-dash-week-stats span{
 font-size:10px;line-height:1.25;font-weight:600;
 color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-week-dots{
 display:flex;align-items:center;gap:5px;margin-top:auto;
}
body.eplan-redesign.client-ui #app .client-dash-week-dots i{
 display:block;width:9px;height:9px;flex:0 0 9px;
 border-radius:50%;background:var(--cdh-track);
}
body.eplan-redesign.client-ui #app .client-dash-week-dots i.done{background:var(--cdh-blue)}
body.eplan-redesign.client-ui #app .client-dash-week-bar{
 width:100%;height:6px;margin-top:auto;border-radius:999px;
 background:var(--cdh-track);overflow:hidden;
}
body.eplan-redesign.client-ui #app .client-dash-week-bar i{
 display:block;height:100%;border-radius:inherit;background:#29CC79;
}
body.eplan-redesign.client-ui #app .client-dash-week-chart{
 display:block;width:100%;height:83px;margin:6px 0 0;
 fill:none;overflow:visible;
}
body.eplan-redesign.client-ui #app .client-dash-chart-axis{
 stroke:var(--cdh-border);stroke-width:.85;
}
body.eplan-redesign.client-ui #app .client-dash-chart-line{
 fill:none;stroke:var(--cdh-blue);stroke-width:2.5;
 stroke-linecap:round;stroke-linejoin:round;
}
body.eplan-redesign.client-ui #app .client-dash-chart-point{
 fill:var(--cdh-blue);stroke:var(--cdh-card);stroke-width:.85;
}
body.eplan-redesign.client-ui #app .client-dash-week-empty{
 padding:23px 0 17px;text-align:center;
 font-size:11px;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-weekdays{
 display:grid;grid-template-columns:repeat(7,1fr);gap:0;
 margin-top:4px;text-align:center;
 font-size:9px;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-weekly-checkin{
 margin:0!important;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-home-trainers{
 margin-top:0!important;
}
@media(max-width:370px){
 body.eplan-redesign.client-ui #app .client-home-v2{gap:16px}
 body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-workout{
  min-height:235px;padding:18px 16px 16px;
 }
 body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-workout>strong{
  font-size:21px;
 }
 body.eplan-redesign.client-ui #app .client-dash-metrics{gap:6px}
 body.eplan-redesign.client-ui #app .client-dash-metric{
  min-height:148px;padding:11px 7px;
 }
 body.eplan-redesign.client-ui #app .client-dash-metric-head{
  font-size:10px;gap:4px;
 }
 body.eplan-redesign.client-ui #app .client-dash-metric-icon{
  width:23px;height:23px;flex-basis:23px;
 }
 body.eplan-redesign.client-ui #app .client-dash-metric-icon .ui-icon{
  width:16px;height:16px;
 }
 body.eplan-redesign.client-ui #app :is(.client-dash-nutrition,.client-dash-week){
  padding:15px 12px;
 }
 body.eplan-redesign.client-ui #app .client-dash-food-content{
  gap:9px;grid-template-columns:minmax(100px,.9fr) minmax(0,1.35fr);
 }
 body.eplan-redesign.client-ui #app .client-dash-week-stats>div{
  padding-left:7px;padding-right:7px;
 }
 body.eplan-redesign.client-ui #app .client-dash-week-dots{gap:3px}
 body.eplan-redesign.client-ui #app .client-dash-week-dots i{
  width:8px;height:8px;flex-basis:8px;
 }
}
/* Keep native reduced-motion preferences; no ornamental animation required. */

/* Home v286 welcome: one greeting alongside the existing profile/notification icons. */
body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;
 gap:12px!important;
 min-height:0!important;
 margin-bottom:18px!important;
 padding-top:12px!important;
 padding-bottom:11px!important;
}
body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting{
 min-width:0!important;
 display:flex;flex-direction:column;align-items:flex-start;
 gap:5px!important;
}
body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting strong{
 display:block;max-width:100%;
 font-size:clamp(21px,5.5vw,26px)!important;
 line-height:1.15!important;font-weight:900!important;
 letter-spacing:-.025em!important;
 color:var(--text)!important;
}
body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting span{
 display:block;max-width:245px;
 font-size:11px!important;line-height:1.35!important;
 color:var(--muted)!important;
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting strong{
 color:#F4F7FB!important;
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting span{
 color:#9AA6B2!important;
}
body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-top-actions{
 display:flex;align-items:center;gap:8px;flex:none;
}
@media(max-width:360px){
 body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting strong{
  font-size:20px!important;
 }
 body.eplan-redesign.client-ui #app .client-shell:has(.client-home-v2) .client-top-dashboard .client-greeting span{
  font-size:10px!important;
 }
}

/* v287 cobalt hero removed: the new gender-aware workout card is controlled by client-workout-home-v2.css. */
/* Light mode now uses the same compact amber expiry reminder as OLED:
   no full-height alert, one readable chip and a quiet tariff line. */
body.eplan-redesign.client-ui[data-eplan-theme="light"] #app .client-access-banner:not(.expired){
 display:flex!important;
 flex-wrap:wrap!important;
 align-items:center!important;
 gap:5px 12px!important;
 min-height:0!important;
 margin:0 0 14px!important;
 padding:10px 13px!important;
 background:#FFF8ED!important;
 background-image:none!important;
 border:1px solid #E9C68C!important;
 border-radius:14px!important;
 box-shadow:none!important;
 color:#664522!important;
}
body.eplan-redesign.client-ui[data-eplan-theme="light"] #app .client-access-banner:not(.expired)>strong{
 display:inline-flex!important;
 align-items:center!important;
 gap:7px!important;
 margin:0!important;
 padding:4px 9px!important;
 border-radius:999px!important;
 background:#FBE7C9!important;
 color:#95551B!important;
 font-size:12px!important;
 font-weight:800!important;
 line-height:1.35!important;
 white-space:normal!important;
}
body.eplan-redesign.client-ui[data-eplan-theme="light"] #app .client-access-banner:not(.expired)>strong:before{
 content:""!important;
 display:block!important;
 flex:0 0 6px!important;
 width:6px!important;height:6px!important;
 border-radius:50%!important;
 background:#D99031!important;
}
body.eplan-redesign.client-ui[data-eplan-theme="light"] #app .client-access-banner:not(.expired)>p{
 min-width:0!important;
 margin:0!important;
 font-size:11px!important;
 line-height:1.4!important;
 color:#86684A!important;
 overflow-wrap:anywhere!important;
}


/* Client home v327 — compact today/weekly navigation, scoped to client only. */
body.eplan-redesign.client-ui #app .client-home-v2{
  gap:15px;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-calendar{
  display:block;min-width:0;padding:15px 15px 13px;
  background:var(--cdh-card)!important;
  color:var(--cdh-text);border:1px solid var(--cdh-border);
  border-radius:19px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-head{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  margin-bottom:12px;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-head strong{
  font-size:15px;font-weight:850;letter-spacing:-.01em;color:var(--cdh-text);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-head>span{
  color:var(--cdh-muted);font-weight:650;font-size:11px;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-days{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:5px;min-width:0;min-height:67px;padding:8px 1px 5px;
  border-radius:12px;background:var(--cdh-subtle);
  border:1px solid transparent;color:var(--cdh-text);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day.is-today{
  border-color:var(--cdh-blue);background:var(--cdh-glow);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day>span{
  font-size:10px;font-weight:650;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day>strong{
  font-size:15px;font-weight:850;line-height:1;color:var(--cdh-text);
  font-variant-numeric:tabular-nums;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day>small{
  display:grid;place-items:center;height:13px;line-height:1;
  color:var(--cdh-muted);font-size:13px;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day.is-done>small{
  color:var(--cdh-green);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day.is-done>small .ui-icon{
  display:block;width:13px;height:13px;stroke-width:3;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-day.is-active>small{
  color:var(--cdh-blue);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-legend{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-top:9px;font-size:10px;line-height:1.3;color:var(--cdh-muted);
}
body.eplan-redesign.client-ui #app .client-dash-calendar-legend span{
  display:flex;align-items:center;gap:5px;
}
body.eplan-redesign.client-ui #app .client-dash-calendar-legend i{
  width:7px;height:7px;border-radius:50%;background:var(--cdh-green);
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-workout{
  min-height:203px;padding:18px 18px 15px;border-radius:19px!important;
}
body.eplan-redesign.client-ui #app .client-dash-workout>strong{
  margin:11px 0 8px;font-size:clamp(20px,5.5vw,25px);
}
body.eplan-redesign.client-ui #app .client-dash-workout-note{
  margin:8px 0 12px;
}
body.eplan-redesign.client-ui #app .client-dash-workout-cta{
  min-height:44px;padding:9px 10px;
}
body.eplan-redesign.client-ui #app .client-dash-workout-cycle{
  margin-top:7px;
}
body.eplan-redesign.client-ui #app .client-dash-workout.is-finished .client-dash-workout-kicker{
  color:#98E8BD;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-nutrition{
  padding:15px 15px 13px;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-food-content{
  grid-template-columns:minmax(88px,104px) minmax(0,1fr);
  gap:12px;margin-top:12px;
}
body.eplan-redesign.client-ui #app .client-dash-calorie-ring{
  width:min(100%,104px);
}
body.eplan-redesign.client-ui #app .client-dash-calorie-ring:before{
  inset:9px;
}
body.eplan-redesign.client-ui #app .client-dash-calorie-value strong{
  font-size:clamp(18px,5vw,23px);
}
body.eplan-redesign.client-ui #app .client-dash-calorie-value small{
  font-size:8px;text-align:center;
}
body.eplan-redesign.client-ui #app .client-dash-macros{
  gap:9px;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-week{
  padding:15px 15px 12px;
}
body.eplan-redesign.client-ui #app .client-home-v2 .client-dash-week-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;margin:15px 0 0;
}
body.eplan-redesign.client-ui #app .client-dash-week-stats>div{
  min-height:56px;
}
body.eplan-redesign.client-ui #app .client-dash-steps-inline{
  display:flex;flex-direction:column;align-items:flex-start;gap:5px;
  flex:none;min-height:56px;min-width:0;
  width:100%;margin:0;padding:0 0 0 11px;
  text-align:left;border:0!important;border-radius:0;
  background:transparent!important;box-shadow:none!important;
  color:var(--cdh-text)!important;
}
body.eplan-redesign.client-ui #app .client-dash-steps-inline strong{
  color:var(--cdh-text)!important;
  font-size:clamp(16px,4.7vw,23px);
  letter-spacing:-.025em;line-height:1.12;font-weight:900;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
body.eplan-redesign.client-ui #app .client-dash-steps-inline span,
body.eplan-redesign.client-ui #app .client-dash-steps-inline small{
  font-size:10px;line-height:1.25;color:var(--cdh-muted);
}
@media(max-width:350px){
  body.eplan-redesign.client-ui #app .client-dash-calendar-days{gap:4px}
  body.eplan-redesign.client-ui #app .client-dash-calendar-day{border-radius:10px}
  body.eplan-redesign.client-ui #app .client-dash-steps-inline{padding-left:7px}
  body.eplan-redesign.client-ui #app .client-dash-week-stats>div{padding:0 7px}
}


/* Client BJU auto kcal v377 — display-only summary, never an editable kcal input. */
body.eplan-redesign.client-ui .manual-nutrition-kcal{
 display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;
 margin-top:12px;padding:12px 14px;min-width:0;
 border:1px solid rgba(106,148,202,.23);border-radius:14px;
 background:rgba(225,238,255,.48);
 color:#536B86;
}
body.eplan-redesign.client-ui .manual-nutrition-kcal>span{
 font-size:12px;line-height:1.35;font-weight:700;
}
body.eplan-redesign.client-ui .manual-nutrition-kcal>strong{
 font-size:17px;line-height:1.25;letter-spacing:-.02em;font-weight:850;
 color:#174A86;font-variant-numeric:tabular-nums;
}
body.eplan-redesign.client-ui .manual-nutrition-kcal>small{
 width:100%;font-size:10px;line-height:1.35;color:#73839C;
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] .manual-nutrition-kcal{
 border-color:rgba(110,159,220,.23);
 background:rgba(42,67,99,.38);color:#BCCDE0;
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] .manual-nutrition-kcal>strong{
 color:#A7CAFC;
}
body.eplan-redesign.client-ui[data-eplan-theme="dark"] .manual-nutrition-kcal>small{
 color:#92A5BD;
}
body.eplan-redesign.client-ui #nutritionDateModal .nutrition-date-grid{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(max-width:410px){
 body.eplan-redesign.client-ui #nutritionDateModal .nutrition-date-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 body.eplan-redesign.client-ui #nutritionDateModal .nutrition-date-grid>label:last-child{
  grid-column:span 2;
 }
}
