.studio-athlete-area {
  max-width: 840px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
body[data-questionnaire="true"] { padding:0!important; background:#f5f7f6; }
body[data-questionnaire="true"] > .coach-header,
body[data-questionnaire="true"] > .coach-global { display:none!important; }
body[data-questionnaire="true"] #athlete-area { max-width:720px; width:100%; margin:0 auto; padding:24px 16px 40px; }
.fitnessera-survey-brand { display:flex; justify-content:center; padding:8px 0 16px; }
.fitnessera-survey-brand img { display:block; width:170px; height:auto; max-width:60vw; }
.fitnessera-survey-thanks { padding:48px 20px; text-align:center; }
.fitnessera-survey-thanks h1 { font-size:1.8rem; margin:0 0 16px; }
.fitnessera-survey-thanks p { margin:8px 0; font-size:1rem; line-height:1.6; }
[data-athlete-survey-heading]:focus, [data-athlete-receipt-title]:focus { outline:none; }
.fitnessera-survey-privacy { grid-column:1/-1; font-size:.83rem; padding-top:16px; border-top:1px solid var(--line); }
.fitnessera-survey-privacy h3 { margin-top:14px; }
.fitnessera-survey-privacy p { line-height:1.6; margin:8px 0; }
.fitnessera-survey-privacy > label { display:flex; flex-direction:row; align-items:flex-start; gap:9px; margin-top:12px; line-height:1.5; }
.fitnessera-survey-privacy > label input { width:18px; height:18px; min-width:18px; min-height:18px; margin-top:2px; }
.athlete-warmup-prescription { border-left:3px solid #b6c7c0; padding:9px 12px; background:#f5f8f6; font-size:.84rem; }
.athlete-warmup-prescription ul { list-style:none; margin:6px 0; padding:0; }
.athlete-cardio-block { display:flex; flex-wrap:wrap; gap:6px 18px; padding:12px; border:1px solid var(--line); border-radius:7px; background:#f4f8f6; font-size:.88rem; }
.athlete-banner { min-width: 0; }
.athlete-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 5px 2px;
  scrollbar-width: thin;
}
.athlete-tabs > button { flex: 0 0 auto; white-space: nowrap; }
.athlete-badge {
  display: inline-grid;
  min-width: 1.35em;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--wash);
  color: var(--ink);
  font-size: .75em;
  padding-inline: 3px;
}
.athlete-offline,
.athlete-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.athlete-offline { padding-block: 12px; }
.athlete-offline > button { flex: 0 0 auto; }
.athlete-field-grid,
.athlete-form,
.athlete-exercises,
.athlete-exercise-body {
  display: grid;
  gap: 12px;
}
.athlete-field-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.athlete-form,
.athlete-field-grid { margin-block: 12px; }
.athlete-form > button { justify-self: start; }
.studio-athlete-area > * { min-width: 0; }
.studio-athlete-area [data-athlete-status]:empty { display: none; }
.athlete-survey-only { width: 100%; max-width: 760px; }
.athlete-survey-context { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; min-width: 0; }
.athlete-survey-context > span { min-width: 0; overflow-wrap: anywhere; font-size: .85rem; color: var(--muted); }
.athlete-survey-context .studio-button { font-size: .8rem; min-height: 38px; }
.athlete-questionnaire-focus { width: 100%; min-width: 0; padding: clamp(14px, 3vw, 24px); }
.athlete-questionnaire-focus h1 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.athlete-questionnaire-focus header p { margin-top: 7px; }
.athlete-survey-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin: 16px 0 0; min-width: 0; }
.athlete-survey-form > :is(fieldset, .coach-survey-progress) { grid-column: 1 / -1; }
.athlete-survey-form :is(fieldset, legend, label, [data-survey-answer], select, textarea, input) { min-width: 0; max-width: 100%; box-sizing: border-box; }
.athlete-survey-form :is(input:not([type="checkbox"],[type="radio"]),select,textarea) { width: 100%; font-size: 16px; min-height: 44px; }
.athlete-survey-form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.athlete-survey-form .coach-survey-section { border: 0; padding: 0; margin: 0; }
.athlete-survey-form .coach-survey-section > legend { width: 100%; margin-bottom: 13px; padding: 0; font-size: 1rem; line-height: 1.4; font-weight: 600; white-space: normal; }
.athlete-survey-form [data-survey-step-heading], [data-athlete-survey-heading], [data-athlete-receipt-title] { scroll-margin-top: 90px; }
.athlete-survey-form .coach-survey-progress { font-size: .78rem; line-height: 1.5; color: var(--muted); }
.athlete-survey-form [data-survey-answer] + [data-survey-answer] { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--line); }
.athlete-survey-form .coach-survey-choices { border: 0; margin: 0; padding: 0; }
.athlete-survey-form .coach-survey-choices > legend { padding: 0; font-size: .9rem; line-height: 1.5; font-weight: 500; white-space: normal; }
.athlete-survey-form .coach-survey-choices .studio-sidebar-note { display: block; margin: 6px 0; }
.athlete-survey-form .coach-survey-choice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: 8px; }
.athlete-survey-form .coach-check { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: .88rem; font-weight: 400; line-height: 1.4; }
.athlete-survey-form .coach-check:has(input:checked) { border-color: #6e9988; background: #f0f7f3; }
.athlete-survey-form .coach-check input { flex: 0 0 18px; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 1px 0 0; }
.athlete-survey-form .studio-sidebar-note { font-size: .78rem; line-height: 1.5; font-weight: 400; }
.athlete-survey-form .coach-survey-navigation { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.athlete-survey-form .coach-survey-navigation [data-survey-next] { margin-left: auto; }
.athlete-survey-form > button[type="submit"] { grid-column: 2; justify-self: end; align-self: end; }
.athlete-survey-form[data-survey-last="true"] .coach-survey-navigation { grid-column: 1; align-self: end; }
.athlete-survey-form[data-survey-steps="1"] .coach-survey-navigation { display: none; }
.athlete-survey-form .studio-button { min-height: 44px; padding: 9px 15px; font-size: .9rem; }
.athlete-survey-form [hidden] { display: none!important; }
.athlete-survey-sent { color: #225f46; font-size: .85rem; font-weight: 600; }
.athlete-survey-receipt { border-inline-start: 4px solid #39785b; }
.athlete-survey-receipt h2 { font-size: 1.2rem; }
.athlete-survey-receipt p { margin-top: 9px; font-size: .9rem; line-height: 1.6; }
.athlete-survey-receipt .studio-button { margin-top: 13px; }
.athlete-questionnaire-list { display: grid; gap: 8px; margin-top: 12px; }
.athlete-questionnaire-link { display: grid; gap: 5px; width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.athlete-questionnaire-link strong { font-size: .9rem; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.athlete-questionnaire-link span { font-size: .8rem; color: var(--muted); }
.athlete-questionnaire-link:hover { border-color: #6e9988; background: #f6faf7; }
.athlete-profile-tools .studio-button { margin-top: 10px; }
.athlete-access-note { padding-inline: 5px; }
@media (max-width: 540px) {
  #athlete-area { padding-inline: 12px; }
  .athlete-survey-form select { text-overflow: ellipsis; }
  .athlete-survey-only .athlete-banner h1 { font-size: 1.35rem; }
  .athlete-tabs { flex-wrap: wrap; overflow: visible; }
  .athlete-tabs > button { flex: 1 1 90px; font-size: .82rem; white-space: normal; }
}
.athlete-workout h2 { margin: 4px 0 8px; }
.athlete-description { color: var(--muted); }
.athlete-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.athlete-clock strong,
.athlete-timer strong { font-variant-numeric: tabular-nums; }
.athlete-clock strong { font-size: 1.4rem; }
.athlete-exercise {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.athlete-exercise > summary {
  cursor: pointer;
  padding: 13px;
  min-height: 47px;
}
.athlete-exercise > summary span {
  color: var(--muted);
  display: block;
  padding-left: 1em;
  font-size: .85rem;
  margin-top: 4px;
}
.athlete-exercise-body {
  padding: 12px;
  border-top: 1px solid var(--line);
}
.athlete-exercise-body > button { justify-self: start; }
.athlete-previous {
  border-radius: 8px;
  background: var(--wash);
  padding: 8px 11px;
  color: var(--muted);
}
.athlete-previous strong { color: var(--ink); }
.athlete-set {
  display: grid;
  grid-template-columns: 1.45rem repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
}
.athlete-set + .athlete-set { margin-top: 7px; }
.athlete-set-fields-3 { grid-template-columns: 1.45rem repeat(3, minmax(0, 1fr)); }
.athlete-set-fields-2 { grid-template-columns: 1.45rem repeat(2, minmax(0, 1fr)); }
.athlete-set-target { grid-column: 2 / -1; overflow-wrap: anywhere; }
.athlete-set-target .studio-actions { margin-top: .25rem; }
.athlete-exercise-group { display: grid; gap: .5rem; padding: .65rem; border: 1px solid #d5caec; border-radius: 13px; background: #f8f5ff; }
.athlete-exercise-group h3 { margin: 0; font-size: .92rem; }
.athlete-set input { padding-inline: 6px; font-variant-numeric: tabular-nums; }
.athlete-set-number {
  align-self: end;
  color: var(--muted);
  padding-bottom: 12px;
  text-align: center;
  font-size: .85rem;
}
.athlete-phases { padding-left: 22px; color: var(--muted); }
.athlete-history details,
.athlete-check-item {
  border-top: 1px solid var(--line);
  padding-block: 12px;
}
.athlete-history summary,
.athlete-check-item summary { cursor: pointer; font-weight: 650; }
.athlete-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 9px 0;
  padding: 0;
}
.athlete-list > li {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.athlete-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  gap: 8px;
}
.athlete-gallery figure { margin: 0; }
.athlete-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.athlete-gallery figcaption { color: var(--muted); font-size: .85rem; }
.athlete-timer {
  position: sticky;
  z-index: 5;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--coach-accent, var(--green));
  box-shadow: 0 8px 28px #14343d38;
  border-radius: 15px;
  padding: 10px 14px;
}
.athlete-timer strong { font-size: clamp(1.5rem, 6vw, 2rem); }
.athlete-timer-expanded {
  position: fixed;
  inset: 0;
  z-index: 100;
  border-radius: 0;
  border: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
}
.athlete-timer-expanded strong { font-size: clamp(3.2rem, 19vw, 12rem); line-height: 1; }
@media (max-width: 520px) {
  .athlete-section-title { flex-wrap: wrap; }
  .athlete-clock { flex-direction: row; align-items: center; }
  .athlete-set label { gap: 3px; font-size: .8rem; }
  .athlete-set input { font-size: 1rem; }
}

