:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --blue: #2365db;
  --navy: #152e56;
  --muted: #78869a;
  --line: #e4eaf3;
  --pale: #f0f5ff;
  --white: #fff;
  --green: #18856c;
  --red: #b64250;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f8faff;
  color: var(--navy);
  font:
    14px/1.6 var(--font-sans);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  line-height: 1.3;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #f2ba65;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
button {
  transition:
    transform 0.15s,
    background 0.15s;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.topbar {
  max-width: 1370px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 0 42px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 800 25px var(--font-sans);
  letter-spacing: -1px;
}
.brand b {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  background: var(--blue);
  color: white;
  border-radius: 12px;
  font-size: 26px;
  position: relative;
}
.brand b span {
  position: absolute;
  top: 0;
  right: 4px;
  font-size: 15px;
  color: #bdd4ff;
}
.brand small {
  font: 700 7px var(--font-sans);
  display: block;
  letter-spacing: 2px;
  margin-top: 5px;
}
.topbar nav {
  display: flex;
  gap: 32px;
  height: 100%;
  align-items: center;
}
.topbar nav a {
  font-size: 12px;
  position: relative;
  padding: 16px 0;
  color: #748198;
}
.topbar nav a.active {
  color: var(--blue);
  font-weight: 700;
}
.topbar nav a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  bottom: 2px;
  left: 0;
  right: 0;
}
.topbar nav a:last-child span {
  font-size: 15px;
}
.channel-link {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 15px;
}
.view {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px 70px;
  min-height: 65vh;
}
.hero {
  border-radius: 24px;
  min-height: 444px;
  background: linear-gradient(115deg, #174295, #2568d9 67%, #4789ec);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  position: relative;
  overflow: hidden;
  color: white;
  padding: 56px;
  box-shadow: 0 18px 40px #20448b10;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blue);
}
.hero .eyebrow {
  color: #c4d8ff;
  letter-spacing: 1.6px;
}
.hero h1 {
  font-size: clamp(35px, 3.7vw, 50px);
  letter-spacing: -2px;
  font-weight: 600;
  margin: 24px 0 18px;
}
.hero h1 span {
  color: #c0daff;
}
.hero p {
  font-size: 13px;
  max-width: 390px;
  line-height: 1.9;
  color: #d0dffc;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.5;
}
.button:hover {
  background: #174dad;
  transform: translateY(-1px);
}
.button.white {
  color: var(--blue);
  background: white;
}
.button.outline {
  color: var(--navy);
  border-color: var(--line);
  background: white;
}
.button.outline:hover {
  background: var(--pale);
}
.button.danger {
  background: #b64250;
}
.hero-link {
  font-size: 11px;
  color: #e7efff;
}
.hero-mini {
  display: flex;
  gap: 23px;
  font-size: 10px;
  color: #c7daff;
  margin-top: 35px;
}
.hero-mini i {
  font-style: normal;
  margin-right: 5px;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
}
.r2 {
  width: 390px;
  height: 390px;
}
.medical-cross {
  font-size: 200px;
  line-height: 1;
  color: #e7f0ff;
  transform: rotate(-13deg);
  text-shadow: 9px 12px 0 #9cc1ff45;
  filter: drop-shadow(0 15px 20px #113b7f35);
}
.float-card {
  background: #fff;
  color: var(--navy);
  position: absolute;
  z-index: 2;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  box-shadow: 0 10px 25px #143d7c25;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.float-card small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.float-icon {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  width: 34px;
  height: 34px;
  font-size: 20px;
  color: var(--blue);
}
.card-one {
  top: 21px;
  right: -20px;
  transform: rotate(6deg);
}
.card-two {
  bottom: 10px;
  left: -17px;
  transform: rotate(-5deg);
}
.visual-dot {
  position: absolute;
  bottom: 15px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #9ac8ff;
  border-radius: 50%;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.metrics > div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border: 0;
}
.metrics strong {
  font: 800 24px var(--font-sans);
  color: var(--navy);
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding-top: 45px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 23px;
}
.section-title h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 10px 0;
}
.section-title p,
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 12px 16px;
  border-radius: 9px;
  min-width: 310px;
  color: var(--muted);
  font-size: 22px;
}
.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  outline: 0;
  font-size: 11px;
  color: var(--navy);
}
kbd {
  border: 1px solid var(--line);
  font-size: 10px;
  padding: 0 5px;
  border-radius: 3px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: white;
  color: #748198;
  border-radius: 7px;
  font-size: 11px;
}
.chip.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.chip span {
  font-size: 9px;
  opacity: 0.6;
  margin-left: 9px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 0;
}
.results-bar > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.results-bar select {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 11px;
}
.lecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lecture-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.lecture-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px #1f45820d;
}
.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background: #e9eff7;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duration {
  position: absolute;
  right: 11px;
  bottom: 11px;
  background: #102849d9;
  color: white;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 10px;
}
.play {
  position: absolute;
  left: 12px;
  bottom: 11px;
  background: white;
  color: var(--blue);
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-size: 10px;
}
.lecture-card-body {
  padding: 18px 20px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.subject {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
}
.save-button {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 20px;
  padding: 0;
}
.lecture-card h3 {
  font-size: 14px;
  line-height: 1.6;
  margin: 9px 0 16px;
  min-height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eef2f8;
  padding-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.center {
  text-align: center;
  margin-top: 30px;
}
.page-heading {
  padding: 48px 0 38px;
}
.page-heading h1 {
  font-size: 44px;
  letter-spacing: -1.5px;
  margin: 14px 0;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.course-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.course-card:before {
  content: "";
  height: 4px;
  background: linear-gradient(90deg, #2365db, #9cc8fc);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.course-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-content: center;
  background: var(--pale);
  color: var(--blue);
  border-radius: 12px;
  font-size: 23px;
  margin-bottom: 21px;
}
.course-card h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin: 10px 0;
}
.course-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  flex: 1;
}
.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.progress-track {
  height: 5px;
  background: #edf2fa;
  border-radius: 6px;
  overflow: hidden;
  margin: 12px 0;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: var(--blue);
}
.course-card .button {
  margin-top: 12px;
}
.back {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  margin: 25px 0;
}
.course-header {
  border: 1px solid #dce7fa;
  background: linear-gradient(120deg, #e8f1ff, #f3f7ff);
  padding: 38px;
  border-radius: 16px;
  margin-bottom: 27px;
}
.course-header h1 {
  font-size: 36px;
  margin: 14px 0;
  letter-spacing: -1px;
}
.course-header p {
  max-width: 660px;
  color: var(--muted);
}
.course-header .button {
  margin-top: 12px;
}
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 25px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.5px;
}
.curriculum-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.lesson-number {
  background: var(--pale);
  color: var(--blue);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.curriculum-row > div {
  flex: 1;
}
.curriculum-row strong {
  font-size: 13px;
  font-weight: 500;
}
.curriculum-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.curriculum-row:hover strong {
  color: var(--blue);
}
.course-aside {
  align-self: start;
}
.course-aside h3,
.lesson-sidebar h3 {
  font-size: 25px;
  line-height: 1.5;
  margin: 20px 0;
}
.course-aside p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 26px;
}
#video-player iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 14px;
  background: #102849;
}
.lesson-heading {
  padding: 27px 0;
}
.lesson-heading h1 {
  font-size: 29px;
  letter-spacing: -0.6px;
  line-height: 1.5;
  margin: 14px 0 22px;
}
.lesson-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.lesson-actions a {
  color: var(--blue);
  font-size: 11px;
  margin-left: auto;
}
.lesson-sidebar {
  position: sticky;
  top: 20px;
}
.lesson-sidebar a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.prose {
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 21px;
  margin: 30px 0 16px;
}
.prose h3 {
  font-size: 18px;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  max-width: 100%;
  font-size: 13px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}
.prose th {
  background: var(--pale);
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 7px 0;
}
.prose a,
.references a {
  color: var(--blue);
  text-decoration: underline;
}
.prose .note-point {
  padding-left: 18px;
  position: relative;
}
.prose .note-point:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--blue);
}
.references {
  font-size: 11px;
  margin: 22px 0;
}
.personal {
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.personal summary {
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.personal label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin: 18px 0 10px;
}
.personal textarea {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 9px;
  resize: vertical;
}
.small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.bank-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bank-symbol {
  font: 800 100px var(--font-sans);
  color: #dce9ff;
  position: relative;
  line-height: 1;
}
.bank-symbol span {
  font-size: 45px;
  color: #8ab3f4;
}
.bank-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 27px;
}
.bank-stat {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 20px;
}
.bank-stat strong {
  font: 800 28px var(--font-sans);
  display: block;
  color: var(--blue);
}
.bank-stat span {
  font-size: 11px;
  color: var(--muted);
}
.bank-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.step-pill {
  background: var(--pale);
  color: var(--blue);
  font-size: 8px;
  padding: 7px 9px;
  border-radius: 5px;
  letter-spacing: 1px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
  color: var(--navy);
  font-size: 12px;
}
.start-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
  gap: 15px;
}
.start-row p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.history-row {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.history-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.resume-banner {
  background: #e7f0ff;
  border: 1px solid #c5dafa;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}
.resume-banner span {
  flex: 1;
}
.session-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 24px;
}
.session-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.question-prompt {
  font-size: 21px;
  line-height: 1.7;
  margin: 23px 0;
}
.answer {
  width: 100%;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  margin: 11px 0;
}
.answer b {
  display: grid;
  place-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--pale);
  font-size: 11px;
  flex-shrink: 0;
}
.answer.selected {
  border-color: var(--blue);
  background: #f0f6ff;
}
.answer.correct {
  border-color: #81c4b3;
  background: #effaf6;
}
.answer.wrong {
  border-color: #dca7ae;
  background: #fff4f5;
}
.answer:disabled {
  opacity: 1;
}
.feedback {
  background: #eff8ff;
  border-left: 3px solid var(--blue);
  padding: 18px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.9;
}
.session-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.question-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.question-nav button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  padding: 8px 0;
  font-size: 10px;
  color: var(--navy);
}
.question-nav button.answered {
  background: #e4edfc;
}
.question-nav button.flagged {
  box-shadow: inset 0 -3px #e7b852;
}
.question-nav button.current {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.timer {
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}
.result-header {
  background: linear-gradient(120deg, #174295, #326fe1);
  border-radius: 16px;
  color: white;
  padding: 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 25px;
}
.score-circle {
  border: 4px solid #96baf4;
  border-radius: 50%;
  height: 115px;
  width: 115px;
  display: grid;
  place-content: center;
  font: 800 30px var(--font-sans);
  flex-shrink: 0;
}
.result-header h2 {
  font-size: 27px;
  margin-bottom: 10px;
}
.result-header p {
  margin: 0;
  color: #cfdef8;
}
.review-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.review-item h3 {
  font-size: 16px;
  line-height: 1.7;
}
.review-item p {
  font-size: 12px;
}
.status-correct {
  color: var(--green);
}
.status-wrong {
  color: var(--red);
}
.empty {
  padding: 40px;
  grid-column: 1/-1;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  background: var(--navy);
  color: white;
  border-radius: 9px;
  z-index: 10;
  box-shadow: 0 6px 20px #152e5622;
}
footer {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  flex-wrap: wrap;
}
footer .brand {
  font-size: 20px;
}
footer .brand b {
  width: 32px;
  height: 32px;
  font-size: 20px;
}
footer p,
footer > span {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
footer > span {
  margin-left: auto;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  width: 100%;
  color: var(--muted);
  font-size: 9px;
}
@media (max-width: 1050px) {
  .hero {
    padding: 40px;
  }
  .hero-visual {
    transform: scale(0.8);
  }
  .hero h1 {
    font-size: 40px;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics > div {
    flex-direction: column;
    gap: 4px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
  .lesson-layout,
  .course-layout {
    grid-template-columns: 1fr;
  }
  .lesson-sidebar {
    position: static;
  }
  .lesson-layout aside {
    display: none;
  }
  .bank-layout {
    grid-template-columns: 1fr;
  }
  .session-layout {
    grid-template-columns: 1fr;
  }
  .question-nav {
    grid-template-columns: repeat(10, 1fr);
  }
  footer {
    margin: 0 40px;
  }
  .topbar nav {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .topbar {
    padding: 15px 20px;
    height: auto;
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand {
    font-size: 22px;
  }
  .topbar nav {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .topbar nav a {
    font-size: 11px;
    padding: 8px 0;
  }
  .view {
    padding: 0 18px 45px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 25px;
    border-radius: 17px;
  }
  .hero-visual {
    display: none;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero .eyebrow {
    font-size: 7px;
  }
  .hero-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .hero-mini {
    gap: 15px;
    font-size: 8px;
  }
  .metrics {
    gap: 15px;
    padding: 24px 0;
  }
  .metrics strong {
    font-size: 22px;
  }
  .metrics span {
    font-size: 8px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .search {
    min-width: 0;
  }
  .lecture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .lecture-card-body {
    padding: 13px;
  }
  .lecture-card h3 {
    font-size: 12px;
  }
  .subject {
    font-size: 8px;
  }
  .card-foot {
    font-size: 8px;
  }
  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 10px;
    padding: 8px 11px;
  }
  .results-bar > div {
    gap: 8px;
  }
  .results-bar {
    font-size: 9px;
  }
  .results-bar select {
    font-size: 9px;
  }
  .page-heading {
    padding: 30px 0;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-header {
    padding: 25px;
  }
  .course-header h1 {
    font-size: 27px;
  }
  .panel {
    padding: 20px;
  }
  .lesson-heading h1 {
    font-size: 23px;
  }
  .lesson-actions a {
    margin-left: 0;
  }
  .bank-symbol {
    display: none;
  }
  .bank-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .bank-stat {
    padding: 15px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .step-pill {
    display: none;
  }
  .question-prompt {
    font-size: 18px;
  }
  .question-nav {
    grid-template-columns: repeat(6, 1fr);
  }
  .result-header {
    padding: 25px;
    gap: 20px;
  }
  .result-header h2 {
    font-size: 22px;
  }
  .score-circle {
    height: 85px;
    width: 85px;
    font-size: 24px;
  }
  .resume-banner {
    flex-wrap: wrap;
  }
  .resume-banner span {
    flex-basis: 100%;
  }
  .session-controls .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  footer {
    margin: 0 20px;
  }
  footer > span {
    margin: 0;
  }
  .footer-bottom {
    font-size: 8px;
  }
}
@media (max-width: 420px) {
  .lecture-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-mini {
    gap: 10px;
  }
  .metrics span {
    font-size: 7px;
  }
  .metrics strong {
    font-size: 20px;
  }
}
/* Study Atlas: an editorial reading experience */
:root {
  --blue: #247d78;
  --navy: #172f3d;
  --muted: #62777b;
  --line: #dce5e1;
  --pale: #edf5f1;
  --green: #247d78;
}
body {
  background: #f7f8f4;
  color: var(--navy);
  font-size: 15px;
}
.topbar {
  height: 92px;
  max-width: 1440px;
}
.topbar nav a {
  font-size: 13px;
  color: #536a71;
}
.brand b {
  border-radius: 50%;
  background: #173c47;
}
.view {
  max-width: 1360px;
}
.hero {
  background: #e8efe9;
  color: #183d43;
  border: 1px solid #d8e5dd;
  border-radius: 6px;
  padding: 56px;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  box-shadow: none;
  min-height: 480px;
}
.hero .eyebrow {
  color: #3b756d;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(35px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: -2px;
}
.hero h1 span {
  color: #247d78;
  font-style: italic;
}
.hero p {
  color: #516e70;
  font-size: 15px;
  max-width: 410px;
}
.hero .button.white {
  color: white;
  background: #183f48;
  border-radius: 4px;
  padding: 14px 21px;
}
.hero-link {
  color: #1b625f;
  font-size: 13px;
}
.hero-mini {
  color: #526f6e;
  font-size: 11px;
}
.atlas-cover {
  background: #fffdf6;
  border: 1px solid #cdd9d2;
  transform: rotate(2deg);
  padding: 22px;
  box-shadow: 12px 16px 0 #d4e2d9;
  align-self: center;
}
.atlas-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.7px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #dae2dc;
  padding-bottom: 12px;
}
.atlas-image {
  margin-top: 20px;
  overflow: hidden;
}
.atlas-image img {
  width: 100%;
  display: block;
}
.atlas-caption {
  padding: 18px 4px 0;
}
.atlas-caption > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #708781;
}
.atlas-caption strong {
  font:
    400 30px/1.3 var(--font-sans);
  display: block;
  margin: 8px 0 16px;
}
.atlas-tags {
  display: flex;
  gap: 8px;
}
.atlas-tags span {
  font-size: 10px;
  background: #e5eee7;
  padding: 5px 10px;
  border-radius: 20px;
}
.metrics {
  border-bottom: 1px solid var(--line);
}
.metrics strong {
  color: #204d53;
}
.section-title h2,
.page-heading h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -1px;
}
.section-title h2 {
  font-size: 32px;
}
.lecture-card {
  border-radius: 6px;
  box-shadow: none;
}
.lecture-card:hover {
  box-shadow: 0 12px 25px #24433d0d;
}
.lecture-card h3 {
  font-size: 15px;
}
.subject {
  color: #367d75;
}
.play {
  color: #234951;
}
.button {
  background: #247d78;
  border-radius: 5px;
}
.button:hover {
  background: #1d615d;
}
.course-card {
  border-radius: 6px;
}
.course-card:before {
  background: #719c8e;
  height: 3px;
}
.course-card h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.45;
}
.course-icon {
  background: #e6eee7;
  color: #3d756b;
  border-radius: 50%;
}
.course-header {
  background: #e8efe9;
  border-color: #d8e3db;
  border-radius: 6px;
}
.panel {
  border-radius: 6px;
}
.lesson-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 32px;
}
.lesson-heading h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.5;
}
.lesson-layout > article > .panel {
  padding: 36px 42px;
}
.lesson-sidebar {
  border-top: 4px solid #73a395;
}
.prose {
  font-size: 16px;
  line-height: 1.85;
}
.prose h2 {
  font:
    400 26px/1.4 var(--font-sans);
  margin-top: 16px;
  letter-spacing: -0.4px;
}
.prose h3 {
  font-size: 18px;
}
.study-intro {
  border-left: 3px solid #70a391;
  padding: 15px 22px;
  background: #f1f6f0;
  margin: 24px 0;
}
.study-intro p {
  font-size: 19px;
  line-height: 1.8;
  margin: 10px 0 0;
  color: #345654;
}
.teaching-figure {
  margin: 28px 0;
}
.teaching-figure img {
  width: 100%;
  border-radius: 8px;
}
.teaching-figure figcaption {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 10px;
}
.concept-map {
  background: #173e48;
  padding: 27px;
  border-radius: 8px;
  color: #fff;
  margin: 30px 0;
}
.concept-map .eyebrow {
  color: #a0cdbf;
}
.concept-map h2 {
  color: #f5f6ef;
}
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.map-node {
  position: relative;
  background: #ffffff0b;
  border: 1px solid #ffffff20;
  padding: 20px;
  border-radius: 5px;
}
.map-node > span {
  color: #b9d7a3;
  font-size: 11px;
  letter-spacing: 2px;
}
.map-node h3 {
  font-size: 16px;
  color: #e1f0e9;
  margin: 10px 0;
}
.map-node p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  color: #bdd4d5;
}
.notes-jump {
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fbfcf9;
  margin: 24px 0;
}
.notes-jump b {
  font-size: 9px;
  letter-spacing: 2px;
  color: #688078;
  margin-bottom: 5px;
}
.notes-jump button {
  background: none;
  border: 0;
  text-align: left;
  color: #266c67;
  padding: 5px;
  font-size: 13px;
}
.notes-jump button:hover {
  text-decoration: underline;
}
.editorial-label {
  font-size: 11px;
  color: #7c7969;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.study-section {
  padding: 32px 0 16px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.section-number {
  font-size: 12px;
  color: #408575;
  font-weight: 700;
  letter-spacing: 2px;
}
.study-section p {
  color: #384f58;
}
.takeaways {
  background: #e9f0e4;
  padding: 28px;
  margin-top: 35px;
  border-radius: 7px;
  scroll-margin-top: 25px;
}
.takeaways li {
  padding-left: 5px;
}
.original-notes {
  margin-top: 35px;
  border-top: 3px solid #b4c8bd;
  padding-top: 28px;
  scroll-margin-top: 25px;
}
.reading-tools {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.reading-tools .button {
  font-size: 11px;
}
.reading-focus #video-player,
.reading-focus .lesson-layout > aside,
.reading-focus #lesson-back,
.reading-focus .lesson-actions {
  display: none;
}
.reading-focus .lesson-layout {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin: auto;
}
.reading-focus .topbar {
  height: 70px;
}
.reading-focus .lesson-heading h1 {
  font-size: 34px;
}
.slide-notes {
  margin: 30px 0;
}
.slide-source {
  background: #edf4f1;
  padding: 20px;
  border: 1px solid #cadbd3;
  font-size: 13px;
  border-radius: 5px;
}
.slide-section {
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}
.slide-section .slide-number {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #39836e;
}
.slide-section h3 {
  font-size: 21px;
  line-height: 1.5;
  margin: 10px 0 20px;
}
.slide-section p {
  margin-bottom: 12px;
}
.slide-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 22px 0;
}
.slide-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
}
.slide-gallery img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}
.slide-gallery figcaption {
  font-size: 10px;
  color: var(--muted);
  padding-top: 8px;
}
.slide-table {
  margin: 18px 0;
}
.slide-table th {
  background: #e8f0ea;
}
.source-pending {
  border-left: 3px solid #c2a35e;
  padding: 18px;
  background: #faf7e9;
  font-size: 13px;
}
.slide-summary-table td:first-child {
  font-weight: 600;
  width: 30%;
}
.notes-reveal {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  margin: 25px 0;
}
.notes-reveal > summary {
  font-size: 17px;
  font-weight: 600;
  color: #2d695f;
}
.result-header {
  background: #173f48;
}
.bank-stat strong {
  color: #247d78;
}
.bank-symbol {
  color: #d8e6dc;
}
@media (max-width: 1050px) {
  .hero {
    padding: 35px;
    gap: 25px;
  }
  .atlas-caption strong {
    font-size: 25px;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-layout > aside {
    display: block;
  }
  .lesson-layout > article > .panel {
    padding: 30px;
  }
  .hero h1 {
    font-size: 38px;
  }
}
@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .hero h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }
  .atlas-cover {
    transform: none;
    box-shadow: 6px 6px 0 #d4e2d9;
    margin-top: 8px;
    padding: 17px;
  }
  .atlas-image {
    margin-top: 10px;
  }
  .atlas-image img {
    max-height: 170px;
    object-fit: cover;
  }
  .atlas-caption {
    padding-top: 10px;
  }
  .atlas-caption strong {
    font-size: 24px;
  }
  .atlas-caption strong br {
    display: none;
  }
  .atlas-label {
    font-size: 7px;
  }
  .hero-mini {
    font-size: 9px;
    gap: 10px;
  }
  .prose {
    font-size: 15px;
  }
  .prose h2 {
    font-size: 23px;
  }
  .lesson-layout > article > .panel {
    padding: 20px;
  }
  .study-intro {
    padding: 15px;
  }
  .study-intro p {
    font-size: 17px;
  }
  .map-grid {
    grid-template-columns: 1fr;
  }
  .concept-map {
    padding: 20px;
  }
  .slide-gallery {
    grid-template-columns: 1fr;
  }
  .lesson-heading h1 {
    font-size: 25px;
  }
  .metrics span {
    font-size: 9px;
  }
  .hero p {
    font-size: 14px;
  }
  .topbar nav a {
    font-size: 11px;
  }
  .reading-focus .lesson-heading h1 {
    font-size: 25px;
  }
}
@media print {
  body {
    background: white;
    color: #111;
  }
  .topbar,
  footer,
  #video-player,
  .lesson-layout > aside,
  .lesson-actions,
  .back,
  .reading-tools,
  .personal,
  .notes-jump,
  #toast {
    display: none !important;
  }
  .view:not(#lesson-view) {
    display: none !important;
  }
  #lesson-view {
    display: block !important;
    max-width: none;
    padding: 0;
  }
  .lesson-layout {
    display: block;
  }
  .panel {
    border: 0 !important;
    padding: 0 !important;
  }
  .prose {
    font:
      11pt/1.6 var(--font-sans);
  }
  .concept-map {
    background: #eee !important;
    color: #111;
  }
  .concept-map h2,
  .map-node h3,
  .map-node p,
  .concept-map .eyebrow {
    color: #111;
  }
  .map-node {
    border: 1px solid #aaa;
  }
  .study-section,
  .slide-section {
    break-inside: auto;
  }
  .teaching-figure,
  .slide-gallery figure,
  .map-node {
    break-inside: avoid;
  }
  .notes-reveal {
    display: block;
  }
  .notes-reveal > * {
    display: block !important;
  }
}
/* Reference theme: strong section navigation, readable articles and compact indexes. */
:root {
  --blue: #38669b;
  --navy: #293744;
  --muted: #66717d;
  --line: #dce1e7;
  --pale: #f0f4f9;
}
body {
  background: #e9ecf0;
  font:
    18px/1.65 var(--font-sans);
  color: #303943;
}
h1,
h2,
h3,
h4,
.brand {
  font-family: var(--font-sans);
}
.topbar {
  max-width: 1280px;
  min-height: 120px;
  height: auto;
  background: linear-gradient(110deg, #222444, #354877 65%, #3d699b);
  color: white;
  padding: 25px 36px 12px;
  flex-wrap: wrap;
  gap: 22px;
}
.brand {
  font-size: 30px;
  color: white;
}
.brand b {
  background: #ffffff1a;
  border: 1px solid #ffffff45;
  border-radius: 7px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2px;
}
.topbar nav {
  order: 3;
  flex-basis: 100%;
  justify-content: center;
  gap: 0;
}
.topbar nav a {
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-right: 1px solid #ffffff45;
}
.topbar nav a:last-child {
  border: 0;
}
.topbar nav a.active {
  color: #fff;
}
.topbar nav a.active:after {
  background: #b8cdf5;
  bottom: 0;
  height: 2px;
}
.channel-link {
  font-size: 13px;
  color: white;
  border-color: #ffffff40;
}
.view {
  max-width: 1280px;
  background: white;
  padding: 30px 36px 65px;
  min-height: 70vh;
}
.reference-hero {
  padding: 8px 0 25px;
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}
.reference-hero h1 {
  font: 400 39px/1.2 var(--font-sans);
  margin: 18px 0;
  letter-spacing: -1px;
}
.reference-hero h1 br {
  display: none;
}
.reference-hero h1 br:after {
  content: " ";
}
.reference-hero p {
  font-size: 20px;
  color: #56606c;
  max-width: 920px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.3px;
}
.button {
  background: #38669b;
  border-radius: 3px;
  font-size: 15px;
  padding: 11px 18px;
}
.button:hover {
  background: #2b507b;
}
.button.outline {
  background: #fff;
  border-color: #cad2dc;
  color: #365c89;
}
.metrics {
  padding: 23px 0;
  gap: 20px;
  display: flex;
}
.metrics strong {
  font-size: 31px;
  color: #3e6595;
}
.metrics span {
  font-size: 13px;
}
.section {
  padding-top: 30px;
}
.section-title h2,
.page-heading h1 {
  font: 400 32px/1.3 var(--font-sans);
  letter-spacing: -0.4px;
}
.section-title p,
.page-heading p {
  font-size: 17px;
}
.search {
  font-size: 17px;
  background: #f7f8fa;
  border-radius: 3px;
  min-width: 320px;
}
.search input {
  font-size: 17px;
}
.chips {
  gap: 8px;
}
.chip {
  font-size: 14px;
  border-radius: 3px;
  padding: 9px 14px;
}
.results-bar,
.results-bar select {
  font-size: 14px;
}
.lecture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lecture-card {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 3px;
  align-items: center;
}
.thumb {
  aspect-ratio: 16/10;
  height: 100%;
  max-height: 180px;
  min-height: 130px;
}
.lecture-card-body {
  padding: 15px;
}
.lecture-card h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 7px 0 12px;
  min-height: 0;
  -webkit-line-clamp: 3;
}
.subject {
  font-size: 11px;
  color: #406b99;
}
.card-foot {
  font-size: 11px;
  gap: 10px;
  flex-wrap: wrap;
}
.duration {
  font-size: 11px;
}
.save-button {
  font-size: 23px;
}
.page-heading {
  padding: 10px 0 30px;
}
.page-heading h1 {
  font-size: 38px;
}
.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.course-card {
  border-radius: 3px;
  padding: 23px;
}
.course-card:before {
  background: #416a9c;
}
.course-card h3 {
  font: 600 21px/1.4 var(--font-sans);
}
.course-card p {
  font-size: 16px;
  line-height: 1.6;
}
.course-meta {
  font-size: 13px;
}
.course-icon {
  background: #f0f3f8;
  color: #4a6591;
  border-radius: 3px;
}
.course-header {
  background: #eff3f9;
  border-radius: 3px;
}
.course-header h1 {
  font-size: 34px;
}
.course-header p {
  font-size: 18px;
}
.playlist-source {
  font-size: 14px;
  color: #38669b;
  text-decoration: underline;
}
.curriculum-row strong {
  font-size: 17px;
}
.curriculum-row small {
  font-size: 13px;
}
.lesson-number {
  font-size: 14px;
}
.back {
  font-size: 16px;
  margin: 0 0 22px;
}
.panel {
  border-radius: 3px;
  padding: 27px;
}
.panel-head h2 {
  font-size: 25px;
}
.lesson-heading h1 {
  font: 400 32px/1.4 var(--font-sans);
}
.lesson-actions a {
  font-size: 14px;
}
.prose {
  font-size: 19px;
  line-height: 1.8;
}
.prose h2 {
  font: 500 28px/1.4 var(--font-sans);
  color: #2f537e;
  border-bottom: 1px solid #e1e5e9;
  padding-bottom: 9px;
}
.prose h3 {
  font-size: 23px;
  line-height: 1.45;
}
.prose table {
  font-size: 17px;
}
.slide-section {
  padding: 26px 0;
}
.slide-section h3 {
  background: #f2f4f7;
  padding: 10px 14px;
  font-size: 23px;
}
.slide-section .slide-number {
  font-size: 12px;
}
.slide-source {
  font-size: 15px;
  background: #f2f5f9;
  border-color: #d6dfeb;
}
.source-pending {
  font-size: 16px;
}
.notes-jump {
  background: #f7f8fa;
}
.notes-jump b {
  font-size: 13px;
}
.notes-jump button {
  color: #38669b;
  font-size: 16px;
  padding: 7px;
}
.lesson-sidebar {
  border-top: 4px solid #3e6799;
}
.lesson-sidebar a {
  font-size: 16px;
}
.lesson-sidebar h3 {
  font-size: 23px;
}
.lesson-layout {
  grid-template-columns: minmax(0, 1fr) 245px;
}
.small {
  font-size: 14px;
}
.muted {
  color: #626f7b;
}
.concept-map {
  background: #f0f4fa;
  border: 1px solid #d0dceb;
  color: #294b71;
}
.concept-map h2 {
  color: #2f537e;
}
.concept-map .eyebrow {
  color: #537197;
}
.map-node {
  background: white;
  border: 1px solid #d6e0ed;
}
.map-node > span {
  color: #537197;
}
.map-node h3 {
  font-size: 18px;
  color: #2f537e;
}
.map-node p {
  font-size: 16px;
  line-height: 1.7;
  color: #475a70;
}
.study-intro {
  background: #f3f6fa;
  border-color: #7e9bbb;
}
.study-intro p {
  font-size: 20px;
  color: #3e526a;
}
.editorial-label {
  font-size: 14px;
}
.teaching-figure figcaption,
.slide-gallery figcaption {
  font-size: 13px;
}
.takeaways {
  background: #eef4f8;
}
.form-grid label {
  font-size: 16px;
}
.form-grid select,
.form-grid input {
  font-size: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  width: 100%;
}
.start-row p {
  font-size: 16px;
}
.question-prompt {
  font-size: 23px;
}
.answer {
  font-size: 18px;
  border-radius: 3px;
}
.answer b {
  font-size: 15px;
}
.feedback,
.review-item p {
  font-size: 17px;
}
.review-item h3 {
  font-size: 21px;
}
.question-nav button {
  font-size: 14px;
}
.bank-stat span {
  font-size: 14px;
}
.bank-stat strong {
  color: #38669b;
}
.history-row {
  font-size: 16px;
}
.history-row small {
  font-size: 13px;
}
.result-header {
  background: #354e78;
}
.bank-symbol {
  color: #d8e1ef;
}
.answer-reasons {
  margin: 15px 0;
}
.flash-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.tool-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 19px 0;
}
.flash-row strong {
  font-size: 17px;
  font-weight: 500;
}
.flash-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.flash-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 145px;
}
.flash-row-actions button {
  border: 1px solid #d1d9e2;
  background: #f4f6f9;
  padding: 6px 10px;
  color: #315b89;
  border-radius: 3px;
  font-size: 13px;
}
.flash-card {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  min-height: 300px;
}
.flash-card h2 {
  font-size: 28px;
  line-height: 1.55;
  margin: 28px 0;
}
.flash-answer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.flash-answer p {
  font-size: 25px;
  color: #315b89;
}
.flash-explanation {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
  margin: 25px 0;
}
.flash-ratings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 940px;
  margin: 20px auto;
}
.rating {
  background: white;
  border: 1px solid #c8d4e4;
  border-top: 4px solid #5e83ae;
  border-radius: 3px;
  padding: 14px;
  color: #234366;
}
.rating small,
.rating strong,
.rating span {
  display: block;
}
.rating strong {
  font-size: 18px;
}
.rating span {
  font-size: 14px;
}
.rating-1 {
  border-top-color: #b36565;
}
.rating-2 {
  border-top-color: #c19b5b;
}
.rating-4 {
  border-top-color: #628d76;
}
dialog {
  border: 1px solid #c9d2dd;
  border-radius: 5px;
  max-width: 700px;
  width: 94vw;
  padding: 30px;
  color: #263c55;
}
dialog::backdrop {
  background: #18253699;
}
dialog label {
  display: block;
  margin-bottom: 16px;
}
dialog textarea,
dialog select {
  width: 100%;
  display: block;
  border: 1px solid #c9d2dd;
  padding: 12px;
  font-size: 17px;
  border-radius: 3px;
}
dialog textarea {
  min-height: 95px;
}
.video-frame-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.video-frame-grid figure {
  margin: 0;
  border: 1px solid #d4dce8;
  background: #f4f6fa;
  padding: 10px;
}
.video-frame-grid img {
  width: 100%;
  max-width: 640px;
  display: block;
  margin: auto;
}
.video-frame-grid figcaption {
  font-size: 13px;
  text-align: center;
  color: #617082;
}
.notes-reveal summary {
  font-size: 19px;
  color: #3b608b;
}
.public-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  flex-basis: 100%;
  font-size: 16px;
  color: #38669b;
}
.public-links a {
  text-decoration: underline;
}
footer {
  background: #fff;
  max-width: 1280px;
  padding: 30px 36px;
  margin: 0 auto;
}
.footer-bottom {
  font-size: 13px;
}
footer .brand {
  color: #344c6b;
}
footer p,
footer > span {
  font-size: 13px;
}
.static-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
}
.static-toc {
  align-self: start;
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  background: #f7f8fa;
  font-size: 16px;
}
.static-toc a {
  display: block;
  padding: 9px 0;
  color: #38669b;
}
.static-title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 400;
}
.directory-list {
  list-style: none;
  padding: 0;
}
.directory-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.directory-list a {
  color: #38669b;
}
.directory-list small {
  display: block;
  color: var(--muted);
}
.static-video {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #1d242d;
  margin: 20px 0;
}
@media (max-width: 1050px) {
  .lecture-grid {
    grid-template-columns: 1fr;
  }
  .lecture-card {
    grid-template-columns: 210px 1fr;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lesson-layout,
  .static-layout {
    grid-template-columns: 1fr;
  }
  .static-toc {
    position: static;
  }
  .flash-layout {
    grid-template-columns: 1fr;
  }
  .topbar nav a {
    padding: 10px 16px;
    font-size: 14px;
  }
  .view {
    padding: 25px;
  }
  .lesson-layout > article > .panel {
    padding: 25px;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }
  .topbar {
    padding: 20px;
    gap: 16px;
  }
  .topbar nav {
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
  }
  .topbar nav a {
    font-size: 11px;
    padding: 8px 5px;
    letter-spacing: 0.2px;
    border: 0;
  }
  .view {
    padding: 23px 18px 45px;
  }
  .reference-hero h1 {
    font-size: 31px;
  }
  .reference-hero p {
    font-size: 18px;
  }
  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .metrics > div {
    border: 0;
    align-items: flex-start;
  }
  .metrics span {
    font-size: 13px;
  }
  .metrics strong {
    font-size: 28px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .search {
    min-width: 0;
    width: 100%;
  }
  .lecture-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }
  .lecture-card h3 {
    font-size: 16px;
  }
  .lecture-card-body {
    padding: 12px;
  }
  .thumb {
    min-height: 145px;
  }
  .card-foot {
    font-size: 11px;
  }
  .subject {
    font-size: 10px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .results-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .results-bar select {
    font-size: 13px;
  }
  .prose {
    font-size: 18px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose h3 {
    font-size: 21px;
  }
  .lesson-layout > article > .panel {
    padding: 17px;
  }
  .lesson-heading h1,
  .static-title {
    font-size: 27px;
  }
  .flash-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .flash-row-actions {
    width: 100%;
  }
  .flash-card {
    padding: 23px 17px;
  }
  .flash-card h2 {
    font-size: 23px;
  }
  .flash-answer p {
    font-size: 22px;
  }
  .flash-ratings {
    gap: 6px;
  }
  .rating {
    padding: 12px 4px;
  }
  .rating strong {
    font-size: 15px;
  }
  .rating span {
    font-size: 12px;
  }
  .flash-explanation {
    font-size: 17px;
  }
  .form-grid label,
  .form-grid select {
    font-size: 16px;
  }
  .question-prompt {
    font-size: 21px;
  }
  .answer {
    font-size: 17px;
  }
  .panel {
    padding: 20px;
  }
  .button {
    font-size: 14px;
  }
  .bank-stat span {
    font-size: 13px;
  }
  .public-links {
    gap: 15px;
    font-size: 15px;
  }
  footer {
    padding: 25px 20px;
  }
  .footer-bottom {
    font-size: 12px;
  }
}

.notes-toolbar { display:flex; flex-wrap:wrap; gap:.6rem; margin:1rem 0; }
[data-note-editor] { margin:1rem 0; padding:1rem; border:1px solid #b8cbe1; border-radius:12px; background:#f3f8ff; }
[data-note-editor] textarea { display:block; width:100%; min-height:24rem; padding:1rem; font:inherit; line-height:1.65; resize:vertical; }
[data-note-status]:empty { display:none; }
@media print { .notes-toolbar, [data-note-editor], [data-note-status] { display:none!important; } }

