.recovery-switch-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(220, 232, 255, .52), transparent 30rem),
    radial-gradient(circle at 92% 28%, rgba(226, 245, 235, .58), transparent 28rem),
    #fbfafc;
}

.recovery-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding-right: min(42vw, 460px);
  background:
    linear-gradient(135deg, rgba(76, 91, 151, .96), rgba(99, 127, 154, .93) 52%, rgba(112, 153, 137, .91)),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.18), transparent 26rem);
  color: #fff;
}

.recovery-page-hero::before,
.recovery-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.recovery-page-hero::before {
  width: 290px;
  height: 290px;
  left: -100px;
  bottom: -160px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 82px rgba(255,255,255,.025);
}

.recovery-page-hero::after {
  width: 9px;
  height: 9px;
  top: 78px;
  left: 48%;
  background: rgba(255,255,255,.75);
  box-shadow: 80px 42px rgba(255,255,255,.38), -120px 96px rgba(255,255,255,.32), 170px 155px rgba(255,255,255,.3), -210px 210px rgba(255,255,255,.24);
}

.recovery-page-hero .page-kicker,
.recovery-page-hero h1,
.recovery-page-hero > p,
.recovery-hero-points {
  position: relative;
  z-index: 2;
}

.recovery-page-hero h1 {
  max-width: 760px;
  color: #fff;
}

.recovery-page-hero h1 em {
  color: #f4edb6;
  font-style: normal;
}

.recovery-page-hero > p:not(.page-kicker) {
  max-width: 690px;
  color: rgba(255,255,255,.9);
}

.recovery-hero-ornament {
  position: absolute;
  top: 50%;
  right: clamp(36px, 7vw, 100px);
  width: 290px;
  height: 290px;
  transform: translateY(-50%);
}

.recovery-hero-ring {
  position: absolute;
  inset: 32px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(255,255,255,.05),
    0 22px 70px rgba(29, 50, 76, .28),
    inset 0 0 46px rgba(255,255,255,.08);
}

.recovery-hero-ring::before {
  content: "";
  width: 88px;
  height: 88px;
  border: 13px solid #f4edb6;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-42deg);
  filter: drop-shadow(0 8px 16px rgba(18,38,55,.22));
}

.recovery-hero-ring::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 68px;
  top: 62px;
  left: calc(50% - 6px);
  border-radius: 99px;
  background: #f4edb6;
  box-shadow: 0 7px 18px rgba(18,38,55,.22);
}

.recovery-hero-ring i {
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 66%);
}

.recovery-hero-pulse {
  position: absolute;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}

.recovery-hero-pulse.pulse-a { inset: 10px; }
.recovery-hero-pulse.pulse-b { inset: -16px; opacity: .55; }

.recovery-hero-ornament .hero-caption {
  position: absolute;
  right: 0;
  bottom: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 16px;
  background: rgba(35, 55, 83, .28);
  color: #fff;
  font-size: .82rem;
  line-height: 1.45;
  text-align: right;
  backdrop-filter: blur(8px);
}

.recovery-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.recovery-hero-points span {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.recovery-shell {
  width: min(1160px, calc(100% - 32px));
  margin: -54px auto 72px;
  position: relative;
  z-index: 3;
}

.recovery-form-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(107, 120, 154, .17);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 24px 70px rgba(52, 64, 94, .16);
}

.recovery-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.recovery-form-heading span,
.recovery-section-heading small {
  display: block;
  color: #74839f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.recovery-form-heading h2,
.recovery-section-heading h2 {
  margin: 4px 0 0;
}

.recovery-form-heading > p {
  margin: 0;
  color: #788095;
  font-size: .82rem;
}

.recovery-input-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr .8fr;
  gap: 16px;
}

.recovery-input-grid label,
.recovery-fatigue-picker legend {
  color: #3f4557;
  font-size: .88rem;
  font-weight: 800;
}

.recovery-input-grid input,
.recovery-input-grid select {
  width: 100%;
  margin-top: 7px;
  min-height: 48px;
  border: 1px solid #d8dce8;
  border-radius: 12px;
  background: #fff;
  color: #2d3341;
}

.recovery-time-unknown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0 24px;
  color: #535b6f;
  font-weight: 700;
}

.recovery-time-unknown input {
  width: 18px;
  height: 18px;
}

.recovery-fatigue-picker {
  margin: 0;
  padding: 24px;
  border: 1px solid #e0e4ed;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfcff, #f7faf8);
}

.recovery-fatigue-picker legend {
  padding: 0 9px;
}

.recovery-fatigue-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.recovery-fatigue-options label {
  position: relative;
  cursor: pointer;
}

.recovery-fatigue-options input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.recovery-fatigue-options span {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid #dfe3ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(66, 77, 103, .055);
  transition: .2s ease;
}

.recovery-fatigue-options strong {
  color: #353c50;
  font-size: .92rem;
}

.recovery-fatigue-options small {
  color: #808799;
  font-size: .74rem;
}

