@import url("tokens.css");
/* Shared primitives adapted from the supplied app kit. Contrast overrides are intentional. */
:root {
  --blue-3:var(--forge-navy);
  --blue-2:var(--forge-blue);
  --orange:var(--forge-orange);
  --yellow:var(--forge-gold);
  --red:var(--forge-red);
  --ink:var(--forge-navy);
  --muted:#58647a;
  --soft:#f0f3fa;
  --white:#fff;
  font-family:var(--font-body);
  color:var(--ink);
  background:#e9ecf4
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  min-width:0
}
button,input,textarea,select {
  font:inherit
}
button {
  cursor:pointer;
  transition:background-color 160ms,color 160ms,box-shadow 160ms,transform 160ms
}
button:disabled {
  cursor:not-allowed;
  opacity:.55
}
button:not(:disabled):active {
  transform:scale(.98)
}
button,a,input,select,textarea {
  touch-action:manipulation
}
img {
  display:block;
  max-width:100%
}
h2,h3,p {
  margin-top:0
}
p {
  line-height:1.5
}
strong {
  font-weight:800
}
:focus-visible {
  outline:3px solid #ffdc80;
  outline-offset:3px
}
.module-page :focus-visible,.learning-page :focus-visible {
  outline-color:var(--blue-2)
}
[data-heading]:focus {
  outline:none
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.workspace {
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  height:100dvh;
  min-height:500px;
  overflow:hidden
}
.catalog {
  padding:30px 18px;
  background:#fff;
  border-right:1px solid #dce1ed;
  overflow:auto
}
.catalog-brand {
  font:700 26px Rubik,sans-serif
}
.catalog-brand span {
  display:block;
  margin-top:5px;
  font:800 11px Mulish,sans-serif;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#a54a19
}
.catalog>p {
  color:var(--muted);
  font-size:14px;
  margin:24px 4px;
  line-height:1.5
}
.screen-nav {
  display:grid;
  gap:5px
}
.nav-item {
  min-height:52px;
  width:100%;
  border:0;
  border-radius:10px;
  padding:10px 12px;
  text-align:left;
  background:transparent;
  color:var(--muted);
  font-weight:700;
  font-size:13px
}
.nav-item small {
  display:block;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.6px;
  margin-bottom:4px
}
.nav-item:hover {
  background:var(--soft)
}
.nav-item.active {
  background:var(--blue-3);
  color:#fff
}
.catalog :focus-visible,.preview-heading :focus-visible,.preview-tools :focus-visible {
  outline-color:var(--blue-2)
}
.preview {
  padding:28px;
  overflow:auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px
}
.preview-heading {
  width:100%;
  max-width:840px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center
}
.preview-heading h1 {
  font:600 22px/1.3 Rubik,sans-serif;
  margin:0
}
.eyebrow {
  margin:0 0 5px;
  color:#a54a19;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase
}
.screen-controls {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  white-space:nowrap
}
.screen-controls button,.preview-tools button {
  border:1px solid #c6cedb;
  background:#fff;
  color:var(--ink);
  border-radius:9px;
  min-height:44px;
  padding:8px 12px;
  font-weight:700
}
.preview-tools {
  max-width:650px;
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:13px
}
.preview-tools p {
  flex-basis:100%;
  text-align:center;
  margin:0;
  color:var(--muted);
  font-size:12px
}
.preview-tools label {
  display:flex;
  align-items:center;
  gap:8px;
  min-height:44px
}
.preview-tools input {
  width:20px;
  height:20px;
  accent-color:var(--blue-2)
}
.canvas-wrap {
  width:100%;
  display:flex;
  justify-content:center;
  flex:0 0 auto;
  padding-bottom:22px
}
.phone-stage {
  position:relative;
  width:375px;
  height:812px;
  flex:none
}
.phone {
  width:375px;
  height:812px;
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-screen);
  background:var(--blue-3);
  box-shadow:0 20px 55px #1239752b;
  transform-origin:top left;
  --touch-min:44px
}
.screen {
  width:375px;
  height:812px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  position:relative;
  color:#fff;
  background:linear-gradient(165deg,var(--blue-3) 25%,var(--blue-2) 100%)
}
.screen[data-direction=forward] {
  animation:screen-forward var(--screen-duration,300ms) ease-out both
}
.screen[data-direction=back] {
  animation:screen-back var(--screen-duration,300ms) ease-out both
}
@keyframes screen-forward {
  from {
    opacity:0;
    transform:translateX(12px)
  }
  to {
    opacity:1;
    transform:none
  }
}
@keyframes screen-back {
  from {
    opacity:0;
    transform:translateX(-12px)
  }
  to {
    opacity:1;
    transform:none
  }
}
.status {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex:none;
  height:43px;
  padding:10px 24px;
  font-size:15px;
  font-weight:800
}
.status-icons {
  width:67px;
  height:12px
}
.app-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px 0 23px;
  min-height:59px;
  gap:8px;
  flex:none
}
.brand-button {
  padding:0;
  border:0;
  background:transparent;
  min-height:var(--touch-min);
  flex:1;
  display:flex;
  align-items:center
}
.logo {
  width:133px;
  height:29px
}
.icon-button {
  display:grid;
  place-items:center;
  min-width:var(--touch-min);
  height:var(--touch-min);
  border:0;
  background:transparent;
  border-radius:50%;
  padding:6px;
  color:#fff;
  flex:none
}
.icon-button img {
  width:31px;
  height:31px
}
.back-button {
  background:var(--blue-2)
}
.back-button img {
  width:10px;
  height:16px
}
.spark {
  display:flex;
  align-items:center;
  gap:5px;
  border-radius:var(--radius-pill);
  background:#0b2d60a6;
  padding:9px 10px;
  font-size:13px;
  white-space:nowrap;
  font-weight:700
}
.spark img {
  width:15px;
  height:20px
}
.screen-scroll {
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#8496b6 transparent;
  scroll-padding:16px
}
.hero-title {
  font:600 34px/1.18 Rubik,sans-serif;
  text-align:center;
  margin:12px 0;
  overflow-wrap:anywhere
}
.subtitle {
  font-size:18px;
  font-weight:700;
  text-align:center;
  line-height:1.45;
  margin-bottom:12px;
  overflow-wrap:anywhere
}
.subnote {
  font-size:13px;
  line-height:1.35;
  text-align:center;
  margin-bottom:8px
}
.action {
  display:block;
  width:100%;
  min-height:56px;
  border:0;
  border-radius:var(--radius-pill);
  padding:15px 22px;
  color:#fff;
  background:var(--forge-blue-mid);
  font-weight:800;
  font-size:16px;
  text-transform:uppercase;
  flex:none
}
.action:hover:not(:disabled) {
  box-shadow:var(--shadow-glow-sm)
}
.action.blue {
  background:var(--blue-2);
  color:#fff
}
.action.secondary {
  background:#fff;
  color:var(--blue-3);
  text-transform:none
}
.entry-actions .action:not(.blue) {
  background:linear-gradient(100deg,var(--yellow),var(--orange));
  color:var(--forge-navy-dark)
}
.link-button {
  border:0;
  background:transparent;
  color:inherit;
  min-height:var(--touch-min);
  padding:10px 5px;
  text-decoration:underline;
  font-size:14px;
  font-weight:700
}
.fine-print {
  font-size:12px;
  line-height:1.5;
  margin:16px 0;
  color:inherit;
  opacity:.9
}
.content-copy {
  font-size:16px;
  line-height:1.6;
  color:inherit
}
.content-copy p {
  margin-bottom:20px
}
.demo-note {
  border-radius:10px;
  padding:8px 11px;
  background:#0a2a5780;
  font-size:12px;
  text-align:center;
  line-height:1.5;
  margin:0 0 18px
}
.empty-note {
  padding:20px;
  border:1px solid #8aaed16b;
  border-radius:16px;
  text-align:center;
  font-size:14px
}
.intro .status {
  z-index:1
}
.intro-copy {
  text-align:center;
  margin-top:55px;
  position:relative;
  z-index:1
}
.intro-wordmark {
  font:600 64px/1.1 Rubik,sans-serif;
  margin:3px 0 14px
}
.entry-actions {
  position:absolute;
  top:334px;
  left:29px;
  width:320px;
  display:grid;
  gap:14px;
  text-align:center;
  z-index:1
}
.entry-actions>span {
  font-size:20px;
  line-height:26px
}
.entry-actions .action {
  width:320px
}
.brand-art {
  position:absolute;
  top:579px;
  left:46px;
  width:399px;
  height:342px;
  max-width:none;
  pointer-events:none
}
.intro-continue {
  position:absolute;
  top:444px;
  left:29px;
  width:320px;
  z-index:1
}
.intro-1 .intro-copy {
  margin-top:250px
}
.intro-1 .brand-art {
  opacity:.22
}
.auth-back {
  padding:12px 27px 0;
  flex:none
}
.auth-content,.registration {
  padding:20px 27px 30px;
  flex:1
}
.auth-content .hero-title {
  margin:14px 0 25px;
  font-size:36px
}
.form-stack {
  display:grid;
  gap:14px
}
.field {
  display:grid;
  gap:6px;
  min-width:0
}
.field>label {
  font-size:14px;
  font-weight:800;
  line-height:1.4
}
.field input,select {
  width:100%;
  min-height:max(48px,var(--touch-min));
  border:2px solid transparent;
  border-radius:28px;
  background:#fff;
  color:var(--ink);
  padding:10px 15px;
  font-size:16px;
  min-width:0
}
.field input:focus,select:focus {
  outline:3px solid #ffd474;
  outline-offset:2px
}
.field-error {
  font-size:12px;
  color:#ffdfab
}
.field-error:empty {
  display:none
}
.field [aria-invalid=true] {
  border-color:#f0a086
}
.form-error {
  font-size:13px;
  line-height:1.45;
  color:#ffe4bc;
  margin:0
}
.form-error:empty {
  display:none
}
.check-label {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:var(--touch-min);
  font-size:14px;
  line-height:1.4
}
.check-label input {
  width:22px;
  height:22px;
  flex:none;
  accent-color:var(--blue-2)
}
.registration .form-stack {
  gap:12px
}
.registration .hero-title {
  font-size:32px;
  margin:12px 0 22px
}
.registration .progress-dots {
  margin:0 0 22px
}
.registration .choice-list {
  margin:28px 0
}
.relationship-form {
  margin-top:55px
}
.password-field {
  position:relative
}
.password-field input {
  padding-right:72px
}
.show-password {
  position:absolute;
  right:6px;
  top:26px;
  color:var(--blue-3);
  border:0;
  background:transparent;
  border-radius:24px;
  height:var(--touch-min);
  min-width:60px;
  font-size:13px;
  font-weight:800
}
.login-options {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px
}
.login-options .link-button {
  font-size:13px;
  color:#ffe095
}
.login-options .check-label {
  font-size:12px
}
.social-row {
  display:flex;
  justify-content:center;
  gap:22px;
  margin:20px 0
}
.social {
  border:0;
  background:#fff;
  border-radius:50%;
  width:56px;
  height:56px;
  display:grid;
  place-items:center
}
.social img {
  width:28px;
  height:28px
}
.divider {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:15px;
  margin:28px 0 20px
}
.divider:before,.divider:after {
  content:'';
  height:1px;
  flex:1;
  background:#ffffff70
}
.auth-content>.action {
  margin-top:16px
}
.choice-list {
  border:0;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
  min-width:0
}
.answer-option {
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  min-height:max(48px,var(--touch-min));
  border:2px solid #91add0;
  border-radius:18px;
  padding:10px 14px;
  color:#fff;
  background:#153e79;
  font-size:16px;
  font-weight:700;
  line-height:1.35;
  cursor:pointer;
  transition:background 160ms,border-color 160ms
}
.answer-option input {
  width:20px;
  height:20px;
  flex:none;
  accent-color:var(--blue-3);
  margin:0
}
.answer-option.selected {
  color:var(--blue-3);
  background:#fff;
  border-color:#fff
}
.answer-option:has(:focus-visible) {
  outline:3px solid #ffda79;
  outline-offset:2px
}
.answer-option input:focus-visible {
  outline:none
}
.survey-heading {
  padding:0 22px;
  flex:none;
  height:185px
}
.survey-heading .hero-title {
  font-size:32px;
  margin:7px 0 10px
}
.survey-heading .subtitle {
  font-size:15px;
  line-height:1.3;
  white-space:nowrap;
  letter-spacing:-.3px
}
.survey-heading .subnote {
  font-size:12px
}
.survey-panel {
  padding:22px 26px;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  color:var(--forge-navy-dark)
}
.orange-panel {
  border-top:5px solid #fff;
  border-radius:40px 40px 0 0;
  background:var(--forge-gradient-health)
}
/* Health Check and module assessment share the learning screens' navy shell
   and white reading surface. */
