/* Academy Teach reading skin. White page, brand-blue headings
   (#0057B8 / --primary), one body size (1.125rem) for all non-heading text.
   Heading lock (2026-10-07): #0057B8, subtract 2pt from the prior rem size
   (@16px root), and apply font-variant: small-caps. Ink/black titles stay
   ink. Button fills stay Teach-fill #2563EB / var(--blue). Decorative
   callout blues are unchanged. */

:root {
  --navy: #0F2847;
  --blue: #2563EB;
  --primary: #0057B8;
  --ink: #1C1917;
  --body: 1.125rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.acadt-active {
  background: #FFFFFF;
}

.teach-app {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
  background: #FFFFFF;
}

.teach-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.teach-nav-burger,
.teach-nav-scrim { display: none; }

.teach-sidebar {
  display: flex;
  flex-direction: column;
  width: 18rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  max-height: 100vh;
  background: #E4EDF7;
  color: var(--navy);
  padding: 0.85rem 0.75rem 1.15rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.teach-brand {
  display: block;
  margin: 2px 0 6px 0;
  text-decoration: none;
  color: var(--navy);
}

.teach-brand img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.teach-sidenav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.teach-nav-group { margin: 0 0 0.65rem; }

.teach-nav-rule {
  border-top: 2px solid #0F2847;
  margin: 10px 0 4px 0;
  opacity: 0.7;
}

.teach-nav-heading {
  margin: 0 0 4px 2px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f59e0b;
}

.teach-nav-subhead {
  margin: 0.55rem 0.15rem 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.teach-nav-link,
.teach-step {
  display: block;
  box-sizing: border-box;
  width: 100%;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.4rem 0.75rem;
  margin: 0.15rem 0;
  border: 1px solid #C6D2E2;
  border-radius: 0.5rem;
  background: #ffffff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.teach-nav-link {
  text-align: center;
}

.teach-step {
  text-align: left;
  font-size: 0.85rem;
}

.teach-nav-link:hover,
.teach-step:hover {
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(15, 40, 71, 0.12);
}

.teach-nav-link.is-current,
.teach-step.is-current {
  color: var(--navy);
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  text-align: left;
}

.teach-nav-parent { font-weight: 700; }
.teach-nav-child { font-weight: 500; }

.teach-nav-module {
  margin: 0 0 0.2rem;
  border-radius: 0.5rem;
}

.teach-nav-module > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  margin: 0.15rem 0;
  border: 1px solid #C6D2E2;
  border-radius: 0.5rem;
  background: #ffffff;
  text-align: center;
}

.teach-nav-module > summary::-webkit-details-marker { display: none; }
.teach-nav-module > summary::marker { content: ""; }
.teach-nav-module > summary::after {
  content: "";
}
.teach-nav-module.is-current > summary {
  color: var(--navy);
  font-weight: 700;
  background: transparent;
  border-color: transparent;
  text-align: left;
}
.teach-nav-module.is-done > summary { color: var(--navy); }
.teach-nav-module > summary:hover {
  border-color: var(--navy);
  box-shadow: 0 2px 6px rgba(15, 40, 71, 0.12);
}

.teach-nav-build {
  margin: 0.15rem 0 0.35rem;
}

.teach-nav-build ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.teach-step.is-locked {
  color: #5A6A80;
}

.teach-step.is-locked .teach-lock {
  background: transparent;
  color: inherit;
  padding: 0;
  margin-right: 0.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.teach-signout {
  display: block;
  flex-shrink: 0;
  margin-top: 0.75rem;
  background: #E23B3B;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
}

.teach-signout:hover { background: #c53030; color: #fff; }

.teach-steplist-label {
  font-size: 0.613rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--primary);
  margin: 0 0 0.6rem;
}

.teach-steplist,
.teach-nav-lessons { margin: 0.15rem 0 0.35rem; }

.teach-steplist ol,
.teach-nav-lessons ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.teach-steplist li,
.teach-nav-lessons li { margin: 0; }

.teach-step.is-done { color: var(--navy); }

.teach-content {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.teach-main {
  min-width: 0;
  width: 100%;
  max-width: 880px;
  padding: 2rem 1.5rem 4rem;
}

.acadt-kicker {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--primary);
  margin: 0 0 1.15rem;
}

.acadt-lesson-id {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--primary);
  margin: 0 0 0.35rem;
}

h1.acadt-lesson-title,
.acadt-lesson-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}

.acadt-lesson-title + .acadt-translate,
h1.acadt-lesson-title + .acadt-translate {
  margin-top: -0.85rem;
}

.acadt-translate {
  margin: 0 0 1.25rem;
  max-width: 46rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
}

.acadt-translate summary {
  display: list-item;
  list-style-position: inside;
  min-height: 44px;
  padding: 0.45rem 0.15rem;
  cursor: pointer;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.acadt-translate summary:focus {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.acadt-translate summary:focus:not(:focus-visible) {
  outline: none;
}

.acadt-translate summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.acadt-translate-panel {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem 0.35rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #fff;
}

.acadt-translate-panel p,
.acadt-translate-panel li {
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.acadt-translate-browser {
  font-weight: 700;
  margin-top: 0.35rem;
}

.acadt-translate-panel ol,
.acadt-translate-links {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.acadt-translate-panel a {
  color: var(--primary);
  text-decoration: underline;
}

.acadt-translate-panel a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.acadt-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin: 1.5rem 0 0.85rem;
}

.acadt-section-title {
  font-size: 1.683rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--primary);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.acadt-subhead {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
  line-height: 1.4;
}

.acadt-attr-title {
  font-size: 1.183rem;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--primary);
  line-height: 1.3;
  margin: 1.5rem 0 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
}

.acadt-prose,
.acadt-hook,
.acadt-note,
.acadt-callout,
.acad-callout,
.acadt-advisory,
.acad-advisory,
.acadt-prose-list,
.acadt-map-caption,
.acadt-verify-checklist,
.acadt-verify-checklist-lead,
.acadt-verify-item,
.acadt-chip-label,
.acadt-chip-body,
.acadt-cat-card-name,
.acadt-cat-card-body,
.acadt-story,
.acad-story,
.acadt-legend li,
.acadt-sequence li,
.acadt-risk,
.acadt-contrast-body,
.acadt-glossary,
.acadt-summary li,
.acadt-plist li,
.acadt-principle-statement,
.acad-principle-statement,
.teach-build-pointer,
.teach-account {
  font-size: var(--body) !important;
  line-height: 1.7 !important;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.acadt-prose { margin: 0 0 1.15rem; }
.acadt-readable { max-width: 880px; }

.acadt-hook {
  font-weight: 600;
  margin: 0 0 1.4rem;
}

.acadt-note {
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  margin: 1.5rem 0;
}

.acadt-callout,
.acad-callout {
  background: #EFF6FF;
  border: none;
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.acadt-callout p,
.acad-callout p { margin: 0 0 0.6rem; font-size: inherit !important; }
.acadt-callout p:last-child,
.acad-callout p:last-child { margin-bottom: 0; }

.acadt-advisory,
.acad-advisory {
  background: #FEF3C7;
  border: none;
  border-left: 4px solid #D97706;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
}

.acadt-prose-list {
  margin: 0 0 1.15rem 1.1rem;
  padding-left: 0;
}

.acadt-prose-list li { margin-bottom: 0.4rem; }

.acadt-family-band {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.75rem 0 0.85rem;
  padding: 0.55rem 0 0.55rem 0.85rem;
  border-left: 4px solid var(--blue);
  background: #FFFFFF;
}

.acadt-family-band.is-strategic { border-left-color: #14B8A6; }
.acadt-family-band.is-referral { border-left-color: #64748B; }
.acadt-family-band.is-marketplace { border-left-color: #2563EB; }
.acadt-family-band.is-saas { border-left-color: #1D4ED8; }

.acadt-family-band-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acadt-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin: 0.35rem 0 1.5rem;
}

.acadt-cat-grid.is-stack { grid-template-columns: 1fr; }
.acadt-cat-grid.is-masonry {
  display: block;
  column-count: 2;
  column-gap: 1.1rem;
}

.acadt-cat-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.05rem 1.15rem 1.15rem;
  border-top: 3px solid #CBD5E1;
}

.acadt-cat-grid.is-masonry .acadt-cat-card {
  break-inside: avoid;
  width: 100%;
  display: inline-block;
  margin: 0 0 1.1rem;
}

.acadt-cat-card.is-strategic { border-top-color: #14B8A6; }
.acadt-cat-card.is-referral { border-top-color: #64748B; }
.acadt-cat-card.is-marketplace { border-top-color: #2563EB; }
.acadt-cat-card.is-saas { border-top-color: #1D4ED8; }

.acadt-cat-card-name { font-weight: 700; margin: 0 0 0.55rem; }
.acadt-fit-block { margin-top: 0.75rem; }
.acadt-fit-label {
  font-size: var(--body);
  font-weight: 800;
  color: #64748B;
  margin-bottom: 0.35rem;
}
.acadt-fit-pills { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.acadt-fit-pill {
  display: inline-block;
  font-size: var(--body);
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  color: #94A3B8;
  border: 1.5px solid #CBD5E1;
}
.acadt-fit-pill.is-on.is-strategic {
  background: #163A6B; color: #fff; border-color: #163A6B;
}
.acadt-fit-pill.is-on.is-referral {
  background: #5B7290; color: #fff; border-color: #5B7290;
}

.acadt-map-caption { color: var(--ink); margin: 0.15rem 0 1.15rem; }

.acadt-disclosure {
  margin-top: 0.85rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 0.6rem;
}
.acadt-disclosure > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue);
}

.acadt-verify-checklist {
  background: #F0F5FB;
  border: 1.5px solid #C7D8EC;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 1rem 1.15rem 1.1rem;
  margin: 0.5rem 0 1.5rem;
}
.acadt-verify-checklist-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #14304F;
  margin-bottom: 0.35rem;
}
.acadt-verify-list { list-style: none; margin: 0; padding: 0; }
.acadt-verify-item {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.5rem;
}
.acadt-verify-item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #0A7C4E;
}

.acadt-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.9rem;
  margin: 0.35rem 0 1.25rem;
}
.acadt-profile-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.acadt-profile-card-name,
.acadt-profile-card-body { font-size: var(--body); }

.acadt-compare-table-wrap { overflow-x: auto; margin: 1rem 0 0.25rem; }
.acadt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--body);
}
.acadt-compare-table th {
  background: #0f172a;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
}
.acadt-compare-table td,
.acadt-compare-table th[scope="row"] {
  padding: 9px 14px;
  border-bottom: 1px solid #e2e8f0;
  font-size: var(--body);
}
.acadt-compare-table td {
  color: var(--ink);
}
.acadt-compare-table th[scope="row"] {
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.acadt-compare-table tr:nth-child(even) { background: #f8fafc; }
.acadt-compare-table td.is-easy {
  color: #1e40af;
  font-weight: 700;
  background: #dbeafe;
}
.acadt-compare-table td.is-hard {
  color: #991b1b;
  font-weight: 700;
  background: #fee2e2;
}

.acadt-principle,
.acad-principle {
  display: inline-block;
  max-width: 46rem;
  background: #FEF9C3;
  border: 2px solid #FACC15;
  border-radius: 10px;
  padding: 0.65rem 0.9rem 0.75rem;
  margin: 1.5rem 0;
}
.acadt-principle-num,
.acad-principle-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A16207;
  margin-bottom: 0.3rem;
}

.acadt-glossary { margin: -0.35rem 0 1.15rem; color: #57534E; }
.acadt-glossary-term { font-weight: 600; }

.acadt-journey {
  list-style: decimal;
  margin: 0.35rem 0 1.35rem;
  padding: 0 0 0 1.35rem;
}
.acadt-journey li {
  font-size: var(--body);
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.acadt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 1.35rem;
}
.acadt-chip {
  flex: 1 1 12rem;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.acadt-chip-label { display: block; font-weight: 800; color: var(--blue); }

.acadt-figure {
  margin: 1.25rem auto 0.5rem;
  width: 100%;
  max-width: 48rem;
}
.acadt-figure.is-compact { max-width: 45rem; }
.acadt-figure img,
.acadt-figure svg {
  width: 100%;
  height: auto;
  display: block;
}
.acadt-figure-fallback {
  background: #EFF6FF;
  border: 2px dashed #93C5FD;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  color: #1E3A8A;
}

.acadt-story,
.acad-story {
  margin: 1.75rem 0;
  padding: 1.35rem 1.45rem;
  background: #FFFFFF;
  border: 1.5px solid #D6D3D1;
  border-radius: 16px;
}
.acadt-story-intro,
.acad-story-intro { font-style: italic; color: #44403C; margin-bottom: 0.85rem; }
.acadt-story-body,
.acad-story-body { margin-bottom: 1rem; }
.acadt-story-quote,
.acad-story-quote {
  font-weight: 700;
  color: #C2410C;
  margin: 1.1rem 0;
  padding-left: 1rem;
  border-left: 4px solid #F97316;
}
.acadt-story-point-label,
.acad-story-point-label {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C2410C;
  margin-bottom: 0.35rem;
}

.acadt-legend { margin: 0.4rem 0 1.5rem; padding: 0; list-style: none; }
.acadt-legend li { margin: 0 0 0.95rem; }
.acadt-legend strong {
  display: block;
  font-weight: 800;
  color: var(--blue);
}

.acadt-sequence { margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; counter-reset: acadt-step; }
.acadt-sequence li {
  position: relative;
  margin: 0 0 1.1rem;
  padding-left: 2.6rem;
  counter-increment: acadt-step;
}
.acadt-sequence li::before {
  content: counter(acadt-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acadt-sequence .lbl { display: block; font-weight: 800; color: var(--blue); }

.acadt-risk {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem 1rem 1.15rem;
  border-radius: 0 14px 14px 0;
  background: #FFFBEB;
  border-left: 5px solid #EA580C;
}
.acadt-risk-label { font-weight: 800; color: #C2410C; margin-bottom: 0.35rem; }
.acadt-risk.is-exit { background: #EEF2FF; border-left-color: #4F46E5; }
.acadt-risk.is-exit .acadt-risk-label { color: #3730A3; }
.acadt-risk.is-vendor,
.acadt-risk.is-you { background: #FEF2F2; border-left-color: #DC2626; }
.acadt-risk.is-vendor .acadt-risk-label,
.acadt-risk.is-you .acadt-risk-label { color: #B91C1C; }

.acadt-contrast { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.15rem 0 1.4rem; }
.acadt-contrast-col { padding: 1rem 1.1rem; border-radius: 14px; }
.acadt-contrast-col.is-yes { background: #ECFDF5; border: 2px solid #16A34A; }
.acadt-contrast-col.is-no { background: #FEF2F2; border: 2px solid #DC2626; }
.acadt-contrast-label { font-weight: 800; margin-bottom: 0.4rem; }
.acadt-contrast-col.is-yes .acadt-contrast-label { color: #15803D; }
.acadt-contrast-col.is-no .acadt-contrast-label { color: #B91C1C; }

.acadt-plist { margin: 0.5rem 0 1.25rem; padding: 0; list-style: none; }
.acadt-plist li { margin: 0 0 1.1rem; }
.acadt-plist .n { font-weight: 800; color: var(--blue); }

.acadt-summary { margin: 1.25rem 0; }
.acadt-summary-title {
  font-size: 1.183rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.acadt-wrapup {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.15rem 1.25rem 1.05rem;
  margin: 1.5rem 0 1.25rem;
}
.acadt-wrapup .acadt-section-title { margin-top: 0; }
.acadt-wrapup .acadt-prose:last-child { margin-bottom: 0; }

.teach-process-map { margin: 1rem 0 1.5rem; }
.teach-map-phase {
  font-size: 0.983rem;
  font-variant: small-caps;
  color: var(--primary);
  margin: 1.3rem 0 0.5rem;
}
.teach-map-step {
  border-left: 3px solid #E2E8F0;
  background: #fff;
  padding: 0.65rem 0.9rem;
  margin: 0 0 0.35rem;
}
.teach-map-step.is-here { border-left-color: #0057B8; background: #EFF6FF; }
.teach-map-step.is-dim { opacity: 0.55; }
.teach-map-title { margin: 0; font-weight: 600; }
.teach-map-short { margin: 0.2rem 0 0; color: #475569; }
.teach-here {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0057B8;
  margin-left: 0.5rem;
}

.teach-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  min-height: 48px;
  line-height: 1.4;
}
.teach-btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.teach-btn-disabled {
  display: inline-block;
  background: #E2E8F0;
  color: #94A3B8;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  min-height: 48px;
}
.teach-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
}
.teach-continue { margin: 1.5rem 0; }
.teach-build-pointer { margin: 2rem 0 0.5rem; }
.teach-build-pointer a { color: var(--blue); font-weight: 700; }
.teach-account { display: inline-block; margin-top: 1rem; color: var(--navy); }

.teach-welcome { max-width: 880px; }
.teach-progress-map,
.teach-hub { max-width: 880px; }

.teach-lock {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0F2847;
  background: #E2E8F0;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  margin-right: 0.25rem;
}

.acad-build-lock-line {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  color: #0057B8;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.acad-card {
  background: #FFFFFF;
  border: 1px solid #C6D2E2;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.acad-card:hover {
  border-color: #0057B8;
  box-shadow: 0 2px 8px rgba(0, 87, 184, 0.12);
}
.acad-card-num {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0057B8;
  margin-bottom: 6px;
}
.acad-card-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0F2847;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  line-height: 1.3;
}
.acad-card-sub {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  color: #6B7E94;
  line-height: 1.55;
  margin-bottom: 12px;
  font-weight: 400;
}
.acad-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.acad-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F4F7FB;
  border: 1px solid #C6D2E2;
  border-radius: 999px;
  padding: 3px 10px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #0F2847 !important;
}
.acad-status-not-started { color: #6B7E94 !important; background: #F4F7FB; }
.acad-status-not-started::before { content: ""; }
.acad-status-in-progress {
  color: #0057B8 !important;
  background: #EBF2FB;
  border-color: #C7D7F0;
}
.acad-status-in-progress::before {
  content: "\2192";
  color: #0057B8;
  font-weight: 600;
  margin-right: 2px;
}
.acad-status-complete {
  color: #0A7C4E !important;
  background: #ECFDF5;
  border-color: #BBF7D0;
}
.acad-status-complete::before {
  content: "\2713";
  color: #0A7C4E;
  font-weight: 600;
  margin-right: 2px;
}
.acad-card-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 28px;
  margin-top: 12px;
}
.acad-card-steps-label {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0057B8;
  margin-bottom: 4px;
}
.acad-card-steps ol {
  margin: 0;
  padding-left: 1.15rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #4A5568;
}
.acad-card-steps li { margin: 0 0 2px 0; }
.acad-card-steps li.acad-step-done { color: #0A7C4E; }
.acad-card-steps li.acad-step-locked { color: #4A5568; }
.acad-card-steps li a {
  color: inherit;
  text-decoration: none;
}
.acad-card-steps li a:hover { text-decoration: underline; }
.acad-step-check {
  color: #0A7C4E;
  font-weight: 700;
  margin-right: 4px;
}
.acad-step-lock {
  color: #0057B8;
  font-weight: 700;
  margin-right: 4px;
}

.acad-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.acad-card-actions.is-split { grid-template-columns: 1fr 1fr; }
.acad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  padding: 8px 20px;
  min-height: 40px;
  text-align: center;
}
.acad-btn-primary {
  background: #0F2847;
  border: 1px solid #0F2847;
  color: #fff;
}
.acad-btn-primary:hover { background: #0A1D33; border-color: #0A1D33; color: #fff; }
.acad-btn-locked,
.acad-btn-secondary {
  background: #fff;
  color: #0057B8;
  border: 1.5px solid #0057B8;
}
.acad-btn-locked:hover,
.acad-btn-secondary:hover { background: #EBF2FB; }
.acad-btn-back {
  width: auto;
  min-width: 10rem;
  margin: 0 0 1rem;
  color: #0057B8;
}

.hub-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0.25rem 0 1rem;
}
.hub-metric-label {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #4A5568;
  margin-bottom: 0.2rem;
}
.hub-metric-value {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.15rem;
  font-weight: 600;
  color: #0F1923;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hub-rule {
  border: 0;
  border-top: 1px solid #C6D2E2;
  margin: 0.5rem 0 1.25rem;
}
.hub-card-wrap { margin: 0 0 1rem; }
.hub-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E0;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.hub-card:hover {
  border-color: #0057B8;
  box-shadow: 0 2px 8px rgba(0, 87, 184, 0.12);
}
.hub-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
}
.hub-card-icon { font-size: 1.3rem; line-height: 1.2; }
.hub-card-copy { flex: 1; min-width: 0; }
.hub-card-status { flex-shrink: 0; }
.hub-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F1923;
  letter-spacing: -0.2px;
}
.hub-card-module {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4A5568;
  font-weight: 700;
}
.hub-status-pending {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #CBD5E0;
  color: #4A5568;
  white-space: nowrap;
}
.hub-card-desc {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: #4A5568;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 64ch;
}
.hub-action { width: auto; min-width: 7.5rem; }

.teach-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin: 0.35rem 0 1rem;
  align-items: start;
}
.teach-build-card {
  background: #FFFFFF;
  border: 1px solid #0057B8;
  border-radius: 6px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.teach-build-card:hover {
  border-color: #0057B8;
  box-shadow: 0 2px 8px rgba(0, 87, 184, 0.12);
}
.teach-build-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.teach-build-icon { font-size: 1.3rem; line-height: 1.2; }
.teach-build-copy { flex: 1; min-width: 0; }
.teach-build-label {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4A5568;
  font-weight: 700;
}
.teach-build-title {
  font-size: 18px;
  font-weight: 600;
  color: #0F1923;
  letter-spacing: -0.2px;
}
.teach-build-produces {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: #4A5568;
  line-height: 1.5;
  margin: 6px 0 0;
}
.teach-build-count {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0057B8;
}
.teach-build-top,
.teach-build-more ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
}
.teach-build-top li,
.teach-build-more li { margin-bottom: 0.25rem; }
.teach-build-more { margin-top: 0.35rem; }
.teach-build-more > summary {
  cursor: pointer;
  font-weight: 700;
  color: #0057B8;
}
.teach-build-m1-note {
  font-size: 0.875rem;
  color: #4A5568;
  margin: 0 0 1.25rem;
}

.teach-activate { margin: 1.25rem 0 2rem; }
.teach-license-agree { margin: 0 0 1rem; }
.teach-license-agree label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}
.teach-license-agree input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--navy);
}
.teach-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  font-size: 0.875rem;
}
.teach-footer a { color: var(--navy); }
.teach-license-shell { min-height: 100vh; background: #fff; }
.teach-license-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E2E8F0;
}
.teach-license-header .teach-brand { max-width: 10rem; }
.teach-license-main { max-width: 880px; margin: 0 auto; }
.teach-license-list { margin: 0 0 1.25rem; }
.teach-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}
.teach-promo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 12rem;
}
.teach-pay-row input[name="promo_code"] {
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font: inherit;
}
.teach-activate button {
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
}
.teach-activate button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.teach-welcome .error { color: #9b1c1c; }
.teach-account-page .error { color: #9b1c1c; }
.teach-account-line { margin-top: 1.5rem; }
.teach-account-fields {
  margin: 0 0 1rem;
}
.teach-account-fields dt {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A5568;
  font-weight: 700;
  margin-top: 0.85rem;
}
.teach-account-fields dt:first-child { margin-top: 0; }
.teach-account-fields dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--navy);
}
.teach-plan {
  font-weight: 700;
  margin: 1rem 0 1.5rem;
}
.teach-password {
  margin: 0 0 2rem;
  max-width: 22rem;
}
.teach-password label {
  display: block;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.teach-password input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5ced8;
  border-radius: 8px;
  font: inherit;
}
.teach-password button {
  margin-top: 1rem;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.teach-account-page .muted { color: #4b5d73; }
.teach-invite {
  margin: 0 0 1.5rem;
  max-width: 22rem;
}
.teach-invite label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
.teach-invite input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c5ced8;
  border-radius: 8px;
  font: inherit;
}
.teach-invite button,
.teach-team-confirm button,
.teach-team-action button {
  margin-top: 1rem;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.teach-team-scroll {
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid #D7DEE8;
  border-radius: 6px;
}
.teach-team-table {
  width: 100%;
  border-collapse: collapse;
}
.teach-team-table th,
.teach-team-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #E6EBF2;
  vertical-align: top;
}
.teach-team-table thead th {
  position: sticky;
  top: 0;
  background: #F4F7FB;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A5568;
}
.teach-team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.teach-team-action {
  display: inline-block;
  margin: 0;
}
.teach-team-action button {
  margin-top: 0;
}
.teach-team-confirm {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #D7DEE8;
  border-radius: 8px;
  background: #F8FAFC;
}
.teach-team-cancel {
  margin-left: 0.75rem;
  color: var(--navy);
}

@media screen and (min-width: 960px) {
  .acadt-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acadt-cat-grid.is-stack { grid-template-columns: 1fr; }
}

@media screen and (max-width: 800px) {
  #build { scroll-margin-top: 4.5rem; }
  .teach-nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 30;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    background: var(--navy);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 0.5rem;
    cursor: pointer;
  }
  .teach-nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(15, 40, 71, 0.45);
  }
  .teach-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 25;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    height: 100%;
    max-height: 100%;
    min-height: 100%;
    padding-top: 3.75rem;
  }
  .teach-nav-toggle:checked ~ .teach-sidebar { transform: translateX(0); }
  .teach-nav-toggle:checked ~ .teach-nav-scrim { display: block; }
  .teach-main { padding-top: 4.25rem; }
}

@media screen and (max-width: 640px) {
  .acadt-cat-grid,
  .acadt-cat-grid.is-masonry { grid-template-columns: 1fr; column-count: 1; }
  .acadt-profile-grid { grid-template-columns: 1fr; }
  .acadt-section-title { font-size: 1.383rem; }
  .acad-card-actions.is-split { grid-template-columns: 1fr; }
  .hub-metrics { grid-template-columns: 1fr; }
  .teach-build-grid { grid-template-columns: 1fr; }
}
