/* Stoic Academy art surrounds, never overlaps, the individual learning tools. */
body.student-mode .parallel-stoic-welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-height: 330px;
  padding: 32px 36px;
  margin: 8px 0 36px;
  border-radius: 20px;
  background: #171b24;
  color: #f3f2ed;
  border: 1px solid #ffffff14;
}
body.student-mode .parallel-stoic-welcome::before,
body.student-mode .parallel-stoic-welcome::after {
  display: none;
}
.parallel-welcome-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: -2;
  pointer-events: none;
  user-select: none;
}
body.student-mode .parallel-stoic-welcome .student-dashboard-intro {
  position: relative;
  max-width: 62%;
  padding: 0;
  background: transparent;
}
body.student-mode .parallel-stoic-welcome h1 {
  font: 400 clamp(30px, 3.2vw, 44px)/1.25 var(--font-display);
  color: #f3f2ed;
  margin: 10px 0 16px;
}
body.student-mode .parallel-stoic-welcome .student-dashboard-intro > p,
body.student-mode
  .parallel-stoic-welcome
  .student-dashboard-intro
  .student-eyebrow {
  color: #c7cbd4;
  font-size: 14px;
  line-height: 1.6;
}
body.student-mode
  .parallel-stoic-welcome
  .student-dashboard-intro
  > p:not(.student-eyebrow) {
  max-width: 450px;
}
body.student-mode .parallel-stoic-welcome .student-primary-action {
  border-radius: 10px;
  box-shadow: 0 5px 22px #3454d13b;
}
body.student-mode .parallel-stoic-welcome .student-level-showcase {
  display: flex;
  align-items: center;
  align-self: start;
  justify-content: flex-start;
  gap: 20px;
  width: min(390px, 60%);
  padding: 0;
  background: transparent;
  border: 0;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-color: #aab3c150;
  background: #171b2466;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit::before {
  border-color: #91a3ff;
  border-right-color: #aab3c144;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit b {
  color: #f3f2ed;
  font-size: 26px;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit span,
body.student-mode
  .parallel-stoic-welcome
  .student-level-progress
  > div
  :is(span, strong) {
  color: #d5d9e4;
}
body.student-mode .parallel-stoic-welcome .student-level-progress {
  flex: 1;
  min-width: 0;
}
body.student-mode .parallel-stoic-welcome .xp-track {
  background: #4c525f;
}
body.student-mode .parallel-stoic-welcome .xp-track > span {
  background: #6782ff;
}
body.student-mode .student-live-lesson-head {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 8px 0 24px;
}
body.student-mode #studentLesson .student-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 20px 0;
  border-radius: 18px;
  background: #171b24;
  color: #f3f2ed;
  overflow: hidden;
}
body.student-mode #studentLesson .lesson-card {
  background: transparent;
  border-color: #ffffff28;
  padding-bottom: 20px;
}
body.student-mode #studentLesson .lesson-card .label,
body.student-mode #studentLesson .lesson-card p:last-child {
  color: #c7cbd4;
}
body.student-mode #studentLesson .lesson-card h1 {
  color: #f3f2ed;
  font: 400 22px/1.4 var(--font-display);
  overflow-wrap: break-word;
}
body.student-mode #studentLesson .mini-progress {
  width: 100%;
}
body.student-mode #studentLesson .mini-progress > div {
  border: 1px solid #ffffff24;
  border-radius: 10px;
  background: #ffffff06;
  color: #f3f2ed;
}
body.student-mode #studentLesson .mini-progress span {
  color: #c7cbd4;
}
body.student-mode #studentLesson .mini-progress b {
  color: #f3f2ed;
}
body.student-mode #studentLesson .xp-card {
  background: transparent;
  border: 0;
  color: #f3f2ed;
  box-shadow: none;
  padding: 0;
}
body.student-mode #studentLesson .xp-top,
body.student-mode #studentLesson #gradeLine,
body.student-mode #studentLesson .streak-card p,
body.student-mode #studentLesson .streak-head,
body.student-mode #studentLesson .lesson-stat span,
body.student-mode #studentLesson .lesson-stat small {
  color: #c7cbd4;
}
body.student-mode #studentLesson .xp-card b,
body.student-mode #studentLesson .lesson-stat b {
  color: #f3f2ed;
}
body.student-mode #studentLesson .streak-card {
  border-color: #ffffff28;
}
body.student-mode #studentLesson .xp-track {
  background: #414855;
}
body.student-mode #studentLesson .xp-track > span {
  background: #6782ff;
}
.parallel-stoa-art {
  margin: auto -20px 0;
  position: relative;
  pointer-events: none;
  user-select: none;
}
.parallel-stoa-art img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 78% 70%;
  mask-image: linear-gradient(transparent, #000 22%);
}
body.student-mode #studentLesson .task-board {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}
body.student-mode #studentLesson .student-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) {
  body.student-mode .parallel-stoic-welcome .student-dashboard-intro {
    max-width: 68%;
  }
  body.student-mode .parallel-stoic-welcome {
    min-height: 330px;
    padding: 28px;
  }
  body.student-mode #studentLesson .student-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }
}
@media (max-width: 760px) {
  body.student-mode .parallel-stoic-welcome {
    padding: 26px 22px;
    min-height: 340px;
    gap: 20px;
  }
  .parallel-welcome-art {
    opacity: 0.38;
    object-position: 76% 15%;
  }
  body.student-mode .parallel-stoic-welcome .student-dashboard-intro {
    max-width: 100%;
  }
  body.student-mode .parallel-stoic-welcome h1 {
    font-size: 30px;
    max-width: 100%;
  }
  body.student-mode .parallel-stoic-welcome .student-level-showcase {
    width: 100%;
  }
  body.student-mode #studentLesson .student-layout {
    grid-template-columns: 1fr;
  }
  body.student-mode #studentLesson .student-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }
  body.student-mode #studentLesson .student-side .xp-card {
    grid-column: 1/-1;
  }
  .parallel-stoa-art {
    display: none;
  }
  body.student-mode #studentLesson .task-board {
    padding: 18px;
  }
}
@media (max-width: 430px) {
  body.student-mode #studentLesson .student-side {
    grid-template-columns: 1fr;
  }
  body.student-mode #studentLesson .student-side .lesson-card {
    padding-bottom: 12px;
  }
  body.student-mode #studentLesson .student-side .xp-card {
    grid-column: auto;
  }
}
body.student-mode .parallel-stoic-welcome #studentGreetingName {
  color: #f3f2ed;
}
body.student-mode #studentLesson #studentStatus,
body.student-mode #studentLesson .streak-head > span {
  color: #c7cbd4;
}
body.student-mode #studentLesson .lesson-stat {
  background: transparent;
  border: 1px solid #ffffff22;
  border-radius: 10px;
  padding: 10px;
}
body.student-mode #studentLesson .student-side .streak-card,
body.student-mode #studentLesson .student-side .lesson-solved-counter {
  background: transparent;
  box-shadow: none;
}
@media (max-width: 760px) {
  body.student-mode #studentLesson .student-layout > .task-board {
    order: 1;
  }
  body.student-mode #studentLesson .student-layout > .student-side {
    order: 2;
  }
  body.student-mode #studentLesson .student-side .mini-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.student-mode #studentLesson .student-side .mini-progress > div {
    display: block;
  }
}
/* Light home composition, translated from the approved reference. */
body.student-mode .parallel-stoic-welcome {
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 26px;
  min-height: 280px;
  padding: 30px 28px 30px 27%;
  background: #f3f2ed;
  color: #20242d;
  border: 1px solid #deddd6;
  border-radius: 22px;
}
body.student-mode .parallel-stoic-welcome .parallel-welcome-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  mask-image: linear-gradient(90deg, #000 0%, #000 32%, transparent 70%);
}
body.student-mode .parallel-stoic-welcome .student-dashboard-intro {
  max-width: none;
  align-self: center;
}
body.student-mode .parallel-stoic-welcome h1 {
  font: 400 clamp(28px, 2.6vw, 38px)/1.25 var(--font-display);
  color: #20242d;
  letter-spacing: -0.035em;
}
body.student-mode .parallel-stoic-welcome #studentGreetingName {
  color: #20242d;
}
body.student-mode
  .parallel-stoic-welcome
  .student-dashboard-intro
  > .student-eyebrow {
  display: none;
}
body.student-mode .parallel-stoic-welcome .student-dashboard-intro > p {
  color: #5d626c;
  font-size: 16px;
}
body.student-mode .parallel-stoic-welcome .student-level-showcase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: auto;
  padding: 0 0 0 24px;
  align-self: stretch;
  border-left: 1px solid #d6d5cf;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: auto;
  min-width: 0;
  height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit::before,