.health-survey {
  background:var(--white);
  color:var(--ink)
}
.health-survey>.status,.health-survey>.app-header,.health-survey>.survey-heading {
  background:var(--blue-3);
  color:var(--white)
}
.health-survey .survey-heading {
  height:160px
}
.health-panel {
  background:var(--white);
  color:var(--ink);
  padding:24px
}
.health-panel>.meter {
  height:8px;
  background:#e3e9f2
}
.health-panel>.meter span {
  background:var(--forge-gradient-progress)
}
.health-panel .question {
  margin:22px 0 8px;
  text-align:left;
  font-style:normal;
  line-height:1.45
}
.health-panel .choice-hint {
  color:var(--muted);
  text-align:left;
  font-size:13px;
  margin:0 0 16px
}
.health-panel .picker {
  scrollbar-color:#8496b6 transparent
}
.health-panel .picker .choice-list {
  gap:8px
}
.health-panel .picker .answer-option {
  background:var(--soft);
  color:var(--ink);
  border-color:#c0cddd;
  border-radius:16px;
  min-height:max(52px,var(--touch-min));
  padding:12px 14px
}
.health-panel .picker .answer-option:hover {
  border-color:var(--blue-2)
}
.health-panel .picker .answer-option.selected {
  background:#edf3fc;
  border-color:var(--blue-2)
}
.health-panel .answer-option input {
  accent-color:var(--blue-2)
}
.health-panel :focus-visible,.health-panel .picker .answer-option:has(:focus-visible) {
  outline-color:var(--blue-2)
}
.health-panel .question-next:focus-visible,.health-panel .back-button:focus-visible {
  outline-offset:3px
}
.health-panel .keyboard-hint {
  color:var(--muted)
}
.health-panel .question-nav {
  border-top:1px solid #e3e9f2;
  margin-top:12px;
  padding-top:16px
}
.health-panel .progress-dots span {
  background:#e3e9f2
}
.health-panel .progress-dots span.active {
  background:var(--forge-orange)
}
.meter {
  height:12px;
  flex:none;
  background:#dce6f0;
  border-radius:var(--radius-pill);
  overflow:hidden
}
.meter span {
  display:block;
  width:var(--value,0%);
  height:100%;
  background:var(--forge-gradient-progress);
  border-radius:inherit;
  transition:width 300ms ease-out
}
.orange-panel>.meter {
  height:24px;
  border:3px solid #fff;
  background:#fff
}
.question {
  font-size:18px;
  font-style:italic;
  font-weight:800;
  text-align:center;
  line-height:1.35;
  margin:20px 0 5px;
  flex:none;
  overflow-wrap:anywhere
}
.choice-hint {
  font-size:12px;
  text-align:center;
  margin:2px 0 10px
}
.picker {
  overflow-y:auto;
  min-height:80px;
  flex:1;
  padding:4px;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#8a421c transparent
}
.picker .choice-list {
  gap:6px
}
.picker .answer-option {
  border-color:#9b501f;
  background:#ffffff20;
  color:var(--forge-navy-dark);
  border-radius:24px;
  font-size:15px
}
.picker .answer-option.selected {
  background:#fff;
  border-color:#fff
}
.picker .answer-option:has(:focus-visible) {
  outline-color:var(--blue-3)
}
.question-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:6px;
  font-size:12px;
  font-weight:800;
  flex:none
}
.question-next {
  background:var(--blue-2);
  border:0;
  color:#fff;
  min-height:var(--touch-min);
  min-width:64px;
  border-radius:25px;
  padding:10px 14px;
  font-weight:800
}
.keyboard-hint {
  font-size:10px;
  text-align:center;
  line-height:1.4;
  margin:10px 0 0
}
.progress-dots {
  display:flex;
  gap:7px;
  margin-top:20px;
  flex:none
}
.progress-dots span {
  height:5px;
  flex:1;
  background:#0a2b5140;
  border-radius:8px
}
.progress-dots span.active {
  background:#fff
}
.results {
  padding:0 23px 25px;
  flex:1
}
.results>.hero-title {
  margin-top:12px
}
.result-block {
  margin:25px 0;
  background:var(--blue-3);
  border-radius:var(--radius-result);
  padding:24px 22px
}
.result-heading {
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:25px
}
.result-heading h3 {
  font:italic 600 16px/1.4 Mulish,sans-serif;
  overflow-wrap:anywhere;
  margin:0;
  flex:1
}
.result-heading strong {
  font:700 36px/1 Rubik,sans-serif
}
.score-meter {
  position:relative;
  height:26px;
  border:2px solid #fff;
  border-radius:var(--radius-pill);
  background:#fff
}
.score-fill {
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--forge-gradient-result)
}
.score-pin {
  position:absolute;
  top:-6px;
  width:14px;
  height:34px;
  transform:translateX(-50%);
  background:#fff;
  border:1px solid #123a75;
  border-radius:4px;
  transition:left 500ms ease
}
.scale-legend {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  margin-top:8px
}
.results .link-button {
  display:block;
  margin:auto
}
.results .fine-print {
  text-align:center
}
.module-picker {
  padding:0 27px 26px;
  flex:1
}
.module-picker .hero-title {
  font-size:34px;
  margin-top:9px
}
.module-picker .subtitle {
  margin-bottom:30px
}
.section-caption {
  text-align:center;
  text-transform:uppercase;
  font:500 15px/1.4 Rubik,sans-serif;
  letter-spacing:.3px;
  color:#536b8c;
  margin:24px 0 20px
}
.light-caption {
  color:#c5e3ff
}
.module-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:26px
}
.grid-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:191px;
  min-width:0;
  background:var(--blue-3);
  border:2px solid transparent;
  border-radius:var(--radius-card);
  color:#fff;
  padding:16px 10px
}
.grid-card.recommended {
  border-color:var(--orange)
}
.grid-card .meter {
  width:100%;
  height:6px;
  background:#3268b4
}
.module-illustration {
  width:82px;
  height:70px;
  object-fit:contain;
  filter:brightness(0) invert(1)
}
.grid-card strong {
  font-size:15px;
  line-height:1.3
}
.grid-card small {
  font-size:11px;
  line-height:1.4;
  color:#d7e6ff
}
.locked-card {
  position:relative;
  border-radius:20px;
  overflow:hidden;
  min-height:191px
}
.locked-card>img {
  width:100%;
  height:100%;
  object-fit:cover
}
.module-page {
  background:#fff;
  color:var(--ink)
}
.module-page>.status,.module-page>.app-header,.learning-page>.status,.learning-page>.app-header {
  background:var(--blue-3);
  color:#fff
}
.module-strip {
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--blue-2);
  color:#fff;
  padding:10px 20px;
  flex:none
}
.module-strip .icon-button img {
  width:10px;
  height:16px
}
.module-home {
  border:0;
  background:transparent;
  color:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  font:600 22px Rubik,sans-serif;
  min-height:var(--touch-min);
  padding:0
}
.module-symbol {
  width:46px;
  height:36px;
  filter:brightness(0) invert(1)
}
.strip-progress {
  margin-left:auto;
  font-size:16px;
  font-weight:800;
  text-align:right
}
.strip-progress small {
  display:block;
  font-size:10px;
  font-weight:600;
  margin-top:4px
}
.dashboard-content {
  padding:22px 24px 30px;
  flex:1
}
.next-stack {
  display:grid;
  grid-template-columns:1fr 18px;
  width:100%;
  text-align:left;
  border:0;
  border-radius:18px;
  padding:16px 18px;
  background:linear-gradient(100deg,var(--blue-3) 65%,var(--blue-2));
  color:#fff;
  gap:6px
}
.next-stack>span:first-child {
  grid-column:1/-1;
  font-size:13px
}
.next-stack strong {
  font-size:17px;
  line-height:1.4
}
.assessment-summary {
  padding:14px 16px;
  background:#edf3fc;
  border-radius:14px;
  margin:16px 0;
  display:grid;
  gap:5px;
  font-size:14px
}
.assessment-summary small {
  font-size:11px;
  color:var(--muted)
}
.quote {
  font-size:14px;
  font-style:italic;
  line-height:1.45;
  color:var(--muted);
  text-align:center;
  margin:24px 0
}
.dashboard-progress {
  display:flex;
  align-items:center;
  gap:24px;
  margin:16px 0 24px;
  justify-content:center
}
.dashboard-progress p {
  margin:0;
  font-size:15px
}
.dashboard-progress small {
  font-size:10px;
  color:var(--muted)
}
.score-ring {
  height:98px;
  width:98px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  background:conic-gradient(var(--orange) var(--value),#e3e9f2 0);
  font:600 30px Rubik,sans-serif;
  isolation:isolate
}
.score-ring:before {
  content:'';
  position:absolute;
  inset:6px;
  background:#fff;
  border-radius:50%;
  z-index:-1
}
.score-ring small {
  font-size:16px
}
.stack-row {
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  border:0;
  padding:14px;
  border-radius:15px;
  background:var(--soft);
  color:var(--ink);
  text-align:left;
  font-size:15px;
  font-weight:800;
  min-height:60px
}
.plus {
  font-size:26px;
  font-weight:400
}
.accordion {
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows 200ms ease-out,visibility 0s 200ms;
  visibility:hidden
}
.accordion.open {
  grid-template-rows:1fr;
  visibility:visible;
  transition-delay:0s
}
.accordion-inner {
  min-height:0;
  overflow:hidden
}
.stack-detail {
  width:100%;
  border:1px solid #d8e2f0;
  background:#fff;
  color:var(--ink);
  padding:18px 14px;
  border-radius:14px;
  text-align:left;
  margin-top:10px;
  display:grid;
  gap:9px;
  font-size:14px
}
.stack-detail>span {
  font-size:12px
}
.task-dots {
  display:flex;
  gap:8px
}
.task-dots span {
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  background:#e5e9ef;
  border-radius:50%;
  color:var(--ink);
  font-weight:800
}
.task-dots .tested-out {
  background:var(--forge-green-light)
}
.task-dots .complete {
  background:#237447;
  color:#fff
}
.legend {
  font-size:10px;
  margin:10px 0 18px;
  line-height:1.5
}
.unavailable-row {
  margin-top:12px;
  display:grid;
  gap:4px;
  color:var(--muted)
}
.unavailable-row small {
  font-weight:500;
  font-size:12px
}
.learning-page {
  background:#fff;
  color:var(--ink)
}
.learning-heading {
  padding:12px 24px 20px;
  background:var(--blue-3);
  color:#fff;
  flex:none
}
.learning-heading p {
  font-size:12px;
  margin:0 0 5px
}
.learning-heading>strong {
  display:block;
  font-size:18px;
  line-height:1.3;
  margin-bottom:12px
}
.learning-heading .meter {
  height:6px;
  background:#376599
}
.learning-main {
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column
}
.tabs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid #d5deeb;
  flex:none;
  padding:0 24px;
  background:#fff
}
.tabs button {
  border:0;
  border-bottom:3px solid transparent;
  color:var(--muted);
  background:#fff;
  min-height:max(54px,var(--touch-min));
  padding:12px 4px;
  font-weight:800;
  font-size:14px
}
.tabs button[aria-selected=true] {
  border-bottom-color:var(--orange);
  color:var(--blue-3)
}
.tabs button:disabled {
  color:#647080;
  opacity:.7
}
.lesson-content {
  padding:24px;
  flex:1
}
.content-title {
  font:600 25px/1.25 Rubik,sans-serif;
  margin:0 0 15px;
  overflow-wrap:anywhere
}
.instruction {
  font-size:15px;
  line-height:1.5;
  color:var(--muted);
  margin-bottom:22px
}
.lesson-content h3 {
  font:600 19px/1.3 Rubik,sans-serif
}
.check-card {
  width:100%;
  min-height:60px;
  border:2px solid var(--blue-2);
  border-radius:14px;
  color:var(--ink);
  background:#fff;
  text-align:center;
  font-weight:800;
  padding:15px;
  margin:20px 0
}
.check-card.done {
  color:#185c37;
  background:#edf9f0;
  border-color:#8ec59f
}
.do-card {
  border:0;
  background:var(--soft);
  color:var(--ink);
  width:100%;
  border-radius:16px;
  display:grid;
  grid-template-columns:22px 1fr;
  gap:10px;
  text-align:left;
  padding:16px;
  margin-bottom:13px
}
.task-number {
  font-weight:800
}
.do-card strong {
  font-size:17px;
  line-height:1.35
}
.do-card small {
  display:block;
  font-size:11px;
  line-height:1.5;
  margin:7px 0;
  color:var(--muted)
}
.do-card .meter {
  height:6px
}
.unavailable-tasks {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin:20px 0;
  color:var(--muted);
  padding:16px;
  border:1px dashed #bfcbdc;
  border-radius:15px
}
.unavailable-tasks small {
  flex-basis:100%;
  font-size:12px
}
.task-tabs {
  display:flex;
  background:var(--soft);
  padding:5px;
  border-radius:30px;
  margin:18px 0
}
.task-tabs button {
  flex:1;
  border:0;
  min-height:var(--touch-min);
  background:transparent;
  color:var(--ink);
  border-radius:24px;
  font-weight:800
}
.task-tabs button[aria-selected=true] {
  background:var(--blue-2);
  color:#fff
}
.subtask {
  display:flex;
  align-items:center;
  gap:15px;
  border:2px solid #c0cddd;
  border-radius:14px;
  padding:15px;
  margin:12px 0;
  min-height:58px;
  cursor:pointer;
  font-weight:800
}
.subtask input {
  width:23px;
  height:23px;
  accent-color:#237447
}
.subtask.done {
  border-color:#8dc7a0;
  background:#effaf3
}
.reflection {
  margin-bottom:24px
}
.reflection label {
  font-size:16px;
  line-height:1.5
}
.reflection textarea {
  width:100%;
  min-height:130px;
  resize:vertical;
  border:2px solid #b8c6d9;
  border-radius:15px;
  padding:14px;
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  background:#fff
}
.reflection small {
  font-size:12px;
  color:var(--muted)
}
.completion-note,.success-note {
  background:#edf9f0;
  color:#185c37;
  border-radius:12px;
  padding:12px;
  font-size:14px;
  line-height:1.5
}
.home-content {
  padding:12px 27px 28px;
  flex:1
}
.home-content .hero-title {
  font-size:32px
}
.home-progress {
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  border:1px solid #6e94cb;
  background:#103466;
  color:#fff;
  border-radius:20px;
  padding:20px;
  text-align:left
}
.home-progress>span:first-child {
  display:grid;
  gap:8px
}
.home-progress .module-illustration {
  width:62px;
  height:48px
}
.home-progress .meter,.home-progress>span:last-child {
  grid-column:1/-1
}
.home-progress>span:last-child {
  font-size:13px
}
.home-score {
  font:600 32px Rubik,sans-serif;
  text-align:right;
  align-self:center
}
.home-score small {
  display:block;
  font:500 11px/1.5 Mulish,sans-serif;
  margin-top:8px
}
.home-content .grid-card {
  min-height:180px
}
.overlay {
  position:absolute;
  inset:0;
  z-index:20;
  animation:overlay-in 300ms ease-out;
  background:rgba(9,37,79,.94);
  color:#fff;
  display:flex;
  flex-direction:column
}
.menu-overlay {
  backdrop-filter:var(--blur-menu);
  padding:45px 27px 30px
}
.close-menu {
  align-self:flex-end;
  margin-bottom:155px
}
.close-menu img {
  width:31px;
  height:31px
}
.menu-overlay nav {
  display:grid;
  gap:10px
}
.menu-item {
  border:0;
  background:transparent;
  color:#fff;
  font:600 32px/1.25 Rubik,sans-serif;
  min-height:56px;
  border-radius:16px
}
.menu-item:hover {
  background:#ffffff10
}
.menu-notice {
  font-size:14px;
  line-height:1.6;
  margin:25px 5px
}
.notice-overlay {
  justify-content:center;
  padding:25px
}
.notice-card {
  background:#fff;
  color:var(--ink);
  border-radius:24px;
  padding:25px
}
.notice-card p {
  font-size:16px;
  line-height:1.6
}
.notice-card :focus-visible {
  outline-color:var(--blue-2)
}
@keyframes overlay-in {
  from {
    opacity:0
  }
  to {
    opacity:1
  }
}
.phone[data-reduced-motion=true] * {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(max-width:960px) {
  .workspace {
    grid-template-columns:225px minmax(0,1fr)
  }
  .catalog {
    padding:24px 14px
  }
  .preview {
    padding:24px 16px
  }
  .preview-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .preview-heading h1 {
    font-size:20px
  }
}
.overlay.closing {
  animation:overlay-out 180ms ease-in both;
  pointer-events:none
}
.app-header :focus-visible,.module-strip :focus-visible {
  outline-color:var(--yellow)
}
@keyframes overlay-out {
  to {
    opacity:0
  }
}
.phone[data-reduced-motion=true] button:active {
  transform:none
}
@media(prefers-reduced-motion:reduce) {
  button:active {
    transform:none
  }
}
@media(max-width:680px) {
  .workspace {
    display:block;
    height:auto;
    overflow:visible
  }
  .catalog {
    padding:18px 16px;
    border-right:0;
    border-bottom:1px solid #dce1ed
  }
  .catalog-brand {
    font-size:22px
  }
  .catalog-brand span {
    display:inline;
    margin-left:8px
  }
  .catalog>p {
    display:none
  }
  .screen-nav {
    display:flex;
    overflow-x:auto;
    gap:8px;
    margin-top:16px;
    scrollbar-width:thin;
    padding:3px
  }
  .nav-item {
    min-width:180px;
    max-width:180px;
    flex:none
  }
  .preview {
    padding:20px 0;
    overflow:visible;
    gap:16px
  }
  .preview-heading,.preview-tools {
    padding:0 16px
  }
  .preview-heading {
    max-width:500px
  }
  .preview-tools {
    max-width:500px
  }
  .canvas-wrap {
    padding-bottom:10px
  }
  .phone {
    box-shadow:none
  }
  .preview-tools p {
    font-size:11px
  }
  .screen-controls {
    width:100%;
    justify-content:space-between
  }
}
