@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
  
:root {
  --ink:#202020;
  --muted:#787672;
  --orange:#ff583b;
  --line:#eeeae5;
  --paper:#fff;
  --cream:#faf7f2
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
body {
  margin:0;
  color:var(--ink);
  font-family:'DM Sans',Arial,sans-serif;
  font-size:14px;
  line-height:1.5
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3,.brand {
  font-family:'Manrope',Arial,sans-serif
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--orange)
}
a:focus-visible {
  outline:3px solid #8560b9;
  outline-offset:5px
}
h2 {
  font-size:21px;
  letter-spacing:-.7px
}
h3 {
  font-size:18px;
  line-height:1.35;
  letter-spacing:-.5px
}
p {
  color:var(--muted)
}
.skip-link {
  position:fixed;
  top:-80px;
  left:20px;
  padding:12px;
  background:white;
  z-index:10
}
.skip-link:focus {
  top:12px
}
.brand {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:23px;
  font-weight:800;
  white-space:nowrap;
  letter-spacing:-1px
}
.brand-mark {
  color:var(--orange);
  font-size:38px;
  line-height:1
}
.brand-light {
  font-weight:500;
  font-size:14px;
  letter-spacing:-.4px;
  align-self:flex-end;
  padding-bottom:4px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:42px;
  padding:10px 18px;
  border:1px solid #242424;
  border-radius:10px;
  font-weight:600;
  font-size:13px;
  transition:transform .2s,background .2s
}
.button:hover {
  transform:translateY(-2px)
}
.button-orange {
  color:white;
  background:var(--orange)
}
.button-orange:hover {
  background:#e94429;
  color:white
}
.button-white {
  background:#fff;
  border-color:transparent
}
.button-white:hover {
  background:#fff7ed
}
.full {
  width:100%;
  justify-content:space-between
}
.pill {
  display:inline-block;
  border:1px solid #292929;
  padding:4px 10px;
  border-radius:7px;
  font-size:11px;
  line-height:1.3;
  white-space:nowrap
}
.yellow {
  background:#ffd443
}
.lavender {
  background:#bb96ed
}
.silver {
  background:#dddcd9
}
.dark {
  background:#222;
  color:white
}
.peach {
  background:#f8c1a9
}
.white {
  background:#fff
}
.cream {
  background:#faf6ef;
  border-color:transparent
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.1px;
  font-weight:700
}
.orange-text {
  color:var(--orange)
}
.muted {
  color:var(--muted)
}
.text-link {
  font-size:12px;
  font-weight:600
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:19px
}
.small-note {
  font-size:12px;
  color:var(--muted)
}
.center {
  text-align:center
}

/* Public homepage */
.landing-page {
  background:#bdafcf;
  padding:24px
}
.landing-shell {
  max-width:1480px;
  margin:0 auto;
  background:#fafaf8;
  border-radius:24px;
  padding:0 34px;
  min-height:calc(100vh - 48px)
}
.public-header {
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px
}
.public-header nav {
  display:flex;
  gap:30px;
  font-size:13px
}
.header-actions {
  display:flex;
  gap:9px
}
.landing-hero {
  display:grid;
  grid-template-columns:1fr 260px;
  align-items:center;
  gap:45px;
  padding:48px 0 62px
}
.landing-hero .eyebrow {
  color:var(--muted)
}
.landing-hero h1 {
  font-size:clamp(46px,5.7vw,83px);
  font-weight:800;
  line-height:1.07;
  letter-spacing:-4px;
  margin-top:16px;
  position:relative;
  display:inline-block
}
.landing-hero h1 span {
  color:var(--orange)
}
.underline {
  position:absolute;
  bottom:-14px;
  right:0;
  width:63%;
  height:18px;
  color:var(--orange)
}
.hero-note {
  padding-top:24px
}
.hero-note p {
  font-size:14px;
  line-height:1.55;
  margin:23px 0;
  color:#62615d
}
.hero-note .text-link {
  display:flex;
  justify-content:space-between
}
.learning-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px
}
.learning-card {
  border:1px solid #8e8b86;
  border-radius:20px;
  background:#fff;
  padding:7px;
  display:flex;
  flex-direction:column;
  transition:transform .2s
}
.learning-card:hover {
  transform:translateY(-5px)
}
.art {
  height:220px;
  border-radius:14px;
  position:relative;
  overflow:hidden;
  color:#222
}
.art>.pill {
  position:absolute;
  top:12px;
  left:12px;
  z-index:1
}
.art>svg {
  width:100%;
  height:100%;
  padding-top:18px
}
.art-video>svg {
  transform:rotate(9deg) scale(.95)
}
.art-practice>svg {
  transform:rotate(-10deg)
}
.art-progress>svg {
  transform:rotate(8deg);
  color:#fff
}
.play-sticker {
  position:absolute;
  right:24px;
  bottom:26px;
  width:48px;
  height:48px;
  background:#fff;
  border:2px solid #222;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:20px;
  transform:rotate(-12deg)
}
.math-sticker {
  position:absolute;
  bottom:18px;
  left:12px;
  background:#bb96ed;
  border:1px solid #222;
  border-radius:5px;
  padding:3px 9px;
  transform:rotate(-7deg);
  font-size:21px
}
.progress-sticker {
  position:absolute;
  bottom:18px;
  left:10px;
  background:#ffd443;
  color:#222;
  padding:5px 8px;
  transform:rotate(-5deg);
  font-size:11px;
  border-radius:4px
}
.learning-copy {
  padding:15px 5px 3px;
  flex:1;
  display:flex;
  flex-direction:column
}
.learning-copy .eyebrow {
  font-size:8px;
  color:#777;
  letter-spacing:.7px;
  margin-bottom:7px
}
.learning-copy h3 {
  font-size:19px
}
.learning-copy p {
  font-size:12px;
  line-height:1.6;
  margin:11px 0 18px
}
.learning-copy .button {
  margin-top:auto
}
.public-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:32px 0 26px;
  font-size:11px;
  color:#777
}
.public-footer .orange-text {
  font-size:18px;
  margin-left:8px
}

