@charset "UTF-8";
:root {
  --bg:#f6f7f3;
  --paper:#fff;
  --ink:#263d34;
  --text:#35443c;
  --muted:#7d857d;
  --line:#e6e9e1;
  --green:#305742;
  --light:#edf2e8;
  --lime:#d5e9ae;
  --radius:18px;
  font-family:Inter,"Avenir Next",-apple-system,BlinkMacSystemFont,"PingFang TC","Microsoft JhengHei",sans-serif;
  color:var(--text);
  font-synthesis:none;
  font-size:14px;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
}

button,select {
  font:inherit;
}

button,a,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  color:inherit;
}

button {
  border:0;
  background:none;
}

button:disabled {
  cursor:default;
}

a {
  color:inherit;
  text-decoration:none;
}

button,select,a,summary,[role=button] {
  outline-offset:5px;
}

button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible,[role=button]:focus-visible {
  outline:3px solid #84a75f;
}

button {
  transition:background .18s,color .18s,box-shadow .18s,transform .18s;
}

button:hover {
  filter:brightness(.97);
}

button:active {
  transform:translateY(1px);
}

h1,h2,h3,p {
  margin:0;
}

.icon {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}

.icon-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.muted {
  color:var(--muted);
}

[hidden] {
  display:none!important;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

.skip-link {
  position:fixed;
  top:8px;
  left:8px;
  padding:12px;
  background:white;
  z-index:10;
  transform:translateY(-160%);
}

.skip-link:focus {
  transform:translateY(0);
}

.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:208px;
  border-right:1px solid var(--line);
  background:#fafbf7;
  padding:32px 19px 24px;
  display:flex;
  flex-direction:column;
  z-index:2;
}

.brand {
  display:flex;
  gap:10px;
  align-items:center;
  padding:0 6px;
  font-size:27px;
  font-weight:750;
  letter-spacing:-1.5px;
  color:var(--ink);
}

.brand-light {
  font-weight:450;
}

.brand-mark {
  display:grid;
  place-items:center;
  width:37px;
  height:42px;
}

.brand-mark svg {
  width:35px;
  height:35px;
  fill:none;
  stroke:var(--green);
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.brand small {
  font-size:9px;
  font-weight:400;
  display:block;
  letter-spacing:2px;
  margin-top:3px;
  color:#7b8478;
}

.sidebar-section {
  font-size:10px;
  letter-spacing:1.5px;
  color:#92978b;
  margin:58px 14px 17px;
}

.nav-item {
  display:flex;
  align-items:center;
  gap:11px;
  padding:14px 12px;
  border-radius:9px;
  font-size:12px;
  font-weight:650;
}

.nav-item.active {
  color:var(--green);
  background:#e9eedf;
}

.nav-item .icon {
  width:18px;
  height:18px;
}

.nav-dot {
  width:5px;
  height:5px;
  background:var(--green);
  border-radius:50%;
  margin-left:auto;
}

.sidebar-bottom {
  margin-top:auto;
}

.route-art {
  margin:60px -3px 18px;
}

.route-art svg {
  width:100%;
  fill:none;
  stroke:#d5dbcb;
  stroke-width:1;
}

.route-art .route-line {
  stroke:#829571;
  stroke-dasharray:3 4;
}

.route-art circle {
  fill:#7f9970;
  stroke:none;
}

.sidebar-bottom>p {
  font-size:15px;
  line-height:1.9;
  padding:0 14px;
  color:#68755e;
  letter-spacing:1px;
}

.demo-label {
  border-top:1px solid var(--line);
  padding-top:25px;
  margin:30px 12px 16px;
  font-size:10px;
  color:#788271;
  white-space:nowrap;
}

.demo-label>span,.tiny-dot {
  display:inline-block;
  width:5px;
  height:5px;
  background:#8c9c75;
  border-radius:50%;
  margin-right:5px;
}

.reset-button {
  display:flex;
  align-items:center;
  gap:8px;
  color:#7d8576;
  font-size:11px;
  padding:8px 12px;
}

.reset-button .icon {
  width:14px;
  height:14px;
}

.workspace {
  margin-left:208px;
}

.topbar {
  height:77px;
  padding:0 42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
  background:#fcfcf9;
}

.breadcrumb {
  font-size:11px;
  color:#8a8f87;
  display:flex;
  gap:18px;
}

.breadcrumb strong {
  font-weight:500;
  color:#445144;
}

.breadcrumb>span {
  color:#c0c5b9;
}

.profile {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:11px;
}

.preview-badge {
  border:1px solid #dfe5d4;
  font-size:9px;
  letter-spacing:1.5px;
  border-radius:4px;
  padding:4px 7px;
  color:#7a8864;
  margin-right:13px;
}

.avatar {
  height:29px;
  width:29px;
  display:grid;
  place-items:center;
  background:#e6ebdb;
  border-radius:50%;
  color:#667753;
  font-size:12px;
  font-weight:600;
}

main {
  max-width:1450px;
  margin:auto;
  padding:36px 42px 20px;
}

.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:29px;
}

