/* Certifas Nova: Daylight / Starlight. Structural UI, original character and motion surfaces. */
:root {
  --n-blue: #4255e8;
  --n-purple: #7664e9;
  --n-lilac: #ede9ff;
  --n-coral: #ff927b;
  --n-yellow: #ffd979;
  --n-aqua: #8ae0d1;
  --n-shadow: 0 12px 36px #4853920c;
  --n-spring: cubic-bezier(0.2, 0.85, 0.25, 1.2);
}
html {
  scrollbar-width: thin;
  scrollbar-color: #aab2d0 transparent;
  scroll-padding-top: 110px;
  scroll-behavior: auto !important;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #b6bdd6 transparent;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #aeb7d0;
  border-radius: 20px;
}
body {
  background: var(--f-canvas);
  font-family: var(--f-font);
  font-size: 16px;
  letter-spacing: -0.012em;
}
h1,
h2,
h3 {
  font-family: var(--f-font) !important;
  font-weight: 750;
  letter-spacing: -0.035em;
}
h1 {
  line-height: 1.08;
}
em {
  font-family: inherit !important;
  font-style: normal;
  font-weight: inherit;
  color: var(--f-primary);
}
button {
  font-weight: 650;
}
.route-content,
.page-content {
  animation: none !important;
}
.icon {
  flex-shrink: 0;
}
.lede {
  color: var(--f-muted);
  line-height: 1.7;
}
.f-wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.4px;
  gap: 8px;
  color: var(--f-ink);
}
.f-wordmark > svg {
  color: var(--n-blue);
  width: 35px;
  height: 38px;
}
.f-wordmark i {
  color: var(--n-coral);
  font-style: normal;
}
.f-wordmark small {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--f-soft);
  color: var(--f-primary);
  border: 1px solid var(--f-line);
  padding: 5px 8px;
  border-radius: 7px;
}
.btn,
.f-btn,
.button {
  border-radius: 13px;
  min-height: 46px;
  transition:
    transform 0.2s var(--n-spring),
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
  letter-spacing: 0;
  font-weight: 650;
}
.btn.primary,
.f-btn.primary,
.button.primary {
  background: var(--n-blue);
  border-color: var(--n-blue);
  color: #fff;
  box-shadow:
    0 4px 0 #2b3cb2,
    0 8px 20px #4255e81b;
}
.btn.primary:hover,
.f-btn.primary:hover,
.button.primary:hover {
  background: #3548df;
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #2b3cb2,
    0 13px 25px #4255e82b;
}
.btn.primary:active,
.f-btn.primary:active,
.button.primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2b3cb2;
}
.btn.mint,
.f-btn.lime {
  background: #fff;
  color: #3445c1;
  border: 1px solid #dbdffc;
  box-shadow: 0 4px 0 #d9dfff;
}
.btn.secondary,
.button.secondary,
.f-btn.secondary {
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  color: var(--f-ink);
  box-shadow: 0 2px 0 var(--f-line);
}
.btn.text,
.btn.ghost,
.button.ghost {
  box-shadow: none;
}
.btn:disabled,
.button:disabled,
.f-btn:disabled {
  box-shadow: none;
  opacity: 0.55;
  transform: none;
}
.icon-btn,
.icon-button,
.f-icon-button {
  border-radius: 12px;
}
.f-btn.large {
  padding: 15px 23px;
  font-size: 16px;
  min-height: 54px;
}
.f-ripple {
  pointer-events: none;
}
.site-header {
  max-width: 1320px;
  margin: auto;
  padding: 20px 42px;
  height: 90px;
  border-bottom: 1px solid var(--f-line);
  background: var(--f-canvas);
  position: relative;
  z-index: 30;
  gap: 34px;
}
.site-links {
  gap: 25px;
}
.site-links .btn {
  font-size: 14px;
}
.site-main {
  max-width: 1320px;
  padding: 0 42px 50px;
  margin: auto;
}
.site-actions .f-command-trigger {
  width: 42px;
  min-width: 42px;
  padding: 0;
  justify-content: center;
}
.site-actions .f-command-trigger span,
.site-actions .f-command-trigger kbd {
  display: none;
}
.site-actions .f-tools {
  gap: 6px;
}
.site-footer {
  background: var(--f-surface);
  border-top: 1px solid var(--f-line);
  padding: 35px max(42px, calc((100vw - 1236px) / 2));
  color: var(--f-muted);
}
.n-eyebrow,
.eyebrow,
.f-eyeline {
  font-size: 12px !important;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--f-primary);
}
.n-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 100px;
  background: #e9e7ff;
  color: #5144b3;
  font-size: 12px;
  font-weight: 700;
}
.n-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7c6aed;
}
.n-section {
  padding: 76px 0;
}
.n-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.n-section-title h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 9px 0 0;
}
.n-section-title p {
  max-width: 490px;
  color: var(--f-muted);
}
.n-hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 64px 0 50px;
  min-height: 610px;
}
.n-hero h1 {
  font-size: clamp(46px, 5.5vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1.075;
  margin: 22px 0;
}
.n-hero h1 em {
  display: inline-block;
  position: relative;
  color: var(--n-blue);
}
.n-hero h1 em:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--n-yellow);
  clip-path: polygon(
    0 60%,
    12% 35%,
    55% 17%,
    100% 39%,
    99% 85%,
    50% 58%,
    7% 90%
  );
  z-index: -1;
}
.n-hero .lede {
  max-width: 490px;
  font-size: 17px;
}
.n-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 29px 0 22px;
}
.n-hero-note {
  display: flex;
  gap: 9px;
  color: var(--f-muted);
  font-size: 13px;
  align-items: center;
}
.n-hero-note .icon {
  color: var(--f-success);
  width: 17px;
}
.n-hero-scene {
  height: 475px;
  position: relative;
  isolation: isolate;
  perspective: 1000px;
}
.n-hero-glow {
  position: absolute;
  inset: 4% -4%;
  background: radial-gradient(
    ellipse at 55% 50%,
    #e8e0ff 0%,
    #eef0ff 44%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
}
.n-orbit {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px dashed #c9c5ef;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotateX(18deg);
}
.n-orbit.two {
  width: 440px;
  height: 440px;
  opacity: 0.6;
}
.n-hero-scene > .n-pip {
  position: absolute;
  width: 262px;
  height: 262px;
  left: calc(50% - 131px);
  top: 76px;
  filter: drop-shadow(0 24px 24px #db977629);
}
.n-pip {
  display: inline-block;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  pointer-events: none;
}
.n-pip > svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.n-pip-body {
  transform-origin: 120px 130px;
}
.n-pip-eyes {
  transform-origin: 124px 121px;
  animation: n-blink 7s infinite;
}
.n-pip-arm.right {
  transform-origin: 179px 130px;
  animation: n-wave 6s ease-in-out infinite;
}
.n-pip-spark {
  transform-origin: 200px 52px;
  animation: n-twinkle 3.8s ease-in-out infinite;
}
.n-pip-think {
  display: none;
}
.n-pip[data-mood="thinking"] .n-pip-think {
  display: block;
}
.n-pip[data-mood="thinking"] .n-pip-smile {
  display: none;
}
.n-pip[data-mood="celebrate"] .n-pip-arm.right {
  animation: n-wave 1.8s infinite;
}
.n-pip[data-mood="thinking"] .n-pip-face {
  transform: rotate(-6deg);
  transform-origin: center;
}
@keyframes n-blink {
  0%,
  40%,
  44%,
  96%,
  100% {
    transform: scaleY(1);
  }
  42%,
  98% {
    transform: scaleY(0.12);
  }
}
@keyframes n-wave {
  0%,
  60%,
  100% {
    transform: rotate(0);
  }
  65%,
  80% {
    transform: rotate(-16deg);
  }
  73%,
  87% {
    transform: rotate(10deg);
  }
}
@keyframes n-twinkle {
  0%,
  100% {
    transform: scale(0.7) rotate(0);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1) rotate(25deg);
    opacity: 1;
  }
}
.n-float-card {
  position: absolute;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 18px;
  padding: 15px 19px;
  box-shadow: 0 16px 35px #4e4a9920;
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 2;
  max-width: 260px;
  transform-style: preserve-3d;
}
.n-float-card strong {
  font-size: 13px;
  display: block;
  letter-spacing: -0.02em;
}
.n-float-card small {
  color: var(--f-muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.n-float-card .n-icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eeeaff;
  color: #6552dd;
  display: grid;
  place-items: center;
}
.n-float-card.a {
  left: 0;
  top: 34px;
  rotate: -6deg;
}
.n-float-card.b {
  right: 0;
  top: 130px;
  rotate: 7deg;
}
.n-float-card.c {
  bottom: 28px;
  left: calc(50% - 151px);
  width: 302px;
  max-width: none;
  display: block;
  rotate: -3deg;
  padding: 21px;
}
.n-float-card.c .n-mini-path {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
}
.n-mini-path i {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background: #dddffa;
  font-style: normal;
  color: #4255e8;
  font-size: 13px;
}
.n-mini-path i.done {
  background: #8de0c9;
  color: #154938;
}
.n-mini-path b {
  height: 3px;
  background: #dedff5;
  flex: 1;
}
.n-float-card.c strong {
  font-size: 14px;
}
.n-hero-label {
  position: absolute;
  left: 7px;
  bottom: 130px;
  font-size: 12px;
  color: #635e8d;
  transform: rotate(-7deg);
  font-weight: 600;
}
.n-scene-star {
  position: absolute;
  color: #ffb84d;
  top: 25px;
  left: 58%;
  font-size: 28px;
}
.n-scene-star.b {
  top: auto;
  bottom: 132px;
  left: 91%;
  font-size: 22px;
  color: #8072dd;
}
.n-hero-speech {
  position: absolute;
  top: 255px;
  right: 2px;
  background: #eee9ff;
  border: 1px solid #d5ccf5;
  color: #67549c;
  padding: 11px 15px;
  border-radius: 14px 14px 14px 0;
  font-size: 12px;
  font-weight: 650;
  rotate: 5deg;
}
.n-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--f-line);
  border-radius: 23px;
  background: var(--f-surface);
  padding: 22px 15px;
  gap: 10px;
  box-shadow: var(--n-shadow);
}
.n-proof > div {
  padding: 0 20px;
  border-right: 1px solid var(--f-line);
}
.n-proof > div:last-child {
  border: 0;
}
.n-proof strong {
  display: block;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.n-proof span {
  font-size: 12px;
  color: var(--f-muted);
}
.f-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.f-course {
  border: 1px solid var(--f-line);
  border-radius: 23px;
  background: var(--f-surface);
  overflow: visible;
  box-shadow: var(--n-shadow);
  position: relative;
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
  min-width: 0;
}
.f-course:hover {
  box-shadow: 0 18px 45px #4d59a820;
  border-color: #b5bcf2;
}
.f-course-art {
  height: 188px;
  border-radius: 22px 22px 0 0;
  background: var(--tile-bg);
  color: var(--tile-ink);
  position: relative;
  overflow: hidden;
  padding: 18px;
}
.f-course-art:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid #ffffff88;
  right: -20px;
  top: 10px;
}
.f-course-tag {
  font-size: 11px;
  font-weight: 700;
  background: #ffffffb0;
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 4px 9px;
  border-radius: 7px;
  color: #303753;
}
.f-course-index {
  font-size: 10px;
  letter-spacing: 0.06em;
  position: absolute;
  left: 18px;
  bottom: 15px;
  color: #303753;
  opacity: 0.8;
}
.f-course-body {
  padding: 24px;
}
.f-course-body h3 {
  font-size: 21px;
  line-height: 1.3;
  min-height: 55px;
  margin-bottom: 11px;
}
.f-course-body > p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--f-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 64px;
}
.f-course-meta {
  font-size: 11px;
  gap: 7px;
  display: flex;
  flex-wrap: wrap;
  color: var(--f-muted);
  margin: 18px 0;
}
.f-course-body > .btn {
  width: 100%;
  justify-content: space-between;
  font-size: 13px;
}
.n-card-actions {
  display: flex;
  gap: 8px;
}
.n-card-actions > a {
  flex: 1;
}
.n-card-actions > button {
  width: 46px;
  padding: 0;
}
.n-skill-art {
  display: block;
  width: 145px;
  height: 145px;
  position: relative;
  perspective: 700px;
  margin: auto;
  transform-style: preserve-3d;
}
.f-course-art > .n-skill-art {
  position: absolute;
  left: calc(50% - 72px);
  top: 32px;
}
.n-skill-front,
.n-skill-back {
  position: absolute;
  inset: 20px 23px 23px 20px;
  border-radius: 25px;
  transform: rotate(-13deg) rotateY(-12deg) rotateX(13deg);
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #999bff, #5359dd);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #4445a4,
    12px 20px 20px #3f3b8b35;
}
.n-skill-back {
  inset: 18px 17px 27px 27px;
  background: #d3cfff;
  transform: rotate(3deg) rotateY(-12deg);
  box-shadow: 5px 9px 0 #b7b3e4;
}
.n-skill-shadow {
  position: absolute;
  width: 105px;
  height: 25px;
  background: #302f7017;
  filter: blur(5px);
  bottom: -9px;
  left: 22px;
  border-radius: 50%;
}
.n-skill-spark {
  position: absolute;
  right: 0;
  top: 6px;
  color: var(--tile-ink);
  font-size: 27px;
  font-style: normal;
}
.n-skill-spark.b {
  left: 0;
  top: 99px;
  font-size: 22px;
}
.n-skill-art[data-skill="cyber"] .n-skill-front {
  border-radius: 24px 24px 45px 45px;
  background: linear-gradient(145deg, #ffa997, #ea7869);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #c35750,
    12px 20px 20px #703b3b35;
}
.n-skill-art[data-skill="data"] .n-skill-front {
  background: linear-gradient(145deg, #69c7fa, #3879d2);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #3462b2,
    12px 20px 20px #3b487035;
}
.n-skill-art[data-skill="cloud"] .n-skill-front {
  background: linear-gradient(145deg, #83d9ea, #548fce);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #4368a9,
    12px 20px 20px #3b487035;
}
.n-skill-art[data-skill="climate"] .n-skill-front {
  background: linear-gradient(145deg, #9ce4ca, #43967d);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #397760,
    12px 20px 20px #3b705435;
}
.n-skill-art[data-skill="fintech"] .n-skill-front {
  background: linear-gradient(145deg, #ffda89, #e8a24b);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #c1843b,
    12px 20px 20px #70613b35;
}
.n-skill-art[data-skill="servicenow"] .n-skill-front {
  background: linear-gradient(145deg, #bba3ff, #7b60ca);
  box-shadow:
    inset 2px 3px 3px #ffffff77,
    5px 9px 0 #6447ae,
    12px 20px 20px #5c3b7035;
}
.n-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  position: relative;
}
.n-story-visual {
  position: sticky;
  top: 145px;
  height: 395px;
  border-radius: 32px;
  background: linear-gradient(145deg, #e9e4ff, #edf5ff);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dcd8f5;
}
.n-story-visual:before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px dashed #c5bbe4;
  border-radius: 50%;
}
.n-story-visual > .n-pip {
  position: absolute;
  width: 150px;
  height: 150px;
  right: -10px;
  bottom: -5px;
  z-index: 3;
}
.n-story-step {
  padding: 25px 0 64px;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.n-story-step.is-active {
  opacity: 1;
}
.n-story-step h3 {
  font-size: 31px;
  margin: 16px 0;
}
.n-story-step p {
  color: var(--f-muted);
  font-size: 15px;
  line-height: 1.75;
}
.n-story-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #4255e8;
  background: #ebeaff;
  font-size: 16px;
  font-weight: 750;
}
.n-story-card {
  position: relative;
  z-index: 2;
  width: 78%;
  background: #fff;
  border-radius: 21px;
  padding: 26px;
  border: 1px solid #dddff6;
  box-shadow: 0 20px 45px #5d579324;
  color: #262945;
  rotate: -4deg;
}
.n-story-card small {
  color: #666887;
  font-size: 11px;
}
.n-story-card strong {
  display: block;
  font-size: 20px;
  margin: 9px 0;
}
.n-story-lines {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.n-story-lines i {
  height: 9px;
  background: #eeedf8;
  border-radius: 9px;
}
.n-story-lines i:nth-child(2) {
  width: 85%;
}
.n-story-lines i:nth-child(3) {
  width: 65%;
}
.n-story-answer {
  padding: 11px 14px;
  border: 1px solid #dfe0ee;
  border-radius: 11px;
  font-size: 12px;
  margin-top: 10px;
}
.n-story-answer.correct {
  background: #e7f7ee;
  color: #177256;
  border-color: #83cbae;
}
.n-story-certificate {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
}
.n-story-certificate .n-seal {
  background: #ffe2a1;
  color: #886319;
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 38px;
  margin-bottom: 10px;
}
.n-try-section {
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 30px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.n-try-section h2 {
  font-size: 36px;
  margin: 10px 0 20px;
}
.n-preview-answer {
  padding: 17px;
  border: 2px solid #cfcef4;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #f6f4ff;
  color: #4742a0;
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 4px 0 #dfdcf7;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.n-preview-answer span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #dfdbff;
}
.n-preview-question {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 19px;
}
.n-try-demo {
  padding: 28px;
  border-radius: 23px;
  background: var(--f-soft);
  border: 1px solid var(--f-line);
}
.n-try-demo small {
  display: block;
  font-size: 12px;
  color: var(--f-muted);
  margin-top: 17px;
}
.n-final {
  padding: 45px 52px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  border-radius: 30px;
  background: linear-gradient(120deg, #e9e6ff, #edf3ff 70%, #fff0e6);
  color: #222847;
  border: 1px solid #dce0f4;
  margin-bottom: 30px;
}
.n-final h2 {
  font-size: 35px;
}
.n-final p {
  font-size: 15px;
  color: #5a6182;
  margin: 10px 0 0;
}
.n-final .n-pip {
  width: 105px;
  height: 105px;
}
.n-final > div {
  flex: 1;
}
.n-faq {
  max-width: 880px;
  margin: auto;
}
.n-faq details {
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 17px;
  margin-bottom: 12px;
}
.n-faq summary {
  padding: 18px 23px;
  font-size: 15px;
  font-weight: 650;
}
.n-faq details p {
  padding: 0 23px 23px;
  font-size: 14px;
  color: var(--f-muted);
  line-height: 1.75;
}
.f-catalog-hero {
  min-height: 0;
  padding: 48px 0 30px;
  border: none;
  display: flex;
  gap: 30px;
}
.f-catalog-hero h1 {
  font-size: 48px;
}
.f-catalog-hero .n-pip {
  width: 160px;
  height: 160px;
}
.f-filter-bar {
  border: 1px solid var(--f-line);
  background: var(--f-surface);
  padding: 13px 16px;
  border-radius: 17px;
  gap: 14px;
  box-shadow: var(--n-shadow);
}
.f-chips {
  margin: 20px 0 28px;
  gap: 8px;
}
.f-chip {
  border: 1px solid var(--f-line);
  border-radius: 10px;
  font-size: 12px;
  padding: 10px 14px;
  box-shadow: 0 2px 0 var(--f-line);
}
.f-chip[aria-pressed="true"] {
  background: var(--n-blue);
  border-color: var(--n-blue);
  color: white;
  box-shadow: 0 2px 0 #2e3baf;
}
.f-detail-header {
  padding: 40px 0;
  background: transparent;
}
.f-detail-header h1 {
  font-size: 45px;
  max-width: 750px;
}
.f-detail-aside > .n-pip {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  display: block;
}
.f-detail-grid {
  padding-bottom: 40px;
}
/* Persistent workspace shell. */
.sidebar {
  background: var(--f-surface) !important;
  border-right: 1px solid var(--f-line);
  color: var(--f-ink);
  padding: 28px 18px;
  width: 248px;
}
.sidebar .brand-caption {
  color: var(--f-muted);
  font-size: 11px;
  margin: 14px 8px 25px;
}
.sidebar .nav-item,
.sidebar .nav-link {
  min-height: 46px;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13px;
  margin: 4px 0;
  gap: 12px;
  color: var(--f-muted);
  position: relative;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.sidebar .nav-item:hover,
.sidebar .nav-link:hover {
  background: var(--f-soft);
  transform: translateX(3px);
}
.sidebar .nav-item.active,
.sidebar .nav-link.active {
  background: var(--f-soft);
  color: var(--f-primary);
  font-weight: 750;
}
.sidebar .nav-item.active:before,
.sidebar .nav-link.active:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--n-blue);
}
.nav-label {
  font-size: 10px !important;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin: 22px 12px 8px;
  color: var(--f-muted);
}
.rank-card {
  border-radius: 17px;
  background: var(--f-soft);
  color: var(--f-ink);
  border: 1px solid var(--f-line);
  padding: 18px;
}
.rank-card p {
  font-size: 11px;
}
.topbar {
  background: var(--f-surface);
  height: 82px;
  border-bottom: 1px solid var(--f-line);
  padding: 0 36px;
}
.topbar .breadcrumb {
  font-size: 13px;
  color: var(--f-muted);
}
.f-command-trigger {
  background: var(--f-canvas);
  border-color: var(--f-line);
  min-height: 40px;
  font-size: 12px;
  border-radius: 11px;
}
.xp-chip {
  background: var(--f-warning-soft);
  color: var(--f-warning);
  border: 1px solid #eed7a9;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 10px;
}
.avatar,
.avatar-button {
  background: #dddfff;
  color: #4550a5;
  font-size: 13px;
  border: 3px solid var(--f-surface);
  outline: 1px solid var(--f-line);
}
.main,
.workspace > main {
  padding: 28px 34px 100px;
  max-width: 1600px;
}
.page-heading {
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: 34px;
}
.page-heading .lede,
.page-heading > div > p:last-child {
  font-size: 14px;
  max-width: 670px;
  line-height: 1.7;
}
.mode-banner,
.f-preview-banner {
  border: 1px solid var(--f-line);
  background: var(--f-soft);
  border-radius: 10px;
  font-size: 11px;
  padding: 9px 14px;
  margin-bottom: 20px;
  color: var(--f-muted);
}
.mode-banner .btn,
.f-preview-banner .button {
  min-height: 32px;
  font-size: 11px;
  padding: 5px 9px;
  white-space: nowrap;
}
.f-path-select {
  padding: 10px 0 20px;
  border: none;
  gap: 12px;
  align-items: center;
}
.f-path-select label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--f-muted);
}
.f-path-select select {
  font-size: 12px !important;
  padding: 8px 30px 8px 10px;
  min-height: 38px;
  max-width: 360px;
}
.f-path-select a {
  font-size: 12px;
}
.panel {
  border: 1px solid var(--f-line);
  border-radius: 20px;
  padding: 25px;
  background: var(--f-surface);
  box-shadow: var(--n-shadow);
}
.panel h2 {
  font-size: 20px;
}
.panel h3 {
  font-size: 16px;
}
.panel .hint {
  font-size: 12px;
  line-height: 1.7;
}
.content-grid {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
}
.stack {
  gap: 20px;
}
.three-grid,
.two-grid {
  gap: 16px;
}
.metric-icon,
.metric-card .metric-icon {
  border-radius: 14px;
  background: #eeebff;
  color: #7060c2;
  box-shadow: inset 0 1px 1px #ffffff50;
}
.metric:nth-child(2) .metric-icon,
.metric-card:nth-child(2) .metric-icon {
  background: #e4f6f1;
  color: #2e8a72;
}
.metric:nth-child(3) .metric-icon,
.metric-card:nth-child(3) .metric-icon {
  background: #fff1e2;
  color: #b2772b;
}
.metric-number {
  font-size: 24px;
  font-weight: 750;
}
.metric-label {
  font-size: 11px;
  color: var(--f-muted);
}
.meter {
  background: var(--f-soft);
  height: 8px;
  border: 1px solid var(--f-line);
  overflow: hidden;
  border-radius: 20px;
}
.meter-fill {
  background: linear-gradient(90deg, #7c6cec, #5964ea);
  border-radius: 20px;
  transition: width 0.65s var(--n-spring);
  position: relative;
}
.meter-fill:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  right: 3px;
  height: 2px;
  background: #ffffff50;
  border-radius: 10px;
}
.badge,
.pill {
  font-size: 11px;
  border-radius: 8px;
  padding: 5px 8px;
}
.badge.green,
.pill.green {
  background: var(--f-success-soft);
  color: var(--f-success);
}
.notice {
  border-radius: 14px;
  background: var(--f-soft);
  color: var(--f-muted);
  border: 1px solid var(--f-line);
  font-size: 13px;
}
.notice.success {
  background: var(--f-success-soft);
  color: var(--f-success);
}
.notice.warning {
  background: var(--f-warning-soft);
  color: var(--f-warning);
}
.notice.danger {
  background: var(--f-danger-soft);
  color: var(--f-danger);
}
.n-welcome {
  background: linear-gradient(115deg, #eeebff, #edf3ff 75%, #fff1e4);
  border: 1px solid #dedcf6;
  border-radius: 23px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.n-welcome:after {
  content: "";
  width: 230px;
  height: 230px;
  border: 1px solid #d3d1f1;
  border-radius: 50%;
  position: absolute;
  right: -70px;
  top: -60px;
}
.n-welcome h2 {
  font-size: 30px;
  max-width: 460px;
  line-height: 1.2;
  margin: 11px 0;
  color: #29264d;
}
.n-welcome p {
  font-size: 13px;
  color: #656583;
  max-width: 450px;
}
.n-welcome .n-pip {
  width: 180px;
  height: 180px;
  align-self: center;
  z-index: 1;
}
.n-welcome .n-eyebrow {
  color: #6054ad;
}
.n-welcome-actions {
  margin-top: 21px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.n-welcome-actions .btn {
  font-size: 12px;
}
.n-welcome-actions .text-button {
  font-size: 12px;
  color: #555699;
}
.n-pip-aside {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: #fff2e8;
  color: #704b3c;
  border: 1px solid #f1d4c5;
  border-radius: 18px;
}
.n-pip-aside .n-pip {
  width: 70px;
  height: 70px;
}
.n-pip-aside p {
  font-size: 12px;
  line-height: 1.6;
}
.n-pip-aside button {
  font-size: 12px;
  color: #724799;
  background: none;
  border: 0;
  padding: 4px 0;
  text-align: left;
  text-decoration: underline;
}
.day-square {
  border-radius: 8px;
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  font-size: 10px;
}
.day-square.done {
  background: #beb6f5;
  border-color: #9e92e3;
  color: #312577;
}
.day-square.today {
  border: 2px solid var(--f-primary);
}
.calendar-grid {
  gap: 6px;
}
.f-quest {
  border: 1px solid var(--f-line);
  border-radius: 15px;
  background: var(--f-canvas);
  padding: 18px;
}
.f-quest:first-child {
  border-top: 3px solid #ffd979;
}
.f-quest:last-child {
  border-top: 3px solid #b7acf2;
}
.f-quest h3 {
  font-size: 14px;
}
.n-dashboard-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.n-dashboard-label > .f-btn {
  font-size: 12px;
}
/* Learning roadmap and lesson workspace. */
.module-list {
  position: relative;
}
.module-list .module-row {
  position: relative;
  display: flex;
  border: 1px solid var(--f-line);
  border-bottom: 3px solid var(--f-line);
  border-radius: 18px;
  padding: 19px;
  background: var(--f-surface);
  gap: 18px;
  margin: 0 0 15px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.module-list .module-row:hover {
  border-color: #b2b7ed;
  transform: translateX(3px);
}
.module-row .module-number {
  width: 49px;
  height: 49px;
  border-radius: 16px;
  background: #e8e5fc;
  color: #6150b6;
  box-shadow: 0 4px 0 #d4cef0;
  font-size: 17px;
}
.module-row:nth-child(3n + 2) .module-number {
  background: #e1f5f0;
  color: #2e816e;
  box-shadow: 0 4px 0 #c4e5db;
}
.module-row:nth-child(3n) .module-number {
  background: #fff0d7;
  color: #987222;
  box-shadow: 0 4px 0 #efddb6;
}
.module-row.completed .module-number {
  background: #72cbb0;
  color: #174e40;
  box-shadow: 0 4px 0 #5cad96;
}
.module-row h3 {
  font-size: 14px;
}
.module-row p {
  font-size: 11px;
  line-height: 1.7;
}
.module-row .btn {
  font-size: 11px;
  min-height: 39px;
  padding: 8px 13px;
}
.module-progress {
  max-width: 130px;
}
.module-progress > span {
  font-size: 10px;
}
.tabs {
  border-bottom: 1px solid var(--f-line);
  gap: 5px;
  padding: 0 0 12px;
  margin-bottom: 25px;
}
.tab {
  border: 0 !important;
  border-radius: 10px;
  background: none;
  min-height: 40px;
  font-size: 12px;
  padding: 10px 14px;
  white-space: nowrap;
  color: var(--f-muted);
}
.tab.active {
  background: var(--f-soft);
  color: var(--f-primary);
  box-shadow: inset 0 -2px 0 #ada7f3;
}
.lesson-article {
  max-width: 740px;
}
.lesson-article section {
  margin-bottom: 27px;
}
.lesson-article h2 {
  font-size: 20px;
}
.lesson-article p,
.lesson-article li {
  font-size: 15px;
  line-height: 1.85;
}
.takeaways {
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  padding: 23px;
  border-radius: 17px;
}
.lab-steps li {
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  border-radius: 12px;
  padding: 13px;
  font-size: 14px;
}
.n-lesson-helper {
  margin-top: 20px;
}
.course-art {
  background: #ece7ff !important;
  color: #4e4582 !important;
  border-radius: 18px 18px 0 0;
}
.welcome-banner {
  background: linear-gradient(120deg, #e9e6ff, #eef5ff) !important;
  color: #252344 !important;
}
.welcome-banner p {
  color: #625f82;
}
.welcome-banner h2 {
  color: #302755;
}
.welcome-banner .eyebrow {
  color: #6a56b0;
}
/* Practice: stable question surface; only feedback and progress update after submission. */
.quiz-grid {
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
}
.question-panel {
  border-radius: 23px;
  position: relative;
  padding: 29px;
}
.question-panel h2 {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  margin: 26px 0;
}
.answer-list {
  gap: 12px;
}
.answer {
  padding: 16px 19px;
  border-radius: 14px;
  border: 2px solid var(--f-line);
  border-bottom-width: 4px;
  background: var(--f-surface);
  font-size: 14px;
  min-height: 69px;
  gap: 15px;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.15s;
  position: relative;
  color: var(--f-ink);
}
.answer:hover:not(:disabled) {
  background: var(--f-soft);
  border-color: #a9adeb;
  transform: translateY(-2px);
}
.answer:active:not(:disabled) {
  transform: translateY(2px);
}
.answer-letter {
  border: 1px solid var(--f-line);
  border-radius: 9px;
  background: var(--f-canvas);
  width: 33px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--f-muted);
}
.answer.correct {
  background: var(--f-success-soft);
  border-color: #7cc6ae;
  color: var(--f-success);
  opacity: 1;
}
.answer.wrong {
  background: var(--f-danger-soft);
  border-color: #e2a0b2;
  color: var(--f-danger);
  opacity: 1;
}
.answer:disabled:not(.correct):not(.wrong) {
  opacity: 0.65;
}
.answer.correct .answer-letter {
  background: #248465;
  color: #fff;
  border-color: #248465;
}
.feedback {
  border-radius: 15px;
  background: var(--f-success-soft);
  border: 1px solid #a8d8c8;
  color: var(--f-success);
  padding: 21px;
  margin-top: 22px;
}
.feedback.wrong {
  background: var(--f-warning-soft);
  border-color: #ecd39f;
  color: var(--f-warning);
}
.feedback h3 {
  font-size: 17px;
}
.feedback p {
  font-size: 14px;
  line-height: 1.75;
}
.question-bottom {
  border-top: 1px solid var(--f-line);
  padding-top: 20px;
  margin-top: 24px;
}
.keyboard-hint {
  font-size: 11px;
  color: var(--f-muted);
}
.quiz-summary {
  margin: 0 0 20px;
  padding: 17px 22px;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 16px;
  font-size: 12px;
}
.n-quiz-pip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -3px 0 18px;
  background: var(--f-soft);
  border-radius: 14px;
  padding: 5px 14px;
  color: var(--f-muted);
  font-size: 12px;
}
.n-quiz-pip .n-pip {
  width: 60px;
  height: 60px;
}
.n-quiz-pip button {
  margin-left: auto;
  font-size: 11px;
  border: 1px solid var(--f-line);
  border-radius: 8px;
  background: var(--f-surface);
  color: var(--f-primary);
  padding: 8px 10px;
  min-height: 36px;
}
.combo-circle {
  width: 120px;
  height: 120px;
  background: conic-gradient(#a99aeb var(--arc), var(--f-soft) 0);
  box-shadow: 0 0 0 8px var(--f-canvas);
  margin: 28px auto 20px;
}
.combo-circle > div {
  background: var(--f-surface);
}
.combo-circle strong {
  font-size: 28px;
}
.combo-caption,
.session-stat {
  font-size: 12px;
}
.map-number {
  border-radius: 10px;
  border: 1px solid var(--f-line);
  border-bottom-width: 3px;
  background: var(--f-canvas);
  color: var(--f-muted);
  font-size: 11px;
  min-height: 36px;
}
.map-number.current {
  background: var(--n-blue);
  color: white;
  border-color: #394cc9;
}
.map-number.correct {
  background: var(--f-success-soft);
  color: var(--f-success);
}
.map-number.wrong {
  background: var(--f-warning-soft);
  color: var(--f-warning);
}
.result-hero {
  background: linear-gradient(120deg, #eeeaff, #e9f9f2);
  color: #292650;
  border-radius: 25px;
  border: 1px solid #dedcf0;
}
.result-hero h1 {
  font-size: 35px;
  color: #343055;
}
.result-hero p {
  color: #65617f;
}
.badge-card {
  border-radius: 19px;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
}
/* Studio: action-first overview with calmer operational density. */
.studio-shell .sidebar {
  padding: 26px 18px;
}
.studio-shell .workspace {
  background: var(--f-canvas);
}
.topbar-title > span {
  font-size: 10px;
  color: var(--f-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.topbar-title > strong {
  font-size: 14px;
}
.role-card {
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  color: var(--f-muted);
  border-radius: 15px;
  padding: 13px;
}
.role-card strong {
  font-size: 11px;
  color: var(--f-ink);
}
.role-card small {
  font-size: 10px;
}
.n-studio-hero {
  display: grid;
  grid-template-columns: 1fr 155px;
  gap: 15px;
  border-radius: 23px;
  padding: 26px 30px;
  background: linear-gradient(105deg, #e9e5ff, #edf4ff);
  border: 1px solid #d9d9f1;
  margin-bottom: 22px;
  align-items: center;
}
.n-studio-hero h2 {
  font-size: 27px;
  color: #2a2a4c;
}
.n-studio-hero p {
  font-size: 13px;
  color: #656883;
  max-width: 590px;
  margin: 8px 0 15px;
}
.n-studio-hero .n-pip {
  width: 150px;
  height: 150px;
}
.n-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.n-studio-actions .button {
  font-size: 12px;
  min-height: 41px;
}
.metrics-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  border: 1px solid var(--f-line);
  border-radius: 17px;
  padding: 20px;
  box-shadow: var(--n-shadow);
  background: var(--f-surface);
  gap: 15px;
}
.metric-card strong {
  font-size: 26px;
}
.metric-card p {
  font-size: 11px;
}
.metric-card small {
  font-size: 10px;
}
.dashboard-grid {
  gap: 20px;
  margin-top: 22px;
}
.dashboard-grid .panel {
  padding: 23px;
}
.panel-head {
  margin-bottom: 19px;
}
.panel-head h2 {
  font-size: 18px;
}
.activity-day > span {
  background: linear-gradient(#a69bf7, #6770e2);
  border-radius: 5px 5px 2px 2px;
}
.activity-day > small {
  font-size: 9px;
}
.readiness-list > div {
  font-size: 12px;
  padding: 11px 0;
}
.donut {
  background: conic-gradient(#8c81e6 calc(var(--value) * 1%), var(--f-soft) 0);
}
.donut:before {
  background: var(--f-surface);
}
.timeline strong {
  font-size: 12px;
}
.timeline p,
.timeline small {
  font-size: 11px;
}
.table-wrap {
  border-radius: 13px;
  outline-offset: 4px;
}
table {
  font-size: 12px;
}
thead th {
  background: var(--f-soft);
  color: var(--f-muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  font-weight: 650;
  text-transform: uppercase;
  padding: 13px 16px;
}
tbody td {
  padding: 16px;
  border-color: var(--f-line);
}
tbody tr {
  transition: background 0.18s;
}
tbody tr:hover {
  background: var(--f-canvas);
}
td strong {
  font-size: 12px;
}
td small {
  font-size: 10px;
}
.cell-title small {
  color: var(--f-muted);
}
.button.compact {
  font-size: 11px;
  min-height: 34px;
  border-radius: 9px;
  padding: 6px 11px;
}
.toolbar {
  padding: 0 0 18px;
  gap: 13px;
}
.search,
.f-search {
  background: var(--f-canvas);
  border-color: var(--f-line);
  border-radius: 11px;
}
.toolbar input,
.toolbar select,
.search input,
.f-search input {
  font-size: 13px !important;
}
.field input,
.field textarea,
.field select,
.control,
input,
textarea,
select {
  border-radius: 11px;
  border-color: var(--f-line);
  background: var(--f-surface);
  color: var(--f-ink);
}
.field > span {
  font-size: 12px;
}
.field > small {
  font-size: 11px;
}
.code-editor {
  font-size: 12px !important;
  line-height: 1.8;
}
.course-summary {
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 22px;
}
.course-summary h2 {
  font-size: 26px;
}
.course-summary p {
  font-size: 13px;
}
.f-editor-layout {
  gap: 18px;
}
.f-editor-nav {
  border-radius: 14px;
}
.f-editor-nav button {
  font-size: 12px;
  border-radius: 9px;
}
.record-hero,
.review-hero {
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  border-radius: 20px;
  padding: 24px;
}
.cohort-card,
.campaign {
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 20px;
  box-shadow: var(--n-shadow);
}
.cohort-card h2 {
  font-size: 20px;
}
.cohort-card p,
.campaign p {
  font-size: 13px;
}
.cohort-meta {
  font-size: 11px;
}
.settings-grid {
  gap: 22px;
}
.switch {
  border-bottom: 1px solid var(--f-line);
}
.switch strong {
  font-size: 13px;
}
.switch small {
  font-size: 11px;
}
.form-error {
  font-size: 13px;
  color: var(--f-danger);
}
/* Popovers, original guide and controlled loops. */
.n-helper-launcher {
  position: fixed;
  z-index: 44;
  bottom: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 22px;
  box-shadow: 0 10px 35px #39347926;
  padding: 2px 17px 2px 4px;
  color: var(--f-ink);
  font-size: 12px;
  min-height: 52px;
  transition:
    transform 0.25s var(--n-spring),
    box-shadow 0.25s;
}
.n-helper-launcher:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #39347930;
}
.n-helper-launcher .n-pip {
  width: 63px;
  height: 63px;
  margin-top: -12px;
  margin-bottom: -3px;
}
.n-motion-control {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 43;
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--f-line);
  background: var(--f-surface);
  color: var(--f-muted);
  font-size: 10px;
  min-height: 35px;
  padding: 7px 10px;
  border-radius: 10px;
  box-shadow: var(--n-shadow);
}
.n-motion-control .icon {
  width: 14px;
  height: 14px;
}
.f-dialog,
.modal {
  background: var(--f-surface);
  color: var(--f-ink);
  border: 1px solid var(--f-line);
  border-radius: 24px;
  box-shadow: 0 30px 90px #25265735;
  max-width: min(720px, calc(100vw - 24px));
  max-height: 90dvh;
  animation: n-dialog-in 0.3s var(--n-spring);
}
dialog::backdrop {
  background: #25294555;
  backdrop-filter: blur(5px);
}
.f-dialog-head {
  padding: 23px 27px;
  border-color: var(--f-line);
}
.f-dialog-head h2 {
  font-size: 20px;
}
.f-dialog-body {
  padding: 27px;
}
.f-dialog-foot {
  padding: 18px 27px;
}
.f-dialog-body > p {
  font-size: 14px;
  color: var(--f-muted);
}
.f-dialog .f-setting p {
  font-size: 12px;
}
.f-segmented button {
  border-radius: 10px;
  font-size: 13px;
}
.f-segmented [aria-pressed="true"] {
  background: var(--f-soft);
  color: var(--f-primary);
}
.modal-card {
  background: var(--f-surface);
  border-radius: 23px;
}
.modal header {
  background: var(--f-surface);
  border-color: var(--f-line);
}
.modal-body {
  padding: 25px;
}
.n-helper-panel {
  position: fixed;
  inset: auto 22px 100px auto;
  margin: 0;
  width: 410px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 130px);
  border-radius: 24px;
}
.n-helper-panel .f-dialog-head {
  padding: 18px 22px;
}
.n-helper-panel .f-dialog-head h2 {
  font-size: 14px;
}
.n-helper-panel .f-dialog-body {
  padding: 20px;
}
.n-helper-intro {
  display: flex;
  align-items: center;
  gap: 10px;
}
.n-helper-intro .n-pip {
  width: 82px;
  height: 82px;
}
.n-helper-intro strong {
  font-size: 14px;
  line-height: 1.4;
  display: block;
}
.n-helper-intro p {
  font-size: 11px;
  color: var(--f-muted);
  margin-top: 6px;
}
.n-helper-message {
  font-size: 13px;
  line-height: 1.7;
  background: var(--f-soft);
  padding: 14px;
  border-radius: 0 14px 14px 14px;
  margin: 15px 0;
}
.n-helper-option {
  display: flex;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 13px 12px;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-bottom-width: 3px;
  border-radius: 11px;
  margin-bottom: 9px;
  font-size: 12px;
  color: var(--f-ink);
}
.n-helper-option span {
  margin-left: auto;
}
.n-helper-option:hover {
  background: var(--f-soft);
}
.n-guide-answer:not(:empty) {
  padding: 17px;
  background: var(--f-warning-soft);
  color: var(--f-warning);
  border-radius: 14px;
  margin: 15px 0;
}
.n-guide-answer h3 {
  font-size: 15px;
}
.n-guide-answer p,
.n-guide-answer li {
  font-size: 12px;
  line-height: 1.75;
}
.n-guide-answer ul,
.n-guide-answer ol {
  padding-left: 18px;
  margin-top: 10px;
}
.n-helper-note {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: var(--f-muted);
  margin-top: 17px;
}
.n-tour {
  max-width: 460px;
  text-align: center;
}
.n-tour .f-dialog-head {
  border: 0;
}
.n-tour-art {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #ece6ff 0, transparent 68%);
  height: 195px;
  margin-top: -25px;
}
.n-tour-art .n-pip {
  width: 185px;
  height: 185px;
}
.n-tour h3 {
  font-size: 25px;
  line-height: 1.25;
  margin: 14px 0;
}
.n-tour p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--f-muted);
}
.n-tour-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.n-step-dots {
  display: flex;
  gap: 6px;
}
.n-step-dots i {
  width: 7px;
  height: 7px;
  border-radius: 7px;
  background: var(--f-line);
}
.n-step-dots i.active {
  width: 21px;
  background: #8076df;
}
.n-planner h3 {
  font-size: 27px;
  margin: 12px 0;
}
.n-plan-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 23px;
}
.n-plan-courses button {
  display: flex;
  text-align: left;
  gap: 11px;
  align-items: center;
  border: 2px solid var(--f-line);
  border-radius: 14px;
  padding: 17px;
  background: var(--f-surface);
  color: var(--f-ink);
  font-size: 12px;
  min-height: 75px;
}
.n-plan-courses button span {
  margin-left: auto;
}
.n-plan-courses button[aria-pressed="true"],
.n-goal-grid [aria-pressed="true"] {
  background: var(--f-soft);
  border-color: #8c80e6;
  box-shadow: 0 3px 0 #d3cafa;
}
.n-plan-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.n-planner-pip {
  float: right;
  width: 120px;
  height: 120px;
}
.n-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 25px 0;
}
.n-goal-grid button {
  background: var(--f-surface);
  border: 2px solid var(--f-line);
  border-radius: 17px;
  padding: 22px 10px;
  color: var(--f-ink);
}
.n-goal-grid strong {
  display: block;
  font-size: 31px;
}
.n-goal-grid span {
  display: block;
  font-size: 11px;
  margin: 5px 0 12px;
}
.n-goal-grid small {
  font-size: 10px;
  color: var(--f-muted);
}
.n-try-top {
  display: flex;
  gap: 13px;
  align-items: center;
}
.n-try-top h3 {
  font-size: 23px;
  margin: 10px 0;
}
.n-try-top p {
  font-size: 12px;
  color: var(--f-muted);
}
.n-demo-answers {
  display: grid;
  gap: 11px;
  margin-top: 25px;
}
.n-demo-answer {
  display: flex;
  text-align: left;
  gap: 12px;
  align-items: center;
  border: 2px solid var(--f-line);
  border-bottom-width: 4px;
  border-radius: 14px;
  padding: 16px;
  background: var(--f-surface);
  color: var(--f-ink);
  font-size: 13px;
}
.n-demo-answer span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border: 1px solid var(--f-line);
  border-radius: 7px;
  font-size: 11px;
}
.n-demo-answer.is-correct {
  background: var(--f-success-soft);
  border-color: #85c9b3;
  color: var(--f-success);
}
.n-demo-answer.is-wrong {
  background: var(--f-warning-soft);
  border-color: #e3c580;
  color: var(--f-warning);
}
.n-demo-feedback:not(:empty) {
  margin-top: 24px;
  border-radius: 15px;
  background: var(--f-soft);
  padding: 20px;
}
.n-demo-feedback h3 {
  font-size: 19px;
}
.n-demo-feedback p {
  font-size: 13px;
  line-height: 1.75;
  margin: 10px 0 18px;
}
.n-confetti {
  position: fixed;
  width: 7px;
  height: 10px;
  pointer-events: none;
  z-index: 9999;
  border-radius: 2px;
}
.n-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #292d51;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 5px 20px #0002;
  pointer-events: none;
}
.n-loading:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #927bfa,
    #4aa9e6,
    transparent
  );
  z-index: 9999;
  animation: n-loading 1.3s linear infinite;
}
.n-studio-help {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  background: var(--f-soft);
  border-radius: 13px;
  padding: 10px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--f-muted);
}
.n-studio-help .n-pip {
  width: 45px;
  height: 45px;
}
.n-studio-help button {
  font-size: 11px;
  border: 0;
  background: none;
  color: var(--f-primary);
  padding: 0;
  text-align: left;
}
.n-auth-decoration {
  display: grid;
  place-items: center;
}
.auth-story {
  background: linear-gradient(145deg, #e6e0ff, #edf4ff 70%, #ffedde) !important;
  color: #292850;
}
.auth-story h1,
.auth-story h2 {
  color: #343056;
}
.auth-story p,
.auth-note {
  color: #605d81;
}
.auth-story .n-pip {
  width: 180px;
  height: 180px;
  margin: 5px auto;
  display: block;
}
.auth-card {
  border-radius: 22px;
}
.auth-card h2 {
  font-size: 29px;
}
.auth-footer {
  font-size: 12px;
}
.price-card {
  border-radius: 23px;
  border: 1px solid var(--f-line);
  background: var(--f-surface);
  color: var(--f-ink);
}
.price-card.featured {
  border: 2px solid #9186f1;
  background: var(--f-soft);
  color: var(--f-ink);
}
@keyframes n-loading {
  from {
    transform: translateX(-70%);
  }
  to {
    transform: translateX(70%);
  }
}
@keyframes n-dialog-in {
  from {
    transform: translateY(16px) scale(0.98);
  }
  to {
    transform: none;
  }
}
[data-nova-motion="paused"] .n-pip *,
[data-motion="off"] .n-pip * {
  animation: none !important;
}
[data-nova-motion="paused"] [data-tilt] {
  transform: none !important;
}
html[data-motion="off"] *,
html[data-motion="off"] *:before,
html[data-motion="off"] *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
/* Starlight is a blue/lilac night palette, never a forest skin. */
:root[data-theme="dark"] .n-hero-glow {
  background: radial-gradient(ellipse, #332954 0, #202948 45%, transparent 70%);
}
:root[data-theme="dark"] .n-orbit {
  border-color: #554c77;
}
:root[data-theme="dark"] .n-chip {
  background: #34304f;
  color: #d6c8ff;
}
:root[data-theme="dark"] .n-hero h1 em {
  color: #b4b9ff;
}
:root[data-theme="dark"] .n-hero-label {
  color: #c5bcea;
}
:root[data-theme="dark"] .n-hero-speech {
  background: #37304f;
  border-color: #544470;
  color: #e2d0ff;
}
:root[data-theme="dark"] .n-welcome,
:root[data-theme="dark"] .n-studio-hero,
:root[data-theme="dark"] .n-final,
:root[data-theme="dark"] .n-story-visual {
  background: linear-gradient(115deg, #2c284a, #243450);
  border-color: #494260;
  color: #edf0ff;
}
:root[data-theme="dark"] .n-welcome h2,
:root[data-theme="dark"] .n-studio-hero h2,
:root[data-theme="dark"] .n-final h2 {
  color: #f2eeff;
}
:root[data-theme="dark"] .n-welcome p,
:root[data-theme="dark"] .n-studio-hero p,
:root[data-theme="dark"] .n-final p {
  color: #c5c4df;
}
:root[data-theme="dark"] .n-pip-aside {
  background: #393047;
  color: #f1d5bf;
  border-color: #5c495e;
}
:root[data-theme="dark"] .n-pip-aside button {
  color: #d7c4ff;
}
:root[data-theme="dark"] .metric-icon,
:root[data-theme="dark"] .metric-card .metric-icon {
  background: #343356;
  color: #c2b6ff;
}
:root[data-theme="dark"] .metric:nth-child(2) .metric-icon {
  background: #28464b;
  color: #92d9cd;
}
:root[data-theme="dark"] .metric:nth-child(3) .metric-icon {
  background: #493d45;
  color: #edc694;
}
:root[data-theme="dark"] .n-story-number {
  background: #373452;
  color: #d3c8ff;
}
:root[data-theme="dark"] .n-try-demo {
  background: #262c47;
}
:root[data-theme="dark"] .result-hero {
  background: linear-gradient(120deg, #332b51, #274344);
  border-color: #474765;
}
:root[data-theme="dark"] .result-hero h1 {
  color: #f2edff;
}
:root[data-theme="dark"] .result-hero p {
  color: #cdc8e0;
}
:root[data-theme="dark"] .n-welcome-actions .text-button {
  color: #cec4ff;
}
:root[data-theme="dark"] .auth-story {
  background: linear-gradient(130deg, #332c52, #263d55) !important;
}
:root[data-theme="dark"] .auth-story h1,
:root[data-theme="dark"] .auth-story h2 {
  color: #f1edff;
}
:root[data-theme="dark"] .auth-story p,
:root[data-theme="dark"] .auth-note {
  color: #c8c2df;
}
@media (min-width: 1700px) {
  .main,
  .workspace > main {
    padding: 35px 52px 100px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .n-welcome h2 {
    font-size: 36px;
  }
}
@media (max-width: 1200px) {
  .site-header,
  .site-main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .site-links {
    gap: 10px;
  }
  .site-links .btn {
    font-size: 12px;
  }
  .n-hero {
    gap: 16px;
  }
  .n-hero-scene {
    height: 430px;
  }
  .n-orbit {
    width: 290px;
    height: 290px;
  }
  .n-orbit.two {
    width: 350px;
    height: 350px;
  }
  .n-hero-scene > .n-pip {
    width: 230px;
    height: 230px;
    left: calc(50% - 115px);
    top: 74px;
  }
  .n-float-card {
    padding: 11px 13px;
    max-width: 210px;
  }
  .n-float-card.b {
    right: -6px;
    top: 118px;
  }
  .n-float-card.a {
    left: -5px;
  }
  .n-float-card.c {
    width: 275px;
    left: calc(50% - 137px);
    bottom: 16px;
  }
  .n-hero h1 {
    font-size: 60px;
  }
  .main,
  .workspace > main {
    padding: 25px 24px 100px;
  }
  .n-welcome {
    grid-template-columns: 1fr 125px;
    padding: 25px;
  }
  .n-welcome .n-pip {
    width: 130px;
    height: 130px;
  }
  .n-welcome h2 {
    font-size: 26px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .three-grid .metric {
    padding: 18px;
    gap: 10px;
  }
  .metric-icon {
    width: 40px;
    height: 40px;
  }
  .metric-number {
    font-size: 22px;
  }
  .quiz-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .question-panel {
    padding: 23px;
  }
  .question-panel h2 {
    font-size: 21px;
  }
  .n-story {
    gap: 40px;
  }
  .n-helper-launcher span:not(.n-pip) {
    display: none;
  }
  .n-helper-launcher {
    padding: 0 3px;
    border-radius: 50%;
    right: 16px;
  }
  .n-helper-launcher .n-pip {
    margin: 0;
    width: 58px;
    height: 58px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 248px;
  }
  .site-links {
    display: none;
  }
  .topbar {
    padding: 0 22px;
    height: 72px;
  }
  .main {
    padding: 24px 24px 100px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .n-motion-control {
    bottom: 85px;
    left: 12px;
  }
  .n-helper-launcher {
    bottom: 84px;
  }
  .n-helper-panel {
    bottom: 155px;
  }
  .site-main {
    padding-bottom: 100px;
  }
  .n-hero h1 {
    font-size: 55px;
  }
  .n-hero {
    padding-top: 42px;
  }
  .n-float-card.b {
    max-width: 175px;
  }
  .n-float-card .n-icon-tile {
    width: 33px;
    height: 33px;
  }
  .n-hero-speech {
    display: none;
  }
  .n-proof > div {
    padding: 0 12px;
  }
  .n-proof span {
    font-size: 11px;
  }
  .f-catalog-grid {
    gap: 16px;
  }
  .f-course-body {
    padding: 19px;
  }
  .f-course-body h3 {
    font-size: 18px;
  }
  .n-try-section {
    padding: 28px;
    gap: 28px;
  }
  .n-final {
    padding: 32px;
  }
  .n-final h2 {
    font-size: 29px;
  }
  .workspace > main {
    padding-bottom: 105px;
  }
  .bottom-nav {
    background: var(--f-surface);
    padding-top: 8px;
    border-top: 1px solid var(--f-line);
    box-shadow: 0 -6px 22px #28376409;
  }
  .bottom-nav a {
    font-size: 10px !important;
    border-radius: 12px;
    padding: 3px 12px;
    min-width: 65px;
  }
  .bottom-nav a.active {
    background: var(--f-soft);
  }
  .n-studio-hero {
    padding: 22px;
  }
  .n-studio-hero h2 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .n-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 0 30px;
    gap: 10px;
  }
  .n-hero .n-chip {
    margin: auto;
  }
  .n-hero h1 {
    font-size: 57px;
    margin: 23px 0;
  }
  .n-hero .lede {
    margin: 25px auto 0;
    max-width: 460px;
    font-size: 15px;
  }
  .n-hero-actions,
  .n-hero-note {
    justify-content: center;
  }
  .n-hero-scene {
    width: 440px;
    max-width: 100%;
    height: 430px;
    margin: auto;
  }
  .n-hero-scene > .n-pip {
    width: 250px;
    height: 250px;
    left: calc(50% - 125px);
  }
  .n-hero h1 br:first-child {
    display: none;
  }
  .n-float-card {
    text-align: left;
  }
  .n-float-card.b {
    right: 5px;
    max-width: 200px;
  }
  .n-hero-label {
    left: 10px;
  }
  .n-proof {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;
  }
  .n-proof > div {
    border: 0;
    padding: 0 10px;
  }
  .n-proof strong {
    font-size: 22px;
  }
  .n-section {
    padding: 49px 0;
  }
  .n-section-title {
    align-items: start;
    gap: 15px;
  }
  .n-section-title h2 {
    font-size: 28px;
  }
  .n-section-title .btn {
    font-size: 11px;
  }
  .f-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .f-course-body h3 {
    font-size: 19px;
  }
  .n-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .n-story-visual {
    position: relative;
    top: 0;
    height: 300px;
  }
  .n-story-step {
    padding: 20px 0 23px;
    opacity: 1;
  }
  .n-story-step h3 {
    font-size: 25px;
  }
  .n-story-step p {
    font-size: 14px;
  }
  .n-story-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 13px;
  }
  .n-story-steps {
    display: grid;
    gap: 14px;
  }
  .n-story-card {
    width: 65%;
    max-width: 320px;
  }
  .n-try-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .n-try-section h2 {
    font-size: 28px;
  }
  .n-try-section .lede {
    font-size: 14px;
  }
  .n-final {
    flex-wrap: wrap;
    padding: 28px;
  }
  .n-final .n-pip {
    width: 80px;
    height: 80px;
  }
  .n-final .f-btn {
    width: 100%;
    justify-content: center;
  }
  .n-final h2 {
    font-size: 27px;
  }
  .n-final p {
    font-size: 13px;
  }
  .f-catalog-hero {
    padding: 32px 0 25px;
    gap: 12px;
  }
  .f-catalog-hero h1 {
    font-size: 35px;
  }
  .f-catalog-hero .n-pip {
    width: 115px;
    height: 115px;
  }
  .f-catalog-hero .lede {
    font-size: 14px;
  }
  .f-filter-bar {
    flex-wrap: wrap;
  }
  .f-filter-bar .f-search {
    width: 100%;
    flex-basis: 100%;
  }
  .f-chips {
    gap: 7px;
  }
  .f-chip {
    font-size: 11px;
    padding: 8px 11px;
  }
  .f-detail-header h1 {
    font-size: 34px;
  }
  .f-detail-grid {
    grid-template-columns: 1fr;
  }
  .content-grid,
  .quiz-grid {
    grid-template-columns: 1fr;
  }
  .course-sidebar {
    position: static;
  }
  .n-welcome {
    grid-template-columns: 1fr 140px;
    padding: 25px;
  }
  .n-welcome h2 {
    font-size: 29px;
  }
  .n-welcome .n-pip {
    width: 140px;
    height: 140px;
  }
  .quiz-sidebar {
    display: grid;
    grid-template-columns: 1fr;
  }
  .quiz-sidebar .combo-card {
    display: none;
  }
  .question-panel h2 {
    font-size: 22px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .metric-number {
    font-size: 23px;
  }
  .main,
  .workspace > main {
    padding: 20px 20px 110px;
  }
  .f-path-select {
    flex-wrap: wrap;
  }
  .f-path-select select {
    max-width: 100%;
    flex: 1;
  }
  .f-path-select > a {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .n-studio-hero {
    grid-template-columns: 1fr 100px;
  }
  .n-studio-hero .n-pip {
    width: 100px;
    height: 100px;
  }
  .n-studio-hero h2 {
    font-size: 23px;
  }
  .n-studio-hero p {
    font-size: 12px;
  }
  .n-studio-actions .button {
    font-size: 11px;
  }
  .f-dialog-head,
  .f-dialog-body {
    padding: 20px;
  }
  .n-helper-panel {
    bottom: 150px;
    right: 12px;
    max-height: calc(100dvh - 175px);
  }
  .f-preview-banner {
    font-size: 10px;
  }
  .n-quiz-pip {
    margin-top: 0;
  }
  .n-quiz-pip .n-pip {
    width: 49px;
    height: 49px;
  }
  .n-quiz-pip span:not(.n-pip) {
    font-size: 11px;
  }
  .auth-story {
    display: none;
  }
  .n-plan-courses {
    gap: 8px;
  }
  .n-plan-courses button {
    padding: 12px;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .site-header {
    height: 76px;
    padding: 16px 18px;
    gap: 10px;
  }
  .f-wordmark {
    font-size: 25px;
  }
  .f-wordmark > svg {
    width: 30px;
    height: 33px;
  }
  .site-actions {
    gap: 7px;
  }
  .site-actions > .btn {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 40px;
  }
  .site-actions .f-tools {
    display: none;
  }
  .site-main {
    padding: 0 18px 100px;
  }
  .n-hero h1 {
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -0.06em;
  }
  .n-hero h1 br:first-child {
    display: block;
  }
  .n-hero-actions {
    gap: 10px;
  }
  .n-hero-actions .f-btn {
    min-height: 48px;
    padding: 12px 15px;
    font-size: 13px;
  }
  .n-hero-note {
    font-size: 10px;
    gap: 5px;
  }
  .n-hero-scene {
    height: 345px;
  }
  .n-hero-scene > .n-pip {
    width: 207px;
    height: 207px;
    left: calc(50% - 103px);
    top: 52px;
  }
  .n-orbit {
    width: 245px;
    height: 245px;
  }
  .n-orbit.two {
    width: 315px;
    height: 315px;
  }
  .n-float-card.a {
    top: 17px;
    left: 0;
    max-width: 180px;
  }
  .n-float-card.b {
    top: 122px;
    right: 0;
    max-width: 149px;
    padding: 10px;
  }
  .n-float-card strong {
    font-size: 11px;
  }
  .n-float-card small {
    font-size: 9px;
  }
  .n-float-card.b .n-icon-tile {
    display: none;
  }
  .n-float-card.c {
    width: 244px;
    left: calc(50% - 122px);
    bottom: 7px;
    padding: 14px;
  }
  .n-float-card.c strong {
    font-size: 12px;
  }
  .n-hero-label {
    display: none;
  }
  .n-scene-star {
    top: 16px;
    left: 78%;
  }
  .n-proof {
    gap: 16px;
    padding: 18px 8px;
  }
  .n-proof strong {
    font-size: 19px;
  }
  .n-proof span {
    font-size: 10px;
  }
  .f-catalog-grid {
    grid-template-columns: 1fr;
  }
  .f-course-art {
    height: 180px;
  }
  .f-course-body h3 {
    font-size: 22px;
    min-height: 0;
  }
  .f-course-body > p {
    min-height: 0;
    font-size: 13px;
  }
  .f-course-body {
    padding: 22px;
  }
  .n-section-title {
    flex-direction: column;
  }
  .n-section-title h2 {
    font-size: 28px;
  }
  .n-story-card {
    width: 77%;
  }
  .n-story-visual > .n-pip {
    width: 122px;
    height: 122px;
  }
  .n-try-section {
    padding: 23px;
  }
  .n-try-demo {
    padding: 18px;
  }
  .n-preview-question {
    font-size: 17px;
  }
  .n-preview-answer {
    font-size: 12px;
    padding: 13px;
  }
  .n-final {
    padding: 25px;
    gap: 13px;
  }
  .n-final h2 {
    font-size: 25px;
  }
  .n-final .n-pip {
    width: 63px;
    height: 63px;
  }
  .n-faq summary {
    font-size: 13px;
    padding: 17px;
  }
  .n-faq details p {
    padding: 0 17px 17px;
    font-size: 13px;
  }
  .f-catalog-hero .n-pip {
    width: 85px;
    height: 85px;
  }
  .f-catalog-hero h1 {
    font-size: 31px;
  }
  .f-catalog-hero p.lede {
    font-size: 13px;
  }
  .f-filter-bar select {
    max-width: 170px;
  }
  .f-count {
    font-size: 11px;
  }
  .main,
  .workspace > main {
    padding: 18px 14px 110px;
  }
  .topbar {
    padding: 0 16px;
    gap: 8px;
  }
  .topbar-actions {
    gap: 7px;
  }
  .topbar-actions .xp-chip {
    font-size: 10px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading .lede,
  .page-heading > div > p:last-child {
    font-size: 13px;
  }
  .panel {
    padding: 20px;
  }
  .panel h2 {
    font-size: 19px;
  }
  .n-welcome {
    grid-template-columns: 1fr;
    padding: 23px;
    min-height: 247px;
  }
  .n-welcome h2 {
    font-size: 28px;
    max-width: 240px;
    padding-right: 20px;
  }
  .n-welcome p {
    max-width: 220px;
    font-size: 12px;
    padding-right: 25px;
  }
  .n-welcome > .n-pip {
    position: absolute;
    width: 110px;
    height: 110px;
    right: 0;
    top: 53px;
  }
  .n-welcome-actions {
    margin-top: 19px;
  }
  .n-welcome-actions .btn {
    font-size: 11px;
    min-height: 43px;
  }
  .n-welcome-actions .text-button {
    font-size: 10px;
  }
  .three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .three-grid .metric {
    padding: 14px 10px;
    display: block;
  }
  .three-grid .metric-icon {
    width: 29px;
    height: 29px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .three-grid .metric-icon .icon {
    width: 17px;
    height: 17px;
  }
  .metric-number {
    font-size: 19px;
  }
  .metric-label {
    font-size: 10px;
    line-height: 1.4;
  }
  .mode-banner,
  .f-preview-banner {
    font-size: 10px;
    padding: 9px 10px;
  }
  .mode-banner .icon {
    display: none;
  }
  .mode-banner .btn {
    font-size: 10px;
  }
  .f-path-select label {
    font-size: 9px;
  }
  .f-path-select select {
    font-size: 11px !important;
    width: 100%;
    flex-basis: 100%;
  }
  .n-dashboard-label {
    gap: 10px;
  }
  .n-dashboard-label .f-btn {
    min-height: 36px;
    font-size: 10px;
    padding: 7px;
  }
  .n-dashboard-label .f-btn .icon {
    display: none;
  }
  .module-list .module-row {
    gap: 12px;
    padding: 16px;
    flex-wrap: wrap;
  }
  .module-row .module-number {
    width: 42px;
    height: 44px;
    font-size: 14px;
  }
  .module-row .module-info {
    flex-basis: calc(100% - 60px);
  }
  .module-row .btn {
    margin-left: 54px;
  }
  .module-row h3 {
    font-size: 14px;
  }
  .tabs {
    gap: 4px;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 10px;
  }
  .tab {
    font-size: 11px;
    padding: 9px 11px;
  }
  .lesson-article p,
  .lesson-article li {
    font-size: 14px;
  }
  .quiz-summary {
    padding: 14px;
    font-size: 11px;
  }
  .question-panel {
    padding: 20px 16px;
  }
  .question-panel h2 {
    font-size: 19px;
    line-height: 1.5;
  }
  .answer {
    font-size: 13px;
    padding: 13px 11px;
    gap: 10px;
    min-height: 75px;
  }
  .answer-letter {
    width: 27px;
    height: 29px;
    font-size: 11px;
  }
  .question-bottom .btn {
    font-size: 12px;
    padding: 10px 14px;
  }
  .feedback {
    padding: 17px;
  }
  .feedback h3 {
    font-size: 16px;
  }
  .feedback p {
    font-size: 13px;
  }
  .n-quiz-pip {
    padding: 4px 8px;
    gap: 5px;
  }
  .n-quiz-pip .n-pip {
    width: 45px;
    height: 45px;
  }
  .n-quiz-pip button {
    font-size: 10px;
    min-height: 32px;
    padding: 6px;
  }
  .map-panel .question-map {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
  .n-motion-control {
    font-size: 9px;
    min-height: 31px;
    bottom: 85px;
    left: 10px;
  }
  .n-helper-launcher {
    bottom: 83px;
    right: 10px;
  }
  .n-helper-launcher .n-pip {
    width: 48px;
    height: 48px;
  }
  .n-helper-panel {
    bottom: 143px;
  }
  .n-plan-courses {
    grid-template-columns: 1fr;
  }
  .n-plan-courses button {
    min-height: 52px;
  }
  .n-goal-grid {
    gap: 8px;
  }
  .n-goal-grid button {
    padding: 15px 6px;
  }
  .n-goal-grid strong {
    font-size: 26px;
  }
  .n-goal-grid small {
    font-size: 9px;
  }
  .n-planner h3 {
    font-size: 23px;
  }
  .n-planner-pip {
    width: 80px;
    height: 80px;
  }
  .n-planner-pip > .n-pip {
    width: 80px;
    height: 80px;
  }
  .n-plan-actions > .f-btn {
    font-size: 12px;
  }
  .n-try-top .n-pip {
    width: 65px;
    height: 65px;
  }
  .n-try-top h3 {
    font-size: 20px;
  }
  .n-studio-hero {
    display: block;
    padding: 22px;
    position: relative;
  }
  .n-studio-hero h2 {
    max-width: 210px;
    font-size: 25px;
  }
  .n-studio-hero p {
    max-width: 215px;
    padding-right: 30px;
  }
  .n-studio-hero > .n-pip {
    position: absolute;
    right: 1px;
    top: 13px;
    width: 94px;
    height: 94px;
  }
  .n-studio-actions {
    gap: 8px;
    margin-top: 18px;
  }
  .n-studio-actions > .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .metric-card {
    padding: 16px 12px;
    gap: 10px;
  }
  .metric-card strong {
    font-size: 22px;
  }
  .metric-card .metric-icon {
    width: 34px;
    height: 34px;
  }
  .metric-card p {
    font-size: 10px;
  }
  .metric-card small {
    font-size: 9px;
  }
  .metrics-grid {
    gap: 10px;
  }
  .n-tour-art {
    height: 165px;
  }
  .n-tour-art .n-pip {
    width: 165px;
    height: 165px;
  }
  .n-tour h3 {
    font-size: 24px;
  }
  .n-tour p {
    font-size: 13px;
  }
  .n-tour .f-dialog-body {
    padding-top: 10px;
  }
  .f-dialog-head h2 {
    font-size: 17px;
  }
  .site-footer {
    padding: 26px 20px;
  }
  .record-hero,
  .review-hero {
    padding: 19px;
  }
  .course-summary {
    padding: 21px;
  }
  .course-summary h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .n-helper-launcher,
  .n-motion-control,
  .n-tooltip,
  .n-confetti,
  .n-quiz-pip {
    display: none !important;
  }
}
/* Composed Nova scenes and stable workspace components. */
.n-hero-copy {
  position: relative;
  z-index: 3;
}
.n-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.n-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a78ea;
  box-shadow: 0 0 0 4px #8a78ea14;
}
.n-mascot-stage {
  position: absolute;
  inset: 65px 70px 115px;
  display: grid;
  place-items: center;
  z-index: 1;
  transform-style: preserve-3d;
}
.n-mascot-stage > .n-pip {
  width: 280px;
  height: 280px;
  filter: drop-shadow(0 22px 20px #dc987330);
}
.n-hero-platform {
  position: absolute;
  left: calc(50% - 127px);
  top: 301px;
  width: 254px;
  height: 45px;
  background: linear-gradient(#e3dcfa, #cbc5eb);
  border-radius: 50%;
  box-shadow:
    0 14px 0 #dfdcf1,
    0 32px 32px #736aa319;
  transform: rotate(-6deg);
}
.n-float-card.a {
  top: 14px;
  left: 2px;
  width: 255px;
}
.n-float-card.b {
  right: -5px;
  top: 193px;
  max-width: 208px;
}
.n-float-card.c {
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  left: calc(50% - 152px);
  width: 304px;
  padding: 18px 23px;
}
.n-float-card.c > span:first-child {
  font-size: 30px;
  color: #8b75e5;
}
.n-float-card.c small {
  font-size: 12px;
}
.n-mini-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.n-mini-icon.lilac {
  background: #ece7ff;
  color: #6a50cf;
}
.n-mini-icon.mint {
  background: #dff8ec;
  color: #258464;
}
.n-mini-icon .icon {
  width: 22px;
  height: 22px;
}
.n-mini-progress {
  display: flex;
  gap: 4px;
  margin-top: 9px;
}
.n-mini-progress i {
  height: 5px;
  flex: 1;
  background: #a5e5cf;
  border-radius: 5px;
}
.n-mini-progress i:last-child {
  background: #e5e8f3;
}
.n-orbit-pill {
  position: absolute;
  bottom: 119px;
  left: 2px;
  padding: 9px 13px;
  rotate: -7deg;
  border: 1px solid #e4dff1;
  border-radius: 11px;
  background: #faf7ff;
  color: #7a619e;
  font-size: 12px;
  font-weight: 600;
}
.n-sparkle {
  position: absolute;
  font-size: 30px;
  color: #a395f4;
}
.n-sparkle.one {
  right: 11%;
  top: 46px;
  color: #f5b350;
}
.n-sparkle.two {
  right: 3%;
  bottom: 89px;
  font-size: 34px;
}
.n-sparkle.three {
  left: 5%;
  top: 158px;
  font-size: 22px;
  color: #f5aa6b;
}
.n-hero-scene .n-loop-spark {
  position: absolute;
  right: 17%;
  top: 48px;
  width: 70px;
  height: 70px;
}
.n-proof {
  margin: 22px 0 65px;
}
.n-proof-note {
  display: flex;
  align-items: center;
  gap: 12px;
}
.n-proof-note > .icon {
  width: 31px;
  height: 31px;
  color: #c46282;
}
.n-proof-note span {
  line-height: 1.65;
}
.n-proof b {
  color: var(--f-ink);
}
.n-featured {
  margin: 0 0 85px;
}
.f-section-head h2 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.f-section-head {
  margin-bottom: 28px;
}
.f-section-head .eyebrow {
  margin-bottom: 12px;
}
.f-course-art > span.n-skill-art {
  border: 0;
  border-radius: 0;
  transform: none;
  opacity: 1;
  right: auto;
  bottom: auto;
  display: block;
  width: 145px;
  height: 145px;
  transition: none;
}
.f-course-art > span.n-skill-art:after {
  display: none;
}
.f-course:hover .f-course-art > span.n-skill-art {
  transform: translateY(-4px) scale(1.04);
  transition: transform 0.6s var(--n-spring);
}
.f-course-art > span.n-course-spark {
  border: 0;
  width: auto;
  height: auto;
  font-size: 27px;
  right: 26px;
  top: 75px;
  bottom: auto;
  border-radius: 0;
  transform: rotate(12deg);
  opacity: 0.65;
}
.f-course-art > span.n-course-spark:after {
  display: none;
}
.n-course-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 19px;
}
.n-course-actions .btn {
  font-size: 13px;
  min-height: 43px;
}
.n-mini-label {
  font-size: 11px;
  color: var(--f-muted);
}
.n-story {
  display: block;
  margin: 0 0 90px;
}
.n-story-heading {
  text-align: center;
  margin: 0 0 45px;
}
.n-story-heading h2 {
  font-size: 44px;
  line-height: 1.18;
  margin: 14px 0 18px;
  letter-spacing: -0.045em;
}
.n-story-heading > p:last-child {
  font-size: 16px;
  color: var(--f-muted);
}
.n-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.n-story-visual {
  height: 405px;
  top: 100px;
}
.n-story-content {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 32px;
}
.n-story-content[hidden] {
  display: none !important;
}
.n-scene-label {
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: #73678f;
  display: block;
}
.n-story-dots {
  position: absolute;
  display: flex;
  gap: 6px;
  top: 35px;
  right: 33px;
  z-index: 2;
}
.n-story-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c1b7e0;
}
.n-story-pip {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 155px;
  height: 155px;
  z-index: 4;
}
.n-story-book,
.n-story-quiz,
.n-story-award {
  position: absolute;
  left: 10%;
  top: 85px;
  width: 75%;
  border: 1px solid #dddaf1;
  box-shadow: 0 22px 28px #51467d20;
  border-radius: 22px;
  background: #fff;
  color: #303151;
  rotate: -4deg;
  padding: 27px;
  z-index: 2;
}
.n-story-book > .icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  box-sizing: content-box;
  border: 1px solid #ddd3fe;
  background: #f3edff;
  color: #6c54c6;
  border-radius: 15px;
  margin-bottom: 14px;
}
.n-story-book > span {
  display: block;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.n-book-lines {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}
.n-book-lines i {
  height: 7px;
  border-radius: 5px;
  background: #edecf8;
}
.n-book-lines i:nth-child(2) {
  width: 85%;
}
.n-book-lines i:last-child {
  width: 63%;
}
.n-scene-tag {
  position: absolute;
  left: 27px;
  bottom: 25px;
  background: #fff;
  color: #7158c6;
  border: 1px solid #ddd8f2;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 12px;
  rotate: 4deg;
  z-index: 3;
}
.n-story-quiz {
  top: 88px;
  rotate: 3deg;
}
.n-story-quiz > small {
  font-size: 11px;
  color: #636785;
}
.n-story-quiz > strong {
  display: block;
  font-size: 21px;
  margin: 15px 0;
}
.n-story-quiz > span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8f8ef;
  color: #227757;
  border: 1px solid #a0d4b7;
  padding: 14px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.n-story-quiz > p {
  color: #66748a;
  font-size: 11px;
  margin: 14px 0 0;
}
.n-story-award {
  text-align: center;
  top: 77px;
  rotate: -4deg;
  padding: 24px;
}
.n-story-award > .icon {
  width: 56px;
  height: 56px;
  color: #ad7319;
  background: #fff1d7;
  border: 1px solid #edd59d;
  border-radius: 50%;
  padding: 12px;
  box-sizing: content-box;
  margin-bottom: 12px;
}
.n-story-award > small {
  font-size: 8px;
  letter-spacing: 0.11em;
  display: block;
  color: #79708c;
}
.n-story-award > strong {
  display: block;
  font-size: 25px;
  margin: 12px 0;
  line-height: 1.15;
}
.n-award-line {
  height: 2px;
  width: 50%;
  display: block;
  margin: 15px auto;
  background: #dbd4f0;
}
.n-story-award > p {
  font-size: 10px;
  color: #79708c;
}
.n-story-step {
  display: flex;
  align-items: start;
  gap: 18px;
  padding: 17px 0 42px;
  opacity: 1;
}
.n-story-step > div {
  flex: 1;
}
.n-story-step h3 {
  font-size: 29px;
  margin: 3px 0 15px;
}
.n-story-step p {
  font-size: 15px;
}
.n-step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid #dcdcf5;
  background: #efedff;
  color: #6854be;
  border-radius: 15px;
  font: 750 16px var(--f-font);
  box-shadow: 0 3px 0 #dedcf2;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}
.n-story-step.is-active .n-step-number {
  background: #6d63dc;
  border-color: #6d63dc;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 0 #4f47b0;
}
.n-story-step:hover .n-step-number {
  transform: translateY(-3px);
}
.n-try-section {
  margin: 0 0 85px;
  background: linear-gradient(
    115deg,
    var(--f-surface),
    var(--f-surface) 60%,
    var(--f-soft)
  );
}
.n-try-section > div:first-child > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.75;
  color: var(--f-muted);
  margin-bottom: 24px;
}
.n-question-preview {
  padding: 25px;
  border: 1px solid var(--f-line);
  border-radius: 23px;
  background: var(--f-surface);
  box-shadow: 0 16px 32px #736b9910;
}
.n-quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  color: var(--f-muted);
}
.n-quiz-top > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.n-quiz-top small {
  font-size: 8px;
  letter-spacing: 0.07em;
}
.n-question-preview h3 {
  font-size: 20px;
  margin-bottom: 22px;
  line-height: 1.45;
}
.n-preview-answer {
  margin-top: 11px;
  font-size: 12px;
  padding: 13px 11px;
}
.n-preview-answer > span {
  flex-shrink: 0;
}
.n-preview-answer.picked {
  color: #25765f;
  background: #edf9f3;
  border-color: #acd8c6;
  box-shadow: 0 3px 0 #d5ecdf;
}
.n-preview-answer.picked > span {
  background: #c7ecdc;
  color: #276a52;
}
.n-preview-answer > .icon {
  width: 17px;
}
.n-question-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--f-muted);
  font-size: 12px;
}
.n-question-note .n-pip {
  width: 55px;
  height: 55px;
}
.n-faq {
  max-width: none;
  margin: 0 0 85px;
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 65px;
}
.n-faq h2 {
  font-size: 39px;
  line-height: 1.18;
  margin: 15px 0 25px;
}
.n-faq .btn.text {
  padding-left: 0;
}
.n-faq details:last-child {
  margin-bottom: 0;
}
.n-final-cta {
  border: 1px solid #dddaf4;
  border-radius: 32px;
  padding: 50px 65px;
  margin: 0 0 35px;
  background:
    radial-gradient(ellipse at 85% 50%, #ffecdc, transparent 55%),
    linear-gradient(105deg, #ede8ff, #edf3ff);
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 35px;
  overflow: hidden;
  position: relative;
}
.n-final-cta:before {
  content: "";
  border: 1px dashed #d6c6ec;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: absolute;
  right: 14px;
  top: -35px;
  pointer-events: none;
}
.n-final-cta h2 {
  font-size: 42px;
  line-height: 1.14;
  margin: 15px 0 25px;
  color: #2c294b;
}
.n-final-cta .n-cta-pip {
  width: 265px;
  height: 265px;
}
.n-cta-note {
  font-size: 12px;
  color: #6b6082;
  margin-top: 19px;
}
.n-catalog-pip {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
  margin-right: 80px;
}
.n-catalog-pip .n-pip {
  width: 210px;
  height: 210px;
}
.n-catalog-pip > span {
  font-size: 12px;
  rotate: -5deg;
  background: #eee8ff;
  color: #7152a9;
  padding: 10px 15px;
  border: 1px solid #d9ceef;
  border-radius: 12px;
}
.n-sidebar-help {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  padding: 11px 9px;
  border: 1px solid var(--f-line);
  background: linear-gradient(120deg, var(--f-soft), var(--f-surface));
  border-radius: 14px;
  margin: 14px 0 12px;
  width: 100%;
  color: var(--f-ink);
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.n-sidebar-help > .n-pip {
  width: 49px;
  height: 49px;
}
.n-sidebar-help strong {
  font-size: 11px;
  display: block;
}
.n-sidebar-help small {
  font-size: 10px;
  color: var(--f-muted);
  display: block;
  margin-top: 4px;
}
.n-sidebar-help > .icon {
  width: 15px;
  height: 15px;
}
.n-sidebar-help:hover {
  transform: translateY(-2px);
  box-shadow: var(--n-shadow);
}
.n-welcome-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}
.n-welcome-art > span:last-child:not(.n-pip) {
  font-size: 11px;
  color: #766497;
  background: #ffffffaa;
  border: 1px solid #e3dff0;
  border-radius: 12px;
  padding: 8px 11px;
  rotate: -4deg;
  text-align: center;
  line-height: 1.45;
}
.n-welcome > .n-welcome-art > .n-pip {
  width: 180px;
  height: 180px;
}
.n-welcome .row {
  gap: 13px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.n-welcome .row .btn {
  min-height: 43px;
  font-size: 12px;
}
.n-welcome-progress {
  margin-top: 23px;
  font-size: 10px;
  color: #766491;
  max-width: 350px;
}
.n-welcome-progress > .meter {
  margin-top: 8px;
  height: 6px;
}
.n-studio-hero .row {
  gap: 12px;
  display: flex;
  flex-wrap: wrap;
}
.n-studio-hero .row .button {
  font-size: 12px;
  min-height: 41px;
}
.n-auth-pip {
  width: 220px !important;
  height: 220px !important;
  align-self: center;
}
.n-pip[data-loop-paused="true"] * {
  animation-play-state: paused !important;
}
.n-story-step p {
  opacity: 1;
}
:root[data-theme="dark"] .n-final-cta {
  background:
    radial-gradient(ellipse at 85% 50%, #40334d, transparent 50%),
    linear-gradient(105deg, #302e52, #25324c);
  border-color: #444668;
}
:root[data-theme="dark"] .n-final-cta h2 {
  color: #f3f1ff;
}
:root[data-theme="dark"] .n-cta-note {
  color: #c6c5e0;
}
:root[data-theme="dark"] .n-final-cta:before {
  border-color: #625371;
}
:root[data-theme="dark"] .n-welcome-art > span:last-child:not(.n-pip) {
  background: #403655;
  color: #ddd0f2;
  border-color: #61516f;
}
:root[data-theme="dark"] .n-welcome-progress {
  color: #c7b9df;
}
:root[data-theme="dark"] .n-mascot-stage {
  filter: drop-shadow(0 5px 22px #ffb6671a);
}
:root[data-theme="dark"] .n-orbit-pill,
:root[data-theme="dark"] .n-catalog-pip > span {
  background: #393252;
  color: #d0c1ed;
  border-color: #615278;
}
:root[data-theme="dark"] .n-story-dots i {
  background: #655a7f;
}
:root[data-theme="dark"] .n-scene-label {
  color: #c9badf;
}
@media (max-width: 1100px) {
  .n-mascot-stage {
    inset: 80px 35px 120px;
  }
  .n-mascot-stage > .n-pip {
    width: 240px;
    height: 240px;
  }
  .n-float-card.a {
    width: 230px;
    left: 0;
    top: 14px;
  }
  .n-float-card.b {
    max-width: 174px;
    top: 206px;
  }
  .n-story-grid {
    gap: 35px;
  }
  .n-story-step h3 {
    font-size: 25px;
  }
  .n-story-heading h2 {
    font-size: 38px;
  }
  .n-faq {
    gap: 35px;
  }
  .n-final-cta {
    padding: 35px 40px;
    grid-template-columns: 1fr 230px;
  }
  .n-final-cta .n-cta-pip {
    width: 230px;
    height: 230px;
  }
  .n-catalog-pip {
    margin-right: 15px;
  }
  .n-catalog-pip .n-pip {
    width: 170px;
    height: 170px;
  }
}
@media (max-width: 760px) {
  .n-mascot-stage {
    inset: 54px 60px 90px;
  }
  .n-mascot-stage > .n-pip {
    width: 240px;
    height: 240px;
  }
  .n-hero-platform {
    top: 260px;
    width: 215px;
    left: calc(50% - 107px);
  }
  .n-float-card.a {
    width: 229px;
    left: 5%;
    top: 9px;
  }
  .n-float-card.b {
    max-width: 184px;
    right: 0;
    top: 181px;
  }
  .n-float-card.c {
    bottom: 0;
    max-width: 270px;
    left: calc(50% - 135px);
  }
  .n-orbit-pill {
    bottom: 91px;
    left: 0;
    font-size: 11px;
  }
  .n-proof {
    margin: 16px 0 42px;
  }
  .n-featured {
    margin-bottom: 52px;
  }
  .f-section-head h2 {
    font-size: 29px;
  }
  .n-section-title,
  .f-section-head {
    align-items: start;
    gap: 15px;
  }
  .n-story {
    margin-bottom: 50px;
  }
  .n-story-heading {
    text-align: left;
    margin-bottom: 25px;
  }
  .n-story-heading h2 {
    font-size: 32px;
  }
  .n-story-heading > p:last-child {
    font-size: 14px;
  }
  .n-story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .n-story-visual {
    position: relative;
    top: 0;
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .n-story-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .n-story-step {
    padding: 0;
    display: flex;
    gap: 14px;
  }
  .n-story-step h3 {
    font-size: 23px;
    margin: 2px 0 9px;
  }
  .n-story-step p {
    font-size: 14px;
  }
  .n-try-section {
    margin-bottom: 50px;
    gap: 25px;
  }
  .n-try-section > div:first-child > p:not(.eyebrow) {
    font-size: 14px;
  }
  .n-faq {
    display: block;
    margin-bottom: 50px;
  }
  .n-faq h2 {
    font-size: 31px;
  }
  .n-faq > div:first-child {
    margin-bottom: 22px;
  }
  .n-final-cta {
    padding: 29px;
    gap: 16px;
    grid-template-columns: 1fr 120px;
    border-radius: 23px;
  }
  .n-final-cta h2 {
    font-size: 30px;
  }
  .n-final-cta .n-cta-pip {
    width: 130px;
    height: 130px;
  }
  .n-final-cta .eyebrow {
    font-size: 10px !important;
  }
  .n-final-cta:before {
    width: 230px;
    height: 230px;
    right: -69px;
    top: 45px;
  }
  .n-catalog-pip {
    margin-right: 0;
  }
  .n-catalog-pip .n-pip {
    width: 115px;
    height: 115px;
  }
  .n-catalog-pip > span {
    font-size: 10px;
    padding: 7px 9px;
  }
  .n-welcome-art > span:last-child:not(.n-pip) {
    display: none;
  }
  .n-welcome > .n-welcome-art > .n-pip {
    width: 125px;
    height: 125px;
  }
  .n-sidebar-help {
    margin: 11px 0;
  }
  .n-studio-hero .row {
    gap: 10px;
  }
  .n-studio-hero > .n-pip,
  .n-studio-hero > div:last-child > .n-pip {
    width: 110px;
    height: 110px;
  }
}
@media (max-width: 480px) {
  .n-mascot-stage {
    inset: 44px 34px 90px;
  }
  .n-mascot-stage > .n-pip {
    width: 211px;
    height: 211px;
  }
  .n-hero-platform {
    top: 226px;
    width: 189px;
    left: calc(50% - 94px);
  }
  .n-float-card.a {
    width: 178px;
    left: 0;
    top: 8px;
    padding: 10px 12px;
    gap: 8px;
  }
  .n-float-card.b {
    width: 144px;
    top: 146px;
    max-width: 144px;
    padding: 10px;
    gap: 8px;
    right: -1px;
  }
  .n-float-card.b .n-mini-icon {
    display: none;
  }
  .n-float-card.c {
    bottom: 0;
    left: calc(50% - 122px);
    width: 244px;
    padding: 11px 17px;
  }
  .n-float-card.c small {
    font-size: 10px;
  }
  .n-float-card strong {
    font-size: 10px;
  }
  .n-float-card small {
    font-size: 9px;
  }
  .n-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .n-orbit-pill {
    bottom: 77px;
    font-size: 9px;
    padding: 7px 9px;
  }
  .n-sparkle.one {
    right: 11%;
    top: 21px;
    font-size: 23px;
  }
  .n-sparkle.two {
    bottom: 59px;
    right: 0;
    font-size: 25px;
  }
  .n-sparkle.three {
    top: 119px;
    left: 0;
    font-size: 18px;
  }
  .n-course-actions {
    margin-top: 14px;
  }
  .f-section-head {
    flex-direction: column;
    align-items: start;
  }
  .f-section-head h2 {
    font-size: 27px;
  }
  .f-section-head > .btn {
    font-size: 12px;
    padding-left: 0;
    min-height: 30px;
  }
  .n-proof > div {
    padding: 0 10px;
  }
  .n-proof-note > .icon {
    width: 23px;
    height: 23px;
  }
  .n-story-heading h2 {
    font-size: 29px;
  }
  .n-story-content {
    padding: 25px;
  }
  .n-story-visual {
    height: 340px;
  }
  .n-scene-label {
    font-size: 9px;
  }
  .n-story-book,
  .n-story-quiz,
  .n-story-award {
    top: 69px;
    padding: 21px;
    border-radius: 19px;
    left: 9%;
    width: 74%;
  }
  .n-story-book > span {
    font-size: 23px;
  }
  .n-story-quiz > strong {
    font-size: 19px;
  }
  .n-story-quiz > span {
    font-size: 11px;
  }
  .n-story-award {
    top: 60px;
  }
  .n-story-award > .icon {
    width: 35px;
    height: 35px;
    padding: 9px;
    margin-bottom: 8px;
  }
  .n-story-award > strong {
    font-size: 24px;
    margin: 8px 0;
  }
  .n-story-pip {
    width: 121px;
    height: 121px;
    right: -9px;
    bottom: -2px;
  }
  .n-scene-tag {
    left: 16px;
    bottom: 15px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .n-story-steps {
    gap: 24px;
  }
  .n-story-step h3 {
    font-size: 20px;
  }
  .n-story-step p {
    font-size: 13px;
  }
  .n-step-number {
    width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 12px;
  }
  .n-question-preview {
    padding: 17px;
  }
  .n-quiz-top {
    flex-wrap: wrap;
    gap: 7px;
  }
  .n-question-preview h3 {
    font-size: 18px;
    margin-bottom: 17px;
  }
  .n-preview-answer {
    font-size: 11px;
  }
  .n-preview-answer > span {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .n-final-cta {
    display: block;
    padding: 25px;
    min-height: 265px;
  }
  .n-final-cta > div {
    position: relative;
    z-index: 2;
  }
  .n-final-cta h2 {
    font-size: 28px;
    max-width: 235px;
  }
  .n-final-cta .n-cta-pip {
    position: absolute;
    right: -8px;
    bottom: 48px;
    width: 106px;
    height: 106px;
  }
  .n-final-cta .f-btn {
    min-height: 46px;
    font-size: 12px;
    padding: 11px 15px;
  }
  .n-cta-note {
    font-size: 10px;
    max-width: 230px;
    padding-right: 30px;
  }
  .n-catalog-pip .n-pip {
    width: 86px;
    height: 86px;
  }
  .n-catalog-pip > span {
    display: none;
  }
  .f-catalog-hero {
    gap: 12px;
  }
  .f-catalog-hero h1 {
    font-size: 31px;
  }
  .f-catalog-hero .lede {
    font-size: 13px;
  }
  .n-welcome > .n-welcome-art {
    position: absolute;
    right: 0;
    top: 62px;
  }
  .n-welcome > .n-welcome-art > .n-pip {
    width: 100px;
    height: 100px;
  }
  .n-welcome .row {
    margin-top: 18px;
    gap: 8px;
  }
  .n-welcome .row .btn {
    font-size: 11px;
  }
  .n-welcome h2 {
    max-width: 250px;
  }
  .n-welcome-progress {
    max-width: 240px;
    margin-top: 15px;
  }
  .n-studio-hero > div:last-child {
    position: absolute;
    right: 2px;
    top: 20px;
  }
  .n-studio-hero > div:last-child > .n-pip {
    width: 92px;
    height: 92px;
  }
  .n-studio-hero .row {
    position: relative;
    z-index: 1;
    gap: 8px;
  }
  .n-studio-hero .row .button {
    font-size: 10px;
    padding: 9px 10px;
  }
}
/* Responsive bounds and contrast refinements verified in the browser. */
.n-hero > div {
  min-width: 0;
}
.site-header a {
  text-decoration: none;
}
.site-links a {
  color: var(--f-muted);
  font-weight: 600;
}
.site-links a:hover {
  color: var(--f-primary);
}
.n-skill-back {
  transform: translateZ(-20px) rotate(3deg) rotateY(-12deg);
  z-index: 0;
}
.n-skill-front {
  transform: translateZ(14px) rotate(-13deg) rotateY(-12deg) rotateX(13deg);
  z-index: 2;
  backface-visibility: hidden;
}
.n-skill-spark {
  z-index: 3;
}
.f-course-body > p {
  font-size: 14px;
  min-height: 65px;
}
.f-course-body h3 {
  font-size: 22px;
  line-height: 1.3;
  min-height: 58px;
}
.f-course-meta {
  font-size: 12px;
}
.f-course-body {
  padding: 26px;
}
.n-course-actions .btn {
  font-size: 13px;
}
.n-mini-label {
  font-size: 11px;
}
.module-row:nth-child(3n + 2) .module-number {
  color: #216b59;
  background: #e1f5f0;
}
.module-row:nth-child(3n) .module-number {
  color: #75500d;
  background: #fff0d7;
}
:root[data-theme="dark"] .button.primary,
:root[data-theme="dark"] .btn.primary,
:root[data-theme="dark"] .f-btn.primary {
  background: #4255e8;
  color: #fff;
  border-color: #7180ff;
}
.n-path-intro {
  padding: 27px;
  border: 1px solid var(--f-line);
  border-radius: 23px;
  background: linear-gradient(110deg, var(--f-surface), var(--f-soft));
  display: grid;
  grid-template-columns: 1fr 130px;
  align-items: center;
  gap: 25px;
}
.n-path-intro h2 {
  font-size: 25px;
  margin: 10px 0 13px;
  line-height: 1.2;
}
.n-path-intro p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--f-muted);
}
.n-path-intro > .n-pip {
  width: 125px;
  height: 125px;
}
.n-path-intro .meter {
  margin-top: 18px;
}
.n-path-checks {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.n-path-checks > span {
  font-size: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--f-muted);
  border: 1px solid var(--f-line);
  border-radius: 9px;
  padding: 6px 8px;
  background: var(--f-surface);
}
.n-path-checks .icon {
  width: 14px;
  height: 14px;
  color: var(--f-primary);
}
.n-path-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
}
.n-path-tools > p {
  font-size: 12px;
  color: var(--f-muted);
}
.n-layout-switch {
  display: flex;
  border: 1px solid var(--f-line);
  border-radius: 12px;
  background: var(--f-soft);
  padding: 4px;
  gap: 4px;
}
.n-layout-switch button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--f-muted);
  border: 0;
  border-radius: 9px;
  min-height: 35px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 11px;
}
.n-layout-switch button[aria-pressed="true"] {
  background: var(--f-surface);
  color: var(--f-primary);
  box-shadow: 0 2px 7px #31396711;
}
.n-layout-switch .icon {
  width: 16px;
  height: 16px;
}
.n-module-summary {
  display: none;
}
.module-list[data-layout="cards"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.module-list[data-layout="cards"] .module-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 22px;
  gap: 13px;
  background: var(--f-surface);
  border: 1px solid var(--f-line);
  border-radius: 21px;
  box-shadow: 0 5px 0 #e5e7f615;
  transition:
    transform 0.3s var(--n-spring),
    box-shadow 0.3s,
    border-color 0.3s;
  overflow: visible;
  margin: 0;
}
.module-list[data-layout="cards"] .module-row:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 0 #e5e7f615,
    0 18px 24px #61689a10;
  border-color: #b8b3ea;
}
.module-list[data-layout="cards"] .module-number {
  align-self: start;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  box-shadow: 0 4px 0 #d7d2f0;
  font-size: 16px;
  transform: rotate(-5deg);
  margin-bottom: 4px;
}
.module-list[data-layout="cards"] .module-row:nth-child(3n + 2) .module-number {
  box-shadow: 0 4px 0 #b8ddd2;
}
.module-list[data-layout="cards"] .module-row:nth-child(3n) .module-number {
  box-shadow: 0 4px 0 #e6d3ab;
}
.module-list[data-layout="cards"] .module-info {
  flex: 1;
  width: 100%;
}
.module-list[data-layout="cards"] h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 9px;
}
.module-list[data-layout="cards"] .module-info > p {
  font-size: 11px;
  line-height: 1.7;
}
.module-list[data-layout="cards"] .n-module-summary {
  display: block !important;
  font-size: 12px;
  line-height: 1.6;
  color: var(--f-muted);
  margin: 8px 0 10px;
}
.module-list[data-layout="cards"] .module-progress {
  width: 100%;
  display: block !important;
  min-width: 0;
  margin: 0;
}
.module-list[data-layout="cards"] .module-progress > .meter {
  margin: 0 0 7px;
}
.module-list[data-layout="cards"] .module-progress > span {
  font-size: 10px;
}
.module-list[data-layout="cards"] .module-row > .btn {
  width: 100%;
  margin: 0;
  font-size: 12px;
  min-height: 39px;
}
.module-list[data-layout="cards"] .module-row.completed {
  border-color: var(--f-success);
  background: linear-gradient(135deg, var(--f-surface), var(--f-success-soft));
}
.n-module-help {
  margin: 17px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--f-soft);
  border: 1px solid var(--f-line);
  padding: 13px 16px;
  border-radius: 14px;
}
.n-module-help .n-pip {
  width: 47px;
  height: 47px;
}
.n-module-help > p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--f-muted);
  flex: 1;
}
.n-module-help button {
  font-size: 11px;
  min-height: 35px;
  white-space: nowrap;
}
:root[data-theme="dark"] .module-list[data-layout="cards"] .module-number {
  box-shadow: 0 4px 0 #453969;
}
:root[data-theme="dark"] .module-row:nth-child(3n + 2) .module-number {
  color: #c9f0e2;
  background: #2b4f4b;
  box-shadow: 0 4px 0 #23403b;
}
:root[data-theme="dark"] .module-row:nth-child(3n) .module-number {
  color: #ffe0a8;
  background: #514330;
  box-shadow: 0 4px 0 #3c3229;
}
@media (max-width: 760px) {
  .n-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .n-hero-scene {
    width: min(440px, 100%);
    max-width: 100%;
  }
  .n-hero-glow {
    inset: 4% 0;
  }
  .n-path-intro {
    padding: 23px;
    gap: 15px;
    grid-template-columns: 1fr 95px;
  }
  .n-path-intro > .n-pip {
    width: 95px;
    height: 95px;
  }
  .module-list[data-layout="cards"] {
    gap: 14px;
  }
  .module-list[data-layout="cards"] .module-row {
    padding: 18px;
  }
  .module-list[data-layout="cards"] .module-info {
    flex-basis: auto;
  }
  .module-list[data-layout="cards"] .module-row > .btn {
    margin: 0;
  }
  .n-module-help {
    flex-wrap: wrap;
  }
  .n-module-help > p {
    min-width: 130px;
  }
}
@media (max-width: 480px) {
  .n-hero-actions {
    justify-content: flex-start;
  }
  .n-hero-note {
    justify-content: flex-start;
  }
  .n-hero .n-eyebrow {
    font-size: 9px !important;
  }
  .n-hero-scene {
    width: 100%;
  }
  .n-float-card.b {
    right: 5px;
  }
  .n-orbit.two {
    width: 285px;
    height: 285px;
  }
  .n-mascot-stage {
    inset: 52px 25px 90px;
  }
  .n-path-intro {
    grid-template-columns: 1fr 55px;
    gap: 7px;
    padding: 22px;
  }
  .n-path-intro > .n-pip {
    width: 75px;
    height: 75px;
    margin-left: -15px;
  }
  .n-path-intro h2 {
    font-size: 22px;
  }
  .n-path-intro p {
    font-size: 12px;
  }
  .n-path-checks > span {
    font-size: 9px;
    padding: 5px 6px;
  }
  .n-path-tools > p {
    display: none;
  }
  .n-path-tools {
    justify-content: flex-end;
    margin-bottom: 14px;
  }
  .module-list[data-layout="cards"] {
    grid-template-columns: 1fr;
  }
  .module-list[data-layout="cards"] .module-row {
    padding: 22px;
  }
  .module-list[data-layout="cards"] h3 {
    font-size: 18px;
  }
  .module-list[data-layout="cards"] .module-info > p {
    font-size: 12px;
  }
  .module-list[data-layout="cards"] .module-number {
    position: absolute;
    right: 22px;
    top: 23px;
    width: 41px;
    height: 41px;
    font-size: 13px;
    border-radius: 13px;
  }
  .module-list[data-layout="cards"] .module-info > h3 {
    padding-right: 60px;
    min-height: 44px;
  }
  .module-list[data-layout="cards"] .module-info {
    flex-basis: auto;
  }
  .module-list[data-layout="cards"] .module-row > .btn {
    margin: 0;
    min-height: 42px;
  }
  .n-module-help > .n-pip {
    width: 38px;
    height: 38px;
  }
  .n-module-help {
    padding: 12px;
  }
  .n-module-help > p {
    font-size: 11px;
  }
  .f-course-body > p {
    font-size: 14px;
    min-height: 0;
  }
  .f-course-body h3 {
    min-height: 0;
  }
}

/* Separate text and decoration in search inputs and reserve space for persistent controls. */
.search-box {
  position: relative;
  min-width: 0;
}
.search-box > .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  pointer-events: none;
}
.search-box input.control {
  padding-inline-start: 44px;
}
@media (min-width: 1025px) {
  .sidebar-bottom,
  .sidebar-foot {
    padding-bottom: 50px;
  }
}
@supports (interpolate-size: allow-keywords) {
  .n-faq details {
    interpolate-size: allow-keywords;
  }
  .n-faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.32s ease,
      content-visibility 0.32s;
    transition-behavior: allow-discrete;
  }
  .n-faq details[open]::details-content {
    block-size: auto;
  }
}
[data-motion="off"] .n-faq details::details-content {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .n-faq details::details-content {
    transition: none;
  }
}

@media print {
  .n-helper-launcher,
  .n-motion-control,
  .n-confetti,
  .n-tooltip,
  .f-toast,
  dialog,
  .n-sidebar-help {
    display: none !important;
  }
}

/* Keep the expanded Studio navigation visible without an internal desktop scrollbar. */
@media (min-width:1001px) {
  .studio-shell .sidebar nav .nav-link { min-height:34px; padding:6px 10px; margin:0; }
  .studio-shell .sidebar .n-sidebar-help { padding:7px 8px; gap:7px; }
  .studio-shell .sidebar .n-sidebar-help > .n-pip { width:36px; height:36px; }
  .studio-shell .sidebar .n-sidebar-help small { margin-top:1px; }
}