.recovery-fatigue-options label:hover span {
  transform: translateY(-2px);
  border-color: #adb9d2;
}

.recovery-fatigue-options input:checked + span {
  border-color: #687aa4;
  background: linear-gradient(135deg, #f0f3fb, #eff8f3);
  box-shadow: 0 0 0 3px rgba(104,122,164,.13), 0 10px 24px rgba(63,78,111,.1);
}

.recovery-fatigue-options input:focus-visible + span {
  outline: 3px solid rgba(82,112,171,.28);
  outline-offset: 2px;
}

.recovery-form-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #8092b7;
  border-radius: 0 12px 12px 0;
  background: #f4f6fb;
  color: #5b6377;
  font-size: .84rem;
}

.recovery-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(520px, 100%);
  min-height: 56px;
  margin: 24px auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #576b9b, #688f87);
  color: #fff;
  font-weight: 900;
  letter-spacing: .03em;
  box-shadow: 0 14px 32px rgba(70, 91, 126, .24);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.recovery-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(70, 91, 126, .29); }
.recovery-submit:disabled { opacity: .62; cursor: wait; transform: none; }
.recovery-submit span { font-size: 1.35rem; }

.recovery-error {
  min-height: 1.4em;
  margin-top: 14px;
  color: #a7424d;
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}

.recovery-status {
  min-height: 1.4em;
  color: #557165;
  font-size: .84rem;
  text-align: center;
}

.recovery-results {
  margin-top: 36px;
}

.recovery-report {
  display: grid;
  gap: 24px;
}

.recovery-result-hero,
.recovery-section {
  border: 1px solid rgba(104, 119, 151, .16);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(54, 66, 93, .1);
}

.recovery-result-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 62px);
  background:
    radial-gradient(circle at 88% 24%, rgba(213, 235, 226, .78), transparent 25rem),
    radial-gradient(circle at 12% 86%, rgba(219, 226, 247, .78), transparent 27rem),
    linear-gradient(135deg, #fff, #f8fafc);
}

.recovery-result-hero::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -60px;
  bottom: -80px;
  border: 1px solid rgba(92, 112, 151, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(92,112,151,.035), 0 0 0 60px rgba(92,112,151,.025);
}

.recovery-result-kicker {
  margin: 0;
  color: #6a7895;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.recovery-result-name {
  margin: 10px 0 -2px;
  color: #79849a;
  font-size: .84rem;
  font-weight: 800;
}

.recovery-power-mark {
  position: absolute;
  top: 36px;
  right: clamp(28px, 5vw, 64px);
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(89, 108, 146, .17);
  border-radius: 50%;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 36px rgba(60, 77, 105, .11);
}

.recovery-power-mark::before {
  content: "";
  width: 45px;
  height: 45px;
  border: 8px solid #65779e;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-44deg);
}

.recovery-power-mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 34px;
  top: 23px;
  border-radius: 99px;
  background: #65779e;
}

.recovery-result-hero h2 {
  max-width: calc(100% - 130px);
  margin: 12px 0 8px;
  color: #31394b;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
}

.recovery-result-catch {
  margin: 0 0 18px;
  color: #698378;
  font-weight: 900;
}

.recovery-result-summary {
  max-width: 840px;
  margin: 0;
  color: #555e70;
  line-height: 1.9;
}

.recovery-result-focus {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #eff3f7;
}

.recovery-result-focus small { color: #71798b; }
.recovery-result-focus strong { color: #45546f; }

.recovery-warning-stack {
  display: grid;
  gap: 8px;
}

.recovery-warning-stack p {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid #e7d8b3;
  border-radius: 12px;
  background: #fff9e8;
  color: #75613a;
  font-size: .86rem;
}

.recovery-section {
  padding: clamp(24px, 4vw, 40px);
}

.recovery-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.recovery-section-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #eef2f8;
  color: #66789b;
  font-weight: 900;
}

.recovery-section-heading.compact { margin-bottom: 18px; }
.recovery-section-heading.compact > span { width: 36px; height: 36px; flex-basis: 36px; font-size: .82rem; }

.recovery-fatigue-grid,
.recovery-environment-grid {
  display: grid;
  gap: 16px;
}

.recovery-fatigue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recovery-environment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.recovery-fatigue-card,
.recovery-environment-card {
  padding: 21px;
  border: 1px solid #e1e5ee;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fafbfc);
}

.recovery-fatigue-card > span,
.recovery-environment-card > span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2f8;
  color: #62728e;
  font-size: .7rem;
  font-weight: 900;
}

.recovery-fatigue-card h3,
.recovery-environment-card h3 {
  margin: 13px 0 8px;
  color: #3b4354;
  font-size: 1rem;
}

.recovery-fatigue-card p,
.recovery-environment-card p {
  margin: 0;
  color: #626a7a;
  font-size: .88rem;
  line-height: 1.75;
}