.eyebrow {
  font-size:10px;
  letter-spacing:2.6px;
  font-weight:650;
  color:#81906b;
  margin-bottom:10px;
}

h1 {
  font-size:30px;
  letter-spacing:-.8px;
  font-weight:650;
  line-height:1.5;
  color:#263d34;
}

h1>span {
  color:#94a87e;
}

.intro p {
  font-size:12px;
  color:#868c81;
  margin-top:7px;
  letter-spacing:.3px;
}

.intro-note {
  align-self:flex-end;
  margin-bottom:8px;
  font-size:10px;
  color:#879079;
}

.journey {
  display:flex;
  gap:15px;
  align-items:center;
  font-size:11px;
  padding:0 0 24px;
  color:#66705e;
}

.journey>span {
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

.journey b {
  font-family:Georgia,serif;
  font-size:13px;
  color:#6f865a;
  font-style:italic;
}

.journey i {
  width:35px;
  height:1px;
  background:#d9dfcf;
}

.journey small {
  margin-left:auto;
  font-size:9px;
  color:#919889;
  display:flex;
  align-items:center;
  gap:9px;
}

.journey small .icon {
  width:15px;
  height:15px;
}

.planner-layout {
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(340px,1fr);
  gap:23px;
  align-items:start;
}

.exploration-column {
  display:grid;
  gap:21px;
}

.card {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}

.exploration {
  padding:24px 24px 20px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:21px;
}

.section-number {
  font-size:9px;
  letter-spacing:1.8px;
  color:#919b86;
  display:block;
  font-weight:500;
}

.section-heading h2 {
  font-size:18px;
  font-weight:600;
  margin-top:7px;
  letter-spacing:.1px;
}

.subtle-badge {
  font-size:9px;
  color:#8c9780;
  border:1px solid #e8ecdf;
  padding:5px 8px;
  border-radius:5px;
}

.entry-tabs {
  background:#f3f5ee;
  border-radius:9px;
  display:flex;
  padding:4px;
  gap:3px;
}

.entry-tabs button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  flex:1;
  font-size:11px;
  white-space:nowrap;
  border-radius:6px;
  color:#87907e;
}

.entry-tabs button .icon {
  width:16px;
  height:16px;
}

.entry-tabs button[aria-pressed=true] {
  background:white;
  color:var(--green);
  box-shadow:0 1px 5px #263d3410;
  font-weight:600;
}

.explorer-caption {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin:18px 0 10px;
  font-size:10px;
  color:#89917f;
  line-height:1.6;
}

.explorer-caption>span {
  font-size:9px;
  color:#a3aa9a;
  white-space:nowrap;
}

.body-layout {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:19px;
  align-items:center;
}

.anatomy-stage {
  position:relative;
  min-height:362px;
  display:flex;
  flex-direction:column;
  align-items:center;
  isolation:isolate;
}

.view-switch {
  border:1px solid var(--line);
  padding:3px;
  border-radius:6px;
  background:white;
  z-index:1;
  margin:2px auto 0;
  display:flex;
}

.view-switch button {
  padding:6px 14px;
  font-size:9px;
  border-radius:3px;
  color:#8c9385;
}

.view-switch button[aria-pressed=true] {
  color:var(--green);
  background:#edf2e7;
  font-weight:600;
}

.anatomy-grid {
  position:absolute;
  z-index:-1;
  inset:52px 0 34px;
  background-image:linear-gradient(#e6ebdf70 1px,transparent 1px),linear-gradient(90deg,#e6ebdf70 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:radial-gradient(ellipse,black,transparent 70%);
}

#anatomy {
  width:100%;
  height:302px;
  max-width:227px;
}

.anatomy-svg {
  width:100%;
  height:100%;
  overflow:visible;
}

.body-base {
  fill:#e3e5df;
  stroke:#bec5b8;
  stroke-width:1.1;
  stroke-linejoin:round;
}

.body-detail {
  fill:none;
  stroke:#c0c7b9;
  stroke-width:1;
  stroke-linecap:round;
}

