:root {
  font-family: "DM Sans", sans-serif;
  color: #172b4d;
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #102542;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0d9488;
  --ink: #172b4d;
  --muted: #718096;
  --border: #d8e0eb;
  --surface: #ffffff;
  --card-surface: #afc8ef;
  --card-surface-cyan: #a8d9e5;
  --card-surface-teal: #a8d7ca;
  --card-surface-indigo: #b9bde8;
  --card-surface-violet: #d0b6e5;
  --card-icon-blue: #1e56b4;
  --card-icon-cyan: #087d98;
  --card-icon-teal: #087b69;
  --card-icon-indigo: #4e4ea9;
  --card-icon-violet: #70419a;
  --sidebar-surface: #193655;
  --sidebar-surface-light: #214a75;
  --sidebar-text: #e7f0ff;
  --sidebar-muted: #a8bad1;
  --canvas: #eaf1fb;
  --card-shadow: 0 3px 14px rgb(8 38 92 / 5%);
  --green: #15803d;
  --amber: #b45309;
  --red: #b42318;
  --radius: 16px;
  --shadow: 0 12px 35px rgb(8 38 92 / 7%);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  color: var(--navy);
  background: #dbeafe;
}

#app {
  min-height: 100vh;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 5;
  inset: 0 auto 0 0;
  display: flex;
  width: 252px;
  flex-direction: column;
  padding: 26px 16px 18px;
  overflow-y: auto;
  scrollbar-color: rgb(190 216 244 / 35%) transparent;
  scrollbar-width: thin;
  border-right: 1px solid #315576;
  background: linear-gradient(180deg, var(--sidebar-surface-light), var(--sidebar-surface) 44%);
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgb(190 216 244 / 35%);
  background-clip: content-box;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgb(190 216 244 / 58%);
  background-clip: content-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: contain;
}

.sidebar > .brand {
  justify-content: center;
  padding: 0;
}

.sidebar .brand-logo {
  width: 124px;
}

.workspace-label,
.nav-caption {
  color: var(--sidebar-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.workspace-label {
  margin: 22px 10px 12px;
}

.learner-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 9px;
  border: 1px solid rgb(190 216 244 / 24%);
  border-radius: 12px;
  background: rgb(255 255 255 / 8%);
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
}

.avatar-student {
  width: 36px;
  height: 36px;
  background: #b8e8e4;
  color: #075b67;
  font-size: 12px;
}

.student-cosmetic-avatar-frame {
  border: 2px solid #f1c75b;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d89c25;
}

.learner-info {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.learner-info strong,
.profile-name {
  overflow: hidden;
  color: var(--sidebar-text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.learner-info small {
  color: var(--sidebar-muted);
  font-size: 10px;
}

.switch-chevron {
  width: 16px;
  color: var(--sidebar-muted);
}

.side-nav {
  display: grid;
  gap: 5px;
  margin-top: 30px;
}

.nav-caption {
  margin: 0 10px 8px;
}

.nav-section {
  margin-top: 5px;
}

.nav-section summary {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 1px solid rgb(190 216 244 / 10%);
  border-radius: 8px;
  background: rgb(255 255 255 / 5%);
  color: var(--sidebar-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.65px;
  list-style: none;
  text-transform: uppercase;
}

.nav-section summary::-webkit-details-marker {
  display: none;
}

.nav-section summary:hover,
.nav-section[open] summary {
  border-color: rgb(102 211 231 / 35%);
  background: rgb(61 149 189 / 24%);
  color: #d8f5ff;
}

.nav-section summary span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  background: rgb(255 255 255 / 12%);
  color: var(--sidebar-muted);
  font-size: 9px;
  letter-spacing: 0;
}

.nav-section summary::after {
  margin-left: 2px;
  color: currentColor;
  content: "+";
  font-size: 14px;
  font-weight: 500;
}

.nav-section[open] summary::after {
  content: "−";
}

.nav-section-links {
  display: grid;
  gap: 3px;
  padding: 2px 0 5px;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  border: 1px solid rgb(190 216 244 / 10%);
  border-radius: 9px;
  background: rgb(255 255 255 / 5%);
  color: #d3deed;
  font-size: 13px;
  font-weight: 500;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.nav-link .icon {
  width: 18px;
  height: 18px;
}

.side-nav > .nav-link:nth-of-type(5n + 1) .icon,
.nav-section .nav-link:nth-of-type(5n + 1) .icon {
  color: #3478d4;
}

.side-nav > .nav-link:nth-of-type(5n + 1),
.nav-section .nav-link:nth-of-type(5n + 1) {
  --nav-accent: #3478d4;
}

.side-nav > .nav-link:nth-of-type(5n + 2) .icon,
.nav-section .nav-link:nth-of-type(5n + 2) .icon {
  color: #138f83;
}

.side-nav > .nav-link:nth-of-type(5n + 2),
.nav-section .nav-link:nth-of-type(5n + 2) {
  --nav-accent: #138f83;
}

.side-nav > .nav-link:nth-of-type(5n + 3) .icon,
.nav-section .nav-link:nth-of-type(5n + 3) .icon {
  color: #d48535;
}

.side-nav > .nav-link:nth-of-type(5n + 3),
.nav-section .nav-link:nth-of-type(5n + 3) {
  --nav-accent: #d48535;
}

.side-nav > .nav-link:nth-of-type(5n + 4) .icon,
.nav-section .nav-link:nth-of-type(5n + 4) .icon {
  color: #795bc1;
}

.side-nav > .nav-link:nth-of-type(5n + 4),
.nav-section .nav-link:nth-of-type(5n + 4) {
  --nav-accent: #795bc1;
}

.side-nav > .nav-link:nth-of-type(5n + 5) .icon,
.nav-section .nav-link:nth-of-type(5n + 5) .icon {
  color: #cc5d82;
}

.side-nav > .nav-link:nth-of-type(5n + 5),
.nav-section .nav-link:nth-of-type(5n + 5) {
  --nav-accent: #cc5d82;
}

.side-nav > .nav-link:nth-of-type(5n + 1):not(.active):not(:hover),
.nav-section .nav-link:nth-of-type(5n + 1):not(.active):not(:hover) {
  border-color: rgb(52 120 212 / 24%);
  background: rgb(52 120 212 / 13%);
}

.side-nav > .nav-link:nth-of-type(5n + 2):not(.active):not(:hover),
.nav-section .nav-link:nth-of-type(5n + 2):not(.active):not(:hover) {
  border-color: rgb(19 143 131 / 24%);
  background: rgb(19 143 131 / 13%);
}

.side-nav > .nav-link:nth-of-type(5n + 3):not(.active):not(:hover),
.nav-section .nav-link:nth-of-type(5n + 3):not(.active):not(:hover) {
  border-color: rgb(212 133 53 / 24%);
  background: rgb(212 133 53 / 13%);
}

.side-nav > .nav-link:nth-of-type(5n + 4):not(.active):not(:hover),
.nav-section .nav-link:nth-of-type(5n + 4):not(.active):not(:hover) {
  border-color: rgb(121 91 193 / 24%);
  background: rgb(121 91 193 / 13%);
}

.side-nav > .nav-link:nth-of-type(5n + 5):not(.active):not(:hover),
.nav-section .nav-link:nth-of-type(5n + 5):not(.active):not(:hover) {
  border-color: rgb(204 93 130 / 24%);
  background: rgb(204 93 130 / 13%);
}

.nav-link::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 3px;
  height: 21px;
  border-radius: 0 3px 3px 0;
  background: var(--nav-accent, #7a8aa3);
  content: "";
  opacity: 0.62;
}

.nav-link-secondary {
  min-height: 38px;
  gap: 10px;
  padding-left: 13px;
  font-size: 12px;
}

.nav-link-secondary small {
  margin-left: auto;
  color: var(--sidebar-muted);
  font-size: 9px;
  font-weight: 600;
}

.nav-link:hover {
  transform: translateX(2px);
  border-color: rgb(102 211 231 / 42%);
  background: rgb(61 149 189 / 24%);
  box-shadow: 0 3px 10px rgb(4 16 38 / 16%);
  color: #fff;
}

.nav-link.active {
  background: linear-gradient(105deg, #1e56b4, #087d98);
  box-shadow: 0 4px 12px rgb(4 16 38 / 32%);
  color: #fff;
  font-weight: 700;
}

.nav-link.active .icon,
.nav-link.active small,
.nav-link.active .nav-dot {
  color: #fff;
}

.side-nav .nav-link.active .icon,
.nav-section .nav-link.active .icon {
  color: #fff;
}

.nav-link.active .nav-dot {
  background: #d8f5ff;
}

.nav-link.active::before {
  background: #fff;
  opacity: 0.95;
}

.nav-section .nav-link.active {
  background: linear-gradient(105deg, #4e4ea9, #087d98);
}

.nav-dot,
.notification-dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #f18c62;
}

.sidebar-bottom {
  display: grid;
  gap: 13px;
  margin-top: auto;
}

.plan-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.plan-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 11px;
  place-items: center;
  border-radius: 9px;
  background: #e6efff;
  color: var(--blue);
}

.plan-icon .icon {
  width: 17px;
  height: 17px;
}

.plan-card > strong {
  font-size: 12px;
}

.plan-card p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.plan-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.plan-card a .icon {
  width: 14px;
  height: 14px;
}

.logout-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #d3deed;
  font-size: 13px;
  text-align: left;
}

.workspace-switch-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid rgb(211 222 237 / 24%);
  border-radius: 9px;
  background: rgb(255 255 255 / 5%);
  color: #d3deed;
  font-size: 12px;
  text-align: left;
}

.workspace-switch-track {
  position: relative;
  width: 30px;
  height: 17px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #64748b;
  transition: background 160ms ease;
}

.workspace-switch-track i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.workspace-switch-button[aria-checked="true"] .workspace-switch-track {
  background: #0e9ca9;
}

.workspace-switch-button[aria-checked="true"] .workspace-switch-track i {
  transform: translateX(13px);
}

.workspace-switch-button:hover {
  border-color: rgb(84 190 211 / 65%);
  background: rgb(8 125 152 / 24%);
  color: #fff;
}

.logout-button:hover {
  background: rgb(180 35 24 / 24%);
  color: #ffd2cc;
}

.main-area {
  min-height: 100vh;
  margin-left: 252px;
  background:
    radial-gradient(ellipse at 92% 8%, rgb(168 217 229 / 28%), transparent 34%),
    linear-gradient(135deg, #e8f0fc 0%, #edf2fb 54%, #f0eafa 100%);
}

.student-cosmetic-study-theme .main-area {
  background:
    radial-gradient(ellipse at 92% 8%, rgb(120 202 220 / 28%), transparent 34%),
    linear-gradient(135deg, #e4f5f8 0%, #eaf5fa 54%, #eef4fa 100%);
}

.topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid #0d567e;
  background: linear-gradient(105deg, #163d79 0%, #175d91 58%, #087d87 100%);
  color: #fff;
  backdrop-filter: blur(14px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4e6f7;
  font-size: 12px;
}

.breadcrumb strong {
  color: #fff;
  font-weight: 600;
}

.breadcrumb-slash {
  color: #9fc8dc;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-box {
  display: flex;
  width: 214px;
  height: 37px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 9px;
  background: rgb(255 255 255 / 12%);
  color: #e3f2fb;
}

.workspace-search-results:not([hidden]) {
  position: absolute;
  z-index: 20;
  top: calc(100% - 5px);
  right: 38px;
  display: grid;
  width: min(380px, calc(100vw - 24px));
  max-height: min(60vh, 420px);
  gap: 4px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.workspace-search-results > strong {
  padding: 4px 8px 7px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.workspace-search-results > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 8px;
  border-radius: 8px;
}

.workspace-search-results > a:hover,
.workspace-search-results > a:focus-visible {
  background: var(--canvas);
}

.workspace-search-results > a small,
.workspace-search-results > p {
  color: var(--muted);
  font-size: 12px;
}

.search-box .icon {
  width: 17px;
  height: 17px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
}

.search-box input::placeholder {
  color: #d2e3ef;
}

.search-box kbd {
  padding: 2px 4px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 4px;
  color: #d2e3ef;
  font-size: 9px;
  white-space: nowrap;
}

.icon-button {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #65758a;
}

.icon-button:hover {
  background: #f2f5f9;
}

.topbar .icon-button {
  color: #fff;
}

.topbar .icon-button:hover {
  background: rgb(255 255 255 / 16%);
}

.notification-button .icon {
  width: 19px;
  height: 19px;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border: 1.5px solid white;
  background: #ef7761;
}

.topbar-divider {
  width: 1px;
  height: 26px;
  background: rgb(255 255 255 / 32%);
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  text-decoration: none;
}

.profile-chevron {
  width: 15px;
  color: #d2e3ef;
}

.page-content {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 32px 40px 48px;
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.eyebrow {
  margin: 0 0 5px;
  color: #8390a2;
  font-size: 12px;
}

.page-heading h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.heading-date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  color: #63748b;
  font-size: 11px;
}

.heading-date .icon {
  width: 15px;
  height: 15px;
  color: #8190a3;
}

.placeholder-card {
  display: grid;
  min-height: 300px;
  justify-items: center;
  align-content: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.placeholder-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 15px;
  background: #edf3ff;
  color: var(--blue);
}

.placeholder-card h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.placeholder-card p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.splash-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr 0.92fr;
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.splash-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 35px 7vw 25px;
}

.splash-brand .brand-logo {
  width: 128px;
}

.splash-main {
  width: min(100%, 540px);
  margin: auto 0;
  padding: 50px 0;
}

.splash-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 100px;
  background: rgb(255 255 255 / 5%);
  color: #c1cedc;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.05px;
}

.splash-pill > span,
.live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61d4c8;
  box-shadow: 0 0 12px rgb(97 212 200 / 55%);
}

.splash-main h1 {
  margin: 25px 0 15px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5.2vw, 66px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.08;
}

.splash-main h1 span {
  color: #6bd1c6;
}

.splash-main > p {
  max-width: 435px;
  margin: 0 0 27px;
  color: #b2c0d1;
  font-size: 15px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button .icon {
  width: 17px;
  height: 17px;
}

.button-white {
  background: white;
  color: var(--navy);
  box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

.button-white:hover {
  background: #eaf8f6;
}

.splash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button-splash-outline {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 6%);
  color: #fff;
}

.button-splash-outline:hover {
  background: rgb(255 255 255 / 14%);
}

.splash-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 35px;
  color: #b2c0d1;
  font-size: 10px;
}

.trust-avatars {
  display: flex;
  padding-left: 4px;
}

.trust-avatars i {
  display: grid;
  width: 23px;
  height: 23px;
  margin-left: -4px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: #d4e5f4;
  color: #31516d;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.trust-avatars i:nth-child(2) {
  background: #f3d6c7;
}

.trust-avatars i:nth-child(3) {
  background: #d4e5d9;
}

.trust-separator {
  color: #65809e;
}

.splash-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8da0b7;
  font-size: 10px;
}

.splash-art {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #18385b, #122b49 68%, #183852);
}

.art-glow {
  position: absolute;
  width: min(72vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgb(119 177 207 / 12%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(63 122 158 / 19%), rgb(16 37 66 / 0%) 68%);
}

.art-glow::before,
.art-glow::after {
  position: absolute;
  inset: 11%;
  border: 1px solid rgb(119 177 207 / 10%);
  border-radius: 50%;
  content: "";
}

.art-glow::after {
  inset: 23%;
}

.learning-card {
  position: relative;
  z-index: 1;
  width: min(390px, 72%);
  padding: 23px;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 20px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  box-shadow: 0 35px 85px rgb(0 0 0 / 25%);
  color: var(--ink);
  transform: rotate(-2deg);
}

.learning-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #758398;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.live-badge i {
  width: 6px;
  height: 6px;
  background: #16a286;
}

.card-more {
  color: #9aa7b7;
}

.card-more .icon {
  width: 18px;
  height: 18px;
}

.learning-avatar {
  display: grid;
  width: 39px;
  height: 39px;
  margin-top: 24px;
  place-items: center;
  border-radius: 13px;
  background: #e3f3ef;
  color: #148d79;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.card-welcome {
  margin: 17px 0 5px;
  color: #8a96a6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.15px;
}

.learning-card h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.25;
}

.card-course {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e7edf3;
  border-radius: 12px;
}

.course-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.math-icon {
  background: #fff2db;
  color: #c98722;
  font-size: 16px;
}

.card-course > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 4px;
}

.card-course small {
  color: #8b98a8;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.65px;
}

.card-course strong {
  color: var(--navy);
  font-size: 11px;
}

.course-arrow {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #f1f5fa;
  color: #60738a;
}

.course-arrow .icon {
  width: 15px;
  height: 15px;
}

.card-progress {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.card-progress > span {
  color: #8b98a8;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.card-progress strong {
  color: #44556b;
  font-size: 10px;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #e9eef4;
}

.progress-track i {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: #39ad9d;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 13px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 12px 35px rgb(3 19 38 / 18%);
  color: var(--ink);
}

.note-top {
  top: 17%;
  left: 0;
  transform: translateX(-6%) rotate(-3deg);
}

.note-bottom {
  right: 2%;
  bottom: 19%;
  transform: rotate(2deg);
}

.note-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
}

.note-icon .icon {
  width: 17px;
  height: 17px;
}

.note-icon.teal {
  background: #e2f5f0;
  color: #128873;
}

.note-icon.purple {
  background: #f0eaff;
  color: #7e5bc6;
}

.floating-note > span:last-child {
  display: grid;
  gap: 4px;
}

.floating-note strong {
  font-size: 10px;
}

.floating-note small {
  color: #7f8b9a;
  font-size: 9px;
}

.art-decoration {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #56c5b5;
  opacity: 0.65;
  transform: rotate(35deg);
}

.decoration-one {
  top: 28%;
  right: 15%;
}

.decoration-two {
  bottom: 29%;
  left: 14%;
  width: 7px;
  height: 7px;
  background: #f3c58f;
}

.splash-orbit {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgb(255 255 255 / 3%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -210px;
  left: 38%;
}

.orbit-two {
  right: 42%;
  bottom: -245px;
  width: 390px;
  height: 390px;
}

.auth-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  background: #f3f7fb;
}

.auth-brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 35px clamp(28px, 5vw, 75px);
  overflow: hidden;
  background: linear-gradient(145deg, #10243d, #173b60 66%, #1c5964);
  color: white;
}

.auth-brand-panel::after {
  position: absolute;
  right: -160px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 1px solid rgb(112 185 190 / 13%);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgb(112 185 190 / 3%), 0 0 0 100px rgb(112 185 190 / 2%);
  content: "";
}

.auth-brand-panel > .brand {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding: 0;
}

.auth-brand-panel .brand-logo {
  width: min(100%, 168px);
}

.auth-quote {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: auto 0;
  padding: 50px 0;
}

.quote-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 13px;
  background: rgb(107 209 198 / 13%);
  color: #71d4c9;
  font-size: 24px;
}

