@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/inter-400.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/inter-500.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/inter-600.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/inter-700.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/inter-800.ttf") format("truetype");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/lora-500.ttf") format("truetype");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/lora-600.ttf") format("truetype");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/lora-700.ttf") format("truetype");
}
:root {
  --navy: #061a33;
  --ink: #0e1e37;
  --blue: #146af5;
  --soft: #eef5ff;
  --wash: #f6f9ff;
  --muted: #607189;
  --line: #dbe5f2;
  --green: #147b53;
  --amber: #9a5810;
  --radius: 10px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--wash);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button,
a,
input,
summary {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #78a9ff;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  line-height: 1.65;
}
svg {
  display: block;
  max-width: 100%;
  width: 100%;
  font-family: Inter, system-ui, sans-serif;
}
svg .axis-label {
  font-size: 12px;
  fill: var(--muted);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 66px;
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  padding: 0 34px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand svg {
  width: 35px;
  height: 29px;
  color: #3f91ff;
}
.brand span {
  font:
    600 23px Lora,
    Georgia,
    serif;
}
.preview {
  font-size: 11px;
  border: 1px solid #ffffff50;
  padding: 5px 8px;
  border-radius: 4px;
  color: #dbe7f7;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  height: 100%;
}
.topbar nav a,
.topbar nav button {
  font-size: 13px;
  color: white;
  background: none;
  border: 0;
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.top-active:after {
  content: "";
  height: 3px;
  background: #2995ff;
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
}
.avatar {
  border-radius: 50%;
  background: #f3f7ff;
  color: var(--navy);
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid #ffffff50;
  border-radius: 5px;
  background: none;
  color: white;
  font-size: 20px;
}
.sidebar {
  position: fixed;
  top: 66px;
  bottom: 0;
  left: 26px;
  width: 245px;
  background: white;
  padding: 30px 22px 22px;
  border-radius: 0 0 10px 10px;
  z-index: 20;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eef2f7;
}
.sidebar-title {
  font-size: 17px;
  font-weight: 750;
  margin-bottom: 19px;
}
.subjects {
  display: grid;
  gap: 7px;
}
.subjects button {
  border: 1px solid #c9daf4;
  background: #fff;
  border-radius: 6px;
  padding: 11px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}
.subjects button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.sidebar h2 {
  font-size: 14px;
  margin: 25px 0 12px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav a {
  color: #435b7c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 9px;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 5px;
}
.sidebar nav a.active {
  color: var(--blue);
  background: #eaf3ff;
  font-weight: 650;
}
.nav-num {
  width: 19px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.done-dot {
  margin-left: auto;
  color: var(--green);
}
.side-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.progress-label strong {
  font-weight: 500;
}
.progress-track {
  height: 7px;
  border-radius: 6px;
  background: #e8edf4;
  overflow: hidden;
  margin-top: 9px;
}
.progress-track div {
  background: var(--blue);
  height: 100%;
  width: 0;
  transition: width 0.3s;
}
.side-bottom p {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 0;
}
main {
  margin-left: 296px;
  padding: 25px 34px 55px;
  max-width: 1580px;
}
.breadcrumb {
  font-size: 12px;
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  color: var(--muted);
}
.breadcrumb button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 12px;
}
.chapter-head h1 {
  font:
    600 clamp(31px, 3.2vw, 46px) / 1.15 Lora,
    Georgia,
    serif;
  letter-spacing: -1.25px;
  margin-bottom: 12px;
}
.chapter-head > p {
  font-size: 16px;
  color: #546985;
  margin-bottom: 23px;
}
.summary-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  scroll-margin-top: 90px;
}
.summary-strip h2 {
  font:
    600 19px Lora,
    Georgia,
    serif;
  margin-bottom: 14px;
}
.summary-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.summary-item {
  padding: 0 20px;
  border-left: 1px solid var(--line);
  font-size: 12px;
}
.summary-item:first-child {
  border: 0;
  padding-left: 0;
}
.summary-item:last-child {
  padding-right: 0;
}
.summary-item strong {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 5px;
}
.summary-item p {
  color: #546985;
  line-height: 1.6;
  margin: 0;
}
.lesson {
  padding: 23px 21px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 19px;
  scroll-margin-top: 86px;
}
.lesson-head {
  display: flex;
  gap: 17px;
  align-items: baseline;
}
.lesson-number {
  font-weight: 650;
  color: #566e92;
  font-size: 16px;
  min-width: 24px;
}
.lesson-head h2 {
  font:
    600 24px/1.3 Lora,
    Georgia,
    serif;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}
.lesson-intro {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px 41px;
  max-width: 750px;
}
.lesson-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
  border-top: 1px solid #edf1f7;
  padding-top: 12px;
  gap: 12px;
}
.block-label {
  font-size: 10px;
  color: #71829b;
}
.complete-button {
  font-size: 11px;
  font-weight: 600;
  border: 0;
  background: none;
  color: var(--blue);
  padding: 7px 0;
}
.complete-button.completed {
  color: var(--green);
}
.lesson-foot button:hover {
  text-decoration: underline;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr);
}
.diagram {
  background: #f0f7ff;
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagram svg {
  height: auto;
}
.step-text {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.step-text h3 {
  font:
    600 21px/1.25 Lora,
    Georgia,
    serif;
  margin: 16px 0 10px;
}
.step-text p {
  font-size: 12px;
  color: #546985;
  margin-bottom: 20px;
}
.step-counter {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.step-counter i {
  width: 7px;
  height: 7px;
  border: 1px solid #b8c9e1;
  border-radius: 50%;
}
.step-counter i.on {
  background: var(--blue);
  border-color: var(--blue);
}
.controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step-text .controls {
  margin-top: auto;
  justify-content: space-between;
}
.primary,
.secondary,
.chip {
  font-size: 12px;
  border-radius: 6px;
  padding: 10px 13px;
  min-height: 38px;
  border: 1px solid #bbcee9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  text-decoration: none;
}
.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  font-weight: 600;
}
.secondary:hover,
.chip:hover {
  background: #f0f6ff;
}
.primary:hover {
  background: #0957d8;
}
.primary svg,
.secondary svg {
  width: 12px;
  height: 12px;
}
.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--soft);
  border-color: var(--blue);
  color: #0957d8;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.chip {
  padding: 8px 11px;
  min-height: 34px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.smallnote {
  font-size: 11px;
  line-height: 1.6;
  color: #6b7e99;
  margin: 12px 0 0;
}
.result-note {
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: #f2f7ff;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 0 5px 5px 0;
}
.result-note strong {
  color: #163f75;
}
.amber {
  background: #fff7eb;
  border-color: #d99a3a;
  color: #805019;
}
.good {
  background: #eef8f3;
  border-color: #209a6b;
  color: #176541;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.lab-controls {
  padding: 21px;
}
.field {
  margin-bottom: 21px;
}
.field:last-child {
  margin-bottom: 0;
}
.field label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 11px;
}
.field output {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  white-space: nowrap;
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
  cursor: pointer;
  margin: 0;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 6px;
}
.readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 17px;
}
.readout {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.readout span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.readout strong {
  font-size: 20px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.readout small {
  font-size: 10px;
  color: var(--muted);
}
.lab-title {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}
.altimeter-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.instrument {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #f3f7fc;
  border-radius: 7px;
  align-items: center;
}
.instrument svg {
  width: 100%;
  height: auto;
}
.instrument svg text {
  fill: #d6e0f0;
  font-size: 10px;
}
.instrument svg .scale-label {
  fill: white;
  font-size: 15px;
  font-weight: 600;
}
.instrument svg .subscale {
  fill: #112a4c;
  font-size: 13px;
  font-family: monospace;
}
.instrument-values {
  padding: 10px;
}
.instrument-values span {
  font-size: 10px;
  display: block;
  color: var(--muted);
}
.instrument-values strong {
  display: block;
  font-size: 24px;
  margin: 3px 0 11px;
  font-variant-numeric: tabular-nums;
}
.instrument-values small {
  font-size: 10px;
  line-height: 1.6;
  display: block;
  color: var(--muted);
}
.alt-scene {
  background: #eef6ff;
  margin-top: 12px;
  border-radius: 7px;
}
.alt-controls {
  padding: 10px 3px;
}
.scene3d {
  height: 370px;
  background: #edf4fa;
  position: relative;
  overflow: hidden;
  touch-action: none;
}
.scene3d canvas {
  display: block;
}
.scene-toolbar {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 1;
  display: flex;
  gap: 6px;
}
.scene-toolbar button {
  background: #fffefc;
  font-size: 11px;
  border: 1px solid #cedcee;
  border-radius: 5px;
  padding: 7px 10px;
}
.scene-label {
  position: absolute;
  padding: 5px 9px;
  background: #fffef5e8;
  border: 1px solid #ffffff80;
  border-radius: 4px;
  color: #18304f;
  font-size: 11px;
  pointer-events: none;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.scene-caption {
  position: absolute;
  bottom: 12px;
  left: 15px;
  font-size: 10px;
  color: #4b6381;
  background: #fffdf5de;
  padding: 5px 8px;
  border-radius: 4px;
}
.scene-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
}
.scene-bottom p {
  font-size: 12px;
  margin: 0;
  max-width: 620px;
  color: #546985;
}
.scene-bottom strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 19px;
}
.flip {
  min-height: 144px;
  background: #f3f7fd;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flip b {
  font:
    600 22px Lora,
    Georgia,
    serif;
}
.flip span {
  font-size: 12px;
  line-height: 1.65;
  color: #516782;
}
.flip small {
  font-size: 10px;
  color: var(--blue);
  margin-top: auto;
}
.flip.revealed {
  background: #edf5ff;
  border-color: #7aa9ed;
}
.sort-prompt {
  font-size: 13px;
  font-weight: 600;
  margin: 17px 0 12px;
}
.sort-item {
  padding: 16px;
  background: #f5f8fc;
  font-size: 13px;
  margin: 12px 0;
  border-radius: 6px;
}
.feedback {
  margin-top: 12px;
  min-height: 22px;
  font-size: 12px;
  line-height: 1.7;
}
.feedback.wrong {
  color: #a0471d;
}
.feedback.correct {
  color: var(--green);
}
.quiz-card {
  padding: 22px;
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.quiz-progress {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}
.quiz-card h3 {
  font-size: 17px;
  line-height: 1.55;
  max-width: 780px;
}
.answer-options {
  display: grid;
  gap: 9px;
}
.answer-option {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #cfdced;
  background: white;
  text-align: left;
  padding: 13px 15px;
  font-size: 12px;
  border-radius: 6px;
  line-height: 1.5;
}
.answer-option b {
  font-size: 11px;
  border-radius: 4px;
  background: #edf3fa;
  padding: 4px 7px;
}
.answer-option.correct {
  background: #edf8f2;
  border-color: #34976d;
}
.answer-option.wrong {
  background: #fff2eb;
  border-color: #d98e69;
}
.quiz-result {
  text-align: center;
  padding: 25px;
}
.quiz-result h3 {
  font:
    600 28px Lora,
    Georgia,
    serif;
}
.quiz-score {
  font-size: 44px;
  font-weight: 700;
  color: var(--blue);
  margin: 10px;
}
.quiz-result p {
  color: var(--muted);
  font-size: 13px;
}
.encounter-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
}
.traffic {
  min-height: 280px;
  background: #f0f6fd;
  position: relative;
}
.traffic svg {
  height: 100%;
}
.traffic-info {
  padding: 23px;
  display: flex;
  flex-direction: column;
}
.traffic-info h3 {
  font:
    600 21px Lora,
    Georgia,
    serif;
  margin-bottom: 11px;
}
.traffic-info p {
  font-size: 12px;
  color: #546985;
}
.traffic-info .controls {
  margin-top: auto;
}
.timeline-range {
  margin-top: 16px;
  accent-color: var(--blue);
  width: 100%;
}
.traffic-legend {
  font-size: 11px;
  display: flex;
  gap: 19px;
  margin-top: 12px;
  color: var(--muted);
}
.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 5px;
}
.legend-dot.other {
  background: #c57535;
}
.decision-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.decision-tree {
  display: grid;
  gap: 11px;
  padding: 18px;
  background: #f5f8fd;
  border-radius: 7px;
}
.tree-node {
  padding: 13px 15px;
  border: 1px solid #d6e2f0;
  border-radius: 6px;
  font-size: 12px;
  color: #607189;
  position: relative;
  background: white;
}
.tree-node:not(:last-child):after {
  content: "";
  position: absolute;
  height: 12px;
  bottom: -12px;
  border-left: 1px solid #bed0e5;
  left: 29px;
}
.tree-node.active {
  border-color: var(--blue);
  background: #eaf3ff;
  color: #123f7c;
}
.tree-node.passed {
  opacity: 0.55;
}
.tree-node strong {
  font-size: 11px;
  margin-right: 8px;
}
.decision-question {
  padding: 20px 7px;
}
.decision-question h3 {
  font:
    600 22px Lora,
    Georgia,
    serif;
}
.decision-question p {
  font-size: 12px;
  color: var(--muted);
}
.decision-question .controls {
  margin-top: 23px;
}
.disclosure {
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 8px 0;
  overflow: hidden;
}
.disclosure summary {
  padding: 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: #f6f9ff;
}
.disclosure p {
  font-size: 12px;
  padding: 0 16px;
  color: #546985;
}
.disclosure p:first-of-type {
  padding-top: 14px;
}
.exception-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.sector-diagram {
  padding: 15px;
  background: #f2f7fe;
  border-radius: 7px;
  position: relative;
}
.sector-diagram svg {
  max-height: 260px;
}
.sector-note {
  font-size: 11px;
  line-height: 1.6;
  color: #546985;
  padding: 0 10px;
}
.case-card {
  background: #f5f8fd;
  border-radius: 7px;
  padding: 23px;
}
.case-card h3 {
  font-size: 18px;
  line-height: 1.5;
}
.case-card > p {
  font-size: 13px;
  color: #546985;
}
.case-index {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.case-card .answer-options {
  grid-template-columns: repeat(3, 1fr);
}
.table-wrap {
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.comparison-table th {
  text-align: left;
  background: #edf4fd;
  color: #385576;
  font-size: 10px;
  padding: 12px;
}
.comparison-table td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
  min-width: 145px;
}
.comparison-table td:first-child {
  font-weight: 600;
}
.comparison-table tr.selected td {
  background: #f1f7ff;
}
.comparison-table button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  padding: 0;
}
.retrieval {
  margin-top: 19px;
}
.course-footer {
  font-size: 11px;
  color: var(--muted);
  padding: 9px 2px;
}
.course-footer p {
  max-width: 850px;
  margin-bottom: 8px;
}
.footer-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.footer-next span {
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 7px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  z-index: 60;
  opacity: 0;
  transition: 0.25s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 490px;
  width: calc(100% - 32px);
  padding: 25px;
  box-shadow: 0 18px 70px #061a3333;
}
dialog::backdrop {
  background: #061a3366;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-head h2 {
  font:
    600 25px Lora,
    Georgia,
    serif;
  margin: 0;
}
.icon-button {
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--muted);
}
dialog > p {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 22px;
}
.learning-row {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.learning-row span {
  font-size: 11px;
  color: var(--muted);
}
#reset-progress {
  margin-top: 18px;
  font-size: 11px;
}
.scrim {
  position: fixed;
  inset: 66px 0 0;
  background: #061a3366;
  z-index: 19;
  border: 0;
}
@media (min-width: 1600px) {
  main {
    margin-right: auto;
  }
  .sidebar {
    left: 34px;
    width: 252px;
  }
  main {
    margin-left: 311px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    left: 0;
    width: 225px;
    padding: 26px 17px;
  }
  main {
    margin-left: 225px;
    padding: 24px;
  }
  .split {
    grid-template-columns: 1.3fr 1fr;
  }
  .step-text {
    padding: 20px 17px;
  }
  .step-text h3 {
    font-size: 19px;
  }
  .step-text .controls {
    gap: 5px;
  }
  .step-text .controls button {
    padding: 8px;
    font-size: 10px;
  }
  .altimeter-layout {
    grid-template-columns: 1fr 1fr;
  }
  .brand span {
    font-size: 21px;
  }
  .lesson-head h2 {
    font-size: 22px;
  }
  .summary-item {
    padding: 0 13px;
  }
  .case-card .answer-options {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 203px;
    padding: 22px 13px;
  }
  main {
    margin-left: 203px;
    padding: 22px 19px;
  }
  .topbar {
    padding: 0 22px;
  }
  .topbar nav {
    gap: 19px;
  }
  .brand span {
    font-size: 18px;
  }
  .preview {
    font-size: 10px;
  }
  .split,
  .encounter-layout {
    grid-template-columns: 1fr;
  }
  .step-text {
    min-height: 205px;
  }
  .step-text h3 {
    margin-top: 10px;
  }
  .step-text p {
    margin-bottom: 16px;
  }
  .step-text .controls {
    justify-content: flex-start;
  }
  .step-text .controls button {
    padding: 10px 13px;
    font-size: 12px;
  }
  .lesson {
    padding: 20px 16px 14px;
  }
  .lab-grid,
  .altimeter-layout,
  .exception-grid,
  .decision-layout {
    grid-template-columns: 1fr;
  }
  .lab-grid {
    gap: 8px;
  }
  .lab-controls {
    padding: 17px;
  }
  .summary-items {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .summary-item,
  .summary-item:first-child {
    padding: 0 0 0 12px;
    border-left: 2px solid #c2d9fa;
  }
  .summary-item p {
    font-size: 11px;
  }
  .summary-item strong {
    font-size: 12px;
  }
  .flip {
    padding: 13px;
  }
  .flip b {
    font-size: 19px;
  }
  .flip span {
    font-size: 11px;
  }
  .lesson-intro {
    margin-left: 0;
  }
  .scene3d {
    height: 320px;
  }
  .traffic {
    min-height: 300px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 86px;
  }
  .topbar {
    height: 60px;
    padding: 0 17px;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand svg {
    width: 25px;
  }
  .brand span {
    font-size: 17px;
  }
  .preview {
    font-size: 9px;
    padding: 4px 6px;
  }
  .topbar nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .sidebar {
    top: 60px;
    width: 267px;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 8px 10px 40px #061a3320;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .scrim {
    inset: 60px 0 0;
  }
  main {
    margin: 0;
    padding: 21px 14px 30px;
  }
  .breadcrumb {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .chapter-head h1 {
    font-size: 33px;
  }
  .chapter-head > p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .summary-strip {
    padding: 17px;
    margin-bottom: 15px;
  }
  .summary-strip h2 {
    font-size: 18px;
  }
  .summary-items {
    gap: 11px;
  }
  .summary-item p {
    font-size: 11px;
  }
  .lesson {
    padding: 20px 14px 13px;
    margin-bottom: 15px;
    scroll-margin-top: 76px;
  }
  .lesson-head {
    gap: 10px;
  }
  .lesson-number {
    font-size: 14px;
    min-width: 20px;
  }
  .lesson-head h2 {
    font-size: 22px;
  }
  .lesson-intro {
    font-size: 12px;
    margin-top: 5px;
  }
  .step-text {
    padding: 20px;
  }
  .diagram {
    min-height: 230px;
  }
  .diagram svg {
    min-height: 225px;
  }
  .lab-controls {
    padding: 15px;
  }
  .readouts {
    gap: 8px;
  }
  .readout strong {
    font-size: 18px;
  }
  .readout span {
    font-size: 9px;
  }
  .scene3d {
    height: 300px;
  }
  .scene-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 15px;
  }
  .scene-bottom .controls {
    width: 100%;
  }
  .flip-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .flip {
    min-height: 105px;
    padding: 15px;
  }
  .flip b {
    font-size: 20px;
  }
  .flip span {
    font-size: 12px;
  }
  .flip small {
    margin-top: 0;
  }
  .traffic {
    min-height: 245px;
  }
  .traffic-info {
    padding: 18px;
  }
  .decision-tree {
    padding: 14px;
  }
  .decision-question {
    padding: 10px 3px;
  }
  .case-card {
    padding: 17px;
  }
  .quiz-card {
    padding: 17px;
  }
  .quiz-card h3 {
    font-size: 15px;
  }
  .quiz-result {
    padding: 15px;
  }
  .footer-next {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  .lesson-foot {
    align-items: center;
  }
  .block-label {
    font-size: 9px;
  }
  .complete-button {
    font-size: 10px;
    min-height: 36px;
  }
  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 11px;
  }
  .toast {
    max-width: calc(100% - 30px);
    width: max-content;
    bottom: 16px;
  }
  .course-footer p {
    font-size: 10px;
  }
  .instrument-values strong {
    font-size: 23px;
  }
  .side-bottom {
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.answer-option:disabled {
  opacity: 1;
}
.scene-label {
  background: #ffffffed;
}
.scene-caption {
  background: #ffffffde;
}

[hidden] {
  display: none !important;
}

.mobile-learning {
  display: none;
}
@media (max-width: 680px) {
  .diagram svg text,
  .diagram svg text.axis-label {
    font-size: 20px;
  }
  .alt-scene svg text {
    font-size: 18px !important;
  }
  .traffic svg text {
    font-size: 20px !important;
  }
  .sector-diagram svg text {
    font-size: 17px !important;
  }
  .mobile-learning {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
  }
  .menu-button svg {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 380px) {
  .brand span {
    font-size: 16px;
  }
  .brand svg {
    width: 22px;
  }
  .preview {
    display: none;
  }
}

.space-label {
  font-size: 11px;
  color: #dce9fa;
  text-decoration: none;
  border: 1px solid #ffffff50;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.sidebar-home {
  text-decoration: none;
  color: var(--ink);
}
.side-selection-link {
  font-size: 10px;
  display: block;
  margin-top: 16px;
}
.step-count-label {
  margin-left: 5px;
}
.instrument-values .inline-unit {
  display: inline;
}
.instrument-values .true-altitude-value {
  font-size: 20px;
  color: var(--blue);
}
.retrieval-controls {
  margin-bottom: 15px;
}
.learning-chapter-name {
  margin: 4px 0 0;
  font-size: 11px;
}
.catalogue-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 34px 65px;
}
.catalogue-heading {
  max-width: 820px;
}
.catalogue-heading h1 {
  margin-bottom: 15px;
}
.catalogue-intro {
  max-width: 810px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #516782;
}
.catalogue-intro p {
  margin: 0 0 8px;
}
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.course-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 28px;
}
.course-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}
.course-card-top > span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.course-card h2 {
  font:
    600 29px Lora,
    Georgia,
    serif;
  margin: 0 0 17px;
}
.course-card h2 a {
  color: var(--ink);
  text-decoration: none;
}
.course-card h3 {
  font-size: 17px;
  margin: 0 0 9px;
}
.course-card p,
.course-features {
  font-size: 13px;
  color: #516782;
  line-height: 1.7;
}
.course-features {
  padding-left: 18px;
  margin-bottom: 24px;
}
.catalogue-progress {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.catalogue-account {
  margin: 35px 0 22px;
  max-width: 800px;
}
.catalogue-account h2 {
  font:
    600 23px Lora,
    Georgia,
    serif;
  margin-bottom: 10px;
}
.catalogue-account p {
  font-size: 13px;
  color: #516782;
}
.mobile-catalogue-nav {
  display: none;
}
.brand img {
  flex-shrink: 0;
}
.topbar nav {
  gap: 23px;
}
.course-footer .primary {
  color: white;
}
@media (max-width: 1000px) {
  .topbar nav {
    gap: 15px;
  }
  .brand span {
    font-size: 18px;
  }
  .space-label {
    font-size: 10px;
  }
  .course-card {
    padding: 22px;
  }
}
@media (max-width: 680px) {
  .space-label {
    display: none;
  }
  .catalogue-main {
    padding: 20px 16px 40px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .course-card {
    padding: 22px;
  }
  .mobile-catalogue-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 11px;
    margin-bottom: 25px;
  }
  .catalogue-intro {
    font-size: 13px;
  }
}