.muscle {
  fill:#d3d9cc;
  stroke:#afbba7;
  stroke-width:1.2;
  stroke-linejoin:round;
  cursor:pointer;
  transition:fill .2s,stroke .2s;
}

.muscle:hover,.muscle:focus-visible {
  fill:#a9c291;
  stroke:#6c8e59;
  outline:none;
  filter:drop-shadow(0 0 3px #72965866);
}

.muscle.selected {
  fill:#739463;
  stroke:#4d7444;
}

.muscle .fibers {
  stroke:#bcc5b5;
  stroke-width:.8;
  fill:none;
  pointer-events:none;
}

.muscle.selected .fibers {
  stroke:#a3bc8a;
}

.body-orientation {
  font-size:6px;
  letter-spacing:2px;
  color:#a9b19f;
  margin-top:-2px;
}

.body-legend {
  font-size:8px;
  display:flex;
  align-items:center;
  gap:5px;
  color:#939c88;
  margin-top:13px;
  white-space:nowrap;
}

.body-legend span {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#799667;
}

.body-legend span:nth-of-type(2) {
  background:#d1d8ca;
  margin-left:8px;
}

.mini-label {
  font-size:9px;
  letter-spacing:.7px;
  color:#8d9781;
}

.focus-list {
  padding:7px 0 0;
}

.focus-list>.mini-label {
  margin-bottom:10px;
}

.muscle-option {
  width:100%;
  text-align:left;
  display:flex;
  gap:9px;
  align-items:center;
  min-height:56px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:8px;
  background:white;
  position:relative;
}

.muscle-option .option-number {
  font-size:9px;
  color:#a6ae9b;
  font-family:monospace;
}

.muscle-option strong {
  font-size:11px;
  font-weight:550;
  display:block;
}

.muscle-option small {
  font-size:8px;
  display:block;
  color:#939b89;
  margin-top:4px;
}

.muscle-option .selected-dot {
  width:12px;
  height:12px;
  margin-left:auto;
  border:1px solid #d6ddce;
  border-radius:50%;
  flex-shrink:0;
}

.muscle-option[aria-pressed=true] {
  background:#eef3e6;
  border-color:#aabd93;
}

.muscle-option[aria-pressed=true] strong {
  color:#3a5933;
}

.muscle-option[aria-pressed=true] .selected-dot {
  border:4px solid #709052;
  background:white;
}

.ability-label {
  margin-top:18px!important;
  font-size:8px;
}

.ability-options {
  display:flex;
  gap:7px;
}

.ability-options button {
  flex:1;
  border:1px solid #e2e7da;
  border-radius:6px;
  min-height:34px;
  font-size:9px;
  color:#8d9782;
}

.ability-options button[aria-pressed=true] {
  background:var(--light);
  color:var(--green);
  border-color:#91a77b;
}

.focus-insight {
  display:flex;
  gap:10px;
  background:#f5f7ef;
  border-radius:8px;
  padding:13px 15px;
  margin-top:16px;
  min-height:79px;
}

.focus-insight .icon {
  width:17px;
  height:17px;
  color:#829866;
  margin-top:1px;
}

.focus-insight h3 {
  font-size:11px;
  font-weight:550;
  margin-bottom:5px;
  color:#577048;
}

.focus-insight p {
  font-size:10px;
  line-height:1.85;
  color:#8a947e;
}

.rhythm {
  padding:23px 24px 18px;
}

.rhythm .section-heading {
  margin-bottom:19px;
}

.rhythm-fields {
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:15px;
}

.field-label,fieldset legend {
  font-size:10px;
  color:#7e8973;
  margin-bottom:9px;
}

fieldset {
  border:0;
  margin:0;
  padding:0;
  min-width:0;
}

fieldset legend {
  padding:0;
}

select {
  display:block;
  width:100%;
  border:1px solid var(--line);
  border-radius:6px;
  background:white;
  color:#506348;
  min-height:38px;
  font-size:10px;
  margin-top:9px;
  padding:0 23px 0 9px;
}

.segmented {
  border:1px solid var(--line);
  border-radius:6px;
  padding:3px;
  display:flex;
  min-height:38px;
  gap:2px;
}

.segmented button {
  flex:1;
  border-radius:3px;
  font-size:9px;
  white-space:nowrap;
  padding:5px 1px;
  color:#88917e;
}

.segmented button[aria-pressed=true] {
  background:#e9eedf;
  color:#486039;
  font-weight:600;
}

.rhythm-note {
  display:flex;
  align-items:center;
  gap:6px;
  color:#9aA28f;
  font-size:9px;
  border-top:1px solid #eff1e9;
  padding-top:13px;
  margin-top:17px;
}

.rhythm-note .icon {
  width:13px;
  height:13px;
}

.plan-cover {
  background:#2b473a;
  color:white;
  padding:23px 26px 22px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}

.plan-cover-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
  font-size:10px;
  color:#c4d2bd;
}