.auth-quote h2 {
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(27px, 3.2vw, 39px);
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1.2;
}

.auth-quote p {
  max-width: 350px;
  margin: 0;
  color: #b4c3d4;
  font-size: 14px;
  line-height: 1.7;
}

.auth-panel-footer {
  position: relative;
  z-index: 1;
  color: #8fa2b9;
  font-size: 11px;
}

.auth-form-panel {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 38px clamp(22px, 4vw, 58px);
  background: linear-gradient(145deg, #f8fafc, #edf3fa);
}

.auth-form-wrap {
  width: min(100%, 500px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(23 45 74 / 9%);
}

.auth-mobile-brand {
  display: none;
}

.auth-form-wrap > .eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.auth-form-wrap h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
}

.auth-subtitle {
  margin: 9px 0 27px;
  color: #718096;
  font-size: 13px;
  line-height: 1.6;
}

.portal-choice-list {
  display: grid;
  gap: 11px;
}

.portal-choice-card {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  color: #64748b;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.portal-choice-card:nth-child(3n + 2) {
  background: var(--card-surface-teal);
}

.portal-choice-card:nth-child(3n + 3) {
  background: var(--card-surface-cyan);
}

.portal-choice-card:hover {
  transform: translateY(-1px);
  border-color: #bdcfea;
  background: #c2d9f8;
}

.portal-choice-card > .icon:first-child {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.portal-choice-card > .icon:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.portal-choice-card > span {
  display: grid;
  gap: 4px;
}

.portal-choice-card strong {
  color: var(--navy);
  font-size: 13px;
}

.portal-choice-card small {
  color: #7b899b;
  font-size: 10px;
  line-height: 1.4;
}

.portal-choice-admin {
  min-height: 58px;
  background: var(--card-surface-violet);
}

.auth-form-wrap > .back-link {
  margin-bottom: 20px;
}

.auth-feedback:empty {
  display: none;
}

.auth-feedback:not(:empty) {
  padding: 9px 11px;
  border: 1px solid #f1c7c7;
  border-radius: 8px;
  background: #fff5f5;
  color: #9c3d3d;
}

.demo-accounts {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid #e4eaf2;
  border-radius: 11px;
  background: #f7f9fc;
}

.demo-accounts-heading {
  display: grid;
  gap: 3px;
  margin-bottom: 2px;
}

.demo-accounts-heading strong {
  color: #33465e;
  font-size: 11px;
}

.demo-accounts-heading small {
  color: #7a8798;
  font-size: 9px;
}

.demo-account-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e7ebf1;
}

.demo-account-row > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.demo-account-row strong {
  color: #41536a;
  font-size: 9px;
}

.demo-account-row small {
  overflow-wrap: anywhere;
  color: #7d8999;
  font-size: 8px;
}

.demo-account-row .text-link {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #dbe5f2;
  border-radius: 7px;
  background: #fff;
  font-size: 9px;
}

.auth-demo-banner {
  margin: 0 0 18px;
  font-size: 10px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form > label,
.form-row > label {
  display: grid;
  gap: 8px;
  color: #34445a;
  font-size: 11px;
  font-weight: 700;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}

.auth-form select {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}

.auth-form input::placeholder {
  color: #a0aabb;
}

.password-label {
  display: flex;
  justify-content: space-between;
}

.password-label a,
.auth-switch a,
.auth-legal a {
  color: var(--blue);
  font-weight: 600;
}

.remember-row {
  display: flex !important;
  align-items: flex-start;
  gap: 9px !important;
  color: #65758a !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.remember-row input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--blue);
}

.dual-educator-signup,
.educator-role-toggle {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: start;
  gap: 7px 9px;
  color: #455970;
  font-size: 12px;
}

.dual-educator-signup input,
.educator-role-toggle input {
  grid-row: span 2;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.dual-educator-signup small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.educator-otp-resend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.educator-verification-status {
  display: grid;
  gap: 14px;
}

.educator-onboarding-panel {
  display: grid;
  gap: 16px;
}

.educator-profile-form {
  display: grid;
  gap: 14px;
}

.educator-confirmation {
  align-items: start;
}

.educator-application-list {
  display: grid;
  gap: 14px;
}

.educator-application-card {
  display: grid;
  gap: 14px;
}

.educator-profile-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #f8faff;
}

.educator-profile-section legend {
  padding: 0 6px;
  color: #34445a;
  font-size: 13px;
  font-weight: 700;
}

.educator-profile-section > .field-hint,
.educator-profile-section small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.educator-review-details {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  background: #f8faff;
}

.educator-review-details > summary {
  color: #34445a;
  font-weight: 700;
  cursor: pointer;
}

.educator-review-details section h4 {
  margin: 14px 0 8px;
  color: #34445a;
}

.educator-application-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}

.educator-application-details p {
  margin: 0;
  color: #52647a;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.educator-review-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.educator-review-form .mock-feedback {
  grid-column: 1 / -1;
  font-weight: 400;
}

@media (max-width: 700px) {
  .educator-application-details,
  .educator-review-form {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}

.notification-unread {
  border-left: 3px solid var(--blue);
  padding-left: 10px;
}

.support-ticket {
  margin-top: 12px;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 6px 14px rgb(37 99 235 / 17%);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-full {
  width: 100%;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 15px;
  color: #9aa5b4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.auth-separator::before,
.auth-separator::after {
  height: 1px;
  flex: 1;
  background: #e9edf2;
  content: "";
}

.button-outline {
  border-color: #dce3ec;
  background: #fff;
  color: #33445b;
}

.button-outline:hover {
  background: #f8faff;
}

.auth-legal {
  margin: 18px 0 0;
  color: #9aa5b4;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.auth-switch {
  margin: 18px 0 0;
  color: #718096;
  font-size: 12px;
  text-align: center;
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #63748b;
  font-size: 12px;
  font-weight: 600;
}

.back-link:hover {
  color: var(--blue);
}

.form-feedback {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  line-height: 1.5;
}

.welcome-banner {
  position: relative;
  display: flex;
  min-height: 223px;
  align-items: center;
  overflow: hidden;
  padding: 28px 34px;
  border-radius: 17px;
  background: linear-gradient(105deg, #173b60, #1b5270 70%, #207b7c);
  color: white;
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.banner-kicker {
  color: #a7d8d3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.welcome-copy h2 {
  max-width: 510px;
  margin: 10px 0 7px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 700;
  letter-spacing: -0.8px;
}

.welcome-copy p {
  max-width: 440px;
  margin: 0 0 17px;
  color: #c7d8e2;
  font-size: 12px;
  line-height: 1.6;
}

.welcome-copy .button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 11px;
}

.welcome-copy .button .icon {
  width: 14px;
  height: 14px;
}

.welcome-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  overflow: hidden;
  opacity: 0.9;
}

.welcome-sun {
  position: absolute;
  top: 27px;
  right: 65px;
  width: 90px;
  height: 90px;
  border: 1px solid rgb(233 228 182 / 28%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(228 214 156 / 50%), rgb(228 214 156 / 9%) 72%);
}

.welcome-hill {
  position: absolute;
  right: -40px;
  bottom: -90px;
  width: 420px;
  height: 190px;
  border-radius: 50% 50% 0 0;
  transform: rotate(-12deg);
}

.hill-back {
  right: 50px;
  bottom: -115px;
  background: rgb(48 153 145 / 42%);
  transform: rotate(13deg);
}

.hill-front {
  background: rgb(42 130 134 / 58%);
}

.welcome-star {
  position: absolute;
  color: #d0dca9;
  font-size: 18px;
}

.star-one {
  top: 42px;
  right: 40%;
}

.star-two {
  top: 85px;
  right: 22%;
  color: #f0d9a0;
  font-size: 12px;
}

.welcome-book {
  position: absolute;
  right: 28%;
  bottom: 34px;
  display: grid;
  width: 51px;
  height: 39px;
  place-items: center;
  border: 2px solid rgb(255 255 255 / 57%);
  border-radius: 4px 10px 10px 4px;
  color: rgb(255 255 255 / 82%);
  font-size: 22px;
  transform: rotate(-9deg);
}

.sample-banner {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0 17px;
  padding: 10px 12px;
  border: 1px solid #d9e8f7;
  border-radius: 9px;
  background: #f0f7ff;
  color: #4b6684;
  font-size: 10px;
  line-height: 1.5;
}

.sample-banner .icon {
  width: 15px;
  height: 15px;
  color: #4778b7;
}

.stat-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.panel {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.stat-card {
  min-width: 0;
  padding: 15px;
}

.stat-grid > .stat-card:nth-child(4n + 2) {
  background: var(--card-surface-teal);
}

.stat-grid > .stat-card:nth-child(4n + 3) {
  background: var(--card-surface-cyan);
}

.stat-grid > .stat-card:nth-child(4n + 4) {
  background: var(--card-surface-indigo);
}

.stat-grid > .stat-card:nth-child(5n + 5) {
  background: var(--card-surface-violet);
}

.dashboard-grid > .panel:nth-child(2),
.lower-grid > .panel:nth-child(2),
.lesson-rail > .panel:nth-child(2),
.tutor-rail > .panel:nth-child(2),
.plan-overview > .panel:nth-child(2) {
  background: var(--card-surface-teal);
}

.lower-grid > .panel:nth-child(1) {
  background: var(--card-surface-cyan);
}

.assessment-note {
  background: var(--card-surface-teal);
}

.spec-main-column > .spec-record-panel {
  background: var(--card-surface);
}

.spec-side-column > .spec-context {
  background: var(--card-surface-teal);
}

.spec-side-column > .spec-related {
  background: var(--card-surface-cyan);
}

.plan-overview > .plan-week {
  background: var(--card-surface-violet);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
}

.stat-icon .icon {
  width: 16px;
  height: 16px;
}

.stat-blue {
  background: var(--card-icon-blue);
  color: white;
}

.stat-teal {
  background: var(--card-icon-teal);
  color: white;
}

.stat-gold {
  background: var(--card-icon-cyan);
  color: white;
}

.stat-purple {
  background: var(--card-icon-indigo);
  color: white;
}

.stat-grid > .stat-card:nth-child(4n + 2) .stat-icon {
  background: var(--card-icon-teal);
  color: white;
}

.stat-grid > .stat-card:nth-child(4n + 3) .stat-icon {
  background: var(--card-icon-cyan);
  color: white;
}

.stat-grid > .stat-card:nth-child(4n + 4) .stat-icon {
  background: var(--card-icon-indigo);
  color: white;
}

.stat-grid > .stat-card:nth-child(5n + 5) .stat-icon {
  background: var(--card-icon-violet);
  color: white;
}

.stat-trend {
  color: #99a4b2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.55px;
}

.trend-good {
  color: #19896f;
}

.stat-value {
  display: block;
  margin-top: 13px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.stat-value > span {
  color: #708096;
  font-size: 13px;
  font-weight: 600;
}

.stat-label {
  display: block;
  margin-top: 1px;
  color: #55677e;
  font-size: 10px;
}

.stat-foot {
  margin-top: 12px;
  color: #94a0af;
  font-size: 9px;
}

.mini-progress,
.progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf1f5;
}

.mini-progress {
  margin-top: 10px;
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #e2ae55;
}

.dashboard-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.45fr 1fr;
  margin-top: 15px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.section-heading {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.text-link,
.plan-card a,
.chapter-copy a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.text-link .icon,
.chapter-copy a .icon {
  width: 13px;
  height: 13px;
}

.subtle-label {
  color: #99a4b2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.55px;
}

.continue-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  transition: border-color 140ms ease, transform 140ms ease;
}

.continue-card:hover,
.course-card:hover {
  border-color: #b9cff1;
  transform: translateY(-1px);
}

.subject-icon {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.math-subject {
  background: #fff3de;
  color: #b88122;
}

.science-subject {
  background: #e7f5ee;
  color: #329263;
  font-size: 21px;
}

.english-subject {
  background: #f1eaff;
  color: #8060c2;
  font-size: 13px;
}

.computer-subject {
  background: #e7efff;
  color: #426dc1;
  font-size: 12px;
}

.continue-info {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 5px;
}

.continue-info > small,
.course-card-chapter > small {
  color: #8996a7;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.continue-info > strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continue-info > span:not(.lesson-progress) {
  overflow: hidden;
  color: #8491a1;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-progress {
  display: block;
  height: 4px;
  margin-top: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf1f5;
}

.lesson-progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: #3a9f91;
}

.continue-action,
.course-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #edf3ff;
  color: var(--blue);
}

.continue-action .icon {
  width: 15px;
  height: 15px;
}

.up-next {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: #64758b;
  font-size: 9px;
}

.up-next-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e3a53d;
}

.up-next strong {
  color: #3b4d64;
}

.up-next small {
  color: #8b97a6;
}

.up-next a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.up-next a .icon {
  width: 12px;
  height: 12px;
}

.week-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.week-summary > strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.week-summary > strong span {
  color: #78879a;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 400;
}

.week-success {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #16866f;
  font-size: 9px;
  font-weight: 600;
}

.week-success .icon {
  width: 13px;
  height: 13px;
}

.week-days {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 12px;
}

.week-day {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8995a4;
  font-size: 8px;
}

.week-day i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #e6ebf1;
  border-radius: 50%;
  background: #fafbfd;
  color: #b0bac6;
  font-style: normal;
}

.week-day i .icon {
  width: 12px;
  height: 12px;
}

.week-day.day-done i {
  border-color: #d8eee7;
  background: #e7f5ef;
  color: #188970;
}

.week-note {
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
  color: #8491a0;
  font-size: 9px;
}

.lower-grid {
  grid-template-columns: 1.45fr 1fr;
}

.subject-list {
  display: grid;
}

.subject-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #f0f2f5;
}

.subject-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.subject-row .subject-icon {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}

.subject-row-copy,
.subject-row-progress {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.subject-row-copy {
  flex: 1;
}

.subject-row-copy strong,
.subject-row-progress strong {
  overflow: hidden;
  color: #33455d;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subject-row-copy small,
.subject-row-progress small {
  overflow: hidden;
  color: #8995a3;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subject-row-progress {
  text-align: right;
}

.subject-row-progress strong {
  color: #314766;
  font-size: 10px;
}

.row-chevron {
  width: 15px;
  height: 15px;
  color: #9aa6b4;
  transition: transform 140ms ease, color 140ms ease;
}

.subject-row:hover .row-chevron {
  transform: translateX(2px);
  color: var(--blue);
}

.mentor-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-surface);
}

.mentor-avatar,
.tutor-avatar {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #f5e8df;
  color: #946750;
  font-size: 10px;
  font-weight: 700;
}

.mentor-card > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 4px;
}

