@font-face {
  font-family: Outfit;
  src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --page: #fff9f1;
  --ink: #16212e;
  --muted: #6b5b48;
  --muted-light: #a8937a;
  --blue: #1b69e0;
  --blue-dark: #144fa6;
  --blue-soft: #eef4fe;
  --blue-border: #c9dcfa;
  --green: #0e8a5c;
  --green-dark: #0b6b47;
  --green-soft: #e6f4ee;
  --orange: #e08a1f;
  --orange-dark: #7a4e07;
  --orange-soft: #fff1dc;
  --border: #e6daca;
  --border-light: #efe4d6;
  --border-warm: #e4d8c8;
  --warm: #f4efe7;
  --track: #eadfd0;
  --white: #fff;
  --font-display: Outfit, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --r-input: 16px;
  --r-button: 18px;
  --r-card: 24px;
  --r-large: 26px;
  --shadow-key: 0 5px 0 var(--border-warm);
  --shadow-blue: 0 5px 0 var(--blue-dark);
  --container: 1080px;
  --focus: 820px;
  --learn: 1040px;
  --form: 470px;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
}
h1 {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h2 {
  font-size: 20px;
  font-weight: 800;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.app-main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.flash-stack {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(calc(100% - 32px), 520px);
  pointer-events: none;
}
.flash {
  margin-bottom: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 32, 0.5);
}
.flash--help {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.flash--success {
  background: var(--green-soft);
  color: var(--green-dark);
}
body:has(.help-workspace) .flash--help {
  display: none;
}
body:has(.practice-workspace--correct) .flash--success {
  display: none;
}
.subtitle,
.muted {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 18px;
  border-radius: var(--r-button);
  font: 700 18px var(--font-display);
  text-align: center;
  line-height: 1.2;
  transition:
    transform 0.1s,
    box-shadow 0.1s,
    border-color 0.1s;
}
.button--primary {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.button--primary:hover {
  background: #175dca;
}
.button--primary:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--blue-dark);
}
.button--success {
  border: 0;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 0 var(--green-dark);
}
.button--success:hover { background: var(--green-dark); }
.button--success:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--green-dark);
}
.button--secondary {
  border: 2px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}