.plan-cover-top>span {
  display:flex;
  align-items:center;
  gap:7px;
}

.live-dot {
  height:5px;
  width:5px;
  background:#c7df9f;
  border-radius:50%;
  box-shadow:0 0 0 3px #c7df9f13;
}

.plan-cover-top .icon {
  color:#c4dca4;
  width:17px;
  height:17px;
}

.plan-cover .section-number {
  color:#9dac91;
  font-size:8px;
  letter-spacing:2px;
}

.plan-cover h2 {
  font-size:26px;
  font-weight:550;
  margin-top:8px;
  letter-spacing:.7px;
}

.plan-cover>p {
  font-size:10px;
  color:#b3c3a9;
  margin-top:9px;
}

.plan-stats {
  display:flex;
  margin-top:24px;
  gap:23px;
}

.plan-stat {
  display:flex;
  align-items:baseline;
  gap:4px;
  font-size:10px;
  color:#b5c4ac;
}

.plan-stat b {
  font-weight:500;
  color:#e2edce;
  font-size:23px;
  letter-spacing:-.5px;
}

.plan-stat+.plan-stat {
  border-left:1px solid #ffffff1c;
  padding-left:23px;
}

.cover-contours {
  position:absolute;
  right:-50px;
  bottom:-35px;
  width:220px;
  z-index:-1;
  fill:none;
  stroke:#d0e1b91a;
  stroke-width:1;
}

.plan-content {
  padding:22px 25px 18px;
}

.week-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.week-heading h3 {
  font-size:12px;
  font-weight:550;
}

.week-heading>span {
  font-size:9px;
  color:#939b88;
}

.week-grid {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:7px;
  margin-top:13px;
}

.week-day {
  height:58px;
  border:1px solid #eef0e8;
  border-radius:7px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#fafbf7;
  font-size:9px;
  color:#a1a995;
}

.week-day strong {
  font-size:10px;
  font-weight:500;
}

.week-day.training {
  background:#eff3e7;
  border-color:#d9e3ca;
  color:#728958;
}

.week-day[aria-pressed=true] {
  background:#d9e9be;
  border-color:#9db882;
  color:#3c592d;
}

.week-legend {
  display:flex;
  align-items:center;
  gap:5px;
  color:#9aa28e;
  font-size:8px;
  margin-top:10px;
}

.week-legend span {
  width:5px;
  height:5px;
  background:#99b376;
  border-radius:50%;
}

.week-legend span:nth-of-type(2) {
  background:#d9dece;
  margin-left:8px;
}

.session-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:26px;
  margin-bottom:15px;
}

.session-heading .mini-label {
  font-size:8px;
  letter-spacing:1.3px;
}

.session-heading h3 {
  font-size:14px;
  font-weight:550;
  margin-top:5px;
}

.session-time {
  font-size:9px;
  color:#7b896e;
  background:#f4f6ee;
  padding:5px 7px;
  border-radius:4px;
}

.exercise {
  border-bottom:1px solid #edf0e5;
}

.exercise:last-child {
  border:0;
}

.exercise summary {
  list-style:none;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:65px;
  cursor:pointer;
}

.exercise summary::-webkit-details-marker {
  display:none;
}

.exercise-index {
  display:grid;
  place-items:center;
  width:31px;
  height:34px;
  background:#f2f4ed;
  color:#a0ac90;
  border-radius:7px;
  font-size:10px;
  font-weight:500;
  flex-shrink:0;
}

.exercise:nth-child(2) .exercise-index {
  background:#edf2e4;
  color:#869b6d;
}

.exercise:nth-child(3) .exercise-index {
  background:#e5edd8;
  color:#66844b;
}

.exercise-name {
  flex:1;
  min-width:0;
}

.exercise-name strong {
  display:block;
  font-size:11px;
  font-weight:550;
  line-height:1.6;
}

.exercise-name small {
  display:block;
  font-size:8px;
  color:#9ca48f;
  line-height:1.7;
  margin-top:2px;
}

.exercise-minutes {
  font-size:9px;
  color:#809170;
  white-space:nowrap;
}

.exercise summary>.icon {
  width:11px;
  height:11px;
  color:#a6af98;
  transition:transform .18s;
}