.mentor-card strong {
  color: #33445b;
  font-size: 10px;
}

.mentor-card small {
  color: #8995a3;
  font-size: 9px;
}

.available-pill,
.tutor-identity small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #19836e;
  font-size: 8px;
  font-weight: 600;
}

.available-pill i,
.tutor-identity small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31a784;
}

.support-panel > p,
.lesson-help-panel > p,
.tutor-rail-card > p {
  color: #77869a;
  font-size: 10px;
  line-height: 1.6;
}

.secondary-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  color: #39577e;
  font-size: 9px;
  font-weight: 700;
}

.secondary-button:hover {
  border-color: #b8cff0;
  background: #f8faff;
}

.secondary-button .icon {
  width: 14px;
  height: 14px;
}

.course-overview {
  padding: 20px;
}

.course-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  display: block;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
  transition: border-color 140ms ease, transform 140ms ease;
}

.course-grid > .course-card:nth-child(4n + 2) {
  background: var(--card-surface-teal);
}

.course-grid > .course-card:nth-child(4n + 3) {
  background: var(--card-surface-cyan);
}

.portal-choice-card:nth-child(3n + 2) > .icon:first-child {
  color: var(--card-icon-teal);
}

.portal-choice-card:nth-child(3n + 3) > .icon:first-child {
  color: var(--card-icon-cyan);
}

.portal-choice-admin > .icon:first-child {
  color: var(--card-icon-violet);
}

.course-grid > .course-card:nth-child(4n + 4) {
  background: var(--card-surface-indigo);
}

.course-grid > .course-card:nth-child(5n + 5) {
  background: var(--card-surface-violet);
}

.course-grid > .course-card:nth-child(1) .subject-icon {
  background: var(--card-icon-blue);
  color: white;
}

.course-grid > .course-card:nth-child(2) .subject-icon {
  background: var(--card-icon-teal);
  color: white;
}

.course-grid > .course-card:nth-child(3) .subject-icon {
  background: var(--card-icon-cyan);
  color: white;
}

.course-grid > .course-card:nth-child(4) .subject-icon {
  background: var(--card-icon-indigo);
  color: white;
}

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.35px;
}

.tag-blue {
  background: #edf3ff;
  color: #3e6eb6;
}

.tag-muted {
  background: #f2f4f7;
  color: #7f8b9a;
}

.course-card h3 {
  margin: 14px 0 4px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.course-card > p {
  min-height: 28px;
  margin: 0;
  color: #8491a1;
  font-size: 9px;
  line-height: 1.5;
}

.course-card-chapter {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
}

.course-card-chapter strong {
  color: #40536c;
  font-size: 10px;
}

.course-card-progress {
  margin-top: 12px;
}

.course-card-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #8290a0;
  font-size: 8px;
}

.course-card-progress strong {
  color: #485d77;
}

.course-card-progress .progress-track {
  height: 4px;
}

.course-card-progress .progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #399e90;
}

.course-card-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.course-card-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 140ms ease;
}

.course-card:hover .course-card-link .icon {
  transform: translateX(2px);
}

.course-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.large-subject {
  width: 59px;
  height: 59px;
  border-radius: 15px;
  font-size: 21px;
}

.course-hero-info {
  flex: 1;
}

.tag-row {
  display: flex;
  gap: 6px;
}

.course-hero-info h2 {
  margin: 8px 0 4px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.course-hero-info > p {
  margin: 0;
  color: #748398;
  font-size: 10px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 13px;
  color: #6f7e91;
  font-size: 9px;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-meta .icon {
  width: 14px;
  height: 14px;
}

.course-hero > .button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 12px;
  font-size: 10px;
}

.chapter-panel,
.objective-panel {
  margin-top: 14px;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-top: 1px solid #eef1f5;
}

.chapter-item:first-of-type {
  border-top: 0;
}

.chapter-state {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #738297;
  font-size: 10px;
  font-weight: 700;
}

.chapter-state .icon {
  width: 15px;
  height: 15px;
}

.chapter-complete .chapter-state {
  border-color: #cfe9df;
  background: #eaf6f1;
  color: #18846d;
}

.chapter-active .chapter-state {
  border-color: #c7d8f5;
  background: #eff4ff;
  color: var(--blue);
}

.chapter-copy {
  display: grid;
  flex: 1;
  gap: 5px;
}

.chapter-copy strong {
  color: #33455d;
  font-size: 11px;
}

.chapter-copy small {
  color: #8995a3;
  font-size: 9px;
}

.chapter-copy a {
  margin-top: 3px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.status-complete {
  background: #e9f5ef;
  color: #16836c;
}

.status-progress {
  background: #eef3ff;
  color: #4771b4;
}

.status-locked {
  background: #f2f4f7;
  color: #818c9a;
}

.objective-list {
  display: grid;
}

.objective-list > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 2px;
  border-top: 1px solid #eef1f5;
  color: #53657c;
  font-size: 10px;
}

.objective-list > div:first-child {
  border-top: 0;
}

.objective-list > div > .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #7990ae;
}

.objective-list > div:first-child > .icon {
  color: #198b71;
}

.objective-level {
  margin-left: auto;
  color: #8793a2;
  font-size: 8px;
  white-space: nowrap;
}

.diagnostic-layout,
.question-layout {
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.7fr);
  align-items: start;
}

.diagnostic-intro {
  padding: 27px;
}

.diagnostic-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 13px;
  background: #edf3ff;
  color: #4778c4;
}

.diagnostic-icon .icon {
  width: 21px;
  height: 21px;
}

.diagnostic-intro h2 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.diagnostic-intro > p {
  max-width: 570px;
  color: #748398;
  font-size: 11px;
  line-height: 1.7;
}

.diagnostic-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.diagnostic-facts > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid #edf0f4;
  border-radius: 10px;
}

.diagnostic-facts > div > .icon {
  width: 16px;
  height: 16px;
  color: #6e83a0;
}

.diagnostic-facts > div > span {
  display: grid;
  gap: 4px;
}

.diagnostic-facts strong {
  color: #42546c;
  font-size: 9px;
}

.diagnostic-facts small {
  color: #8995a3;
  font-size: 8px;
}

.diagnostic-note {
  margin-bottom: 19px;
  padding: 12px;
  border-left: 3px solid #e3b251;
  border-radius: 0 8px 8px 0;
  background: #fff9eb;
  color: #78694d;
  font-size: 10px;
  line-height: 1.6;
}

.diagnostic-note strong {
  color: #645538;
}

.diagnostic-intro > .button {
  min-height: 42px;
  font-size: 10px;
}

.diagnostic-side {
  padding: 19px;
}

.side-kicker {
  color: #8693a3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.85px;
}

.step-list {
  display: grid;
  gap: 17px;
  margin: 19px 0;
}

.step-list > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-list > div > i {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: #4673ba;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.step-list > div > span {
  display: grid;
  gap: 4px;
}

.step-list strong {
  color: #43546b;
  font-size: 9px;
}

.step-list small {
  color: #8793a2;
  font-size: 8px;
}

.small-note,
.demo-disclaimer {
  color: #8b97a6;
  font-size: 9px;
  line-height: 1.6;
}

.question-panel {
  padding: 24px;
}

.question-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #607188;
  font-size: 10px;
  font-weight: 600;
}

.question-total {
  color: #95a1af;
  font-weight: 400;
}

.question-progress {
  height: 5px;
  margin: 14px 0 27px;
  overflow: hidden;
  border-radius: 5px;
  background: #edf0f4;
}

.question-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.question-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.math-text {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f2f5f9;
  color: #2e4b70;
  font-family: Georgia, serif;
  font-size: 1.08em;
  direction: ltr;
  unicode-bidi: isolate;
}

.question-hint {
  color: #8995a4;
  font-size: 10px;
}