body.student-mode .parallel-stoic-welcome .student-rank-orbit::after,
body.student-mode .parallel-stoic-welcome .student-rank-orbit i {
  display: none;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit span {
  color: #20242d;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
body.student-mode .parallel-stoic-welcome .student-rank-orbit b {
  font: 400 30px/1.2 var(--font-display);
  color: #20242d;
}
body.student-mode .parallel-stoic-welcome .student-level-progress {
  flex: 0;
}
body.student-mode
  .parallel-stoic-welcome
  .student-level-progress
  > div
  :is(span, strong) {
  color: #686e77;
  font-size: 12px;
}
body.student-mode .parallel-stoic-welcome .xp-track {
  background: #d6d7da;
}
body.student-mode .parallel-stoic-welcome .xp-track > span {
  background: #3454d1;
}
.parallel-program-summary {
  margin-top: 12px;
}
.parallel-program-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #20242d;
}
.parallel-program-summary > .xp-track {
  margin: 10px 0;
  height: 8px;
}
.parallel-program-summary small {
  font-size: 12px;
  line-height: 1.6;
  color: #686e77;
}
body.student-mode #studentPlan .student-dashboard-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.95fr);
  gap: 24px;
}
body.student-mode #studentPlan .student-dashboard-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.student-mode #studentPlan .student-section-block,
body.student-mode #studentPlan .student-next-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: none;
}
body.student-mode #studentPlan .student-section-heading h2,
body.student-mode #studentPlan .student-next-card h2 {
  font: 400 clamp(23px, 2.2vw, 30px)/1.3 var(--font-display);
  letter-spacing: -0.025em;
}
body.student-mode #studentPlan .student-section-heading .student-eyebrow {
  display: none;
}
body.student-mode #studentPlan #studentCurrentModules {
  display: block;
  max-height: 520px;
  overflow: auto;
}
body.student-mode #studentPlan .parallel-module-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(100px, 0.7fr) 16px;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  box-shadow: none;
}
.parallel-module-label strong {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
}
.parallel-module-label small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}
.parallel-module-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}
.parallel-module-progress > i {
  display: block;
  flex: 1;
  height: 7px;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.parallel-module-progress > i > span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
}
.parallel-module-progress b {
  font-size: 13px;
  font-weight: 400;
  min-width: 36px;
  text-align: right;
}
.parallel-module-state {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(var(--blue) var(--module-progress), var(--line) 0);
  color: var(--blue);
  isolation: isolate;
}
.parallel-module-state:before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--surface);
  border-radius: 50%;
  z-index: -1;
}
.parallel-module-state.complete {
  background: var(--ice);
  font-size: 19px;
}
.parallel-module-state.complete:before {
  display: none;
}
.parallel-module-arrow {
  color: var(--muted);
  font-size: 22px;
}
body.student-mode #studentPlan .parallel-module-row:disabled {
  opacity: 1;
  color: var(--ink);
  cursor: default;
}
body.student-mode #studentPlan .student-next-card {
  min-height: 190px;
}
body.student-mode #studentPlan .student-next-card button {
  border-radius: 10px;
  min-height: 42px;
}
body.student-mode #studentPlan .student-next-card.homework > div:first-child {
  gap: 14px;
}
body.student-mode #studentPlan .student-next-card.theory {
  min-height: 0;
  padding: 18px 24px;
}
body.student-mode #studentPlan .student-next-card.theory h2 {
  font: 500 18px/1.4 var(--font-ui);
}
.parallel-checklist {
  margin-top: 20px;
}
.parallel-checklist > summary {
  cursor: pointer;
  font-size: 14px;
}
.parallel-checklist[open] .student-oge-grid {
  margin-top: 20px;
}
@media (max-width: 1100px) {
  body.student-mode .parallel-stoic-welcome {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 20px;
    padding-left: 24%;
  }
  body.student-mode .parallel-stoic-welcome .student-level-showcase {
    padding-left: 18px;
  }
  body.student-mode #studentPlan .parallel-module-row {
    grid-template-columns: 30px minmax(0, 1fr) 68px 12px;
    gap: 12px;
  }
  .parallel-module-progress > i {
    display: none;
  }
}
@media (max-width: 760px) {
  body.student-mode .parallel-stoic-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 22px;
    min-height: 0;
    gap: 24px;
  }
  body.student-mode .parallel-stoic-welcome .parallel-welcome-art {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: left top;
    opacity: 0.24;
    mask-image: linear-gradient(#000, transparent);
  }
  body.student-mode .parallel-stoic-welcome .student-level-showcase {
    width: 100%;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid #d6d5cf;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 14px;
  }
  body.student-mode .parallel-stoic-welcome .student-rank-orbit {
    display: flex;
  }
  .parallel-program-summary {
    margin-top: 0;
    grid-column: 1/-1;
  }
  body.student-mode #studentPlan .student-dashboard-layout {
    grid-template-columns: 1fr;
  }
  body.student-mode #studentPlan .student-section-block,
  body.student-mode #studentPlan .student-next-card {
    padding: 20px;
  }
  body.student-mode #studentPlan .parallel-module-row {
    grid-template-columns: 28px minmax(0, 1fr) 48px 10px;
    gap: 10px;
  }
  body.student-mode #studentPlan .student-dashboard-aside {
    display: flex;
  }
  .parallel-module-label strong {
    font-size: 15px;
  }
}
@media (min-width: 761px) {
  body.student-mode .parallel-stoic-welcome .parallel-welcome-art {
    width: 65%;
    object-fit: cover;
    object-position: left 20%;
    mask-image: linear-gradient(90deg, #000 0%, #000 45%, transparent 100%);
  }
  body.student-mode .parallel-stoic-welcome h1 {
    font-size: clamp(30px, 3vw, 44px);
  }
  .parallel-module-label strong {
    font-size: 17px;
  }
}
