@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap";
:root {
  color-scheme: dark;
  --bg:#161916;
  --bg2:#20251f;
  --bg3:#292e27;
  --bg4:#32392f;
  --text:#f2f4e9;
  --text2:#b8beaf;
  --text3:#a3ad98;
  --border:#3b4235;
  --accent:#c8e99a;
  --accent2:#d6eeba;
  --accent3:#a8cb77;
  --ink:#24341b;
  --green:#a3c67a;
  --green2:#b8d996;
  --orange:#e9ba75;
  --red:#f5988a;
  --red2:var(--red);
  --orange2:var(--orange);
  --green-soft:#8cb45b18;
  --accent-soft:#c8e99a16;
  --red-soft:#f5988a16;
  --orange-soft:#e9ba7516;
  --radius:18px;
  --radius-sm:12px;
  --hero:#dbe5cb;
  --hero-ink:#2c3924;
  --shadow:0 12px 50px #0002;
  --border-light:var(--border);
}
body.light {
  color-scheme: light;
  --bg:#f7f8f2;
  --bg2:#fff;
  --bg3:#f2f4ed;
  --bg4:#e8eddf;
  --text:#283222;
  --text2:#69705f;
  --text3:#6a745f;
  --border:#e3e8dc;
  --accent:#d1e9ac;
  --accent2:#4e6838;
  --accent3:#77964e;
  --ink:#2b3e1e;
  --green:#527f3f;
  --green2:#527f3f;
  --orange:#8f612e;
  --red:#bb483d;
  --accent-soft:#d1e9ac40;
  --hero:#e0e9d1;
  --shadow:0 12px 50px #26351b0d;
}
html {
  scroll-padding-top: 100px;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-left: 232px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent3);
  outline-offset: 4px;
}
button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
input,
select {
  min-height: 46px;
}
input[type=number] {
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -.035em;
}
.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 40px 70px;
  min-height: 80vh;
}
.elite-brand {
  display: none;
}
.page.active {
  animation: studioIn .24s ease;
}
.studio-logo {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font: 800 25px/1 "Manrope", sans-serif;
  letter-spacing: -1px;
}
.studio-logo small {
  display: block;
  font: 600 8px/2.4 "DM Sans", sans-serif;
  letter-spacing: 2px;
}
.logo-symbol {
  height: 42px;
  width: 42px;
  background: var(--text);
  color: var(--bg);
  font-size: 28px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo-symbol span {
  position: absolute;
  font-size: 15px;
  right: 4px;
  top: 2px;
}
.studio-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 232px;
  border-right: 1px solid var(--border);
  background: var(--bg2);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--text3);
  margin: 52px 12px 15px;
}
.studio-sidebar nav {
  display: grid;
  gap: 8px;
}
.studio-sidebar nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  border: 0;
  border-radius: 10px;
  background: none;
  padding: 12px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 550;
  text-align: left;
}
.studio-sidebar nav button.selected {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.studio-sidebar nav button > span {
  margin-left: auto;
  font-size: 19px;
}
.sidebar-note {
  margin-top: auto;
  padding: 24px 14px 24px;
  background: var(--bg3);
  border-radius: 14px;
}
.note-mark {
  display: block;
  font: 500 35px "Manrope";
  margin-bottom: 16px;
}
.sidebar-note strong {
  font-size: 12px;
  display: block;
}
.sidebar-note p {
  font-size: 11px;
  color: var(--text2);
  margin-top: 8px;
  line-height: 1.7;
}
.sidebar-profile {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}
.profile-avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: var(--hero);
  color: var(--hero-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.sidebar-profile strong {
  font-size: 12px;
  display: block;
}
.sidebar-profile small {
  font-size: 9px;
  color: var(--text2);
}
.studio-topbar {
  height: 82px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
  background: var(--bg);
}
.top-breadcrumb {
  display: flex;
  gap: 13px;
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--text2);
  align-items: center;
}
.top-breadcrumb strong {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 550;
  color: var(--text);
}
.top-date {
  margin-left: auto;
  color: var(--text2);
  font-size: 11px;
  padding-right: 95px;
}
.top-library {
  position: absolute;
  right: 96px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--text);
}
.theme-toggle {
  position: absolute;
  right: 40px;
  top: 21px;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
}
.theme-toggle svg {
  width: 19px;
  height: 19px;
}
.th-sun {
  display: block;
}
.th-moon {
  display: none;
}
body.light .th-sun {
  display: none;
}
body.light .th-moon {
  display: block;
}
.studio-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 36px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text2);
  display: block;
}
.studio-page-title h1 {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.35;
  margin: 7px 0;
}
.studio-page-title h1 em {
  font-style: normal;
  color: var(--accent2);
}
.studio-page-title p {
  color: var(--text2);
  font-size: 12px;
}
.soft-button,
.primary-button {
  border-radius: 10px;
  min-height: 46px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.soft-button:hover {
  background: var(--bg3);
  border-color: var(--accent3);
}
.primary-button {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  font-weight: 700;
}
.primary-button:hover {
  filter: brightness(.96);
}
.week-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin: 8px 0 12px;
}
.week-label strong {
  font-weight: 600;
}
.week-label > span {
  color: var(--text2);
  font-size: 10px;
}
.day-nav {
  position: static;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0;
  margin: 0 0 26px;
  border: 0;
  background: transparent;
}
.day-btn {
  min-width: 0;
  padding: 14px 5px 12px;
  min-height: 66px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 10px;
  color: var(--text2);
  font-weight: 500;
  transition: background .2s;
}
.day-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: none;
}
.day-btn .day-sub {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 750;
  margin-top: 5px;
  letter-spacing: .3px;
}
.day-btn:hover:not(.active) {
  border-color: var(--accent3);
}
.workout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 26px;
  align-items: start;
}
.workout-main {
  min-width: 0;
}
.workout-hero {
  min-height: 284px;
  border-radius: 18px;
  position: relative;
  background: var(--hero);
  color: var(--hero-ink);
  overflow: hidden;
  display: flex;
  padding: 29px 30px 36px;
}
.hero-copy {
  z-index: 1;
  width: 58%;
  position: relative;
}
.hero-status {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #648141;
}
.hero-copy h2 {
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -4px;
  margin: 22px 0 15px;
}
.hero-copy p {
  font-size: 11px;
  max-width: 245px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  gap: 18px;
  font-size: 9px;
  margin-top: 21px;
  flex-wrap: wrap;
}
.hero-stats b {
  font-size: 13px;
}
.hero-art {
  position: absolute;
  right: -6%;
  top: 0;
  height: 100%;
  width: 59%;
  mask-image:
    linear-gradient(
      to right,
      transparent,
      #000 20%);
  mix-blend-mode: multiply;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-edition {
  position: absolute;
  right: 18px;
  bottom: 13px;
  font-size: 7px;
  letter-spacing: 2px;
  opacity: .6;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 31px 0 20px;
}
.section-heading h2 {
  font-size: 23px;
  font-weight: 650;
  margin-top: 5px;
}
.section-heading > span {
  font-size: 10px;
  color: var(--text2);
}
.overview-group {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 17px;
  overflow: hidden;
}
.overview-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.overview-group-title h3 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.overview-group-title > span {
  font-size: 10px;
  color: var(--text2);
}
.overview-exercise {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.overview-exercise:last-child {
  border-bottom: 0;
}
.overview-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border: 0;
  background: #eeeee8;
  border-radius: 10px;
  overflow: hidden;
}
.exercise-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.overview-ex-copy {
  min-width: 0;
  flex: 1;
}
.exercise-overline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 9px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.exercise-overline > span:first-child {
  font-size: 8px;
  font-weight: 700;
  color: var(--text3);
}
.overview-ex-copy h3 {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: -.01em;
}
.overview-prescription {
  display: flex;
  gap: 13px;
  color: var(--text2);
  font-size: 9px;
  flex-wrap: wrap;
  margin-top: 9px;
}
.overview-prescription b {
  color: var(--text);
  font-weight: 600;
}
.overview-prescription span {
  display: flex;
  gap: 4px;
  align-items: center;
}
.overview-prescription svg {
  width: 12px;
  height: 12px;
}
.swap-button {
  background: var(--bg2);
  color: var(--text2);
  border: 1px solid var(--border);
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.swap-button svg {
  width: 16px;
  height: 16px;
}
.swap-button:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.changed-label {
  color: var(--green);
  background: var(--green-soft);
  border-radius: 4px;
  padding: 1px 5px;
}
.workout-aside {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 20px;
}
.ready-card {
  padding: 25px 23px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.ready-card h2 {
  font-size: 23px;
  font-weight: 650;
  line-height: 1.35;
  margin: 13px 0;
}
.ready-card p,
.warmup-card p,
.swap-tip-card p,
.cardio-summary p {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.9;
}
.ready-card .primary-button {
  width: 100%;
  margin-top: 23px;
  justify-content: space-between;
}
.text-button {
  display: block;
  width: 100%;
  font-size: 10px;
  color: var(--text2);
  background: none;
  border: 0;
  padding: 14px 0 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.warmup-card,
.swap-tip-card {
  border-radius: 15px;
  border: 1px solid var(--border);
  padding: 22px;
  background: var(--bg2);
}
.warmup-card {
  background: var(--bg3);
}
.aside-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 15px;
}
.aside-icon svg {
  width: 17px;
  height: 17px;
}
.warmup-card h3,
.swap-tip-card h3,
.cardio-summary h3 {
  font-size: 15px;
  margin: 6px 0 9px;
  font-weight: 650;
}
.swap-tip-card {
  border: 1px dashed var(--accent3);
}
.swap-tip-card > span {
  font-size: 10px;
  display: block;
  margin-top: 14px;
  color: var(--accent2);
  font-weight: 600;
}
.cardio-summary {
  padding: 6px 10px;
}
.bottom-nav {
  display: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 250px;
  z-index: 9999;
  background: var(--accent);
  padding: 12px;
  color: var(--ink);
}
.skip-link:focus {
  top: 10px;
}
.library-controls {
  display: flex;
  gap: 14px;
  align-items: end;
  margin-bottom: 22px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 11px;
  min-width: 0;
  flex: 1;
  color: var(--text2);
}
.search-field svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.search-field input {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  outline-offset: 0;
  font-size: 13px;
  min-height: 50px;
  min-width: 0;
}
.select-field {
  display: grid;
  gap: 6px;
  min-width: 190px;
}
.select-field > span {
  color: var(--text2);
  font-size: 10px;
}
.select-field select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--bg2);
  color: var(--text);
  font-size: 12px;
  height: 50px;
  max-width: 100%;
}
.muscle-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg2);
  font-size: 11px;
  color: var(--text2);
}
.filter-chip.selected {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.library-result-count {
  font-size: 11px;
  color: var(--text2);
  margin: 24px 0 14px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.library-card {
  padding: 0;
  text-align: left;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  color: var(--text);
  transition: transform .2s, border-color .2s;
}
.library-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent3);
}
.library-image-wrap {
  aspect-ratio: 1.3;
  background: #eeeee8;
  position: relative;
  overflow: hidden;
}
.library-image-wrap img {
  object-fit: contain;
}
.library-card-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #ffffffde;
  border-radius: 50%;
  color: #283222;
}
.library-card-body {
  padding: 17px;
}
.library-card h3 {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  margin: 7px 0 12px;
}
.equipment-tag {
  display: inline-block;
  color: var(--text2);
  background: var(--bg3);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
}
.load-more {
  margin: 28px auto;
  display: flex;
}
.load-more[hidden] {
  display: none;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
  grid-column: 1/-1;
  color: var(--text2);
}
.empty-state > svg {
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
}
.empty-state h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.exercise-dialog {
  margin: auto;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 820px;
  width: calc(100% - 40px);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: var(--shadow);
  padding: 0;
}
.exercise-dialog::backdrop {
  background: #141b16b3;
  backdrop-filter: blur(5px);
}
#exerciseDialogBody {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.detail-image {
  background: #eeeee8;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.detail-image img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
}
.detail-copy {
  padding: 40px 30px 28px;
}
.detail-copy h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 12px 0 18px;
}
.detail-facts {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--text2);
}
.detail-facts span {
  background: var(--bg3);
  padding: 5px 8px;
  border-radius: 5px;
}
.detail-copy h3 {
  font-size: 15px;
  margin: 28px 0 14px;
}
.detail-copy ol {
  padding-left: 18px;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.8;
}
.detail-copy li {
  margin-bottom: 12px;
  padding-left: 5px;
}
.illustration-note {
  font-size: 9px;
  color: var(--text3);
  margin-top: 24px;
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.dialog-open {
  overflow: hidden;
}
.image-missing {
  display: grid;
  place-items: center;
  background: var(--bg3);
}
.image-missing svg {
  width: 32px;
  height: 32px;
}
.image-unavailable {
  background: var(--bg3);
}
.swap-overlay {
  padding: 24px;
  background: #141b16a8;
  backdrop-filter: blur(5px);
}
.swap-modal {
  max-width: 570px;
  max-height: 90dvh;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.swap-modal-header {
  padding: 22px 24px;
  gap: 20px;
}
.swap-modal-header h3 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 650;
}
.swap-modal-header h3 .eyebrow {
  font-size: 8px;
  margin-bottom: 7px;
}
.swap-modal-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--bg3);
  color: var(--text);
  padding: 0;
  font-size: 25px;
}
.swap-modal-body {
  padding: 0 24px 24px;
  overscroll-behavior: contain;
}
.swap-current {
  display: flex;
  gap: 15px;
  align-items: center;
  background: var(--bg3);
  border-radius: 13px;
  padding: 12px;
  margin: 16px 0;
}
.swap-current img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}
.swap-current > div {
  display: grid;
  gap: 5px;
}
.swap-current small {
  font-size: 8px;
  color: var(--text2);
  letter-spacing: 1px;
}
.swap-current strong {
  font-size: 13px;
  font-weight: 600;
}
.swap-current span {
  font-size: 10px;
  color: var(--text2);
}
.swap-help {
  font-size: 11px;
  line-height: 1.8;
  color: var(--text2);
  margin: 18px 0;
}
.swap-select {
  margin: 16px 0;
}
.swap-result-heading {
  font-size: 10px;
  color: var(--text2);
  margin: 22px 0 10px;
}
.swap-candidate {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  color: var(--text);
}
.swap-candidate:hover {
  background: var(--bg3);
}
.swap-candidate img {
  width: 76px;
  height: 76px;
  border-radius: 9px;
  flex-shrink: 0;
}
.candidate-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}
.candidate-copy strong {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.candidate-copy small {
  font-size: 10px;
  color: var(--text2);
}
.match-label {
  font-size: 8px;
  color: var(--text2);
}
.match-label.best {
  color: var(--green);
  font-weight: 600;
}
.candidate-action {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.candidate-action svg {
  width: 17px;
  height: 17px;
}
.swap-notice,
#swapFeedback:not(:empty) {
  padding: 12px;
  border-radius: 9px;
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  line-height: 1.8;
}
.restore-swap {
  width: 100%;
  margin-top: 18px;
}
.studio-toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 116px);
  transform: translate(-50%, 30px);
  background: var(--text);
  color: var(--bg);
  padding: 15px 22px;
  border-radius: 12px;
  font-size: 12px;
  box-shadow: var(--shadow);
  z-index: 3000;
  max-width: calc(100% - 40px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s, opacity .2s;
}
.studio-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.studio-toast.error {
  background: var(--red);
  color: #fff;
}
.btn {
  min-height: 46px;
  border-radius: 10px;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}