.answer-options {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.answer-options label {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border: 1px solid #e5eaf0;
  border-radius: 9px;
  color: #40526a;
  font-size: 12px;
  cursor: pointer;
}

.answer-options label:has(input:checked) {
  border-color: #8fb2ef;
  background: #f5f8ff;
}

.answer-options input {
  accent-color: var(--blue);
}

.option-letter {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: #f1f4f8;
  color: #687a91;
  font-size: 9px;
  font-weight: 700;
}

.question-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.question-actions .button,
.question-actions .secondary-button {
  min-height: 40px;
  font-size: 10px;
}

.question-actions .secondary-button {
  padding: 0 13px;
}

.question-panel .demo-disclaimer {
  margin-bottom: 0;
  text-align: center;
}

.question-aside p {
  color: #758499;
  font-size: 10px;
  line-height: 1.7;
}

.question-aside > .icon {
  width: 26px;
  height: 26px;
  margin-top: 12px;
  color: #5c82be;
}

.lesson-layout,
.tutor-layout {
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 1.65fr) minmax(210px, 0.65fr);
  align-items: start;
}

.lesson-reader {
  padding: 22px 25px 0;
}

.lesson-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

.lesson-toolbar .back-link {
  margin: 0;
  font-size: 10px;
}

.lesson-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 25px 0;
}

.lesson-kicker {
  color: #5b7dad;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.9px;
}

.lesson-body h2 {
  margin: 9px 0 10px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.3;
}

.lesson-lead {
  color: #65768c;
  font-size: 12px;
  line-height: 1.8;
}

.lesson-body h3 {
  margin: 23px 0 8px;
  color: #30435c;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.lesson-body > p:not(.lesson-lead, .source-reference) {
  color: #63748a;
  font-size: 11px;
  line-height: 1.8;
}

.lesson-callout {
  display: flex;
  gap: 11px;
  margin: 18px 0;
  padding: 13px;
  border: 1px solid #e3eaf4;
  border-radius: 10px;
  background: #f6f9ff;
}

.lesson-callout > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #e6efff;
  color: #557dc2;
}

.lesson-callout > span .icon {
  width: 15px;
  height: 15px;
}

.lesson-callout p {
  margin: 0;
  color: #64758b;
  font-size: 10px;
  line-height: 1.65;
}

.lesson-callout strong {
  color: #435b7d;
}

.callout-teal {
  border-color: #d7eee8;
  background: #f0faf7;
}

.callout-teal > span {
  background: #e0f3ed;
  color: #188a72;
}

.callout-teal strong {
  color: #287461;
}

.worked-example {
  display: grid;
  gap: 11px;
  padding: 15px;
  border: 1px solid #e9edf3;
  border-radius: 10px;
  background: #fcfdff;
}

.worked-example > div {
  display: grid;
  align-items: center;
  gap: 9px;
  grid-template-columns: 23px 1fr auto;
  color: #66768a;
  font-size: 10px;
}

.step-number {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: #4c76b8;
  font-size: 9px;
  font-weight: 700;
}

.worked-example strong {
  color: #314765;
  font-size: 12px;
}

.source-reference {
  margin-top: 18px;
  color: #8d99a8;
  font-size: 8px;
  line-height: 1.6;
}

.lesson-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid #edf0f4;
  color: #8290a0;
  font-size: 9px;
}

.lesson-footer .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 9px;
}

.lesson-rail {
  display: grid;
  gap: 13px;
}

.lesson-progress-panel,
.lesson-help-panel {
  padding: 16px;
}

.progress-ring {
  display: grid;
  width: 83px;
  height: 83px;
  margin: 13px auto 9px;
  place-content: center;
  justify-items: center;
  border: 6px solid #edf3ff;
  border-top-color: #5c85cd;
  border-right-color: #5c85cd;
  border-radius: 50%;
}

.progress-ring strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
}

.progress-ring strong span {
  color: #8996a6;
  font-size: 10px;
}

.progress-ring small {
  color: #8996a6;
  font-size: 8px;
}

.lesson-progress-panel > p {
  color: #8290a1;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.lesson-progress-panel > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.lesson-progress-panel > a .icon {
  width: 13px;
  height: 13px;
}

.lesson-help-panel .section-heading {
  margin-bottom: 8px;
}

.lesson-help-panel .secondary-button {
  width: 100%;
}

.plain-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
  color: #5276a8;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.plain-link .icon {
  width: 13px;
  height: 13px;
  transition: transform 140ms ease;
}

.plain-link:hover .icon {
  transform: translateX(2px);
}

.tutor-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(210px, 0.65fr);
}

.tutor-panel {
  padding: 0;
  overflow: hidden;
}

.tutor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 17px;
  border-bottom: 1px solid #edf0f4;
}

.tutor-identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tutor-avatar {
  width: 35px;
  height: 35px;
  background: #e9eaff;
  color: #6552ae;
}

.tutor-identity > span:last-child {
  display: grid;
  gap: 4px;
}

.tutor-identity strong {
  color: #30425b;
  font-size: 11px;
}

.tutor-identity small {
  color: #71879b;
  font-size: 8px;
  font-weight: 500;
}

.tutor-identity small i {
  width: 5px;
  height: 5px;
}

.tutor-context {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-bottom: 1px solid #edf0f4;
  background: #fbfcfe;
  color: #76859a;
  font-size: 8px;
}

.tutor-context > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4b6687;
  font-size: 8px;
  font-weight: 700;
}

.tutor-context .icon {
  width: 13px;
  height: 13px;
}

.tutor-context button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #5275a6;
  font-size: 8px;
  font-weight: 600;
}

.tutor-chat {
  display: grid;
  max-height: 470px;
  gap: 17px;
  padding: 18px 17px;
  overflow-y: auto;
}

.chat-date {
  color: #9aa5b3;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-align: center;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.student-message {
  flex-direction: row-reverse;
}

.chat-avatar {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #eeeaff;
  color: #6853b0;
  font-size: 8px;
  font-weight: 700;
}

.student-message .chat-avatar {
  background: #e6f0ff;
  color: #426ba8;
}

.chat-row > div {
  max-width: min(90%, 500px);
}

.student-message > div {
  text-align: right;
}

.chat-row > div > small {
  display: block;
  margin: 0 0 5px 2px;
  color: #95a0ae;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.student-message > div > small {
  margin-right: 2px;
}

.chat-bubble {
  padding: 10px 12px;
  border: 1px solid #e7ebf1;
  border-radius: 3px 12px 12px 12px;
  background: #fbfcfe;
  color: #506178;
  font-size: 10px;
  line-height: 1.7;
  text-align: left;
}

.student-message .chat-bubble {
  display: inline-block;
  border-color: #dce8fb;
  border-radius: 12px 3px 12px 12px;
  background: #f1f6ff;
}

.math-worked {
  margin: 9px 0;
  padding: 8px 10px;
  border-left: 2px solid #9cb6e0;
  background: #f4f7fc;
  color: #435670;
  direction: ltr;
  font-family: Georgia, serif;
  line-height: 1.8;
  unicode-bidi: isolate;
}

.math-worked mark {
  border-radius: 3px;
  background: #fff0c9;
  color: #735e2e;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  padding: 5px 7px;
  border: 1px solid #e4eaf2;
  border-radius: 6px;
  color: #72839a;
  font-size: 7px;
}

.source-chip .icon {
  width: 11px;
  height: 11px;
}

.source-chip .icon:last-child {
  color: #13876e;
}

.message-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.message-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8290a0;
  font-size: 8px;
}

.message-actions .icon {
  width: 12px;
  height: 12px;
}

.chat-composer {
  display: flex;
  align-items: end;
  gap: 9px;
  margin: 0 17px;
  padding: 8px 8px 8px 12px;
  border: 1px solid #dfe6ee;
  border-radius: 10px;
  background: white;
}

.chat-composer textarea {
  min-height: 34px;
  max-height: 90px;
  flex: 1;
  resize: vertical;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.6;
}

.chat-composer textarea::placeholder {
  color: #9aa5b2;
}

.send-button {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
}

.send-button:hover {
  background: var(--blue-dark);
}

.send-button .icon {
  width: 16px;
  height: 16px;
}

.tutor-disclaimer {
  margin: 9px 17px 14px;
  color: #99a3af;
  font-size: 8px;
  line-height: 1.55;
  text-align: center;
}

.tutor-rail {
  display: grid;
  gap: 12px;
}

.tutor-rail-card {
  padding: 15px;
}

.tutor-rail-card > p {
  margin: 0 0 12px;
}

.prompt-list {
  display: grid;
  gap: 6px;
}

.prompt-list button {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #fff;
  color: #576a82;
  font-size: 9px;
  text-align: left;
}

.prompt-list button:hover {
  border-color: #cbdaf1;
  background: #f8faff;
}

.prompt-list button > span {
  flex: 1;
}

.prompt-list button > .icon:first-child {
  color: var(--blue);
}

.prompt-list .icon {
  width: 13px;
  height: 13px;
  color: #7489a6;
}

.prompt-list button:hover > .icon:last-child {
  transform: translateX(2px);
}

.context-detail {
  display: grid;
  gap: 6px;
}

.context-detail small {
  margin-top: 4px;
  color: #95a0ae;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.context-detail strong {
  color: #53657c;
  font-size: 9px;
  font-weight: 600;
}

.context-detail .status-chip {
  justify-self: start;
  font-size: 7px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5475a3;
  font-size: 9px;
  font-weight: 600;
}

.support-link .icon {
  width: 15px;
  height: 15px;
}

.practice-header {
  margin-bottom: 14px;
  padding: 19px 22px;
  background: var(--card-surface);
}

.practice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5477ad;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.practice-badge .icon {
  width: 14px;
  height: 14px;
}

.practice-header h2,
.assessment-intro h2,
.plan-intro h2,
.support-intro h2 {
  margin: 8px 0 4px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.55px;
}

.practice-header > p,
.assessment-intro p,
.plan-intro p,
.support-intro p {
  margin: 0;
  color: #79879a;
  font-size: 10px;
  line-height: 1.65;
}

.practice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  color: #77869a;
  font-size: 8px;
}

.practice-meta > span:not(.tag) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.practice-meta .icon {
  width: 13px;
  height: 13px;
}

.practice-layout {
  margin-top: 0;
}

.hint-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f4f2ff;
  color: #7866ad;
  font-size: 9px;
}

.hint-box .icon {
  width: 15px;
  height: 15px;
}

.hint-box strong {
  color: #665299;
}

.inline-feedback {
  min-height: 15px;
  margin: 8px 0;
  color: #527295;
  font-size: 9px;
  line-height: 1.5;
}

.practice-side h3 {
  margin: 13px 0 6px;
  color: #3a4f6a;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
}

.practice-side p {
  color: #7c8999;
  font-size: 9px;
  line-height: 1.6;
}

.practice-equation {
  margin: 13px 0;
  padding: 12px;
  border: 1px solid #e9edf3;
  border-radius: 9px;
  background: #fbfcfe;
  color: #354f71;
  direction: ltr;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 2;
  unicode-bidi: isolate;
}

.practice-equation span {
  color: #8b97a7;
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
}

.practice-equation strong {
  color: #17816c;
}

.plan-overview {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.plan-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: var(--card-surface);
}

.plan-intro > div:first-child {
  position: relative;
  padding-left: 48px;
}

.plan-icon-large {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #e7efff;
  color: #4e77ba;
}

.plan-icon-large .icon {
  width: 18px;
  height: 18px;
}

.plan-intro h2 {
  margin-top: 6px;
  font-size: 17px;
}

.plan-intro p {
  max-width: 530px;
}

.plan-hours {
  display: grid;
  justify-items: end;
  gap: 3px;
  flex: 0 0 auto;
}

.plan-hours strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
}

.plan-hours strong small {
  color: #687b92;
  font-size: 12px;
}

.plan-hours > span {
  color: #8491a2;
  font-size: 8px;
}

.plan-week {
  padding: 19px;
}

.plan-day {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 9px 7px;
  border-top: 1px solid #edf0f4;
}

.plan-today {
  margin: 0 -7px;
  padding-right: 7px;
  padding-left: 7px;
  border-radius: 9px;
  background: #f6f9ff;
}

.day-date {
  display: grid;
  width: 32px;
  flex: 0 0 auto;
  justify-items: center;
  gap: 2px;
  color: #8b97a6;
  font-size: 7px;
  font-weight: 700;
}

.day-date small {
  color: #51647d;
  font-size: 12px;
  font-weight: 600;
}

.day-mark {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e5eaf0;
  border-radius: 9px;
  background: white;
  color: #6881a3;
}

.day-mark .icon {
  width: 15px;
  height: 15px;
}

.mark-done {
  border-color: #d6ece4;
  background: #eaf6f1;
  color: #18846d;
}

.day-task {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.day-task strong {
  overflow: hidden;
  color: #40536c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-task small {
  color: #8a96a5;
  font-size: 8px;
}

.plan-day > .text-link {
  white-space: nowrap;
}

.plan-footnote {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #8995a3;
  font-size: 9px;
  line-height: 1.6;
}

.plan-footnote .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #7287a4;
}

.assessment-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.assessment-intro h2 {
  margin-top: 5px;
}

.assessment-intro .eyebrow {
  color: #7487a2;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.assessment-panel {
  padding: 20px;
}

.assessment-row {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #edf0f4;
}

.assessment-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
}

.assessment-icon .icon {
  width: 18px;
  height: 18px;
}

.assess-blue {
  background: #edf3ff;
  color: #4d76ba;
}

.assess-teal {
  background: #e9f6f1;
  color: #23886c;
}

.assess-gold {
  background: #fff5e4;
  color: #bd862d;
}

.assessment-info {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.assessment-info .tag {
  justify-self: start;
  min-height: 17px;
  font-size: 7px;
}

.assessment-info strong {
  overflow: hidden;
  color: #354961;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assessment-info small {
  overflow: hidden;
  color: #8793a1;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assessment-status {
  color: #8793a2;
  font-size: 8px;
  white-space: nowrap;
}

.assessment-row > .secondary-button {
  min-height: 32px;
  font-size: 8px;
}

.assessment-row > .plain-link {
  flex: 0 0 auto;
  margin: 0;
}

.assessment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  border-color: #dce9f4;
  background: #f7fbff;
}

.assessment-note > .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #5e81ad;
}

.assessment-note > span {
  display: grid;
  gap: 4px;
}

.assessment-note strong {
  color: #506681;
  font-size: 9px;
}

