.today-hero { padding-block: 36px 32px; }
.today-copy h1 { margin: 0 0 8px; font-size: clamp(38px, 4vw, 54px); }
.today-plan-section { padding-top: 8px; }
/* Keep the preceding page heading clear when returning to today's goal. */
main #today-plan { scroll-margin-top: 32px; }
.today-welcome { margin-bottom: 28px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 24px 42px; border-radius: 18px; background: var(--surface-card, #fff); box-shadow: 0 12px 32px rgba(23, 32, 51, .07); }
.today-welcome-copy h2 { max-width: 720px; margin: 7px 0 8px; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.today-welcome-copy p { max-width: 660px; margin: 0; color: var(--text-secondary, var(--ink-600)); line-height: 1.6; }
.today-experience { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.today-experience li { display: grid; grid-template-columns: 30px 1fr; align-items: center; column-gap: 10px; }
.today-experience li > span { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; color: var(--green-dark); background: var(--surface-muted, var(--ink-100)); border-radius: 50%; font-size: 11px; font-weight: 800; }
.today-experience strong { font-size: 14px; }.today-experience small { color: var(--text-muted, var(--ink-500)); font-size: 11px; }
.today-welcome-links { grid-column: 1 / -1; padding-top: 16px; display: flex; gap: 22px; border-top: 1px solid var(--border-subtle, var(--ink-100)); }
.today-welcome-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--green-dark); font-size: 14px; font-weight: 650; }
/* First visit: one shipped lesson block, its check and a terminal task before setup. */
main .today-sample { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle); }
main .today-sample-heading small { display: block; color: var(--text-secondary); font-size: 13px; font-weight: 650; line-height: 1.5; }
main .today-sample-heading h2 { max-width: 720px; margin: 6px 0 0; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
main .today-sample-lesson { max-width: 820px; background: transparent; }
main .today-sample-lesson .lesson-inline-concepts-title { margin: 20px 0 0; color: var(--text-primary); font-size: 1.0625rem; }
main .today-sample-lesson .lesson-block-check > h3 { margin: 0 0 6px; color: var(--text-primary); font-size: 1.0625rem; line-height: 1.5; }
main .today-sample-practice { max-width: 820px; margin-top: 24px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; border-block: 1px solid var(--border-subtle); }
main .today-sample-practice > div { min-width: 0; display: grid; gap: 4px; }
main .today-sample-practice small { color: var(--text-secondary); font-size: 13px; font-weight: 650; line-height: 1.5; }
main .today-sample-practice strong { color: var(--text-primary); font-size: 1.0625rem; line-height: 1.4; }
main .today-sample-practice .button { flex: none; min-height: 44px; }
main .today-sample .today-save-note { margin-top: 16px; }
main .today-sample .today-welcome-links { padding-top: 8px; flex-wrap: wrap; gap: 4px 22px; border-top: 0; }
@media (max-width: 760px) {
  main .today-sample-practice { align-items: stretch; flex-direction: column; }
  main .today-sample-practice .button { width: 100%; }
}
.today-onboarding { box-shadow: none; }.today-onboarding-primary { background: color-mix(in srgb, var(--green) 5%, var(--surface-card, #fff)); }
.today-onboarding > header > strong { color: var(--state-success); background: var(--state-success-soft); border: 1px solid var(--state-success-border); }
.today-plan-grid[data-primary-plan] > .today-plan-item:first-child { grid-column: 1 / -1; min-height: 104px; padding: 22px; border-left-width: 4px; box-shadow: 0 12px 26px rgba(23, 32, 51, .08); }
.today-plan-grid[data-primary-plan] > .today-plan-item:first-child strong { font-size: 17px; }
.today-plan-grid[data-primary-plan] > .today-plan-item:not(:first-child) { box-shadow: none; background: transparent; }
.today-completion-summary { box-shadow: none; }
.today-review-count { margin-top: 9px; display: block; color: var(--text-secondary); font-size: 12px; font-weight: 650; }
.today-other-options { margin-top: 18px; border-top: 1px solid var(--border-subtle); }
.today-other-options > summary { min-height: 44px; padding-block: 12px; color: var(--text-primary); cursor: pointer; font-size: 14px; font-weight: 650; }
.today-other-options > summary > span { margin-left: 8px; color: var(--text-secondary); font-weight: 400; }
.today-other-options > .today-plan-grid { margin-top: 12px; }
/* Each session uses the same count and action columns, regardless of its label. */
#today-plan .today-plan-grid { grid-template-columns: minmax(0, 1fr); }
#today-plan .today-plan-item { grid-template-columns: 34px minmax(0, 1fr) 360px; }
#today-plan .today-plan-item > form { width: 360px; display: grid; grid-template-columns: 144px minmax(0, 1fr); gap: 12px; align-items: end; }
#today-plan .today-plan-item > form > .button { grid-column: 2; width: 100%; min-height: 44px; }
#today-plan .today-plan-item > .button { width: 204px; justify-self: end; }
#today-plan .today-question-count { font-size: 11px; font-weight: 600; text-transform: none; }
#today-plan .today-question-count input { min-height: 44px; }
.today-remaining-setup { margin-top: 24px; border-top: 1px solid var(--border-subtle); }
.today-remaining-setup > summary { min-height: 44px; padding-block: 12px; color: var(--text-primary); cursor: pointer; font-size: 14px; font-weight: 650; }
.today-remaining-setup > .today-onboarding { margin-top: 12px; }
.streak-strip { --streak-text-secondary: #c5d0e0; }
.streak-panel { align-items: center; }.streak-details { min-width: min(100%, 340px); display: block; }
.streak-details > summary { min-height: 44px; display: block; text-align: right; align-content: center; color: var(--streak-text-secondary); cursor: pointer; font-size: 12px; font-weight: 750; }
.streak-details > div { padding: 6px 0 2px; display: grid; gap: 6px; color: var(--streak-text-secondary); font-size: 11px; }
@media (max-width: 760px) {
  #today-plan .today-plan-item { grid-template-columns: 34px minmax(0, 1fr); }
  #today-plan .today-plan-item > form { grid-column: 2; width: 100%; grid-template-columns: 80px minmax(0, 1fr); }
  #today-plan .today-plan-item > .button { grid-column: 2; width: 100%; }
  .today-hero { padding-block: 26px 22px; }.today-plan-section { padding-top: 8px; }
  .today-welcome { grid-template-columns: 1fr; gap: 16px; padding: 18px; }.today-welcome-links { flex-wrap: wrap; gap: 4px 20px; padding-top: 8px; }
  .today-experience { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .today-experience li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .today-experience li > span { display: none; }
  .today-experience small { font-size: 12px; line-height: 1.5; }
  .today-plan-grid[data-primary-plan] > .today-plan-item:first-child { min-height: 0; padding: 18px; }
  .streak-panel { align-items: stretch; }.streak-details { width: 100%; }.streak-details > summary { text-align: left; }
}

main .today-sample-question { max-width: 820px; margin-block: 20px 28px; }
main .today-sample-question h3 { margin-block: 10px 16px; color: var(--text-primary); font-size: 1.125rem; line-height: 1.5; }
main .today-sample-question small { color: var(--text-secondary); }
main .today-sample-question .quiz-options { padding: 0; margin-bottom: 16px; grid-template-columns: 1fr; }
main .today-sample-question .quiz-options label { min-height: 44px; }
main .today-sample-question .practice-step-feedback { padding: 16px; }
main .today-sample-question .answer-other-choices > summary { min-height: 44px; align-content: center; cursor: pointer; }
main .today-sample-lesson .lesson-sequence-reading > summary { min-height: 44px; align-content: center; cursor: pointer; }