.recovery-first-switch {
  background:
    radial-gradient(circle at 96% 15%, rgba(236, 225, 181, .38), transparent 19rem),
    linear-gradient(135deg, #fffef9, #f5f8fb);
}

.recovery-switch-panel {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce3ea;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
}

.recovery-switch-icon {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: linear-gradient(145deg, #65789f, #6d9389);
  color: #fff;
  font-size: 2.7rem;
  box-shadow: 0 15px 30px rgba(78, 98, 127, .22);
}

.recovery-switch-panel span {
  color: #495874;
  font-size: 1.15rem;
  font-weight: 900;
}

.recovery-switch-panel p {
  margin: 8px 0 13px;
  color: #555e70;
  line-height: 1.8;
}

.recovery-switch-panel strong {
  display: block;
  color: #6d7953;
  font-size: .86rem;
}

.recovery-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.recovery-timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 83px;
  width: 2px;
  background: linear-gradient(#9aabc8, #90ad9f);
}

.recovery-plan-step {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
  padding: 19px 20px;
  border: 1px solid #e0e5ed;
  border-radius: 16px;
  background: #fff;
}

.recovery-plan-time {
  position: relative;
  z-index: 1;
  width: 126px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2f8;
  color: #596b8b;
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
}

.recovery-plan-step h3 {
  margin: 2px 0 6px;
  color: #3e4759;
  font-size: 1rem;
}

.recovery-plan-step p {
  margin: 0;
  color: #616a7b;
  font-size: .89rem;
  line-height: 1.75;
}

.recovery-boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.recovery-avoid,
.recovery-phrase {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(104,119,151,.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(54,66,93,.09);
}

.recovery-avoid ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #626a79;
}

.recovery-avoid li + li { margin-top: 10px; }

.recovery-phrase {
  background: linear-gradient(145deg, #f6f8fc, #f5faf7);
}

.recovery-phrase blockquote {
  margin: 12px 0 0;
  padding: 22px;
  border-left: 4px solid #7689aa;
  border-radius: 0 16px 16px 0;
  background: #fff;
  color: #46536c;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.8;
}

.recovery-checklist ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recovery-checklist li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #e2e6ed;
  border-radius: 14px;
  background: #fbfcfd;
}

.recovery-checklist li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7183a4;
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.recovery-checklist p { margin: 0; color: #525c6f; }

.recovery-calculation-note,
.recovery-health-note {
  margin: 0;
  padding: 14px 17px;
  border-radius: 13px;
  font-size: .82rem;
  line-height: 1.7;
}

.recovery-calculation-note {
  border: 1px solid #dfe5ec;
  background: #f6f8fa;
  color: #687080;
}

.recovery-health-note {
  border: 1px solid #eadcb9;
  background: #fff9ea;
  color: #76633e;
}

.recovery-card-panel {
  margin-top: 24px;
}

.recovery-explanation {
  margin-bottom: 72px;
}

@media (max-width: 980px) {
  .recovery-page-hero { padding-right: 32px; }
  .recovery-hero-ornament { opacity: .24; right: -40px; }
  .recovery-input-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-fatigue-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recovery-result-hero h2 { max-width: calc(100% - 100px); }
}

@media (max-width: 720px) {
  .recovery-page-hero { min-height: 390px; padding-right: 22px; }
  .recovery-hero-ornament { width: 230px; height: 230px; right: -78px; top: 55%; }
  .recovery-shell { width: min(100% - 20px, 1160px); margin-top: -38px; }
  .recovery-form-panel { border-radius: 22px; }
  .recovery-form-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .recovery-input-grid,
  .recovery-fatigue-options,
  .recovery-fatigue-grid,
  .recovery-environment-grid,
  .recovery-boundary-grid { grid-template-columns: 1fr; }
  .recovery-fatigue-picker { padding: 18px; }
  .recovery-fatigue-options span { min-height: 72px; }
  .recovery-power-mark { width: 76px; height: 76px; top: 24px; right: 22px; opacity: .5; }
  .recovery-power-mark::before { width: 34px; height: 34px; border-width: 6px; }
  .recovery-power-mark::after { width: 6px; height: 26px; top: 17px; }
  .recovery-result-hero h2 { max-width: 100%; padding-right: 40px; }
  .recovery-result-focus { align-items: flex-start; flex-direction: column; gap: 2px; border-radius: 14px; }
  .recovery-switch-panel { grid-template-columns: 1fr; }
  .recovery-switch-icon { width: 72px; height: 72px; font-size: 2rem; }
  .recovery-timeline::before { display: none; }
  .recovery-plan-step { grid-template-columns: 1fr; gap: 10px; }
  .recovery-plan-time { width: fit-content; }
}

@media (max-width: 430px) {
  .recovery-page-hero h1 { font-size: 2rem; }
  .recovery-hero-points { gap: 6px; }
  .recovery-hero-points span { padding: 6px 9px; font-size: .7rem; }
  .recovery-section,
  .recovery-result-hero { border-radius: 20px; }
  .recovery-section-heading { align-items: flex-start; }
  .recovery-section-heading h2 { font-size: 1.25rem; }
}
