:root {
  --navy: #123b48;
  --navy-2: #20515b;
  --blue: #126e7c;
  --blue-dark: #0c5360;
  --red: #c99330;
  --gold: #c99330;
  --green: #1e8e5a;
  --ink: #1a1f29;
  --muted: #566b70;
  --line: #d5e2e3;
  --soft: #f0f6f5;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(18, 59, 72, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  min-height: 96px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  background: var(--navy);
  border-bottom: 2px solid var(--red);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border-radius: 12px;
  font-size: 27px;
  font-weight: 800;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.12; }
.brand-copy strong { font-size: 20px; letter-spacing: .08em; }
.brand-copy small { margin-top: 6px; color: #aab8cd; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.header-nav { display: flex; gap: 34px; margin-left: auto; color: #cbd6e5; font-size: 15px; font-weight: 700; }
.header-nav a:hover { color: #fff; }
.header-contact { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid rgba(234,193,108,.5); border-radius: 8px; background: rgba(255,255,255,.05); font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.header-contact span { font-family: 'Segoe UI Symbol', sans-serif; font-size: 24px; line-height: 1; color: #eac16c; }
.header-contact:hover { background: rgba(234,193,108,.14); border-color: #eac16c; }
.header-contact:focus-visible { outline: 2px solid #eac16c; outline-offset: 4px; }

.hero {
  min-height: 710px;
  padding: 94px clamp(24px, 7vw, 128px) 118px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
}
.eyebrow, .section-kicker {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero .eyebrow {
  width: max-content;
  max-width: 100%;
  padding: 11px 17px;
  color: var(--navy);
  background: #eef5f4;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.hero h1 {
  max-width: 900px;
  margin: 24px 0 28px;
  color: var(--navy);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}
.hero-copy > p { max-width: 780px; margin: 0; color: var(--muted); font-size: clamp(18px, 1.25vw, 22px); line-height: 1.62; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button {
  min-height: 60px;
  padding: 0 30px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px rgba(18,110,124,.16); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.hero-meta { display: flex; gap: 24px 32px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; flex-wrap: wrap; }
.hero-meta span { display: flex; flex-direction: column; gap: 6px; max-width: 100%; }
.hero-meta b { color: var(--navy); font-size: 36px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-meta.hero-completions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.hero-meta span { overflow-wrap: anywhere; }
.meaning-icon { display: block; width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; filter: invert(31%) sepia(33%) saturate(1126%) hue-rotate(143deg) brightness(90%); }
.hero-completions .meaning-icon { filter: invert(57%) sepia(62%) saturate(554%) hue-rotate(2deg) brightness(94%); }
#lecture-list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lecture-tile { min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.lecture-tile > a { display: flex; flex-direction: column; height: 100%; line-height: 1.45; }
.lecture-tile:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(18,59,72,.08); }
.lecture-tile > a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.lecture-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; min-height: 190px; padding: 26px 16px 22px; background: #edf5f3; border-bottom: 1px solid var(--line); }
.lecture-tile:nth-child(3n + 2) .lecture-visual { background: #fcf5e6; }
.lecture-tile:nth-child(3n) .lecture-visual { background: #edf2f7; }
.lecture-visual > .meaning-icon { width: 72px; height: 72px; flex-basis: 72px; }
.lecture-code { position: absolute; top: 16px; left: 18px; color: var(--muted); font-size: 13px; font-weight: 700; }
.lecture-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.lecture-concepts > span { position: relative; padding: 12px 3px 0; text-align: center; font-size: 12px; color: var(--navy); border-top: 1px solid #92b1b5; overflow-wrap: anywhere; }
.lecture-concepts > span::before { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: -4px; left: calc(50% - 3px); }
.lecture-tile-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.lecture-tile-body h3 { margin: 0; font-size: 21px; color: var(--navy); line-height: 1.3; overflow-wrap: anywhere; }
.lecture-tile-body p { margin: 12px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.lecture-tile-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lecture-tile-footer strong { color: var(--blue); font-size: 15px; }
#lectures > h2 { font-size: 36px; line-height: 1.15; letter-spacing: 0; }
@media (max-width: 1100px) { #lecture-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .hero-meta { font-size: 14px; }
  .hero-meta b { font-size: 28px; }
  #lecture-list { grid-template-columns: 1fr; }
  #lectures > h2 { font-size: 28px; }
}
.hero-actions [data-start-assessment] { color: #123b48; background: #eac16c; border: 2px solid #c99330; box-shadow: 0 6px 16px rgba(201,147,48,.18); }
.hero-actions [data-start-assessment]:hover { background: #f3cf86; }
.hero-actions .button:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; isolation: isolate; }
.hero-artwork { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; gap: 24px; }
.hero-copy { min-width: 0; }
.hero-actions .button { white-space: normal; height: auto; padding-top: 14px; padding-bottom: 14px; }
.brand-portrait { display: block; width: 84px; height: 112px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.site-header { padding-top: 14px; padding-bottom: 14px; }
.brand-copy strong { letter-spacing: 0; line-height: 1.25; }
.brand-copy small { letter-spacing: 0; text-transform: none; }
.organization-list { width: min(100%, 360px); border-top: 2px solid var(--gold); padding-top: 8px; }
.organization-list p { margin: 0; padding: 12px 0; font-size: 15px; line-height: 1.5; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.organization-list p + p { border-top: 1px solid var(--line); }
@media (max-width: 560px) {
  .brand-portrait { width: 72px; height: 96px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 12px; }
  .site-header .header-contact { margin-left: 0; }
}
.hero-artwork video { display: block; width: min(100%, 360px); height: auto; aspect-ratio: 544 / 720; object-fit: contain; border-radius: 8px; background: #123b48; }
@media (max-width: 920px) { .hero-artwork video { width: min(100%, 300px); } }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(3,37,108,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3,37,108,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 72%);
  mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}
.orbit { position: absolute; border: 1px solid rgba(3,37,108,.14); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 310px; height: 310px; }
.visual-center {
  position: relative;
  z-index: 3;
  width: 285px;
  height: 285px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 22px 52px rgba(3,37,108,.15);
}
.visual-center span { color: #9db8f7; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.visual-center strong { margin-top: 14px; font-size: 29px; line-height: 1.16; }
.visual-chip {
  position: absolute;
  z-index: 4;
  padding: 13px 18px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 800;
}
.chip-one { top: 72px; left: 12%; }
.chip-two { top: 112px; right: 4%; }
.chip-three { bottom: 92px; right: 12%; }
.chip-four { bottom: 132px; left: 4%; }

.navigator {
  width: min(1180px, calc(100% - 32px));
  margin: -52px auto 84px;
  display: grid;
  grid-template-columns: 280px 80px minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.steps-panel { padding: 34px 28px; color: #fff; background: var(--navy); display: flex; flex-direction: column; }
.steps-panel > * { flex-shrink: 0; }
.route-artwork { position: relative; overflow: hidden; background: var(--navy); }
.route-artwork img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media print { .route-artwork { display: none; } }
.profile-outcomes { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.profile-outcomes h3 { margin: 12px 0 24px; color: var(--navy); font-size: 26px; line-height: 1.25; }
.profile-outcome { display: flex; align-items: flex-start; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.profile-outcomes h4 { margin: 0 0 10px; color: var(--navy); font-size: 19px; line-height: 1.35; }
.profile-outcomes p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.profile-start { margin-top: 28px; padding-left: 20px; border-left: 3px solid var(--gold); }
.profile-start a { display: inline-block; margin-top: 16px; }
@media (max-width: 920px) { .route-artwork { display: none; } }
.steps-title { margin-bottom: 26px; color: #b9c9e4; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps li { display: flex; gap: 13px; opacity: .55; }
.steps li.active { opacity: 1; }
.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: var(--navy);
  background: #fff;
  border-radius: 50%;
  font-weight: 800;
}
.steps b { display: block; }
.steps small { display: block; margin-top: 4px; color: #b9c9e4; line-height: 1.35; }
.privacy-note { margin-top: 34px; padding: 17px; display: flex; gap: 12px; background: rgba(255,255,255,.08); border-radius: 12px; color: #dce6f5; font-size: 14px; line-height: 1.48; }
.privacy-note p { margin: 0; }
.privacy-note span { color: #56c271; font-weight: 900; }

.navigator-content { position: relative; min-height: 660px; padding: 44px clamp(24px, 4vw, 54px); }
.navigator-content:has(.step-screen[data-step="1"].active) { min-height: auto; }
.progress-line { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: #edf1f7; }
.progress-line span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .25s; }
.step-screen { display: none; }
.step-screen.active { display: block; }
.step-screen h2 { margin: 12px 0 12px; color: var(--navy); font-size: clamp(30px, 3vw, 48px); line-height: 1.05; }
.section-lead { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.58; }
.choice-grid { display: grid; gap: 16px; margin-top: 30px; }
.two-columns, .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-card, .direction-card {
  min-height: 148px;
  padding: 24px;
  display: flex;
  gap: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.choice-card { flex-direction: column; }
.choice-card:hover, .direction-card:hover, .choice-card.selected, .direction-card.selected {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(3,37,108,.08);
}
.choice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--soft);
  border-radius: 8px;
  font-weight: 900;
}
.choice-card strong, .direction-card strong { color: var(--navy); font-size: 20px; }
.choice-card small, .direction-card small { color: var(--muted); line-height: 1.45; }
.back-button, .text-button {
  padding: 0;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}
.next-button { margin-top: 28px; }
.login-panel {
  margin-top: 26px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--soft);
  border-radius: 14px;
}
.login-panel label { display: grid; gap: 8px; color: var(--navy); font-weight: 800; }
.login-panel label span { color: var(--muted); font-weight: 400; }
.login-panel input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.checkbox-row { grid-column: 1 / -1; display: flex !important; grid-template-columns: none !important; align-items: flex-start; color: var(--ink) !important; font-weight: 500 !important; }
.checkbox-row input { min-height: auto; margin-top: 3px; }
.domain-toolbar { display: flex; gap: 18px; margin: 24px 0 16px; }
.direction-list { display: grid; gap: 12px; }
.direction-card { min-height: auto; align-items: center; }
.direction-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  color: var(--blue);
  background: #edf5f3;
  border-radius: 12px;
  font-weight: 900;
}
.direction-card .domain-symbol { height: 72px; gap: 2px; padding: 6px; border-radius: 8px; }
.direction-card .domain-symbol small { font-size: 12px; color: var(--blue); }
.direction-card > div { min-width: 0; }
.direction-card > div strong, .direction-card > div small { display: block; }
.direction-card > div small { margin-top: 6px; }

.summary-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.time-pill { padding: 12px 16px; color: var(--navy); background: #edf5f3; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.route-summary { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.route-summary span, .result-items span {
  padding: 10px 13px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}
.diagnostic-card {
  margin: 22px 0;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--soft);
  border-radius: 16px;
}
.diagnostic-number { color: var(--blue); font-size: 52px; font-weight: 900; }
.diagnostic-card h3, .diagnostic-card p { margin: 0; }
.diagnostic-card p { margin-top: 7px; color: var(--muted); line-height: 1.5; }
.result-preview { margin: 22px 0 28px; }
.result-items { display: flex; gap: 10px; flex-wrap: wrap; }

.quiz-toolbar { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-weight: 800; }
.quiz-progress { height: 7px; margin: 16px 0 24px; background: #edf1f7; border-radius: 999px; overflow: hidden; }
.quiz-progress span { display: block; width: 0; height: 100%; background: var(--blue); transition: width .2s; }
.question-meta { color: var(--blue); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.question-title { margin-top: 14px !important; font-size: clamp(26px, 2.7vw, 42px) !important; }
.answer-options { display: grid; gap: 12px; margin-top: 24px; }
.answer-button {
  padding: 18px 20px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.answer-button:hover, .answer-button.selected { border-color: var(--blue); background: #edf5f3; }
.answer-feedback { margin-top: 18px; padding: 16px; background: #eef8f3; border-radius: 12px; color: #21583c; line-height: 1.5; }
.quiz-next { margin-top: 22px; }

.result-heading { display: flex; justify-content: space-between; gap: 22px; align-items: flex-start; }
.result-score {
  min-width: 150px;
  padding: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
  background: var(--soft);
  border-radius: 16px;
}
.result-score strong { font-size: 46px; }
.block-results { display: grid; gap: 10px; margin-top: 24px; }
.block-result {
  padding: 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 12px;
}
.block-result > span { color: var(--blue); font-weight: 900; }
.block-result strong, .block-result small { display: block; }
.block-result small { margin-top: 4px; color: var(--muted); }
.level-1 { border-left-color: #e05b5b; }
.level-2 { border-left-color: #e0a33a; }
.level-0 { border-left-color: #65757a; }
.level-3 { border-left-color: var(--blue); }
.level-4 { border-left-color: var(--green); }
.recommendation-card, .passport-box, .additional-results article {
  margin-top: 22px;
  padding: 22px;
  background: var(--soft);
  border-radius: 16px;
}
.recommendation-card span { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.recommendation-card h3, .recommendation-card p { margin-bottom: 0; }
.additional-results { margin-top: 26px; }
.additional-results article p { color: var(--muted); line-height: 1.5; }
.passport-box dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.passport-box dl div { padding: 13px; background: #fff; border-radius: 10px; }
.passport-box dt { color: var(--muted); font-size: 13px; }
.passport-box dd { margin: 4px 0 0; color: var(--navy); font-weight: 800; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.how {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 84px;
}
.how h2 { max-width: 780px; margin: 10px 0 28px; color: var(--navy); font-size: clamp(32px, 3.2vw, 54px); line-height: 1.05; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how-grid article { padding: 24px; background: var(--soft); border-radius: 16px; }
.how-grid b { color: var(--blue); font-size: 28px; }
.how-grid h3 { color: var(--navy); }
.how-grid p { color: var(--muted); line-height: 1.55; }
.learning-path h2 { font-size: 36px; line-height: 1.15; letter-spacing: 0; }
.learning-path .how-grid article { display: flex; flex-direction: column; align-items: flex-start; border-radius: 8px; }
.learning-path .how-grid article:nth-child(2) { background: #fcf5e6; }
.learning-path .how-grid article:nth-child(3) { background: #edf2f7; }
.learning-path .how-grid h3 { font-size: 22px; line-height: 1.3; margin-bottom: 0; }
.learning-path .text-button { margin-top: auto; padding-top: 16px; line-height: 1.5; text-align: left; }
.learning-path .text-button:hover { text-decoration: underline; }
@media (max-width: 560px) { .learning-path h2 { font-size: 28px; } }
footer {
  padding: 34px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #cbd6e5;
  background: var(--navy);
}
footer strong, footer span { display: block; }
footer strong { color: #fff; }
footer a { color: #fff; font-weight: 800; }
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 14px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translateY(0); }
.selection-summary { color: var(--navy); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.draft-panel { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 24px; }
.draft-panel p, #draft-save-status { font-size: 14px; line-height: 1.5; color: var(--muted); }
.recovery-page { max-width: 680px; margin: 64px auto; padding: 0 24px; }
.recovery-page h1 { font-size: 30px; color: var(--navy); }
.editor-page { max-width: 1240px; margin: 32px auto; padding: 0 24px; }
.editor-toolbar { display: flex; gap: 16px; flex-wrap: wrap; align-items: end; }
.editor-toolbar label { display: grid; gap: 8px; flex: 1; min-width: 180px; }
.editor-toolbar input, .editor-toolbar select, .editor-page textarea { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; }
.editor-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 30px; margin: 24px 0; }
#question-list { max-height: 700px; overflow: auto; }
.editor-question { display: block; width: 100%; text-align: left; padding: 14px; background: white; border: 0; border-bottom: 1px solid var(--line); color: var(--navy); cursor: pointer; line-height: 1.5; }
.editor-question:hover { background: var(--soft); }
.lecture h2 { margin-top: 42px; padding-top: 18px; border-top: 2px solid var(--gold); color: var(--navy); font-size: 26px; }
.lecture h3 { color: var(--navy); font-size: 21px; margin-top: 28px; }
.lecture-contents { border-block: 1px solid var(--line); padding: 18px 0; margin: 26px 0; }
.lecture-contents summary { font-weight: 700; cursor: pointer; }
#contents { display: grid; gap: 12px; padding-top: 18px; }
#contents a { color: var(--blue); line-height: 1.5; }
.lecture figure { margin: 28px 0; }
.lecture figure img { width: 100%; height: auto; display: block; }
.lecture figcaption { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.lecture-table { overflow-x: auto; margin: 24px 0; }
.lecture-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lecture-table th, .lecture-table td { border: 1px solid var(--line); padding: 12px; text-align: left; line-height: 1.5; white-space: pre-line; }
.lecture-table th { background: var(--soft); }
.lecture-finish { border-top: 2px solid var(--gold); padding: 24px 0; margin-top: 40px; }
.comparison-controls { display: flex; gap: 16px; flex-wrap: wrap; }
.comparison-controls label { display: grid; gap: 8px; min-width: 0; }
.comparison-controls select { padding: 10px; border: 1px solid var(--line); border-radius: 6px; max-width: 100%; font: inherit; }
@media(max-width:700px) { .editor-layout { grid-template-columns: minmax(0,1fr); } #question-list { max-height: 260px; } }
@media print { .draft-panel { display: none !important; } }
.brand-copy small, .header-nav, .steps-title, .steps small { color: #d1e5e4; }
.progress-line span, .quiz-progress span { background: var(--gold); }
.privacy-note { color: #deeded; }
.time-pill, .route-summary span { background: #edf5f3; }
.answer-button:hover, .answer-button.selected { background: #edf5f3; }
.competency-name small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); }
#passport.passport-box { border-color: var(--navy); color: var(--navy); }
.certificate-header { border-bottom-color: var(--gold); }
.competency-track span { background: var(--blue); }
.competency-row:nth-of-type(even) .competency-track span { background: var(--gold); }
.account-settings { margin-top: 24px; border-top: 1px solid #d7e0e7; padding-top: 18px; }
.account-settings summary { font-size: 20px; font-weight: 700; cursor: pointer; }
.account-fields { max-width: 620px; display: grid; gap: 16px; margin-top: 22px; }
.account-fields label { display: grid; gap: 8px; font-weight: 600; }
.account-fields input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #b9c3ce; border-radius: 6px; font: inherit; }
.account-fields p { margin: 0; line-height: 1.5; }
.account-fields .delete-confirm { display: flex; align-items: flex-start; font-weight: 400; }
.delete-confirm input { width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; padding: 0; }
.danger-button { background: #a32f3c; color: white; white-space: normal; padding: 14px 18px; }
#passport.passport-box { background: #fff; border: 2px solid var(--navy); border-radius: 0; padding: 30px; color: var(--navy); box-shadow: var(--shadow); }
.certificate-header { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--gold); padding-bottom: 16px; align-items: center; }
.certificate-header strong { font-size: 26px; }
.certificate-header span { font-size: 13px; text-align: right; }
.certificate-title { text-align: center; margin: 26px 0 18px; }
.certificate-title p { font-size: 12px; color: #556276; margin: 0 0 10px; }
.certificate-title h3 { font-size: 32px; line-height: 1.15; margin: 0; }
.certificate-name { font-size: 24px; font-weight: 700; text-align: center; margin: 18px 0 6px; overflow-wrap: anywhere; }
.certificate-affiliation { text-align: center; font-size: 13px; overflow-wrap: anywhere; margin: 0 0 20px; }
.certificate-summary { display: flex; align-items: center; gap: 24px; padding: 18px 0; border-top: 1px solid #d7e0e7; border-bottom: 1px solid #d7e0e7; }
.certificate-summary strong { font-size: 38px; color: #13786b; display: block; }
.certificate-summary > div { flex-shrink: 0; }
.certificate-summary span { font-size: 12px; }
.certificate-summary p { font-size: 13px; line-height: 1.8; margin: 0; }
.competency-chart h4 { font-size: 18px; margin: 22px 0 16px; }
.competency-row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(80px, 1.2fr) 44px; gap: 12px; align-items: center; margin-bottom: 13px; font-size: 12px; }
.competency-name { overflow-wrap: anywhere; }
.competency-track { height: 12px; background: #e8edf1; border-radius: 2px; overflow: hidden; }
.competency-track span { height: 100%; display: block; background: var(--blue); }
.competency-row:nth-of-type(even) .competency-track span { background: var(--gold); }
.competency-value { text-align: right; }
.unassessed { color: #657384; }
.unassessed .competency-track { background: transparent; border: 1px dashed #b9c3ce; }
.chart-note { font-size: 11px; line-height: 1.5; color: #526174; }
footer.certificate-footer { display: flex; background: none; color: #162d49; padding: 14px 0; margin-top: 18px; border-top: 1px solid #b9c3ce; gap: 16px; }
.certificate-footer div { min-width: 0; }
footer.certificate-footer strong { color: #162d49; font-size: 12px; overflow-wrap: anywhere; }
.certificate-footer span { font-size: 11px; margin-bottom: 5px; }
.certificate-disclaimer { margin: 0; font-size: 10px; line-height: 1.5; color: #526174; }
@media (max-width: 560px) {
  #passport.passport-box { padding: 18px 12px; }
  .certificate-title h3 { font-size: 25px; }
  .certificate-name { font-size: 21px; }
  .certificate-summary { gap: 14px; }
  .competency-row { grid-template-columns: minmax(0, 1fr) 42px; gap: 5px 8px; margin-bottom: 14px; }
  .competency-name { grid-column: 1 / -1; }
  .competency-track { grid-column: 1; }
}
.next-steps { margin-top: 28px; padding: 24px 0; border-top: 1px solid #d7dfe9; border-bottom: 1px solid #d7dfe9; }
.next-steps h3 { font-size: 26px; margin: 0 0 20px; }
.next-steps h4 { font-size: 20px; margin: 24px 0 12px; }
.next-steps p, #answer-feedback li { line-height: 1.6; overflow-wrap: anywhere; }
.next-steps .button { white-space: normal; height: auto; padding: 16px 20px; }
#answer-feedback li { margin-bottom: 10px; }
.answer-button:disabled { cursor: default; opacity: 1; }
@media print { .next-steps { display: none !important; } }

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body.passport-print { background: white; }
  body.passport-print #results-panel > :not(#passport) { display: none !important; }
  body.passport-print #passport { display: block !important; box-shadow: none; padding: 8mm; margin: 0; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.passport-print footer.certificate-footer { display: flex !important; }
  body.passport-print .competency-row { grid-template-columns: minmax(130px, 1fr) minmax(80px, 1.2fr) 44px; font-size: 10pt; gap: 8px; margin-bottom: 10px; }
  body.passport-print .competency-name { grid-column: auto; }
  body.passport-print .competency-track { grid-column: auto; }
  .site-header, .hero, .steps-panel, .back-button, .result-actions, .how, footer, .progress-line { display: none !important; }
  .navigator { width: 100%; margin: 0; display: block; border: 0; box-shadow: none; }
  .navigator-content { padding: 0; }
  .step-screen { display: none !important; }
  .step-screen[data-step="4"] { display: block !important; }
  #diagnostic-intro, #quiz-panel { display: none !important; }
  #results-panel { display: block !important; }
}

@media (max-width: 920px) {
  .site-header { min-height: auto; padding: 18px; flex-wrap: wrap; }
  .header-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 12px; }
  .header-contact { margin-left: auto; }
  .hero { min-height: auto; padding: 54px 18px 84px; grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 360px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 235px; height: 235px; }
  .visual-center { width: 220px; height: 220px; }
  .visual-center strong { font-size: 23px; }
  .visual-chip { font-size: 13px; }
  .navigator { margin-top: -38px; grid-template-columns: 1fr; }
  .steps-panel { padding: 24px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navigator-content { min-height: auto; padding: 34px 20px; }
  .two-columns, .profile-grid, .login-panel, .how-grid { grid-template-columns: 1fr; }
  .checkbox-row { display: flex !important; }
  .summary-heading, .result-heading { display: block; }
  .time-pill, .result-score { width: max-content; max-width: 100%; margin-top: 16px; }
  .passport-box dl { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .button { width: 100%; min-height: 56px; padding: 0 18px; }
  .hero-meta { gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .choice-card, .direction-card { padding: 18px; }
  .block-result { grid-template-columns: 42px minmax(0, 1fr); }
  .block-result b { grid-column: 2; }
  footer { display: block; }
  footer a { display: block; margin-top: 18px; }
}
