.ten-minute-page .reset-hero-copy h1 {
  max-width: 11ch;
}

.ten-minute-page .reset-hero-card {
  transform: rotate(-.8deg);
}

.ten-lane-panel {
  margin-bottom: 1rem;
}

.ten-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.ten-section-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ten-section-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--reset-muted);
  line-height: 1.6;
}

.ten-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.ten-lane-option {
  min-width: 0;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--reset-line);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.72);
  color: var(--reset-ink);
  text-align: left;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.ten-lane-option:hover {
  transform: translateY(-2px);
  border-color: rgba(244,162,97,.58);
  box-shadow: 0 12px 28px rgba(31,41,55,.07);
}

.ten-lane-option[aria-pressed="true"] {
  border-color: rgba(244,162,97,.62);
  background: linear-gradient(145deg, rgba(255,240,223,.96), rgba(255,255,255,.82));
  box-shadow: inset 0 0 0 1px rgba(244,162,97,.15);
}

.ten-lane-option span {
  color: #a55321;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.ten-lane-option strong {
  margin-top: auto;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.ten-lane-option small {
  margin-top: .45rem;
  color: var(--reset-muted);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.45;
}

.ten-minute-page:not([data-ten-selected-lane]) .ten-reset-shell {
  display: none;
}

.ten-reset-shell {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.ten-timer-rail {
  min-width: 0;
}

.ten-timer-card {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid rgba(31,41,55,.12);
  border-radius: 1.8rem;
  background: linear-gradient(150deg, #1f2937, #344151);
  color: white;
  box-shadow: var(--shadow);
}

.ten-ball-playground {
  display: none;
}

.ten-ball {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255,255,255,.95) 0 9%,
    hsl(var(--ten-ball-hue, 24) 88% 66%) 32%,
    hsl(calc(var(--ten-ball-hue, 24) + 28) 82% 48%) 100%
  );
  box-shadow: 0 10px 18px rgba(31,41,55,.18), inset -5px -7px 10px rgba(31,41,55,.14);
  transform: translate3d(0,0,0);
  will-change: transform;
}

@media (min-width: 981px) {
  .ten-timer-rail {
    position: sticky;
    top: 1rem;
    align-self: start;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 1rem;
    height: min(var(--ten-workspace-height, calc(100vh - 2rem)), calc(100vh - 2rem));
    height: min(var(--ten-workspace-height, calc(100dvh - 2rem)), calc(100dvh - 2rem));
    min-height: 0;
  }

  .ten-ball-playground {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(31,41,55,.12);
    border-radius: 1.5rem;
    background:
      radial-gradient(circle at 18% 24%, rgba(244,162,97,.14), transparent 32%),
      linear-gradient(145deg, rgba(255,255,255,.86), rgba(226,239,232,.8));
    box-shadow: 0 18px 36px rgba(31,41,55,.08);
  }
}

.ten-timer-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.ten-timer-topline .eyebrow {
  margin: 0;
  color: #f4c8a5;
}

.ten-timer-topline > span {
  max-width: 12rem;
  color: rgba(255,255,255,.68);
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
}

.ten-timer-card h2 {
  margin: 1.1rem 0 .35rem;
  color: white;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -.035em;
}

.ten-timer-display {
  margin: .2rem 0 0;
  font-variant-numeric: tabular-nums;
  font-size: clamp(4.2rem, 9vw, 7.2rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.075em;
}

.ten-timer-phase {
  min-height: 3rem;
  margin: 1rem 0 .85rem;
  color: rgba(255,255,255,.76);
  font-size: .95rem;
  line-height: 1.5;
}

.ten-timer-track {
  height: .6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}

.ten-timer-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4a261, #e9c46a);
  transition: width .2s linear;
}

.ten-timer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-top: 1rem;
}

.ten-timer-controls .ghost {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.82);
}

.ten-timer-controls .secondary {
  border-color: rgba(255,255,255,.14);
}

