/* ready: the ready check's screens, combined by the asset build. */
/* "See if you're ready" (features/ready): the lesson player's screens, plus
   Crumpet's line of reaction, the daily times, the name field and the plan's
   stamp. */
.ready-mood {
  min-height: 2.8em;
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}
.ready-screen .date-ribbon {
  margin-top: 18px;
}
/* Two actions: the way on, and the other answer under it. */
.guided-actions:has(.ready-skip) {
  display: grid;
  gap: 6px;
}
.ready-skip {
  width: 100%;
  min-height: 48px;
  color: var(--brand-ink);
  font-size: 16px;
}
/* On a desk the action row runs across: the other answer at the left, the
   way on at the right, as the lesson's own action sits. */
@media (min-width: 960px) {
  .guided-actions:has(.ready-skip) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
  }
  .ready-skip {
    width: auto;
    padding-inline: 28px;
  }
}

/* The plan: the test day's readout, with the daily time as its big line and
   the badge in green, as a saved day's is. A test too close to plan the whole
   course for keeps it blue. */
.ready-plan {
  margin-top: 22px;
}
.ready-plan-time {
  font-size: 34px;
  text-wrap: balance;
}
.ready-plan-badge {
  background: var(--correct);
  text-shadow: 0 1px 0 var(--correct-lip);
  box-shadow: 0 3px 0 var(--correct-lip);
  animation: date-ribbon-pop 0.42s cubic-bezier(0.2, 1.6, 0.4, 1) 0.25s both;
}
.ready-plan-badge.is-soon {
  background: var(--brand);
  text-shadow: 0 1px 0 var(--brand-lip);
  box-shadow: 0 3px 0 var(--brand-lip);
}
.ready-plan-tick {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ready-plan-badge.is-soon .ready-plan-tick {
  display: none;
}
.ready-plan-note {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 700;
}
/* Three facts from the check, on tiles like the slider's days. */
.ready-plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
}
.ready-plan-fact {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px 6px;
  border: 2px solid var(--line-2);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--line-2);
  text-align: center;
}
.ready-plan-fact dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
}
.ready-plan-fact dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
@media (prefers-reduced-motion: reduce) {
  .ready-plan-badge {
    animation: none;
  }
}
/* The ready check's plan (ready-card.js; ready-journey.html: ready-plan-routine):
   its stamp, its facts and the three steps of its routine. */
.ready-screen .session-close {
  min-width: 44px;
}
.ready-plan-badge {
  --correct: #287d10;
  --correct-lip: #20650d;
  color: #fff;
  text-shadow: none;
}
.ready-plan-fact dt {
  color: var(--ink-2);
  font-size: 14px;
}
.ready-estimate-note {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.45;
}
.ready-plan-routine {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding-left: 24px;
}
.ready-plan-routine li {
  padding-left: 8px;
}
.ready-plan-routine li::marker {
  color: var(--brand-ink);
  font-weight: 900;
}
.ready-plan-routine h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.ready-plan-routine p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.45;
}
@media (max-width: 440px) {
  .ready-plan-facts {
    grid-template-columns: 1fr;
  }
  .ready-plan-fact {
    grid-template-columns: 1fr 1.5fr;
    justify-items: start;
    text-align: left;
  }
}

/* A deeper country blue keeps the white "soon" badge readable. The onboarding
   buttons keep the app's bright blue, as everywhere else (owner, 8 Oct 2026:
   "it should be the bright blue"). */
.ready-plan-badge.is-soon {
  --brand: #0076a3;
  --brand-lip: #005c80;
}
