
.sat-learning { max-width: 980px; margin: 0 auto; }
.sat-heading { padding: 12px 0 18px; }
.sat-heading h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.sat-heading > p:last-child { color: var(--muted); }
.sat-heading .sat-today { display: inline-block; padding: 5px 10px; border-radius: 999px; color: var(--dark); background: var(--mint); font-weight: 700; }
.sat-heading .sat-subtitle { margin: -4px 0 8px; color: var(--green); font-size: 1.15rem; font-weight: 700; }
.sat-sentence-nav, .sat-steps, .sat-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.sat-steps { justify-content: space-between; gap: 6px; padding: 12px 4px; }
.sat-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 0; color: var(--muted); background: transparent; }
.sat-step span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9eeeb; font-weight: 700; }
.sat-step.active { color: var(--dark); font-weight: 700; }
.sat-step.active span { background: var(--green); color: white; }
.sat-card { padding: clamp(18px, 4vw, 32px); }
.sat-english { font-size: 1.2rem; line-height: 1.9; font-weight: 550; word-break: normal; }
.sat-verb-activity { margin: 22px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdfb; }
.sat-verb-activity h3 { margin-bottom: 8px; }
.sat-verb-line { font-size: 1.12rem; line-height: 2.2; word-break: normal; }
.sat-word { display: inline; padding: 1px 3px; border: 0; border-radius: 4px; background: transparent; color: inherit; }
.sat-word:hover { background: var(--mint); }
.sat-word.correct { background: #d8f0df; color: #17694f; font-weight: 700; }
.sat-word.incorrect { background: #fbe4df; color: #a13626; }
.sat-chunked-sentence { line-height: 2.2; }
.sat-top-chunk { display: inline; margin: 2px 1px; padding: 2px 4px; border: 1px solid #b6c9be; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; line-height: 2; }
.sat-top-chunk:hover, .sat-top-chunk.placed { background: var(--mint); border-color: var(--green); }
.sat-review-check { display: flex; align-items: center; gap: 10px; margin-top: 18px; cursor: pointer; }
.sat-review-check input { width: 20px; height: 20px; accent-color: var(--green); }
.sat-structure.selected.incorrect { color: #aa2828; background: #fff0ee; border: 2px solid #cf3737; }
.sat-structure.incorrect small { color: #aa2828; }
.sat-clause-underline { text-decoration-line: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.sat-clause-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; font-size: .9rem; }
.sat-clause-legend span { border-bottom: 3px solid; padding-bottom: 2px; }
.sat-completion-note { padding: 12px 14px; border-radius: 10px; background: #eef1ef; color: var(--muted); margin-top: 16px; }
.sat-completion-note.complete { color: var(--green); background: var(--mint); }
.sat-vocabulary { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 22px; }
.sat-vocabulary > div { display: grid; grid-template-columns: minmax(100px, 1fr) 1.2fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sat-vocabulary dt { font-weight: 700; color: var(--dark); }
.sat-vocabulary dd { margin: 0; color: var(--muted); }
.sat-chunk-board, .sat-chunk-pool, .sat-structure-pool { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; min-height: 60px; margin: 16px 0; }
.sat-chunk-board, .sat-structure-board { padding: 14px; border: 2px dashed #b6c9be; border-radius: 14px; background: #fbfdfb; }
.sat-structure-board { display: flex; flex-wrap: wrap; gap: 10px; min-height: 104px; margin: 16px 0; }
.sat-sentence-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); gap: 14px; margin: 20px 0; }
.sat-sentence-box { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sat-sentence-box.active { border: 2px solid var(--green); box-shadow: 0 0 0 3px #17694f18; }
.sat-box-heading { display: grid; width: 100%; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 2px; border: 0; text-align: left; background: transparent; color: var(--ink); }
.sat-box-heading span { font-weight: 750; }
.sat-box-heading strong { grid-column: 1; color: var(--green); font-size: .9rem; }
.sat-box-heading small { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); }
.sat-box-result { padding: 10px; border-radius: 10px; background: #f3f7f4; line-height: 1.7; word-break: normal; }
.sat-board-placeholder { align-self: center; color: var(--muted); }
.sat-chunk { padding: 10px 14px; border: 1px solid #bfd3c8; border-radius: 12px; background: #f5faf7; color: var(--dark); }
.sat-chunk.selected, .sat-structure.selected { background: var(--mint); border-color: var(--green); }
.sat-answer { padding: 14px; border-radius: 12px; background: #f4f6f5; }
.sat-structure { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; max-width: 100%; padding: 12px 14px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: white; }
.sat-structure span { color: var(--green); font-size: .84rem; font-weight: 700; }
.sat-structure b { font-weight: 500; line-height: 1.65; word-break: normal; }
.sat-passage { padding: 18px; border-left: 4px solid var(--green); background: #f7f9f8; line-height: 1.9; word-break: normal; white-space: pre-wrap; }
.sat-footer { justify-content: space-between; padding: 8px 0 24px; }
.sat-delivery-note { padding: 12px 14px; color: var(--muted); font-size: .9rem; background: #eef1ef; border-radius: 10px; }
.sat-options { padding: 14px 18px; border-radius: 12px; background: #f7f9f8; }
.sat-options p { margin: 8px 0; }
.sat-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 12px; margin: 8px 0; text-align: left; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.sat-option strong { flex-shrink: 0; }
.sat-option.correct { border-color: var(--green); background: var(--mint); color: var(--green); }
.sat-option.incorrect { border-color: #cf3737; background: #fff0ee; color: #aa2828; }
.sat-choice-feedback { margin-top: 12px; }
.sat-choice-feedback.correct { color: var(--green); }
.sat-choice-feedback.incorrect { color: #aa2828; }
.sat-answer-key { margin-top: 20px; padding: 16px; border: 1px solid #bfd3c8; border-radius: 12px; background: #f5faf7; }
.sat-vocabulary-source { display: grid; gap: 8px; }
.sat-vocabulary-source > strong { margin-top: 8px; color: var(--green); }
.sat-word-rows { display: grid; }
.sat-word-rows p { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sat-word-pair { display: flex; flex-wrap: wrap; gap: 5px; }
.sat-word-pair b { font-weight: 700; }
.sat-word-pair > span { color: var(--muted); }
@media (max-width: 640px) { .sat-step { flex-direction: column; gap: 3px; padding: 6px 2px; font-size: .76rem; } .sat-english { font-size: 1.08rem; } .sat-vocabulary > div { grid-template-columns: 1fr 1.2fr; } }
@media (max-width: 520px) { .sat-word-rows p { gap: 6px; font-size: .9rem; } .sat-word-pair { flex-direction: column; gap: 0; } }
:root {
  --green: #17694f;
  --dark: #133e31;
  --mint: #e7f2eb;
  --ink: #233730;
  --muted: #69766f;
  --line: #e1e7e3;
  --bg: #f5f7f6;
  --white: #fff;
  --orange: #f5b75f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Arial, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ce7f15;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -1px;
  font-weight: 750;
}
h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 18px;
  font-weight: 700;
}
svg {
  flex-shrink: 0;
}
button {
  border: 0;
}
select {
  min-height: 48px;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 220px;
  width: 100%;
  padding: 20px;
  border: 1px solid #adbeb2;
  border-radius: 12px;
  line-height: 1.9;
  color: var(--ink);
  background: white;
  font-size: 18px;
}
textarea:disabled {
  background: var(--bg);
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  padding: 36px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.25;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: var(--muted);
  margin-top: 8px;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: var(--green);
  color: white;
  border-radius: 13px;
  font-size: 22px;
}
.brand-mark span {
  position: absolute;
  right: -3px;
  bottom: 0;
  width: 11px;
  height: 11px;
  background: var(--orange);
  border: 2px solid white;
  border-radius: 50%;
}
.workspace-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #869289;
  margin: 53px 14px 17px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 13px 15px;
  border-radius: 10px;
  margin-bottom: 9px;
  color: #5d6c63;
  font-weight: 600;
}
.nav-item:hover {
  background: var(--bg);
}
.nav-item.active {
  background: var(--mint);
  color: var(--green);
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 12px 0;
}
.academy {
  font-size: 15px;
  font-weight: 700;
}
.academy span {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}
.sidebar-bottom p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 14px 0 20px;
}
.switch-link {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  min-height: 48px;
}
.app-content {
  margin-left: 250px;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 45px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.desktop-breadcrumb {
  font-size: 14px;
  color: var(--muted);
}
.topbar-right {
  display: flex;
  gap: 26px;
  align-items: center;
}
.demo-badge {
  font-size: 12px;
  background: #f6f0dd;
  border: 1px solid #e9dfb8;
  color: #776126;
  border-radius: 6px;
  padding: 4px 9px;
}
.profile-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  min-height: 48px;
}
.tiny-avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #edf0ed;
  display: grid;
  place-items: center;
}
.main {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 40px 45px 28px;
  flex: 1;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #737f78;
  font-size: 12px;
  padding: 22px 45px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.footer a {
  font-size: 14px;
}
.footer > span:first-child {
  letter-spacing: 1.5px;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 11px;
}
.description {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}
.page-heading {
  margin-bottom: 30px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.heading-row > .badge,
.heading-row > .level-pill {
  margin-bottom: 25px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
  transition: background 0.15s;
}
.button.primary {
  color: white;
  background: var(--green);
  box-shadow: 0 4px 10px #17694f12;
}
.button.primary:hover {
  background: #10533e;
}
.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button.light {
  color: var(--dark);
  background: white;
}
.button.light:hover,
.button.secondary:hover {
  background: #eff5f0;
}
.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--green);
  font-weight: 650;
  min-height: 48px;
}
.badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--mint);
  font-size: 12px;
  font-weight: 650;
  color: var(--green);
  line-height: 1.7;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 27px;
  min-width: 0;
}
.start-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.welcome-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  border-radius: 18px;
  background: var(--green);
  padding: 38px;
  color: white;
  overflow: hidden;
}
.large-word {
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -4px;
  color: #d5f0d4;
}
.large-word span {
  color: var(--orange);
}
.welcome-card h2 {
  font-size: 35px;
  line-height: 1.4;
  margin-top: 14px;
}
.welcome-card p {
  font-size: 16px;
  line-height: 1.9;
  color: #d0e7dc;
  margin-top: 14px;
}
.welcome-card .badge {
  background: #ffffff1c;
  color: #fff;
}
.role-stack {
  display: grid;
  gap: 20px;
}
.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: block;
  transition: border-color 0.15s;
}
.role-card:hover {
  border-color: var(--green);
}
.icon-tile {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--green);
  background: var(--mint);
  margin-bottom: 15px;
}
.icon-tile.blue {
  color: #426c9c;
  background: #edf2f9;
}
.role-card p {
  color: var(--muted);
  margin: 6px 0 10px;
}
.notice {
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #5a6e62;
  background: #edf3ef;
  border: 1px solid #e0eae2;
  border-radius: 10px;
  padding: 17px 20px;
}
.notice svg {
  margin-top: 2px;
}
.notice.error {
  background: #fff0ec;
  border-color: #f1b9aa;
  color: #9b3822;
}
.student-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.student-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 30px 25px;
  color: var(--ink);
}
.student-card:hover {
  border-color: var(--green);
  background: #f7fcf8;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 67px;
  height: 67px;
  border-radius: 23px;
  font-size: 26px;
  font-weight: 750;
  margin-bottom: 18px;
  background: #dfede1;
  color: #3d6d48;
}
.avatar-1 {
  background: #e4eaf6;
  color: #52729e;
}
.avatar-2 {
  background: #f7e9d6;
  color: #966c38;
}
.avatar-3 {
  background: #eee6f4;
  color: #7b5c8e;
}
.student-card strong {
  font-size: 22px;
}
.student-english {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 15px;
}
.student-arrow {
  position: absolute;
  right: 20px;
  top: 25px;
  color: var(--muted);
}
.level-pill {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  flex-wrap: wrap;
}
.level-pill span {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.home-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 24px;
}
.lesson-hero {
  background: var(--green);
  border-radius: 17px;
  padding: 30px 32px;
  color: white;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lesson-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  color: #d0e7db;
}
.lesson-top .badge {
  background: #ffffff20;
  color: white;
  padding: 6px 10px;
}
.lesson-hero h2 {
  font-size: 38px;
  letter-spacing: -1px;
  margin-top: 32px;
  line-height: 1.2;
}
.lesson-hero h3 {
  font-size: 20px;
  font-weight: 500;
  color: #e9f3ec;
  margin-top: 12px;
}
.lesson-hero p {
  color: #d0e7db;
  margin: 17px 0 27px;
  font-size: 16px;
  line-height: 1.9;
}
.lesson-hero .button {
  width: 100%;
  margin-top: auto;
}
.lesson-note {
  font-size: 12px;
  color: #d0e7db;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  align-self: center;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.section-title > span:not(.badge):not(.script-owner) {
  color: var(--muted);
  font-size: 12px;
}
.journey-step {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #edf0ee;
}
.journey-step:first-of-type {
  border-top: 0;
}
.journey-number {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #f2f5f2;
  color: #87988c;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.journey-number.selected {
  background: var(--mint);
  color: var(--green);
}
.journey-step strong {
  font-size: 15px;
}
.journey-step p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.step-index {
  margin-left: auto;
  color: #a2aca5;
  font-size: 12px;
}
.section-title.lower {
  margin: 31px 0 18px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.topic-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
  background: white;
}
.topic-card:hover {
  border-color: var(--green);
}
.week-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--green);
}
.topic-card h3 {
  font-size: 19px;
  margin-top: 12px;
}
.topic-card p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}
.topic-bottom {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--green);
}
.steps {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0 0 35px;
  flex-wrap: wrap;
}
.steps li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #79877e;
}
.steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8ede9;
  font-size: 12px;
}
.steps li.current {
  font-weight: 700;
  color: var(--green);
}
.steps .current > span {
  background: var(--green);
  color: white;
}
.steps .done > span {
  background: #dceee0;
  color: var(--green);
}
.level-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.level-picker button {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px 18px;
  text-align: left;
  color: var(--ink);
}
.level-picker strong {
  display: block;
  font-size: 16px;
}
.level-picker span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.level-picker .selected {
  border: 2px solid var(--green);
  padding: 15px 17px;
  background: var(--mint);
}
.level-picker svg {
  position: absolute;
  right: 12px;
  top: 19px;
  color: var(--green);
}
.small-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.level-picker + .small-note {
  margin: 12px 0 25px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
}
.patterns > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.patterns span {
  font-size: 12px;
  color: var(--green);
  font-weight: 650;
}
.patterns p {
  font-size: 21px;
  line-height: 1.7;
}
.hint {
  display: flex;
  gap: 12px;
  padding: 18px;
  background: #f0f6f1;
  border-radius: 10px;
  margin-top: 22px;
  color: #526c5b;
  font-size: 14px;
  align-items: flex-start;
}
.hint svg {
  margin-top: 3px;
}
.hint p {
  line-height: 1.8;
}
.hint strong {
  font-size: 14px;
  color: var(--green);
}
.script-text {
  white-space: pre-line;
  font-size: 21px;
  line-height: 2;
  color: #284337;
  word-break: normal;
  overflow-wrap: anywhere;
}
.script-example {
  background: #fcfdfb;
}
.script-example .small-note {
  display: block;
  margin-top: 20px;
}
.action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.interview-width {
  max-width: 800px;
  margin: 0 auto;
}
.interview-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
progress {
  appearance: none;
  width: 100%;
  height: 7px;
  display: block;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  background: #eaf0eb;
}
progress::-webkit-progress-bar {
  background: #eaf0eb;
  border-radius: 9px;
}
progress::-webkit-progress-value {
  background: #42886b;
  border-radius: 9px;
}
progress::-moz-progress-bar {
  background: #42886b;
  border-radius: 9px;
}
.interview-card {
  padding: 30px;
}
.interview-card progress {
  margin: 20px 0 32px;
}
.question-number {
  font-size: 11px;
  color: var(--green);
  letter-spacing: 1.8px;
  font-weight: 700;
}
.question h2 {
  font-size: 29px;
  margin-top: 12px;
  line-height: 1.5;
}
.question p {
  font-size: 20px;
  color: var(--muted);
  margin-top: 7px;
  word-break: normal;
}
.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 27px 0 18px;
}
.answer {
  min-height: 73px;
  padding: 18px 22px;
  border: 1px solid #dce3dc;
  border-radius: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  text-align: left;
  color: var(--ink);
  word-break: normal;
}
.answer.selected {
  background: var(--mint);
  border: 2px solid var(--green);
  padding: 17px 21px;
  color: var(--green);
}
.choice-circle {
  width: 20px;
  height: 20px;
  border: 1px solid #d5dfd7;
  border-radius: 50%;
  flex-shrink: 0;
}
.center-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin: 18px 0;
}
.script-layout {
  grid-template-columns: 1.4fr 1fr;
}
.my-script {
  padding: 32px;
}
.script-owner {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.my-script h2 {
  font-size: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 25px;
}
.script-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
}
.script-aside {
  display: grid;
  gap: 20px;
  align-content: start;
}
.script-aside h2 {
  font-size: 20px;
}
.script-aside p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 15px;
}
.script-aside .badge {
  margin: 0 0 20px;
}
.practice h3 {
  margin-bottom: 16px;
}
.practice .button {
  margin-bottom: 12px;
}
.practice p.small-note {
  font-size: 13px;
  margin: 0;
}
.empty {
  text-align: center;
  padding: 65px 24px;
}
.empty > svg {
  margin: 0 auto 20px;
}
.empty p {
  margin: 15px 0 25px;
  color: var(--muted);
}
.select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 25px;
}
.stat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 21px;
  background: #fff;
}
.stat > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.stat strong {
  font-size: 33px;
  display: block;
  margin-top: 9px;
  line-height: 1.5;
}
.stat small {
  font-size: 13px;
  margin-left: 7px;
  font-weight: 400;
  color: var(--muted);
}
.stat > svg {
  position: absolute;
  right: 20px;
  bottom: 27px;
  color: #99aea1;
  width: 21px;
}
.stat.highlighted {
  background: var(--mint);
  border-color: #c5decb;
}
.stat.highlighted strong {
  color: var(--green);
}
.teacher-list {
  padding: 26px;
}
.table-heading,
.student-row {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.15fr 1fr;
  align-items: center;
  gap: 14px;
}
.table-heading {
  font-size: 12px;
  color: var(--muted);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.student-row {
  padding: 20px 0;
  border-bottom: 1px solid #edf0ee;
  font-size: 14px;
}
.student-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.row-name {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar.small {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 17px;
  margin: 0;
  flex-shrink: 0;
}
.row-name strong {
  font-size: 15px;
  display: block;
}
.row-name div > span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.status {
  font-size: 12px;
  justify-self: start;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f0f2ef;
  color: #66766a;
}
.status.pending {
  color: #906322;
  background: #fcf2dc;
}
.status.approved {
  background: var(--mint);
  color: var(--green);
}
.status.video_pending {
  background: #edf1f9;
  color: #526e97;
}
.status.complete {
  background: #e3efe8;
  color: #366d4a;
}
.table-button {
  font-size: 13px;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: #fff;
  justify-self: start;
}
.editor {
  margin-top: 24px;
}
.editor label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}
.editor > .button {
  margin-top: 16px;
}
.empty-list {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
.report-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 24px;
  margin-bottom: 24px;
}
.report-score {
  background: #edf5ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 24px;
}
.score-number {
  font-size: 72px;
  font-weight: 750;
  letter-spacing: -3px;
  color: var(--green);
  line-height: 1.5;
}
.score-number > span {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 7px;
}
.report-score .level-pill {
  background: transparent;
  border-color: #d2e3d6;
}
.report-score > p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.report-note {
  font-size: 12px;
  color: #5e7666;
  margin-top: 24px;
  border-top: 1px solid #d6e3d9;
  padding-top: 17px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.metrics > div + div {
  margin-top: 19px;
}
.metric-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 9px;
}
.metric-label small {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
}
.metric-label strong {
  color: var(--green);
}
.video-placeholder {
  background: #edf1ee;
  min-height: 190px;
  border: 1px dashed #c7d4ca;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #73867a;
}
.video-placeholder strong {
  font-size: 16px;
  color: #516659;
}
.video-placeholder > span {
  font-size: 13px;
}
.video-placeholder + .small-note {
  margin-top: 12px;
}
.teacher-comment {
  font-size: 19px;
  line-height: 1.9;
  color: #3e5548;
}
.growth {
  margin-top: 24px;
}
.periods {
  display: flex;
  gap: 4px;
  background: #f2f5f1;
  padding: 4px;
  border-radius: 9px;
}
.periods button {
  background: transparent;
  color: var(--muted);
  border-radius: 6px;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
}
.periods .selected {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 4px #20352a13;
}
.growth-empty {
  text-align: center;
  padding: 25px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.growth-empty strong {
  font-size: 17px;
}
.growth-empty p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: var(--green);
  color: white;
  padding: 15px;
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  .main {
    padding-top: 50px;
  }
  .home-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .lesson-hero {
    padding: 36px 40px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 215px;
    padding: 30px 17px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
  }
  .app-content {
    margin-left: 215px;
  }
  .main {
    padding: 32px 27px 24px;
  }
  .topbar {
    padding: 0 27px;
    height: 78px;
  }
  .footer {
    padding: 20px 27px;
  }
  .card {
    padding: 22px;
  }
  .journey-step {
    gap: 10px;
  }
  .lesson-hero {
    padding: 26px;
  }
  .lesson-hero h2 {
    font-size: 34px;
  }
  .heading-row {
    align-items: flex-start;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat > svg {
    right: 14px;
  }
  .table-heading,
  .student-row {
    grid-template-columns: 1.1fr 0.8fr 1.1fr 1fr;
    gap: 10px;
  }
  .table-button {
    gap: 4px;
  }
  .content-grid {
    gap: 20px;
  }
  .level-picker button {
    padding: 14px 12px;
  }
  .level-picker .selected {
    padding: 13px 11px;
  }
  .level-picker svg {
    display: none;
  }
  .level-picker strong {
    font-size: 15px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .app-content {
    margin-left: 0;
  }
  .topbar {
    height: 72px;
  }
  .desktop-breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--green);
  }
  .mobile-nav {
    display: flex;
    gap: 10px;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px;
  }
  .mobile-nav a {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 11px 16px;
    font-size: 14px;
    min-height: 48px;
    border-radius: 9px;
  }
  .mobile-nav a[aria-current="page"] {
    background: var(--mint);
    color: var(--green);
    font-weight: 700;
  }
  .main {
    padding-top: 28px;
  }
  .footer > span:first-child {
    display: none;
  }
  .start-grid {
    grid-template-columns: 1.15fr 1fr;
  }
  .welcome-card {
    padding: 30px;
  }
  .welcome-card h2 {
    font-size: 30px;
  }
  .script-text {
    font-size: 20px;
  }
  .heading-row .select-label {
    max-width: 45%;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 26px;
    letter-spacing: -0.7px;
  }
  h2 {
    font-size: 20px;
  }
  .main {
    padding: 25px 18px 18px;
  }
  .topbar {
    padding: 0 18px;
    height: 66px;
  }
  .topbar-right {
    gap: 12px;
  }
  .profile-link {
    font-size: 13px;
  }
  .tiny-avatar {
    display: none;
  }
  .mobile-brand {
    font-size: 18px;
  }
  .demo-badge {
    font-size: 11px;
    padding: 3px 6px;
  }
  .mobile-nav {
    padding: 7px 12px;
    gap: 4px;
    justify-content: space-between;
  }
  .mobile-nav a {
    font-size: 13px;
    padding: 10px;
    flex: 1;
    gap: 6px;
  }
  .footer {
    padding: 18px;
    font-size: 11px;
    align-items: center;
  }
  .footer a {
    font-size: 13px;
    flex-shrink: 0;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  .description {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 9px;
  }
  .start-grid,
  .home-grid,
  .content-grid,
  .report-grid,
  .script-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .welcome-card {
    padding: 28px;
    gap: 24px;
  }
  .welcome-card h2 {
    font-size: 31px;
  }
  .large-word {
    font-size: 66px;
  }
  .role-card {
    padding: 24px;
  }
  .role-stack {
    gap: 16px;
  }
  .notice {
    font-size: 13px;
    padding: 15px;
    gap: 10px;
  }
  .student-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .student-card {
    padding: 24px 15px;
  }
  .student-card strong {
    font-size: 20px;
  }
  .avatar {
    width: 58px;
    height: 58px;
    font-size: 23px;
  }
  .student-arrow {
    right: 10px;
    top: 15px;
    width: 16px;
  }
  .heading-row {
    flex-direction: column;
    gap: 0;
  }
  .heading-row .level-pill,
  .heading-row > .badge {
    margin-top: -9px;
    margin-bottom: 23px;
  }
  .lesson-hero {
    padding: 27px;
    min-height: 370px;
  }
  .lesson-hero h2 {
    font-size: 37px;
  }
  .journey-step {
    padding: 16px 0;
  }
  .journey-step strong {
    font-size: 16px;
  }
  .journey-step p {
    font-size: 14px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .topic-card {
    padding: 21px;
  }
  .topic-card h3 {
    margin-top: 7px;
    font-size: 21px;
  }
  .topic-bottom {
    margin-top: 18px;
  }
  .section-title.lower {
    margin-top: 28px;
  }
  .steps {
    gap: 11px 16px;
    margin-bottom: 27px;
  }
  .steps li {
    font-size: 12px;
    gap: 6px;
  }
  .steps li > span {
    width: 23px;
    height: 23px;
  }
  .level-picker {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .level-picker button {
    padding: 15px;
  }
  .level-picker .selected {
    padding: 14px;
  }
  .level-picker strong {
    font-size: 16px;
  }
  .level-picker svg {
    display: block;
  }
  .card {
    padding: 22px;
  }
  .section-title {
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .patterns p,
  .script-text {
    font-size: 20px;
  }
  .action-row {
    gap: 12px;
    align-items: stretch;
  }
  .action-row > .button {
    flex: 1;
    padding: 12px 15px;
  }
  .button {
    font-size: 15px;
    min-height: 54px;
  }
  .interview-card {
    padding: 20px;
  }
  .question h2 {
    font-size: 26px;
  }
  .question p {
    font-size: 18px;
  }
  .answer {
    font-size: 20px;
    padding: 16px;
    min-height: 70px;
  }
  .answer.selected {
    padding: 15px;
  }
  .answer-grid {
    gap: 12px;
  }
  .interview-meta {
    font-size: 12px;
  }
  .my-script h2 {
    font-size: 26px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .stat {
    padding: 19px;
  }
  .stat > span {
    font-size: 13px;
  }
  .stat strong {
    font-size: 32px;
  }
  .heading-row .select-label {
    width: 100%;
    max-width: 100%;
    font-size: 13px;
  }
  .teacher-list {
    padding: 20px;
  }
  .table-heading {
    display: none;
  }
  .student-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .row-name {
    grid-column: 1;
  }
  .row-level {
    grid-column: 2;
    justify-self: end;
    font-size: 13px;
  }
  .status {
    grid-column: 1;
    font-size: 12px;
  }
  .table-button {
    grid-column: 2;
    justify-self: end;
    font-size: 13px;
  }
  .student-row > .small-note {
    justify-self: end;
  }
  .table-button svg {
    width: 15px;
  }
  .section-title select {
    font-size: 14px;
  }
  .editor textarea {
    padding: 14px;
    font-size: 17px;
  }
  .report-score {
    padding: 29px 22px;
  }
  .score-number {
    font-size: 76px;
  }
  .report-grid {
    margin-bottom: 18px;
  }
  .teacher-comment {
    font-size: 18px;
  }
  .periods {
    width: 100%;
    justify-content: space-between;
  }
  .periods button {
    flex: 1;
  }
  .growth-empty {
    padding: 22px 0;
  }
  .growth-empty strong {
    font-size: 16px;
  }
  .growth-empty p {
    font-size: 13px;
  }
  .empty {
    padding: 45px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Day 2 student management retains the existing card/button language. */
.student-management {
  margin-bottom: 28px;
}
.student-management h2 {
  margin-bottom: 12px;
}
.management-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.management-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  color: var(--ink);
  min-width: 0;
}
.management-form input,
.management-form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font: inherit;
}
.management-form h3,
.management-form > p,
.management-form > .management-actions {
  grid-column: 1/-1;
}
.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.management-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.management-row strong,
.management-row p {
  overflow-wrap: anywhere;
}
.management-row p {
  font-size: 15px;
  margin-top: 7px;
}
.management-row button {
  flex-shrink: 0;
}
.db-notice {
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.db-notice p {
  margin: 8px 0;
}
@media (max-width: 650px) {
  .management-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .management-row {
    align-items: stretch;
    flex-direction: column;
  }
  .management-actions .button {
    flex: 1 1 auto;
  }
  .management-form label {
    font-size: 16px;
  }
}
/* Day 3: retain Day 2 cards and accessible controls. */
.management-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
  line-height: 1.7;
}
.full-width {
  grid-column: 1/-1;
}
.sample-script {
  white-space: pre-line;
  line-height: 1.9;
  font-size: 20px;
  overflow-wrap: anywhere;
}
.pin-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.topbar-right {
  flex-wrap: wrap;
}
@media (max-width: 650px) {
  .lesson-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .topbar {
    height: auto;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .topbar-right .button {
    padding: 8px 12px;
    min-height: 44px;
  }
  .management-actions .button {
    white-space: normal;
  }
  .sample-script {
    font-size: 18px;
  }
}
.interview-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.interview-workspace textarea {
  width: 100%;
  min-height: 180px;
  font-size: 18px;
  line-height: 1.65;
  resize: vertical;
}
.interview-workspace progress {
  width: 100%;
  accent-color: var(--primary, #176b55);
}
.question-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.question-nav .button {
  min-height: 48px;
  padding: 10px 14px;
}
.review-details {
  overflow-wrap: anywhere;
}
.review-details .script-text {
  white-space: pre-line;
}

.practice-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.practice-workspace progress {
  display: block;
  width: 100%;
  height: 18px;
  accent-color: #176b55;
}
.practice-controls {
  display: grid;
  gap: 18px;
}
.practice-controls select {
  font: inherit;
  min-height: 48px;
  padding: 8px;
}
.practice-sentence {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.6;
  overflow-wrap: anywhere;
  margin: 16px 0;
}
.practice-workspace .button {
  min-height: 48px;
  white-space: normal;
}
.practice-overview {
  margin: 24px 0;
  overflow-wrap: anywhere;
}
.practice-overview .lesson-grid {
  margin-top: 18px;
}
.practice-overview h3 {
  margin-top: 0;
}
.practice-workspace .sample-script {
  white-space: pre-wrap;
}
.practice-workspace .notice .button {
  margin: 6px;
}
.practice-workspace .card {
  min-width: 0;
}
@media (max-width: 650px) {
  .mobile-nav a {
    font-size: 11px;
    padding: 10px 4px;
  }
  .practice-controls .management-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .practice-workspace .card {
    padding: 20px;
  }
}

.choice-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.choice-group legend {
  font-weight: 700;
  padding: 0 8px;
}
.choice-group [aria-pressed="true"] {
  outline: 3px solid #176b55;
  background: #e6f4ed;
}
.word-bank,
.word-answer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: #f1f6f3;
}
.word-answer {
  min-height: 90px;
  border: 2px dashed #86a99b;
}
.word-tile {
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid #9ab4aa;
  border-radius: 12px;
  background: white;
  font: inherit;
  cursor: pointer;
  display: grid;
  gap: 5px;
}
.word-tile small {
  font-size: 14px;
  color: #50675e;
}
.word-tile:disabled {
  opacity: 0.4;
  cursor: default;
}
.guided-learning .button {
  min-height: 48px;
  white-space: normal;
}
.guided-video {
  width: 100%;
  max-height: 460px;
  border-radius: 12px;
}
.guided-learning nav {
  gap: 10px;
}
.guided-learning nav .button {
  flex: 1 1 130px;
}

/* Supplementary guidance stays smaller than learning content and controls. */
.supporting-text,
.page-heading > p:not(.eyebrow):not([lang]),
.db-notice {
  font-size: 0.875rem;
  line-height: 1.55;
}
.supporting-text {
  color: #52675f;
}
.story-next-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.story-next-step p {
  margin: 0;
}
.story-next-step .button {
  max-width: 100%;
  white-space: normal;
}

.growth-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.growth-scores dd {
  margin: 0;
  font-weight: 700;
}
.growth-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.growth-charts figure {
  margin: 0;
  min-width: 0;
}
.growth-charts svg {
  width: 100%;
}
.growth-table {
  overflow-x: auto;
  max-width: 100%;
}
.growth-table table {
  border-collapse: collapse;
  font-size: 14px;
}
.growth-table th,
.growth-table td {
  padding: 10px;
  border-bottom: 1px solid #d8e4dd;
  text-align: left;
}
.practice-workspace select,
.practice-workspace textarea {
  max-width: 100%;
  min-height: 48px;
  font: inherit;
}

.guardian-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px;
}
.guardian-page h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
}
.guardian-page h2 {
  font-size: 1.3rem;
}
.guardian-page .card {
  padding: clamp(16px, 4vw, 32px);
}
.guardian-page input,
.guardian-page button,
.teacher-sharing button,
.teacher-sharing select {
  min-height: 48px;
}
.guardian-page button,
.teacher-sharing button {
  white-space: normal;
}
.guardian-video {
  width: 100%;
  max-height: 65vh;
  background: #172e2a;
  border-radius: 14px;
}
.guardian-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.guardian-scores > div {
  padding: 12px;
  border: 1px solid #dbe5e1;
  border-radius: 12px;
}
.guardian-scores dd {
  margin: 8px 0 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.guardian-trend {
  max-width: 100%;
  overflow-x: auto;
}
.guardian-trend table {
  border-collapse: collapse;
  min-width: 650px;
}
.guardian-trend th,
.guardian-trend td {
  padding: 10px;
  border-bottom: 1px solid #dbe5e1;
  text-align: left;
}
.teacher-sharing {
  min-width: 0;
  border-top: 1px solid #dbe5e1;
  padding-top: 20px;
}
.teacher-sharing select,
.teacher-sharing textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.teacher-sharing > *,
.teacher-sharing label,
.teacher-sharing form > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.teacher-sharing label {
  display: grid;
  gap: 8px;
}
.teacher-sharing .notice {
  display: block;
}
.teacher-sharing input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
}
.teacher-sharing form {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.teacher-sharing input[type="checkbox"] {
  width: auto;
  min-height: auto;
}
.sharing-evidence {
  max-height: 400px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}
.message-panel,
.message-card {
  min-width: 0;
  overflow-wrap: anywhere;
}
.message-panel .muted {
  font-size: 0.82rem;
}
.message-panel select,
.message-panel textarea {
  max-width: 100%;
}
.message-card {
  border-top: 1px solid var(--border, #dae4e0);
  padding: 18px 0;
}
.message-panel .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.message-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 22px;
  border: 1px solid #dae4e0;
  border-radius: 18px;
  color: inherit;
}
.message-dialog::backdrop {
  background: #102f2a88;
}
.message-body {
  white-space: pre-wrap;
  font-size: 0.95rem;
}
.message-dialog textarea {
  width: 100%;
  min-height: 90px;
}
.daily-score-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.daily-score-table caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 12px;
}
.daily-score-table th,
.daily-score-table td {
  text-align: left;
  border-bottom: 1px solid #dbe3df;
  padding: 14px 4px;
  font-size: 0.9rem;
}
.daily-score-table th {
  font-weight: 500;
}
.daily-score-table td {
  white-space: nowrap;
}

.sat-chunk.moving { outline: 3px solid #2563eb; box-shadow: 0 4px 16px #2563eb40; transform: scale(1.05); cursor: grabbing; }
.story-flow {
  margin-bottom: 24px;
}
.story-flow h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}
.story-flow nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.story-flow a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1px solid #d3dfdb;
  border-radius: 12px;
  background: white;
  color: #24463d;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}
.story-flow a[aria-current="step"] {
  background: #196b54;
  border-color: #196b54;
  color: white;
}
@media (max-width: 480px) {
  .story-flow a {
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
  }
}
input.access-password-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 12px 0 20px;
  min-height: 60px;
  padding: 16px 18px;
  border: 2px solid #23735a;
  border-radius: 12px;
  background: #e3f4e9;
  color: #153f30;
  font-size: 20px;
  font-weight: 600;
}
input.access-password-input::placeholder {
  color: #3d6654;
  opacity: 1;
}
input.access-password-input:focus-visible {
  outline: 3px solid #23735a;
  outline-offset: 3px;
  background: #d4eddd;
}
.teacher-learning label,.learning-editor label{display:flex;flex-direction:column;gap:8px;margin:14px 0;}
.learning-editor input,.learning-editor textarea,.learning-editor select{width:100%;max-width:760px;padding:12px;border:1px solid #cbd9d2;border-radius:10px;background:white;color:#18352b;}
.learning-editor textarea{min-height:100px;}
.teacher-learning .table-scroll{overflow-x:auto;}
.teacher-learning table{width:100%;min-width:760px;border-collapse:collapse;}
.teacher-learning th,.teacher-learning td{padding:12px;text-align:left;border-bottom:1px solid #dce5df;vertical-align:top;}
.teacher-learning td small{display:block;font-size:12px;color:#586b61;}
.teacher-learning fieldset{border:1px solid #dce5df;border-radius:12px;padding:18px;margin:18px 0;}
.teacher-learning li{margin:12px 0;}
.teacher-learning button{margin:4px;}
@media print{body.friday-print *{visibility:hidden;}body.friday-print .friday-printout,body.friday-print .friday-printout *{visibility:visible;}body.friday-print .friday-printout{position:absolute;left:12mm;top:12mm;width:180mm;}body.friday-print .friday-printout textarea{border:none;resize:none;min-height:0;height:auto;overflow:visible;}}

.teacher-admin-heading { margin-bottom: 18px; }
.teacher-admin-heading h1 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.teacher-admin-heading .eyebrow { margin-bottom: 4px; }
.teacher-admin-tabs { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
.teacher-admin-tabs [role="tab"] { display: flex; flex-direction: column; align-items: center; justify-content:center; gap:8px; min-height:82px; padding:12px 6px; background:white; border:1px solid #dce5df; border-radius:14px; color:#294b40; font-size:14px; font-weight:700; cursor:pointer; }
.teacher-admin-tabs [role="tab"][aria-selected="true"] { background:#1d6b53; border-color:#1d6b53; color:white; box-shadow:0 4px 12px #1d6b5320; }
.teacher-admin-tabs [role="tab"]:focus-visible { outline:3px solid #80bc99; outline-offset:3px; }
.teacher-help { font-size:13px; color:#586b61; margin:12px 0; }
.teacher-help summary { cursor:pointer; }
.teacher-legacy-records { margin:24px 0; border:1px solid #dce5df; border-radius:14px; padding:18px; }
.teacher-legacy-records > summary { cursor:pointer; font-weight:700; }
@media(max-width:850px) { .teacher-admin-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:480px) { .teacher-admin-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; } .teacher-admin-tabs [role="tab"] { font-size:13px; min-height:72px; } }

.portal { max-width:1200px; margin:auto; color:#243650; }
.portal-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; border-bottom:1px solid #dce5f2; margin-bottom:32px; }
.portal-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#183b75; font-size:22px; font-weight:800; }
.portal-brand small { display:block; font-size:12px; letter-spacing:1px; font-weight:500; margin-top:4px; }
.portal-mark { display:grid; place-items:center; width:46px; height:46px; color:white; background:#2563eb; border-radius:14px; }
.portal-header nav { display:flex; gap:5px; flex-wrap:wrap; }
.portal-header nav button { border:0; border-radius:30px; padding:10px 15px; background:transparent; color:#526988; }
.portal-header nav .active { background:#e8f0ff; color:#2563eb; font-weight:800; }
.portal-hero { background:#ecf2ff; border:1px solid #cbdaf7; border-radius:28px; padding:56px; margin-bottom:42px; }
.portal-hero h1 { font-size:clamp(34px,5vw,64px); line-height:1.15; letter-spacing:-2px; margin:20px 0; }
.portal-hero p { line-height:1.9; }
.portal-hero > a { margin-left:20px; color:#2563eb; }
.portal-today { display:flex; flex-direction:column; gap:8px; background:#ffffffa8; border-radius:16px; padding:20px; margin-top:30px; }
.portal-today span,.portal-today small { color:#617594; }
.portal-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin:22px 0 36px; }
.portal-grid article p { line-height:1.8; }
.portal-number { color:#7693c4; font-size:28px; }
.portal-form { display:grid; gap:15px; max-width:600px; }
.portal-form label { display:grid; gap:7px; font-weight:600; }
.portal input,.portal select { border:1px solid #bdd0ed; border-radius:9px; padding:11px 12px; background:white; color:#183b75; max-width:100%; }
.portal-form input,.portal-form select { width:100%; }
.portal-admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:25px 0; align-items:start; }
.portal-admin-grid .portal-form { max-width:none; }
.portal-form .portal-check { display:flex; align-items:center; gap:10px; padding:8px 0; }
.portal-check input { width:auto; }
.portal fieldset { border:1px solid #bdd0ed; border-radius:12px; max-height:350px; overflow:auto; }
.portal-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:20px; }
.portal-stats strong { display:block; font-size:32px; color:#2563eb; }
.portal-table { overflow:auto; }
.portal table { width:100%; border-collapse:collapse; margin:18px 0; }
.portal th,.portal td { text-align:left; padding:14px 10px; border-bottom:1px solid #dce5f2; }
.portal td form { display:flex; gap:5px; align-items:center; }
.portal td input { width:100px; }
.portal .portal-done { color:#2563eb; font-weight:700; }
.portal-toolbar { display:flex; gap:12px; }
.portal-notice { padding:16px; border:1px solid #bdd0ed; background:#edf3ff; border-radius:12px; }
.portal-footer { display:flex; justify-content:space-between; gap:20px; padding:32px 0; border-top:1px solid #dce5f2; margin-top:42px; color:#617594; }
.portal-footer a { color:#2563eb; }
@media(max-width:700px) { .portal-header { flex-direction:column; align-items:flex-start; } .portal-hero { padding:28px 22px; } .portal-admin-grid { grid-template-columns:1fr; } .portal-stats { gap:8px; } .portal-stats .card { padding:14px; } .portal-footer { flex-direction:column; } .portal-header nav button { padding:9px 10px; font-size:13px; } }
:root { --green:#2563eb; --dark:#183b75; --mint:#e8f0ff; --ink:#243650; --muted:#65758e; --line:#dce5f2; }
body { background:#f5f8fe; }
.sat-verb-activity,.sat-chunk-board,.sat-structure-board { background:#fafdff; }
.sat-chunk-board,.sat-structure-board,.sat-top-chunk { border-color:#b9ccef; }
.sat-chunk { background:#f2f6ff; border-color:#bdd0f2; }
.sat-answer,.sat-completion-note,.sat-passage,.sat-options { background:#f0f4fb; }
.sat-chunk.selected,.sat-structure.selected { border-color:#2563eb; background:#e8f0ff; }
.sat-structure.selected.incorrect { border-color:#cf3737; background:#fff0ee; }
.sat-option.correct { border-color:#16805b; background:#e0f4e9; color:#16805b; }
.sat-choice-feedback.correct,.portal-done { color:#16805b; }
.sat-step span { background:#e7edf8; }
.sat-step.active span { background:#2563eb; }
.portal a.related-site-green { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 16px; border:1px solid #14543e; border-radius:12px; background:#17694f; color:#fff; font-weight:750; text-decoration:none; box-shadow:0 4px 12px #17694f26; white-space:nowrap; }
.portal a.related-site-green:hover { background:#14543e; color:#fff; }
.portal a.related-site-green:focus-visible { outline:3px solid #86d0a9; outline-offset:3px; }
.portal-header { flex-wrap:wrap; }
@media(max-width:700px) { .portal-header .related-site-green { width:100%; } }

body { padding:18px; } .sat-delivery-note { display:none; }