:root {
  --navy: #102136;
  --navy-2: #172e45;
  --ink: #172738;
  --muted: #6e7e8d;
  --soft: #f4f7f8;
  --line: #e3e9eb;
  --white: #fff;
  --teal: #42c9b8;
  --teal-dark: #0e8c80;
  --teal-pale: #e7f8f4;
  --blue-pale: #edf2fb;
  --gold: #d4a354;
  --coral: #dc816b;
  --shadow: 0 12px 32px rgba(19, 42, 61, 0.06);
  --radius: 18px;
  --sidebar: 258px;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  background: #f7f9fa;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: #f7f9fa;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--navy);
  color: #eff7fb;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  z-index: 12;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 2px 8px 22px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ffffff19;
}
.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: linear-gradient(145deg, #8ce8d6, #37c5b3);
  color: #0b2636;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 7px 18px #2ad1bb33;
}
.brand-mark span {
  position: relative;
  z-index: 1;
}
.brand-mark i {
  position: absolute;
  width: 38px;
  height: 2px;
  background: #13354a;
  transform: rotate(-35deg);
  bottom: 13px;
  right: 7px;
  opacity: 0.55;
}
.brand-copy {
  display: grid;
  line-height: 1.4;
}
.brand-copy strong {
  font-size: 14px;
  letter-spacing: -0.2px;
}
.brand-copy small {
  color: #a4b8c9;
  font-size: 11px;
  margin-top: 4px;
}
.sidebar-caption {
  font-size: 10px;
  letter-spacing: 0.1px;
  color: #8299ad;
  padding: 21px 11px 7px;
}
.sidebar-caption-spaced {
  padding-top: 22px;
}
.primary-nav {
  display: grid;
  gap: 4px;
}
.nav-item {
  height: 43px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #c1cfdb;
  text-align: right;
  padding: 0 11px;
  font-size: 12px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav-item:hover {
  background: #ffffff0e;
  color: #fff;
}
.nav-item.active {
  background: #ffffff14;
  color: #fff;
  box-shadow: inset -3px 0 #51d4c2;
}
.nav-item b {
  margin-right: auto;
  font-size: 9px;
  font-weight: 500;
  color: #9db1c0;
}
.nav-icon {
  width: 20px;
  text-align: center;
  font-size: 17px;
  color: #8fa8bb;
}
.nav-item.active .nav-icon {
  color: #5de0cb;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 14px 8px 3px;
}
.privacy-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 9px;
  border: 1px solid #ffffff1a;
  border-radius: 11px;
  color: #d0e1e9;
  font-size: 10px;
}
.privacy-dot,
.pulse-dot,
.top-grade-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51d6c4;
  box-shadow: 0 0 0 4px #51d6c41b;
}
.sidebar-brand-note {
  margin-top: 14px;
  padding: 0 9px;
  color: #718ba0;
  font-size: 10px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 3vw, 44px);
}
.topbar-start,
.topbar-end {
  display: flex;
  align-items: center;
  gap: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  color: #82909b;
}
.breadcrumb i {
  font-style: normal;
  color: #bac4cb;
}
.breadcrumb strong {
  color: #25384a;
  font-weight: 700;
}
.topbar-end {
  gap: 12px;
}
.top-grade {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: #314759;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 10px;
}
.top-grade-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}
.chevron {
  font-size: 16px;
  color: #81909a;
}
.profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: right;
  color: var(--ink);
  padding: 0 2px;
}
.profile-chip span:last-child {
  display: grid;
  line-height: 1.25;
}
.profile-chip strong {
  font-size: 10px;
}
.profile-chip small {
  margin-top: 4px;
  font-size: 9px;
  color: #80909d;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f6f3;
  color: #197f75;
  font-weight: 700;
  font-size: 13px;
}
.main-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px clamp(17px, 3vw, 44px) 0;
  outline: 0;
}
.view {
  display: none;
  animation: fade-in 0.32s ease both;
}
.view.active {
  display: block;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-panel {
  min-height: 325px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 12%, #26516b 0, transparent 35%),
    linear-gradient(118deg, #102136 5%, #19364e 65%, #16525c);
  color: #fff;
  padding: 36px 42px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow: 0 18px 50px #10213616;
}
.hero-panel:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b5f8e74f, transparent);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a7d9d2;
  font-size: 10px;
  letter-spacing: 0.2px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
}
.hero-copy h1 {
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 17px 0 11px;
  font-weight: 700;
}
.hero-copy h1 em {
  font-style: normal;
  color: #70ddcb;
}
.hero-copy > p {
  max-width: 480px;
  color: #c5d2dc;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 21px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 17px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-1px);
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}
.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 7px 18px #142c4118;
}
.button-primary:hover {
  background: #1d3a52;
}
.button-accent {
  background: #59d7c1;
  color: #123545;
  box-shadow: 0 9px 20px #37d2bc2b;
}
.button-accent:hover {
  background: #79e8d3;
}
.button-glass {
  background: #ffffff12;
  color: #edf7fa;
  border-color: #ffffff30;
}
.button-secondary {
  background: #fff;
  color: #30475b;
  border-color: #dfe8eb;
}
.button-secondary:hover {
  background: #f3f8f8;
}
.button-small {
  min-height: 35px;
  padding: 0 12px;
  font-size: 10px;
}
.hero-proof {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9eb4c4;
  font-size: 9px;
  line-height: 1.6;
}
.hero-proof b {
  color: #ecf7f6;
  font-weight: 600;
}
.proof-mark {
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff30;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #6ae0cb;
  font-size: 20px;
}
.hero-art {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
}
.hero-art svg {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  overflow: visible;
}
.hero-art svg circle {
  fill: #b4f4e4;
  stroke: #1b5c62;
  stroke-width: 3;
}
.hero-art svg text {
  fill: #afece2;
  font:
    italic 17px Georgia,
    serif;
}
.graph-line {
  fill: none;
  stroke: url(#curve);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 4px 12px #61dec344);
}
.graph-shadow {
  fill: none;
  stroke: #62decc;
  stroke-opacity: 0.12;
  stroke-width: 18;
  stroke-linecap: round;
  filter: blur(10px);
}
.axis {
  position: absolute;
  z-index: 0;
  background: #ffffff24;
}
.axis-x {
  width: 87%;
  height: 1px;
  right: 0;
  top: 58%;
}
.axis-y {
  height: 83%;
  width: 1px;
  top: 5%;
  right: 48%;
}
.orbit {
  position: absolute;
  border: 1px solid #b2e6e31b;
  border-radius: 50%;
  transform: rotate(-19deg);
}
.orbit-one {
  width: 72%;
  height: 67%;
}
.orbit-two {
  width: 57%;
  height: 91%;
  transform: rotate(36deg);
}
.equation-float {
  position: absolute;
  z-index: 2;
  top: 16%;
  right: 9%;
  border: 1px solid #ffffff27;
  background: #10213672;
  backdrop-filter: blur(5px);
  padding: 8px 12px;
  border-radius: 10px;
  color: #c9f8ed;
  direction: ltr;
  font:
    12px "Courier New",
    monospace;
}
.hero-sticker {
  position: absolute;
  bottom: 7%;
  left: 7%;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 9px;
  background: #f7ffff0f;
  color: #d4e9e9;
  font-size: 9px;
  letter-spacing: 0.2px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}
.metric-card {
  min-height: 78px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px #12253b05;
}
.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: 0 0 auto;
}
.metric-teal {
  background: #e8f8f4;
  color: #148d80;
}
.metric-gold {
  background: #fbf3e6;
  color: #b57e28;
}
.metric-blue {
  background: #edf3fc;
  color: #5273a1;
}
.metric-card div {
  display: grid;
  line-height: 1.35;
}
.metric-card small {
  font-size: 9px;
  color: #7b8a95;
}
.metric-card strong {
  margin-top: 5px;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.metric-card strong i {
  font-style: normal;
  color: #8a99a4;
  font-size: 10px;
  font-weight: 400;
}
.metric-trend {
  margin-right: auto;
  color: #8899a2;
  font-size: 9px;
  text-align: left;
}
.progress-hub {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(245px, 0.9fr);
  overflow: hidden;
  border-radius: 21px;
  color: #f5fffd;
  background: linear-gradient(132deg, #102136 0%, #17334b 58%, #0f6e70 100%);
  box-shadow: 0 16px 34px #1021361c;
  position: relative;
}
.progress-hub::after {
  content: "∿  ∑  △";
  position: absolute;
  left: 21px;
  bottom: -17px;
  color: #ffffff12;
  font: 54px Georgia, serif;
  letter-spacing: 11px;
  pointer-events: none;
}
.progress-hub-main {
  min-height: 187px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.progress-ring {
  --progress: 0%;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--teal) var(--progress), #ffffff20 0);
  box-shadow: 0 0 0 1px #ffffff18, 0 9px 24px #08182438;
}
.progress-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #153049;
  box-shadow: inset 0 0 0 1px #ffffff13;
}
.progress-ring > div {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
  line-height: 1.2;
}
.progress-ring strong {
  font-size: 28px;
  letter-spacing: -1px;
}
.progress-ring strong small {
  font-size: 13px;
  color: #8de6d8;
}
.progress-ring span {
  margin-top: 5px;
  color: #b8d4d3;
  font-size: 9px;
}
.progress-hub-copy {
  max-width: 470px;
}
.progress-hub-copy .eyebrow {
  color: #7ce0cf;
}
.progress-hub-copy h2 {
  margin: 4px 0 5px;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.progress-hub-copy p {
  margin: 0 0 13px;
  color: #c1d4d8;
  font-size: 10px;
  line-height: 1.8;
}
.compact-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 9px;
}
.progress-hub-stats {
  padding: 19px 20px;
  display: grid;
  align-content: center;
  gap: 15px;
  background: #081c2c33;
  border-right: 1px solid #ffffff14;
  position: relative;
  z-index: 1;
}
.progress-hub-stats > div {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: baseline;
  column-gap: 8px;
}
.progress-hub-stats .stat-label {
  grid-row: span 2;
  color: #91b5bb;
  font-size: 9px;
}
.progress-hub-stats strong {
  font-size: 18px;
  line-height: 1.2;
}
.progress-hub-stats strong i {
  color: #9bb5bb;
  font-style: normal;
  font-size: 9px;
  font-weight: 400;
}
.progress-hub-stats small {
  color: #8faeb4;
  font-size: 8px;
}
.comparison-strip {
  grid-column: 1 / -1;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #071a2a45;
  border-top: 1px solid #ffffff14;
  position: relative;
  z-index: 1;
}
.comparison-icon {
  width: 29px;
  height: 29px;
  border: 1px solid #77d6c8;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8be7d8;
  font-size: 17px;
}
.comparison-strip > div {
  display: grid;
  gap: 2px;
}
.comparison-strip .stat-label {
  color: #91b5bb;
  font-size: 8px;
}
.comparison-strip strong {
  font-size: 13px;
}
.comparison-strip strong i {
  color: #a8c5c6;
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
}
.comparison-strip small {
  color: #9ab7ba;
  font-size: 8px;
}
.comparison-private .comparison-icon {
  border-color: #7891a3;
  color: #a8bec6;
}
.recommendation-section {
  margin-top: 27px;
}
.recommendation-section .section-heading {
  align-items: center;
}
.recommendation-pulse {
  padding: 6px 9px;
  border: 1px solid #c9e9e2;
  border-radius: 20px;
  color: #168b80;
  background: #effaf7;
  font-size: 8px;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.recommendation-card {
  min-height: 157px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recommendation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 25px #13283d10;
}
.recommendation-card::after {
  content: "";
  width: 88px;
  height: 88px;
  border-radius: 50%;
  position: absolute;
  left: -27px;
  bottom: -45px;
  background: #48c8b016;
}
.recommendation-lavender::after {
  background: #647ac315;
}
.recommendation-gold::after {
  background: #dba35a18;
}
.recommendation-icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #118c7f;
  background: #e8f8f4;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.recommendation-lavender .recommendation-icon {
  color: #586ba6;
  background: #eff1fc;
}
.recommendation-gold .recommendation-icon {
  color: #b27e34;
  background: #fbf2e5;
}
.recommendation-blue .recommendation-icon {
  color: #4d72a5;
  background: #edf3fc;
}
.recommendation-copy {
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.recommendation-copy h3 {
  margin: 3px 0 3px;
  font-size: 13px;
  line-height: 1.5;
}
.recommendation-copy p {
  margin: 0;
  color: #7b8b95;
  font-size: 9px;
  line-height: 1.7;
}
.recommendation-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 5px 0 0;
  border: 0;
  background: transparent;
  color: #138d80;
  font-size: 9px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.recommendation-link span {
  margin-right: 5px;
}
.section-block {
  margin-top: 31px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}
.eyebrow {
  display: block;
  color: #168b80;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.section-heading h2,
.strip-head h2 {
  margin: 3px 0 3px;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.section-heading p {
  margin: 0;
  color: #7c8a95;
  font-size: 10px;
}
.text-button,
.inline-button,
.link-button {
  border: 0;
  background: transparent;
  color: #138d80;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 2px;
}
.text-button span {
  margin-right: 5px;
}
.home-lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.spotlight-card {
  min-height: 206px;
  padding: 16px 17px 14px;
  border: 1px solid #e5ecec;
  border-radius: 16px;
  background: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.spotlight-card:after {
  content: "";
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  top: -53px;
  left: -28px;
  background: #48c8b015;
}
.spotlight-card.lavender:after {
  background: #647ac314;
}
.spotlight-card.peach:after {
  background: #dba35a17;
}
.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.spotlight-icon {
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: #e5f7f3;
  color: #16897d;
  display: grid;
  place-items: center;
  font:
    17px Georgia,
    serif;
}
.lavender .spotlight-icon {
  background: #eff1fc;
  color: #536aa3;
}
.peach .spotlight-icon {
  background: #fbf0e5;
  color: #aa7441;
}
.spotlight-count {
  color: #82929d;
  font-size: 9px;
}
.spotlight-meta {
  margin-top: 14px;
  color: #738590;
  font-size: 9px;
}
.spotlight-meta span {
  color: #c2cbd0;
  padding: 0 3px;
}
.spotlight-card h3 {
  font-size: 14px;
  margin: 3px 0 4px;
  line-height: 1.5;
}
.spotlight-card p {
  margin: 0 0 10px;
  color: #758590;
  font-size: 10px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  margin-top: auto;
  align-self: flex-start;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: #158f82;
  font-weight: 700;
  font-size: 10px;
}
.card-link span {
  margin-right: 5px;
}
.learning-strip {
  margin-top: 28px;
  padding: 19px 22px 21px;
  border-radius: 17px;
  background: #edf5f5;
  border: 1px solid #e0ecea;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.strip-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.strip-symbol {
  width: 41px;
  height: 41px;
  border-radius: 13px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #179587;
  font-size: 20px;
  box-shadow: 0 3px 10px #174a3910;
}
.strip-head h2 {
  font-size: 14px;
}
.learning-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.learning-steps > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 8px;
  align-items: center;
}
.learning-steps > div > b {
  grid-row: span 2;
  color: #159386;
  font-size: 10px;
}
.learning-steps strong {
  font-size: 10px;
}
.learning-steps span {
  font-size: 9px;
  color: #768891;
}
.source-footnote {
  margin: 15px 2px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #758793;
}
.source-footnote > span {
  width: 17px;
  height: 17px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #aac7c5;
  color: #388d83;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.source-footnote p {
  margin: 0;
  font-size: 9px;
}
.site-footer {
  min-height: 60px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: #94a1a8;
  font-size: 9px;
}
.site-footer span:first-child {
  color: #637883;
  font-weight: 700;
}
.site-footer button {
  margin-right: auto;
  border: 0;
  background: transparent;
  color: #728891;
  font-size: 9px;
}
.page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 22px;
}
.page-intro h1 {
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -0.7px;
  margin: 4px 0 5px;
}
.page-intro p {
  max-width: 700px;
  color: #74848e;
  font-size: 11px;
  margin: 0;
}
.curriculum-total {
  text-align: left;
  display: grid;
}
.curriculum-total strong {
  font-size: 25px;
  color: #148e80;
  line-height: 1;
}
.curriculum-total span {
  font-size: 9px;
  color: #7d8d96;
  margin-top: 6px;
}
.curriculum-controls {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(175px, 0.8fr) minmax(
      230px,
      1.4fr
    );
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}
.select-wrap {
  display: grid;
  gap: 5px;
}
.select-wrap > span,
.teacher-form > label,
.graph-presets > label {
  font-size: 9px;
  color: #70828d;
}
.input {
  width: 100%;
  min-height: 39px;
  border-radius: 10px;
  border: 1px solid #dfe7e9;
  background: #fff;
  color: #263c4e;
  padding: 0 11px;
  font-size: 10px;
  outline: none;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
.input:focus {
  border-color: #4cc7b7;
  box-shadow: 0 0 0 3px #4cc7b71b;
}
.select-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #81949e 50%),
    linear-gradient(135deg, #81949e 50%, transparent 50%);
  background-position:
    15px 17px,
    10px 17px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-left: 25px;
}
.search-field {
  position: relative;
  align-self: end;
}
.search-field > span {
  position: absolute;
  right: 12px;
  top: 5px;
  z-index: 1;
  font-size: 18px;
  color: #82949c;
}
.search-field .input {
  padding-right: 34px;
}
.curriculum-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 19px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #eef7f4;
  color: #647a7e;
}
.banner-symbol {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d7f0e8;
  color: #168b80;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10px;
  font-weight: 700;
}
.curriculum-banner p {
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
}
.curriculum-banner p b {
  color: #31595b;
}
.curriculum-banner .inline-button {
  margin-right: auto;
  white-space: nowrap;
}
.unit-block {
  margin: 0 0 21px;
}
.unit-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 9px;
  border-bottom: 1px solid #e3e9ea;
}
.unit-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eaf6f3;
  color: #168d80;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.unit-heading > div:nth-child(2) {
  display: grid;
  line-height: 1.4;
}
.unit-heading > div:nth-child(2) > span {
  font-size: 8px;
  color: #7c8d96;
}
.unit-heading > div:nth-child(2) > span i {
  font-style: normal;
  color: #bec8cc;
  padding: 0 4px;
}
.unit-heading h3 {
  font-size: 13px;
  margin: 1px 0 0;
}
.unit-heading > small {
  margin-right: auto;
  color: #87959d;
  font-size: 9px;
}
.lesson-list {
  border: 1px solid #e4eaeb;
  border-radius: 14px;
  background: #fff;
  margin-top: 8px;
  overflow: hidden;
}
.lesson-row {
  min-height: 62px;
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0f1;
}
.lesson-row:last-child {
  border-bottom: 0;
}
.lesson-state {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  color: #328e83;
  background: #edf7f4;
  font-size: 13px;
}
.lesson-state.is-done {
  background: #e4f5e9;
  color: #288347;
}
.lesson-row-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.lesson-row-copy strong {
  font-size: 10px;
}
.lesson-row-copy span {
  font-size: 8px;
  color: #81909a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lesson-time {
  margin-right: auto;
  white-space: nowrap;
  color: #80909a;
  font-size: 8px;
}
.lesson-open {
  border: 0;
  background: transparent;
  color: #128d80;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 4px;
}
.lesson-open span {
  margin-right: 4px;
}
.empty-state {
  min-height: 200px;
  border: 1px dashed #d7e2e4;
  border-radius: 16px;
  background: #fff;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding: 20px;
}
.empty-state > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eef7f5;
  color: #168c80;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.empty-state h3 {
  margin: 9px 0 2px;
  font-size: 14px;
}
.empty-state p {
  margin: 0;
  color: #81909a;
  font-size: 10px;
}
.small-empty {
  min-height: 165px;
  border: 0;
  background: transparent;
}
.back-link {
  border: 0;
  background: transparent;
  color: #67818c;
  padding: 0 0 9px;
  font-size: 10px;
}
.lesson-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  border-radius: 17px;
  background: linear-gradient(110deg, #eaf6f2, #eef3fa);
  border: 1px solid #e4eeed;
}
.lesson-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.lesson-tags span {
  padding: 4px 8px;
  border-radius: 20px;
  background: #ffffffc9;
  color: #5b7782;
  font-size: 8px;
}
.lesson-hero h1 {
  font-size: 23px;
  margin: 8px 0 4px;
  line-height: 1.45;
}
.lesson-hero p {
  margin: 0;
  color: #6f838c;
  font-size: 10px;
}
.lesson-progress-badge {
  width: 55px;
  height: 55px;
  border: 1px solid #cce4df;
  border-radius: 17px;
  background: #ffffffb5;
  display: grid;
  place-content: center;
  text-align: center;
  color: #168d80;
  flex: none;
}
.lesson-progress-badge > span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
.lesson-progress-badge small {
  font-size: 7px;
  margin-top: 4px;
}
.lesson-progress-badge.completed {
  background: #e2f7e9;
  border-color: #c2e9cf;
  color: #26814a;
}
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(225px, 0.74fr);
  gap: 13px;
  align-items: start;
}
.lesson-main-column,
.lesson-side-column {
  display: grid;
  gap: 13px;
}
.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 16px #11263b04;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-heading h2 {
  font-size: 15px;
  margin: 2px 0 0;
}
.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ecf7f4;
  color: #188d80;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.experiment-prompt {
  margin: 13px 0;
  padding: 11px 12px;
  background: #f7faf9;
  border-right: 3px solid #4cc9b7;
  border-radius: 8px;
  color: #49646f;
  font-size: 10px;
}
.graph-shell {
  border: 1px solid #e2e9eb;
  border-radius: 13px;
  overflow: hidden;
}
.graph-shell-head {
  min-height: 49px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #e8edef;
  background: #fff;
}
.desmos-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #1975d2;
  color: #fff;
  font:
    bold 15px Georgia,
    serif;
}
.graph-shell-head > div {
  display: grid;
  line-height: 1.35;
}
.graph-shell-head > div strong {
  font-size: 9px;
}
.graph-shell-head > div small {
  font-size: 8px;
  color: #82929b;
  margin-top: 2px;
}
.quiet-button {
  margin-right: auto;
  border: 1px solid #e2e9eb;
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  color: #657d87;
  font-size: 8px;
}
.lesson-graph {
  height: 325px;
  min-height: 270px;
  position: relative;
  background: #fff;
}
.graph-placeholder {
  height: 100%;
  min-height: 270px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, #eef8f6, transparent 53%), #fff;
}
.placeholder-curve {
  width: 49px;
  height: 49px;
  border-radius: 15px;
  background: #e6f6f2;
  color: #1c9a8c;
  display: grid;
  place-items: center;
  font-size: 29px;
  margin-bottom: 9px;
}
.graph-placeholder h3 {
  font-size: 12px;
  margin: 0 0 4px;
}
.graph-placeholder p {
  max-width: 360px;
  margin: 0 0 11px;
  font-size: 9px;
  color: #7a8991;
}
.graph-placeholder .link-button {
  margin-top: 6px;
}
.graph-loading,
.graph-error {
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px;
  color: #74858e;
  font-size: 10px;
}
.loader {
  width: 27px;
  height: 27px;
  border: 3px solid #dcece9;
  border-top-color: #23a997;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.graph-error strong {
  color: #a04e40;
}
.graph-error p {
  max-width: 350px;
}
.experiment-steps {
  display: grid;
  gap: 0;
  margin-top: 12px;
}
.experiment-step {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 1px;
}
.experiment-step > span {
  color: #168f81;
  font:
    10px "Courier New",
    monospace;
  margin-top: 1px;
}
.experiment-step p {
  margin: 0;
  color: #72838d;
  font-size: 9px;
}
.reflection-card {
  padding-bottom: 16px;
}
.quiz-question {
  font-size: 11px;
  font-weight: 700;
  margin: 14px 0 10px;
}
.quiz-options {
  display: grid;
  gap: 7px;
}
.quiz-choice {
  min-height: 42px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
  background: #fff;
  border: 1px solid #e2e9eb;
  border-radius: 10px;
  padding: 7px 9px;
  color: #415665;
  font-size: 9px;
  transition: 0.15s;
}
.quiz-choice:hover {
  border-color: #9ad9ce;
  background: #f8fcfb;
}
.choice-letter {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f1f5f5;
  color: #778991;
  display: grid;
  place-items: center;
  flex: none;
  font:
    bold 9px Arial,
    sans-serif;
}
.quiz-choice.selected {
  border-color: #55cbbc;
  background: #f0faf7;
}
.quiz-choice.correct {
  border-color: #68c993;
  background: #f0fbf4;
}
.quiz-choice.correct .choice-letter {
  background: #d8f1e1;
  color: #217d46;
}
.quiz-choice.incorrect {
  border-color: #e4a097;
  background: #fff7f5;
}
.quiz-choice.incorrect .choice-letter {
  background: #fde5e0;
  color: #b25345;
}
.feedback-box {
  display: none;
  border-radius: 10px;
  margin-top: 10px;
  padding: 9px 11px;
  font-size: 9px;
}
.feedback-box.visible {
  display: grid;
  gap: 3px;
}
.feedback-box b {
  font-size: 9px;
}
.feedback-box span {
  line-height: 1.6;
}
.feedback-box.success {
  background: #edf8f0;
  color: #38744a;
}
.feedback-box.try-again {
  background: #fff5ed;
  color: #9b6944;
}
.complete-button {
  margin-top: 12px;
  width: 100%;
}
.objective-card {
  background: linear-gradient(160deg, #fff, #f6faf9);
}
.objective-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e6f7f3;
  color: #189587;
  display: grid;
  place-items: center;
  margin: 14px 0 7px;
  font-size: 18px;
}
.objective-card > p {
  font-size: 10px;
  color: #526a75;
  margin: 0 0 13px;
}
.goal-divider {
  height: 1px;
  background: #e6eded;
  margin: 12px 0;
}
.goal-row {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #87959c;
  font-size: 8px;
}
.goal-row b {
  color: #485e6b;
  font-weight: 600;
}
.formula-card .formula-preview {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}
.formula-preview code {
  display: block;
  direction: ltr;
  text-align: left;
  padding: 7px 8px;
  border-radius: 7px;
  background: #f4f7f9;
  color: #425d69;
  font:
    9px "Courier New",
    monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
.formula-card > p {
  color: #82919a;
  font-size: 8px;
  margin: 0;
}
.offline-note {
  display: flex;
  gap: 8px;
  padding: 11px;
  border: 1px solid #e9ece6;
  border-radius: 12px;
  background: #fcfbf6;
  color: #857a5f;
  font-size: 8px;
}
.offline-note span {
  font-size: 14px;
}
.offline-note p {
  margin: 0;
}
.graph-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.6fr);
  gap: 13px;
  align-items: start;
}
.graph-page-card {
  padding: 0;
  overflow: hidden;
}
.full-graph {
  height: 530px;
  min-height: 400px;
}
.full-graph .graph-placeholder {
  height: 100%;
}
.graph-presets > h2 {
  font-size: 15px;
  margin: 4px 0;
}
.graph-presets > p {
  margin: 0 0 15px;
  color: #7c8b94;
  font-size: 9px;
}
.graph-presets > label {
  display: block;
  margin-bottom: 5px;
}
.graph-presets .button {
  width: 100%;
  margin-top: 10px;
}
.graph-notice {
  display: grid;
  gap: 4px;
  margin: 15px 0;
  padding: 10px;
  border-radius: 9px;
  background: #f4f8f8;
  color: #627b82;
  font-size: 8px;
}
.graph-notice b {
  color: #3d6266;
}
.graph-presets > .inline-link {
  display: inline-block;
  margin-top: 7px;
}
.challenge-score {
  text-align: left;
  display: grid;
}
.challenge-score strong {
  font-size: 23px;
  color: #148d80;
}
.challenge-score span {
  font-size: 9px;
  color: #80909b;
}
.challenge-card {
  position: relative;
  overflow: hidden;
  padding: 29px 32px;
  border-radius: 19px;
  border: 1px solid #e2e9eb;
  background: #fff;
  box-shadow: var(--shadow);
  max-width: 850px;
  margin: 0 auto;
}
.challenge-deco {
  position: absolute;
  left: 18px;
  top: -38px;
  font-size: 150px;
  line-height: 1;
  color: #eaf7f4;
  font-weight: 700;
  pointer-events: none;
}
.challenge-label {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.challenge-label span {
  padding: 4px 8px;
  border-radius: 20px;
  background: #eff8f5;
  color: #4e807b;
  font-size: 8px;
}
.challenge-card h2 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
  margin: 18px 0;
}
.challenge-options {
  max-width: 650px;
  position: relative;
  z-index: 1;
}
.challenge-options .quiz-choice {
  min-height: 48px;
}
.challenge-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #edf0f1;
  margin-top: 19px;
  padding-top: 14px;
  color: #7d8e97;
  font-size: 9px;
}
.challenge-footer .button {
  min-height: 36px;
}
.rank-badge {
  display: grid;
  text-align: center;
  padding: 9px 15px;
  border-radius: 12px;
  background: #f0f7f3;
  color: #168d80;
  font-size: 9px;
}
.rank-badge span {
  color: #7d8b91;
  font-size: 8px;
  margin-top: 3px;
}
.diagnostic-count {
  padding: 7px 11px;
  border: 1px solid #cce8e2;
  border-radius: 20px;
  color: #168c80;
  background: #effaf7;
  font-size: 9px;
}
.diagnostic-hero {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  margin: 8px 0 14px;
  padding: 30px 34px;
  border-radius: 23px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
  align-items: center;
  gap: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 24%, #2c6f79 0, transparent 28%),
    radial-gradient(circle at 16% 90%, #284c68 0, transparent 33%),
    linear-gradient(120deg, #102337, #153f57 62%, #166268);
  box-shadow: 0 18px 45px #10213618;
}
.diagnostic-hero::after {
  content: "∑  f(x)  ∆  y = ax + b";
  position: absolute;
  inset: auto 25px 15px auto;
  color: #b9f2e632;
  direction: ltr;
  font: italic 13px Georgia, serif;
  letter-spacing: 2px;
  pointer-events: none;
}
.diagnostic-hero-copy {
  position: relative;
  z-index: 1;
}
.diagnostic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8de1d1;
  font-size: 9px;
}
.diagnostic-kicker i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #8de1d14d;
  border-radius: 7px;
  font-style: normal;
  font-size: 14px;
}
.diagnostic-hero h1 {
  max-width: 560px;
  margin: 12px 0 7px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.8px;
}
.diagnostic-hero p {
  max-width: 530px;
  margin: 0;
  color: #c1d3dc;
  font-size: 10px;
  line-height: 1.8;
}
.diagnostic-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
.diagnostic-feature-row span {
  padding: 6px 9px;
  border: 1px solid #ffffff1e;
  border-radius: 8px;
  color: #b8d4d7;
  background: #ffffff0c;
  font-size: 8px;
}
.diagnostic-feature-row b {
  color: #79e1ce;
  font-size: 11px;
  margin-left: 3px;
}
.diagnostic-visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #a9c8cd;
  font-size: 8px;
}
.diagnostic-orbit {
  width: 136px;
  height: 136px;
  position: relative;
  padding: 10px;
  border: 1px solid #7ee5d466;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #55cdb71c, transparent 57%);
  box-shadow: 0 0 0 12px #70d9c80b, 0 0 0 25px #70d9c806;
}
.diagnostic-orbit::before,
.diagnostic-orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78e4d1;
  box-shadow: 0 0 14px #78e4d1;
}
.diagnostic-orbit::before {
  transform: translate(62px, -43px);
}
.diagnostic-orbit::after {
  transform: translate(-57px, 41px);
  background: #f2c575;
  box-shadow: 0 0 14px #f2c575;
}
.diagnostic-orbit > div {
  width: 87px;
  height: 87px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: #102b40;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.diagnostic-orbit strong {
  color: #e6fffa;
  font-size: 35px;
  line-height: 1;
}
.diagnostic-orbit small {
  margin-top: 4px;
  color: #92c4c3;
  font-size: 8px;
}
.diagnostic-flow {
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid #dfe9eb;
  border-radius: 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: #fff;
}
.diagnostic-flow > div:first-child {
  display: grid;
  gap: 2px;
}
.diagnostic-flow .eyebrow {
  color: #178e80;
  font-size: 8px;
}
.diagnostic-flow strong {
  color: #415e6b;
  font-size: 9px;
}
.diagnostic-flow-track {
  height: 5px;
  overflow: hidden;
  border-radius: 10px;
  background: #e9f1f1;
}
.diagnostic-flow-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #58cdbb, #a1eadb);
}
.diagnostic-flow > b {
  color: #73909a;
  font-size: 8px;
}
.diagnostic-intro-note,
.diagnostic-result {
  margin-bottom: 13px;
  padding: 15px 17px;
  border: 1px solid #dcebe8;
  border-radius: 16px;
  background: #f4fbf9;
}
.diagnostic-intro-note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.diagnostic-intro-note > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #118e80;
  background: #dff5ef;
  font-size: 19px;
}
.diagnostic-intro-note p,
.diagnostic-result small {
  margin: 0;
  color: #74878d;
  font-size: 9px;
}
.diagnostic-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.diagnostic-result > div:first-child {
  display: grid;
  gap: 2px;
}
.diagnostic-result strong {
  color: #138d80;
  font-size: 24px;
  line-height: 1.2;
}
.diagnostic-score-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.diagnostic-score-pills span {
  padding: 6px 8px;
  border-radius: 9px;
  color: #657b86;
  background: #fff;
  font-size: 8px;
}
.diagnostic-score-pills b {
  color: #168c80;
  margin-right: 3px;
}
.diagnostic-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow);
}
.diagnostic-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  margin-bottom: 15px;
}
.diagnostic-card h2 {
  margin: 3px 0 0;
  font-size: 17px;
}
.diagnostic-privacy {
  color: #718791;
  font-size: 8px;
}
.diagnostic-question-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.diagnostic-question {
  padding: 13px;
  border: 1px solid #e5ecee;
  border-radius: 14px;
  background: #fbfdfd;
}
.diagnostic-question-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #178c80;
}
.diagnostic-question-meta > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e3f7f1;
  font-size: 9px;
}
.diagnostic-question-meta small {
  font-size: 8px;
}
.diagnostic-question h3 {
  min-height: 39px;
  margin: 9px 0;
  font-size: 11px;
  line-height: 1.65;
}
.diagnostic-options {
  display: grid;
  gap: 5px;
}
.diagnostic-option {
  padding: 7px 8px;
  border: 1px solid #e1e9eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #566e79;
  background: #fff;
  text-align: right;
  font-size: 9px;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.diagnostic-option > span {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #7f949c;
  background: #f1f5f5;
  font-size: 8px;
}
.diagnostic-option:hover,
.diagnostic-option.selected {
  border-color: #63cdbd;
  color: #127e74;
  background: #effaf7;
}
.diagnostic-option.selected > span {
  color: #fff;
  background: #27ae9c;
}
.diagnostic-footer {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #edf1f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.diagnostic-footer p {
  margin: 0;
  color: #87959b;
  font-size: 8px;
}
.practice-section {
  margin-bottom: 14px;
}
.practice-section .section-heading {
  align-items: center;
  margin-bottom: 10px;
}
.practice-section h2 {
  margin: 3px 0;
  font-size: 16px;
}
.practice-section p {
  margin: 0;
  color: #7b8c94;
  font-size: 9px;
}
.practice-count {
  padding: 6px 9px;
  border: 1px solid #f0dbb8;
  border-radius: 20px;
  color: #a8752b;
  background: #fff9ef;
  font-size: 8px;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.practice-card {
  padding: 14px;
  border: 1px solid #eadfc9;
  border-radius: 15px;
  background: linear-gradient(145deg, #fffdf8, #fff);
}
.practice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.practice-skill {
  color: #ae792d;
  font-size: 9px;
  font-weight: 700;
}
.practice-score {
  padding: 3px 6px;
  border-radius: 7px;
  color: #a57535;
  background: #fff1d8;
  font-size: 8px;
}
.practice-card h3 {
  min-height: 34px;
  margin: 9px 0;
  font-size: 11px;
  line-height: 1.65;
}
.practice-options {
  display: grid;
  gap: 5px;
}
.practice-option {
  padding: 7px 8px;
  border: 1px solid #e9e2d7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #64737b;
  background: #fff;
  text-align: right;
  font-size: 9px;
}
.practice-option > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #9a8b75;
  background: #f8f1e5;
  font-size: 8px;
}
.practice-option.correct {
  border-color: #72c9a9;
  color: #237d61;
  background: #effaf4;
}
.practice-option.correct > span {
  color: #fff;
  background: #42ae87;
}
.practice-option.incorrect {
  border-color: #e2a39b;
  color: #a24f47;
  background: #fff4f2;
}
.practice-option.incorrect > span {
  color: #fff;
  background: #d88176;
}
.practice-feedback {
  min-height: 28px;
  margin: 9px 0 5px !important;
  color: #907b5f !important;
  font-size: 8px !important;
  line-height: 1.6;
}
.practice-feedback.success {
  color: #258061 !important;
}
.practice-feedback.retry {
  color: #a8584e !important;
}
.practice-link {
  font-size: 8px;
}
.practice-empty {
  margin-bottom: 14px;
  padding: 15px 17px;
  border: 1px solid #d8eee5;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3fbf7;
}
.practice-empty > span {
  color: #15917e;
  font-size: 22px;
}
.practice-empty div {
  flex: 1;
}
.practice-empty b {
  font-size: 10px;
}
.practice-empty p {
  margin: 2px 0 0;
  color: #71868c;
  font-size: 8px;
}
.achievement-grid {
  min-height: 185px;
  padding: 21px 24px;
  border-radius: 19px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px 170px;
  align-items: center;
  gap: 21px;
  color: #f5fffd;
  background: linear-gradient(132deg, #102136, #1b4053 64%, #167e76);
  box-shadow: 0 15px 30px #10213616;
}
.achievement-overview-copy .eyebrow {
  color: #7ce0cf;
}
.achievement-overview-copy h2 {
  margin: 4px 0 4px;
  font-size: 22px;
}
.achievement-overview-copy p {
  max-width: 460px;
  margin: 0 0 12px;
  color: #c4d9da;
  font-size: 10px;
  line-height: 1.8;
}
.achievement-overview .progress-ring {
  width: 108px;
  height: 108px;
}
.achievement-overview .progress-ring::before {
  background: #17374b;
}
.large-ring .progress-ring {
  width: 108px;
  height: 108px;
}
.overview-facts {
  display: grid;
  gap: 10px;
  padding-right: 18px;
  border-right: 1px solid #ffffff1c;
}
.overview-facts > div {
  display: grid;
  gap: 2px;
}
.overview-facts strong {
  font-size: 20px;
}
.overview-facts span {
  color: #a9c4c7;
  font-size: 8px;
}
.focus-card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: linear-gradient(110deg, #f0faf7, #f8fbff);
  border-color: #d9eeea;
}
.focus-card h2 {
  margin: 4px 0;
  font-size: 15px;
}
.focus-card p {
  max-width: 680px;
  margin: 0;
  color: #73858f;
  font-size: 9px;
}
.focus-orbit {
  width: 53px;
  height: 53px;
  border: 1px solid #a9dfd3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #159184;
  background: #ffffff99;
  font-size: 22px;
  flex: 0 0 auto;
}
.achievement-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin: 15px 0;
}
.rank-card {
  position: relative;
  overflow: hidden;
  min-height: 165px;
}
.rank-card .rank-orbit {
  position: absolute;
  left: 16px;
  top: 17px;
  width: 62px;
  height: 62px;
  border: 1px solid #b3ded0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #138b7e;
  font-size: 23px;
  background: radial-gradient(#dff4ea 40%, transparent 42%);
}
.rank-card h2 {
  font-size: 15px;
  margin: 4px 0;
}
.rank-card > p {
  font-size: 9px;
  color: #819099;
  margin: 0 0 12px;
}
.progress-track {
  height: 6px;
  border-radius: 10px;
  background: #eef1f1;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #40c5ae;
  border-radius: 10px;
}
.rank-card > small {
  display: block;
  color: #819098;
  font-size: 8px;
  margin-top: 5px;
}
.stat-achievement {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 116px;
}
.stat-achievement > div {
  display: grid;
}
.stat-achievement small {
  color: #83919a;
  font-size: 8px;
}
.stat-achievement strong {
  font-size: 21px;
  margin: 2px 0;
}
.stat-achievement span:last-child {
  font-size: 8px;
  color: #8d9aa0;
}
.history-card {
  margin-top: 14px;
}
.section-heading.compact {
  margin: 0 0 10px;
}
.section-heading.compact h2 {
  font-size: 15px;
}
.history-list {
  border-top: 1px solid #edf0f1;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid #edf0f1;
}
.history-check {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #eaf7ed;
  color: #34874b;
  display: grid;
  place-items: center;
}
.history-row > div {
  display: grid;
}
.history-row b {
  font-size: 9px;
}
.history-row small {
  font-size: 8px;
  color: #819098;
}
.xp-tag {
  margin-right: auto;
  padding: 4px 7px;
  border-radius: 20px;
  background: #fbf5e9;
  color: #a77b35;
  font-size: 8px;
}
.teacher-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 13px;
}
.teacher-form {
  display: grid;
  gap: 8px;
}
.teacher-form h2 {
  margin: 0 0 4px;
  font-size: 15px;
}
.teacher-form > label {
  margin-top: 4px;
}
.teacher-form .button {
  margin-top: 7px;
}
.field-hint {
  margin: 2px 0 0;
  font-size: 8px;
  color: #89969c;
  line-height: 1.65;
}
.demo-badge {
  padding: 7px 10px;
  border-radius: 25px;
  background: #fbf3e3;
  color: #9a7339;
  font-size: 9px;
}
.activity-count {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #edf7f4;
  color: #168d80;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.activity-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 11px;
  background: #f8faf9;
}
.activity-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  color: #168d80;
}
.activity-item > div {
  display: grid;
}
.activity-item b {
  font-size: 9px;
}
.activity-item small {
  color: #87959c;
  font-size: 8px;
}
.wide-warning {
  margin-top: 13px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.guide-card h2 {
  font-size: 15px;
  margin: 4px 0 9px;
}
.guide-card > p {
  font-size: 9px;
  color: #6e818b;
  line-height: 1.8;
  margin: 0 0 13px;
}
.guide-safe-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #dcece8;
  border-radius: 11px;
  background: #f3fbf8;
  color: #3e7771;
  font-size: 9px;
}
.guide-safe-note span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #2aaf9d;
  font-weight: 700;
}
.guide-safe-note p {
  margin: 0;
}
.guide-card .button {
  margin: 4px 0 8px;
}
.guide-card > .inline-link {
  display: block;
}
.full-width {
  grid-column: 1/-1;
}
.note-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.note-list p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f7faf9;
  color: #72838c;
  font-size: 8px;
  line-height: 1.7;
}
.note-list p span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #e6f4f1;
  color: #168d80;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
}
.references-list {
  display: grid;
  border-top: 1px solid #edf0f0;
}
.reference-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f0;
}
.reference-row > div {
  display: grid;
  gap: 3px;
}
.reference-row b {
  font-size: 9px;
}
.reference-row span,
.reference-row small {
  font-size: 8px;
  color: #7f8f97;
}
.reference-row a {
  margin-right: auto;
  white-space: nowrap;
  color: #168b80;
  font-size: 8px;
  text-decoration: none;
}
.reference-row a:hover {
  text-decoration: underline;
}
.local-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 11px;
  background: #fff9eb;
  border: 1px solid #f1e8d4;
  color: #786844;
}
.local-warning > span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5ebd3;
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  font-size: 10px;
}
.local-warning p {
  margin: 0;
  font-size: 8px;
  line-height: 1.7;
}
.scrim {
  display: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #101d2bb3;
  display: grid;
  place-items: center;
  padding: 18px;
  backdrop-filter: blur(3px);
}
.modal-backdrop[hidden] {
  display: none;
}
.settings-dialog {
  background: #fff;
  width: min(100%, 490px);
  max-height: 92vh;
  overflow: auto;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 28px 90px #0015234d;
  animation: fade-in 0.2s ease;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 15px;
}
.modal-head h2 {
  font-size: 19px;
  margin: 2px 0;
}
.icon-button {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid #e1e8e9;
  background: #fff;
  color: #647986;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.settings-section {
  margin: 15px 0;
}
.settings-section > label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 6px;
}
.settings-section .input {
  min-height: 42px;
  font-size: 10px;
}
.settings-section .field-hint {
  margin-top: 5px;
}
.key-row {
  display: flex;
  gap: 7px;
  align-items: center;
}
.key-row .input {
  flex: 1;
}
.inline-link {
  color: #168b80;
  text-decoration: none;
  font-size: 9px;
}
.inline-link:hover {
  text-decoration: underline;
}
.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
}
.modal-actions .button:first-child {
  flex: 1;
}
.modal-actions .button-secondary {
  min-width: 105px;
}
.toast {
  position: fixed;
  z-index: 70;
  bottom: 20px;
  left: 20px;
  max-width: min(90vw, 400px);
  padding: 10px 15px;
  border-radius: 11px;
  background: #17364b;
  color: #fff;
  font-size: 10px;
  box-shadow: 0 10px 24px #0f253931;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu {
  display: none;
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 225px;
  }
  .hero-panel {
    padding: 30px;
  }
  .hero-art {
    min-height: 215px;
  }
  .lesson-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(205px, 0.75fr);
  }
  .graph-page-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, 0.7fr);
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 0px;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    right: -280px;
    top: 0;
    width: 258px;
    height: 100dvh;
    transition: right 0.25s ease;
    box-shadow: -12px 0 35px #071a2926;
  }
  .sidebar.open {
    right: 0;
  }
  .scrim.visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 11;
    background: #071b2d66;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 64px;
    padding: 0 16px;
  }
  .topbar-start {
    gap: 10px;
  }
  .topbar-end {
    gap: 8px;
  }
  .main-content {
    padding: 22px 17px 0;
  }
  .hero-panel {
    min-height: 295px;
    grid-template-columns: 1.05fr 0.85fr;
    padding: 27px 26px;
  }
  .hero-art {
    min-height: 190px;
  }
  .hero-copy h1 {
    font-size: 30px;
  }
  .learning-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .strip-head {
    align-items: center;
  }
  .strip-head h2 {
    margin: 1px 0;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-side-column {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .offline-note {
    grid-column: 1/-1;
  }
  .graph-page-grid {
    grid-template-columns: 1fr;
  }
  .full-graph {
    height: 430px;
  }
}
@media (max-width: 600px) {
  .topbar {
    padding: 0 12px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 7px;
  }
  .topbar-end {
    gap: 7px;
  }
  .top-grade {
    padding: 6px 9px;
    font-size: 9px;
  }
  .profile-chip span:last-child {
    display: none;
  }
  .avatar {
    width: 31px;
    height: 31px;
  }
  .main-content {
    padding: 16px 12px 0;
  }
  .hero-panel {
    display: block;
    min-height: 0;
    padding: 23px 20px 20px;
    border-radius: 18px;
  }
  .hero-copy h1 {
    font-size: 27px;
    margin-top: 14px;
  }
  .hero-copy > p {
    font-size: 10px;
    max-width: 100%;
  }
  .hero-proof {
    margin-top: 18px;
  }
  .hero-art {
    position: absolute;
    left: -72px;
    bottom: -44px;
    width: 210px;
    height: 170px;
    min-height: 0;
    opacity: 0.45;
  }
  .equation-float,
  .hero-sticker {
    display: none;
  }
  .metric-row {
    gap: 7px;
    margin-top: 10px;
  }
  .metric-card {
    min-height: 73px;
    padding: 9px 8px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .metric-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 14px;
  }
  .metric-card small {
    font-size: 8px;
  }
  .metric-card strong {
    font-size: 15px;
    margin-top: 2px;
  }
  .metric-card strong i {
    font-size: 8px;
  }
  .metric-trend {
    display: none;
  }
  .section-block {
    margin-top: 25px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .section-heading p {
    font-size: 9px;
  }
  .home-lesson-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .spotlight-card {
    min-height: 173px;
    padding: 13px 14px;
  }
  .spotlight-meta {
    margin-top: 10px;
  }
  .spotlight-card p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .learning-strip {
    padding: 15px;
  }
  .learning-steps {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .learning-steps > div {
    grid-template-columns: 27px 1fr;
  }
  .learning-steps span {
    grid-column: 2;
  }
  .site-footer {
    gap: 9px;
    font-size: 8px;
  }
  .site-footer span:nth-child(2) {
    display: none;
  }
  .page-intro {
    align-items: flex-start;
    margin: 4px 0 16px;
  }
  .page-intro h1 {
    font-size: 23px;
  }
  .page-intro p {
    font-size: 9px;
  }
  .curriculum-total {
    display: none;
  }
  .curriculum-controls {
    grid-template-columns: 1fr 1fr;
    padding: 9px;
    gap: 8px;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .curriculum-banner {
    align-items: flex-start;
    padding: 9px;
  }
  .curriculum-banner .inline-button {
    font-size: 8px;
  }
  .lesson-row {
    gap: 7px;
    padding: 9px;
  }
  .lesson-row-copy {
    flex: 1;
  }
  .lesson-row-copy strong {
    font-size: 9px;
  }
  .lesson-row-copy span {
    font-size: 7px;
    max-width: 200px;
  }
  .lesson-time {
    display: none;
  }
  .lesson-open {
    font-size: 8px;
    padding: 5px 0;
  }
  .unit-heading {
    gap: 8px;
  }
  .lesson-hero {
    padding: 15px;
  }
  .lesson-hero h1 {
    font-size: 19px;
  }
  .lesson-hero p {
    font-size: 9px;
  }
  .lesson-progress-badge {
    width: 47px;
    height: 47px;
    border-radius: 14px;
  }
  .content-card {
    padding: 14px;
  }
  .lesson-side-column {
    grid-template-columns: 1fr;
  }
  .lesson-graph {
    height: 290px;
    min-height: 250px;
  }
  .graph-placeholder {
    min-height: 250px;
    padding: 14px;
  }
  .graph-shell-head {
    gap: 7px;
  }
  .graph-shell-head > div strong {
    font-size: 8px;
  }
  .quiet-button {
    font-size: 7px;
    padding: 5px;
  }
  .challenge-card {
    padding: 21px 16px;
  }
  .challenge-card h2 {
    font-size: 15px;
  }
  .challenge-footer {
    gap: 8px;
    font-size: 8px;
  }
  .achievement-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .rank-card {
    grid-column: 1/-1;
  }
  .stat-achievement {
    min-height: 95px;
    padding: 12px;
    gap: 8px;
  }
  .stat-achievement .metric-icon {
    width: 30px;
    height: 30px;
  }
  .stat-achievement strong {
    font-size: 17px;
  }
  .teacher-layout,
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: auto;
  }
  .reference-row {
    align-items: flex-start;
  }
  .reference-row a {
    font-size: 7px;
  }
  .graph-presets .button {
    width: 100%;
  }
  .full-graph {
    height: 350px;
    min-height: 300px;
  }
  .settings-dialog {
    padding: 17px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }
  .modal-actions .button {
    min-height: 40px;
  }
  .toast {
    left: 10px;
    bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

[hidden] {
  display: none !important;
}
.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at 15% 12%, #d8f4eb 0, transparent 28%),
    radial-gradient(circle at 90% 88%, #e3eafa 0, transparent 31%), #f4f7f8;
}
.auth-card {
  width: min(100%, 480px);
  padding: 34px;
  border: 1px solid #e1e9e8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 70px #15324814;
}
.auth-brand {
  width: fit-content;
  margin: 0 0 31px;
  padding: 0 0 18px;
  border-color: #e8eeee;
  color: var(--ink);
}
.auth-card > .eyebrow {
  color: #0c9585;
  font-size: 10px;
}
.auth-card > h1 {
  margin: 7px 0 4px;
  font-size: 25px;
  letter-spacing: -0.4px;
}
.auth-intro {
  margin: 0 0 22px;
  color: #77868e;
  font-size: 11px;
}
.auth-form {
  display: grid;
  gap: 13px;
}
.auth-form > label,
.admin-form > label,
.admin-form-row > label {
  display: grid;
  gap: 6px;
  color: #344c5a;
  font-size: 10px;
  font-weight: 700;
}
.auth-form .input,
.admin-form .input {
  min-height: 44px;
  font-size: 12px;
}
.auth-form .button {
  width: 100%;
  min-height: 45px;
  margin-top: 4px;
  font-size: 11px;
}
.guest-form {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #e8eeee;
}
.guest-form .button-secondary {
  border-color: #dce9e8;
  background: #f7fbfa;
  color: #286c67;
}
.auth-card .field-hint {
  margin: 0;
  line-height: 1.8;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 17px 0;
  color: #91a0a5;
  font-size: 9px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8eeee;
}
.auth-admin-button {
  width: 100%;
  min-height: 43px;
  border-color: #dfe8ea;
  font-size: 10px;
}
.auth-notice {
  min-height: 0;
  margin-top: 12px;
  color: #71818a;
  font-size: 10px;
  line-height: 1.7;
}
.auth-notice:empty {
  display: none;
}
.auth-notice.error {
  padding: 9px 11px;
  border: 1px solid #f3d4ce;
  border-radius: 9px;
  background: #fff6f4;
  color: #a94f40;
}
.auth-notice.success {
  padding: 9px 11px;
  border: 1px solid #d6eee4;
  border-radius: 9px;
  background: #f2faf5;
  color: #327560;
}
.first-password-form {
  margin-top: 14px;
}
.topbar-end {
  display: flex;
  align-items: center;
}
.logout-button {
  min-height: 34px;
  padding: 0 10px;
  color: #637884;
}
.admin-intro {
  align-items: center;
}
.admin-secure-pill {
  padding: 7px 11px;
  border: 1px solid #d9eee7;
  border-radius: 30px;
  background: #eff9f5;
  color: #267965;
  font-size: 9px;
  white-space: nowrap;
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(275px, 0.38fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.admin-create-card,
.admin-table-card {
  min-width: 0;
  padding: 18px;
}
.admin-form {
  display: grid;
  gap: 12px;
}
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 9px;
}
.admin-form .button {
  min-height: 42px;
  width: 100%;
  font-size: 10px;
}
.roster-import {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #edf0f1;
}
.roster-import h3 {
  margin: 0;
  font-size: 11px;
}
.roster-import > p {
  margin: 4px 0 10px;
  color: #7d8b93;
  font-size: 9px;
  line-height: 1.7;
}
.roster-actions {
  display: grid;
  gap: 8px;
}
.roster-actions input[type="file"] {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px dashed #cbd8d9;
  border-radius: 9px;
  color: #617680;
  font-size: 9px;
}
.roster-actions .button {
  min-height: 36px;
  font-size: 9px;
}
.roster-actions .text-button {
  justify-self: start;
  font-size: 9px;
}
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0;
}
.admin-filters label {
  display: grid;
  min-width: 125px;
  gap: 4px;
  color: #70818a;
  font-size: 9px;
}
.admin-filters .input {
  min-height: 35px;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e9eeee;
  border-radius: 11px;
}
.admin-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: right;
  font-size: 9px;
}
.admin-table th {
  padding: 10px 9px;
  background: #f5f8f8;
  color: #60737e;
  font-weight: 700;
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 9px;
  border-top: 1px solid #edf0f1;
  color: #526671;
  white-space: nowrap;
}
.admin-table td strong {
  color: #213846;
}
.admin-table code {
  direction: ltr;
  unicode-bidi: plaintext;
  color: #178879;
  font-size: 9px;
}
.admin-table .quiet-button {
  min-height: 29px;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 8px;
}
.admin-table-card > .field-hint {
  margin: 9px 1px 0;
  line-height: 1.8;
}
.teacher-dashboard-card {
  padding: 18px;
}
.teacher-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.teacher-dashboard-head h2 {
  margin: 4px 0 0;
}
.teacher-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}
.teacher-summary > div {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid #e4efec;
  border-radius: 12px;
  background: #f7fcfa;
}
.teacher-summary strong {
  color: #167d70;
  font-size: 17px;
}
.teacher-summary span,
.teacher-table td small {
  display: block;
  color: #82929a;
  font-size: 8px;
}
.teacher-table {
  min-width: 980px;
}
.password-status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 8px;
}
.password-status.is-temporary {
  background: #fff5df;
  color: #9a6a18;
}
.password-status.is-permanent {
  background: #eaf8f1;
  color: #267965;
}
.teacher-last-active {
  margin-top: 3px;
}
.auth-context {
  display: grid;
  gap: 5px;
  margin: 12px 0 14px;
  padding: 11px 12px;
  border: 1px solid #dcefeb;
  border-radius: 12px;
  background: linear-gradient(135deg, #f6fffc, #f8fbff);
  color: #516a72;
  font-size: 9px;
  line-height: 1.8;
}
.auth-context p { margin: 0; }
.auth-context b { color: #167d70; }
.demo-entry-button {
  width: 100%;
  margin-top: 8px;
  border: 1px dashed #74c8ba;
  background: #f1fffb;
  color: #167d70;
}
.demo-entry-hint { text-align: center; }
.assessment-switch {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.assessment-switch button {
  border: 1px solid #dce7e6;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: #71838a;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
}
.assessment-switch button.active {
  border-color: #54b9aa;
  background: #eafaf6;
  color: #167d70;
  font-weight: 700;
}
.smart-route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #bfe8df;
  border-radius: 16px;
  background: linear-gradient(120deg, #effcf8, #f8fbff);
}
.smart-route-card div { display: grid; gap: 4px; }
.smart-route-card b { color: #183b48; font-size: 13px; }
.smart-route-card span:not(.eyebrow) { color: #71858d; font-size: 9px; }
.report-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(115deg, #102136, #1d4b5d);
  color: #fff;
}
.report-hero > div:not(.report-arrow) { display: grid; gap: 5px; }
.report-hero strong { font-size: 32px; color: #8ff0d7; }
.report-hero p { margin: 0; color: #c0d6d9; font-size: 10px; }
.report-arrow { color: #8ff0d7; font-size: 25px; }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.report-card { padding: 18px; }
.report-card h2 { margin: 8px 0 4px; color: #167d70; font-size: 27px; }
.report-card p { min-height: 32px; color: #7b8b91; font-size: 9px; line-height: 1.7; }
.report-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.report-kpis > div { display: grid; gap: 4px; padding: 13px; border-radius: 13px; background: #f4fbf8; border: 1px solid #dcefeb; }
.report-kpis strong { color: #167d70; font-size: 20px; }
.report-kpis span { color: #71858d; font-size: 9px; }
.gain-value { color: #1b9a7c !important; }
.hero-supervision {
  display: block;
  margin-top: 5px;
  color: #7e9a9e;
  font-size: 8px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .smart-route-card,
  .report-hero { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .report-hero { display: grid; }
  .report-arrow { transform: rotate(90deg); justify-self: center; }
  .report-grid,
  .report-kpis { grid-template-columns: 1fr; }
  .smart-route-card .button { width: 100%; }
  .full-graph,
  .lesson-graph { min-height: 360px; overflow-x: auto; }
}
.issued-credentials {
  margin: 12px 0;
  padding: 13px;
  border: 1px solid #f0dfb8;
  border-radius: 12px;
  background: #fffbf1;
}
.issued-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.issued-actions {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 6px;
}
.issued-actions .button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 9px;
}
.issued-head strong {
  color: #6e531f;
  font-size: 10px;
}
.issued-head p {
  margin: 3px 0 0;
  color: #8b7955;
  font-size: 8px;
}
.issued-head .icon-button {
  flex: none;
  width: 30px;
  height: 30px;
}
.issued-list {
  display: grid;
  gap: 5px;
  max-height: 230px;
  margin-top: 10px;
  overflow: auto;
}
.issued-row {
  display: grid;
  grid-template-columns: minmax(100px, 1.5fr) minmax(90px, 1fr) minmax(
      110px,
      1fr
    );
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #f2ecd9;
  border-radius: 8px;
  background: #fff;
  color: #65727a;
  font-size: 8px;
}
.issued-row code {
  direction: ltr;
  unicode-bidi: plaintext;
  color: #225d53;
  font-size: 9px;
  font-weight: 700;
}
@media (max-width: 1150px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-create-card {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .auth-screen {
    padding: 13px;
  }
  .auth-card {
    padding: 23px 19px;
    border-radius: 18px;
  }
  .auth-card > h1 {
    font-size: 21px;
  }
  .admin-intro {
    align-items: flex-start;
  }
  .admin-secure-pill {
    margin-top: 8px;
  }
  .admin-create-card,
  .admin-table-card {
    padding: 13px;
  }
  .admin-form-row {
    grid-template-columns: 1fr 0.75fr;
  }
  .issued-row {
    grid-template-columns: 1fr 1fr;
  }
  .issued-row > span {
    grid-column: 1 / -1;
  }
  .logout-button {
    min-height: 31px;
    padding: 0 7px;
    font-size: 8px;
  }
}

@media (max-width: 850px) {
  .progress-hub {
    grid-template-columns: 1fr;
  }
  .progress-hub-main {
    min-height: 0;
    padding: 20px;
  }
  .progress-hub-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 17px;
    border-top: 1px solid #ffffff14;
    border-right: 0;
  }
  .progress-hub-stats > div {
    display: block;
  }
  .progress-hub-stats .stat-label,
  .progress-hub-stats small {
    display: block;
  }
  .progress-hub-stats .stat-label {
    margin-bottom: 4px;
  }
  .recommendation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .recommendation-card:last-child {
    grid-column: 1 / -1;
  }
  .achievement-overview {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 13px;
    padding: 18px;
  }
  .overview-facts {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    border-right: 0;
    border-top: 1px solid #ffffff1c;
    padding: 13px 0 0;
  }
}
@media (max-width: 600px) {
  .progress-hub-main {
    align-items: flex-start;
    gap: 13px;
    padding: 17px 15px;
  }
  .progress-ring,
  .achievement-overview .progress-ring {
    width: 88px;
    height: 88px;
  }
  .progress-ring::before {
    inset: 7px;
  }
  .progress-ring strong {
    font-size: 21px;
  }
  .progress-ring strong small {
    font-size: 10px;
  }
  .progress-ring span {
    margin-top: 2px;
    font-size: 7px;
  }
  .progress-hub-copy h2 {
    font-size: 16px;
  }
  .progress-hub-copy p {
    font-size: 9px;
    line-height: 1.65;
  }
  .compact-button {
    font-size: 8px;
  }
  .progress-hub-stats {
    gap: 8px;
    padding: 12px 11px;
  }
  .progress-hub-stats strong {
    font-size: 14px;
  }
  .progress-hub-stats .stat-label,
  .progress-hub-stats small {
    font-size: 7px;
  }
  .recommendation-section {
    margin-top: 22px;
  }
  .recommendation-section .section-heading {
    align-items: flex-start;
  }
  .recommendation-pulse {
    display: none;
  }
  .recommendation-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .recommendation-card:last-child {
    grid-column: auto;
  }
  .recommendation-card {
    min-height: 132px;
    padding: 13px;
  }
  .recommendation-copy h3 {
    font-size: 12px;
  }
  .recommendation-copy p {
    font-size: 8px;
  }
  .achievement-overview {
    grid-template-columns: minmax(0, 1fr) 88px;
    padding: 15px;
    border-radius: 16px;
  }
  .achievement-overview-copy h2 {
    font-size: 17px;
  }
  .achievement-overview-copy p {
    font-size: 8px;
    line-height: 1.7;
  }
  .overview-facts strong {
    font-size: 17px;
  }
  .focus-card {
    padding: 13px;
  }
  .focus-card p {
    font-size: 8px;
  }
  .focus-orbit {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
}

@media (max-width: 850px) {
  .diagnostic-question-list {
    grid-template-columns: 1fr;
  }
  .diagnostic-question h3 {
    min-height: 0;
  }
  .diagnostic-result {
    align-items: flex-start;
    flex-direction: column;
  }
  .diagnostic-score-pills {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .comparison-strip {
    padding: 11px 13px;
  }
  .comparison-strip strong {
    font-size: 11px;
  }
  .comparison-strip small {
    font-size: 7px;
  }
  .diagnostic-card {
    padding: 13px;
  }
  .diagnostic-card-head {
    display: block;
  }
  .diagnostic-privacy {
    display: block;
    margin-top: 5px;
  }
  .diagnostic-question {
    padding: 11px;
  }
  .diagnostic-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .diagnostic-footer .button {
    width: 100%;
  }
}

@media (max-width: 850px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .practice-section .section-heading {
    align-items: flex-start;
  }
  .practice-card {
    padding: 12px;
  }
  .practice-empty {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .practice-empty .button {
    width: 100%;
    margin-right: 41px;
  }
}

@media (max-width: 850px) {
  .diagnostic-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 24px;
  }
  .diagnostic-visual {
    display: none;
  }
}
@media (max-width: 600px) {
  .diagnostic-hero {
    margin-top: 3px;
    padding: 22px 18px;
    border-radius: 18px;
  }
  .diagnostic-hero h1 {
    font-size: 25px;
  }
  .diagnostic-hero p {
    font-size: 9px;
  }
  .diagnostic-flow {
    grid-template-columns: 1fr auto;
  }
  .diagnostic-flow-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* قراءة الاختبار التشخيصي على الهاتف */
.diagnostic-help { margin: 5px 0 0; color: #789098; font-size: 9px; line-height: 1.6; }
.diagnostic-tools { display: grid; justify-items: end; gap: 7px; }
.reading-tool { border: 1px solid #d9e9e6; border-radius: 9px; padding: 6px 9px; background: #f7fcfb; color: #167d70; cursor: pointer; font: inherit; font-size: 9px; }
.diagnostic-reading-large .diagnostic-question h3 { font-size: 17px; line-height: 2; }
.diagnostic-reading-large .diagnostic-option { font-size: 14px; min-height: 52px; }
.diagnostic-reading-large .diagnostic-question-meta small { font-size: 11px; }
#view-diagnostic:fullscreen { overflow: auto; padding: 24px; background: #f5faf9; }
@media (max-width: 600px) {
  .diagnostic-help { font-size: 11px !important; line-height: 1.8 !important; }
  .diagnostic-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
  .reading-tool { min-height: 42px; padding: 8px 12px; border-radius: 10px; font-size: 11px; font-weight: 700; }
  .diagnostic-privacy { font-size: 10px; }
  .diagnostic-question { padding: 16px 14px; border-radius: 16px; }
  .diagnostic-question-meta > span { width: 32px; height: 32px; font-size: 12px; }
  .diagnostic-question-meta small { font-size: 11px; line-height: 1.5; }
  .diagnostic-question h3 { margin: 14px 0; font-size: 16px; line-height: 1.9; }
  .diagnostic-options { gap: 9px; }
  .diagnostic-option { min-height: 52px; padding: 11px 12px; gap: 10px; font-size: 14px; line-height: 1.6; }
  .diagnostic-option > span { flex: 0 0 30px; width: 30px; height: 30px; font-size: 12px; }
  .diagnostic-footer p { font-size: 10px; line-height: 1.7; }
}