.button--secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.button--quiet {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 15px var(--font-body);
}
.button--quiet:hover {
  background: var(--warm);
}
.button--soft {
  min-height: 42px;
  padding: 10px 15px;
  border: 0;
  border-radius: 14px;
  background: var(--warm);
  font: 700 14px var(--font-body);
}
.button--soft:hover {
  background: #e9e0d2;
}
.button--dark {
  border: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 5px 0 #0a121c;
}
.button--dark:disabled {
  display: none;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 400 19px var(--font-body);
}
.icon-button--small {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
}
.icon-button:hover {
  border-color: #c9b9a4;
}
.logout-form {
  margin: 0;
}
.form-errors {
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 14px;
  line-height: 1.4;
}
.form-field {
  display: block;
}
.form-field > label,
.form-field > span:first-child,
.field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.form-field > input,
.pin-fallback input {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 15px 17px;
  border: 2px solid var(--border);
  border-radius: var(--r-input);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.form-field > input:focus,
.pin-fallback input:focus {
  border-color: var(--blue);
}
.form-field > input::placeholder {
  color: #a8937a;
  opacity: 1;
}
.form-field > small {
  display: block;
  margin-top: 6px;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}
.auth-shell {
  width: min(100%, calc(var(--form) + 44px));
  min-height: 100dvh;
  margin: auto;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-inner {
  width: 100%;
}
.entry-inner {
  text-align: center;
}
.entry-logo {
  display: block;
  width: 222px;
  height: auto;
  margin: 0 auto 20px;
}
.entry-shell h1 {
  font-size: 26px;
}
.entry-shell .subtitle {
  margin-top: 6px;
}
.choice-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}
.choice-card {
  min-height: 110px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(22, 33, 46, 0.05);
}
.choice-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.choice-card--parent {
  min-height: 92px;
  padding: 18px 20px;
}
.choice-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 19px;
  background: var(--blue-soft);
  font-size: 24px;
}
.choice-icon--parent {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: var(--warm);
  font-size: 21px;
}
.choice-copy {
  min-width: 0;
  flex: 1;
}
.choice-copy strong,
.choice-copy small {
  display: block;
}
.choice-copy strong {
  font: 800 21px var(--font-display);
}
.choice-card--parent strong {
  font-size: 18px;
  font-weight: 700;
}
.choice-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}
.row-arrow {
  color: var(--muted-light);
  font-size: 21px;
}
.auth-intro {
  text-align: center;
}
.auth-logo {
  display: block;
  width: 212px;
  height: auto;
  margin: 0 auto;
}
.auth-intro h1 {
  margin-top: 12px;
}
.auth-intro .subtitle {
  margin-top: 6px;
}
.parent-login-shell .form-stack {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.form-actions {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
.form-actions .button {
  width: 100%;
}
.child-login-shell {
  align-items: flex-start;
}
.child-login-shell h1 {
  margin-top: 18px;
  font-size: 26px;
}
.child-login-shell .subtitle {
  margin-top: 6px;
}
.child-login-shell .form-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.child-login-shell .form-field > input {
  font-size: 17px;
  min-height: 58px;
}
.pin-dots {
  display: flex;
  gap: 12px;
}
.pin-dots span {
  height: 56px;
  flex: 1;
  min-width: 0;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
}
.pin-dots span.is-filled {
  background: var(--blue-soft);
  border-color: var(--blue);
}
.pin-dots span.is-filled::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}
.pin-fallback {
  display: block;
  margin-top: 8px;
}
.pin-fallback label {
  font-size: 13px;
  color: var(--muted);
}
.has-js .pin-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.has-js .pin-fallback input {
  min-height: 0;
}
.login-keypad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.login-keypad button {
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--border-warm);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 0 var(--border-warm);
  font: 700 24px var(--font-display);
}
.login-keypad button:active {
  transform: translateY(4px);
  box-shadow: none;
}
.login-keypad__delete {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 22px !important;
  color: var(--muted) !important;
}
.remember-control {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.remember-control label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.remember-control input {
  width: 28px;
  height: 28px;
  flex: none;
  margin: 0;
  accent-color: var(--green);
}
.child-login-submit {
  width: 100%;
}
.login-incomplete {
  display: none;
}
.has-js .child-login-submit:disabled {
  display: none;
}
.has-js .child-login-submit:disabled + .login-incomplete {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: 15px;
  border-radius: 18px;
  background: var(--warm);
  color: var(--muted-light);
  font: 700 17px var(--font-display);
}
.parent-switch {
  width: 100%;
  margin-top: 4px;
}
.welcome-shell {
  text-align: center;
}
.welcome-logo {
  display: block;
  width: 150px;
  margin: 0 auto 22px;
}
.welcome-avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: #ff6b57;
  color: #fff;
  font: 800 44px var(--font-display);
}
.welcome-avatar.avatar--0 {
  background: #7259f9;
}
.welcome-avatar.avatar--1 {
  background: #ff6b57;
}
.welcome-shell h1 {
  margin-top: 18px;
  font-size: 30px;
}
.welcome-shell .subtitle {
  margin-top: 6px;
}
.welcome-shell form {
  margin-top: 28px;
}
.welcome-shell .button {
  width: 100%;
}
.welcome-shell .button--quiet {
  margin-top: 12px;
}
.page-shell {
  width: min(100%, var(--container));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 22px 36px;
}
.page-top,
.child-top,
.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-top .subtitle {
  margin-top: 6px;
  font-size: 14px;
}
.parent-account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.parent-account-actions .button--soft {
  min-height: 44px;
}
@media (max-width: 599px) {
  .parent-overview .page-top {
    flex-wrap: wrap;
  }
  .parent-overview .page-top > div:first-child {
    flex-basis: 100%;
  }
  .parent-account-actions {
    margin-left: auto;
  }
}
.parent-child-grid,
.catalog-grid {
  display: grid;
  gap: 12px;
  align-items: start;
}
.parent-child-grid {
  margin-top: 18px;
}
.parent-child-card {
  min-height: 90px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(22, 33, 46, 0.03);
}
.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 17px;
  background: #ff6b57;
  color: #fff;
  font: 800 22px var(--font-display);
}
.avatar--0 {
  background: #7259f9;
}
.avatar--1 {
  background: #ff6b57;
}
.parent-child-card__copy {
  min-width: 0;
  flex: 1;
}
.parent-child-card__copy strong,
.parent-child-card__copy small {
  display: block;
}
.parent-child-card__copy strong {
  font: 700 18px var(--font-display);
}
.parent-child-card__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.add-child-card {
  min-height: 60px;
  display: grid;
  place-items: center;
  border: 2px dashed #d6c6b0;
  border-radius: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.add-child-card:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.empty-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: #fff;
}
.empty-card p {
  margin: 8px 0 20px;
  color: var(--muted);
}
.detail-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.detail-identity .avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 24px;
}
.detail-identity h1 {
  font-size: 24px;
}
.detail-identity p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.stat-card {
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: #fff;
}
.stat-card .section-label {
  font-size: 12px;
}
.stat-card strong,
.stat-card small {
  display: block;
}
.stat-card strong {
  margin-top: 6px;
  font: 800 26px var(--font-display);
}
.stat-card small {
  color: var(--muted);
  font-size: 13px;
}
.detail-columns {
  display: grid;
  gap: 16px;
  align-items: start;
}
.detail-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  background: #fff;
}
.detail-card .muted {
  margin-top: 14px;
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.skill-chip {
  padding: 9px 13px;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font: 700 15px var(--font-display);
}
.skill-chip--doing_well {
  background: var(--green-soft);
  color: var(--green-dark);
}
.history-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #f4ede3;
}
.history-list > div:first-child {
  border-top: 0;
}
.activity-panel h2 { margin: 0 0 16px; }
.activity-month { display: flex; align-items: center; justify-content: space-between; max-width: 24rem; margin-bottom: 12px; text-transform: capitalize; }
.activity-month .button { min-width: 40px; text-align: center; }
.activity-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; max-width: 24rem; }
.activity-weekday, .activity-day { display: grid; min-height: 44px; place-content: center; text-align: center; }
.activity-weekday { color: var(--muted); font-size: 12px; }
.activity-day { border-radius: 10px; color: inherit; text-decoration: none; }
.activity-day--active { background: var(--green-soft); color: var(--green-dark); outline: 1px solid #c5e4ce; }
.activity-day--active:hover, .activity-day--active:focus-visible { background: #d8efdf; }
.activity-day--active small { font-size: 10px; }
.activity-hint { font-size: 13px; }
.activity-day-detail, .activity-trace { margin-top: 24px; }
.activity-day-detail h3, .activity-trace h3 { margin-bottom: 8px; }
.activity-session, .activity-item { border: 1px solid var(--border-light); border-radius: 14px; padding: 16px; margin-top: 12px; }
.activity-session h4, .activity-trace h4 { margin: 4px 0; }
.activity-session p, .activity-trace > p { margin: 6px 0; }
.activity-item-list { padding-left: 22px; }
.activity-item-list > li { padding-left: 4px; }
.activity-item p { margin: 7px 0; }
.activity-attempts { list-style: none; padding: 0; margin: 8px 0 0; }
.activity-attempts li { margin-top: 6px; }
.activity-response-time { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.history-list strong {
  font-size: 15px;
  font-weight: 600;
}
.history-list small {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}
.edit-child {
  max-width: 700px;
}
.edit-child h1 {
  margin-top: 16px;
  font-size: 26px;
}
.edit-child > .subtitle {
  margin-top: 6px;
  font-size: 14px;
}
.edit-child-form {
  min-height: calc(100dvh - 190px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.edit-name-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.edit-name-row .form-field {
  flex: 1;
}
.avatar--large {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--blue);
  font-size: 30px;
}
.avatar--large.avatar--0 {
  background: #7259f9;
}
.avatar--large.avatar--1 {
  background: #ff6b57;
}
.edit-child-form > .button {
  margin-top: auto;
  width: 100%;
}
.page-shell.parent-password {
  max-width: 700px;
}
.parent-password h1 {
  margin-top: 16px;
  font-size: 26px;
}
.parent-password > .subtitle {
  margin-top: 6px;
  font-size: 14px;
}
.parent-password-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.parent-password-form > .button {
  width: 100%;
}
.child-top .avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 18px;
}
.child-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 15px var(--font-display);
}
.home-hero-row {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
}
.home-greeting {
  min-height: 128px;
  padding: 22px 20px;
  border-radius: 26px;
  background: #fff3e4;
}
.color-dots {
  display: flex;
  gap: 6px;
}
.color-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}
.color-dots span:nth-child(2) {
  background: var(--green);
}
.color-dots span:nth-child(3) {
  background: var(--orange);
}
.color-dots span:nth-child(4) {
  background: #ff6b57;
}
.home-greeting h1 {
  margin-top: 14px;
  font-size: 29px;
  letter-spacing: -0.6px;
}
.home-greeting p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.resume-card {
  margin-top: 20px;
  padding: 20px;
  border: 2px solid var(--blue-border);
  border-radius: 26px;
  background: var(--blue-soft);
}
.resume-card > .section-label {
  color: #1b4e9e;
}
.resume-card > strong {
  display: block;
  margin-top: 8px;
  font: 800 20px var(--font-display);
}
.resume-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.resume-progress .progress-track {
  flex: 1;
  background: #d8e6fc;
}
.resume-progress .progress-track i {
  background: var(--blue);
}
.resume-progress b {
  font: 700 14px var(--font-display);
  color: #1b4e9e;
}
.resume-card .button {
  width: 100%;
  margin-top: 16px;
  font-size: 17px;
}
.resume-card small {
  display: block;
  margin-top: 10px;
  color: #1b4e9e;
  font-size: 12px;
}
.child-home > h2 {
  margin-top: 24px;
  margin-bottom: 10px;
}
.catalog-card {
  min-height: 100px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 0 rgba(22, 33, 46, 0.05);
}
.catalog-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.catalog-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 19px;
  background: var(--blue-soft);
  color: var(--blue);
  font: 800 24px var(--font-display);
}
.catalog-card__copy {
  flex: 1;
  min-width: 0;
}
.catalog-card__copy strong,
.catalog-card__copy small {
  display: block;
}
.catalog-card__copy strong {
  font: 800 20px/1.2 var(--font-display);
}
.catalog-card__copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.subject-page > .kicker,
.lesson-page > .kicker {
  margin-top: 16px;
}
.subject-page > h1,
.lesson-page > h1 {
  margin-top: 6px;
}
.subject-page > h2 {
  margin-top: 24px;
  margin-bottom: 10px;
}
.catalog-card--lesson {
  display: block;
}
.catalog-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.catalog-card--lesson .catalog-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 19px;
}
.catalog-card--lesson strong {
  font-size: 19px;
}
.catalog-card__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.lesson-page {
  max-width: 700px;
}
.lesson-page > h1 {
  max-width: 490px;
}
.lesson-page > .subtitle {
  margin-top: 8px;
}
.lesson-progress-card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  background: #fff;
}
.lesson-progress-card h2 {
  font-size: 17px;
}
.lesson-progress-card p {
  margin-top: 12px;
}
.lesson-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.lesson-actions form,
.lesson-actions .button {
  width: 100%;
}
.learning-shell {
  width: min(100%, var(--focus));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 22px 22px 36px;
  display: flex;
  flex-direction: column;
}
.learn-page {
  max-width: var(--learn);
}
.learning-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.learn-progress {
  flex: 1;
}
.learn-progress__segments {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}
.learn-progress__segments i {
  height: 7px;
  flex: 1;
  border-radius: 4px;
  background: var(--track);
}
.learn-progress__segments i:first-child {
  background: var(--blue);
}
.learn-progress__segments i.is-complete {
  background: var(--blue);
}
.progress-track {
  height: 10px;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: var(--track);
}
.progress-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green);
}
.practice-top .progress-track {
  flex: 1;
}
.practice-top strong {
  color: var(--muted);
  font: 700 15px var(--font-display);
}
.learn-workspace,
.practice-workspace,
.help-workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  padding: 24px 0;
}
.learn-workspace {
  justify-content: space-between;
}
.learn-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.learn-copy h1 {
  font-size: 25px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.learn-copy .subtitle {
  margin-top: 8px;
}
.ten-frame-card {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(22, 33, 46, 0.04);
  text-align: center;
}
.learn-workspace > .ten-frame-card {
  flex: none;
  margin-top: auto;
}
.ten-frame {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  gap: 11px;
}
.ten-cell {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 3px dashed #d6c6b0;
  border-radius: 50%;
  background: #fffdf9;
  cursor: pointer;
}
.ten-cell--filled {
  border: 0;
  background: var(--blue);
  cursor: default;
}
.ten-cell--chosen {
  border: 0;
  background: var(--green);
  animation: pop 0.28s ease-out;
}
.ten-cell:not(:disabled):not(.ten-cell--chosen):hover {
  border-color: var(--blue);
}
.ten-cell:not(:disabled):not(.ten-cell--chosen):focus-visible {
  outline-offset: 3px;
}
.ten-frame-hint {
  margin-top: 16px;
  font: 800 22px var(--font-display);
}
.ten-frame-discovery {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--green-soft);
  color: var(--green-dark);
  text-align: center;
}
.ten-frame-discovery strong,
.ten-frame-discovery span {
  display: block;
}
.ten-frame-discovery strong {
  font: 800 34px var(--font-display);
}
.ten-frame-discovery span {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}
.learn-action .button {
  width: 100%;
}
.learn-action .button:disabled {
  background: var(--warm);
  color: var(--muted-light);
  box-shadow: none;
  cursor: default;
}
.practice-workspace {
  gap: 22px;
}
.practice-question {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.question-prompt {
  color: var(--muted);
  text-align: center;
  font: 700 20px var(--font-display);
}
.equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 800 50px var(--font-display);
  white-space: nowrap;
}
.equation-op {
  color: var(--muted-light);
  font-size: 36px;
}
.answer-box {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border: 4px dashed var(--blue);
  border-radius: 24px;
  background: #fff;
  color: var(--blue);
}
.answer-box input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--blue);
  text-align: center;
  font: 800 50px var(--font-display);
}
.answer-box input::placeholder {
  color: var(--blue);
  opacity: 1;
}
.answer-box:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.equation--help .answer-box {
  border-color: var(--orange);
  color: var(--orange);
}
.number-pad {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.number-pad button {
  grid-column: span 2;
  height: 64px;
  border: 2px solid var(--border-warm);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-key);
  font: 700 27px var(--font-display);
}
.number-pad button:nth-last-child(-n + 2) {
  grid-column: span 3;
}
.number-pad button:active {
  transform: translateY(5px);
  box-shadow: none;
}
.number-pad button:hover {
  border-color: var(--blue);
}
.answer-submit {
  width: 100%;
}
.has-js .answer-submit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.help-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.feedback-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  text-align: center;
  font: 700 17px/1.2 var(--font-display);
}
.feedback-pill--help {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.feedback-pill > span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 700 15px var(--font-body);
}
.help-workspace .ten-frame-card {
  width: 100%;
}
.help-workspace .ten-frame-hint {
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted);
}
.help-workspace .ten-cell:not(:disabled):not(.ten-cell--chosen) {
  border-color: var(--orange);
  background: #fffbf4;
}
.help-action .button {
  width: 100%;
}
.help-wait {
  padding: 18px;
  border-radius: 18px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  text-align: center;
  font: 700 16px var(--font-display);
}
.help-action .button:not(:disabled) + .help-wait {
  display: none;
}
.question-prompt--retry {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #1b4e9e;
  font-size: 18px;
  font-weight: 800;
}
.answer-box--retry {
  border-color: var(--orange);
}
.answer-box--retry input,
.answer-box--retry input::placeholder {
  color: var(--orange);
}
.retry-frame {
  width: 100%;
  max-width: 420px;
  box-shadow: none;
}
.retry-frame .ten-frame-hint {
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted);
}
.retry-frame .ten-cell {
  animation: none;
}
.practice-workspace.practice-workspace--correct {
  flex-direction: column;
  align-items: stretch;
}
.practice-workspace--correct .practice-question {
  flex: 1;
  justify-content: center;
}
.practice-workspace--correct .number-pad,
.practice-workspace--correct .retry-frame {
  display: none;
}
.practice-workspace--correct .feedback-pill--success {
  background: var(--green-soft);
  color: var(--green-dark);
  font: 800 19px var(--font-display);
}
.feedback-pill--success > span {
  background: var(--green);
}
.answer-box--correct {
  border: 0;
  background: var(--green);
  color: #fff;
  animation: pop 0.3s ease-out;
}
.answer-box--correct input {
  color: #fff;
}
.correct-action {
  width: 100%;
  flex: none;
  margin-top: auto;
}
.result-shell {
  width: min(100%, calc(var(--form) + 44px));
  min-height: 100dvh;
  margin: 0 auto;
  padding: 44px 22px 36px;
}
.result-inner {
  min-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.result-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f0a62b;
  line-height: 1;
}
.result-stars span {
  font-size: 38px;
}
.result-stars span:nth-child(2) {
  font-size: 50px;
}
.result-inner h1 {
  margin-top: 16px;
  font-size: 32px;
  letter-spacing: -0.6px;
}
.result-inner > .subtitle {
  margin-top: 6px;
}
.insight-card {
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
  background: var(--green-soft);
  color: var(--green-dark);
}
.insight-card span,
.insight-card strong {
  display: block;
}
.insight-card span {
  font-size: 26px;
}
.insight-card strong {
  margin-top: 8px;
  font: 800 20px/1.3 var(--font-display);
}
.result-facts {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.result-facts span {
  display: block;
  padding: 10px 14px;
  border: 2px solid #bfe5d5;
  border-radius: 14px;
  background: #fff;
}
.result-actions {
  margin-top: auto;
  padding-top: 20px;
  display: grid;
  gap: 12px;
}
.result-repeat-form { margin: 0; }
.result-actions .button {
  width: 100%;
}
@keyframes pop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  65% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (min-width: 700px) {
  .page-shell {
    max-width: 700px;
  }
  .learning-shell {
    width: min(100%, 700px);
  }
  .learn-workspace,
  .practice-workspace,
  .help-workspace {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .learn-workspace {
    justify-content: center;
  }
  .learn-copy,
  .practice-question,
  .help-main {
    flex: 1;
  }
  .learn-workspace > .ten-frame-card {
    width: 320px;
    margin-top: 0;
  }
  .ten-cell {
    width: 46px;
    height: 46px;
  }
  .practice-workspace .number-pad,
  .help-action {
    width: 320px;
    flex: none;
  }
  .number-pad button {
    height: 68px;
  }
  .help-workspace .help-main {
    width: calc(100% - 348px);
  }
  .help-workspace .ten-frame-card {
    max-width: 420px;
  }
  .help-action {
    align-self: center;
  }
  .equation {
    font-size: 62px;
  }
  .equation-op {
    font-size: 44px;
  }
  .answer-box {
    width: 96px;
    height: 96px;
    border-radius: 26px;
  }
  .answer-box input {
    font-size: 62px;
  }
}
@media (min-width: 1100px) {
  .page-shell {
    max-width: var(--container);
  }
  .parent-child-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-hero-row {
    flex-direction: row;
    gap: 16px;
  }
  .home-greeting,
  .resume-card {
    flex: 1;
  }
  .resume-card {
    margin-top: 0;
  }
  .detail-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .lesson-page {
    max-width: 700px;
  }
  .edit-child {
    max-width: var(--container);
  }
  .auth-shell {
    width: var(--form);
    padding: 22px 0;
  }
  .learning-shell {
    width: calc(var(--focus) + 44px);
  }
  .learn-page {
    width: calc(var(--learn) + 44px);
  }
  .learn-workspace,
  .practice-workspace,
  .help-workspace {
    gap: 40px;
  }
}
@media (max-width: 389px) {
  .equation {
    gap: 6px;
    font-size: 43px;
  }
  .equation-op {
    font-size: 31px;
  }
  .answer-box {
    width: 69px;
    height: 69px;
  }
  .answer-box input {
    font-size: 43px;
  }
  .ten-frame {
    gap: 7px;
  }
  .ten-cell {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Parent CDE redesign */
.parent-header{height:66px;background:#fffaf3;border-bottom:1px solid #eee4d7}
.parent-header__inner{width:min(1216px,calc(100% - 40px));height:100%;margin:auto;display:flex;align-items:center;gap:28px}
.parent-logo{display:flex;width:70px;align-items:center}.parent-logo img{width:68px;height:auto;display:block}
.parent-header__nav a{display:inline-flex;padding:11px 18px;border-radius:12px;background:#f4f0e8;color:#172332;font-size:14px;font-weight:700}
.parent-account{position:relative;margin-left:auto;z-index:5}.parent-account summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:42px;padding:4px 12px;border:1px solid #e9dfd1;border-radius:24px;background:#fff;cursor:pointer;font-size:13px;font-weight:700}.parent-account summary::-webkit-details-marker{display:none}.parent-account__avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f3eee5;font-weight:800}.parent-account__menu{position:absolute;right:0;top:calc(100% + 8px);width:270px;padding:14px 10px 8px;border:1px solid #eee3d5;border-radius:18px;background:#fff;box-shadow:0 14px 34px #16212e1c}.parent-account__menu strong,.parent-account__menu small{display:block;padding:0 10px}.parent-account__menu small{color:var(--muted);padding-bottom:12px}.parent-account__menu a,.parent-account__menu button{display:flex;width:100%;justify-content:space-between;padding:12px 10px;border-top:1px solid #f0e9df;color:#172332;font-size:14px}.parent-account__menu a:hover,.parent-account__menu button:hover{background:#faf7f1}.parent-account__menu form{margin:0}.parent-account__menu button{color:#172332}
.cde-parent-page{width:min(1216px,100%);min-height:calc(100dvh - 66px);padding:28px 0 48px}.parent-page-heading{position:relative;margin-bottom:24px}.parent-page-heading h1{font-size:26px;margin:0}.parent-page-heading p{margin:6px 0;color:#766d60;font-size:14px}.add-child-inline{position:absolute;right:0;top:0}.parent-child-grid{width:min(100%,718px);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.parent-child-card{min-height:92px;border-radius:18px;padding:16px 18px;text-decoration:none;color:inherit;box-shadow:none}.parent-child-card:hover{border-color:#d9cbb7;background:#fffdfa}.parent-child-card__arrow{font-size:25px;color:#aa9b88}.parent-child-card .avatar,.child-profile .avatar{width:48px;height:48px;border-radius:15px;font-size:20px}.parent-child-card__copy strong{font-size:16px}.parent-child-card__copy small{font-size:13px}
.parent-crumbs{display:flex;align-items:center;gap:12px;color:#7c7163;font-size:13px}.parent-crumbs a:not(.icon-button){color:inherit}.parent-crumbs strong{color:#182331}.parent-crumbs .icon-button{margin-right:0}.child-profile{display:flex;align-items:center;gap:16px;margin:24px 0 24px}.child-profile__copy{flex:1}.child-profile h1{font:800 30px var(--font-display);margin:0}.child-profile p{margin:4px 0 0;color:#796f62;font-size:14px}.child-profile>.button{flex:none}.lesson-section{margin-bottom:28px}.lesson-section>header{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}.lesson-section h2,.activity-panel h2{font:800 19px var(--font-display);margin:0}.lesson-section>header p{font-size:12px;color:#988b79;margin:0}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lesson-card{min-height:108px;border:1px solid #eee3d5;border-radius:18px;padding:15px 17px;background:#fff}.lesson-card>small{display:block;text-transform:uppercase;letter-spacing:.08em;color:#a4937d;font-size:10px;font-weight:700}.lesson-card>strong{display:block;margin:6px 0 12px;font-size:14px}.lesson-card>div{display:flex;align-items:baseline;gap:9px}.lesson-card b{font:800 21px var(--font-display)}.lesson-card span{color:#918573;font-size:12px}
.activity-panel--cde{display:grid;grid-template-columns:minmax(300px,418px) minmax(0,1fr);gap:38px;padding:26px 28px;border:1px solid #eee3d5;border-radius:22px;background:#fff;margin-top:0}.activity-calendar-column{padding-right:0}.activity-month{max-width:none;margin:0 0 12px;text-transform:none}.activity-month>div{display:flex;align-items:center;gap:13px}.activity-month>div strong{text-transform:capitalize;font-size:14px}.activity-month .button{min-width:36px;min-height:36px;padding:8px;border:0;background:#f4f0e8;border-radius:11px}.activity-month .is-disabled{opacity:.38;pointer-events:none}.activity-calendar{max-width:none;gap:4px}.activity-weekday,.activity-day{min-height:47px;font-size:13px}.activity-weekday{font-size:12px;color:#a18f77}.activity-day{position:relative;align-content:center;gap:0;border-radius:13px;color:#172332}.activity-day strong{font-size:14px}.activity-day--active{background:#e5f4ed;color:#087344;outline:0;font-weight:700}.activity-day--active small{font-size:9px;font-weight:700;line-height:11px}.activity-day--selected{box-shadow:inset 0 0 0 2px #172332}.activity-day--future{color:#c7bcae;cursor:default}.activity-day:not(.activity-day--active):hover{background:#f7f3ec}.activity-hint{display:flex;align-items:center;gap:8px;margin:17px 0 0;font-size:11px;color:#998b77}.activity-hint span{display:inline-block;width:13px;height:13px;border-radius:4px;background:#e5f4ed}.activity-day-detail{min-width:0;margin:0;padding-left:38px;border-left:1px solid #eee3d5}.activity-day-detail>h2{margin:0 0 4px;text-transform:capitalize;font-size:22px}.activity-day-detail>p{color:#958977;font-size:13px}.activity-session{margin:12px 0 0;padding:14px 16px;border-radius:17px;background:#fffdfa;border-color:#eee3d5}.activity-session__top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9b8a74;font-size:12px}.activity-session__top a{white-space:nowrap;font-size:13px;font-weight:700;color:#1b69e0}.activity-session h3{margin:6px 0 9px;font-size:16px}.activity-session__counts{display:flex;gap:7px;flex-wrap:wrap}.activity-session__counts span{padding:5px 8px;background:#f3f0e9;border-radius:8px;font-size:11px}.activity-session__counts .has-help{background:#fff0d8;color:#8e5800}
.parent-trace-page h1{margin:7px 0 4px;font:800 28px var(--font-display)}.trace-eyebrow{margin:20px 0 0;text-transform:uppercase;letter-spacing:.08em;color:#a18f77;font-weight:700;font-size:11px}.trace-date{margin:0;color:#786f62;font-size:14px}.trace-layout{display:grid;grid-template-columns:minmax(230px,328px) minmax(0,1fr);gap:30px;margin-top:22px;align-items:start}.trace-summary{padding:18px;border:1px solid #eee3d5;border-radius:20px;background:#fff}.trace-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.trace-stats>div strong,.trace-stats>div span{display:block}.trace-stats strong{font:800 23px var(--font-display)}.trace-stats span{font-size:11px;color:#786f62}.trace-summary>p{padding-top:13px;margin:14px 0 0;border-top:1px solid #f0e9df;font-size:14px}.trace-summary>small{display:block;margin-top:13px;color:#998b77;font-size:12px;line-height:1.5}.trace-examples>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.trace-examples h2{margin:0;font:800 19px var(--font-display)}.trace-filter{display:flex;padding:3px;background:#f3f0e9;border-radius:11px}.trace-filter a{padding:8px 11px;color:#756b5e;font-size:12px}.trace-filter a.active{background:white;border-radius:8px;color:#172332;box-shadow:0 1px 4px #16212e20}.trace-item{margin:0 0 10px;border:1px solid #eee3d5;border-radius:16px;background:#fff;padding:13px 15px}.trace-item--help{background:#fffaf0;border-color:#f0dfbd}.trace-item__question{display:flex;align-items:center;gap:12px;font-weight:700}.trace-item__number{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#f3f0e9;color:#756b5e;font-size:12px}.trace-item__result{margin-left:auto;padding:5px 8px;border-radius:8px;background:#e5f4ed;color:#087344;font-size:10px;white-space:nowrap}.trace-item--help .trace-item__result{background:#fff0d8;color:#8e5800}.trace-item__answers{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 0 0 40px}.trace-item__answers p{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}.trace-item__answers p>span{color:#938573}.trace-item__answers p>strong{font-weight:700}.trace-item__answers small{color:#a39783;font-size:11px}
.page-shell.parent-password{width:min(1084px,100%);max-width:none}.parent-password h1,.edit-child h1{font:800 26px var(--font-display)}.parent-password h1{margin:24px 0 4px}.parent-password>.subtitle{margin:0 0 16px}.parent-password-form{max-width:445px;margin:0;padding:22px 28px}.parent-password-form>.button--primary{background:#16212e;border-color:#0f1823;box-shadow:0 3px 0 #0f1823}
@media(max-width:900px){.cde-parent-page{width:calc(100% - 40px)}.activity-panel--cde{grid-template-columns:minmax(240px,1fr) minmax(0,1.25fr);gap:22px;padding:22px}.activity-day-detail{padding-left:22px}.lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trace-layout{grid-template-columns:250px minmax(0,1fr);gap:18px}}
@media(max-width:600px){.parent-header{height:auto;min-height:58px}.parent-header__inner{width:calc(100% - 28px);min-height:58px;gap:12px;flex-wrap:wrap}.parent-logo{width:64px}.parent-logo img{width:62px}.parent-header__nav{display:none}.parent-header__nav a{padding:7px 12px;font-size:12px}.parent-account__name{display:none}.parent-account summary{min-height:38px;padding:3px 9px}.parent-account__menu{width:min(270px,calc(100vw - 28px))}.cde-parent-page{width:calc(100% - 28px);min-height:calc(100dvh - 58px);padding:20px 0 32px}.parent-page-heading{padding-right:0}.parent-page-heading h1{font-size:23px}.add-child-inline{position:static;margin-top:10px}.parent-child-grid{width:100%;grid-template-columns:1fr}.parent-child-card{padding:12px;min-height:78px}.child-profile{gap:11px;margin:20px 0}.child-profile .avatar{width:46px;height:46px}.child-profile h1{font-size:24px}.child-profile p{font-size:12px}.child-profile>.button{padding:9px 10px;min-height:38px;font-size:12px}.lesson-section>header{display:block}.lesson-section>header p{margin-top:3px}.lesson-grid{display:block;border:1px solid #eee3d5;border-radius:18px;padding:0 14px;background:white}.lesson-card{min-height:0;padding:13px 0;border:0;border-bottom:1px solid #f0e9df;border-radius:0}.lesson-card:last-child{border-bottom:0}.lesson-card>small{display:none}.lesson-card>strong{margin:0 0 2px;font-size:14px}.lesson-card>div{justify-content:space-between}.lesson-card b{font-size:16px}.activity-panel--cde{display:flex;flex-direction:column;gap:0;padding:15px;border-radius:19px}.activity-calendar-column{padding-bottom:17px}.activity-month{margin-bottom:8px}.activity-month>div{gap:7px}.activity-month>div strong{font-size:13px}.activity-month .button{min-width:34px;min-height:34px}.activity-calendar{gap:2px}.activity-weekday,.activity-day{min-height:39px;font-size:11px}.activity-day strong{font-size:12px}.activity-day--active small{font-size:8px}.activity-hint{margin-top:11px}.activity-day-detail{padding:17px 0 0;border-left:0;border-top:1px solid #eee3d5}.activity-day-detail>h2{font-size:19px}.activity-session{padding:12px}.activity-session__top{align-items:flex-start;flex-direction:column;gap:6px}.activity-session__top a{font-size:12px}.activity-session h3{font-size:14px}.trace-layout{display:flex;flex-direction:column}.trace-summary,.trace-examples{width:100%}.trace-examples>header{align-items:flex-start;flex-direction:column}.trace-item{padding:11px}.trace-item__question{gap:8px;flex-wrap:wrap;font-size:14px}.trace-item__result{font-size:9px}.trace-item__answers{padding-left:36px;display:grid;grid-template-columns:1fr}.parent-crumbs{gap:8px;font-size:11px}.parent-trace-page h1{font-size:23px}.parent-password-form{padding:18px}.parent-password h1{margin-top:20px}}

/* Mathematics lesson 2 — whole, parts and movable partition */
.catalog-card--decomposition .catalog-icon,.lesson-title-card .catalog-icon{background:#eaf3ff;color:#1b69e0;font-size:22px}
.catalog-card--locked{opacity:.62;cursor:default}
.catalog-icon--locked{background:#f3f0e9;color:#938573}
.catalog-card__foot{display:flex;justify-content:space-between;gap:8px}
.catalog-card__foot>span:first-child{font-weight:800;color:#0e8a5c}
.lesson-page--decomposition{max-width:760px}
.lesson-title-card{display:flex;align-items:center;gap:15px;margin:22px 0 12px;padding:17px;border:1px solid #c9dcfa;border-radius:22px;background:#fff}
.lesson-title-card .catalog-icon{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:17px}
.lesson-title-card h1{margin-top:3px;font-size:27px}
.eyebrow{color:#1b69e0;font-size:11px;font-weight:800;letter-spacing:.09em}
.lesson-principle,.lesson-next-preview{margin-top:20px;padding:20px;border:1px solid #eee3d5;border-radius:22px;background:#fff}
.lesson-principle h2{font-size:18px}
.l2-equation-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.l2-equation-list span,.l2-found-pairs span{padding:8px 11px;border-radius:12px;background:#e6f4ee;color:#0b6b47;font:800 17px var(--font-display)}
.lesson-principle p,.lesson-next-preview span{color:var(--muted);font-size:13px}
.lesson-next-preview{display:flex;flex-direction:column;gap:7px;background:#fffaf3}
.lesson-next-preview small{color:#a18f77;font-size:10px;font-weight:800;letter-spacing:.08em}
.lesson-next-preview strong{font:800 17px var(--font-display)}
.lesson-page--decomposition .lesson-actions form,.lesson-page--decomposition .lesson-actions>a{width:100%}
.l2-explanation{max-width:1040px;--learn:1040px}
.l2-learn-main{flex:1;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);align-items:center;gap:34px;padding:34px 0 22px}
.l2-learn-copy h1{margin-top:9px;font-size:29px;line-height:1.16}
.l2-learn-copy>p:not(.l2-learn-feedback){margin-top:9px;color:var(--muted);line-height:1.55}
.l2-learn-feedback{min-height:24px;margin-top:14px;color:var(--green-dark);font-weight:700}
.l2-learn-card{padding:24px 18px;border:1px solid #e3d6c4;border-radius:24px;background:#fff;box-shadow:0 4px 0 #16212e08}
.l2-learn-visual{min-height:220px;display:flex;flex-direction:column;justify-content:center;gap:18px}
.l2-explain-row{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:nowrap}
.l2-explain-ball{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:#1b69e0;color:#fff;font:800 13px var(--font-display)}
.l2-explain-ball.is-second{background:#0e8a5c}
.l2-cut{width:18px;height:46px;padding:0;color:#a8937a;font-size:20px;text-align:center}
.l2-cut:not(.l2-cut--static){color:#e08a1f;font-weight:800}
.l2-cut:hover{color:#16212e}
.l2-found-pairs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:14px}
.l2-found-pairs span{font-size:14px}
.l2-bowls{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;text-align:center}
.l2-bowls>div:not(.l2-bowl-controls){min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.l2-bowls>div>strong{font:800 26px var(--font-display)}
.l2-bowls small{color:var(--muted);font-size:12px}
.l2-bowl{width:100%;min-height:64px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:12px;border:2px solid #e3d6c4;border-radius:12px 12px 24px 24px;color:#1b69e0;font-size:19px;line-height:1.4}
.l2-bowl--full{border-color:#c9dcfa;background:#eef4fe}
.l2-bowl-controls{display:flex;flex-direction:column;gap:7px}
.l2-bowl-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e4d8c8;border-radius:13px;background:#fff;font-size:22px;font-weight:800}
.l2-house{max-width:400px;margin:0 auto;text-align:center}
.l2-house-roof{width:78px;height:54px;display:grid;place-items:center;margin:0 auto -1px;background:#e6f4ee;clip-path:polygon(50% 0,100% 100%,0 100%);padding-top:17px;font:800 20px var(--font-display);color:#0b6b47}
.l2-house-floors{display:grid;grid-template-columns:1fr;overflow:hidden;border:2px solid #d7c7af;border-radius:2px 2px 14px 14px}
.l2-house-floors button,.l2-house-floors>div{min-height:36px;padding:6px;border-bottom:1px solid #e7ddcf;text-align:center;font:800 14px var(--font-display)}
.l2-house-floors button.is-filled{background:#eef4fe;color:#1b69e0}
.l2-house-floors button:disabled{color:#b6a891}
.l2-insight-whole{padding:12px;border-radius:14px;background:#e6f4ee;color:#0b6b47;text-align:center;font:800 19px var(--font-display)}
.l2-insight-pair{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #efe4d6;border-radius:14px;font:800 17px var(--font-display)}
.l2-insight-pair span{color:#1b69e0;font-size:14px}
.l2-explain-summary{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.l2-explain-summary strong{font:800 23px var(--font-display)}
.l2-explain-summary span{padding:12px 16px;border-radius:14px;background:#e6f4ee;color:#0b6b47;font:800 20px var(--font-display)}
.l2-explain-summary p{color:var(--muted);line-height:1.5}
.l2-learn-footer{display:flex;align-items:center;gap:18px;padding:14px 0 4px;border-top:1px solid #eee3d5}
.l2-learn-count{flex:1;color:#958977;font-size:13px;font-weight:700}
.l2-learn-footer>.button,.l2-learn-choices>.button,.l2-learn-start>.button{min-height:54px}
.l2-learn-choices{flex:1;display:flex;gap:10px;justify-content:flex-end}
.l2-learn-choices .button{flex:1}
.l2-learn-start{width:min(100%,420px)}
.l2-learn-start[hidden],.l2-learn-choices[hidden]{display:none}
.l2-practice{max-width:960px;--focus:960px}
.l2-task-workspace{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:36px;padding:24px 0}
.l2-task-main{min-width:0;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.l2-task-main .question-prompt{max-width:620px;color:#16212e;font-size:21px;line-height:1.4}
.l2-equation{display:flex;align-items:center;justify-content:center;gap:12px;font:800 56px var(--font-display);white-space:nowrap}
.l2-answer-part{width:78px;height:78px;display:grid;place-items:center;border:3px dashed #1b69e0;border-radius:22px;background:#fff;color:#1b69e0}
.l2-answer-part.is-filled{border-style:solid;background:#eef4fe}
.l2-whole-label{padding:9px 14px;border-radius:12px;background:#e6f4ee;color:#0b6b47;font-weight:700}
.l2-whole-label strong{font:800 19px var(--font-display)}
.l2-task-sub{color:#847762;font-size:13px}
.l2-found-pairs{min-height:40px;margin:0}
.l2-found-pairs small{padding:8px;color:#938573;font-weight:700}
.l2-split-board{width:100%;max-width:540px;padding:16px 8px 11px;border:1px solid #e3d6c4;border-radius:22px;background:#fff}
.l2-split-balls{display:flex;align-items:center;justify-content:center;gap:5px;min-height:48px}
.l2-ball{width:38px;height:38px;display:grid;place-items:center;flex:none;padding:0;border:0;border-radius:50%;background:#1b69e0;color:#fff;font-size:23px;line-height:1}
.l2-ball.is-first{background:#1b69e0}
.l2-ball.is-second{background:#0e8a5c}
.l2-ball--static{background:#0e8a5c}
.l2-picked-divider{width:4px;height:49px;flex:none;margin:0 1px;border-radius:4px;background:#e08a1f}
.l2-part-labels{display:flex;justify-content:space-around;gap:8px;margin-top:10px;color:#958977;font-size:11px;font-weight:700}
.l2-task-feedback{min-height:23px;color:#7a4e07;font-size:13px;font-weight:700}
.l2-number-pad{width:100%;max-width:310px;grid-template-columns:repeat(3,minmax(0,1fr))}
.l2-number-pad button{grid-column:auto;height:58px;border-radius:17px}
.l2-number-pad button:nth-last-child(-n + 2){grid-column:auto}
.l2-task-submit{width:100%;min-height:54px}
.has-js .l2-task-submit{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.l2-help-workspace,.l2-reveal-workspace{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:25px 0;text-align:center}
.l2-help-workspace h1,.l2-reveal-workspace h1{max-width:650px;font-size:22px;line-height:1.4}
.l2-help-workspace>p,.l2-reveal-workspace>p{color:var(--muted);line-height:1.55}
.l2-feedback-pill{padding:11px 19px;border-radius:999px;background:#fff1dc;color:#7a4e07;font:800 16px var(--font-display)}
.l2-help-balls{max-width:700px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:18px;border:1px solid #e3d6c4;border-radius:21px;background:#fff}
.l2-help-balls .l2-ball{background:#fffaf3;border:2px dashed #e08a1f;color:#7a4e07}
.l2-help-balls .l2-ball.is-known{border:0;background:#1b69e0;color:#fff}
.l2-help-balls .l2-ball.is-help-filled{border:0;background:#0e8a5c;color:#fff}
.l2-help-action .button,.l2-reveal-workspace form .button{width:min(100%,420px);min-height:54px}
.l2-reveal-equation,.l2-result-principle{padding:20px;border-radius:20px;background:#e6f4ee;color:#0b6b47;font:800 27px var(--font-display)}
.l2-result .result-inner{max-width:560px;margin:auto;justify-content:center}
.l2-result .eyebrow{margin-top:14px}
.l2-result .insight-card{display:none}
.l2-result-principle{display:flex;flex-direction:column;gap:5px;margin-top:22px;font-size:18px}
.l2-result-principle span{font:600 13px/1.5 var(--font-body)}
.l2-result .result-facts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:15px}
.l2-result .result-facts span{padding:8px 11px;border-radius:12px;background:#f3f0e9;color:#665a4b;font-size:12px;font-weight:700}
.l2-result-insight,.l2-result-next{margin-top:14px;padding:17px;border:1px solid #eee3d5;border-radius:19px;background:#fff;text-align:left}
.l2-result-insight h2{font-size:17px}
.l2-result-insight p{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.55}
.l2-result-next{display:flex;flex-direction:column;gap:7px;background:#fffaf3}
.l2-result-next small{color:#1b69e0;font-size:10px;font-weight:800;letter-spacing:.08em}
.l2-result-next strong{font:800 15px/1.4 var(--font-display)}
.l2-result-next span{color:var(--muted);font-size:12px}
@media(max-width:699px){.l2-learn-main{grid-template-columns:1fr;gap:16px;padding:24px 0 14px}.l2-learn-copy h1{font-size:24px}.l2-learn-card{padding:18px 12px}.l2-learn-visual{min-height:174px}.l2-explain-ball{width:30px;height:30px;font-size:10px}.l2-cut{width:13px;font-size:17px}.l2-learn-footer{align-items:stretch;flex-wrap:wrap;gap:9px}.l2-learn-count{flex-basis:100%}.l2-learn-footer>.button,.l2-learn-start{width:100%}.l2-learn-choices{width:100%;flex:1 1 100%;flex-direction:column}.l2-practice{padding-top:16px}.l2-task-workspace{grid-template-columns:1fr;gap:13px;padding:18px 0}.l2-task-main{gap:14px}.l2-task-main .question-prompt{font-size:18px}.l2-equation{gap:8px;font-size:42px}.l2-answer-part{width:62px;height:62px;border-radius:18px}.l2-split-board{padding:13px 5px 9px}.l2-split-balls{gap:3px}.l2-ball{width:31px;height:31px;font-size:19px}.l2-picked-divider{height:42px}.l2-number-pad{max-width:100%;gap:8px}.l2-number-pad button{height:53px;border-radius:15px}.l2-help-workspace h1,.l2-reveal-workspace h1{font-size:19px}.l2-help-balls{gap:6px;padding:13px}.l2-help-balls .l2-ball{width:33px;height:33px}.l2-result{padding-top:26px}.l2-result .result-inner h1{font-size:28px}.l2-result-principle{padding:16px;font-size:23px}.l2-result-insight,.l2-result-next{padding:14px}}
@media(min-width:700px) and (max-width:1099px){.l2-explanation{width:min(100%,820px)}.l2-learn-main{grid-template-columns:.9fr 1.1fr;gap:20px}.l2-learn-card{padding:19px 12px}.l2-explain-ball{width:33px;height:33px}.l2-task-workspace{grid-template-columns:minmax(0,1fr) 270px;gap:22px}.l2-equation{font-size:50px}.l2-ball{width:34px;height:34px}}

/* Lesson 2 CDE presentation layer. Kept scoped so Lesson 1 keeps its UI. */
.l2-entry,.l2-learn,.l2-practice-screen,.l2-result-screen{font-family:var(--font-body);color:#16212e}
.l2-entry{width:min(100% - 40px,470px);min-height:calc(100dvh - 50px);margin:0 auto;padding:22px 0 30px;display:flex;flex-direction:column}
.l2-back{width:44px;height:44px;display:grid;place-items:center;flex:none;border:1px solid #e6daca;border-radius:14px;background:#fff;color:#6b5b48;font-size:20px;text-decoration:none}
.l2-kicker{margin:16px 0 24px;color:#a8937a;font-size:12px;font-weight:700;letter-spacing:.1em}
.l2-kicker span{color:#e0d3c0}
.l2-entry-heading{display:flex;align-items:center;gap:16px}
.l2-entry-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;background:#eef4fe;color:#1b69e0;font:800 31px Outfit,sans-serif}
.l2-entry-heading h1{font:800 28px/1.15 Outfit,sans-serif;letter-spacing:-.5px}
.l2-entry-heading p{margin-top:5px;color:#6b5b48;font-size:14px}
.l2-entry-progress{width:calc(100% - 20px);margin-top:auto;padding:20px;border:1px solid #e3d6c4;border-radius:24px;background:#fff;box-shadow:0 3px 0 rgba(22,33,46,.04)}
.l2-entry-progress-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.l2-entry-progress-head strong{font:800 17px Outfit,sans-serif}.l2-entry-progress-head span{color:#a8937a;font-size:12px}
.l2-number-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.l2-number-chips span{width:52px;height:52px;display:grid;place-items:center;border:2px solid #e6daca;border-radius:14px;color:#a8937a;font:700 18px Outfit,sans-serif}.l2-number-chips span.is-practised{border-color:#bfe5d5;color:#0b6b47;background:#e6f4ee}
.l2-entry-progress>p{margin-top:13px;color:#6b5b48;font-size:13px;line-height:1.5}
.l2-entry-actions{margin-top:16px;padding-top:0;display:flex;flex-direction:column;gap:0}.l2-entry-actions form{width:100%}.l2-entry-primary,.l2-action-primary,.l2-action-success,.l2-result-repeat{width:100%;min-height:60px;padding:17px 18px;border:0;border-radius:18px;background:#1b69e0;box-shadow:0 5px 0 #144fa6;color:#fff;font:700 18px Outfit,sans-serif;text-align:center;cursor:pointer}.l2-entry-primary:active,.l2-action-primary:active,.l2-action-success:active,.l2-result-repeat:active{transform:translateY(4px);box-shadow:0 1px 0 #144fa6}.l2-entry-secondary{display:block;min-height:56px;margin-top:10px;padding:16px;border:2px solid #e6daca;border-radius:17px;background:#fff;color:#6b5b48;font-size:15px;font-weight:700;text-align:center;text-decoration:none}
.l2-learn,.l2-practice-screen{width:min(100% - 40px,1040px);min-height:calc(100dvh - 28px);margin:0 auto;padding:8px 0 26px;display:flex;flex-direction:column}
.l2-learning-top{display:flex;align-items:center;gap:14px}.l2-learning-progress{flex:1;min-width:0}.l2-learning-progress>span{color:#a8937a;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.l2-learning-progress>div{display:flex;gap:5px;margin-top:6px}.l2-learning-progress i{height:7px;flex:1;border-radius:4px;background:#eadfd0}.l2-learning-progress i.is-on{background:#1b69e0}
.l2-learn-body{flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:38px;padding:20px 0}
.l2-learn-copy h1{font:800 25px/1.2 Outfit,sans-serif;letter-spacing:-.4px}.l2-learn-copy>p{margin-top:8px;color:#6b5b48;font-size:15px;line-height:1.5}.l2-learn-visual{width:100%;max-width:440px;justify-self:center}.l2-board,.l2-insight-card,.l2-choice-card{padding:20px 14px;border:1px solid #efe4d6;border-radius:26px;background:#fff;box-shadow:0 3px 0 rgba(22,33,46,.04)}
.l2-dot-row{width:100%;display:flex;align-items:center;gap:0}.l2-dot{width:auto;height:64px;flex:1;min-width:0;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;cursor:pointer;display:flex;align-items:center;justify-content:center}.l2-dot::before{content:"";width:34px;height:34px;display:block;flex:none;border-radius:50%;background:#1b69e0}.l2-dot.is-green{background:transparent;box-shadow:none}.l2-dot.is-green::before{background:#0e8a5c}.l2-dot-slot{width:14px;height:64px;flex:none;position:relative;cursor:default}.l2-dot-slot.is-divider:after{content:"";position:absolute;left:50%;top:0;width:4px;height:100%;border-radius:2px;background:#16212e;transform:translateX(-50%)}.l2-board>strong{display:block;margin-top:12px;text-align:center;font:800 22px Outfit,sans-serif}.l2-learn-count-note{margin-top:12px;text-align:center;font:800 20px Outfit,sans-serif}
.l2-learn-found{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.l2-learn-found span{padding:10px 14px;border:2px solid #bfe5d5;border-radius:14px;background:#fff;color:#0b6b47;font:700 17px Outfit,sans-serif}.l2-learn-found .is-empty{border-style:dashed;border-color:#d6c6b0;color:#c4b29b}.l2-learn-message{display:inline-flex;margin-top:14px;padding:11px 18px;border-radius:999px;background:#eef4fe;color:#1b4e9e;font-size:15px;font-weight:700}.l2-learn-green{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding:18px;border-radius:22px;background:#e6f4ee;color:#0b6b47;text-align:center}.l2-learn-green strong{font:800 25px Outfit,sans-serif}.l2-learn-green span{font-size:14px;font-weight:600}
.l2-bowls{display:flex;gap:12px;width:100%}.l2-bowl-wrap{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px}.l2-bowl{width:100%;min-height:150px;padding:12px;display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:center;gap:6px;border:3px solid #e0c89b;border-radius:22px 22px 40px 40px;background:#fbf3e6}.l2-bowl-ball{width:36px;height:36px;border:0;border-radius:50%;background:#1b69e0;box-shadow:0 3px 0 #144fa6;cursor:pointer}.l2-bowl-ball.is-green{background:#0e8a5c;box-shadow:0 3px 0 #0a6845}.l2-bowl-wrap>strong{font:800 30px Outfit,sans-serif;color:#1b69e0}.l2-bowl-wrap:nth-child(2)>strong{color:#0b6b47}
.l2-house{width:min(100%,280px);margin:0 auto}.l2-house-roof{height:70px;clip-path:polygon(50% 0,100% 100%,0 100%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;background:#16212e;color:#fff;font:800 28px Outfit,sans-serif}.l2-house-floors{padding:8px;display:flex;flex-direction:column;gap:6px;border:3px solid #16212e;border-top:0;border-radius:0 0 16px 16px}.l2-house-floors button{height:46px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:3px dashed #e0d3c0;border-radius:12px;background:#fffdf9;color:#b6a891;font:700 16px Outfit,sans-serif}.l2-house-floors button.is-next{display:block;border-color:#1b69e0;background:#f7faff;color:#1b69e0}.l2-house-floors button.is-done{border-style:solid;border-color:#bfe5d5}.l2-house-floors button i{display:grid;place-items:center;background:#eef4fe;color:#1b69e0;font:800 21px Outfit,sans-serif}.l2-house-floors button i+i{background:#e6f4ee;color:#0b6b47}
.l2-insight-card{display:flex;flex-direction:column;gap:10px}.l2-insight-card>div{display:flex;align-items:center;gap:12px;padding:8px 6px;border-radius:14px;background:#fffdf9}.l2-insight-card>div>strong{font:800 19px Outfit,sans-serif}.l2-mini-dots{flex:1;display:flex;align-items:center;gap:4px}.l2-mini-dots i{width:18px;height:18px;border-radius:50%;background:#1b69e0}.l2-mini-dots i.is-green{background:#0e8a5c}.l2-mini-dots b{height:26px;width:3px;margin:0 3px;background:#16212e}.l2-insight-card> b{text-align:center;font:800 20px Outfit,sans-serif}.l2-choice-card{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px}.l2-choice-card strong{font:800 24px Outfit,sans-serif}.l2-choice-card>span{color:#0e8a5c}.l2-choice-card p{flex-basis:100%;color:#0b6b47;text-align:center;font-size:14px}
.l2-learn-actions{padding-top:14px;border-top:1px solid #f0e8dc}.l2-learn-actions>p{margin-bottom:10px;color:#a8937a;font-size:13px;font-weight:700}.l2-learn-actions>[data-l2-count]{display:none}.l2-learn-wait{width:100%;padding:18px;border-radius:18px;background:#f4efe7;color:#a8937a;text-align:center;font-size:16px;font-weight:700}.l2-learn-equation{display:block;margin-top:12px;text-align:center;font:800 22px Outfit,sans-serif}.l2-learn-actions [hidden]{display:none!important}.l2-learn-actions [data-l2-choices]{display:flex;flex-direction:column;gap:12px}.l2-action-success{background:#0e8a5c;box-shadow:0 5px 0 #0a6845}.l2-action-outline{width:100%;padding:17px;border:2px solid #e6daca;border-radius:18px;background:#fff;color:#16212e;font:700 17px Outfit,sans-serif;cursor:pointer}
.l2-practice-progress{flex:1;height:10px;overflow:hidden;border-radius:5px;background:#eadfd0}.l2-practice-progress i{height:100%;display:block;border-radius:inherit;background:#0e8a5c;transition:width .4s}.l2-learning-top>strong{color:#6b5b48;font:700 15px Outfit,sans-serif}.l2-practice-layout{flex:1;display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:40px;padding:18px 0}.l2-task-content{min-width:0;display:flex;flex-direction:column;align-items:center;gap:17px}.l2-question{text-align:center}.l2-question h1{max-width:600px;font:700 20px/1.3 Outfit,sans-serif;text-wrap:balance}.l2-question p{margin-top:6px;color:#6b5b48;font-size:14px}.l2-feedback{max-width:100%;padding:11px 18px;border-radius:999px;font-size:16px;font-weight:700;text-align:center}.l2-feedback--help{background:#fff1dc;color:#7a4e07}.l2-feedback--retry{background:#eef4fe;color:#1b4e9e}.l2-inline-feedback{min-height:20px;color:#0b6b47;font-size:14px;font-weight:700;text-align:center}
.l2-tree{position:relative;width:260px;height:196px;flex:none;font-family:Outfit,sans-serif;font-weight:800}.l2-tree svg{position:absolute;inset:0;width:100%;height:100%}.l2-tree svg path{fill:none;stroke:#d6c6b0;stroke-width:5;stroke-linecap:round}.l2-tree-whole,.l2-tree-part{position:absolute;width:84px;height:84px;display:grid;place-items:center;border-radius:50%;font-size:40px}.l2-tree-whole{top:0;left:88px;background:#16212e;color:#fff}.l2-tree-part{top:112px;left:14px;background:#1b69e0;color:#fff}.l2-tree-part:nth-of-type(3){left:162px}.l2-tree-part.is-missing{border:4px dashed #1b69e0;background:#fff;color:#1b69e0}.l2-tree-part.is-missing.is-filled{border:0;background:#0e8a5c;color:#fff}.l2-help-row,.l2-ball-board{width:100%;padding:17px 14px;border:1px solid #efe4d6;border-radius:26px;background:#fff}.l2-help-row .l2-dot-row{gap:3px}.l2-help-row .l2-dot{width:35px;height:35px;max-width:48px;box-shadow:none}.l2-help-row .l2-dot.is-empty{border:3px dashed #d6c6b0;background:#fffdf9}.l2-help-row .l2-dot.is-help-current{border:3px dashed #e08a1f;background:#fffbf4}.l2-help-row .l2-dot.is-known{background:#1b69e0}.l2-help-row .l2-dot.is-help-filled{background:#0e8a5c}.l2-help-row>p,.l2-ball-board>p{margin-top:12px;color:#6b5b48;font-size:14px;line-height:1.5;text-align:center}.l2-ball-board .l2-dot-row{gap:0}.l2-ball-board .l2-dot{height:64px;border-radius:14px;background:transparent;box-shadow:none}.l2-ball-board .l2-dot:before{content:"";width:32px;height:32px;display:block;border-radius:50%;background:#1b69e0}.l2-ball-board .l2-dot.is-green:before{background:#0e8a5c}.l2-ball-board .l2-dot-slot{width:14px;height:64px}.l2-split-labels{display:flex;gap:14px}.l2-split-labels span{min-width:0;border-top:3px solid #1b69e0;padding-top:6px;color:#1b69e0;font:800 22px Outfit,sans-serif;text-align:center}.l2-split-labels span+span{border-color:#0e8a5c;color:#0b6b47}.l2-found-list{width:100%;padding:16px;border:1px solid #efe4d6;border-radius:22px;background:#fff}.l2-found-list small{color:#a8937a;font-size:12px;font-weight:700;letter-spacing:.08em}.l2-found-list>div{margin-top:8px;padding:12px 14px;border-radius:14px;background:#e6f4ee;color:#0b6b47;font:800 19px Outfit,sans-serif}.l2-found-list>div span{float:right;font-size:13px;font-weight:600}.l2-task-controls{width:100%;max-width:300px;justify-self:center;display:flex;flex-direction:column;gap:11px}.l2-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.l2-keypad button{height:64px;border:2px solid #e4d8c8;border-radius:20px;background:#fff;box-shadow:0 5px 0 #e4d8c8;color:#16212e;font:700 27px Outfit,sans-serif;cursor:pointer}.l2-keypad button:active{transform:translateY(5px);box-shadow:none}.l2-keypad .is-empty{visibility:hidden}.l2-action-primary:disabled{background:#f4efe7;box-shadow:none;color:#a8937a;cursor:default}.l2-controls-hint{padding:18px;border-radius:18px;background:#fff1dc;color:#7a4e07;font:700 16px/1.4 Outfit,sans-serif;text-align:center}.l2-other-help{margin-top:4px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:2px solid #e6daca;border-radius:20px;background:#fff}.l2-other-help span{color:#6b5b48;font-size:14px}.l2-other-help a{padding:12px 15px;border-radius:14px;background:#eef4fe;color:#1b4e9e;font:700 15px Outfit,sans-serif;text-decoration:none}.l2-reveal-screen{width:min(100%,470px);margin:auto;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}.l2-reveal-screen>p{color:#6b5b48;line-height:1.5}.l2-reveal-screen form{width:100%}
.l2-feedback--nudge{display:flex;align-items:center;justify-content:center;gap:12px;background:#fff1dc;color:#7a4e07}.l2-feedback--nudge>span{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e08a1f;color:#fff}.l2-feedback--nudge strong{max-width:205px;font:800 16px/1.25 Outfit,sans-serif}.l2-question[hidden]{display:none!important}.l2-success-equation{width:100%;max-width:314px;padding:12px 14px;border:2px solid #bfe5d5;border-radius:20px;background:#fff;text-align:center}.l2-success-equation strong{display:block;color:#16212e;font:800 22px Outfit,sans-serif}.l2-success-equation strong span{padding:0 4px;color:#0e8a5c}.l2-success-equation p{margin-top:4px;color:#0b6b47;font-size:14px;line-height:1.35}.l2-tree-part.is-green{background:#0e8a5c;color:#fff}.l2-controls-note{padding:18px;border-radius:18px;background:#f4efe7;color:#6b5b48;font:700 16px/1.4 Outfit,sans-serif;text-align:center}
.l2-result-screen{width:min(100% - 40px,470px);min-height:calc(100dvh - 24px);margin:0 auto;padding:20px 0 26px;display:flex}.l2-result-content{width:100%;display:flex;flex-direction:column;animation:up .3s ease-out}.l2-result-stars{display:flex;align-items:center;justify-content:center;gap:10px;color:#f0a62b;line-height:1}.l2-result-stars span{font-size:38px}.l2-result-stars strong{font-size:50px}.l2-result-content>header{margin-top:16px;text-align:center}.l2-result-content>header h1{font:800 32px Outfit,sans-serif;letter-spacing:-.6px}.l2-result-content>header p{margin-top:6px;color:#6b5b48;font-size:15px}.l2-result-encouragement{margin-top:20px;padding:22px;border-radius:24px;background:#e6f4ee;text-align:center}.l2-result-encouragement>span{font-size:26px}.l2-result-encouragement strong{display:block;margin-top:8px;color:#0b6b47;font:800 20px/1.3 Outfit,sans-serif}.l2-result-stats{margin-top:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.l2-result-stats>div{padding:12px 6px;border:1px solid #bfe5d5;border-radius:14px;background:#fff;text-align:center}.l2-result-stats small{display:block;color:#0b6b47;font-size:10px;font-weight:700;letter-spacing:.04em}.l2-result-stats strong{display:block;margin-top:5px;color:#0b6b47;font:800 24px Outfit,sans-serif}.l2-result-next{margin-top:18px;padding:16px 18px;border:2px solid #c9dcfa;border-radius:22px;background:#eef4fe}.l2-result-next small{color:#1b4e9e;font-size:12px;font-weight:700;letter-spacing:.08em}.l2-result-next h2{margin-top:6px;font:800 17px Outfit,sans-serif}.l2-result-next p{margin-top:4px;color:#1b4e9e;font-size:14px;line-height:1.45}.l2-result-actions{margin-top:auto;padding-top:16px;display:flex;flex-direction:column;gap:7px;text-align:center}.l2-result-actions form{width:100%}.l2-result-actions>a{padding:13px;color:#6b5b48;font-size:15px;font-weight:700;text-decoration:none}
@media(max-width:699px){.l2-entry{width:calc(100% - 40px);min-height:calc(100dvh - 32px)}.l2-learn,.l2-practice-screen{width:calc(100% - 40px);min-height:calc(100dvh - 20px)}.l2-learn-body{grid-template-columns:1fr;align-content:center;gap:20px;padding:20px 0}.l2-learn-copy h1{font-size:25px}.l2-learn-visual{max-width:100%}.l2-board,.l2-insight-card,.l2-choice-card{padding:18px 12px;border-radius:26px}.l2-board .l2-dot::before{width:34px;height:34px}.l2-dot-slot{width:14px;height:64px}.l2-bowl{min-height:150px;padding:10px;gap:5px}.l2-bowl-ball{width:30px;height:30px}.l2-practice-layout{grid-template-columns:1fr;gap:20px;align-content:center;padding:18px 0}.l2-task-content{gap:15px}.l2-task-controls{max-width:100%}.l2-question h1{font-size:20px}.l2-keypad{gap:10px}.l2-keypad button{height:64px}.l2-tree{transform:scale(.94);transform-origin:center}.l2-help-row,.l2-ball-board{padding:15px 8px}.l2-help-row .l2-dot{height:32px}.l2-ball-board .l2-dot{height:64px}.l2-other-help{align-items:stretch;flex-direction:column;text-align:center}.l2-result-screen{width:calc(100% - 40px)}.l2-result-content>header h1{font-size:32px}}
@media(min-width:700px) and (max-width:1099px){.l2-entry{width:min(100% - 64px,700px)}.l2-learn,.l2-practice-screen{width:min(100% - 64px,820px)}.l2-learn-body{gap:24px}.l2-practice-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px}.l2-task-controls{max-width:270px}.l2-keypad button{height:68px}.l2-help-row .l2-dot{height:44px;max-width:54px}}
.l2-entry-description{margin-top:8px;color:#6b5b48;font-size:15px;line-height:1.5}.l2-keypad{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,64px) auto}.l2-keypad-edge{grid-column:1/-1;display:flex;gap:10px}.l2-keypad-edge button{flex:1;height:64px;border:2px solid #e4d8c8;border-radius:20px;background:#fff;box-shadow:0 5px 0 #e4d8c8;color:#16212e;font:700 27px Outfit,sans-serif;cursor:pointer}.l2-keypad-edge button:active{transform:translateY(5px);box-shadow:none}.l2-keypad>button{height:64px}.l2-subject-page .catalog-card--decomposition{border:2px solid #1b69e0;box-shadow:0 4px 0 #c9dcfa}.l2-subject-page .catalog-card--decomposition .catalog-icon{background:#eef4fe}
.l2-task-controls.is-success>*:not([data-l2-success]){display:none}.l2-success-state{display:flex;flex-direction:column;gap:18px;animation:up .25s ease-out}.l2-success-state[hidden]{display:none}.l2-feedback--success{align-self:center;display:inline-flex;align-items:center;gap:10px;padding:12px 22px;background:#e6f4ee;color:#0b6b47}.l2-feedback--success>span{width:26px;height:26px;display:grid;place-items:center;border-radius:13px;background:#0e8a5c;color:#fff;font-size:14px}.l2-feedback--success strong{font:800 19px Outfit,sans-serif}.l2-success-next{width:100%;min-height:60px;padding:18px;border:0;border-radius:18px;background:#16212e;box-shadow:0 5px 0 #0a121c;color:#fff;font:700 18px Outfit,sans-serif;cursor:pointer}.l2-success-next:active{transform:translateY(4px);box-shadow:0 1px 0 #0a121c}
.l2-entry-meter{height:12px;margin-top:12px;overflow:hidden;border-radius:6px;background:#eadfd0}.l2-entry-meter>i{height:100%;display:block;border-radius:inherit;background:#0e8a5c}.l2-number-chips span.is-doing_well{border-color:#bfe5d5;background:#e6f4ee;color:#0b6b47}.l2-number-chips span.is-practising{border-color:#f3ddba;background:#fff1dc;color:#7a4e07}
.l2-result-grow{margin-top:18px;color:#6b5b48;font-size:15px;line-height:1.5;text-align:center}.l2-result-mastery{margin-top:18px}.l2-result-mastery h2{color:#0b6b47;font-size:13px;font-weight:700}.l2-result-mastery>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.l2-result-mastery>div span{min-width:52px;padding:10px 14px;border:2px solid #bfe5d5;border-radius:14px;background:#fff;color:#0b6b47;font:700 17px Outfit,sans-serif}.l2-result-mastery>div span.is-practice{border-color:#f3ddba;color:#7a4e07}.l2-result-mastery.is-practice h2{color:#7a4e07}.l2-result-score{margin-top:16px;color:#a8937a;font-size:13px;text-align:center}
.l2-subject-page .catalog-card--decomposition{padding:20px;border-radius:24px;background:#fff}.l2-catalog-top{display:flex;align-items:flex-start;gap:14px}.l2-catalog-icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;gap:3px;flex:none;border-radius:18px;background:#eef4fe}.l2-catalog-icon i{width:9px;height:22px;border-radius:5px;background:#1b69e0}.l2-catalog-icon b{width:3px;height:28px;border-radius:2px;background:#16212e}.l2-catalog-icon i:last-child{background:#0e8a5c}.l2-catalog-copy{flex:1;min-width:0}.l2-catalog-copy>span{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.l2-catalog-copy strong{color:#16212e;font:800 19px/1.2 Outfit,sans-serif}.l2-catalog-copy small{padding:4px 9px;border-radius:999px;background:#eef4fe;color:#1b4e9e;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.l2-catalog-copy em{display:block;margin-top:4px;color:#6b5b48;font-size:14px;font-style:normal;line-height:1.45}.l2-catalog-foot{margin-top:14px;display:flex;align-items:center;gap:12px}.l2-catalog-meter{height:10px;flex:1;overflow:hidden;border-radius:5px;background:#eadfd0}.l2-catalog-meter i{height:100%;display:block;border-radius:inherit;background:#0e8a5c}.l2-catalog-foot>small{color:#6b5b48;font-size:13px;font-weight:700}.l2-subject-page .catalog-grid{align-items:start}.l2-locked-card{min-height:82px;padding:16px 20px;display:flex;align-items:center;gap:14px;border:2px dashed #e0d3c0;border-radius:24px}.l2-locked-card>span{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:15px;background:#f4efe7;color:#a8937a;font-size:18px}.l2-locked-card>div{display:flex;flex-direction:column}.l2-locked-card strong{color:#8a7a66;font:700 16px Outfit,sans-serif}.l2-locked-card small{margin-top:2px;color:#a8937a;font-size:13px}
.l2-subject-page .l2-first-lesson-foot{margin-top:14px;align-items:center;gap:12px;color:#0b6b47}.l2-first-lesson-meter{height:9px;flex:1;overflow:hidden;border-radius:5px;background:#eadfd0}.l2-first-lesson-meter i{height:100%;display:block;border-radius:inherit;background:#0e8a5c}.l2-first-lesson-foot small{color:#0b6b47;font-size:13px;font-weight:700;white-space:nowrap}
.l2-entry-primary{display:block;text-decoration:none}.l2-resume{justify-content:center;gap:24px}.l2-resume-title{text-align:center}.l2-resume-title>span{font-size:44px}.l2-resume-title h1{margin-top:12px;font:800 26px/1.2 Outfit,sans-serif;letter-spacing:-.5px}.l2-resume-card{padding:20px;border:1px solid #efe4d6;border-radius:24px;background:#fff}.l2-resume-card>strong{font:800 18px Outfit,sans-serif}.l2-resume-card>div{display:flex;align-items:center;gap:12px;margin-top:12px}.l2-resume-card>div>span{height:12px;flex:1;overflow:hidden;border-radius:6px;background:#eadfd0}.l2-resume-card>div>span>i{height:100%;display:block;border-radius:inherit;background:#0e8a5c}.l2-resume-card small{color:#6b5b48;font:700 15px Outfit,sans-serif}.l2-resume-actions{display:flex;flex-direction:column;gap:12px}.l2-resume-actions form{width:100%}.l2-resume-restart{width:100%;padding:16px;border:2px solid #e6daca;border-radius:16px;background:#fff;color:#16212e;font:700 16px Outfit,sans-serif;cursor:pointer}.l2-subject-page{padding-top:50px}
.l2-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:699px){.l2-entry,.l2-learn,.l2-practice-screen,.l2-result-screen{width:calc(100% - 44px);padding-top:42px}.l2-entry{min-height:calc(100dvh - 28px)}.l2-learn{min-height:calc(100dvh + 12px)}.l2-practice-screen{min-height:calc(100dvh - 18px)}.l2-result-screen{min-height:calc(100dvh - 18px);padding-top:67px;padding-bottom:43px}.l2-learn-body{display:flex;flex:1;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:18px 0 12px}.l2-learn-visual{width:100%;margin:auto auto 12px;transform:translateY(-6px)}.l2-learn-actions{padding-top:0;border-top:0;transform:translateY(-16px)}.l2-learn-actions>[data-l2-count]{display:none}.l2-learn-wait{padding:14px}.l2-board .l2-dot{width:auto;height:64px;box-shadow:none}.l2-practice-screen{padding-bottom:10px}.l2-practice-layout{display:flex;flex-direction:column;justify-content:space-between;flex:1;gap:18px}.l2-task-content{gap:14px}.l2-task-controls{margin-top:auto}.l2-task-controls:not(.is-success) .l2-other-help{display:none}.l2-subject-page{padding-top:50px}}

[data-l2-success-explain][hidden]{display:none}

@media(max-width:699px){.l2-practice-reveal .l2-task-controls .l2-other-help{display:flex}}
@media(max-width:699px){.l2-entry,.l2-learn,.l2-practice-screen{padding-top:10px}.l2-entry-progress{margin-top:20px}}
body:has(.l2-practice-screen) .flash-stack{display:none}
.l2-help-row .l2-dot-row{gap:0;align-items:center}
.l2-help-row .l2-dot{width:auto;max-width:none;min-width:0;height:64px;flex:1 1 0;padding:0;border:0;border-radius:14px;background:transparent;box-shadow:none;color:transparent;font-size:0;display:flex;align-items:center;justify-content:center;cursor:pointer}
.l2-help-row .l2-dot::before{content:"";width:34px;height:34px;flex:none;border-radius:50%;background:#fffdf9;border:3px dashed #d6c6b0}
.l2-help-row .l2-dot.is-known::before{background:#1b69e0;border:0}
.l2-help-row .l2-dot.is-help-filled::before{background:#0e8a5c;border:0}
.l2-help-row .l2-dot.is-help-current::before{background:#fffbf4;border:3px dashed #e08a1f}
.l2-help-row .l2-dot.is-empty::before{background:#fffdf9;border:3px dashed #d6c6b0}
.l2-help-row .l2-picked-divider{height:64px}
.l2-help-row .l2-split-labels{gap:14px;width:100%;margin-top:0}
.l2-help-row .l2-dot.is-known,.l2-help-row .l2-dot.is-help-filled,.l2-help-row .l2-dot.is-help-current,.l2-help-row .l2-dot.is-empty{border:0;background:transparent;box-shadow:none}
.l2-feedback--help{display:flex;align-items:center;justify-content:center;gap:12px;min-height:66px}
.l2-feedback--help>.l2-help-icon{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e08a1f;color:#fff;font:700 16px Outfit,sans-serif}
.l2-feedback--help>.l2-feedback-copy{max-width:205px;font-weight:800;line-height:1.25}
.l2-tree-part.is-help-slot{border-color:#e08a1f;background:#fff;color:#e08a1f}
.l2-help-row.is-help-phase .l2-picked-divider{background:#8a8f96}
.l2-help-row.is-retry-phase .l2-picked-divider{background:#16212e}
@media(max-width:699px){.l2-task-content{width:100%}}
.l2-bowls-board{width:100%;padding:20px 14px 18px}
.l2-bowls-board .l2-bowls{gap:12px}
.l2-bowls-board .l2-learn-count-note{margin-top:18px;color:#16212e;font:800 22px Outfit,sans-serif}
.l2-house-board{width:100%;padding:18px 16px;border-radius:26px}
.l2-house-board .l2-house{width:100%;max-width:280px;text-align:center}
.l2-house-board .l2-house-roof{width:100%;height:70px;padding-bottom:8px}
.l2-house-board .l2-house-floors{padding:8px;gap:6px;border:3px solid #16212e;border-top:0;border-radius:0 0 16px 16px}
.l2-house-board .l2-house-floors button{height:46px;padding:0;border:3px solid transparent;border-radius:12px;background:transparent}
.l2-house-board .l2-house-floors button.is-next{height:46px;border:3px dashed #1b69e0;border-radius:12px;background:#f7faff}
.l2-house-board .l2-house-floors button.is-done{height:46px;padding-inline:6px;border:3px solid transparent;border-radius:0;background:transparent}
.l2-house-board .l2-house-floors .is-wait{height:46px;border:3px dashed #e0d3c0;border-radius:12px;background:#fffdf9}
.l2-house-board .l2-house-floors button.is-picked{border-color:#e08a1f}
.l2-learn .l2-choice-board{min-height:116px;display:flex;align-items:center;justify-content:center}
.l2-house-board .l2-house-floors button.is-correct{border-color:#0e8a5c}
.l2-house-board .l2-house-count{display:block;margin-top:14px;color:#16212e;font:800 20px Outfit,sans-serif}
.l2-learn[data-method="2"] .l2-learn-actions>[data-l2-count]{display:none}
@media(max-width:699px){.l2-learn[data-method="2"] .l2-learn-copy{transform:translateY(-8px)}.l2-learn[data-method="2"] .l2-learn-visual{margin:-24px auto 12px}.l2-bowls-board .l2-bowl-ball{width:38px;height:38px}.l2-house-board{padding:18px 12px}}
@media(max-width:699px){.l2-learn[data-method="0"] .l2-board{display:flex;flex-direction:column;align-items:center;padding:20px 14px;gap:12px}.l2-learn[data-method="0"] .l2-board .l2-learn-equation{margin-top:0}.l2-learn[data-method="0"][data-l2-step="1"] .l2-learn-visual{transform:translateY(-12px)}}
@media(max-width:699px){.l2-practice-screen .l2-feedback--help{width:100%}.l2-practice-screen .l2-tree{transform:none}.l2-practice-screen .l2-help-row{display:flex;flex-direction:column;gap:12px;padding:18px 14px;margin-top:7px}.l2-practice-screen .l2-help-row>p{margin-top:0}}
@media(max-width:699px){.l2-learn[data-method="0"] .l2-learn-copy{transform:translateY(-9px)}.l2-learn[data-method="0"][data-l2-step="0"] .l2-learn-visual{transform:translateY(4px)}}
@media(min-width:1100px){.l2-entry{width:min(calc(100% - 64px),1040px);padding-top:48px}.l2-entry-progress{width:100%;margin-top:20px}}
@media(min-width:700px) and (max-width:1099px){.l2-entry-progress{margin-top:20px}}

@media(min-width:1100px){.l2-board .l2-dot::before{width:42px;height:42px}}

.l2-house-floors button.is-picked{border-color:#e08a1f}.l2-house-floors button.is-correct{border-style:solid;border-color:#0e8a5c}
.l2-board>.l2-split-labels{width:100%}
.l2-learn-body{grid-template-columns:minmax(0,556fr) minmax(0,440fr);gap:40px}
.l2-learn-actions{padding-top:0;border-top:0}
@media(min-width:1100px){.l2-learn{width:min(calc(100% - 64px),1036px);min-height:calc(100dvh - 3px)}}
@media(min-width:700px) and (max-width:1099px){.l2-learn{width:min(calc(100% - 64px),656px);min-height:calc(100dvh - 3px)}.l2-learn-body{grid-template-columns:minmax(0,288fr) minmax(0,340fr);gap:28px}}
@media(max-width:699px){.l2-learn{width:calc(100% - 44px);min-height:calc(100dvh + 12px)}}
.l2-inline-feedback:empty{display:none}
@media(max-width:699px){.l2-subject-page{padding-top:8px}}
.l2-first-lesson-complete .catalog-icon{background:#e6f4ee;color:#0b6b47}
.l2-learn[data-method="1"][data-l2-step="1"][data-l2-found="0"][data-l2-balls-right="0"] .l2-bowls-board{min-height:295px}
@media(max-width:1099px){.l2-learn[data-method="1"][data-l2-step="1"][data-l2-found="0"][data-l2-balls-right="0"] .l2-bowls-board{min-height:318px}}
@media(max-width:699px){.l2-learn[data-method="1"][data-l2-step="1"][data-l2-found="0"][data-l2-balls-right="0"] .l2-learn-visual{transform:translateY(-13px)}}
@media(max-width:699px){.l2-practice-reveal .l2-task-content{gap:20px}.l2-practice-reveal .l2-ball-board{min-height:184px}}
@media(min-width:1100px){.l2-bowls-board .l2-bowl-ball{width:42px;height:42px}}
.l2-feedback--duplicate{background:#eef4fe;color:#1b4e9e}
.l2-found-list>div.is-empty{min-height:42px;border:2px dashed #e4d4be;background:transparent;color:#b39a7b}
.l2-result-encouragement{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.l2-practice-layout[data-kind="all"]{grid-template-columns:minmax(0,1fr) 300px;gap:40px}
.l2-practice-layout[data-kind="all"] .l2-task-content{display:flex;grid-column:1;grid-row:1}
.l2-practice-layout[data-kind="all"] .l2-found-list{grid-column:2;grid-row:1;align-self:center}
.l2-practice-layout[data-kind="all"] .l2-task-controls{display:none}
@media(min-width:700px) and (max-width:1099px){.l2-practice-screen{width:min(calc(100% - 64px),656px);max-width:656px}.l2-practice-layout{grid-template-columns:minmax(0,328px) minmax(0,300px);gap:28px}.l2-practice-layout[data-kind="all"]{grid-template-columns:minmax(0,328px) minmax(0,300px);gap:28px}}
@media(max-width:699px){.l2-practice-layout[data-kind="all"]{display:flex;flex-direction:column;justify-content:flex-start;gap:14px}.l2-practice-layout[data-kind="all"] .l2-task-content{display:flex;width:100%}.l2-practice-layout[data-kind="all"] .l2-task-controls{display:none}.l2-practice-layout[data-kind="all"] .l2-ball-board{min-height:184px}.l2-practice-layout[data-kind="all"]>.l2-found-list{margin-top:65px}}
.l2-practice-reveal .l2-picked-divider{background:#16212e}
.l2-practice-progress>div{height:100%}
.l2-practice-screen{max-width:880px}
@media(max-width:699px){.l2-practice-layout[data-kind="all"] .l2-question{align-self:flex-start;padding:0 24px;text-align:left}.l2-practice-layout[data-kind="all"] .l2-ball-board{min-height:184px}.l2-practice-layout[data-kind="all"] .l2-found-list{margin-top:65px}}
@media(max-width:699px){.l2-result-screen{padding-top:16px}}

@media(min-width:700px){.l2-practice-layout[data-kind="all"]>.l2-found-list{transform:translateY(14px)}.l2-practice-layout[data-kind="all"] .l2-ball-board .l2-split-labels{margin-top:12px}}
@media(min-width:700px) and (max-width:1099px){.l2-practice-layout{transform:translateY(12px)}.l2-task-controls{max-width:300px}}
@media(min-width:700px) and (max-width:1099px){.l2-practice-layout{transform:none}.l2-practice-layout:not([data-kind="all"]) .l2-task-content,.l2-practice-layout:not([data-kind="all"]) .l2-task-controls,.l2-practice-layout[data-kind="all"]>.l2-task-content{transform:translateY(12px)}}
@media(min-width:1100px){.l2-practice-layout[data-kind="all"]>.l2-task-content{transform:translateY(10px)}.l2-ball-board .l2-dot:before{width:42px;height:42px}}
@media(max-width:699px){.l2-practice-layout[data-kind="all"] .l2-feedback--duplicate{margin-bottom:5px}}
@media(min-width:700px) and (max-width:1099px){.l2-resume{width:min(calc(100% - 64px),656px)}}
@media(min-width:1100px){.l2-resume{width:min(calc(100% - 64px),470px)}}
@media(max-width:699px){.l2-learn[data-method="1"][data-l2-step="1"] .l2-learn-copy{transform:translateY(-8px)}.l2-learn[data-method="1"][data-l2-step="1"] .l2-learn-copy h1{max-width:260px}.l2-learn[data-method="1"][data-l2-step="1"] .l2-learn-found{margin-top:13px}.l2-learn[data-method="1"][data-l2-step="1"] .l2-learn-visual{transform:translateY(-10px)}.l2-learn[data-method="1"][data-l2-found="1"][data-l2-step="1"] .l2-learn-visual{transform:translateY(-12px)}}
@media(max-width:699px){.l2-entry .l2-kicker{margin-bottom:7px}.l2-entry-progress{margin-top:16px}.l2-number-chips span{width:52px;height:40px;border-radius:14px;font-size:16px}.l2-entry-actions{margin-top:18px}}
.l2-entry .l2-kicker{color:#1b69e0}
@media(max-width:699px){.l2-entry-progress{width:100%;margin-top:17px;padding-bottom:22px}.l2-entry-heading{transform:translateY(-2px)}.l2-entry-heading h1{font-size:26px}.l2-entry-description{font-size:15px;transform:translateY(-2px)}.l2-entry-primary{font-size:16px}.l2-entry-secondary{font-size:14px}}
/* Lesson 2 entry progress chips match the current CDE's filled status pills. */
.l2-entry-progress-head span{color:#087a53;font-weight:700}
.l2-number-chips span{border:0;background:#f4efe7}
.l2-number-chips span.is-practised,.l2-number-chips span.is-doing_well{border:0;background:#e4f3ed;color:#087a53}
.l2-number-chips span.is-practising{border:0;background:#fff0da;color:#805108}
@media(max-width:699px){.l2-entry-progress{border-color:#efe4d6}.l2-entry-primary{font-size:16px;font-weight:700}.l2-entry-secondary{font-size:16px}}
@media(max-width:699px){.l2-learn[data-method="2"] .l2-learn-copy>p{max-width:300px;font-size:16px}.l2-learn[data-method="2"] .l2-learn-actions{transform:translateY(-12px)}.l2-learn[data-method="2"] .l2-learn-wait{padding:18px}}
.l2-decomposition-list{display:flex;flex-direction:column;gap:2px;align-items:center;margin-bottom:2px}
.l2-practice-layout[data-kind="all"] .l2-task-controls.is-success{display:flex}
