.edu-nav {
  display: flex;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1240px) / 2));
  background: #f1f7f4;
  flex-wrap: wrap;
}
.edu-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.education-page main {
  min-height: 55vh;
}
.education-page h1 {
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -1.8px;
  line-height: 1.12;
  margin: 0 0 24px;
}
.education-page .page-section > h2 {
  margin-bottom: 28px;
}
.edu-hero {
  background: var(--navy);
  color: white;
  padding: 80px max(24px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.edu-hero h1 {
  max-width: 720px;
}
.edu-hero p {
  color: #d5e6ed;
  max-width: 700px;
}
.edu-hero .cta {
  background: #69edb5;
  color: #082044;
}
.edu-hero .eyebrow {
  color: #69edb5;
}
.edu-hero-aside {
  padding: 32px;
  border: 1px solid #ffffff30;
  border-radius: 16px;
  background: #ffffff08;
}
.edu-hero-aside strong {
  font-size: 25px;
}
.edu-hero-aside li {
  margin: 18px 0;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.edu-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.edu-card h3,
.edu-card p {
  margin: 0;
}
.edu-card p {
  color: var(--muted);
}
.edu-card a {
  margin-top: auto;
  color: var(--green);
  font-weight: 650;
}
.edu-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}
.edu-card .eyebrow {
  font-size: 11px;
  margin: 0;
}
.edu-empty {
  padding: 32px;
  border: 1px dashed #b8cec4;
  border-radius: 12px;
  background: #f5faf7;
  margin: 28px 0;
  color: var(--muted);
}
.edu-empty strong {
  color: var(--navy);
}
.edu-soft {
  background: #f5faf7;
}
.edu-newsletter {
  max-width: 750px;
}
.edu-form {
  display: grid;
  gap: 20px;
  max-width: 850px;
  margin: 28px 0;
}
.edu-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  min-width: 0;
}
.edu-form input,
.edu-form select,
.edu-form textarea {
  padding: 13px;
  border: 1px solid #b8c7d1;
  border-radius: 8px;
  width: 100%;
  background: white;
  color: var(--navy);
  font: inherit;
}
.edu-form textarea {
  min-height: 120px;
  resize: vertical;
}
.edu-form textarea[name="content"] {
  min-height: 300px;
}
.edu-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
}
.edu-form input[type="checkbox"] {
  width: auto;
}
.edu-form button {
  border: 0;
}
.edu-form button:disabled {
  background: #dce5ed;
  color: #52677c;
  cursor: not-allowed;
}
.edu-filters {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  max-width: none;
}
.edu-filters label {
  flex: 1;
  min-width: 180px;
}
.edu-reading {
  max-width: 840px;
}
.edu-reading p {
  font-size: 18px;
  line-height: 1.8;
}
.edu-reading img {
  width: 100%;
  border-radius: 12px;
}
.edu-meta {
  color: var(--muted);
  font-size: 14px;
}
.edu-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
}
.edu-pagination {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}
.edu-error {
  padding: 20px;
  background: #fff0ec;
  border-left: 4px solid #a33219;
  border-radius: 8px;
}
.edu-table {
  width: 100%;
  border-collapse: collapse;
}
.edu-table th,
.edu-table td {
  text-align: left;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.edu-table-wrap {
  overflow: auto;
}
.edu-danger {
  background: #9e291b;
  color: white;
  padding: 14px 20px;
  border: 0;
}
.edu-admin-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.education-page textarea:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.edu-status {
  display: none;
}
.edu-form[aria-busy="true"] .edu-status {
  display: block;
}
@media (max-width: 850px) {
  .edu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edu-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 48px;
  }
  .edu-hero-aside {
    max-width: 600px;
  }
}
@media (max-width: 550px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
  .edu-nav {
    gap: 14px;
    padding: 16px 22px;
  }
  .education-page .page-section {
    padding: 48px 22px;
  }
  .edu-hero {
    padding-left: 22px;
    padding-right: 22px;
  }
  .edu-filters {
    display: grid;
  }
  .edu-table {
    font-size: 14px;
  }
  .edu-card {
    padding: 22px;
  }
}
.edu-logout {
  color: var(--navy);
  background: white;
  border-color: var(--line);
}
/* Shared public article and protected editorial preview. */
html:has(body.education-page) { --edu-header-height: 96px; scroll-padding-top: 0; }
.edu-reading { max-width: 720px; margin-inline: auto; font-size: clamp(1.0625rem, 1rem + .15vw, 1.125rem); overflow-wrap: break-word; }
.edu-reading header { padding-bottom: 1.1rem; }
.edu-reading h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.edu-reading p { font-size: inherit; line-height: 1.75; margin-block: 0 1.2em; }
.edu-reading .edu-lead { font-size: 1.05em; line-height: 1.65; color: #475569; }
.edu-reading .edu-meta { font-size: .8125rem; line-height: 1.6; margin-block: 1rem 0; }
.edu-reading .eyebrow { font-size: .75rem; line-height: 1.5; letter-spacing: .08em; margin-bottom: 1rem; }
.edu-prose h2 { margin: 2.3rem 0 1rem; font-size: clamp(1.375rem, 2.3vw, 1.75rem); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.edu-prose h3 { margin: 1.6rem 0 .75rem; font-size: clamp(1.125rem, 1.8vw, 1.3rem); line-height: 1.4; letter-spacing: -.01em; }
.edu-reading [id] { scroll-margin-top: calc(var(--edu-header-height, 96px) + 20px); }
.edu-prose li { margin-block: .6em; line-height: 1.7; }
.edu-prose ul, .edu-prose ol { padding-left: 1.4rem; margin-block: 1rem 1.4rem; }
.edu-reading a { color: #006f45; text-decoration: underline; text-underline-offset: .2em; }
.edu-reading :is(a, summary, button, h2, h3):focus-visible { outline: 3px solid #008652; outline-offset: 4px; border-radius: 3px; }
.edu-toc { padding: 1rem 1.15rem; border-radius: 8px; background: #f1f6f3; margin-block: .4rem 1.8rem; font-size: .9375rem; }
.edu-toc summary { font-weight: 650; cursor: pointer; }
.edu-toc summary span { font-size: .8125rem; font-weight: 400; color: #52677c; margin-left: .4rem; }
.edu-toc nav { margin-top: 1rem; }
.edu-toc ul { padding-left: 1.15rem; margin-bottom: .25rem; }
.edu-toc li { margin-block: .65rem; line-height: 1.5; }
.edu-reading .edu-preview-note { padding: .8rem 1rem; background: #eef6f3; border-radius: 8px; margin-bottom: 1.5rem; font-size: .875rem; line-height: 1.55; }
.edu-prose blockquote { border-left: 3px solid #008652; margin: 1.5rem 0; padding: .5rem 1.1rem; background: #f5f8f7; }
.edu-prose blockquote p { margin-bottom: .5rem; }
.edu-prose hr, .edu-sources { border: 0; border-top: 1px solid #dbe3ea; margin-top: 2rem; padding-top: 1rem; }
.edu-sources { font-size: .875rem; }
.edu-sources h2 { font-size: 1.25rem; letter-spacing: -.01em; }
.edu-sources li { margin-block: .7rem; line-height: 1.55; }
.edu-sources a { overflow-wrap: anywhere; }
.edu-form textarea[name="content"] { min-height: 420px; font-family: ui-monospace, monospace; }
.edu-reading .edu-actions { margin-top: 2rem; font-size: .875rem; }
.education-page .site-header { background: #07162c; }
.edu-editorial { margin-block: 2rem; }
.edu-editorial > :first-child { margin-top: 0; }
.edu-learning-summary { padding: 1.1rem 1.2rem; border-left: 3px solid #008652; border-radius: 0 8px 8px 0; background: #f3f8f5; font-size: .9375em; }
.edu-learning-summary h3 { font-size: 1.0625rem; }
.edu-learning-summary ol { margin-bottom: 0; }
.edu-learning-summary li { line-height: 1.55; margin-block: .5rem; }
.edu-educational-example { padding-left: 1.2rem; border-left: 3px solid #c9d8d0; }
.edu-reading .edu-component-label { color: #52677c; font-size: .75rem; font-weight: 650; letter-spacing: .05em; margin-bottom: .5rem; }
.edu-educational-example h2 { margin-top: .5rem; }
.edu-practical-checklist { border-top: 1px solid #dbe3ea; padding-top: 1.4rem; }
.edu-practical-checklist ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.edu-practical-checklist li { position: relative; padding-left: 1.5rem; margin: 0; font-size: .9375em; }
.edu-practical-checklist li::before { content: ""; position: absolute; top: .3rem; left: 0; width: .85rem; height: .85rem; border: 1px solid #6c8d7d; border-radius: 2px; }
.edu-practical-checklist li strong { display: block; }
.edu-checklist-print { margin-top: .5rem; font-size: .875rem; background: white; color: #006f45; border-color: #b8cec4; }
.edu-print-note { display: none; }
.edu-markdown-help { white-space: pre-wrap; overflow-wrap: anywhere; background: #f1f6f3; padding: 1.2rem; font-size: .9375rem; line-height: 1.6; }
@media (max-width: 550px) {
  html:has(body.education-page) { --edu-header-height: 82px; }
  .edu-practical-checklist ul { grid-template-columns: 1fr; gap: .85rem; }
  .edu-learning-summary { padding: 1rem; }
  .edu-reading .edu-preview-note { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.education-page) { scroll-behavior: auto; }
  .education-page *, .education-page *::before, .education-page *::after { animation: none !important; transition: none !important; }
}
@media print {
  .education-page .site-header, .education-page .site-footer, .education-page .edu-nav,
  .education-page .edu-toc, .education-page .edu-preview-note, .education-page .edu-actions,
  .education-page .edu-form, .education-page .edu-admin-nav, .education-page .edu-checklist-print,
  .education-page .page-section > h2 { display: none !important; }
  .education-page .page-section, .education-page main { margin: 0; padding: 0; }
  .education-page .edu-reading { max-width: none; font-size: 11pt; color: #000; }
  .education-page .edu-reading h1 { font-size: 22pt; }
  .education-page .edu-reading p, .education-page .edu-prose li { line-height: 1.5; }
  .education-page .edu-editorial { background: transparent; }
  .education-page .edu-practical-checklist ul { display: block; }
  .education-page .edu-practical-checklist li { margin-bottom: .8rem; break-inside: avoid; }
  .education-page .edu-print-note { display: block; font-size: 9pt; margin-top: 1.5rem; }
  .edu-print-checklist .page-section > :not(.edu-reading),
  .edu-print-checklist .edu-reading > :not(.edu-prose),
  .edu-print-checklist .edu-prose > :not(.edu-print-target) { display: none !important; }
  .edu-print-checklist .edu-print-target { margin: 0; border: 0; padding: 0; }
}
.edu-prose > hr:last-of-type + p:last-child { font-size: .8125rem; color: #52677c; line-height: 1.65; }

/* Academia: native, server-rendered learning pages. */
.academy-course { max-width: 1100px; margin-inline: auto; }
.academy-course-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 36px; margin-bottom: 38px; }
.academy-course h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; text-wrap: balance; }
.academy-cover { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.academy-cover-fallback { display: grid; place-content: center; background: #eef7f2; color: #008751; font-weight: 700; padding: 22px; }
.academy-grid .edu-card h3 { font-size: 23px; line-height: 1.3; margin: 18px 0 12px; }
.academy-grid .edu-card h3 a { text-decoration: none; }
.academy-syllabus { list-style: none; padding: 0; }
.academy-syllabus li { padding: 20px 0; border-bottom: 1px solid #d7e1dc; }
.academy-syllabus li > a { font-weight: 700; }
.academy-syllabus p { margin: 9px 0; }
.academy-course .edu-learning-summary { padding: 22px; margin-block: 28px; }
.academy-progress { padding: 22px; margin-block: 32px; background: #eff7f3; border-radius: 8px; }
.academy-progress h2 { margin-top: 0; font-size: 22px; }
.academy-progress progress { display: block; width: 100%; height: 16px; accent-color: #008751; margin-bottom: 20px; }
.academy-video, .academy-quiz, .academy-materials { margin-block: 30px; }
.academy-player { width: 100%; aspect-ratio: 16/9; border: 0; }
.academy-quiz fieldset { margin: 20px 0; padding: 18px; border: 1px solid #d7e1dc; min-width: 0; }
.academy-quiz legend { font-weight: 700; max-width: 100%; padding: 0 8px; }
.academy-quiz label { display: block; padding: 10px 0; }
.academy-quiz input { accent-color: #008751; width: 18px; height: 18px; margin-right: 8px; }
.academy-reorder { margin-block: 25px; }
.academy-reorder summary { cursor: pointer; font-weight: 700; }
.academy-next { justify-content: space-between; }
.education-page [hidden] { display: none !important; }
.education-page :is(button,summary,input,select,textarea):focus-visible { outline: 3px solid #008751; outline-offset: 4px; }
@media(max-width: 700px) {
 .academy-course-intro { grid-template-columns: 1fr; gap: 24px; }
 .academy-course-intro .academy-cover { max-width: 460px; }
 .academy-progress, .academy-quiz fieldset { padding: 16px; }
 .academy-next a { width: 100%; text-align: center; }
}
@media print { .academy-progress, .academy-video button, .academy-next, [data-quiz-check] { display:none !important; } }
/* Academy controls remain legible on the light reading surfaces. */
:is(.academy-course,.academy-lesson,.academy-grid) .secondary-cta { color:#006f45; background:#fff; border-color:#a9c8b8; }
.academy-lesson a.cta { color:#fff; text-decoration:none; }
.academy-lesson a.secondary-cta { text-decoration:none; }
.academy-quiz button { margin:0 8px 12px 0; }
@media(max-width:700px) { .academy-quiz button { width:100%; margin-right:0; } }
/* Private guide library and file management. */
.guide-cover { width:100%; display:block; aspect-ratio:3/4; object-fit:cover; border-radius:8px; }
.guide-cover-fallback { display:flex; flex-direction:column; justify-content:space-between; background:#082044; color:#fff; padding:26px; }
.guide-cover-fallback span { color:#80efba; font-size:14px; }
.guide-cover-fallback strong { font-size:28px; line-height:1.25; }
.guide-grid .guide-cover { max-height:280px; aspect-ratio:4/3; }
.guide-grid h3 { font-size:24px; margin-block:20px 12px; }
.guide-grid h3 a { text-decoration:none; }
.guide-detail { max-width:1150px; }
.guide-intro { display:grid; grid-template-columns:1.7fr 1fr; gap:44px; align-items:start; margin-bottom:36px; }
.guide-intro .guide-cover { max-width:320px; justify-self:end; }
.guide-editorial, .guide-newsletter, .guide-upload { margin-block:32px; }
.guide-newsletter { padding:24px; background:#eff7f3; border-radius:8px; }
.guide-newsletter h2 { font-size:24px; }
.guide-detail .edu-learning-summary { padding:24px; }
:is(.guide-grid,.guide-detail,.guide-upload) .secondary-cta { color:#006f45; background:#fff; border-color:#a9c8b8; }
.guide-upload { border-top:1px solid #d7e1dc; padding-top:30px; }
.guide-upload input[type=file] { max-width:100%; width:100%; overflow:hidden; }
.education-page li { overflow-wrap:anywhere; }
@media(max-width:700px) { .guide-intro { grid-template-columns:1fr; gap:24px; } .guide-intro .guide-cover { justify-self:start; max-width:250px; } .guide-upload button { width:100%; } }
.edu-form .secondary-cta { color:#006f45; background:#fff; border-color:#a9c8b8; }
.academy-cover-fallback { color:#006f45; }
.edu-related li > a { display:inline-block; min-height:24px; padding-block:4px; }
.guide-upload .edu-status:not(:empty) { display:block; padding:12px; background:#f1f7f4; border-left:3px solid #00864c; overflow-wrap:anywhere; }

/* Preserve spacing when optional editorial fields are grouped in native details. */
.edu-form details > summary { cursor: pointer; font-weight: 650; }
.edu-form details > label { margin-top: 16px; }
.edu-form details > .edu-meta { margin-block: 16px; }

/* Contextual educational invitations: one visible call, no overlays. */
.edu-invitation { max-width:720px; margin:2rem auto; padding:1.5rem; background:#f3f8f5; border:1px solid #dce8e1; border-left:3px solid #007d4d; border-radius:10px; overflow-wrap:anywhere; }
.edu-invitation h2 { font-size:clamp(1.125rem, 2vw, 1.375rem); line-height:1.4; letter-spacing:normal; margin:0 0 .75rem; }
.edu-invitation p { font-size:1rem; line-height:1.65; margin:0 0 1rem; }
.edu-invitation .invitation-link { display:inline-flex; align-items:center; min-height:44px; padding:8px 0; color:#006f45; text-decoration:underline; text-underline-offset:.2em; font-weight:600; }
.edu-invitation-secondary { background:#f8faf9; border-left-width:1px; padding:1.25rem; }
.edu-invitation.is-complete { border-left-width:4px; }
.edu-invitation .eyebrow { font-size:.75rem; color:#006f45; letter-spacing:.06em; }
.edu-invitation .secondary-cta { padding:10px 16px; }
.edu-invitation a:focus-visible { outline:3px solid #008652; outline-offset:4px; }
.advisory-context { font-size:.875rem; line-height:1.6; }
@media print { .edu-invitation { display:none; } }