.assessment-note small {
  color: #7e8da0;
  font-size: 9px;
  line-height: 1.6;
}

.timed-test {
  max-width: 760px;
  margin: 0 auto;
  padding: 23px;
}

.test-top,
.test-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.test-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8290a0;
  font-size: 9px;
}

.test-timer .icon {
  width: 14px;
  height: 14px;
}

.test-count {
  margin-top: 21px;
  color: #4d6d9d;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.75px;
}

.test-count span {
  color: #98a3b1;
}

.timed-test h2 {
  margin: 9px 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  line-height: 1.5;
}

.timed-test .answer-options {
  margin: 17px 0 20px;
}

.test-footer {
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}

.test-footer > span {
  color: #8a96a5;
  font-size: 8px;
}

.test-footer .button,
.test-footer .secondary-button {
  min-height: 37px;
  font-size: 9px;
}

.result-banner {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border: 1px solid #dcebe6;
  border-radius: 13px;
  background: linear-gradient(110deg, #f4fbf8, #fff);
}

.result-icon {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: #e1f3eb;
  color: #16826a;
}

.result-icon .icon {
  width: 21px;
  height: 21px;
}

.result-banner h2 {
  margin: 6px 0 3px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.result-banner p {
  margin: 0;
  color: #77879a;
  font-size: 9px;
  line-height: 1.6;
}

.result-summary {
  display: flex;
  gap: 24px;
  margin-top: 13px;
  padding: 18px;
}

.result-score {
  display: grid;
  min-width: 135px;
  justify-items: center;
  align-content: center;
  gap: 5px;
}

.result-score > span:first-child,
.result-details small {
  color: #8a96a5;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.result-score > strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 30px;
}

.result-score > strong small {
  color: #8492a3;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.result-divider {
  width: 1px;
  background: #edf0f4;
}

.result-details {
  display: grid;
  gap: 9px;
}

.result-details > div {
  display: grid;
  gap: 4px;
}

.result-details strong {
  color: #4a5d75;
  font-size: 9px;
}

.review-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 3px;
  border-radius: 50%;
  background: #d49b41;
  vertical-align: middle;
}

.result-details > p {
  margin: 2px 0 0;
  color: #8692a1;
  font-size: 8px;
}

.result-review,
.answer-review {
  margin-top: 13px;
}

.next-step {
  display: flex;
  align-items: center;
  gap: 11px;
}

.next-step > span:nth-child(2) {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.next-step strong {
  color: #3d5068;
  font-size: 10px;
}

.next-step small {
  color: #8793a2;
  font-size: 8px;
}

.next-step .button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 8px;
}

.review-question,
.evidence-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf0f4;
}

.review-mark,
.event-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #e9f5ef;
  color: #16826a;
}

.review-mark .icon,
.event-icon .icon {
  width: 14px;
  height: 14px;
}

.review-question > span:nth-child(2),
.evidence-event > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 4px;
}

.review-question strong,
.evidence-event strong {
  color: #45586f;
  font-size: 9px;
}

.review-question small,
.evidence-event small {
  color: #8b97a5;
  font-size: 8px;
}

.result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.result-actions .secondary-button {
  min-height: 35px;
}

.result-actions .text-link {
  font-size: 9px;
}

.progress-summary-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: 2fr 1fr 1fr;
}

.progress-score-card {
  padding: 18px;
}

.progress-score-card .eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.progress-score-card h2 {
  margin: 5px 0;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.progress-score-card > p {
  margin: 0;
  color: #8491a1;
  font-size: 9px;
  line-height: 1.6;
}

.evidence-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 13px;
}

.evidence-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #748398;
  font-size: 8px;
}

.evidence-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-verified {
  background: #31a27d;
}

.legend-pending {
  background: #d9a64c;
}

.progress-stat {
  display: grid;
  justify-items: start;
  align-content: center;
  padding: 16px;
}

.progress-stat > strong {
  margin-top: 8px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 23px;
}

.progress-stat > small {
  color: #77869a;
  font-size: 8px;
  line-height: 1.5;
}

.progress-stat em {
  color: #9aa4b0;
  font-size: 7px;
  font-style: normal;
}

.mastery-panel {
  margin-top: 14px;
  padding: 19px;
}

.mastery-row {
  display: grid;
  align-items: center;
  gap: 9px 11px;
  grid-template-columns: 8px minmax(150px, 1fr) auto minmax(70px, 0.7fr) auto;
  padding: 13px 0;
  border-top: 1px solid #edf0f4;
}

.mastery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mastery-strong {
  background: #2f9a78;
}

.mastery-growing {
  background: #d7a344;
}

.mastery-pending {
  background: #9ca9b7;
}

.mastery-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.mastery-info strong {
  overflow: hidden;
  color: #43556c;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mastery-info small {
  overflow: hidden;
  color: #8a96a4;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mastery-level {
  color: #61738a;
  font-size: 8px;
}

.mastery-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #edf0f4;
}

.mastery-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3d9f81;
}

.mastery-row:nth-of-type(3) .mastery-bar i {
  background: #d2a14b;
}

.mastery-row:nth-of-type(4) .mastery-bar i {
  background: #a8b4c2;
}

.evidence-label {
  color: #8995a3;
  font-size: 7px;
  white-space: nowrap;
}

.evidence-event {
  padding: 9px 0;
}

.event-pending {
  background: #fff5e3;
  color: #b6832d;
}

.family-report-card > p {
  color: #7d8a9b;
  font-size: 9px;
  line-height: 1.65;
}

.family-report-card .secondary-button {
  margin-top: 5px;
  font-size: 8px;
}

.family-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.family-header > .avatar {
  width: 46px;
  height: 46px;
}

.family-header > span:nth-child(2) {
  flex: 1;
}

.family-header > span:nth-child(2) > small {
  color: #8491a1;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.family-header h2 {
  margin: 4px 0 2px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.family-header p {
  margin: 0;
  color: #8592a1;
  font-size: 8px;
}

.report-grid {
  grid-template-columns: 1.35fr 1fr;
}

.report-stat-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0 14px;
  border-bottom: 1px solid #edf0f4;
}

.report-stat-row > div {
  display: grid;
  gap: 4px;
}

.report-stat-row strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
}

.report-stat-row strong small {
  color: #8190a1;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
}

.report-stat-row span {
  color: #8793a2;
  font-size: 7px;
}

.report-subheading {
  margin: 14px 0 5px;
  color: #4c6079;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
}

.report-copy {
  margin: 0;
  color: #7b8999;
  font-size: 9px;
  line-height: 1.65;
}

.attendance-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid #edf0f4;
}

.attendance-row > span:first-child {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #e9f5ef;
  color: #16846d;
}

.attendance-row > .attendance-upcoming {
  background: #edf3ff !important;
  color: #4c75b5 !important;
}

.attendance-row .icon {
  width: 15px;
  height: 15px;
}

.attendance-row > span:last-child {
  display: grid;
  gap: 4px;
}

.attendance-row strong {
  color: #455870;
  font-size: 9px;
}

.attendance-row small {
  color: #8793a2;
  font-size: 8px;
}

.report-message {
  margin-top: 12px;
  font-size: 8px;
}

.report-footnote {
  margin: 11px 0 0;
  color: #98a2ae;
  font-size: 7px;
  line-height: 1.6;
}

.live-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 19px;
  background: var(--card-surface);
}

.live-date-block {
  display: grid;
  width: 54px;
  height: 65px;
  flex: 0 0 auto;
  align-content: center;
  justify-items: center;
  border: 1px solid #e4eaf2;
  border-radius: 11px;
  background: white;
}

.live-date-block span,
.live-date-block small {
  color: #7184a0;
  font-size: 7px;
  font-weight: 700;
}

.live-date-block strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 22px;
}

.live-details {
  flex: 1;
}

.live-details h2 {
  margin: 5px 0 3px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.live-details p {
  margin: 0;
  color: #7c899a;
  font-size: 9px;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 10px;
  color: #7c899a;
  font-size: 8px;
}

.live-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.live-meta .icon {
  width: 13px;
  height: 13px;
}

.live-feature > .secondary-button {
  flex: 0 0 auto;
}

.live-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.live-feature-actions .button,
.live-feature-actions .secondary-button,
.spec-record-actions .button,
.spec-record-actions .secondary-button {
  min-height: 36px;
  font-size: 11px;
}

.live-workflow-description {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.classroom-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.classroom-status p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
}

.classroom-controls {
  display: grid;
  gap: 10px;
}

.classroom-control {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  background: #f8fafc;
}

.classroom-control-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #2563a6;
  background: #e9f2ff;
}

.classroom-control-icon .icon {
  width: 18px;
  height: 18px;
}

.classroom-control > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.classroom-control strong {
  color: #263b55;
  font-size: 12px;
}

.classroom-control small {
  color: #718096;
  font-size: 11px;
}

.classroom-control button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.classroom-demo-panel .spec-record-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.live-class-list {
  display: grid;
  gap: 12px;
}

.live-class-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  background: #fff;
}

.live-class-card h3 {
  margin: 10px 0 4px;
  color: #263b55;
}

.live-class-card p,
.live-class-card small {
  display: block;
  margin: 4px 0;
  color: #64748b;
}

.live-media-controls {
  display: flex;
  flex-wrap: wrap;
  margin: 14px 0;
}

.live-media-controls [hidden] {
  display: none;
}

.live-recording-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f2c9c9;
  border-radius: 12px;
  background: #fff8f8;
}

.live-recording-controls [hidden] {
  display: none;
}

.live-recording-controls .inline-notice {
  margin: 0;
}

.live-recording-list {
  display: grid;
  gap: 16px;
}

.live-recording-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #e8edf4;
  border-radius: 14px;
  background: #fff;
}

.live-recording-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-recording-card > small {
  color: #64748b;
}

.live-recording-card video {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 10px;
  background: #142033;
}

.live-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.live-video-grid > video,
.live-peer-tile video {
  width: 100%;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #142033;
  object-fit: cover;
}

.live-local-label,
.live-peer-tile span {
  color: #475569;
  font-size: 12px;
}

.live-peer-tile {
  display: grid;
  gap: 6px;
}

.live-participants {
  padding: 10px 0;
  color: #475569;
  font-size: 13px;
}

.live-tool-tabs,
.live-document-toolbar,
.live-canvas-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}

.live-tool-tabs button,
.live-document-toolbar button,
.live-canvas-controls button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  color: #294663;
  background: #f8fafc;
  cursor: pointer;
}

.live-tool-tabs button[aria-pressed="true"] {
  color: #fff;
  border-color: #2563a6;
  background: #2563a6;
}

.live-tool-panel {
  margin-top: 12px;
}

.live-tool-panel textarea {
  width: 100%;
  resize: vertical;
  padding: 12px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  color: #24364b;
  font: inherit;
  line-height: 1.55;
}

.live-document-preview {
  min-height: 50px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.live-document-preview h3 {
  margin: 4px 0;
}

.live-drawing-canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

.live-canvas-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}

.live-canvas-controls input[type="color"] {
  width: 38px;
  height: 34px;
  padding: 2px;
}

@media (max-width: 640px) {
  .live-class-card {
    align-items: stretch;
    flex-direction: column;
  }

  .live-media-controls > button,
  .live-tool-tabs > button {
    flex: 1 1 130px;
  }
}

.class-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #edf0f4;
}

.class-date {
  display: grid;
  width: 36px;
  flex: 0 0 auto;
  justify-items: center;
  color: #8391a1;
  font-size: 7px;
  font-weight: 700;
}

.class-date strong {
  color: #4b5f78;
  font-size: 14px;
}

.class-info {
  display: grid;
  flex: 1;
  gap: 4px;
}

.class-info strong {
  color: #41546c;
  font-size: 9px;
}

.class-info small {
  color: #8a96a5;
  font-size: 8px;
}

.support-intro {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 21px;
}

.support-hero-icon {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #edf3ff;
  color: #4d75b7;
}

.support-hero-icon .icon {
  width: 20px;
  height: 20px;
}

.support-intro h2 {
  margin-top: 1px;
}

.support-intro > span:last-child {
  max-width: 700px;
}

.support-options {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.support-option {
  display: grid;
  min-height: 185px;
  justify-items: start;
  align-content: start;
  gap: 10px;
  padding: 17px;
  color: inherit;
  text-align: left;
}

.support-options > .support-option:nth-child(3n + 2) {
  background: var(--card-surface-teal);
}

.support-options > .support-option:nth-child(3n + 3) {
  background: var(--card-surface-cyan);
}

.support-options > .support-option:nth-child(3n + 1) .support-option-icon {
  background: var(--card-icon-blue);
  color: white;
}

.support-options > .support-option:nth-child(3n + 2) .support-option-icon {
  background: var(--card-icon-teal);
  color: white;
}

.support-options > .support-option:nth-child(3n + 3) .support-option-icon {
  background: var(--card-icon-cyan);
  color: white;
}

button.support-option {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.support-option:hover {
  border-color: #c7d7ee;
}

.support-option-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 10px;
  background: #eeeaff;
  color: #755eb4;
}

.support-option-icon .icon {
  width: 17px;
  height: 17px;
}

.support-green {
  background: #e7f5ef;
  color: #208468;
}

.support-amber {
  background: #fff4e1;
  color: #ac7b2b;
}

.support-option > strong {
  color: #384d67;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
}

.support-option > small {
  min-height: 30px;
  color: #8491a1;
  font-size: 8px;
  line-height: 1.6;
}

.support-option .text-link {
  align-self: end;
  margin-top: auto;
}

.support-option .text-link .icon {
  width: 13px;
  height: 13px;
}

.screen-index-intro {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--card-surface);
  box-shadow: var(--card-shadow);
}