/* Student workspace */
.dashboard-page {
  background:#bdafcf;
  padding:38px 26px;
  min-height:100vh
}
.dashboard-shell {
  max-width:1500px;
  margin:auto;
  background:#fff;
  border-radius:22px;
  display:grid;
  grid-template-columns:218px minmax(0,1fr);
  overflow:hidden;
  min-height:calc(100vh - 76px);
  box-shadow:0 20px 75px #9d563c20
}
.sidebar {
  padding:27px 20px;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--line)
}
.sidebar .brand {
  font-size:22px;
  gap:5px
}
.sidebar .brand-light {
  font-size:12px
}
.menu-label {
  font-size:9px;
  letter-spacing:1.1px;
  color:#8b8884;
  margin:46px 12px 12px
}
.sidebar nav {
  display:flex;
  flex-direction:column;
  gap:7px
}
.sidebar nav a {
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 13px;
  border-radius:10px;
  font-size:13px
}
.sidebar nav a>span {
  width:18px;
  font-size:19px;
  line-height:1
}
.sidebar nav a.active {
  color:var(--orange);
  background:#fcf2ec
}
.sidebar nav a:hover {
  background:#faf6f1
}
.sidebar-note {
  background:linear-gradient(160deg,#fff7e9,#ffb992);
  border-radius:15px;
  padding:16px 12px;
  margin-top:65px
}
.note-star {
  font-size:54px;
  line-height:1.2;
  color:var(--orange);
  display:block
}
.sidebar-note h3 {
  font-size:14px;
  margin:10px 0
}
.sidebar-note p {
  font-size:11px;
  color:#77594a;
  margin-bottom:20px
}
.sidebar-note .button {
  font-size:10px;
  padding:10px 9px
}
.logout-link {
  margin:24px 12px 0;
  font-size:12px;
  color:#79756e
}
.dashboard-header {
  height:76px;
  background:#fcfaf7;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 28px;
  font-size:12px
}
.header-divider {
  margin:0 10px;
  color:#c3bdb7
}
.profile-link {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px
}
.avatar {
  display:grid;
  place-items:center;
  width:70px;
  height:70px;
  background:#ffe3d0;
  color:#d55232;
  border:4px solid #fff;
  outline:1px solid #ff9d77;
  border-radius:50%;
  font-size:28px;
  font-weight:700;
  margin:auto
}
.avatar.small {
  width:35px;
  height:35px;
  font-size:13px;
  border-width:2px
}
.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px
}
.dashboard-main {
  padding:27px
}
.welcome-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:30px
}
.welcome-row .eyebrow {
  font-size:8px;
  color:#8f8b84
}
.welcome-row h1 {
  font-size:29px;
  letter-spacing:-1px;
  overflow-wrap:anywhere;
  margin:4px 0
}
.welcome-row p {
  font-size:12px
}
.welcome-row>.pill {
  font-size:10px;
  border-color:var(--line)
}
.dashboard-main h2 {
  font-size:19px
}
.continue-card {
  display:flex;
  gap:18px;
  padding:23px;
  background:#faf7f2;
  border-radius:16px
}
.course-symbol {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex-shrink:0;
  background:#fff;
  color:var(--orange);
  font:italic 34px Georgia;
  border-radius:12px
}
.continue-info {
  flex:1;
  min-width:0
}
.continue-info .eyebrow {
  font-size:8px;
  letter-spacing:.7px;
  color:#8d857c
}
.continue-info h3 {
  font-size:16px;
  margin:3px 0 20px
}
progress {
  display:block;
  width:100%;
  height:9px;
  border:0;
  border-radius:10px;
  overflow:hidden;
  background:#eee6dc
}
progress::-webkit-progress-bar {
  background:#eee6dc
}
progress::-webkit-progress-value {
  background:var(--orange);
  border-radius:10px
}
progress::-moz-progress-bar {
  background:var(--orange);
  border-radius:10px
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  color:#777;
  margin:8px 0 14px
}
.continue-info>.text-link {
  color:var(--orange);
  font-size:11px
}
.lesson-section {
  margin-top:31px
}
.lesson-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.lesson-card {
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  transition:box-shadow .2s
}
.lesson-card:hover {
  box-shadow:0 9px 22px #29201a0c
}
.lesson-cover {
  display:block;
  position:relative;
  height:156px;
  overflow:hidden;
  color:#222
}
.lesson-cover>svg {
  width:100%;
  height:100%;
  transform:translate(20px,5px) rotate(-6deg)
}
.lesson-cover>.pill {
  position:absolute;
  top:12px;
  left:12px;
  border:none;
  z-index:1;
  font-size:9px
}
.cover-play {
  position:absolute;
  bottom:12px;
  left:13px;
  background:#fff;
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:18px
}
.lesson-copy {
  padding:16px
}
.lesson-copy>.eyebrow {
  font-size:7px;
  letter-spacing:.7px;
  color:#989087
}
.lesson-copy h3 {
  font-size:15px;
  line-height:1.4;
  min-height:42px;
  margin:6px 0 13px;
  overflow-wrap:anywhere
}
.lesson-meta,.lesson-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:9px;
  color:#8b847b
}
.lesson-status {
  border-top:1px solid var(--line);
  margin-top:14px;
  padding-top:12px
}
.lesson-status>a {
  font-size:17px;
  color:var(--orange)
}
.done {
  color:#43856b
}
.empty-state {
  padding:24px;
  background:#faf7f2;
  border-radius:14px;
  grid-column:1/-1
}
.empty-state p {
  margin-top:8px
}
.dashboard-details {
  padding:22px 18px;
  background-color:#fcf7f1;
  background-image:linear-gradient(#eadbd526 1px,transparent 1px),linear-gradient(90deg,#eadbd526 1px,transparent 1px);
  background-size:22px 22px;
  border-left:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:16px
}
.detail-card {
  background:#fff;
  border-radius:17px;
  padding:20px 16px
}
.profile-card {
  text-align:center
}
.profile-card h2 {
  font-size:16px;
  margin:13px 0 3px;
  overflow-wrap:anywhere
}
.profile-card p {
  font-size:10px;
  margin-bottom:13px
}
.profile-card .pill {
  font-size:9px;
  white-space:normal
}
.profile-numbers {
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:19px;
  padding-top:16px;
  border-top:1px solid var(--line)
}
.profile-numbers>div+div {
  border-left:1px solid var(--line)
}
.profile-numbers strong {
  display:block;
  font-size:22px
}
.profile-numbers span {
  font-size:8px;
  color:#969089;
  display:block
}
.detail-card h2 {
  font-size:13px;
  letter-spacing:-.2px
}
.detail-card .section-heading {
  margin-bottom:18px
}
.progress-ring {
  width:142px;
  height:142px;
  padding:9px;
  border-radius:50%;
  margin:0 auto 18px;
  background:conic-gradient(var(--orange) var(--progress),#f6eee6 0)
}
.progress-ring>div {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:50%;
  height:100%
}
.progress-ring strong {
  font-size:31px;
  letter-spacing:-1px
}
.progress-ring span {
  font-size:8px;
  color:#969089
}
.detail-card>.center {
  font-size:10px;
  line-height:1.8
}
.stat-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.stat-grid .detail-card {
  padding:16px 13px
}
.stat-icon {
  display:block;
  color:var(--orange);
  background:#fff6ef;
  border-radius:9px;
  width:33px;
  height:33px;
  text-align:center;
  line-height:33px;
  margin-bottom:12px;
  font-size:19px
}
.stat-grid strong {
  font-size:23px;
  display:block
}
.stat-grid .detail-card>span:last-child {
  font-size:9px;
  color:#8b847b
}
.daily-note .eyebrow {
  font-size:8px;
  color:#a39a90
}
.daily-note h3 {
  font-size:16px;
  line-height:1.6;
  margin:10px 0
}
.daily-note p {
  font-size:11px;
  margin-bottom:15px
}
.daily-note>.orange-text {
  font-size:14px
}

@media(min-width:1500px) {
  .art {
  height:270px
}
.landing-hero {
  padding-top:65px;
  padding-bottom:80px
}
.lesson-cover {
  height:190px
}

}

@media(max-width:1150px) {
  .public-header nav {
  gap:16px
}
.public-header {
  gap:15px
}
.landing-shell {
  padding:0 24px
}
.landing-hero {
  grid-template-columns:1fr 225px;
  gap:20px
}
.learning-grid {
  gap:12px
}
.learning-copy h3 {
  font-size:16px
}
.art {
  height:180px
}
.dashboard-page {
  padding:20px 14px
}
.dashboard-shell {
  grid-template-columns:185px minmax(0,1fr)
}
.sidebar {
  padding:24px 14px
}
.sidebar .brand {
  font-size:19px
}
.sidebar .brand-light {
  font-size:10px
}
.dashboard-grid {
  grid-template-columns:minmax(0,1fr) 235px
}
.dashboard-main {
  padding:22px 18px
}
.dashboard-details {
  padding:18px 12px
}
.welcome-row h1 {
  font-size:25px
}
.section-heading>.text-link {
  font-size:10px
}
.lesson-copy {
  padding:12px
}
.lesson-meta {
  flex-wrap:wrap
}

}

@media(max-width:950px) {
  .public-header nav {
  display:none
}
.learning-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.art {
  height:230px
}
.landing-hero h1 {
  font-size:58px
}
.dashboard-grid {
  grid-template-columns:minmax(0,1fr)
}
.dashboard-details {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-left:0;
  border-top:1px solid var(--line);
  align-items:start
}
.daily-note {
  height:100%
}
.sidebar-note {
  margin-top:45px
}
.lesson-cover {
  height:180px
}

}

@media(max-width:620px) {
  body {
  font-size:13px
}
.landing-page {
  padding:9px
}
.landing-shell {
  padding:0 17px;
  border-radius:18px
}
.public-header {
  min-height:80px;
  flex-wrap:wrap;
  gap:6px;
  padding:14px 0
}
.brand {
  font-size:20px
}
.brand-mark {
  font-size:30px
}
.brand-light {
  font-size:11px
}
.header-actions {
  gap:5px
}
.header-actions .button {
  padding:8px;
  font-size:10px;
  min-height:35px
}
.landing-hero {
  grid-template-columns:1fr;
  padding:29px 0 36px;
  gap:22px
}
.landing-hero h1 {
  font-size:clamp(38px,9vw,56px);
  letter-spacing:-2.2px
}
.landing-hero .eyebrow {
  font-size:8px
}
.hero-note {
  padding:0;
  max-width:340px
}
.hero-note p {
  font-size:13px;
  margin:16px 0
}
.hero-note p br {
  display:none
}
.landing-shell .section-heading {
  align-items:flex-start;
  flex-direction:column;
  gap:5px
}
.landing-shell h2 {
  font-size:21px
}
.learning-grid {
  gap:12px
}
.art {
  height:155px
}
.learning-copy {
  padding:11px 3px 3px
}
.learning-copy h3 {
  font-size:15px
}
.learning-copy p {
  font-size:11px
}
.learning-copy .eyebrow {
  font-size:7px
}
.learning-copy .button {
  font-size:11px;
  padding:9px
}
.art>.pill {
  font-size:8px;
  top:8px;
  left:8px
}
.play-sticker {
  width:35px;
  height:35px;
  right:12px;
  font-size:15px
}
.math-sticker {
  font-size:15px
}
.progress-sticker {
  font-size:8px;
  left:5px
}
.public-footer {
  flex-direction:column;
  gap:5px;
  padding:25px 0;
  font-size:10px
}
.dashboard-page {
  padding:9px
}
.dashboard-shell {
  display:block;
  border-radius:16px
}
.sidebar {
  padding:17px 16px 10px;
  border:0;
  border-bottom:1px solid var(--line)
}
.sidebar .brand {
  font-size:22px
}
.sidebar .brand-light {
  font-size:12px
}
.menu-label,.sidebar-note {
  display:none
}
.sidebar nav {
  flex-direction:row;
  flex-wrap:wrap;
  gap:3px;
  margin-top:15px
}
.sidebar nav a {
  font-size:11px;
  padding:8px
}
.sidebar nav a>span {
  font-size:16px;
  width:auto
}
.logout-link {
  margin:10px 8px 0;
  font-size:10px;
  align-self:flex-end
}
.dashboard-header {
  height:57px;
  padding:0 17px;
  font-size:10px
}
.profile-link {
  font-size:10px;
  gap:7px
}
.header-divider {
  margin:0 5px
}
.dashboard-main {
  padding:23px 15px
}
.welcome-row h1 {
  font-size:25px
}
.welcome-row p {
  font-size:11px
}
.welcome-row>.pill {
  display:none
}
.dashboard-main h2 {
  font-size:17px
}
.continue-card {
  padding:18px 14px;
  gap:12px
}
.course-symbol {
  width:35px;
  height:35px;
  font-size:25px
}
.continue-info h3 {
  font-size:14px
}
.continue-info .eyebrow {
  font-size:7px
}
.lesson-grid {
  gap:12px
}
.lesson-cover {
  height:130px
}
.lesson-copy h3 {
  font-size:13px;
  min-height:38px
}
.lesson-copy>.eyebrow {
  font-size:6px
}
.lesson-status,.lesson-meta {
  font-size:8px
}
.dashboard-details {
  gap:12px;
  padding:15px 12px
}
.detail-card {
  padding:17px 12px
}
.progress-ring {
  width:115px;
  height:115px
}
.progress-ring strong {
  font-size:27px
}
.profile-card h2 {
  font-size:14px
}
.profile-numbers strong {
  font-size:19px
}
.profile-numbers span {
  font-size:7px
}
.stat-grid {
  gap:8px
}
.stat-grid .detail-card {
  padding:14px 9px
}
.stat-grid .detail-card>span:last-child {
  font-size:8px
}
.daily-note h3 {
  font-size:14px
}
.daily-note p {
  font-size:10px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  transition:none!important
}

}

/* Login and registration share the public homepage style. */
.auth-shell { display: flex; flex-direction: column; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 450px); gap: 70px; align-items: center; padding: 40px 45px 55px; flex: 1; }
.auth-intro h1 { font-size: clamp(38px, 4.4vw, 65px); line-height: 1.12; letter-spacing: -2.8px; margin: 25px 0 20px; }
.auth-intro h1 span { color: var(--orange); }
.auth-intro > p { max-width: 390px; line-height: 1.8; }
.auth-art { position: relative; max-width: 390px; height: 250px; margin-top: 30px; border: 1px solid #292929; border-radius: 20px; overflow: hidden; }
.auth-art svg { width: 100%; height: 100%; transform: rotate(-5deg); }
.auth-art .pill { position: absolute; left: 18px; bottom: 16px; transform: rotate(-5deg); }
.auth-card { background: #fff; border: 1px solid #d1ccc5; border-radius: 22px; padding: 32px; box-shadow: 0 12px 35px #34284206; }
.auth-card > .eyebrow { color: var(--muted); font-size: 9px; }
.auth-card h2 { font-size: 28px; line-height: 1.3; margin: 10px 0; letter-spacing: -1px; }
.auth-subtitle { font-size: 13px; margin-bottom: 26px; }
.auth-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.auth-field { grid-column: 1 / -1; min-width: 0; }
.auth-field-half { grid-column: auto; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.auth-field input { display: block; width: 100%; min-height: 45px; padding: 11px 13px; border: 1px solid #dcd6cf; border-radius: 9px; background: #fffefa; font: inherit; font-size: 16px; color: var(--ink); }
.auth-field input:focus-visible { outline: 3px solid #bba0da66; outline-offset: 2px; border-color: #9973c0; }
.auth-field input[aria-invalid="true"] { border-color: #bf402c; }
.auth-help { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 6px; }
.auth-help ul, .auth-errors ul { margin: 0; padding-left: 16px; }
.auth-errors { color: #aa3322; font-size: 11px; line-height: 1.6; margin: 7px 0; }
.auth-form > .auth-errors { padding: 12px; background: #fff0e9; border-radius: 9px; margin-bottom: 18px; }
.auth-form > .button { cursor: pointer; font-family: inherit; margin-top: 24px; min-height: 46px; }
.auth-switch { text-align: center; font-size: 12px; margin-top: 22px; }
.auth-switch a { color: #ce4128; font-weight: 600; }
.auth-message { padding: 11px 13px; border: 1px solid #edd7cb; background: #fff3eb; border-radius: 9px; font-size: 12px; margin-bottom: 16px; color: #93412e; }
.auth-message.success { background: #edf6ec; border-color: #c7dfc3; color: #356331; }
@media (max-width: 950px) {
  .auth-layout { padding: 30px 0; gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .auth-intro h1 { font-size: 42px; letter-spacing: -2px; }
  .auth-card { padding: 25px; }
}
@media (max-width: 700px) {
  .auth-layout { grid-template-columns: 1fr; max-width: 470px; margin: 0 auto; padding: 25px 0; gap: 25px; width: 100%; }
  .auth-intro h1 { font-size: 36px; letter-spacing: -1.5px; margin: 18px 0 12px; }
  .auth-intro > p, .auth-art { display: none; }
  .auth-intro h1 br { display: none; }
  .auth-card h2 { font-size: 25px; }
  .auth-page .public-header > .text-link { font-size: 10px; }
  .auth-page .public-header { gap: 12px; }
}
@media (max-width: 380px) {
  .auth-card { padding: 20px 16px; }
  .auth-field-half { grid-column: 1 / -1; }
}
/* Course catalogue in the student workspace. */
.course-summary { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: 16px; background: var(--cream); }
.course-summary .section-heading { margin-bottom: 17px; }
.course-summary .progress-meta { margin-bottom: 0; }
.course-lesson-list { display: flex; flex-direction: column; gap: 13px; }
.course-lesson { display: flex; align-items: center; gap: 17px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; }
.course-lesson-done { border-color: #d4e5d9; }
.lesson-number { display: grid; place-items: center; width: 52px; height: 59px; border-radius: 12px; flex-shrink: 0; font: 700 23px 'Manrope', Arial, sans-serif; }
.course-lesson-info { flex: 1; min-width: 0; }
.course-lesson-info > .eyebrow { font-size: 8px; color: var(--muted); }
.course-lesson-info h3 { font-size: 15px; margin: 4px 0 12px; overflow-wrap: anywhere; }
.course-lesson-progress { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 9px; color: var(--muted); }
.course-lesson-progress progress { width: 75px; height: 5px; }
.course-lesson > .button { flex-shrink: 0; padding: 9px 12px; font-size: 10px; min-height: 36px; }
.button-course { border-color: #e5ded5; background: #fffaf5; color: #b54830; }
.button-course:hover { background: #fff0e4; }
.course-profile-note { font-size: 11px; margin: 10px 0 15px; }
@media (max-width: 1150px) { .course-lesson { padding: 16px 12px; gap: 12px; } .lesson-number { width: 39px; height: 48px; font-size: 19px; } }
@media (max-width: 620px) {
  .course-workspace .lesson-section > .section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .course-workspace .small-note { font-size: 10px; }
  .course-summary { padding: 18px 14px; gap: 12px; }
  .course-summary h2 { font-size: 14px; }
  .course-lesson { flex-wrap: wrap; }
  .course-lesson-info { flex-basis: calc(100% - 55px); }
  .course-lesson > .button { margin-left: 51px; }
  .course-workspace .dashboard-details > .text-link { grid-column: 1 / -1; padding: 8px; }
}
/* About Julia — public homepage palette. */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; padding: 48px 20px 65px; }
.about-intro h1 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -2.7px; margin: 23px 0; }
.about-intro h1 span { color: var(--orange); }
.about-intro > p { max-width: 440px; font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.about-illustration { border: 1px solid #292929; border-radius: 24px; padding: 22px; position: relative; transform: rotate(2deg); }
.about-illustration > svg { width: 100%; display: block; margin: 20px 0; }
.about-illustration > .pill { font-size: 10px; white-space: normal; }
.about-signature { text-align: right; font: 700 24px 'Manrope', Arial, sans-serif; }
.about-signature span { font-size: 37px; color: var(--orange); vertical-align: middle; }
.about-values { padding: 10px 0 40px; }
.about-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-value { background: white; border: 1px solid #d1ccc5; border-radius: 18px; padding: 26px; }
.about-value-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #292929; border-radius: 11px; font: 25px Georgia, serif; margin-bottom: 23px; }
.about-value > .eyebrow { font-size: 8px; color: var(--muted); }
.about-value h3 { font-size: 20px; margin: 10px 0 15px; }
.about-value p { font-size: 12px; line-height: 1.9; }
.about-contact { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: #fff0e5; border: 1px solid #e9d7c6; border-radius: 18px; padding: 30px; margin: 5px 0 10px; }
.about-contact h2 { font-size: 28px; margin: 8px 0; }
.about-contact p { font-size: 12px; }
.about-contact-links { display: flex; flex-direction: column; gap: 13px; min-width: 240px; }
.about-contact-links a { display: flex; justify-content: space-between; gap: 24px; font-size: 14px; }
.about-contact-links a span { color: var(--orange); }
@media (max-width: 950px) { .about-hero { gap: 30px; padding: 35px 0 45px; } .about-values-grid { gap: 12px; } .about-value { padding: 20px; } .about-value h3 { font-size: 17px; } }
@media (max-width: 620px) {
  .about-hero { grid-template-columns: 1fr; padding-top: 30px; gap: 35px; }
  .about-intro h1 { font-size: 41px; letter-spacing: -2px; }
  .about-intro > p { font-size: 13px; }
  .about-illustration { max-width: 400px; width: calc(100% - 10px); margin: 0 auto; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-value { padding: 24px; }
  .about-value h3 { font-size: 20px; }
  .about-value-icon { margin-bottom: 17px; }
  .about-contact { flex-direction: column; align-items: stretch; padding: 23px; gap: 22px; }
  .about-contact h2 { font-size: 25px; }
  .about-contact-links { min-width: 0; }
  .about-contact-links a { font-size: 12px; }
}
/* Lesson reading and exercises. */
.lesson-workspace { padding: 30px; background: #fff; min-width: 0; }
.lesson-workspace .lesson-container { max-width: 1000px; margin: 0 auto; min-width: 0; }
.lesson-header { margin-bottom: 28px; }
.lesson-header .back-btn { display: inline-block; font-size: 12px; color: #a54c37; margin-bottom: 25px; }
.lesson-eyebrow { display: block; color: var(--muted); font-size: 9px; }
.lesson-header h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -1.2px; margin: 10px 0; overflow-wrap: anywhere; }
.lesson-header > p { font-size: 12px; }
.lesson-content, .video-section, .exercise-card { padding: 26px; border: 1px solid var(--line); border-radius: 17px; margin-bottom: 23px; min-width: 0; overflow-wrap: anywhere; }
.lesson-content { background: #fcfaf7; line-height: 1.9; }
.lesson-content:empty { display: none; }
.lesson-content p, .math-content p { color: #5e5b56; margin: 0 0 14px; line-height: 1.9; }
.lesson-content h2, .video-section h2 { font-size: 20px; margin-bottom: 15px; }
.lesson-content h3 { margin: 18px 0 12px; }
.lesson-content img, .math-content img { max-width: 100%; height: auto; }
.lesson-content table, .math-content table { display: block; max-width: 100%; overflow-x: auto; }
.lesson-workspace .video-section { background: #fff; }
.lesson-workspace video { background: #171717; }
.exercises-section { margin-top: 32px; }
.exercises-section > h2 { margin: 27px 0 18px; }
.lesson-progress { padding: 22px 25px; background: var(--cream); border-radius: 15px; }
.lesson-progress h3 { font-size: 14px; }
.lesson-progress .progress-bar { height: 8px; background: #eee6dc; border-radius: 10px; overflow: hidden; margin-top: 14px; }
.lesson-progress .progress { height: 100%; background: var(--orange); border-radius: 10px; }
.exercise-card > h3 { color: #c74f32; font-size: 13px; margin-bottom: 18px; }
.math-content { line-height: 1.9; padding: 4px 0; overflow-x: auto; }
.hint, .answer { display: none; background: #fbf6ed; border: 1px solid #eee3d2; border-radius: 11px; padding: 16px; margin: 14px 0; }
.answer { background: #f5f0fb; border-color: #e6ddf2; }
.lesson-workspace button { font-family: inherit; }
.hint-button, .answer-button, .complete-button { cursor: pointer; padding: 10px 14px; border: 1px solid #e4d9cb; border-radius: 9px; background: #fff9f0; color: #9d4a30; font-size: 12px; margin: 10px 8px 0 0; transition: background .2s; }
.hint-button:hover, .answer-button:hover { background: #ffe8d3; }
.complete-button { display: block; margin-top: 18px; background: var(--orange); border-color: #dc482f; color: white; }
.complete-button:hover { background: #e84c31; }
.complete-button.completed { background: #eaf4ec; border-color: #c4ddca; color: #36724b; }
.lesson-workspace button:focus-visible { outline: 3px solid #bba0da; outline-offset: 3px; }
@media (max-width: 620px) {
  .lesson-workspace { padding: 22px 15px; }
  .lesson-content, .video-section, .exercise-card { padding: 18px 14px; border-radius: 13px; }
  .lesson-progress { padding: 18px; }
  .lesson-header h1 { font-size: 28px; }
  .lesson-content { font-size: 13px; }
  .lesson-workspace .quality-toggle { font-size: 11px; padding: 6px 8px; }
}
/* Profile settings prototype. */
.profile-settings { margin-top: 34px; scroll-margin-top: 25px; }
.profile-settings h2 { margin-top: 5px; }
.profile-settings > .section-heading { align-items: center; }
.profile-settings .eyebrow { color: var(--muted); font-size: 8px; }
.settings-description { font-size: 11px; line-height: 1.8; margin-bottom: 20px; }
.settings-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.settings-row { display: flex; align-items: center; gap: 13px; min-width: 0; }
.settings-row > div { min-width: 0; }
.settings-icon { width: 38px; height: 42px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-size: 21px; }
.settings-row h3 { font-size: 13px; margin-bottom: 4px; }
.settings-row p { font-size: 10px; overflow-wrap: anywhere; }
.settings-caption { font-size: 8px; color: #a49a8e; }
.settings-card > .button { font: 600 10px 'DM Sans', Arial, sans-serif; padding: 9px 11px; min-height: 35px; cursor: pointer; flex-shrink: 0; }
.profile-mock-status { font-size: 11px; color: #39724e; line-height: 1.8; }
.profile-mock-status:not(:empty) { padding: 14px; border-radius: 10px; background: #eff6ed; margin-top: 16px; }
.profile-dialog { width: min(470px, calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #e3d8cb; border-radius: 21px; padding: 27px; color: var(--ink); box-shadow: 0 24px 90px #34201933; }
.profile-dialog::backdrop { background: #231b175c; backdrop-filter: blur(3px); }
.profile-dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dialog-close { background: none; border: none; cursor: pointer; font-size: 27px; color: #82796e; width: 34px; height: 34px; }
.profile-dialog h2 { font-size: 24px; margin-bottom: 10px; }
.profile-dialog > p { font-size: 12px; line-height: 1.8; margin-bottom: 22px; }
.mock-fields { display: grid; gap: 15px; }
.mock-fields label { font-size: 12px; font-weight: 600; }
.mock-fields input { display: block; width: 100%; padding: 12px; border: 1px solid #e2dcd3; border-radius: 9px; background: #faf8f5; margin-top: 6px; font: inherit; color: #82786d; opacity: 1; }
.profile-dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 25px; flex-wrap: wrap; }
.profile-dialog-actions button { cursor: pointer; font-family: inherit; font-size: 11px; }
.mock-payment-card { background: #fff0df; border: 1px solid #ead6bc; padding: 24px; border-radius: 15px; display: grid; gap: 20px; }
.mock-payment-card span { font-size: 10px; color: #92775c; }
.mock-payment-card strong { font-size: 20px; letter-spacing: 1px; }
.mock-session { display: grid; gap: 6px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.mock-session span { color: var(--muted); font-size: 10px; }
@media (max-width: 620px) { .settings-card { padding: 14px; flex-wrap: wrap; } .settings-card > .button { margin-left: 51px; } .profile-dialog { padding: 22px; } .profile-settings > .section-heading { flex-wrap: wrap; gap: 9px; } }
/* A single lesson split into short, independently revisitable stages. */
.learning-path { padding: 32px; }
.path-header { max-width: 1040px; margin: 0 auto 30px; }
.path-title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 15px; }
.path-title-row .eyebrow { font-size: 9px; color: var(--muted); }
.path-title-row h1 { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.18; letter-spacing: -1.5px; margin-top: 9px; }
.path-intro { max-width: 700px; font-size: 13px; line-height: 1.9; }
.path-overall { display: flex; gap: 15px; align-items: center; margin-top: 22px; }
.path-overall progress { max-width: 350px; }
.path-overall > span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.path-layout { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: start; }
.path-navigation { background: #fcf8f2; border: 1px solid var(--line); border-radius: 15px; padding: 18px 12px; position: sticky; top: 20px; }
.path-navigation h2 { font-size: 14px; padding: 0 8px; }
.path-navigation > p { font-size: 10px; padding: 5px 8px 15px; }
.path-navigation ol { list-style: none; margin: 0 0 15px; padding: 0; }
.path-navigation li > a { display: flex; align-items: center; gap: 10px; border: 1px solid transparent; padding: 11px 8px; border-radius: 9px; font-size: 11px; }
.path-navigation li > a.active { background: #fff; border-color: #f1cfb9; color: #c54a2e; }
.path-number { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 28px; border-radius: 7px; background: #f2e9df; font-size: 10px; }
.path-navigation a.active .path-number { background: #ffe6d6; }
.path-navigation small { display: block; color: #9a9086; font-size: 8px; margin-top: 4px; }
.path-navigation > .text-link { display: block; font-size: 10px; padding: 8px; }
.path-original { display: block; font-size: 10px; color: #8b7865; margin: 10px 8px 0; padding-top: 15px; border-top: 1px solid #eadfd3; }
.path-stage { min-width: 0; scroll-margin-top: 25px; }
.path-stage-top { display: flex; justify-content: space-between; align-items: center; margin: 5px 0 14px; gap: 12px; }
.path-stage-top .eyebrow { color: #ba5435; font-size: 9px; }
.path-stage > h2 { font-size: 29px; line-height: 1.3; }
.path-goal { font-size: 12px; line-height: 1.8; margin: 14px 0 24px; }
.path-goal strong { color: #3c3934; }
.path-theory, .path-example { border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 18px; font-size: 13px; line-height: 1.9; }
.path-stage h3 { font-size: 16px; letter-spacing: -.4px; margin-bottom: 18px; }
.path-stage h3 > span { display: inline-block; font-size: 10px; color: #b15637; margin-right: 7px; }
.path-theory p + p, .path-example p + p { margin-top: 14px; }
.path-theory details { margin-top: 16px; background: #faf7f2; padding: 12px; border-radius: 9px; font-size: 11px; }
.path-theory summary { cursor: pointer; font-weight: 600; }
.path-theory details p { padding-top: 12px; }
.path-example { background: #f6f0fd; border-color: #e8def0; }
.path-example ol { padding-left: 20px; margin: 12px 0 0; }
.path-example li { padding: 4px 0; color: #66606c; }
.path-pitfall { padding: 18px 22px; background: #fff5e2; border: 1px solid #f2e2be; border-radius: 13px; font-size: 11px; line-height: 1.8; margin-bottom: 28px; }
.path-pitfall strong { color: #926523; display: block; margin-bottom: 5px; }
.path-practice-note { font-size: 11px; line-height: 1.9; margin-bottom: 20px; }
.path-exercise { border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin-bottom: 18px; }
.path-exercise-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; margin-bottom: 18px; }
.path-exercise-heading .eyebrow { font-size: 8px; color: #9a9086; }
.path-exercise .math-content { font-size: 13px; }
.path-reveal { border: 1px solid #ebe0cf; border-radius: 9px; margin-top: 12px; font-size: 12px; background: #fffaf1; }
.path-reveal summary { cursor: pointer; padding: 12px 14px; color: #99623e; }
.path-reveal > div { padding: 12px 16px; border-top: 1px solid #ebe0cf; }
.path-reveal.solution { background: #faf7fd; border-color: #e8dff0; }
.path-reveal.solution summary { color: #816099; }
.path-completion-form { margin-top: 17px; }
.path-completion-form button { font: 600 11px 'DM Sans', Arial, sans-serif; cursor: pointer; }
.path-completion-form button:disabled { opacity: .6; cursor: wait; }
.path-save-error { font-size: 11px; color: #b43d2c; margin-top: 8px; }
.path-checkpoint { padding: 22px; background: #f8f6f1; border-radius: 13px; margin: 25px 0; }
.path-checkpoint h3 { margin-bottom: 9px; }
.path-checkpoint p, .path-end-note { font-size: 12px; line-height: 1.9; }
.path-bottom-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.path-bottom-nav a { font-size: 11px; }
.path-end-note { padding: 18px 0; }
@media (max-width: 1150px) { .learning-path { padding: 24px; } .path-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 20px; } .path-theory, .path-example, .path-exercise { padding: 20px; } }
@media (max-width: 850px) { .path-layout { grid-template-columns: minmax(0, 1fr); } .path-navigation { position: static; } .path-navigation ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .path-navigation li > a { height: 100%; } }
@media (max-width: 620px) { .learning-path { padding: 22px 15px; } .path-title-row { align-items: flex-start; flex-direction: column; gap: 12px; } .path-title-row h1 { font-size: 31px; } .path-overall { flex-direction: column; align-items: stretch; gap: 8px; } .path-navigation ol { gap: 3px; } .path-navigation li > a { font-size: 9px; padding: 9px 5px; gap: 6px; } .path-number { width: 22px; font-size: 9px; } .path-navigation small { font-size: 7px; } .path-stage > h2 { font-size: 25px; } .path-theory, .path-example, .path-exercise { padding: 18px 15px; } }
/* V3: answer, receive feedback, retry and keep earned progress. */
.interactive-start { background: #fff7e7; border: 1px solid #f1e2c5; border-radius: 14px; padding: 20px; margin: 20px 0; }
.interactive-start p { font-size: 12px; line-height: 1.9; margin-top: 13px; }
.interactive-reference { border: 1px solid var(--line); border-radius: 11px; margin-bottom: 12px; }
.interactive-reference > summary { padding: 15px 18px; font-size: 12px; cursor: pointer; color: #84684a; }
.interactive-reference .path-theory, .interactive-reference .path-example { border: none; margin: 0; border-radius: 0 0 11px 11px; }
.interactive-practice { margin-top: 30px; }
.interactive-exercise { border-width: 2px; transition: border-color .2s, background .2s; }
.interactive-exercise.is-correct { border-color: #a7ceb2; background: #fcfefb; }
.interactive-badge { padding: 3px 8px; font-size: 9px; border-radius: 20px; background: #f6efe6; color: #8e7157; }
.is-correct .interactive-badge { background: #e5f3e7; color: #35734a; }
.activity-options { border: 0; padding: 0; margin: 15px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.activity-options legend { width: 100%; font-size: 12px; margin-bottom: 15px; font-weight: 600; line-height: 1.8; }
.activity-options legend > span { color: var(--muted); display: block; font-size: 10px; font-weight: 400; }
.activity-option { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #ded8d0; border-radius: 11px; background: #fff; cursor: pointer; font-size: 12px; min-height: 53px; transition: background .15s, border-color .15s; }
.activity-option:has(input:checked) { border-color: var(--orange); background: #fff0e6; color: #b9472c; box-shadow: 0 0 0 1px var(--orange); }
.activity-option input { accent-color: var(--orange); width: 17px; height: 17px; flex-shrink: 0; }
.activity-option:focus-within { outline: 3px solid #bba0da66; outline-offset: 2px; }
.activity-fields { display: grid; gap: 15px; margin-top: 18px; }
.activity-fields label { font-size: 12px; font-weight: 600; }
.activity-input-row { display: flex; gap: 8px; align-items: stretch; margin-top: 7px; }
.activity-fields input { width: 100%; min-width: 0; padding: 12px 14px; min-height: 47px; border: 1px solid #dcd3c9; border-radius: 9px; background: #fff; font: 16px 'DM Sans', Arial, sans-serif; }
.activity-fields input:focus-visible { outline: 3px solid #bba0da66; outline-offset: 2px; border-color: #a58bb7; }
.activity-fields input[aria-invalid=true] { border-color: #cb6d35; background: #fff9f0; }
.insert-root { flex-shrink: 0; width: 43px; border: 1px solid #ddcfe9; border-radius: 9px; background: #f4ecfc; color: #795393; font-size: 20px; cursor: pointer; }
.activity-input-note { font-size: 10px; line-height: 1.8; color: #96877c; margin: 12px 0 17px; }
.activity-check { font: 600 12px 'DM Sans', Arial, sans-serif; cursor: pointer; }
.activity-check:disabled { opacity: .6; cursor: wait; }
.activity-feedback { font-size: 12px; line-height: 1.8; margin-top: 15px; }
.activity-feedback:empty { margin: 0; }
.activity-feedback.correct { padding: 12px 15px; background: #edf8ed; color: #32794c; border-radius: 9px; }
.activity-feedback.try-again { padding: 12px 15px; background: #fff4e2; color: #9a6530; border-radius: 9px; }
.activity-explanation { background: #f4f9f1; padding: 15px; border-radius: 9px; margin-top: 10px; font-size: 12px; line-height: 1.9; }
.stage-ready { box-shadow: 0 0 0 4px #ffe2ce; }
@media (max-width: 620px) { .activity-options { grid-template-columns: 1fr; } .activity-option { padding: 13px; } .interactive-exercise { padding: 19px 14px; } }
/* Supplied logo and portrait, shared across public pages and the workspace. */
.brand-image { display: block; width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.sidebar .brand-image { width: 44px; height: 44px; }
.about-portrait { margin: 0; border: 1px solid #d5c5e3; border-radius: 24px; overflow: hidden; background: #f3ecfa; width: 100%; max-width: 460px; justify-self: center; }
.about-portrait > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.about-portrait figcaption { padding: 18px 23px; }
.about-portrait figcaption > span { display: block; font-size: 10px; color: #887794; margin-bottom: 5px; }
.about-portrait figcaption strong { display: flex; align-items: center; justify-content: space-between; font: 700 21px 'Manrope', Arial, sans-serif; }
.about-portrait figcaption strong span { color: var(--orange); font-size: 30px; }
@media (max-width: 620px) { .brand-image { width: 45px; height: 45px; } .about-portrait { max-width: 380px; } }
.brand .brand-light { align-self: center; padding-bottom: 0; }

/* Student workspace: a shared lilac palette for learning and account settings. */
.dashboard-page {
  --accent: #7651a3;
  --accent-hover: #60398b;
  --accent-soft: #f1eaf8;
  --accent-border: #d9c9e8;
  --orange: var(--accent);
  --cream: #f8f5fb;
  --line: #ece5f1;
  --muted: #787080;
  --accent-color: var(--accent);
  --highlight-color: var(--accent);
}
.dashboard-page .button-orange { border-color: var(--accent-hover); }
.dashboard-page .button-orange:hover,
.dashboard-page .complete-button:hover { background: var(--accent-hover); }
.dashboard-page .button-white:hover,
.dashboard-page .sidebar nav a:hover { background: #f8f4fc; }
.dashboard-page .sidebar nav a.active { background: var(--accent-soft); }
.dashboard-page .sidebar-note { background: linear-gradient(160deg, #fff4d6, #ffd66e); }
.dashboard-page .sidebar-note p { color: #76613b; }
.dashboard-page .dashboard-header { background: #faf8fc; }
.dashboard-page .dashboard-shell { box-shadow: 0 20px 75px #67517c20; }
.dashboard-page .dashboard-details {
  background-color: #f8f5fb;
  background-image: linear-gradient(#d9c9e826 1px, transparent 1px), linear-gradient(90deg, #d9c9e826 1px, transparent 1px);
}
.dashboard-page .avatar { background: #eadef4; color: var(--accent-hover); outline-color: #b89cd1; }
.dashboard-page .cream,
.dashboard-page .stat-icon,
.dashboard-page .lesson-content,
.dashboard-page .path-navigation,
.dashboard-page .path-checkpoint { background: var(--cream); }
.dashboard-page .peach { background: #dbc9ec; }
.dashboard-page .yellow { background: #ffd66e; }
.dashboard-page .silver { background: #d8ece1; }
.dashboard-page .progress-ring { background: conic-gradient(var(--accent) var(--progress), #ece4f3 0); }
.dashboard-page progress,
.dashboard-page .lesson-progress .progress-bar { background: #ece4f3; }
.dashboard-page progress::-webkit-progress-bar { background: #ece4f3; }
.dashboard-page .button-course,
.dashboard-page .hint-button,
.dashboard-page .answer-button {
  border-color: var(--accent-border);
  background: #f8f3fc;
  color: var(--accent-hover);
}
.dashboard-page .button-course:hover,
.dashboard-page .hint-button:hover,
.dashboard-page .answer-button:hover { background: #ece0f6; }
.dashboard-page .complete-button { border-color: var(--accent-hover); }
.dashboard-page .complete-button.completed { border-color: #c4ddca; }
.dashboard-page .lesson-header .back-btn,
.dashboard-page .exercise-card > h3,
.dashboard-page .path-stage-top .eyebrow,
.dashboard-page .path-stage h3 > span,
.dashboard-page .path-pitfall strong,
.dashboard-page .path-reveal summary,
.dashboard-page .interactive-reference > summary { color: var(--accent-hover); }
.dashboard-page .hint,
.dashboard-page .path-pitfall,
.dashboard-page .path-reveal,
.dashboard-page .interactive-start {
  background: #f6f0fc;
  border-color: var(--accent-border);
}
.dashboard-page .path-reveal > div { border-top-color: var(--accent-border); }
.dashboard-page .path-navigation li > a.active { color: var(--accent-hover); border-color: var(--accent-border); }
.dashboard-page .path-number { background: #ece3f4; }
.dashboard-page .path-navigation a.active .path-number { background: #dfccee; }
.dashboard-page .path-original { color: #826e93; border-top-color: var(--accent-border); }
.dashboard-page .interactive-badge { background: #efe6f7; color: #79598f; }
.dashboard-page .is-correct .interactive-badge { background: #e5f3e7; color: #35734a; }
.dashboard-page .activity-option { border-color: #dfd5e8; }
.dashboard-page .activity-option:has(input:checked) { background: #eee3f8; color: var(--accent-hover); }
.dashboard-page .activity-fields input { border-color: #dcd0e6; }
.dashboard-page .activity-fields input[aria-invalid=true] { border-color: #a98bc1; background: #fbf7ff; }
.dashboard-page .activity-feedback.try-again { background: #f1e8f9; color: #70478d; }
.dashboard-page .stage-ready { box-shadow: 0 0 0 4px #e6d7f3; }
.dashboard-page .profile-dialog { border-color: var(--accent-border); box-shadow: 0 24px 90px #50346533; }
.dashboard-page .profile-dialog::backdrop { background: #281b365c; }
.dashboard-page .mock-fields input { background: #f8f5fb; border-color: var(--accent-border); color: #7b6c88; }
.dashboard-page .mock-payment-card { background: #f0e5f9; border-color: var(--accent-border); }
.dashboard-page .mock-payment-card span { color: #80658f; }
.dashboard-page svg [fill="#ff593e"] { fill: var(--accent); }
.dashboard-page svg [stroke="#ff593e"] { stroke: var(--accent); }
.dashboard-page svg [fill="#ffd445"] { fill: #d9c3ee; }
/* Warm highlights balance the lilac student workspace. */
.dashboard-page .continue-card { background: #fff4d6; }
.dashboard-page .lesson-cover [fill="#ffd445"] { fill: #ffd66e; }

/* Supplied lesson covers retain their complete artwork and embedded captions. */
.lesson-cover.has-generated-cover { height: auto; aspect-ratio: 3000 / 1688; }
.generated-lesson-cover { display: block; width: 100%; height: 100%; object-fit: contain; }
.course-lesson-cover { display: block; width: 150px; aspect-ratio: 3000 / 1688; overflow: hidden; border-radius: 10px; flex-shrink: 0; background: #e3d5f0; }
@media (max-width: 1150px) { .course-lesson-cover { width: 115px; } }
@media (max-width: 620px) {
  .course-lesson-cover { width: 100%; }
  .course-lesson-cover ~ .course-lesson-info { flex-basis: 100%; }
  .course-lesson-cover ~ .button { margin-left: 0; }
}