.exercise[open] summary>.icon {
  transform:rotate(90deg);
}

.exercise-description {
  font-size:10px;
  line-height:1.9;
  color:#7c8871;
  padding:0 7px 14px 42px;
}

.match-reason {
  display:flex;
  align-items:start;
  gap:9px;
  background:#f6f7f1;
  border:1px solid #ecefe3;
  border-radius:8px;
  margin-top:17px;
  padding:12px;
}

.match-reason>.icon {
  width:15px;
  height:15px;
  color:#8ca071;
  margin-top:2px;
}

.match-reason strong {
  font-size:10px;
  font-weight:550;
  color:#71805f;
}

.match-reason p {
  font-size:9px;
  line-height:1.9;
  color:#909a82;
  margin-top:4px;
}

.plan-actions {
  display:flex;
  gap:8px;
  margin-top:20px;
}

.primary-button {
  width:100%;
  background:#d8eab6;
  color:#355027;
  border:1px solid #d0e3a9;
  min-height:45px;
  border-radius:7px;
  font-size:11px;
  font-weight:550;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
}

.primary-button:hover {
  background:#c9dfa0;
  box-shadow:0 3px 10px #263d3412;
}

.primary-button .icon {
  width:17px;
  height:17px;
}

.download-button {
  border:1px solid #dfe6d3;
  min-width:45px;
  border-radius:7px;
  display:grid;
  place-items:center;
  color:#71855d;
}

.download-button .icon {
  width:17px;
  height:17px;
}

.save-status {
  text-align:center;
  font-size:8px;
  color:#9aa38e;
  margin-top:11px;
  min-height:13px;
}

.page-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:24px 0 8px;
  font-size:8px;
  color:#929b86;
}

.page-footer>span:first-child {
  display:flex;
  align-items:center;
  gap:6px;
  line-height:1.8;
}

.page-footer .icon {
  width:12px;
  height:12px;
}

.page-footer>span:last-child {
  font-size:7px;
  letter-spacing:1.1px;
  white-space:nowrap;
}

.footer-dot {
  margin:0 7px;
  color:#9cb87b;
}

.alternative-intro {
  margin:24px 0 19px;
}

.alternative-intro h3 {
  font-size:16px;
  font-weight:550;
  margin-bottom:8px;
}

.alternative-intro p {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
}

.direction-options {
  display:grid;
  gap:11px;
}

.direction-option {
  text-align:left;
  border:1px solid var(--line);
  border-radius:10px;
  min-height:79px;
  padding:16px;
  display:flex;
  align-items:center;
  gap:14px;
}

.direction-option>.icon {
  color:#a0ad90;
  width:23px;
  height:23px;
}

.direction-option strong {
  display:block;
  font-size:13px;
  font-weight:550;
}

.direction-option small {
  display:block;
  margin-top:6px;
  color:#929d84;
  font-size:10px;
}

.direction-option[aria-pressed=true] {
  background:#f0f4e8;
  border-color:#aabb91;
}

.direction-option[aria-pressed=true]>.icon {
  color:#678650;
}

.direction-option .direction-check {
  margin-left:auto;
  width:18px;
  height:18px;
  visibility:hidden;
}

.direction-option[aria-pressed=true] .direction-check {
  visibility:visible;
}

.context-question {
  border-top:1px solid var(--line);
  margin-top:20px;
  padding-top:17px;
}

.context-question label {
  font-size:11px;
  color:#748267;
  display:block;
}

.context-question select {
  font-size:11px;
  width:100%;
  min-height:40px;
}

.alternative-footer {
  font-size:10px;
  color:#99a08f;
  margin:20px 0 9px;
  line-height:1.8;
}

.toast {
  position:fixed;
  bottom:24px;
  left:calc(50% + 104px);
  transform:translate(-50%,20px);
  background:#2b473a;
  color:#f3f6ed;
  padding:13px 22px;
  border-radius:10px;
  z-index:20;
  max-width:calc(100vw - 32px);
  font-size:12px;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s,transform .2s;
  box-shadow:0 6px 30px #182d2920;
}

.toast.visible {
  opacity:1;
  transform:translate(-50%,0);
  visibility:visible;
}

dialog {
  border:1px solid var(--line);
  border-radius:20px;
  background:#fafbf7;
  color:var(--ink);
  padding:35px;
  width:min(430px,calc(100% - 32px));
  text-align:center;
  box-shadow:0 24px 100px #15251c30;
}

dialog::backdrop {
  background:#20392c70;
  backdrop-filter:blur(4px);
}