.screen-index-intro h2 {
  margin: 9px 0 5px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.screen-index-intro > p {
  max-width: 690px;
  margin: 0;
  color: #748398;
  font-size: 10px;
  line-height: 1.7;
}

.screen-index-count {
  position: absolute;
  top: 20px;
  right: 22px;
  display: grid;
  justify-items: end;
  gap: 2px;
}

.screen-index-count strong {
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 25px;
}

.screen-index-count span {
  color: #8090a3;
  font-size: 8px;
}

.screen-index-group {
  margin-top: 19px;
}

.screen-index-group .section-heading {
  margin-bottom: 9px;
}

.screen-index-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-index-card {
  display: flex;
  min-width: 0;
  min-height: 55px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card-surface);
  transition: border-color 140ms ease, transform 140ms ease;
}

.screen-index-grid > .screen-index-card:nth-child(4n + 2) {
  background: var(--card-surface-teal);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 3) {
  background: var(--card-surface-cyan);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 4) {
  background: var(--card-surface-indigo);
}

.screen-index-grid > .screen-index-card:nth-child(5n + 5) {
  background: var(--card-surface-violet);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 2) .screen-index-category {
  background: var(--card-icon-teal);
  color: white;
}

.screen-index-grid > .screen-index-card:nth-child(4n + 3) .screen-index-category {
  background: var(--card-icon-cyan);
  color: white;
}

.screen-index-grid > .screen-index-card:nth-child(4n + 4) .screen-index-category {
  background: var(--card-icon-indigo);
  color: white;
}

.screen-index-grid > .screen-index-card:nth-child(5n + 5) .screen-index-category {
  background: var(--card-icon-violet);
  color: white;
}

.screen-index-card:hover {
  transform: translateY(-1px);
  border-color: #bfd1ed;
}

.screen-index-category {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--card-icon-blue);
  color: white;
}

.screen-index-category .icon {
  width: 14px;
  height: 14px;
  align-self: end;
}

.screen-index-category small {
  align-self: start;
  color: currentColor;
  opacity: 0.82;
  font-size: 6px;
  font-weight: 700;
}

.screen-index-id {
  display: grid;
  width: 35px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: #edf3ff;
  color: #5074ad;
  font-size: 8px;
  font-weight: 700;
}

.screen-index-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.screen-index-copy strong {
  overflow: hidden;
  color: #43556c;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-index-copy small {
  overflow: hidden;
  color: #8b97a5;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-index-card > .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--card-icon-blue);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 2) > .icon {
  color: var(--card-icon-teal);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 3) > .icon {
  color: var(--card-icon-cyan);
}

.screen-index-grid > .screen-index-card:nth-child(4n + 4) > .icon {
  color: var(--card-icon-indigo);
}

.screen-index-grid > .screen-index-card:nth-child(5n + 5) > .icon {
  color: var(--card-icon-violet);
}

.feature-status-panel {
  margin-top: 18px;
}

.feature-status-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-status-card {
  display: grid;
  gap: 8px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-surface);
}

.feature-status-card.complete {
  background: linear-gradient(135deg, rgba(36, 160, 119, 0.12), rgba(28, 126, 206, 0.04));
}

.feature-status-card.partial {
  background: linear-gradient(135deg, rgba(255, 174, 66, 0.12), rgba(79, 110, 207, 0.04));
}

.feature-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.feature-status-head strong {
  color: var(--navy);
  font-size: 10px;
}

.feature-status-card p {
  margin: 0;
  color: #6e7a8d;
  font-size: 8.5px;
  line-height: 1.6;
}

.spec-page-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.spec-page-intro h2 {
  margin: 7px 0 4px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.spec-page-intro > div > p:last-child {
  max-width: 750px;
  margin: 0;
  color: #758499;
  font-size: 10px;
  line-height: 1.7;
}

.spec-audience {
  margin: 8px 0 0 !important;
  color: #8996a6 !important;
  font-size: 7px !important;
  font-weight: 700;
  letter-spacing: 0.7px;
}

.index-return {
  min-height: 34px;
  flex: 0 0 auto;
  font-size: 8px;
}

.spec-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 13px;
}

.spec-stat-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 31px 1fr;
  align-items: center;
  gap: 0 10px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card-surface);
}

.spec-stats > .spec-stat-card:nth-child(3n + 2) {
  background: var(--card-surface-teal);
}

.spec-stats > .spec-stat-card:nth-child(3n + 3) {
  background: var(--card-surface-cyan);
}

.spec-stats > .spec-stat-card:nth-child(4n + 4) {
  background: var(--card-surface-indigo);
}

.spec-stats > .spec-stat-card:nth-child(5n + 5) {
  background: var(--card-surface-violet);
}

.spec-stats > .spec-stat-card:nth-child(3n + 2) .spec-stat-icon {
  background: var(--card-icon-teal);
  color: white;
}

.spec-stats > .spec-stat-card:nth-child(3n + 3) .spec-stat-icon {
  background: var(--card-icon-cyan);
  color: white;
}

.spec-stats > .spec-stat-card:nth-child(4n + 4) .spec-stat-icon {
  background: var(--card-icon-indigo);
  color: white;
}

.spec-stats > .spec-stat-card:nth-child(5n + 5) .spec-stat-icon {
  background: var(--card-icon-violet);
  color: white;
}

.spec-stat-icon {
  display: grid;
  width: 31px;
  height: 31px;
  grid-row: span 2;
  place-items: center;
  border-radius: 9px;
}

.spec-stat-icon .icon {
  width: 16px;
  height: 16px;
}

.spec-stat-card > strong {
  overflow: hidden;
  color: #354b67;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spec-stat-card > small {
  overflow: hidden;
  color: #8995a4;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spec-page-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: minmax(0, 1.65fr) minmax(205px, 0.65fr);
  align-items: start;
}

.spec-main-column,
.spec-side-column {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.spec-form-panel,
.spec-record-panel,
.spec-context,
.spec-related {
  padding: 17px;
}

.spec-form-panel .section-heading,
.spec-record-panel .section-heading,
.spec-context .section-heading,
.spec-related .section-heading {
  margin-bottom: 11px;
}

.mock-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mock-field {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #455970;
  font-size: 9px;
  font-weight: 600;
}

.mock-field:has(textarea),
.mock-field:has(input[type="file"]),
.mock-check {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .educator-application-details,
  .educator-review-form {
    grid-template-columns: 1fr;
  }
}

.mock-field input,
.mock-field select,
.mock-field textarea {
  width: 100%;
  min-height: 37px;
  padding: 8px 10px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  color: #40536b;
  font-size: 9px;
  font-weight: 400;
}

.mock-field textarea {
  min-height: 75px;
  resize: vertical;
  line-height: 1.6;
}

.mock-field input[type="file"] {
  padding: 7px;
  cursor: pointer;
}

.mock-field input::placeholder,
.mock-field textarea::placeholder {
  color: #9aa5b2;
}

.field-hint {
  color: #8895a5;
  font-size: 8px;
  font-weight: 400;
}

.mock-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #68798f;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.6;
}

.mock-check input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--blue);
}

.mock-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
}

.mock-form-footer .button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 8px;
}

.mock-feedback {
  margin: 0;
  color: #16836b;
  font-size: 8px;
  line-height: 1.5;
}

.spec-record-list {
  display: grid;
}

.spec-record {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid #edf0f4;
}

.spec-record:first-child {
  border-top: 0;
}

.spec-record-mark {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #f1f5fb;
  color: #6a819d;
}

.spec-record-mark .icon {
  width: 14px;
  height: 14px;
}

.spec-record-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.spec-record-copy strong {
  overflow: hidden;
  color: #42566e;
  font-size: 9px;
  text-overflow: ellipsis;
}

.spec-record-copy small {
  color: #8290a0;
  font-size: 8px;
  line-height: 1.5;
}

.spec-record > .status-chip {
  min-height: 19px;
  font-size: 7px;
}

.record-link {
  width: 28px;
  height: 28px;
  color: #6d819a;
}

.record-link .icon {
  width: 14px;
  height: 14px;
}

.spec-record-actions {
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
}

.spec-record-actions .secondary-button {
  min-height: 33px;
  font-size: 8px;
}

.family-planner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.family-planner-grid > .panel {
  min-width: 0;
}

.family-planner-days {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.family-planner-days legend {
  margin-bottom: 8px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}

.family-planner-days label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 10px;
}

.family-planner-record-actions {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 36px;
}

.family-planner-record-actions .secondary-button {
  min-height: 27px;
  padding: 0 8px;
  font-size: 9px;
}

.family-planner-grid .spec-record {
  flex-wrap: wrap;
}

.spec-context .context-detail {
  gap: 6px;
}

.spec-context .context-detail small {
  margin-top: 3px;
}

.spec-context .context-detail strong {
  line-height: 1.5;
}

.spec-context .status-chip {
  justify-self: start;
  min-height: 19px;
  font-size: 7px;
}

.spec-related nav {
  display: grid;
  gap: 3px;
}

.spec-related-link {
  display: flex;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  padding: 4px 2px;
  border-top: 1px solid #f0f2f5;
  color: #59728f;
  font-size: 8px;
}

.spec-related-link:first-child {
  border-top: 0;
}

.spec-related-link:hover {
  color: var(--blue);
}

.spec-related-link .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.spec-related-link .related-link-icon {
  color: #6e88aa;
}

.spec-related-link .related-link-arrow {
  margin-left: auto;
  color: #8798ad;
  transition: transform 140ms ease, color 140ms ease;
}

.spec-related-link:hover .related-link-arrow {
  transform: translateX(2px);
  color: var(--blue);
}

