/* Visual hierarchy only: retain copy, routes, data and interaction states. */
.shell > main { padding-top: 40px; }
.top { margin-bottom: 36px; }
.summary { gap: 24px; margin-bottom: 48px; }
.mission { border-width: 1px; box-shadow: 0 4px 16px rgba(55,80,40,.05); }
.mission h2 { line-height: 1.45; }
.mission-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mission-actions .start-set { min-height: 44px; line-height: 1.5; }
.mission-actions .start-set:not(#openBasicFromHome) {
  background: #fffdf5; color: #48613f; border: 1px solid #ccd8bd; box-shadow: none;
}
.mission-actions .start-set:not(#openBasicFromHome):hover { background: #eef4e6; }
.mission .steps { margin-top: 28px; padding-top: 18px; border-top: 1px solid #dce3cf; }
.quick { background: #f7f8ef; border: 1px solid #dce3cf; box-shadow: none; }
.quick h3 { font-size: 17px; }
.quick p { color: #5e6b5d; font-size: 14px; line-height: 1.85; }
.quick .metric { border-color: #dce3cf; background: #fffdf5; }
.quick .course-open { background: transparent; color: #48613f; border: 1px solid #ccd8bd; box-shadow: none; }
.workbench { gap: 24px; }
.card, .basic-module, .stem-card, .course-homework-side { box-shadow: none; border-width: 1px; }
.task { background: #f7f9f0; }
.card-title { align-items: flex-start; gap: 16px; }
.tag { background: transparent; border: 0; padding: 4px 0; color: #61705b; font-weight: 500; }
.question { background: #f6f5e9; border: 0; border-left: 3px solid #8ba365; padding: 20px; }
.counter, .eyebrow, .course-kicker { color: #61705b; }
.diagnostic { margin-top: 48px; }
.timeline .phase { background: #f7f8f1; border-color: #e0e5d6; }

/* Long lessons: a strong chapter head, quiet explanation, distinct practice. */
.course-lesson { max-width: 980px; margin-inline: auto; }
.course-lesson > h2 { font-size: clamp(28px,3vw,40px); line-height: 1.35; margin: 12px 0 20px; }
.course-lead { font-size: 16px; line-height: 1.9; color: #5e6b5d; }
.lesson-outline { gap: 12px; margin: 32px 0 48px; }
.lesson-outline-item { min-height: 96px; border: 1px solid #dce3cf; box-shadow: none; background: #fffdf5; }
.lesson-outline-item:hover { box-shadow: none; }
.lesson-unit, .lesson-unit:nth-of-type(3n+2), .lesson-unit:nth-of-type(3n+3) {
  margin: 48px 0; padding: clamp(22px,3vw,36px); border: 1px solid #dce3cf;
  border-top: 3px solid #92aa72; background: #fffdf8; box-shadow: none;
}
.lesson-unit-head { gap: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #e4e8db; align-items: center; }
.lesson-unit-head h3 { font-size: clamp(22px,2.2vw,28px); line-height: 1.45; }
.lesson-unit-index { background: #edf2e4; border: 0; transform: none; color: #526b43; }
.lesson-unit-status { color: #61705b; font-size: 12px; }
.lesson-unit h4, .concept-heading { font-size: 18px; line-height: 1.6; margin-top: 28px; margin-bottom: 14px; }
.course-concept, .lesson-scenario, .lesson-story, .lesson-bridge, .module-example, .module-purpose, .method-limit, .course-tip {
  background: #f7f8f1; border-color: #e1e6d7; box-shadow: none;
}
.lesson-unit p, .lesson-unit li { line-height: 1.9; }
.lesson-concept-visual { margin-block: 24px; border-color: #e1e6d7; box-shadow: none; }
.lesson-check { margin-top: 32px; padding: 24px; border: 1px solid #d7e2c8; border-radius: 14px; background: #f0f5e8; }
.lesson-check > h4 { margin-top: 0; }
.lesson-check-answer { min-height: 44px; }
.lesson-summary { margin-top: 48px; box-shadow: none; }
.basic-intro { margin-bottom: 40px; }
.basic-grid { gap: 24px; }
.basic-index { background: #edf2e4; color: #526b43; border: 0; box-shadow: none; }
.basic-module h3 { font-size: 24px; }
.basic-module footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e4e8db; }

/* Keep reading and answering distinct without changing scroll ownership. */
.book100-head, .speed-math-head { background: #fffdf5; box-shadow: none; }
.book100-body { gap: 32px; }
.book100-paper { border: 1px solid #e0e5d6; box-shadow: none; padding: 24px; }
.book100-question-pane { border: 1px solid #d6dfc1; border-top: 3px solid #92aa72; box-shadow: none; padding: 28px; }
.book100-material-head, .book100-question-head { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid #e4e8db; }
.book100-original, .book100-sheet { margin-top: 28px; padding-top: 20px; }
.module-book-top { margin-bottom: 32px; }
.module-book-question { box-shadow: none; border-width: 1px; }
.module-book-stem { margin-block: 28px 24px; font-weight: 650; }
.module-book-sheet { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e4e8db; }
.speed-math-sidebar { box-shadow: none; background: #f7f8ef; }
.speed-math-main { box-shadow: none; }
.speed-math-clock { background: transparent; }
@media (max-width: 720px) {
  .shell > main { padding-top: 28px; }
  .summary { gap: 24px; margin-bottom: 36px; }
  .top { margin-bottom: 28px; }
  .mission-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; }
  .mission-actions #openBasicFromHome { grid-column: 1 / -1; }
  .mission-actions .start-set { width: 100%; padding: 10px; font-size: 13px; }
  .mission-art { height: 140px; }
  .mission .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 10px; overflow: visible; }
  .mission .step-dot { min-width: 0; }
  .mission .step-dot::after { display: none; }
  .workbench { gap: 24px; }
  .lesson-outline { margin-bottom: 36px; }
  .lesson-unit, .lesson-unit:nth-of-type(3n+2), .lesson-unit:nth-of-type(3n+3) { margin-block: 36px; padding: 20px; }
  .lesson-unit-head { flex-wrap: wrap; gap: 10px; }
  .lesson-unit-head h3 { flex: 1; min-width: 0; margin: 0; }
  .lesson-check { padding: 18px; }
  .book100-paper, .book100-question-pane { padding: 18px; }
  .basic-grid { gap: 24px; }
  .diagnostic { margin-top: 36px; }
}
