:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0eee7;
  --text: #22231f;
  --muted: #6f7169;
  --line: #ddd9ce;
  --primary: #2f6f63;
  --primary-dark: #214f47;
  --accent-soft: #f6e5d8;
  --warn: #b45f2a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

* {
  min-width: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #e9efe9 0%, var(--bg) 42%);
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  width: min(100%, 520px);
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.topbar {
  padding: 24px 20px 18px;
  background: #e7efe9;
  border-bottom: 1px solid rgba(47, 111, 99, 0.12);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: 0;
}

.subtle {
  color: var(--muted);
  line-height: 1.6;
}

.page {
  padding: 18px 16px 28px;
  max-width: 100%;
  overflow-x: hidden;
}

.summary-band,
.question-band,
.feedback-band,
.rating-band,
.completion-band {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.inline-action {
  margin-top: 14px;
}

.special-band {
  margin-top: 14px;
}

.package-band {
  margin-top: 14px;
}

.section-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.section-head-row > * {
  min-width: 0;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #dce9e4;
  font-size: 12px;
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.package-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.package-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.package-card strong,
.package-card span,
.package-card em {
  display: block;
}

.package-card strong {
  font-size: 16px;
}

.package-card span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.package-card p {
  margin-top: 8px;
  color: var(--text);
  line-height: 1.55;
}

.package-card em {
  margin-top: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.package-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.package-module-chip {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: var(--text);
  text-align: left;
}

.package-module-chip strong,
.package-module-chip span {
  display: block;
}

.package-module-chip strong {
  font-size: 13px;
  line-height: 1.3;
}

.package-module-chip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.package-co-module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.package-co-module-chip {
  min-width: 0;
  border: 1px solid rgba(47, 111, 99, 0.22);
  border-radius: 8px;
  background: #f7fbf8;
  padding: 10px;
  color: var(--primary-dark);
  text-align: left;
  cursor: pointer;
}

.package-co-module-chip strong,
.package-co-module-chip span,
.package-co-module-chip em {
  display: block;
}

.package-co-module-chip strong {
  font-size: 13px;
  line-height: 1.3;
}

.package-co-module-chip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.package-co-module-chip em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
}

.package-co-preview-box {
  margin-top: 12px;
  border: 1px solid rgba(47, 111, 99, 0.2);
  border-radius: 8px;
  background: #f2f8f5;
  padding: 10px;
}

.package-co-preview-box strong,
.package-co-preview-box span,
.package-co-preview-box em {
  display: block;
}

.package-co-preview-box strong {
  color: var(--primary-dark);
  font-size: 12px;
}

.package-co-preview-box span {
  margin-top: 5px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.package-co-preview-box em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.compact-keywords {
  margin-top: 10px;
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.type-band {
  margin-bottom: 14px;
}

.type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.type-chip {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fbfbf8;
  cursor: pointer;
}

.type-chip strong,
.type-chip span {
  font-size: 13px;
}

.type-chip span {
  color: var(--muted);
}

.type-chip.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.type-chip.active span {
  color: rgba(255, 255, 255, 0.82);
}

.type-chip:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.special-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.special-card {
  display: grid;
  width: 100%;
  gap: 6px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fbfbf8;
  text-align: left;
  cursor: pointer;
}

.special-card:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.special-card strong {
  font-size: 16px;
}

.special-card span {
  color: var(--muted);
  line-height: 1.5;
}

.special-card em {
  color: var(--primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.metric {
  min-height: 74px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.primary-btn:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.primary-btn {
  width: 100%;
  color: #fff;
  background: var(--primary);
}

.secondary-btn {
  color: var(--primary-dark);
  background: #dce9e4;
}

.ghost-btn {
  color: var(--primary-dark);
  background: transparent;
  border: 1px solid var(--line);
}

.small-btn {
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.small-action {
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  min-width: 0;
  max-width: 100%;
}

.button-row > button {
  flex: 1;
  min-width: 0;
}

.question-meta,
.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.question-meta {
  margin-bottom: 14px;
}

.pill,
.keyword {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.pill {
  background: var(--surface-2);
  color: var(--muted);
}

.competition-meta {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  padding: 10px;
}

.competition-tags,
.scaffold-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.competition-tags span,
.scaffold-row em {
  max-width: 100%;
  border-radius: 999px;
  background: #e7f0ec;
  padding: 5px 9px;
  color: var(--primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.competition-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.keyword {
  background: var(--accent-soft);
  color: #7d421f;
}

.scene-text {
  max-width: 100%;
  margin: 14px 0 0;
  color: #33352f;
  font-size: 16px;
  line-height: 1.8;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.option-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.option {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  text-align: left;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.option.selected {
  border-color: var(--primary);
  background: #e7f0ec;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 14px;
}

.reflection-stepper {
  grid-template-columns: repeat(7, 1fr);
}

.step {
  height: 5px;
  border-radius: 99px;
  background: #d9d5cb;
}

.step.active {
  background: var(--primary);
}

.textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  line-height: 1.6;
  background: var(--surface);
  color: var(--text);
  overflow-wrap: anywhere;
}

.reflection-opening-panel {
  display: grid;
  gap: 14px;
}

.reflection-opening-meta {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.reflection-opening-material {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  padding: 14px;
}

.reflection-opening-material strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 15px;
}

.reflection-opening-material p,
.reflection-opening-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.reflection-opening-hint {
  font-size: 14px;
}

.reflection-opening-actions {
  justify-content: center;
}

.reflection-opening-actions .primary-btn {
  flex: none;
  width: min(64%, 320px);
}

.reflection-context,
.reflection-summary,
.reflection-answer-frame {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  padding: 14px;
}

.reflection-step-panel {
  display: grid;
  gap: 12px;
}

.reflection-progress {
  display: grid;
  gap: 10px;
  border: 1px solid #d9e5dd;
  border-radius: 8px;
  background: #f7fbf8;
  padding: 12px;
}

.reflection-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--primary-dark);
}

.reflection-progress-head strong,
.reflection-progress-head span,
.reflection-select-meter {
  font-size: 14px;
  line-height: 1.35;
}

.reflection-progress-head span,
.reflection-select-meter {
  color: var(--muted);
  font-weight: 700;
}

.reflection-progress-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.reflection-progress-track i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #e2ddd4;
}

.reflection-progress-track i.done,
.reflection-progress-track i.active {
  background: var(--primary);
}

.reflection-progress-track i.active {
  box-shadow: 0 0 0 3px rgba(47, 111, 99, 0.12);
}

.reflection-context.compact {
  margin: 0;
  padding: 12px;
}

.reflection-option-list {
  margin: 0;
}

.reflection-option {
  min-height: 58px;
}

.reflection-action-row {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 2px -4px -4px;
  padding: 12px 4px 4px;
  background: var(--bg);
}

.reflection-context *,
.reflection-summary *,
.reflection-answer-frame *,
.reflection-option {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.reflection-context p,
.reflection-summary p,
.reflection-answer-frame p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reflection-summary {
  background: #f7faf5;
}

.reflection-summary div + div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.reflection-answer-input {
  min-height: 220px;
}

.voice-input-row {
  display: grid;
  grid-template-columns: 1fr 76px;
  align-items: stretch;
  gap: 10px;
}

.voice-input-row .textarea {
  min-height: 126px;
}

.voice-btn {
  min-height: 126px;
  border: 1px solid #9fc9c0;
  border-radius: 8px;
  color: var(--primary-dark);
  background: #edf6f3;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.voice-btn.active {
  color: #fff;
  background: var(--warn);
  border-color: var(--warn);
}

.voice-btn.pending {
  opacity: 0.72;
}

.word-count {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  text-align: right;
}

.word-count.warn {
  color: var(--warn);
}

.feedback-block {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.feedback-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.feedback-block p {
  margin-bottom: 0;
  line-height: 1.75;
  color: #33352f;
}

.rating-band {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.progress-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.progress-panel h3,
.progress-panel p,
.discussion-panel h3,
.discussion-panel p {
  margin: 0;
}

.progress-panel p,
.discussion-item {
  color: var(--muted);
  line-height: 1.6;
}

.complete-panel {
  background: #f6f2e8;
}

.practice-share-panel {
  align-items: center;
}

.rating-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rating-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rating-btn {
  min-height: 44px;
  color: var(--primary-dark);
  background: #f7f2ea;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.rating-btn.selected {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.ability-insight {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.ability-insight h3 {
  margin-bottom: 4px;
}

.ability-insight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ability-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.ability-chip strong,
.ability-chip span {
  font-size: 13px;
}

.record-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.record-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.record-total {
  flex: none;
  min-width: 54px;
  padding-top: 3px;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: right;
}

.record-filter-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.record-filter-chip {
  flex: none;
  min-height: 30px;
  border: 1px solid #d9e6de;
  border-radius: 999px;
  background: #f7faf4;
  color: #53635e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 0 11px;
}

.record-filter-chip.active {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}

.record-archive {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.record-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 8px;
}

.record-date-row strong {
  color: var(--text);
  font-size: 14px;
}

.record-date-row span {
  color: var(--muted);
  font-size: 12px;
}

.record-row-list {
  display: grid;
}

.record-row {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.record-row .record-time {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.record-row strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.record-row .record-arrow {
  color: var(--muted);
  text-align: right;
}

.record-more-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.record-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.practice-record {
  cursor: pointer;
}

.practice-record:hover {
  border-color: var(--primary);
}

.record-item strong {
  line-height: 1.45;
}

.co-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.co-context-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid #cfe3d3;
  border-radius: 999px;
  background: #f1f8ee;
  color: #2d5b36;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 0 8px;
}

.co-list-copy {
  justify-self: start;
}

.record-item span,
.record-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.compact-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.co-detail-hero h2 {
  margin-top: 12px;
}

.co-status-pill {
  flex: none;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

.co-progress-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid #d9e6de;
  border-radius: 8px;
  background: #f7faf4;
  padding: 12px;
}

.co-progress-box strong,
.co-prompt-list strong,
.co-insight-block strong {
  color: var(--text);
}

.co-progress-box p,
.co-prompt-list p,
.co-insight-block p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.co-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e2ebe4;
  overflow: hidden;
}

.co-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.co-reminder-copy {
  justify-self: start;
}

.co-question-preview {
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
}

.co-question-preview .mini-label {
  width: fit-content;
  margin-bottom: 8px;
}

.co-question-preview button {
  width: 100%;
}

.co-insight-block {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  padding: 12px;
}

.seminar-focus-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.seminar-focus-card {
  border: 1px solid #d9e6de;
  border-radius: 8px;
  background: #fffdf8;
  padding: 12px;
}

.seminar-focus-card strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.seminar-focus-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.co-material-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.co-material-actions {
  align-items: flex-start;
}

.co-material-copy {
  flex: none;
}

.co-template-button {
  margin-top: 12px;
}

.co-material-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
  padding: 12px;
}

.co-material-card span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.co-material-card strong {
  color: var(--text);
  line-height: 1.45;
}

.co-material-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.co-flow-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.co-flow-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.co-flow-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.co-flow-item span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.co-flow-item strong {
  color: var(--text);
  line-height: 1.4;
}

.co-flow-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.co-outline {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.co-prompt-list {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.co-notes {
  margin-top: 12px;
  min-height: 150px;
}

.score-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.score-row {
  display: grid;
  grid-template-columns: 92px 1fr 28px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.progress-card {
  display: grid;
  gap: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eef6f0 100%);
}

.progress-scene {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(47, 111, 99, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(232, 242, 236, 0.86) 0%, rgba(251, 248, 241, 0.92) 70%),
    radial-gradient(circle at 18% 20%, rgba(246, 229, 216, 0.9), transparent 28%);
}

.progress-board {
  position: absolute;
  left: 22px;
  top: 18px;
  display: grid;
  gap: 7px;
  width: 104px;
  padding: 12px;
  border: 2px solid #2f6f63;
  border-radius: 8px;
  background: #f7fbf6;
  box-shadow: 0 8px 0 rgba(47, 111, 99, 0.08);
}

.progress-board span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #cddfd6;
}

.progress-board span:nth-child(2) {
  width: 74%;
}

.progress-board span:nth-child(3) {
  width: 50%;
}

.progress-teacher,
.progress-child {
  position: absolute;
  bottom: 30px;
}

.progress-teacher {
  left: 168px;
}

.progress-child {
  right: 72px;
  transform: scale(0.86);
  transform-origin: bottom center;
}

.teacher-head,
.child-head {
  width: 42px;
  height: 42px;
  border: 3px solid #214f47;
  border-radius: 50%;
  background: #f7d9c5;
}

.teacher-body,
.child-body {
  width: 50px;
  height: 54px;
  margin-top: -4px;
  border: 3px solid #214f47;
  border-radius: 18px 18px 10px 10px;
  background: #88b7aa;
}

.child-body {
  background: #f0b46e;
}

.progress-desk {
  position: absolute;
  left: 210px;
  right: 34px;
  bottom: 24px;
  height: 18px;
  border-radius: 999px;
  background: #d8b58a;
}

.progress-desk::before,
.progress-desk::after {
  position: absolute;
  top: 16px;
  width: 8px;
  height: 28px;
  border-radius: 999px;
  background: #a37750;
  content: "";
}

.progress-desk::before {
  left: 24px;
}

.progress-desk::after {
  right: 24px;
}

.progress-copy h3 {
  margin-bottom: 6px;
}

.progress-copy p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.cartoon-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9d6ca;
}

.cartoon-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f6f63, #8bb9a8);
  animation: progress-slide 1.5s ease-in-out infinite;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@keyframes progress-slide {
  0% {
    transform: translateX(-35%);
  }
  50% {
    transform: translateX(85%);
  }
  100% {
    transform: translateX(230%);
  }
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #ddd8cd;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.toast {
  margin-top: 12px;
  color: var(--warn);
  font-size: 14px;
  line-height: 1.5;
}

.loading-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  color: var(--muted);
}

@media (max-width: 420px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 23px;
  }

  .progress-teacher {
    left: 148px;
  }

  .progress-child {
    right: 38px;
  }

  .progress-desk {
    left: 182px;
    right: 20px;
  }
}