.dialog-close {
  position:absolute;
  right:14px;
  top:10px;
  font-size:27px;
  color:#89947c;
  width:34px;
  height:34px;
}

.success-icon {
  width:52px;
  height:52px;
  background:#e1eccf;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0 auto 21px;
  color:#6c8b4c;
}

.success-icon .icon {
  width:27px;
  height:27px;
}

dialog h2 {
  font-size:24px;
  font-weight:550;
  margin:12px 0;
}

#saved-description {
  font-size:12px;
  color:#869376;
  line-height:1.8;
}

.saved-summary {
  background:#eff3e7;
  border:1px solid #e2e8d8;
  padding:18px;
  margin-top:23px;
  border-radius:9px;
}

.saved-summary h3 {
  font-size:16px;
  margin-bottom:9px;
}

.saved-summary p {
  font-size:11px;
  color:#7f906e;
}

.dialog-note {
  font-size:11px;
  line-height:1.9;
  color:#8a977d;
  margin:20px 0;
}

.text-button {
  font-size:11px;
  color:#879476;
  padding:14px 30px 0;
}

.noscript {
  position:fixed;
  inset:0;
  z-index:30;
  background:#f6f7f3;
  display:grid;
  place-items:center;
  padding:20px;
}

@media(min-width:1600px) {
  main {
    padding-top:44px;
  }
  .exploration {
    padding:28px;
  }
  .body-layout {
    grid-template-columns:1.1fr 1fr;
    gap:30px;
  }
  #anatomy {
    height:340px;
    max-width:250px;
  }
  .anatomy-stage {
    min-height:400px;
  }
  .focus-list {
    padding:0 8px;
  }
  .muscle-option {
    min-height:65px;
  }
  .plan-cover {
    padding:27px 30px;
  }
  .plan-content {
    padding:25px 30px;
  }
  .exercise summary {
    min-height:74px;
  }
  .explorer-caption {
    margin-top:22px;
  }
  .plan-cover h2 {
    font-size:30px;
  }
}

@media(max-width:1190px) {
  .sidebar {
    width:176px;
    padding-left:13px;
    padding-right:13px;
  }
  .workspace {
    margin-left:176px;
  }
  .brand {
    font-size:24px;
    gap:5px;
  }
  .brand-mark svg {
    width:31px;
  }
  .nav-item {
    font-size:11px;
    gap:7px;
  }
  .topbar {
    padding:0 25px;
  }
  main {
    padding:30px 25px 15px;
  }
  .planner-layout {
    gap:17px;
    grid-template-columns:minmax(0,1.12fr) minmax(310px,1fr);
  }
  .exploration,.rhythm {
    padding:21px 18px 18px;
  }
  .plan-cover {
    padding:22px;
  }
  .plan-content {
    padding:20px;
  }
  .journey {
    gap:9px;
  }
  .journey small {
    display:none;
  }
  .intro-note {
    display:none;
  }
  .body-layout {
    gap:10px;
    grid-template-columns:1fr 1fr;
  }
  .explorer-caption>span {
    display:none;
  }
  .muscle-option {
    padding:9px 8px;
    gap:7px;
  }
  .rhythm-fields {
    gap:8px;
    grid-template-columns:1fr 1fr;
  }
  .rhythm-fields>.field-label {
    grid-column:1/-1;
  }
  .rhythm-fields select {
    margin-top:7px;
  }
  .toast {
    left:calc(50% + 88px);
  }
  .week-grid {
    gap:5px;
  }
  .plan-cover h2 {
    font-size:24px;
  }
  .page-footer>span:last-child {
    display:none;
  }
}

@media(max-width:960px) {
  .sidebar {
    width:76px;
    padding:25px 10px;
  }
  .brand>span:last-child,.sidebar-section,.nav-item,.sidebar-bottom {
    display:none;
  }
  .brand {
    padding:0;
    justify-content:center;
  }
  .brand-mark {
    width:40px;
  }
  .brand-mark svg {
    width:36px;
    height:36px;
  }
  .workspace {
    margin-left:76px;
  }
  .planner-layout {
    grid-template-columns:minmax(0,1.1fr) minmax(290px,1fr);
    gap:15px;
  }
  main {
    padding:28px 20px 15px;
  }
  .section-heading h2 {
    font-size:16px;
  }
  .subtle-badge {
    display:none;
  }
  .entry-tabs button {
    font-size:10px;
    gap:4px;
  }
  .entry-tabs button .icon {
    width:13px;
  }
  .body-layout {
    gap:8px;
    grid-template-columns:.95fr 1fr;
  }
  .muscle-option .option-number {
    display:none;
  }
  .muscle-option small {
    font-size:7px;
  }
  .focus-insight {
    padding:11px;
  }
  .plan-cover {
    padding:21px 19px;
  }
  .plan-content {
    padding:20px 17px;
  }
  .plan-cover h2 {
    font-size:23px;
  }
  .plan-stats {
    gap:16px;
  }
  .plan-stat+.plan-stat {
    padding-left:16px;
  }
  .toast {
    left:calc(50% + 38px);
  }
}