.ten-timer-controls button:disabled {
  cursor: not-allowed;
  opacity: .46;
  transform: none;
}

.ten-timer-status {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  line-height: 1.5;
}

.ten-plan-card[hidden] {
  display: none;
}

.ten-plan-card {
  min-width: 0;
}

.ten-plan-heading {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1rem;
}

.ten-plan-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.ten-step-progress {
  flex: 0 0 auto;
  display: grid;
  gap: .2rem;
  text-align: right;
}

.ten-step-progress strong {
  font-size: .9rem;
}

.ten-step-progress span {
  color: var(--reset-muted);
  font-size: .76rem;
}

.ten-plan[hidden] {
  display: none;
}

.ten-plan-intro {
  max-width: 44rem;
  margin: 0 0 1rem;
  color: var(--reset-muted);
  line-height: 1.6;
}

.ten-plan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ten-plan-step {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--reset-line);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.ten-plan-step:hover {
  transform: translateY(-1px);
  border-color: rgba(244,162,97,.52);
}

.ten-plan-step:has(input:checked) {
  border-color: rgba(104,158,134,.34);
  background: rgba(239,248,243,.9);
}

.ten-plan-step input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--reset-sage);
}

.ten-step-time {
  display: inline-flex;
  align-self: flex-start;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: var(--reset-warm-soft);
  color: #9a4c20;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ten-step-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: .55rem;
}

.ten-step-copy strong {
  font-size: clamp(1.28rem, 2.4vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.ten-step-copy span {
  color: var(--reset-muted);
  line-height: 1.55;
}

.ten-plan-step:has(input:checked) .ten-step-copy strong {
  text-decoration: line-through;
  text-decoration-thickness: .08em;
  text-decoration-color: rgba(31,41,55,.3);
}

.ten-next-step {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 1.2rem;
  align-items: end;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(244,162,97,.2);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(255,240,223,.94), rgba(255,255,255,.76));
}

.ten-next-step h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.ten-next-step > div > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--reset-muted);
  line-height: 1.55;
}

.ten-next-step-field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .82rem;
  font-weight: 850;
}

.ten-next-step textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--reset-line);
  border-radius: .95rem;
  padding: .85rem;
  background: rgba(255,255,255,.92);
  color: var(--reset-ink);
  line-height: 1.5;
}

.ten-plan-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--reset-line);
}

.ten-plan-actions p {
  margin: 0 0 0 auto;
  color: var(--reset-muted);
  font-size: .82rem;
}

.ten-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.ten-context article {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 1.6rem;
  background: rgba(255,255,255,.66);
}

.ten-context article:nth-child(2) {
  background: rgba(226,239,232,.72);
}

.ten-context h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.ten-context article > p:not(.eyebrow) {
  max-width: 35rem;
  margin-bottom: 0;
  color: var(--reset-muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ten-lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ten-reset-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ten-section-heading,
  .ten-plan-heading,
  .ten-next-step {
    grid-template-columns: 1fr;
  }

  .ten-section-heading {
    display: grid;
  }

  .ten-plan-heading {
    display: grid;
    align-items: start;
  }

  .ten-step-progress {
    text-align: left;
  }

  .ten-plan-steps {
    grid-template-columns: 1fr;
  }

  .ten-plan-step {
    min-height: 0;
  }

  .ten-step-copy {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .ten-minute-page .reset-hero-copy h1 {
    max-width: 10ch;
  }

  .ten-lane-grid,
  .ten-context {
    grid-template-columns: 1fr;
  }

  .ten-lane-option {
    min-height: 8rem;
  }

  .ten-timer-controls {
    grid-template-columns: 1fr;
  }

  .ten-timer-controls .ghost {
    grid-column: auto;
  }

  .ten-plan-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ten-plan-actions button {
    width: 100%;
  }

  .ten-plan-actions p {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ten-lane-option,
  .ten-plan-step,
  .ten-timer-track span {
    transition: none;
  }

  .ten-ball {
    will-change: auto;
  }
}
