:root {
  --ink: #172e2b;
  --muted: #6b7775;
  --brand: #154d43;
  --brand-dark: #103a34;
  --accent: #d8ef9c;
  --line: #e4e9e5;
  --paper: #f7f9f7;
  --white: #fff;
  --soft: #eaf1ec;
  --orange: #b06f4b;
  --radius: 18px;
  --shadow: 0 8px 30px #173f2e06;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #80ae75;
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex: none;
}
button {
  border: 0;
  background: none;
}
button,
a {
  transition:
    background 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
small {
  font-size: 12px;
}
h1 {
  font-size: 31px;
  line-height: 1.35;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 19px;
  border-radius: 9px;
  font-weight: 550;
  line-height: 1.5;
}
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 3px 6px #123f3b0c;
}
.btn-primary:hover {
  background: #216455;
  transform: translateY(-1px);
}
.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: #f0f5f1;
}
.btn-light {
  background: var(--accent);
  color: #1a4032;
}
.btn-light:hover {
  background: #e5f7b8;
}
.btn-ghost {
  padding: 8px 10px;
  color: var(--muted);
}
.btn-ghost:hover {
  background: var(--soft);
  color: var(--brand);
}
.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.icon-button:hover {
  background: var(--soft);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 11px;
  letter-spacing: 0.025em;
  font-weight: 600;
  background: #edf3e9;
  color: #426049;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 12px;
  background: var(--soft);
  color: var(--brand);
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  display: inline-block;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 13px;
  padding: 8px 0;
  min-height: 40px;
}
.text-link:hover {
  color: #2b8369;
}
.progress-track {
  height: 5px;
  background: #e7ece7;
  border-radius: 8px;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--brand);
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state > svg {
  margin: 0 auto 20px;
  width: 40px;
  height: 40px;
}
.empty-state h2 {
  color: var(--ink);
  margin-bottom: 8px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 12px;
  background: white;
  border: 2px solid var(--brand);
}
.skip-link:focus {
  transform: translateY(0);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 110;
  background: var(--brand-dark);
  color: white;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0002;
  max-width: min(90vw, 560px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 16px;
}
.page-heading .eyebrow {
  color: #89938d;
  margin-bottom: 7px;
}
.page-heading p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 14px;
}
.heading-actions {
  display: flex;
  gap: 12px;
}
.hero {
  background: var(--brand-dark);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  color: #fff;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  min-height: 284px;
  margin-bottom: 24px;
}
.hero-copy {
  padding: 32px 36px;
  position: relative;
  z-index: 2;
}
.hero .badge {
  background: #ffffff12;
  color: #e0ecca;
  border: 1px solid #ffffff15;
  font-size: 11px;
  gap: 7px;
}
.hero h2 {
  font-size: 31px;
  margin: 16px 0 9px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 14px;
  color: #c0d1c8;
  max-width: 380px;
  line-height: 1.9;
}
.hero-meta {
  display: flex;
  gap: 20px;
  color: #b6cec0;
  font-size: 12px;
  margin: 18px 0 22px;
}
.hero-meta > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-meta .icon {
  width: 15px;
  height: 15px;
}
.hero .btn {
  padding: 11px 23px;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 60% 50%, #326b5255 0, transparent 67%);
  overflow: hidden;
}
.orbital {
  position: absolute;
  inset: 25px 22px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: 238px;
  height: 238px;
  border: 1px solid #8cbaa025;
  border-radius: 50%;
}
.orbit.two {
  width: 315px;
  height: 315px;
  border-style: dashed;
  transform: rotate(23deg);
}
.orbit.three {
  width: 390px;
  height: 390px;
  border-color: #8cbaa012;
}
.shield-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 144px;
  height: 167px;
  color: #d6edbc;
  filter: drop-shadow(0 13px 25px #0003);
}
.shield-emblem svg {
  width: 137px;
  height: 156px;
  fill: #2c6754;
  stroke: #a4c990;
  stroke-width: 1;
}
.shield-emblem:after {
  content: '';
  position: absolute;
  width: 168px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9cba7380, transparent);
  bottom: -13px;
}
.orbit-label {
  position: absolute;
  padding: 8px 12px;
  background: #315c4c;
  color: #e1eedc;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #97b79530;
  border-radius: 9px;
  font-size: 11px;
  box-shadow: 0 8px 20px #0001;
}
.orbit-label svg {
  width: 15px;
  height: 15px;
}
.orbit-label.first {
  top: 40px;
  right: 29px;
  transform: rotate(4deg);
}
.orbit-label.second {
  bottom: 41px;
  left: 13px;
  transform: rotate(-5deg);
}
.art-corner {
  position: absolute;
  bottom: 22px;
  right: 22px;
  font-size: 9px;
  letter-spacing: 0.17em;
  color: #95b49e;
}
.hero-art .spark {
  position: absolute;
  right: 62px;
  bottom: 86px;
  color: var(--accent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 19px 0;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f1f5ef;
  color: #456952;
}
.stat:nth-child(2) .stat-icon {
  background: #f8f1e9;
  color: #b18053;
}
.stat:nth-child(3) .stat-icon {
  background: #edf0f8;
  color: #747eaa;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
}
.stat-value {
  font-size: 26px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.stat-value small {
  font-size: 12px;
  font-weight: 400;
  color: #859087;
  margin-left: 6px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.section-heading h2 {
  font-size: 19px;
}
.section-heading h2 small {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 12px;
  margin-left: 12px;
}
.home-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 25px;
}
.tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.tab {
  padding: 10px 16px 13px;
  position: relative;
  font-size: 13px;
  color: var(--muted);
  min-height: 43px;
}
.tab.active {
  color: var(--brand);
  font-weight: 600;
}
.tab.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand);
}
.tab:hover {
  color: var(--brand);
}
.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chapter-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  width: 100%;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.chapter-card:hover {
  border-color: #a6bdac;
  box-shadow: 0 5px 18px #153d2808;
  transform: translateY(-1px);
}
.chapter-icon {
  width: 45px;
  height: 45px;
  flex: none;
  display: grid;
  place-items: center;
  background: #eef3ec;
  border-radius: 10px;
  color: #698069;
}
.chapter-card:nth-child(2) .chapter-icon {
  background: #f8eee5;
  color: #b98761;
}
.chapter-card:nth-child(3) .chapter-icon {
  background: #edf0f8;
  color: #7380a5;
}
.chapter-card:nth-child(4) .chapter-icon {
  background: #f4eef6;
  color: #957aa5;
}
.chapter-copy {
  flex: 1;
  min-width: 0;
}
.chapter-copy h3 {
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 550;
  margin-bottom: 3px;
}
.chapter-copy p {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 10px;
}
.chapter-status {
  font-size: 11px;
  color: #849085;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chapter-status.done {
  color: #397455;
}
.chapter-status .icon {
  width: 16px;
}
.right-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px;
  margin-bottom: 17px;
}
.right-panel h3 {
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.right-panel p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.ring-wrap {
  display: grid;
  place-items: center;
  margin: 23px 0 17px;
}
.progress-ring {
  --progress: 0;
  display: grid;
  place-items: center;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--progress) * 1%), #edf1ea 0);
  position: relative;
  transform: rotate(-90deg);
}
.progress-ring:before {
  content: '';
  position: absolute;
  inset: 8px;
  background: white;
  border-radius: 50%;
}
.ring-text {
  position: relative;
  transform: rotate(90deg);
  text-align: center;
}
.ring-text strong {
  font-size: 30px;
  font-weight: 550;
}
.ring-text small {
  font-size: 13px;
}
.ring-text p {
  font-size: 10px;
  line-height: 1.2;
}
.progress-caption {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.right-panel .btn {
  width: 100%;
  margin-top: 17px;
  font-size: 12px;
}
.tip-card {
  background: #edf1e7;
  border-color: #e4e9da;
  position: relative;
}
.tip-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.tip-top h3 {
  margin: 0;
}
.tip-top svg {
  color: #789365;
}
.tip-card .eyebrow {
  font-size: 9px;
  color: #809074;
  margin-top: 18px;
}
.corner-num {
  font-size: 12px;
  color: #889882;
  margin-left: auto;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 13px;
}

.classroom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.classroom-title h1 {
  font-size: 23px;
  margin-top: 8px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
}
.back-link svg {
  width: 16px;
}
.classroom-grid {
  display: grid;
  grid-template-columns: 207px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.lesson-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 11px;
  position: sticky;
  top: 92px;
}
.lesson-nav-title {
  padding: 0 9px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}
.lesson-nav-title small {
  font-weight: 400;
  color: var(--muted);
}
.lesson-nav button {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  border-radius: 9px;
  width: 100%;
  margin-bottom: 4px;
}
.lesson-nav button:hover {
  background: #f5f7f3;
}
.lesson-nav button.selected {
  background: #eaf2e8;
  color: var(--brand);
}
.lesson-number {
  height: 25px;
  width: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  flex: none;
  font-size: 10px;
}
.selected .lesson-number {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.lesson-number.done {
  color: #277353;
  background: #eef6ed;
}
.lesson-number svg {
  width: 13px;
  height: 13px;
}
.lesson-nav button strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  line-height: 1.7;
}
.lesson-nav button small {
  font-size: 10px;
  color: var(--muted);
}
.lesson-nav .progress-track {
  margin: 12px 10px 4px;
}
.lesson-stage {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.slide-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 26px;
  border-bottom: 1px solid #f0f2ef;
  color: var(--muted);
  font-size: 11px;
}
.slide-top > span:first-child {
  font-size: 10px;
  letter-spacing: 0.11em;
  font-weight: 600;
  color: #698270;
}
.slide-content {
  padding: 34px 34px 26px;
  min-height: 398px;
  position: relative;
}
.slide-content .eyebrow {
  color: #719078;
  font-size: 10px;
  margin-bottom: 14px;
}
.slide-content h2 {
  font-size: 29px;
  line-height: 1.6;
  max-width: 590px;
  font-weight: 600;
  margin-bottom: 12px;
}
.slide-intro {
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 610px;
}
.lesson-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 31px;
}
.point-card {
  background: #f6f8f3;
  border: 1px solid #edf0e8;
  border-radius: 11px;
  padding: 18px 15px;
}
.point-card .point-number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #78966a;
  display: block;
  margin-bottom: 12px;
}
.point-card h3 {
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.point-card p {
  font-size: 12px;
  line-height: 1.85;
  color: #6f7e72;
}
.slide-tip {
  margin-top: 26px;
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #738069;
}
.slide-tip svg {
  width: 16px;
  margin-top: 3px;
  flex: none;
}
.slide-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 17px 24px;
  background: #fcfdfb;
}
.slide-footer > span {
  font-size: 12px;
  color: var(--muted);
}
.slide-footer .btn {
  font-size: 12px;
  padding: 8px 14px;
  min-height: 40px;
}
.lesson-actions {
  display: flex;
  gap: 9px;
}
.lesson-resource {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.resource-card {
  padding: 20px 23px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
}
.resource-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 11px;
}
.resource-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 550;
}
.resource-title .icon {
  width: 17px;
  color: var(--brand);
}
.resource-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.question-button {
  text-align: left;
  margin-top: 13px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fafbf8;
}
.question-button:hover {
  border-color: #9fb49c;
  background: #f0f5ec;
}
.sample-answer {
  padding-top: 13px;
  font-size: 12px;
  color: var(--brand);
  line-height: 1.9;
}
.narration-text {
  max-height: 210px;
  overflow: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.narration-controls {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}
.narration-controls .btn {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 39px;
}
.narration-status {
  font-size: 11px !important;
  margin-top: 8px;
  color: #426b51 !important;
}

.quiz-layout {
  max-width: 900px;
  margin: 0 auto;
}
.quiz-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 25px 29px;
  background: var(--brand-dark);
  color: white;
  border-radius: 16px;
  margin: 22px 0;
}
.quiz-intro h2 {
  font-size: 21px;
  margin-bottom: 6px;
}
.quiz-intro p {
  font-size: 13px;
  color: #b8c9bc;
}
.quiz-intro-stat {
  font-size: 26px;
  white-space: nowrap;
}
.quiz-intro-stat small {
  font-size: 12px;
  color: #b8c9bc;
}
.quiz-question {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 29px;
  margin: 15px 0;
}
.question-meta {
  display: flex;
  justify-content: space-between;
  color: #81917f;
  font-size: 11px;
  margin-bottom: 12px;
}
.quiz-question h2 {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 550;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: #fcfdfa;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  transition: 0.15s;
  min-height: 51px;
}
.answer-option:hover {
  border-color: #9aaf92;
  background: #f5f8f0;
}
.answer-option:has(input:checked) {
  border-color: #4d7b54;
  background: #eef5e6;
  color: var(--brand);
}
.answer-option input {
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex: none;
}
.quiz-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  color: var(--muted);
  font-size: 13px;
}
.quiz-error {
  color: #ad4631;
  font-size: 13px;
  margin-top: 9px;
}
.result-hero {
  text-align: center;
  padding: 35px 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.result-mark {
  background: #eaf1df;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  color: var(--brand);
}
.result-score {
  font-size: 72px;
  letter-spacing: -0.06em;
  font-weight: 500;
  line-height: 1.25;
  color: var(--brand);
}
.result-score small {
  font-size: 17px;
  letter-spacing: 0;
  margin-left: 6px;
}
.result-hero h2 {
  font-size: 22px;
  margin: 10px 0;
}
.result-hero p {
  color: var(--muted);
  font-size: 13px;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.review-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  margin-top: 14px;
}
.review-card h3 {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0;
}
.review-card p {
  font-size: 13px;
  line-height: 1.85;
  margin-top: 10px;
  color: var(--muted);
}
.review-card .correct-answer {
  color: #33734e;
}
.history-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.history-card h3 {
  font-size: 15px;
}
.history-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.history-score {
  font-size: 30px;
  font-weight: 550;
  color: var(--brand);
}
.history-score small {
  font-size: 12px;
  font-weight: 400;
}
.history-caption {
  margin: 17px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.upload-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px;
}
.upload-hero h2 {
  font-size: 25px;
  line-height: 1.8;
  margin: 13px 0;
}
.upload-hero p {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}
.upload-hero .eyebrow {
  color: #779567;
}
.upload-steps {
  margin-top: 23px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.upload-steps span {
  font-size: 11px;
  color: #70806e;
  display: flex;
  align-items: center;
  gap: 7px;
}
.upload-steps b {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-weight: 500;
}
.drop-zone {
  border: 1.5px dashed #b6cbb4;
  border-radius: 14px;
  background: #f7faf4;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
  position: relative;
}
.drop-zone.dragging {
  border-color: var(--brand);
  background: #eaf5e1;
}
.drop-zone > svg {
  width: 37px;
  height: 37px;
  color: #718f68;
  margin-bottom: 17px;
}
.drop-zone h3 {
  font-size: 16px;
  margin-bottom: 9px;
}
.drop-zone p {
  font-size: 12px !important;
  margin-bottom: 17px;
}
.upload-disclosure {
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 19px 22px;
  margin: 19px 0;
  background: #f0f4eb;
}
.upload-disclosure svg {
  width: 19px;
  flex: none;
  color: #6c8861;
  margin-top: 2px;
}
.upload-disclosure p {
  font-size: 12px;
  color: #66795e;
  line-height: 1.9;
}
.file-preview {
  margin-top: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 24px;
}
.file-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}
.file-icon {
  width: 43px;
  height: 48px;
  border-radius: 8px;
  background: #f9eee5;
  color: #b87850;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.file-heading h3 {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.file-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.file-heading .badge {
  margin-left: auto;
}
.slide-preview-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.slide-preview-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: #fafbf8;
}
.slide-preview-card small {
  color: #7c9871;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.slide-preview-card h4 {
  font-size: 13px;
  font-weight: 550;
  margin: 9px 0;
}
.slide-preview-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.upload-error {
  color: #ab4533;
  margin-top: 14px;
  font-size: 13px;
}
.loading-row {
  padding: 25px;
  text-align: center;
  font-size: 13px;
  color: var(--brand);
}
.connection-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-top: 23px;
}
.connection-card p {
  font-size: 12px;
  color: var(--muted);
}
.connection-card strong {
  font-size: 13px;
  font-weight: 550;
  display: block;
  margin-bottom: 4px;
}
.connection-card .badge {
  margin-left: auto;
  background: #f7f0e4;
  color: #9b763e;
  white-space: nowrap;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 0;
  max-width: min(580px, calc(100vw - 32px));
  width: 580px;
  color: var(--ink);
  box-shadow: 0 30px 100px #0003;
  background: #fff;
}
dialog::backdrop {
  background: #112d2860;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 25px;
}
.modal-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
}
.modal-body .drop-zone {
  margin-top: 18px;
}
.modal-body ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 2.1;
  font-size: 13px;
}
.modal-body .btn {
  margin-top: 20px;
}
.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.mobile-menu {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  main > .page-heading,
  main > .classroom-header {
    animation: appear 0.35s both;
  }
  main > .hero {
    animation: appear 0.45s 0.05s both;
  }
  .home-bottom {
    animation: appear 0.4s 0.1s both;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(7px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.hero-title-part {
  display: inline-block;
}
.nav-item,
.chapter-status,
.help-button {
  color: #68776b;
}
.page-heading .eyebrow,
.workspace-label,
.chapter-copy p,
.point-card p {
  color: #657463;
}
main {
  scroll-margin-top: 90px;
}