@media(max-width:760px) {
  .sidebar {
    position:absolute;
    inset:0 auto auto 0;
    height:66px;
    width:150px;
    padding:17px 16px;
    border:0;
    background:none;
  }
  .brand {
    justify-content:start;
    gap:3px;
  }
  .brand>span:last-child {
    display:block;
    font-size:22px;
  }
  .brand small {
    display:none;
  }
  .brand-mark {
    width:30px;
    height:30px;
  }
  .brand-mark svg {
    width:28px;
    height:28px;
  }
  .workspace {
    margin-left:0;
  }
  .topbar {
    height:66px;
    padding:0 20px;
    justify-content:flex-end;
  }
  .breadcrumb,.profile-name {
    display:none;
  }
  .profile {
    gap:0;
  }
  .preview-badge {
    font-size:8px;
    margin-right:12px;
  }
  .avatar {
    width:27px;
    height:27px;
  }
  main {
    padding:25px 20px 18px;
    max-width:600px;
  }
  .intro {
    margin-bottom:24px;
  }
  h1 {
    font-size:26px;
    letter-spacing:-1px;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:2px;
  }
  .intro p {
    font-size:11px;
    margin-top:6px;
  }
  .journey {
    font-size:9px;
    gap:9px;
    padding-bottom:20px;
    justify-content:space-between;
  }
  .journey>span {
    gap:6px;
  }
  .journey b {
    font-size:12px;
  }
  .journey i {
    width:18px;
    flex-shrink:1;
  }
  .planner-layout {
    display:flex;
    flex-direction:column;
    gap:20px;
  }
  .exploration-column,.plan {
    width:100%;
  }
  .exploration-column {
    gap:17px;
  }
  .exploration {
    padding:22px 20px 19px;
  }
  .section-heading h2 {
    font-size:18px;
  }
  .subtle-badge {
    display:block;
  }
  .entry-tabs button {
    font-size:11px;
    min-height:40px;
    gap:6px;
  }
  .entry-tabs button .icon {
    width:16px;
  }
  .explorer-caption {
    font-size:10px;
    margin:17px 0 12px;
  }
  .body-layout {
    grid-template-columns:1.1fr 1fr;
    gap:15px;
  }
  #anatomy {
    height:315px;
  }
  .anatomy-stage {
    min-height:377px;
  }
  .muscle-option {
    min-height:58px;
    padding:10px;
  }
  .muscle-option strong {
    font-size:12px;
  }
  .muscle-option small {
    font-size:8px;
  }
  .muscle-option .option-number {
    display:block;
    font-size:8px;
  }
  .focus-insight {
    padding:14px;
  }
  .focus-insight p {
    font-size:11px;
  }
  .focus-insight h3 {
    font-size:12px;
  }
  .rhythm {
    padding:22px 20px 18px;
  }
  .rhythm-fields {
    gap:14px;
  }
  .field-label,fieldset legend {
    font-size:11px;
  }
  .rhythm-fields select {
    font-size:12px;
    min-height:43px;
  }
  .segmented {
    min-height:42px;
  }
  .segmented button {
    font-size:11px;
  }
  .rhythm-note {
    font-size:10px;
  }
  .plan-cover {
    padding:25px;
  }
  .plan-cover h2 {
    font-size:28px;
  }
  .plan-cover>p {
    font-size:11px;
  }
  .plan-cover-top {
    font-size:11px;
  }
  .plan-content {
    padding:23px;
  }
  .plan-stat b {
    font-size:26px;
  }
  .plan-stats {
    gap:24px;
  }
  .plan-stat+.plan-stat {
    padding-left:24px;
  }
  .week-heading h3 {
    font-size:13px;
  }
  .week-heading>span {
    font-size:10px;
  }
  .week-grid {
    gap:8px;
  }
  .week-day {
    height:63px;
    font-size:10px;
  }
  .week-day strong {
    font-size:12px;
  }
  .week-legend {
    font-size:9px;
  }
  .session-heading h3 {
    font-size:16px;
  }
  .session-time {
    font-size:10px;
  }
  .exercise summary {
    min-height:74px;
  }
  .exercise-name strong {
    font-size:12px;
  }
  .exercise-name small {
    font-size:10px;
  }
  .exercise-minutes {
    font-size:10px;
  }
  .exercise-description {
    font-size:11px;
  }
  .match-reason {
    padding:14px;
  }
  .match-reason strong {
    font-size:11px;
  }
  .match-reason p {
    font-size:10px;
  }
  .primary-button {
    font-size:12px;
    min-height:47px;
  }
  .save-status {
    font-size:9px;
  }
  .page-footer {
    font-size:9px;
    padding-top:20px;
  }
  .toast {
    left:50%;
    width:max-content;
    font-size:11px;
  }
  .sidebar .sidebar-bottom {
    display:block;
    position:fixed;
    bottom:16px;
    right:13px;
    z-index:3;
  }
  .sidebar-bottom>*:not(.reset-button) {
    display:none;
  }
  .reset-button {
    border:1px solid #dce3d0;
    background:#fafbf7ed;
    border-radius:50%;
    width:39px;
    height:39px;
    padding:11px;
    font-size:0;
    box-shadow:0 2px 10px #1b321715;
  }
  .reset-button .icon {
    width:16px;
    height:16px;
  }
  .direction-option {
    min-height:83px;
  }
  .context-question select {
    min-height:44px;
  }
}