.day-header {
  border-left: 0;
  padding: 24px;
  background: var(--hero);
  color: var(--hero-ink);
}
.day-header h2 {
  font-size: 32px;
}
.day-header .subtitle {
  color: var(--hero-ink);
  font-size: 12px;
  opacity: .8;
}
.dh-kicker {
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.dh-muscles {
  display: none !important;
}
.day-header .warmup {
  font-size: 11px;
  color: var(--hero-ink);
  background: #ffffff55;
  border: 0;
  padding: 8px 12px;
  margin-top: 16px;
}
.day-edit-btn {
  min-height: 44px;
  border: 1px solid #80936555;
  background: transparent;
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--hero-ink);
  margin-top: 14px;
}
.session-bar {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 12px;
  color: var(--text2);
}
.sb-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-v {
  color: var(--text);
  font-weight: 700;
}
.session-progress {
  display: block;
  padding: 18px;
}
.sp-top,
.sp-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sp-count strong {
  font-size: 24px;
  margin-right: 7px;
}
.sp-count span {
  font-size: 12px;
  color: var(--text2);
}
.session-progress .p-bar {
  margin-top: 12px;
}
.session-progress .p-fill {
  background: var(--green);
}
.muscle-group {
  margin-top: 20px;
}
.mg-header {
  padding: 16px;
  gap: 12px;
}
.mg-icon {
  height: 40px;
  width: 40px;
  object-fit: contain;
  background: #f0f2ea;
  border-radius: 8px;
}
.mg-titles {
  flex: 1;
  min-width: 0;
}
.mg-meta {
  display: flex;
  gap: 7px;
  font-size: 10px;
  color: var(--text2);
  margin-top: 5px;
}
.mg-vol {
  display: none;
}
.ex-row {
  padding: 20px;
  border-color: var(--border);
}
.ex-top {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.ex-main {
  min-width: 0;
  flex: 1;
}
.ex-name-row {
  display: flex;
  gap: 7px;
  align-items: center;
}
.ex-name {
  white-space: normal;
  text-overflow: clip;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}
.ex-tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.ex-tag {
  font-size: 9px;
  padding: 3px 6px;
  border-radius: 5px;
}
.active-ex-thumb {
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eeeee8;
  padding: 0;
}
.ex-play {
  min-height: 44px;
  min-width: 44px;
  border-radius: 10px;
}
.ex-play.running,
.ex-play.done {
  color: var(--ink);
  background: var(--accent);
  box-shadow: none;
}
.ex-swap-btn {
  min-height: 44px;
  min-width: 70px;
  border-radius: 9px;
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text);
}
.ex-video-btn,
.ex-reset {
  min-width: 44px;
  min-height: 44px;
}
.ex-pills {
  gap: 6px;
}
.ex-pills span {
  font-size: 11px;
  padding: 5px 9px;
  background: var(--bg3) !important;
  color: var(--text2) !important;
}
.ex-dots {
  margin-top: 15px;
  gap: 8px;
}
.ex-dot {
  min-height: 40px;
  min-width: 40px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.ex-dot.done {
  background: var(--green);
  color: var(--bg2);
}
.ex-dot.next {
  background: var(--accent);
  color: var(--ink);
  box-shadow: none;
}
.ex-tip {
  font-size: 12px;
  line-height: 1.9;
  padding: 12px 15px;
  background: var(--bg3);
  border-color: var(--accent3);
}
.ex-input-pro {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.eip-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}
.eip-label {
  font-size: 10px;
  color: var(--text2);
  text-align: center;
}
.eip-stepper {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}
.eip-btn {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg3);
  color: var(--text);
  font-size: 22px;
}
.eip-stepper input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  text-align: center;
  font-size: 22px;
  color: var(--text);
  font-weight: 650;
}
.btn-done-pro {
  margin-top: 12px;
  min-height: 50px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  width: 100%;
  border: 0;
}
.rest-bar {
  display: none;
  position: fixed;
  bottom: 22px;
  left: calc(50% + 116px);
  transform: translateX(-50%);
  width: calc(100% - 50px);
  max-width: 530px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 550;
  overflow: hidden;
}
.rb-prog {
  height: 4px;
  background: var(--accent3);
}
.rb-row {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 12px;
}
.rb-info {
  flex: 1;
  min-width: 0;
}
.rb-kicker {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--text2);
}
.rb-label {
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.rb-time {
  font-size: 26px;
  font-weight: 700;
  min-width: 61px;
  font-variant-numeric: tabular-nums;
}
.rb-add,
.rb-skip {
  min-height: 44px;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 9px;
  background: var(--bg3);
  color: var(--text);
  font-size: 12px;
}
.rb-skip {
  background: var(--accent);
  color: var(--ink);
}
.ex-edit {
  flex-wrap: wrap;
}
.ex-edit input {
  min-height: 44px;
  font-size: 16px;
}
.edit-modal,
.picker-modal,
.wizard,
.modal {
  border-radius: 18px;
  max-height: 90dvh;
}
.edit-modal-close,
.close-btn,
.picker-head button {
  min-width: 44px;
  min-height: 44px;
}
.picker-item {
  min-height: 70px;
}
.picker-search {
  font-size: 16px;
}
.page-header {
  text-align: left;
  margin: 0 0 30px;
  padding: 0;
}
.page-header h1 {
  font-size: 36px;
}
.page-header p {
  font-size: 13px;
  color: var(--text2);
}
.cal-cell .c-clear {
  display: flex;
  min-width: 28px;
  min-height: 28px;
}
.cal-grid {
  gap: 10px;
}
.cal-cell {
  border-radius: 13px;
  min-height: 65px;
}
.weight-chart-wrap {
  overflow: hidden;
}
.finish-section {
  padding: 28px;
}
.ex-history {
  font-size: 12px;
}
.exh-sets {
  font-size: 12px;
}
.exh-date {
  font-size: 10px;
}
.mg-header[role=button] {
  cursor: pointer;
}
@keyframes studioIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .workout-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .hero-copy h2 {
    font-size: 78px;
  }
  .workout-hero {
    min-height: 320px;
  }
}
@media (max-width: 1200px) {
  body {
    padding-left: 200px;
  }
  .studio-sidebar {
    width: 200px;
    padding: 26px 15px;
  }
  .page {
    padding: 28px 28px 70px;
  }
  .workout-layout {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 225px;
  }
  .overview-exercise {
    padding: 14px;
    gap: 11px;
  }
  .overview-thumb {
    width: 65px;
    height: 65px;
  }
  .swap-button span {
    display: none;
  }
  .swap-button {
    width: 44px;
  }
  .hero-copy h2 {
    font-size: 58px;
  }
  .workout-hero {
    padding: 26px 23px;
  }
  .ready-card {
    padding: 20px;
  }
  .ready-card h2 {
    font-size: 21px;
  }
  .studio-toast,
  .rest-bar {
    left: calc(50% + 100px);
  }
}
@media (max-width: 1020px) {
  .workout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .workout-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
    grid-row: 2;
  }
  .ready-card {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
  .ready-card .eyebrow,
  .ready-card h2,
  .ready-card p {
    grid-column: 1;
  }
  .ready-card .primary-button {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
  }
  .ready-card .text-button {
    grid-column: 2;
    grid-row: 3/5;
    align-self: end;
  }
  .cardio-summary {
    display: none;
  }
  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-breadcrumb {
    font-size: 8px;
  }
  .top-date {
    display: none;
  }
  .studio-page-title .soft-button {
    padding: 10px;
    font-size: 10px;
  }
  .hero-copy h2 {
    font-size: 72px;
  }
  .workout-hero {
    min-height: 290px;
  }
}
@media (max-width: 760px) {
  body {
    padding-left: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .studio-sidebar {
    display: none;
  }
  .studio-topbar {
    height: 68px;
    padding: 0 20px;
  }
  .top-breadcrumb {
    font-size: 8px;
    gap: 9px;
  }
  .top-breadcrumb strong {
    font-size: 11px;
  }
  .theme-toggle {
    top: 14px;
    right: 18px;
  }
  .top-library {
    right: 67px;
    width: 40px;
    height: 40px;
  }
  .page {
    padding: 27px 18px calc(110px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100%;
  }
  .studio-page-title {
    margin-bottom: 26px;
    gap: 14px;
    align-items: start;
  }
  .studio-page-title h1 {
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -1.4px;
  }
  .studio-page-title p {
    font-size: 11px;
    margin-top: 8px;
  }
  .studio-page-title .soft-button {
    font-size: 0;
    width: 44px;
    min-width: 44px;
    padding: 0;
    margin-top: 16px;
  }
  .studio-page-title .soft-button svg {
    width: 19px;
    height: 19px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .week-label {
    font-size: 11px;
    margin-bottom: 11px;
  }
  .week-label > span {
    font-size: 8px;
  }
  .day-nav {
    gap: 5px;
    margin-bottom: 18px;
  }
  .day-btn {
    padding: 11px 1px;
    min-height: 61px;
    font-size: 9px;
    border-radius: 9px;
  }
  .day-btn .day-sub {
    font-size: 9px;
    letter-spacing: 0;
  }
  .workout-hero {
    padding: 24px 22px;
    min-height: 273px;
    border-radius: 15px;
  }
  .hero-status {
    font-size: 7px;
    letter-spacing: .8px;
  }
  .hero-copy {
    width: 64%;
  }
  .hero-copy h2 {
    font-size: 62px;
    letter-spacing: -3.8px;
    margin: 21px 0 13px;
  }
  .hero-copy p {
    font-size: 10px;
    max-width: 180px;
  }
  .hero-stats {
    gap: 13px;
    font-size: 8px;
    margin-top: 18px;
  }
  .hero-stats b {
    font-size: 11px;
  }
  .hero-art {
    width: 63%;
    right: -15%;
    mask-image:
      linear-gradient(
        to right,
        transparent,
        #000 22%);
  }
  .hero-art img {
    object-position: 50%;
  }
  .hero-edition {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .section-heading {
    margin: 26px 0 16px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading > span {
    font-size: 9px;
  }
  .overview-group-title {
    padding: 13px;
  }
  .overview-group-title h3 {
    font-size: 12px;
  }
  .overview-group-title > span {
    font-size: 9px;
  }
  .overview-exercise {
    gap: 10px;
    padding: 14px 12px;
    align-items: center;
  }
  .overview-thumb {
    width: 64px;
    height: 75px;
    border-radius: 8px;
  }
  .overview-thumb img {
    object-fit: cover;
  }
  .overview-ex-copy h3 {
    font-size: 12px;
    line-height: 1.5;
  }
  .exercise-overline {
    font-size: 8px;
    gap: 5px;
    margin-bottom: 4px;
  }
  .overview-prescription {
    gap: 8px;
    font-size: 8px;
    margin-top: 7px;
  }
  .overview-prescription svg {
    height: 11px;
    width: 11px;
  }
  .swap-button {
    width: 40px;
    min-height: 44px;
    padding: 0;
    background: var(--bg3);
  }
  .swap-button svg {
    width: 17px;
  }
  .workout-aside {
    gap: 12px;
  }
  .ready-card {
    display: block;
    grid-column: 1/-1;
    padding: 23px;
  }
  .ready-card h2 br {
    display: none;
  }
  .ready-card h2 {
    font-size: 23px;
  }
  .ready-card .primary-button {
    min-height: 49px;
    margin-top: 17px;
  }
  .warmup-card,
  .swap-tip-card {
    padding: 17px;
  }
  .warmup-card h3,
  .swap-tip-card h3 {
    font-size: 13px;
  }
  .warmup-card p,
  .swap-tip-card p {
    font-size: 10px;
  }
  .swap-tip-card > span {
    font-size: 9px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 70px;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    z-index: 500;
    box-shadow: 0 -4px 24px #202e1510;
  }
  .bottom-nav button {
    flex: 1;
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    background: none;
    border: 0;
    color: var(--text2);
    font-size: 9px;
    font-weight: 550;
    border-radius: 10px;
    padding: 7px;
  }
  .bottom-nav button.active {
    background: var(--accent-soft);
    color: var(--accent2);
  }
  .bottom-nav button svg {
    width: 20px;
    height: 20px;
  }
  .studio-toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    font-size: 11px;
  }
  .rest-bar {
    left: 50%;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
  }
  .rb-row {
    gap: 9px;
    padding: 12px;
  }
  .rb-time {
    font-size: 23px;
    min-width: 56px;
  }
  .rb-label {
    font-size: 10px;
  }
  .rb-add,
  .rb-skip {
    font-size: 11px;
  }
  .library-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .select-field {
    min-width: 0;
  }
  .library-grid {
    gap: 12px;
  }
  .library-card {
    border-radius: 12px;
  }
  .library-card-body {
    padding: 12px;
  }
  .library-card h3 {
    font-size: 12px;
    margin: 7px 0 10px;
  }
  .library-card .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .equipment-tag {
    font-size: 8px;
  }
  .muscle-filters {
    gap: 6px;
    flex-wrap: nowrap;
    overflow: auto;
    padding: 1px 2px 9px;
    scrollbar-width: thin;
  }
  .filter-chip {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
    font-size: 10px;
    padding: 8px 11px;
  }
  .search-field input,
  .select-field select {
    font-size: 16px;
  }
  .library-result-count {
    margin: 17px 0 12px;
    font-size: 10px;
  }
  .swap-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .swap-modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .swap-modal-header {
    padding: 19px 20px 16px;
  }
  .swap-modal-header h3 {
    font-size: 19px;
  }
  .swap-modal-body {
    padding: 0 18px 22px;
  }
  .swap-candidate {
    gap: 11px;
    min-height: 100px;
  }
  .swap-candidate img {
    width: 65px;
    height: 73px;
  }
  .candidate-copy strong {
    font-size: 12px;
  }
  .candidate-action {
    width: 36px;
    flex-shrink: 0;
  }
  .exercise-dialog {
    width: calc(100% - 24px);
    max-height: 90dvh;
    border-radius: 17px;
  }
  #exerciseDialogBody {
    grid-template-columns: 1fr;
  }
  .detail-image {
    min-height: 0;
    height: 270px;
  }
  .detail-image img {
    height: 100%;
    object-fit: contain;
  }
  .detail-copy {
    padding: 24px;
  }
  .detail-copy h2 {
    font-size: 22px;
  }
  .detail-copy ol {
    font-size: 13px;
  }
  .detail-copy h3 {
    margin-top: 23px;
  }
  .ex-row {
    padding: 16px 12px;
  }
  .ex-top {
    gap: 10px;
  }
  .active-ex-thumb {
    width: 62px;
    height: 69px;
  }
  .ex-play {
    min-width: 40px;
    min-height: 44px;
  }
  .ex-name {
    font-size: 13px;
  }
  .ex-tags {
    gap: 4px;
    flex-wrap: wrap;
  }
  .ex-tag {
    font-size: 8px;
  }
  .ex-pills {
    width: 100%;
    padding-left: 0;
    margin-top: 2px;
  }
  .ex-swap-btn {
    min-width: 65px;
  }
  .ex-video-btn {
    display: none;
  }
  .ex-input-pro {
    gap: 9px;
  }
  .eip-field {
    padding: 9px 6px;
  }
  .eip-btn {
    width: 37px;
    min-width: 37px;
    height: 44px;
  }
  .eip-stepper {
    gap: 4px;
  }
  .eip-stepper input {
    font-size: 20px;
  }
  .day-header {
    padding: 20px;
  }
  .day-header h2 {
    font-size: 31px;
  }
  .mg-header {
    padding: 13px;
    gap: 9px;
  }
  .mg-header h3 {
    font-size: 13px;
  }
  .mg-meta {
    font-size: 9px;
  }
  .ex-edit input {
    width: 53px;
  }
  .cal-grid {
    gap: 4px;
  }
  .cal-cell {
    min-height: 46px;
    border-radius: 8px;
  }
  .cal-cell .c-clear {
    width: 24px;
    min-width: 24px;
    min-height: 24px;
    height: 24px;
    font-size: 10px;
    top: -5px;
    right: -3px;
  }
  .cal-cell .c-day {
    font-size: 12px;
  }
  .cal-cell .c-pct {
    font-size: 8px;
  }
  .cal-cell .c-weight {
    font-size: 7px;
  }
  .cal-nav {
    gap: 10px;
  }
  .page-header h1 {
    font-size: 29px;
  }
  .page-header p {
    font-size: 12px;
  }
  .modal-overlay,
  .edit-overlay,
  .picker-overlay,
  .wizard-overlay {
    padding: 12px;
  }
  .skip-link {
    left: 20px;
  }
  .edit-ex-row {
    flex-wrap: wrap;
  }
  .edit-ex-actions button {
    min-height: 40px;
    min-width: 40px;
  }
  input {
    font-size: 16px !important;
  }
  .ex-history {
    max-width: 100%;
    overflow: auto;
  }
}
@media (max-width: 360px) {
  .page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .overview-exercise {
    padding: 12px 9px;
    gap: 8px;
  }
  .overview-thumb {
    width: 54px;
    height: 66px;
  }
  .overview-ex-copy h3 {
    font-size: 11px;
  }
  .overview-prescription {
    gap: 6px;
    font-size: 8px;
  }
  .hero-copy h2 {
    font-size: 57px;
  }
  .hero-copy p {
    font-size: 9px;
  }
  .hero-stats {
    gap: 9px;
  }
  .top-breadcrumb {
    letter-spacing: .3px;
  }
  .hero-status {
    font-size: 6px;
  }
  .library-card-body {
    padding: 10px;
  }
  .library-card h3 {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
[hidden] {
  display: none !important;
}
.mobile-start {
  display: none;
}
@media (max-width: 1020px) {
  .mobile-start {
    display: flex;
    width: 100%;
    justify-content: space-between;
    min-height: 49px;
    margin-top: 14px;
  }
}
.cal-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-cell {
  min-width: 0;
  aspect-ratio: auto;
}
.load-error {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  text-align: center;
}
.ex-swapped .ex-name {
  font-style: normal;
  color: var(--text);
}
body.light .ex-tip,
body.light .exh-sets,
body.light .exh-date,
body.light .ex-history,
body.light .exh-title {
  color: var(--text2) !important;
}
body.light .ex-swap-badge {
  background: var(--accent-soft);
  color: var(--accent2);
}
.ex-tip {
  color: var(--text2) !important;
}
.ex-history {
  color: var(--text2);
}
body.resting .studio-toast {
  bottom: 120px;
}
@media (max-width: 760px) {
  .ex-top {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 44px;
    gap: 11px 10px;
    align-items: center;
  }
  .active-ex-thumb {
    grid-column: 1;
    grid-row: 1;
    height: 78px;
  }
  .ex-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .ex-play {
    grid-column: 3;
    grid-row: 1;
  }
  .ex-name-row {
    display: block;
  }
  .ex-name {
    display: block;
    white-space: normal;
    overflow: visible;
    line-height: 1.5;
  }
  .ex-swap-badge {
    display: inline-block;
    margin: 4px 0 0;
    font-size: 8px;
  }
  .ex-swap-btn {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    justify-self: start;
  }
  .ex-reset {
    grid-column: 3;
    grid-row: 2;
    opacity: 1;
  }
  .ex-pills {
    grid-column: 1/-1;
    grid-row: 3;
    margin: 0;
    justify-content: flex-start;
  }
  .ex-tags {
    margin-top: 7px;
  }
  .ex-tip {
    margin-top: 14px;
    font-size: 12px;
  }
  body.resting .studio-toast {
    bottom: calc(170px + env(safe-area-inset-bottom));
  }
}
/* Account-specific adaptation notes and recovery days. */
.plan-guidance {
  margin: 0 0 24px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg2);
  color: var(--text2);
  font-size: 14px;
  line-height: 1.7;
}
.plan-guidance[hidden] { display: none; }
.plan-guidance summary { cursor: pointer; font-weight: 650; color: var(--text); }
.plan-guidance p { margin: 14px 0 0; }
.workout-aside .cardio-summary { display: block; }
@media (max-width: 1020px) { .workout-aside .cardio-summary { grid-column: 1 / -1; } }
.rest-day-card {
  padding: clamp(24px, 5vw, 64px);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg2);
  max-width: 780px;
}
.rest-day-card h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 20px 0; }
.rest-day-card p { color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