.demo-toast {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid #d5e8e0;
  border-radius: 10px;
  background: #f1faf6;
  box-shadow: 0 12px 30px rgb(16 37 66 / 14%);
  color: #23634f;
  font-size: 11px;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.demo-toast.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.menu-button,
.sidebar-backdrop {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

@media (max-width: 1100px) {
  .sidebar {
    width: 232px;
  }

  .main-area {
    margin-left: 232px;
  }

  .topbar {
    padding: 0 25px;
  }

  .page-content {
    padding: 28px 26px 40px;
  }

  .search-box {
    width: 180px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welcome-art {
    width: 34%;
  }
}

@media (max-width: 760px) {
  .sidebar {
    z-index: 10;
    width: min(290px, calc(100vw - 56px));
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  .main-area {
    margin-left: 0;
  }

  .menu-open .sidebar {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    z-index: 9;
    inset: 0;
    background: rgb(16 37 66 / 35%);
  }

  .menu-open .sidebar-backdrop {
    display: block;
  }

  .topbar {
    height: 62px;
    gap: 10px;
    padding: 0 16px;
  }

  .menu-button {
    display: grid;
    margin-left: -7px;
  }

  .breadcrumb {
    margin-right: auto;
  }

  .topbar-actions {
    gap: 6px;
  }

  .search-box,
  .topbar-divider,
  .profile-name,
  .profile-chevron {
    display: none;
  }

  .profile-button {
    padding: 0;
  }

  .page-content {
    padding: 24px 18px 36px;
  }

  .page-heading {
    align-items: start;
  }

  .page-heading h1 {
    font-size: 24px;
  }

  .heading-date {
    padding: 8px;
    font-size: 0;
  }

  .heading-date .icon {
    width: 17px;
    height: 17px;
  }

  .splash-screen {
    grid-template-columns: 1fr;
  }

  .splash-content {
    min-height: 100svh;
    padding: 25px 25px 20px;
  }

  .splash-brand .brand-logo {
    width: 112px;
  }

  .splash-main {
    padding: 40px 0;
  }

  .splash-main h1 {
    font-size: clamp(42px, 11vw, 58px);
    letter-spacing: -2.3px;
  }

  .splash-art {
    display: none;
  }

  .splash-footer {
    gap: 10px;
    font-size: 9px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    display: none;
  }

  .auth-mobile-brand {
    display: flex;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 0;
  }

  .auth-mobile-brand .brand-logo {
    width: 76px;
  }

  .auth-form-panel {
    min-height: 100svh;
    padding: 34px 23px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .welcome-banner {
    min-height: 215px;
    padding: 22px;
  }

  .welcome-art {
    right: -50px;
    width: 48%;
    opacity: 0.45;
  }

  .stat-grid,
  .dashboard-grid,
  .lower-grid,
  .course-grid,
  .diagnostic-layout,
  .question-layout,
  .lesson-layout,
  .tutor-layout,
  .progress-summary-grid,
  .report-grid,
  .support-options {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .lower-grid {
    gap: 12px;
  }

  .course-hero {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .course-hero-info {
    min-width: calc(100% - 80px);
  }

  .course-hero > .button {
    margin-left: auto;
  }

  .diagnostic-facts {
    grid-template-columns: 1fr;
  }

  .diagnostic-facts > div {
    align-items: center;
  }

  .lesson-rail {
    grid-template-columns: 1fr 1fr;
  }

  .assessment-row {
    flex-wrap: wrap;
  }

  .assessment-info {
    min-width: calc(100% - 55px);
  }

  .assessment-status {
    margin-left: 50px;
  }

  .mastery-row {
    grid-template-columns: 8px minmax(100px, 1fr) auto;
  }

  .mastery-bar {
    grid-column: 2;
  }

  .evidence-label {
    grid-column: 3;
    grid-row: 2;
  }

  .live-feature {
    flex-wrap: wrap;
  }

  .live-details {
    min-width: calc(100% - 75px);
  }

  .live-feature > .secondary-button {
    margin-left: auto;
  }

  .live-feature-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 70px;
  }

  .classroom-control {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .classroom-control > .secondary-button {
    grid-column: 2;
    justify-self: start;
  }

  .result-summary {
    gap: 14px;
  }

  .lesson-reader {
    padding-right: 18px;
    padding-left: 18px;
  }

  .lesson-body h2 {
    font-size: 20px;
  }

  .tutor-chat {
    max-height: 55vh;
  }
}

@media (max-width: 420px) {
  .stat-grid {
    gap: 9px;
  }

  .stat-card {
    padding: 12px;
  }

  .welcome-art {
    display: none;
  }

  .welcome-banner {
    min-height: 230px;
  }

  .up-next {
    flex-wrap: wrap;
    line-height: 1.5;
  }

  .up-next a {
    margin-left: 13px;
  }

  .lesson-rail {
    grid-template-columns: 1fr;
  }

  .plan-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .plan-hours {
    justify-items: start;
  }

  .assessment-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .test-footer {
    flex-wrap: wrap;
  }

  .test-footer > span {
    order: -1;
    width: 100%;
  }

  .result-summary {
    align-items: center;
    flex-direction: column;
  }

  .result-divider {
    width: 100%;
    height: 1px;
  }

  .result-details {
    width: 100%;
  }

  .next-step {
    flex-wrap: wrap;
  }

  .next-step > span:nth-child(2) {
    min-width: calc(100% - 60px);
  }

  .result-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-stat-row {
    grid-template-columns: 1fr;
  }

  .support-option {
    min-height: 155px;
  }

  .screen-index-grid,
  .spec-page-grid {
    grid-template-columns: 1fr;
  }

  .screen-index-count {
    position: static;
    justify-items: start;
    margin-top: 11px;
  }

  .spec-page-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .spec-stats {
    gap: 7px;
  }

  .spec-stat-card {
    grid-template-columns: 25px 1fr;
    gap: 0 6px;
    padding: 8px;
  }

  .spec-stat-icon {
    width: 25px;
    height: 25px;
  }

  .spec-stat-icon .icon {
    width: 13px;
    height: 13px;
  }

  .spec-stat-card > strong {
    font-size: 10px;
  }

  .spec-stat-card > small {
    font-size: 6px;
  }

  .mock-fields {
    grid-template-columns: 1fr;
  }

  .spec-record {
    flex-wrap: wrap;
  }

  .spec-record-copy {
    min-width: calc(100% - 48px);
  }

  .spec-record > .status-chip {
    margin-left: 36px;
  }

  .screen-index-intro {
    padding: 15px;
  }

  .screen-index-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
  }

  .plan-day {
    gap: 7px;
  }

  .plan-day .status-chip {
    display: none;
  }

  .day-task strong {
    white-space: normal;
  }

  .course-hero-info h2 {
    font-size: 17px;
  }

  .course-meta {
    gap: 8px;
  }

  .worked-example > div {
    grid-template-columns: 22px 1fr;
  }

  .worked-example strong {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.workspace-label,
.nav-caption {
  font-size: 11px;
}

.learner-info strong,
.profile-name {
  font-size: 13px;
}

.learner-info small,
.nav-section summary,
.nav-link-secondary {
  font-size: 12px;
}

.nav-section summary span,
.nav-link-secondary small {
  font-size: 11px;
}

.plan-card > strong {
  font-size: 14px;
}

.plan-card p,
.plan-card a {
  font-size: 12px;
}

.logout-button {
  font-size: 14px;
}

.breadcrumb {
  font-size: 13px;
}

.page-heading h1 {
  font-size: 30px;
}

.heading-date {
  font-size: 13px;
}

.section-heading h2 {
  font-size: 16px;
}

.text-link,
.chapter-copy a {
  font-size: 12px;
}

.subtle-label,
.stat-trend,
.stat-foot {
  font-size: 11px;
}

.stat-label {
  font-size: 12px;
}

.stat-value > span {
  font-size: 14px;
}

.tag {
  font-size: 10px;
}

.course-card h3 {
  font-size: 16px;
}

.course-card > p,
.course-card-chapter strong {
  font-size: 12px;
}

.course-card-progress > div:first-child {
  font-size: 11px;
}

.course-card-link {
  font-size: 12px;
}

.support-option > strong {
  font-size: 14px;
}

.support-option > small {
  font-size: 12px;
}

.screen-index-intro > p {
  font-size: 13px;
}

.screen-index-count span {
  font-size: 11px;
}

.screen-index-category small,
.screen-index-id {
  font-size: 10px;
}

.screen-index-copy strong {
  font-size: 12px;
}

.screen-index-copy small {
  font-size: 11px;
}

.spec-page-intro > div > p:last-child {
  font-size: 13px;
}

.spec-audience {
  font-size: 10px !important;
}

.index-return,
.spec-related-link,
.mock-form-footer .button,
.spec-record-actions .secondary-button,
.secondary-button {
  font-size: 12px;
}

.spec-stat-card > strong {
  font-size: 15px;
}

.spec-stat-card > small,
.field-hint,
.mock-feedback {
  font-size: 11px;
}

.mock-field,
.mock-check {
  font-size: 12px;
}

.mock-field input,
.mock-field select,
.mock-field textarea {
  font-size: 13px;
}

.spec-record-copy strong,
.spec-context .context-detail strong {
  font-size: 12px;
}

.spec-record-copy small {
  font-size: 11px;
}

.spec-record > .status-chip,
.spec-context .status-chip {
  font-size: 10px;
}

.spec-context .context-detail small {
  font-size: 10px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  button:not(:disabled) {
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
  }

  button:not(:disabled):hover {
    transform: translateY(-1px);
    filter: brightness(1.05) saturate(1.06);
  }

  button:not(:disabled):active {
    transform: translateY(0) scale(0.98);
  }

  a[href]:hover .icon,
  button:not(:disabled):hover .icon {
    transform: translateX(2px) scale(1.08);
  }

  input:not(:disabled):hover,
  select:not(:disabled):hover,
  textarea:not(:disabled):hover {
    border-color: #9bb9e1;
  }

  .nav-link,
  .portal-choice-card,
  .stat-card,
  .plan-card,
  .continue-card,
  .course-card,
  .subject-row,
  .assessment-row,
  .support-option,
  .screen-index-card,
  .spec-stat-card,
  a.panel,
  button.panel {
    position: relative;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .portal-choice-card:hover,
  .portal-choice-card:focus-visible,
  .stat-card:hover,
  .plan-card:hover,
  .continue-card:hover,
  .course-card:hover,
  .subject-row:hover,
  .assessment-row:hover,
  .support-option:hover,
  .screen-index-card:hover,
  .spec-stat-card:hover,
  a.panel:hover,
  button.panel:hover {
    z-index: 1;
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 12px 24px rgb(8 38 92 / 16%);
  }
}

.home-workflow-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  margin-top: 14px;
}

.home-workflow-grid > .panel,
.home-workflow-panel,
.home-child-entry {
  background: var(--card-surface);
}

.home-workflow-grid > .panel:nth-child(even) {
  background: var(--card-surface-teal);
}

.home-block-list,
.home-checklist,
.home-consent-list,
.home-baseline-list,
.home-project-options,
.home-portfolio-list {
  display: grid;
}

.home-block {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgb(16 37 66 / 12%);
}

.home-block:first-child {
  border-top: 0;
}

.home-block-time {
  color: var(--card-icon-blue);
  font-size: 13px;
  font-weight: 800;
}

.home-block-copy,
.home-portfolio-list article > div {
  display: grid;
  gap: 4px;
}

.home-block-copy strong,
.home-portfolio-list strong {
  color: var(--navy);
  font-size: 14px;
}

.home-block-copy small,
.home-portfolio-list small {
  color: #52677f;
  font-size: 12px;
  line-height: 1.5;
}

.home-block-complete .home-block-copy strong {
  text-decoration: line-through;
  text-decoration-color: #4b8d76;
}

.home-block-actions,
.home-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.home-block-actions .secondary-button,
.home-calendar-actions .secondary-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.home-checklist > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  border-bottom: 1px solid rgb(16 37 66 / 12%);
  color: #344b65;
  font-size: 13px;
}

.home-checklist > div:last-child {
  margin-bottom: 12px;
  border-bottom: 0;
}

.home-checklist > div > strong {
  color: #58718b;
  font-size: 11px;
}

.home-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--card-icon-blue);
  color: #fff;
}

.home-check.is-done {
  background: var(--card-icon-teal);
}

.home-check .icon {
  width: 15px;
  height: 15px;
}

.home-workflow-grid .secondary-button,
.home-workflow-panel .secondary-button,
.home-child-entry .button,
.home-portfolio-list .secondary-button {
  font-size: 12px;
}

.home-state-note,
.home-child-entry > p {
  color: #52677f;
  font-size: 13px;
  line-height: 1.6;
}

.home-approval-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgb(16 37 66 / 12%);
  color: #344b65;
  font-size: 13px;
}

.home-approval-row strong {
  margin-right: auto;
}

.home-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(16 37 66 / 12%);
}

.home-consent > input,
.home-baseline-item > input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.home-consent > span,
.home-baseline-item > span {
  display: grid;
  gap: 4px;
}

.home-consent strong,
.home-baseline-item strong {
  color: var(--navy);
  font-size: 14px;
}

.home-consent small,
.home-baseline-item small {
  color: #52677f;
  font-size: 12px;
  line-height: 1.5;
}

.home-consent-list + .mock-form-footer {
  margin-top: 14px;
}

.home-baseline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(16 37 66 / 12%);
  color: #52677f;
}

.home-baseline-item > .icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.home-calendar-actions {
  justify-content: flex-end;
  margin-bottom: 8px;
}

.home-portfolio-list article {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgb(16 37 66 / 12%);
}

.home-portfolio-list article > div {
  min-width: 180px;
  flex: 1;
}

.home-portfolio-list .status-chip {
  min-height: 25px;
  font-size: 11px;
}

.home-project-options {
  gap: 9px;
  margin-bottom: 18px;
}

.home-project-options article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / 32%);
}

.home-project-options strong {
  color: var(--navy);
  font-size: 14px;
}

.home-project-options small {
  color: #52677f;
  font-size: 12px;
  line-height: 1.5;
}

.home-example {
  margin: 16px 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--card-surface-cyan);
  color: #153d59;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.home-answer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-answer-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid rgb(16 37 66 / 18%);
  border-radius: 9px;
  background: rgb(255 255 255 / 32%);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.home-answer-options input {
  accent-color: var(--blue);
}

.home-gate {
  display: grid;
  min-height: 270px;
  justify-items: center;
  align-content: center;
  gap: 12px;
  background: var(--card-surface-violet);
  text-align: center;
}

.home-gate > .icon {
  width: 34px;
  height: 34px;
  color: var(--card-icon-violet);
}

.home-gate h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
}

.home-gate p {
  max-width: 520px;
  color: #52677f;
  font-size: 14px;
  line-height: 1.6;
}

.is-disabled {
  opacity: 0.75;
}

.home-hint {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 9px;
  background: rgb(255 255 255 / 35%);
  color: var(--navy);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home-workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-block {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-block-actions {
    grid-column: 2;
  }

  .home-block-copy strong,
  .home-portfolio-list strong {
    font-size: 13px;
  }

  .home-approval-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-approval-row strong {
    margin-right: 0;
  }
}

body.demo-text-large .page-content :is(p, small, label, button, input, select, textarea) {
  font-size: calc(1em + 1px);
}

body.demo-text-xlarge .page-content :is(p, small, label, button, input, select, textarea) {
  font-size: calc(1em + 2px);
}

body.demo-reduced-motion *,
body.demo-reduced-motion *::before,
body.demo-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

.student-plan-editor {
  margin-top: 20px;
}

.course-card-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.course-card-option > .course-card {
  flex: 1;
}

.course-filter-bar {
  display: grid;
  grid-template-columns: minmax(190px, 2fr) repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--canvas);
}

.course-filter-bar .mock-field {
  min-width: 0;
  margin: 0;
}

.course-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 14px;
  padding: 11px 2px 0;
}

.course-card-actions .course-select-button {
  margin: 0;
}

.course-card-actions .text-link {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.course-enrollment-status {
  color: var(--muted);
  font-size: 12px;
}

.family-enrollment-requests {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.family-enrollment-requests > strong {
  color: var(--ink);
  font-size: 13px;
}

.family-enrollment-requests p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.student-session-evidence {
  margin-top: 20px;
}

.enrollment-review-actions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.enrollment-review-actions > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.enrollment-review-actions > div > span {
  flex: 1 1 210px;
  color: var(--ink);
  font-size: 13px;
}

.course-select-button {
  align-self: flex-start;
  margin: 12px 0 0 2px;
}

.student-feature-grid,
.student-challenge-grid,
.student-store-grid,
.student-level-list,
.student-badge-grid {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.student-feature-grid,
.student-challenges-panel,
.student-leaderboard-preview,
.student-store-panel,
.student-badges-panel,
.student-certificate-panel,
.student-level-panel,
.student-planner-overview,
.parent-weekly-insights {
  margin-top: 15px;
}

.student-reward-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgb(37 99 235 / 12%);
  border-radius: 12px;
  background: linear-gradient(120deg, #edf5ff, #f3fbfa);
}

.student-reward-summary > div:first-child {
  display: grid;
  gap: 3px;
}

.student-reward-summary > div:first-child > strong {
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.student-reward-summary > div:first-child > strong small {
  color: var(--blue);
  font-size: 13px;
}

.student-reward-summary > div:first-child > span,
.coin-balance small {
  color: var(--muted);
  font-size: 11px;
}

.coin-balance {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 76px;
}

.coin-balance strong {
  color: #885a0b;
  font-size: 17px;
}

.coin-mark,
.recommendation-icon,
.store-item-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #dceafc;
  color: var(--blue-dark);
}

.coin-mark {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff0c8;
  color: #94620a;
}

.coin-mark .icon {
  width: 14px;
  height: 14px;
}

.student-xp-track {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.student-xp-track > div:first-child,
.challenge-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.student-xp-track > div:first-child strong,
.challenge-progress-label strong {
  color: var(--ink);
}

.student-xp-track .progress-track,
.student-challenge-card .progress-track {
  height: 7px;
  background: #e8edf5;
}

.student-xp-track .progress-track i,
.student-challenge-card .progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #12a594);
}

.student-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.student-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  color: #68778b;
  font-size: 9px;
}

.student-badge > span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: #edf1f6;
}

.student-badge .icon {
  width: 11px;
  height: 11px;
}

.student-badge.badge-earned {
  border-color: #b8e4d6;
  background: #effaf6;
  color: #17684f;
}

.student-badge.badge-earned > span {
  background: #cdeee1;
}

.student-badge-grid {
  margin-top: 12px;
}

.student-badge-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #f9fbfe;
}

