:root {
  --green: #58a638;
  --green-dark: #397827;
  --green-light: #edf7e6;
  --ink: #303c35;
  --muted: #889087;
  --line: #e7ebe3;
  --bg: #fffefa;
  --yellow: #f4be47;
  --blue: #449cb7;
  --radius: 22px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #58a638;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.65px;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
}
p {
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-dark);
}
.icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 23px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(2px);
}
.btn-primary {
  background: var(--green);
  color: white;
  border-bottom: 4px solid #3e832b;
}
.btn-outline {
  background: white;
  border: 2px solid var(--line);
  border-bottom-width: 4px;
}
.btn-soft {
  background: var(--green-light);
  color: var(--green-dark);
}
.btn-small {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12px;
}
.btn-danger {
  background: #fff1ed;
  color: #b44332;
  border-color: #eed0c9;
}
.text-button {
  border: 0;
  background: none;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 8px;
}
.full {
  width: 100%;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spread {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: #f2f3ed;
  color: #777f73;
}
.pill.green {
  background: #e6f4db;
  color: #4d8e32;
}
.pill.gold {
  background: #fff5d5;
  color: #9b741f;
}
.card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.initial {
  max-width: 600px;
  text-align: center;
  margin: 100px auto;
  padding: 24px;
}
.skip-link {
  position: fixed;
  top: -100px;
  z-index: 200;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1.5px solid var(--line);
  padding: 34px 20px 24px;
  background: #fffefa;
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 26px;
  letter-spacing: -1.1px;
  font-weight: 850;
  color: #428c30;
  white-space: nowrap;
}
.brand img {
  width: 37px;
  height: 42px;
}
.brand small {
  display: block;
  font-size: 9px;
  color: #949c8d;
  letter-spacing: 2.5px;
  font-weight: 700;
  margin-top: 3px;
}
.sidebar nav {
  display: grid;
  gap: 10px;
  margin-top: 48px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #858c80;
}
.nav-link:hover {
  background: #f4f6ee;
}
.nav-link.active {
  background: #edf7e6;
  color: #4d9433;
  border-color: #d5e9c7;
}
.nav-link.active .icon {
  stroke-width: 2.3;
}
.nav-link .icon {
  width: 25px;
  height: 25px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  position: relative;
  background: #f2f6eb;
  border-radius: 17px;
  padding: 18px 13px 16px;
  text-align: center;
  margin-top: 70px;
}
.sidebar-note img {
  width: 90px;
  height: 96px;
  margin-top: -65px;
}
.sidebar-note h3 {
  font-size: 14px;
  margin: 1px 0 6px;
}
.sidebar-note p {
  font-size: 11px;
  color: #8a9382;
  line-height: 1.6;
  margin-bottom: 12px;
}
.sidebar-note .btn {
  font-size: 10px;
  min-height: 36px;
}
.sidebar-bottom .nav-link {
  font-size: 11px;
  padding-top: 22px;
}
.workspace {
  margin-left: 230px;
}
.topbar {
  height: 99px;
  border-bottom: 1.5px solid var(--line);
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffefa;
}
.breadcrumb {
  font-size: 12px;
  color: #90968c;
}
.breadcrumb b {
  color: #475443;
  font-weight: 600;
}
.top-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.top-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #8c9387;
}
.top-stat.fire {
  color: #e5a142;
}
.top-stat.gem {
  color: #46a8bc;
}
.top-stat.heart {
  color: #e97d7d;
}
.top-stat .icon {
  width: 21px;
  height: 24px;
  stroke-width: 2.2;
}
.avatar {
  height: 36px;
  width: 36px;
  border: 2px solid #e1e9d7;
  background: #eaf2dd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6c8f4d;
  font-size: 12px;
  font-weight: 800;
}
.language-top {
  border: 0;
  background: none;
  font-weight: 700;
  color: #62705b;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.flag {
  height: 24px;
  width: 32px;
  display: inline-block;
  border-radius: 5px;
  box-shadow: 0 0 0 1px #0000000d;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}
.flag.es {
  background: linear-gradient(#d9574f 25%, #f5cf55 25% 75%, #d9574f 75%);
}
.flag.es:after {
  content: "♜";
  font-size: 14px;
  position: absolute;
  left: 7px;
  top: 3px;
  color: #be644b;
}
.flag.fr {
  background: linear-gradient(90deg, #5577ba 33%, #fff 33% 66%, #df685e 66%);
}
.flag.it {
  background: linear-gradient(90deg, #5b9d77 33%, #fff 33% 66%, #df685e 66%);
}
.flag.de {
  background: linear-gradient(#424347 33%, #c6534d 33% 66%, #f0c34f 66%);
}
.flag.hi {
  background: linear-gradient(#eba65b 33%, #fff 33% 66%, #6ba36c 66%);
}
.flag.hi:after {
  content: "";
  border: 1px solid #577cad;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  left: 13px;
  top: 9px;
}
.flag.ja:after {
  content: "";
  width: 11px;
  height: 11px;
  background: #d96568;
  position: absolute;
  left: 11px;
  top: 6px;
  border-radius: 50%;
}
.flag.en {
  background:
    linear-gradient(90deg, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(transparent 33%, #fff 33% 66%, transparent 66%), #5775a4;
}
.flag.en:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 45%, #cc676a 45% 55%, transparent 55%),
    linear-gradient(transparent 42%, #cc676a 42% 58%, transparent 58%);
}
.page-wrap {
  max-width: 1320px;
  margin: auto;
  padding: 35px 46px 60px;
}
.page-heading {
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 29px;
  margin: 7px 0 8px;
}
.page-heading p {
  font-size: 13px;
  color: #93998e;
  margin: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 300px;
  gap: 30px;
  align-items: start;
}
.welcome {
  min-height: 204px;
  border-radius: 23px;
  background: #f0f6e7;
  border: 1px solid #e5eddc;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 28px 27px;
  margin-bottom: 29px;
}
.welcome-content {
  position: relative;
  z-index: 1;
  width: 65%;
}
.welcome .eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
}
.welcome h2 {
  font-size: 27px;
  line-height: 1.22;
  margin: 9px 0;
}
.welcome p {
  font-size: 12px;
  color: #7d8e70;
  max-width: 270px;
  line-height: 1.6;
  margin-bottom: 17px;
}
.welcome .btn {
  font-size: 10px;
  min-height: 37px;
  padding: 9px 15px;
  border-radius: 9px;
}
.welcome-parrot {
  position: absolute;
  width: 190px;
  height: 204px;
  right: 4px;
  bottom: -1px;
  z-index: 1;
  animation: bob 4s ease-in-out infinite;
}
.welcome:after {
  content: "";
  width: 250px;
  height: 250px;
  position: absolute;
  right: -75px;
  top: 5px;
  background: #e6efd9;
  border-radius: 46% 54% 50% 50%;
  transform: rotate(-20deg);
}
.speech-label {
  position: absolute;
  right: 36px;
  top: 18px;
  z-index: 2;
  padding: 6px 10px;
  background: #fffef7;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #738766;
  transform: rotate(7deg);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
}
.section-head h2 {
  font-size: 18px;
  margin: 0;
}
.section-head p {
  font-size: 11px;
  color: #9ba191;
  margin: 5px 0 0;
}
.course-select {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #6c7665;
}
.course-select .flag {
  width: 23px;
  height: 17px;
}
.course-select .icon {
  width: 13px;
  height: 13px;
}
.unit-banner {
  background: #5da743;
  border: 1px solid #4d9837;
  border-bottom: 4px solid #438c30;
  border-radius: 16px;
  color: white;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.unit-banner .eyebrow {
  color: #daefce;
  font-size: 9px;
  letter-spacing: 1.6px;
}
.unit-banner h3 {
  font-size: 18px;
  margin: 5px 0 0;
  letter-spacing: -0.3px;
}
.unit-banner .icon {
  width: 27px;
  height: 27px;
}
.guide-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9cc987;
  border-radius: 9px;
  background: #65ac4c;
  color: white;
  padding: 9px 12px;
  font-size: 9px;
  letter-spacing: 0.7px;
  font-weight: 800;
}
.guide-button .icon {
  width: 16px;
  height: 16px;
}
.learning-path {
  position: relative;
  min-height: 520px;
  padding: 31px 0 10px;
}
.path-row {
  height: 113px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.path-node {
  position: relative;
  width: 75px;
  height: 70px;
  border-radius: 50%;
  border: 0;
  border-bottom: 7px solid #448a32;
  box-shadow:
    0 0 0 6px var(--bg),
    0 0 0 9px #e8eddf;
  background: #68b64a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.2s;
}
.path-node:hover {
  transform: translateY(-4px);
}
.path-node .icon {
  width: 29px;
  height: 29px;
  stroke-width: 2.6;
}
.path-node.locked {
  background: #e9ece4;
  border-color: #d7ddd0;
  box-shadow: none;
  color: #bdc6b3;
}
.path-node.complete {
  background: #f0c45a;
  border-color: #d7a937;
  box-shadow: none;
}
.path-row:nth-child(4n + 2) {
  transform: translateX(-55px);
}
.path-row:nth-child(4n + 3) {
  transform: translateX(-25px);
}
.path-row:nth-child(4n + 4) {
  transform: translateX(45px);
}
.node-label {
  position: absolute;
  left: calc(50% + 58px);
  top: 39px;
  white-space: nowrap;
  font-size: 11px;
  color: #929c89;
}
.node-label b {
  display: block;
  color: #6f7f64;
  font-weight: 650;
  margin-bottom: 3px;
}
.node-label small {
  font-size: 10px;
}
.start-bubble {
  position: absolute;
  bottom: 81px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1.5px solid #e1e8d8;
  border-radius: 10px;
  padding: 7px 12px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  color: #589e3d;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 0 #f0f2e9;
}
.start-bubble:after {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  bottom: -6px;
  width: 9px;
  height: 9px;
  background: white;
  border-right: 1.5px solid #e1e8d8;
  border-bottom: 1.5px solid #e1e8d8;
  transform: rotate(45deg);
}
.path-parrot {
  position: absolute;
  left: 4%;
  top: 145px;
  width: 125px;
  transform: rotate(-5deg);
}
.path-caption {
  position: absolute;
  left: 1%;
  top: 274px;
  font-size: 10px;
  color: #99a18f;
  transform: rotate(-5deg);
  max-width: 140px;
  text-align: center;
}
.path-dots {
  position: absolute;
  inset: 60px 50% 50px auto;
  border-left: 4px dotted #e4e9dd;
  transform: rotate(-3deg);
}
.path-bottom {
  text-align: center;
  font-size: 11px;
  color: #a5ac9d;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.aside-column {
  display: grid;
  gap: 20px;
}
.aside-column h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.aside-column .card {
  padding: 22px;
}
.daily-date {
  font-size: 10px;
  color: #a4ab9b;
}
.goal-visual {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 22px 0 16px;
}
.goal-icon {
  width: 57px;
  height: 57px;
  border-radius: 16px;
  background: #fff5d9;
  display: grid;
  place-items: center;
  color: #d8a635;
}
.goal-icon .icon {
  width: 33px;
  height: 33px;
}
.goal-visual strong {
  font-size: 20px;
  font-weight: 750;
}
.goal-visual p {
  font-size: 10px;
  color: #9ca491;
  margin: 4px 0 0;
}
.meter {
  height: 9px;
  border-radius: 20px;
  background: #f0f2ea;
  overflow: hidden;
}
.meter progress {
  width: 100%;
  height: 100%;
  appearance: none;
  display: block;
}
.meter progress::-webkit-progress-bar {
  background: #f0f2ea;
}
.meter progress::-webkit-progress-value {
  background: #efc55f;
  border-radius: 20px;
}
.meter progress::-moz-progress-bar {
  background: #efc55f;
}
.meter-caption {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #929c85;
  margin-top: 8px;
}
.week {
  display: flex;
  justify-content: space-between;
  margin-top: 23px;
}
.day {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  font-size: 9px;
  color: #a1a895;
}
.day span {
  width: 24px;
  height: 24px;
  border: 1px solid #e6eadd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #acb59d;
  font-size: 10px;
}
.day.today span {
  background: #f8e3a5;
  border-color: #f0ce72;
  color: #a38431;
}
.day.done span {
  background: #80b963;
  border-color: #80b963;
  color: white;
}
.league-icon {
  height: 60px;
  width: 55px;
  object-fit: contain;
  color: #c58c45;
  display: grid;
  place-items: center;
  background: #f8efde;
  border-radius: 14px;
}
.league-icon .icon {
  width: 38px;
  height: 38px;
}
.league-promo {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 22px 0 15px;
}
.league-promo p {
  font-size: 11px;
  line-height: 1.65;
  color: #919986;
  margin: 0;
}
.league-promo strong {
  color: #627354;
  font-size: 12px;
}
.card-link {
  font-size: 10px;
  font-weight: 800;
  color: #5398ac;
  display: block;
  text-align: center;
  letter-spacing: 1px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.quests {
  list-style: none;
  margin: 17px 0 0;
  padding: 0;
  display: grid;
  gap: 19px;
}
.quest {
  display: flex;
  gap: 13px;
  align-items: center;
}
.quest > .icon {
  color: #e3b551;
  width: 27px;
  height: 27px;
}
.quest > div {
  flex: 1;
}
.quest b {
  font-size: 11px;
  font-weight: 650;
  display: block;
  margin-bottom: 8px;
}
.quest .meter {
  height: 6px;
}
.quest small {
  font-size: 9px;
  color: #a1a894;
  margin-left: 6px;
}
.word-card {
  background: #f7f8f2;
  border: 0;
  text-align: center;
}
.word-card .eyebrow {
  font-size: 9px;
  color: #9ba18d;
}
.word-card h3 {
  font-size: 24px;
  color: #638250;
  margin: 15px 0 5px;
}
.word-card p {
  font-size: 11px;
  color: #9aab8e;
  margin-bottom: 12px;
}
.word-card button {
  background: none;
  border: 0;
  color: #91a37f;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.word-card .icon {
  width: 14px;
  height: 14px;
}
.aside-footer {
  font-size: 9px;
  line-height: 2;
  color: #b3b8aa;
  text-align: center;
  padding: 0 12px;
}
.aside-footer a {
  margin: 0 6px;
}
.site-credit {
  margin-left: 230px;
  text-align: center;
  font-size: 10px;
  color: #a2aa98;
  padding: 18px 20px 24px;
}
.site-credit span {
  margin: 0 9px;
}
.site-credit a:hover {
  text-decoration: underline;
}
.mobile-brand {
  display: none;
}
.notice {
  padding: 13px 17px;
  border-radius: 12px;
  background: #fff5dc;
  border: 1px solid #f1dfac;
  color: #89733d;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.notice:empty {
  display: none;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.course-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition:
    transform 0.2s,
    border 0.2s;
}
.course-card:hover {
  transform: translateY(-3px);
  border-color: #bad4a9;
}
.course-card .flag {
  width: 48px;
  height: 35px;
  margin-bottom: 22px;
}
.course-card h2 {
  margin-bottom: 5px;
  font-size: 21px;
}
.course-card p {
  font-size: 12px;
  color: #909b86;
  margin-bottom: 20px;
}
.course-card .btn {
  margin-top: auto;
}
.course-card .pill {
  position: absolute;
  right: 18px;
  top: 22px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 35px 0 55px;
  gap: 30px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 20px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero p {
  color: #8c9782;
  font-size: 16px;
}
.hero-art {
  position: relative;
  background: #edf5e3;
  border-radius: 47% 53% 44% 56%;
  padding: 10px;
  text-align: center;
}
.hero-art img {
  width: 95%;
  max-width: 350px;
  animation: bob 4s infinite ease-in-out;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}
.features .icon {
  color: var(--green);
  width: 33px;
  height: 33px;
  margin-bottom: 20px;
}
.features h3 {
  font-size: 17px;
}
.features p {
  font-size: 13px;
  color: #8e9985;
}
.auth-layout {
  max-width: 840px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.auth-art {
  text-align: center;
}
.auth-art img {
  width: 230px;
  animation: bob 5s infinite;
}
.auth-art h2 {
  font-size: 25px;
}
.auth-art p {
  font-size: 13px;
  color: #8e9985;
}
.auth-form h1 {
  font-size: 28px;
  margin-bottom: 10px;
}
.auth-form > p {
  font-size: 13px;
  color: #8e9985;
}
.form-grid {
  display: grid;
  gap: 17px;
}
label {
  font-size: 12px;
  font-weight: 650;
  display: grid;
  gap: 8px;
}
input,
select,
textarea {
  width: 100%;
  border: 1.5px solid #e0e6d8;
  border-radius: 11px;
  padding: 13px 14px;
  background: #fcfdf9;
  color: #45503f;
  min-width: 0;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #a3ac99;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.inline-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-error {
  font-size: 12px;
  color: #b7483c;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.form-success {
  font-size: 12px;
  color: #4e8c36;
  line-height: 1.7;
}
.or {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: #a1aa96;
  margin: 22px 0;
}
.or:before,
.or:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-links {
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
  color: #929d85;
}
.auth-links a {
  font-weight: 700;
  color: var(--green-dark);
}
.google-g {
  font-size: 21px;
  font-weight: 800;
  color: #4285f4;
}
.empty {
  padding: 45px 24px;
  text-align: center;
}
.empty img {
  width: 130px;
}
.empty h2 {
  font-size: 23px;
}
.empty p {
  color: #8d9981;
  font-size: 13px;
  max-width: 430px;
  margin: 0 auto 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}
.stat-card .icon {
  color: #70a34f;
  margin-bottom: 15px;
}
.stat-card strong {
  display: block;
  font-size: 30px;
  margin-bottom: 5px;
}
.stat-card p {
  font-size: 12px;
  color: #98a08e;
  margin: 0;
}
.leader-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.leader-row:last-child {
  border: 0;
}
.leader-row.me {
  background: #eff7e8;
  border-radius: 12px;
}
.rank {
  font-size: 16px;
  font-weight: 800;
  color: #9aaa8d;
  width: 25px;
}
.leader-row strong {
  font-size: 14px;
}
.leader-row .xp {
  margin-left: auto;
  font-size: 13px;
  color: #8c9c7d;
}
.activity-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 170px;
  gap: 15px;
  padding-top: 20px;
}
.chart-day {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 10px;
  color: #91a17e;
}
.chart-day meter {
  writing-mode: vertical-lr;
  direction: rtl;
  width: 25px;
  height: 120px;
}
.chart-day meter::-webkit-meter-bar {
  background: #eef4e7;
  border: 0;
}
.chart-day meter::-webkit-meter-optimum-value {
  background: #8abd68;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
}
.legal {
  max-width: 750px;
}
.legal h2 {
  font-size: 20px;
  margin-top: 30px;
}
.legal p,
.legal li {
  font-size: 14px;
  color: #7e8a73;
  line-height: 1.9;
}
.lesson-shell {
  max-width: 950px;
  padding: 35px 30px 140px;
  margin: auto;
  min-height: calc(100vh - 70px);
}
.lesson-top {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 45px;
}
.lesson-top .meter {
  height: 13px;
  flex: 1;
}
.lesson-top .meter progress::-webkit-progress-value {
  background: #79bb51;
}
.lesson-top button {
  background: none;
  border: 0;
  color: #a1aa95;
}
.lesson-content {
  max-width: 600px;
  margin: 0 auto;
}
.lesson-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #94a287;
  margin-bottom: 14px;
}
.lesson-content h1 {
  font-size: 27px;
  line-height: 1.4;
  margin-bottom: 30px;
}
.lesson-prompt {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 25px 0 30px;
}
.lesson-prompt img {
  width: 100px;
  height: 110px;
}
.prompt-bubble {
  border: 2px solid #e3e9dc;
  border-radius: 17px;
  padding: 17px 23px;
  font-size: 19px;
  line-height: 1.5;
  background: white;
}
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.option {
  border: 2px solid #e3e8dc;
  border-bottom-width: 4px;
  background: white;
  border-radius: 14px;
  min-height: 72px;
  text-align: left;
  padding: 16px 20px;
  font-size: 16px;
  color: #5c6b51;
}
.option:hover {
  background: #f7f9f2;
}
.option.selected {
  border-color: #91bf70;
  background: #eff8e6;
  color: #4e8535;
}
.answer-input {
  min-height: 120px;
  font-size: 19px;
  line-height: 1.7;
  background: #f8faf4;
}
.lesson-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 2px solid var(--line);
  padding: 24px max(25px, calc((100vw - 890px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  z-index: 40;
  min-height: 110px;
}
.lesson-footer.correct {
  background: #ecf6e2;
  border-color: #d6e9c4;
}
.lesson-footer.incorrect {
  background: #fff0e8;
  border-color: #f4d9c9;
}
.feedback h3 {
  font-size: 19px;
  margin: 0 0 7px;
}
.feedback p {
  font-size: 13px;
  margin: 0;
  max-width: 620px;
}
.feedback.correct {
  color: #538a36;
}
.feedback.incorrect {
  color: #b76d40;
}
.lesson-footer .btn {
  min-width: 155px;
}
.speech-controls {
  text-align: center;
  padding: 20px;
}
.speech-controls .btn {
  min-width: 180px;
}
.recording {
  animation: pulse 1s infinite;
}
.speech-status {
  font-size: 13px;
  color: #859478;
  min-height: 30px;
  margin-top: 16px;
}
.speech-note {
  font-size: 11px;
  color: #9ca58f;
  line-height: 1.7;
}
.word-bank,
.sentence-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 70px;
  padding: 14px 0;
}
.sentence-bank {
  border-bottom: 2px solid #e2e7db;
  margin: 15px 0;
}
.word-chip {
  padding: 12px 16px;
  background: white;
  border: 1.5px solid #dfe6d4;
  border-bottom-width: 3px;
  border-radius: 10px;
  font-size: 15px;
}
.result {
  text-align: center;
  max-width: 550px;
  margin: 40px auto;
}
.result img {
  width: 190px;
  animation: bob 3s infinite;
}
.result h1 {
  font-size: 33px;
  margin: 10px 0;
}
.result > p {
  color: #91a17f;
}
.result-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.result-stats .card {
  min-width: 130px;
  padding: 20px;
}
.result-stats strong {
  display: block;
  color: #69a344;
  font-size: 27px;
}
.result-stats span {
  font-size: 11px;
  color: #9ba68e;
}
.lesson-mode .site-credit {
  margin-left: 0;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.admin-tabs button {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  color: #80906e;
  font-weight: 650;
}
.admin-tabs button.active {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: #c8deb7;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}
.admin-stat-grid .card {
  padding: 20px;
}
.admin-stat-grid strong {
  font-size: 30px;
  display: block;
  color: #5d8a42;
}
.admin-stat-grid p {
  font-size: 11px;
  color: #9ba58f;
  margin: 9px 0 0;
}
.table-wrap {
  overflow: auto;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.data-table th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9aa48e;
  background: #f7f9f2;
}
.data-table th,
.data-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td small {
  display: block;
  color: #95a085;
  margin-top: 5px;
}
.admin-toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.admin-toolbar input {
  max-width: 400px;
}
.admin-toolbar select {
  max-width: 200px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.exercise-editor {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fafcf6;
  border-radius: 15px;
  margin: 18px 0;
}
.exercise-editor .row {
  margin-bottom: 15px;
}
.exercise-editor label {
  margin-bottom: 12px;
}
.exercise-editor h3 {
  font-size: 14px;
  margin: 0;
}
.audit-item {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.audit-item small {
  color: #a1aa94;
}
.modal-close {
  float: right;
  border: 0;
  background: none;
  color: #94a284;
}
.dialog-inner {
  padding: 10px;
}
.dialog-inner h2 {
  font-size: 23px;
  margin: 15px 0;
}
.dialog-inner p {
  font-size: 13px;
  color: #8b997d;
}
dialog {
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 25px;
  max-width: 550px;
  width: calc(100% - 35px);
  max-height: 85vh;
  color: var(--ink);
  box-shadow: 0 20px 100px #263b2726;
}
dialog::backdrop {
  background: #27342466;
  backdrop-filter: blur(4px);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(130px);
  z-index: 200;
  background: #34462d;
  color: white;
  padding: 14px 23px;
  border-radius: 13px;
  box-shadow: 0 7px 30px #24321b22;
  font-size: 13px;
  transition: transform 0.3s;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  color: #93a082;
  gap: 12px;
  font-size: 13px;
}
.loading:before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid #e4edda;
  border-top-color: #78ad51;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.book-list {
  display: grid;
  gap: 12px;
}
.book-item {
  border: 1px solid var(--line);
  padding: 14px 17px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.book-item b {
  display: block;
  font-size: 13px;
}
.book-item small {
  color: #8e9e7c;
  font-size: 11px;
}
.book-item button {
  margin-left: auto;
}
.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;
}
.quest .row .meter {
  flex: 1;
}
.language-strip {
  flex-wrap: wrap;
}
.profile-parrot {
  width: 130px;
  height: 140px;
  display: block;
  margin: 10px auto;
}
.dialog-parrot {
  width: 140px;
  height: 150px;
  display: block;
  margin: auto;
}
.speech-buttons {
  justify-content: center;
  flex-wrap: wrap;
}
.admin-overview {
  margin-top: 25px;
}
.path-bottom .icon {
  vertical-align: middle;
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.feedback .icon {
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 7px;
}
.book-item {
  background: #fff;
  text-align: left;
}
.book-item:hover {
  background: #f6f9f1;
}
.book-item > .icon:last-child {
  margin-left: auto;
}
.form-success:empty {
  display: none;
}
.treeko-speaking img[src*="parrot"] {
  animation: chatter 0.23s ease-in-out infinite alternate;
}
@keyframes chatter {
  to {
    transform: translateY(-3px) rotate(2deg);
  }
}
.muted,
.page-heading p,
.sidebar-note p,
.section-head p,
.node-label,
.path-bottom,
.daily-date,
.goal-visual p,
.meter-caption,
.day,
.league-promo p,
.quest small,
.word-card p,
.word-card button,
.aside-footer,
.site-credit,
.course-card p,
.features p,
.auth-form > p,
.auth-art p,
.auth-links,
.speech-status,
.speech-note,
.stat-card p,
.chart-day,
.legal p,
.legal li,
.dialog-inner p,
.book-item small,
.data-table th,
.data-table td small,
.audit-item small,
.breadcrumb {
  color: #727c69;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px #67aa3b22;
  }
}
@media (min-width: 1550px) {
  .page-wrap {
    padding-top: 45px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(500px, 1fr) 320px;
    gap: 40px;
  }
  .welcome {
    min-height: 220px;
  }
  .welcome-parrot {
    width: 210px;
    height: 224px;
    right: 20px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
    padding: 30px 14px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 32px;
  }
  .workspace,
  .site-credit {
    margin-left: 195px;
  }
  .topbar {
    padding: 0 28px;
  }
  .page-wrap {
    padding: 28px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(350px, 1fr) 265px;
    gap: 22px;
  }
  .welcome h2 {
    font-size: 24px;
  }
  .welcome-parrot {
    right: -16px;
    width: 170px;
  }
  .welcome-content {
    width: 67%;
  }
  .node-label {
    font-size: 10px;
  }
  .top-stats {
    gap: 19px;
  }
  .aside-column .card {
    padding: 19px;
  }
  .admin-stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 175px;
    padding: 28px 12px;
  }
  .brand {
    font-size: 20px;
    gap: 5px;
  }
  .brand small {
    font-size: 7px;
  }
  .workspace,
  .site-credit {
    margin-left: 175px;
  }
  .nav-link {
    padding: 14px 12px;
    gap: 12px;
    font-size: 12px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .aside-column {
    grid-template-columns: 1fr 1fr;
  }
  .word-card,
  .aside-footer {
    display: none;
  }
  .welcome-parrot {
    right: 30px;
    width: 200px;
  }
  .welcome-content {
    width: 65%;
  }
  .learning-path {
    min-height: 500px;
  }
  .path-parrot {
    left: 12%;
  }
  .path-caption {
    left: 10%;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 40px;
  }
  .auth-layout {
    gap: 30px;
  }
  .auth-art img {
    width: 170px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .top-stat.heart {
    display: none;
  }
}
@media (max-width: 700px) {
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    height: 73px;
    padding: 6px 8px 10px;
    border-top: 1.5px solid var(--line);
    border-right: 0;
    background: #fffefa;
  }
  .sidebar > .brand,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    justify-content: space-around;
    margin: 0;
    gap: 2px;
  }
  .nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 2px;
    font-size: 9px;
    border-radius: 10px;
  }
  .nav-link .icon {
    width: 22px;
    height: 22px;
  }
  .workspace,
  .site-credit {
    margin-left: 0;
  }
  .site-credit {
    margin-bottom: 75px;
    padding: 13px;
    font-size: 9px;
  }
  .topbar {
    height: 75px;
    padding: 0 20px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 21px;
  }
  .mobile-brand img {
    width: 29px;
    height: 33px;
  }
  .mobile-brand small {
    display: none;
  }
  .top-stats {
    gap: 13px;
  }
  .top-stat {
    font-size: 11px;
    gap: 4px;
  }
  .top-stat.gem,
  .top-stats > .avatar {
    display: none;
  }
  .language-top {
    font-size: 0;
    gap: 4px;
  }
  .language-top .icon {
    width: 13px;
  }
  .flag {
    width: 28px;
    height: 21px;
  }
  .page-wrap {
    padding: 25px 20px 25px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .welcome {
    padding: 23px 20px;
    min-height: 210px;
    margin-bottom: 25px;
  }
  .welcome h2 {
    font-size: 24px;
  }
  .welcome-content {
    width: 65%;
  }
  .welcome p {
    font-size: 11px;
    max-width: 185px;
  }
  .welcome-parrot {
    width: 160px;
    height: 175px;
    right: -10px;
    bottom: 2px;
  }
  .speech-label {
    right: 17px;
    top: 24px;
    font-size: 9px;
  }
  .welcome .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .unit-banner {
    padding: 18px;
  }
  .unit-banner h3 {
    font-size: 17px;
  }
  .guide-button {
    font-size: 0;
    padding: 9px;
  }
  .guide-button .icon {
    width: 19px;
    height: 19px;
  }
  .learning-path {
    overflow: hidden;
    min-height: 520px;
  }
  .node-label {
    left: calc(50% + 49px);
    max-width: 110px;
    white-space: normal;
    font-size: 10px;
  }
  .node-label small {
    font-size: 9px;
  }
  .path-node {
    width: 68px;
    height: 64px;
  }
  .path-parrot {
    left: -7%;
    top: 170px;
    width: 112px;
  }
  .path-caption {
    left: -3%;
    top: 282px;
    width: 90px;
    font-size: 9px;
  }
  .path-row:nth-child(4n + 4) {
    transform: translateX(28px);
  }
  .aside-column {
    gap: 14px;
  }
  .aside-column .card {
    padding: 17px;
    border-radius: 17px;
  }
  .aside-column h3 {
    font-size: 14px;
  }
  .aside-column .card.quests-card {
    grid-column: 1/-1;
  }
  .goal-visual {
    gap: 10px;
  }
  .goal-icon {
    width: 40px;
    height: 45px;
  }
  .goal-visual strong {
    font-size: 17px;
  }
  .goal-visual p {
    font-size: 9px;
  }
  .day span {
    width: 18px;
    height: 18px;
  }
  .day {
    font-size: 8px;
  }
  .league-promo {
    gap: 10px;
  }
  .league-icon {
    width: 40px;
    min-width: 40px;
    height: 48px;
  }
  .league-promo p {
    font-size: 9px;
  }
  .league-promo strong {
    font-size: 10px;
  }
  .card-link {
    font-size: 8px;
  }
  .daily-date {
    font-size: 8px;
  }
  .course-grid {
    gap: 13px;
  }
  .course-card {
    padding: 18px;
    min-height: 210px;
  }
  .course-card h2 {
    font-size: 19px;
  }
  .course-card .pill {
    font-size: 8px;
    top: 18px;
    right: 12px;
  }
  .course-card .flag {
    width: 36px;
    height: 26px;
  }
  .course-card .btn {
    font-size: 10px;
    padding: 10px;
    min-height: 38px;
  }
  .course-card p {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-art {
    max-width: 320px;
    margin: auto;
  }
  .hero-art img {
    max-height: 280px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .features .card {
    padding: 24px;
  }
  .features .icon {
    float: left;
    margin: 0 20px 30px 0;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    margin: 8px auto;
    max-width: 420px;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    padding: 20px 0;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat-card {
    padding: 18px 13px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .stat-card p {
    font-size: 10px;
  }
  .lesson-shell {
    padding: 25px 20px 150px;
  }
  .lesson-top {
    gap: 15px;
    margin-bottom: 30px;
  }
  .lesson-content h1 {
    font-size: 23px;
  }
  .lesson-prompt {
    gap: 12px;
  }
  .lesson-prompt img {
    width: 75px;
    height: 85px;
  }
  .prompt-bubble {
    font-size: 16px;
    padding: 15px;
  }
  .option {
    font-size: 15px;
    padding: 14px;
    min-height: 65px;
  }
  .lesson-footer {
    padding: 18px 20px;
    gap: 16px;
    min-height: 100px;
  }
  .lesson-footer .btn {
    min-width: 110px;
    padding: 12px 18px;
  }
  .feedback h3 {
    font-size: 16px;
  }
  .feedback p {
    font-size: 11px;
  }
  .lesson-mode .site-credit {
    margin-bottom: 120px;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-stat-grid .card {
    padding: 17px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    flex-wrap: wrap;
  }
  .admin-tabs button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .audit-item {
    font-size: 11px;
    flex-direction: column;
    gap: 4px;
  }
  .notice {
    font-size: 11px;
  }
  .leader-row {
    gap: 12px;
    padding: 15px 7px;
  }
  .leader-row strong {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