@media(max-width:380px) {
  main {
    padding-left:13px;
    padding-right:13px;
  }
  h1 {
    font-size:23px;
  }
  .exploration,.rhythm {
    padding-left:15px;
    padding-right:15px;
  }
  .body-layout {
    gap:10px;
    grid-template-columns:1fr 1fr;
  }
  .muscle-option .option-number {
    display:none;
  }
  .journey {
    font-size:8px;
    gap:6px;
  }
  .journey i {
    width:12px;
  }
  .entry-tabs button {
    font-size:10px;
  }
  .plan-content {
    padding-left:18px;
    padding-right:18px;
  }
  .ability-options {
    gap:5px;
  }
  .body-legend {
    font-size:7px;
  }
  .week-grid {
    gap:5px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}

@media print {
  body {
    background:white;
  }
  .sidebar,.topbar,.intro,.journey,.exploration-column,.page-footer,.plan-actions,.toast,dialog {
    display:none!important;
  }
  .workspace {
    margin:0;
  }
  main {
    padding:0;
  }
  .planner-layout {
    display:block;
  }
  .plan {
    border:0;
    width:100%;
  }
  .plan-cover {
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact;
  }
  .exercise-description {
    display:block;
  }
  .plan-content {
    padding:20px 0;
  }
}

/* Keep essential instructions readable, and the generated plan reachable on mobile. */
.explorer-caption,.muscle-option small,.focus-insight p,.exercise-name small,.match-reason p {
  font-size:11px;
}

.exercise-name strong,.muscle-option strong {
  font-size:12px;
}

.focus-insight p,.match-reason p {
  color:#707e62;
}

.exercise-name small {
  color:#808b75;
}

.mobile-plan-bar {
  display:none;
}

#weekly-plan {
  scroll-margin-top:20px;
}

@media(max-width:760px) {
  main {
    padding-bottom:100px;
  }
  .mobile-plan-bar {
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:13px 20px calc(13px + env(safe-area-inset-bottom));
    background:#fcfdf9f5;
    border-top:1px solid #dfe5d5;
    backdrop-filter:blur(12px);
    box-shadow:0 -4px 18px #283b2a06;
  }
  .mobile-plan-bar strong {
    display:block;
    font-size:12px;
    font-weight:600;
  }
  .mobile-plan-bar small {
    display:block;
    font-size:10px;
    color:#869276;
    margin-top:4px;
  }
  .mobile-plan-bar a {
    display:flex;
    align-items:center;
    gap:14px;
    background:#d8eab6;
    color:#3b582e;
    border-radius:7px;
    padding:12px 16px;
    font-size:11px;
    font-weight:550;
  }
  .mobile-plan-bar .icon {
    width:15px;
    height:15px;
    transform:rotate(90deg);
  }
  .sidebar .sidebar-bottom {
    bottom:calc(88px + env(safe-area-inset-bottom));
  }
  .toast {
    bottom:calc(85px + env(safe-area-inset-bottom));
  }
  .muscle-option small {
    font-size:9px;
  }
  select {
    font-size:16px!important;
  }
}

@media print {
  .mobile-plan-bar {
    display:none!important;
  }
}