.student-badge-card > span:first-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #edf1f6;
  color: #748197;
}

.student-badge-card.badge-earned {
  border-color: #b8e4d6;
  background: #effaf6;
}

.student-badge-card.badge-earned > span:first-child {
  background: #cdeee1;
  color: #17684f;
}

.student-badge-card .icon {
  width: 15px;
  height: 15px;
}

.student-badge-card > div {
  display: grid;
  gap: 3px;
}

.student-badge-card strong {
  color: var(--navy);
  font-size: 11px;
}

.student-badge-card small {
  color: var(--muted);
  font-size: 10px;
}

.student-certificate-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.student-certificate {
  padding: 18px;
  border: 1px solid #e8d59b;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffdf6, #f8f2df);
  text-align: center;
}

.student-certificate h3 {
  margin: 10px 0 5px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
}

.student-certificate p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.gamification-rule-list {
  display: grid;
  gap: 8px;
}

.gamification-rule-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(2, minmax(110px, 150px));
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfcfe;
}

.gamification-rule-row > strong {
  color: var(--navy);
  font-size: 12px;
}

.gamification-rule-row .mock-field {
  margin: 0;
}

.leaderboard-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.leaderboard-category-label {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
}

.challenge-card-meta {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.adaptive-profile-grid,
.adaptive-subject-list,
.adaptive-evidence-list,
.assistant-preview-list,
.learning-flashcard-grid {
  display: grid;
  gap: 13px;
}

.adaptive-profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  margin-top: 15px;
}

.adaptive-evidence-list,
.adaptive-subject-list {
  margin-top: 11px;
}

.adaptive-evidence-row,
.adaptive-subject-row {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fbfcfe;
}

.adaptive-evidence-heading,
.adaptive-subject-row > span {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.adaptive-evidence-heading strong,
.adaptive-subject-row strong {
  color: var(--navy);
  font-size: 12px;
}

.adaptive-evidence-heading span,
.adaptive-subject-row small,
.adaptive-evidence-row p,
.adaptive-evidence-row > small {
  color: var(--muted);
  font-size: 10px;
}

.adaptive-evidence-row p {
  margin: 0;
}

.adaptive-evidence-row .progress-track,
.adaptive-subject-row .progress-track {
  height: 7px;
  background: #e8edf5;
}

.adaptive-evidence-row .progress-track i,
.adaptive-subject-row .progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #12a594);
}

.adaptive-evidence-row .text-link {
  justify-self: start;
  padding: 0;
  font-size: 10px;
}

.adaptive-subject-row > span {
  align-items: center;
}

.adaptive-subject-row > span > span,
.adaptive-subject-row > span {
  min-width: 0;
}

.adaptive-subject-row > span > strong,
.adaptive-subject-row > span > small {
  display: block;
}

.assistant-preview-record,
.learning-flashcard {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbfe;
}

.assistant-preview-record > div {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.assistant-preview-record strong {
  color: var(--navy);
  font-size: 12px;
}

.assistant-preview-record small {
  color: var(--muted);
  font-size: 10px;
}

.assistant-preview-record p {
  margin: 0;
  color: #53647b;
  font-size: 12px;
  line-height: 1.55;
}

.learning-flashcard-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 12px;
}

.learning-flashcard {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.learning-flashcard strong {
  min-height: 40px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
}

.student-rewards-panel .demo-disclaimer,
.student-recommendation .demo-disclaimer,
.student-challenges-panel > .demo-disclaimer {
  margin: 12px 0 0;
}

.recommendation-content,
.planner-recommendation,
.parent-suggestion {
  display: flex;
  align-items: center;
  gap: 11px;
}

.recommendation-content > div,
.planner-recommendation > span:nth-child(2),
.parent-suggestion > div {
  min-width: 0;
  flex: 1;
}

.recommendation-content strong,
.planner-recommendation strong,
.parent-suggestion strong {
  color: var(--navy);
  font-size: 13px;
}

.recommendation-content p,
.planner-recommendation small,
.parent-suggestion p {
  margin: 4px 0;
  color: #61728a;
  font-size: 11px;
  line-height: 1.5;
}

.recommendation-content small {
  color: var(--muted);
  font-size: 10px;
}

.student-recommendation .spec-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.student-challenge-grid {
  margin-top: 3px;
}

.student-challenge-card,
.student-store-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fbfe;
}

.challenge-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.challenge-reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8a5d0b;
  font-size: 10px;
  font-weight: 700;
}

.challenge-reward .icon {
  width: 14px;
  height: 14px;
}

.student-challenge-card h3,
.student-store-item h3 {
  margin: 13px 0 5px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.student-challenge-card p,
.student-store-item p {
  min-height: 32px;
  margin: 0 0 13px;
  color: #68778b;
  font-size: 11px;
  line-height: 1.5;
}

.challenge-progress-label {
  margin: auto 0 6px;
}

@media (max-width: 640px) {
  .gamification-rule-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gamification-rule-row > strong {
    grid-column: 1 / -1;
  }

  .leaderboard-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-badge-card {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .student-badge-card .status-chip {
    grid-column: 2;
    justify-self: start;
  }
}

.challenge-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.challenge-card-footer > small {
  color: #8a5d0b;
  font-size: 10px;
}

.challenge-complete {
  border-color: #b8e4d6;
  background: #f3fbf7;
}

.student-store-item .store-item-icon {
  background: #e9e5fb;
  color: #6047a6;
}

.student-store-item > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: auto 0 12px;
  color: #8a5d0b;
}

.student-store-item > div strong {
  font-size: 18px;
}

.student-store-item > div small {
  font-size: 10px;
}

.student-store-item .secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.student-level-list > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 5px 9px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f9fbfe;
}

.student-level-list > div > span:first-child {
  display: grid;
  width: 27px;
  height: 27px;
  grid-row: span 2;
  place-items: center;
  border-radius: 8px;
  background: #e6eefb;
  color: var(--blue-dark);
}

.student-level-list > div > span:first-child .icon {
  width: 15px;
  height: 15px;
}

.student-level-list strong {
  color: var(--ink);
  font-size: 11px;
}

.student-level-list small {
  grid-column: 2 / 3;
  color: var(--muted);
  font-size: 9px;
}

.student-level-list .status-chip {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.student-level-list .current-level {
  border-color: #a9d8d0;
  background: #f1fbf9;
}

.leaderboard-intro {
  margin: 0 0 12px;
  color: #61728a;
  font-size: 11px;
  line-height: 1.5;
}

.leaderboard-list {
  display: grid;
  gap: 7px;
}

.leaderboard-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgb(255 255 255 / 55%);
}

.leaderboard-current {
  border-color: #b8d5fa;
  background: #eef6ff;
}

.leaderboard-rank {
  width: 22px;
  color: #74839a;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.leaderboard-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d9e7f5;
  color: #36506e;
  font-size: 10px;
  font-weight: 700;
}

.leaderboard-learner {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

.leaderboard-learner strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-learner small,
.leaderboard-xp {
  color: var(--muted);
  font-size: 9px;
}

.leaderboard-xp {
  flex: 0 0 auto;
  color: #76520c;
  font-weight: 700;
}

.student-planner-overview .report-stat-row {
  margin: 0 0 13px;
}

.planner-recommendation,
.parent-suggestion {
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid #dce8f4;
  border-radius: 11px;
  background: #f7faff;
}

.parent-weekly-insights .report-stat-row {
  margin: 0 0 13px;
}

.parent-suggestion p {
  margin-bottom: 0;
}

.parent-weekly-insights > .demo-disclaimer {
  margin: 11px 0 0;
}

@media (max-width: 900px) {
  .course-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .course-filter-bar {
    grid-template-columns: minmax(0, 1fr);
  }
}

.student-plan-editor > .demo-disclaimer,
.student-plan-editor .empty-state {
  color: var(--muted);
  font-size: 13px;
}

.student-plan-editor .spec-record-list {
  margin-bottom: 18px;
}

.student-plan-editor .spec-record {
  gap: 12px;
}

.student-plan-editor .spec-record .secondary-button {
  flex: 0 0 auto;
}

.student-plan-editor .icon-button {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .student-plan-editor .spec-record {
    flex-wrap: wrap;
  }
}

.homeops-two-column,
.homeops-monitor-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homeops-monitor-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.homeops-profile-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.homeops-profile-switch > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.homeops-profile-switch > div strong {
  color: var(--navy);
  font-size: 15px;
}

.homeops-profile-switch > div small {
  color: var(--muted);
  font-size: 10px;
}

.homeops-profile-switch form {
  display: flex;
  min-width: min(320px, 52%);
  align-items: flex-end;
  gap: 9px;
}

.homeops-profile-switch .mock-field {
  flex: 1;
}

.homeops-profile-switch button,
.homeops-inline-actions button {
  flex: 0 0 auto;
}

.homeops-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.parent-monitor-card .section-heading {
  margin-bottom: 12px;
}

.parent-monitor-card .section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
}

.parent-monitor-card .report-stat-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .homeops-two-column {
    grid-template-columns: 1fr;
  }

  .family-planner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .homeops-profile-switch {
    align-items: stretch;
    flex-direction: column;
  }

  .homeops-profile-switch form {
    min-width: 0;
  }

  .homeops-profile-switch .mock-field {
    min-width: 0;
  }

  .student-plan-editor .spec-record-copy {
    flex: 1 1 calc(100% - 48px);
  }
}

.splash-public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.splash-public-nav a {
  color: #d7e8ff;
  font-size: 10px;
}

.splash-public-nav a:hover,
.public-footer a:hover {
  color: #67e8f9;
}

.public-site {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% 8%, rgb(13 148 136 / 11%), transparent 34rem),
    var(--canvas);
}

.public-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(216 224 235 / 80%);
  background: rgb(255 255 255 / 90%);
}

.public-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.public-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

.public-header nav,
.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.public-header nav a,
.public-footer nav a {
  color: #5f7086;
  font-size: 12px;
  font-weight: 600;
}

.public-header nav a.active {
  color: var(--blue-dark);
}

.public-sign-in {
  flex: 0 0 auto;
}

.public-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 46px;
}

.public-hero {
  max-width: 770px;
  margin: 0 auto 34px;
  text-align: center;
}

.public-hero h1 {
  margin: 10px 0 14px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.12;
}

.public-hero > p:last-of-type {
  max-width: 660px;
  margin: 0 auto;
  color: #64758b;
  font-size: 16px;
  line-height: 1.75;
}

.public-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 23px;
}

.public-feature-grid,
.public-plan-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0 auto;
}

.public-plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.public-plan-price {
  margin-top: 16px !important;
  color: var(--navy) !important;
  font-size: 24px !important;
  font-weight: 800;
}

.public-plan-price span {
  color: #66778d;
  font-size: 13px;
  font-weight: 500;
}

.public-plan-card > button {
  margin-top: auto;
}

.public-payment-instructions {
  max-width: 760px;
  margin: 14px auto 0;
  white-space: pre-line;
}

.invoice-reference-form {
  flex-basis: 100%;
  margin-top: 12px;
}

.public-curriculum-list {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
  margin: 0 auto;
}

.public-feature-card,
.public-contact-panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--card-shadow);
}

.public-feature-card h2,
.public-contact-panel h2 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.public-feature-card p {
  margin: 0;
  color: #66778d;
  font-size: 13px;
  line-height: 1.65;
}

.public-feature-card p + p {
  margin-top: 9px;
}

.public-feature-card .public-source {
  margin-top: 12px;
}

.public-source a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.public-feature-card > small {
  display: block;
  margin-top: 10px;
  color: #66778d;
  font-size: 11px;
}

.public-contact-panel {
  max-width: 740px;
  margin: 22px auto 0;
}

.public-contact-panel .mock-fields {
  gap: 14px;
}

.public-contact-panel .mock-field {
  font-size: 12px;
}

.public-demo-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  color: #66778d;
  font-size: 12px;
  text-align: center;
}

.public-demo-note .icon {
  color: var(--blue);
}

.public-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--border);
  color: #718096;
  background: #fff;
  font-size: 11px;
}

@media (max-width: 760px) {
  .public-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .public-header nav {
    order: 3;
    width: 100%;
  }

  .public-main {
    padding-top: 38px;
  }
}

@media (max-width: 520px) {
  .public-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .public-header nav {
    gap: 8px 13px;
  }

  .public-header nav a {
    font-size: 11px;
  }

  .public-main {
    width: min(100% - 30px, 1120px);
  }

  .public-hero h1 {
    letter-spacing: -0.8px;
  }

  .public-hero > p:last-of-type {
    font-size: 14px;
  }

  .public-contact-panel .mock-fields {
    grid-template-columns: 1fr;
  }

  .public-footer {
    justify-content: center;
    padding: 18px 16px;
    text-align: center;
  }

  .splash-public-nav {
    gap: 8px 11px;
  }
}

.learning-course-grid,
.learning-review-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.learning-course-card h2,
.learning-review-list > .panel h2 {
  margin: 14px 0 8px;
}

.learning-course-card .panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.learning-course-card .demo-disclaimer {
  margin: 12px 0;
}

.learning-question {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.learning-question legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 700;
}

.lesson-service-content {
  line-height: 1.75;
}

.lesson-service-content h2,
.lesson-service-content h3 {
  color: var(--navy);
}

.lesson-service-content li {
  margin: 7px 0;
}

.learning-review-list .review-question {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  background: #f2f6fc;
}

.learning-review-list .mock-form {
  margin-top: 18px;
}

.schoolwork-record-list {
  display: grid;
  gap: 16px;
}

.schoolwork-record .section-heading {
  align-items: flex-start;
}

.schoolwork-record .section-heading h2 {
  margin: 10px 0 0;
}

.schoolwork-record .mock-form {
  margin-top: 18px;
}

.schoolwork-report-card .section-heading {
  align-items: center;
}

.schoolwork-report-card .demo-disclaimer {
  margin-bottom: 0;
}
