.edu-page,
.edu-dashboard {
  --edu-ink: #263e50;
  --edu-muted: #637787;
  --edu-green: #258471;
  color: var(--edu-ink);
  font-family: inherit;
}
.edu-dashboard {
  background: linear-gradient(125deg, #effaf5, #edf5ff);
  border: 1px solid #dbece7;
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 24px;
}
.edu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.edu-heading small {
  color: #378575;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.edu-heading h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 8px 0 10px;
  color: #264954;
}
.edu-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--edu-muted);
  max-width: 760px;
  margin: 0;
}
.edu-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.edu-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  background: #ffffffdb;
  border: 1px solid #ddece7;
  border-radius: 18px;
  padding: 22px;
  color: var(--edu-ink);
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.edu-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #547d6b12;
}
.edu-plan-icon {
  font-size: 28px;
}
.edu-plan small {
  font-size: 11px;
  font-weight: 800;
  color: #448b7a;
}
.edu-plan.english small {
  color: #7273aa;
}
.edu-plan.thinking small {
  color: #a27a3d;
}
.edu-plan b {
  font-size: 17px;
  line-height: 1.7;
}
.edu-plan > span:not(.edu-plan-icon) {
  font-size: 12px;
  color: var(--edu-muted);
  line-height: 1.8;
}
.edu-plan em {
  font-style: normal;
  font-size: 11px;
  color: #758792;
  line-height: 1.7;
  margin-top: auto;
}
.edu-dashboard-foot {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 12px;
  color: var(--edu-muted);
}
.edu-dashboard-foot > span {
  margin-right: auto;
}
.edu-page button,
.edu-dashboard-foot button {
  border: 1px solid #dbe5e9;
  border-radius: 10px;
  background: white;
  color: #365d67;
  padding: 11px 17px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.edu-page button:hover,
.edu-dashboard-foot button:hover {
  background: #f2f9f6;
  border-color: #9fc9ba;
}
.edu-page button:disabled {
  opacity: 0.5;
  cursor: default;
}
.edu-page button:focus-visible,
.edu-page input:focus-visible,
.edu-page select:focus-visible,
.edu-plan:focus-visible {
  outline: 3px solid #66ad99;
  outline-offset: 3px;
}
.edu-card {
  border: 1px solid #dce7eb;
  border-radius: 20px;
  padding: 28px;
  background: white;
  margin-bottom: 20px;
  box-shadow: 0 5px 22px #335b7110;
}
.edu-card h3 {
  font-size: 20px;
  color: #264954;
  margin: 0 0 14px;
}
.edu-card h4 {
  margin: 22px 0 12px;
}
.edu-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #617785;
  margin: 10px 0 18px;
}
.edu-card small {
  display: block;
  line-height: 1.8;
  color: #6e8391;
  font-size: 12px;
}
.edu-page .edu-primary {
  background: #277e6e;
  color: white;
  border-color: #277e6e;
  box-shadow: 0 4px 10px #277e6e18;
}
.edu-page .edu-primary:hover {
  background: #1d695b;
  color: white;
}
.edu-coach {
  border-radius: 13px;
  background: #f2f8f5;
  padding: 18px 20px;
  margin: 18px 0;
  color: #426d60;
  font-size: 14px;
  line-height: 1.8;
}
.edu-coach b {
  font-size: 12px;
  color: #328474;
}
.edu-coach p {
  margin: 7px 0 0;
}
.edu-lesson {
  max-width: 900px;
}
.edu-note {
  background: #f5f8fc;
  border-left: 3px solid #91afb5;
  padding: 14px 18px;
  color: #647a89;
  font-size: 12px;
  line-height: 1.9;
  border-radius: 5px;
}
.edu-word-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.edu-word-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 18px 8px;
}
.edu-word-grid span {
  font-size: 34px;
}
.edu-word-grid b {
  font-size: 16px;
}
.edu-word-grid small {
  font-size: 11px;
}
.edu-dialogue {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.edu-dialogue button {
  font-size: 15px;
}
.edu-dialogue span {
  font-size: 13px;
  color: #718593;
}
.edu-question {
  max-width: 900px;
  scroll-margin-top: 140px;
}
.edu-question h3 {
  font-size: 24px;
  font-weight: 750;
  line-height: 1.9;
  margin: 20px 0;
}
.edu-question-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #739083;
  font-size: 12px;
}
.edu-audio-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #f1f8f5;
  border-radius: 12px;
  padding: 13px 15px;
  margin-top: 14px;
  color: #5c7d71;
  font-size: 12px;
  line-height: 1.8;
}
.edu-audio-bar label {
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
}
.edu-audio-bar > span {
  flex: 1;
  min-width: 150px;
}
.edu-audio-bar button {
  padding: 7px 12px;
  font-size: 11px;
}
.edu-choices .edu-choice-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf2f6;
  color: #65818b;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin: 0 8px 0 0;
  font-size: 11px;
}
.edu-visual {
  font-size: 23px;
  letter-spacing: 2px;
  white-space: pre-wrap;
  line-height: 2;
  background: #f4f8fc;
  border: 1px solid #e4ecf2;
  border-radius: 16px;
  padding: 26px 20px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.edu-answer {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
  margin: 22px 0;
}
.edu-answer input {
  font: inherit;
  font-size: 28px;
  text-align: center;
  width: 120px;
  border: 2px solid #c7ded6;
  border-radius: 14px;
  padding: 12px;
  color: #2f7465;
  background: white;
}
.edu-evidence {
  display: grid;
  gap: 12px;
  border-top: 1px solid #edf1f3;
  padding: 20px 0;
  font-size: 12px;
  color: #728691;
}
.edu-evidence label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.8;
}
.edu-page input[type="checkbox"] {
  accent-color: #328674;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 1px 5px 0 0;
}
.edu-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0;
}
.edu-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.edu-choices button {
  padding: 22px 10px;
  min-height: 88px;
  font-size: 18px;
  border-width: 2px;
}
.edu-choices button.chosen {
  background: #e7f6ef;
  border-color: #479e85;
  color: #23745b;
}
.edu-choice-picture {
  font-size: 44px;
  display: block;
}
.edu-choices small {
  font-size: 12px;
  margin-top: 10px;
}
.edu-page .edu-listen {
  display: block;
  width: 100%;
  background: #eef2ff;
  border: 1px solid #d8def4;
  color: #616ba4;
  font-size: 18px;
  padding: 21px;
}
.edu-feedback {
  border: 1px solid #d4e9dd;
  background: #f0faf4;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}
.edu-feedback.try-again {
  background: #fff9ee;
  border-color: #f0e1bf;
}
.edu-feedback b {
  font-size: 18px;
}
.edu-feedback p {
  color: #486b5b;
}
.edu-feedback button {
  display: block;
  margin-top: 18px;
}
.edu-finish {
  text-align: center;
  max-width: 800px;
}
.edu-finish-star {
  display: block;
  font-size: 64px;
  margin: 20px;
}
.edu-finish h2 {
  font-size: 27px;
  margin: 18px 0;
}
.edu-finish > button {
  margin: 10px;
}
.edu-finish .edu-coach {
  text-align: left;
}
.edu-roadmap {
  display: grid;
  gap: 12px;
}
.edu-node {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border: 1px solid #e3ebee;
  border-radius: 14px;
  padding: 18px 20px;
}
.edu-node > div {
  flex: 1;
  min-width: 200px;
}
.edu-node h4 {
  font-size: 16px;
  margin: 5px 0;
}
.edu-node p {
  font-size: 12px;
  margin: 3px 0 7px;
}
.edu-node small {
  font-size: 10px;
}
.edu-node span {
  font-size: 11px;
  display: block;
  color: #8b9ba5;
  margin: 8px 0 2px;
}
.edu-node.secure {
  background: #f1fbf5;
  border-color: #c7e5d4;
}
.edu-node.secure span {
  color: #268461;
}
.edu-node.practising {
  border-color: #d2ddeb;
  background: #fafcff;
}
.edu-node.practising span {
  color: #6786a2;
}
.edu-node .edu-lock-reason {
  flex-basis: 100%;
  margin: 0;
  color: #937b54;
}
.edu-habits label {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #eef2f4;
  padding: 14px 0;
  font-size: 14px;
}
.edu-habits small {
  margin-top: 16px;
}
.edu-settings > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #637a89;
  margin: 20px 0;
}
.edu-settings input:not([type="checkbox"]),
.edu-settings select {
  display: block;
  padding: 13px 14px;
  margin-top: 9px;
  background: #fafcfd;
  border: 1px solid #d8e5e9;
  border-radius: 10px;
  color: #35515e;
  width: 100%;
  max-width: 560px;
  font: inherit;
}
.edu-settings > label:has([type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.8;
}
.edu-card ul {
  padding-left: 22px;
}
.edu-card li {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.8;
}
.edu-card a {
  color: #327e89;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.edu-card li small {
  margin-top: 5px;
}
.edu-file-button {
  position: relative;
  padding: 12px 16px;
  border: 1px solid #dbe5e9;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  color: #365d67;
}
.edu-file-button input {
  display: block;
  max-width: 230px;
  margin-top: 8px;
  font: inherit;
  font-size: 11px;
}
.edu-notice {
  position: sticky;
  bottom: 14px;
  background: #e9f4ef;
  border: 1px solid #c5dfd2;
  border-radius: 12px;
  padding: 16px;
  color: #385f51;
  font-size: 13px;
  line-height: 1.8;
}
.edu-notice:empty,
.edu-error:empty {
  display: none;
}
.edu-error {
  color: #a56a36 !important;
  font-size: 12px !important;
}
.edu-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.edu-resource-grid button {
  text-align: left;
  padding: 18px 14px;
  background: #f8fbfd;
  font-size: 13px;
}
@media (max-width: 800px) {
  .edu-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}
@media (max-width: 800px) {
  .edu-plan-grid {
    grid-template-columns: 1fr;
  }
  .edu-plan {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 18px;
    gap: 5px 12px;
  }
  .edu-plan-icon {
    grid-row: 1/4;
  }
  .edu-plan > span:not(.edu-plan-icon),
  .edu-plan em {
    grid-column: 2;
  }
  .edu-heading h2 {
    font-size: 23px;
  }
  .edu-dashboard {
    padding: 20px;
    border-radius: 18px;
  }
  .edu-card {
    padding: 22px;
  }
  .edu-question h3 {
    font-size: 21px;
  }
  .edu-visual {
    font-size: 20px;
  }
  .edu-word-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edu-dialogue {
    gap: 7px;
  }
  .edu-dialogue span {
    display: block;
    width: 100%;
  }
  .edu-choices {
    gap: 8px;
  }
  .edu-choice-picture {
    font-size: 35px;
  }
  .edu-choices button {
    padding: 18px 5px;
  }
  .edu-node {
    padding: 16px;
  }
  .edu-node > button {
    width: 100%;
  }
  .edu-question-top button {
    font-size: 12px;
  }
  .edu-dashboard-foot > span {
    width: 100%;
  }
}
