:root {
  color-scheme: light;
  --navy: #102c48;
  --navy-deep: #0a2037;
  --blue: #155ea9;
  --cyan: #28c3d8;
  --ink: #172d43;
  --muted: #60758a;
  --line: #dce6ee;
  --canvas: #f3f7fa;
  --white: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: absolute; z-index: 30; top: -80px; left: 16px; padding: 10px 16px; color: #fff; background: #064b88; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.app-shell { min-height: 100vh; }

.topbar { position: sticky; z-index: 21; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(20px, 3.2vw, 56px); color: #fff; background: var(--navy-deep); border-bottom: 1px solid #224360; }
.topbar-partners { display: flex; align-items: center; gap: 8px; flex: none; }
.partner-logo { display: grid; place-items: center; height: 50px; border: 1px solid #bccfda; border-radius: 7px; background: #fff; }
.partner-logo:hover { border-color: #43b9d0; }
.partner-logo-center { width: 50px; padding: 4px; }
.partner-logo-center img { display: block; width: 40px; height: 40px; object-fit: contain; }
.partner-logo-bank { width: 167px; padding: 6px 10px; }
.partner-logo-bank img { display: block; width: 100%; max-height: 38px; object-fit: contain; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.topbar-actions button { min-height: 38px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; color: #d6e5ee; background: transparent; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.topbar-actions button:hover, .topbar-actions button[aria-current="page"] { border-color: #416884; color: #fff; background: #1a4260; }
.topbar-actions .topbar-register { display: inline-flex; align-items: center; gap: 9px; margin-left: 4px; border-color: #9adce5; color: #102c48; background: #d8f6f8; }
.topbar-actions .topbar-register:hover, .topbar-actions .topbar-register[aria-current="page"] { border-color: #d8fbff; color: #082239; background: #b7edf2; }
.topbar-actions .topbar-login { margin-left: 8px; border-color: #416884; color: #fff; }
.topbar-actions .topbar-login:hover, .topbar-actions .topbar-login[aria-current="page"] { border-color: #7bd3df; background: #1a4260; }
.mobile-menu-button { display: none; }

.content-shell { display: grid; grid-template-columns: minmax(318px, 355px) minmax(0, 1fr); min-height: calc(100vh - 72px); }
.sidebar { position: sticky; top: 72px; align-self: start; display: flex; flex-direction: column; height: calc(100vh - 72px); min-height: 0; overflow-y: auto; padding: 20px 17px 28px; background: var(--navy); color: #fff; }
.overline { display: inline-block; color: #70dce7; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
#module-list { display: grid; gap: 8px; }
.module { overflow: hidden; border: 1px solid transparent; border-radius: 14px; }
.module.is-open { border-color: #315674; background: #163a59; }
.module-toggle { display: grid; grid-template-columns: 43px minmax(0,1fr) 18px; align-items: start; gap: 11px; width: 100%; padding: 16px 14px; border: 0; color: #fff; background: transparent; text-align: left; cursor: pointer; }
.module-toggle:hover { background: #1c4568; }
.module-number { display: grid; place-items: center; height: 38px; border: 1px solid #416683; border-radius: 9px; color: #7ce3ea; font-size: 13px; font-weight: 800; }
.module-name { display: block; margin: 0 0 7px; font-size: 15px; font-weight: 700; line-height: 1.35; }
.module-hours { display: block; color: #a7c1d4; font-size: 12px; font-weight: 700; }
.chevron { display: block; width: 9px; height: 9px; margin: 10px 4px 0 0; border-right: 2px solid #b9d3e2; border-bottom: 2px solid #b9d3e2; transform: rotate(45deg); transition: transform .2s; }
.is-open .chevron { transform: rotate(225deg); margin-top: 15px; }
.topic-list { padding: 0 10px 10px 68px; }
.topic-list[hidden] { display: none; }
.topic-button { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 5px; width: 100%; padding: 11px 10px; margin: 2px 0; border: 0; border-radius: 9px; color: #c7d9e6; background: transparent; text-align: left; cursor: pointer; }
.topic-button:hover { background: #234d6e; color: #fff; }
.topic-button[aria-current="page"] { background: #2b5d7e; color: #fff; box-shadow: inset 3px 0 var(--cyan); }
.topic-entry { padding-bottom: 5px; }
.topic-test-button { display: flex; align-items: center; gap: 7px; width: calc(100% - 51px); margin: 1px 0 3px 51px; padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; color: #9fc9d9; background: transparent; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.topic-test-button:hover { color: #fff; background: #245473; }
.topic-test-button[aria-current="page"] { border-color: #4fc4d4; color: #fff; background: #23627b; }
.topic-test-button > span:first-child { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border: 1px solid #4a8197; border-radius: 5px; color: #84dce5; font-size: 10px; }
.topic-test-button .test-arrow { margin-left: auto; font-size: 15px; }
.topic-index { color: #78cbdc; font-size: 13px; font-weight: 800; line-height: 1.5; }
.topic-label { font-size: 14px; font-weight: 600; line-height: 1.45; }
.assessment-nav { margin: 24px 0 0; padding: 16px 4px 0; border-top: 1px solid #36536b; }
.assessment-button { display: grid; grid-template-columns: 43px minmax(0,1fr); align-items: center; gap: 11px; width: 100%; padding: 13px 10px; border: 1px solid #40617a; border-radius: 12px; color: #e6f6fb; background: #1b425f; text-align: left; cursor: pointer; }
.assessment-button:hover, .assessment-button[aria-current="page"] { border-color: #68dbe3; background: #275473; }
.assessment-symbol { display: grid; place-items: center; height: 38px; border: 1px solid #6095a9; border-radius: 9px; color: #7ce3ea; font-size: 20px; }
.assessment-button strong { display: block; font-size: 15px; line-height: 1.35; }
.assessment-button small { display: block; margin-top: 4px; color: #b3d0dd; font-size: 12px; }
.admin-sources-button { margin-top: 8px; }
.admin-sources-symbol { font-size: 19px; }
.sidebar-foot { margin-top: auto; padding: 26px 19px 0; }
.sidebar-foot-line { display: block; width: 36px; height: 3px; background: var(--cyan); border-radius: 3px; }
.sidebar-foot p { margin: 12px 0 0; color: #92b0c4; font-size: 12px; line-height: 1.5; }

.main-content { min-width: 0; padding: 34px clamp(25px, 4vw, 70px) 24px; background: var(--canvas); }
.page-heading { max-width: 1120px; margin: 0 auto 26px; }
.page-heading-copy { min-width: 0; }
.course-title { max-width: 750px; margin: 0; padding-left: 16px; border-left: 3px solid #26a9bc; }
.course-title strong { display: block; color: var(--navy); font-size: clamp(15px, 1.45vw, 18px); font-weight: 800; line-height: 1.4; letter-spacing: .005em; }
.course-title span { display: block; margin-top: 5px; color: #4b718a; font-size: 14px; font-weight: 700; line-height: 1.4; }
.course-badge { flex: none; padding: 8px 12px; border: 1px solid #b6d0e1; border-radius: 7px; color: #3f708f; background: #e7f1f7; font-size: 11px; font-weight: 800; letter-spacing: .09em; white-space: nowrap; }
#lesson-content { max-width: 1120px; margin: auto; }
.staff-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; max-width: 1120px; margin: -10px auto 21px; padding: 8px; border: 1px solid #c9dce8; border-radius: 10px; background: #fff; }
.staff-shortcuts[hidden] { display: none; }
.staff-shortcuts span { padding: 0 10px; color: #537e97; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.staff-shortcuts button { padding: 8px 11px; border: 0; border-radius: 6px; color: #355d76; background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.staff-shortcuts button:hover, .staff-shortcuts button[aria-current="page"] { color: #0a637f; background: #e8f5f8; }
.login-screen { max-width: 920px; margin: 0 auto; }
.login-heading { padding: 6px 0 22px; }
.login-heading h1 { margin: 0; color: var(--navy); font-size: clamp(29px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.login-heading p { margin: 10px 0 0; color: #55728a; font-size: 15px; line-height: 1.5; }
.login-heading strong { color: var(--navy); }
.login-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.login-role { display: block; min-height: 98px; padding: 17px 18px; border: 1px solid #c8dce8; border-radius: 10px; color: var(--navy); background: #fff; text-align: left; cursor: pointer; }
.login-role:hover { border-color: #70b9c8; background: #f9fdfe; }
.login-role.is-selected { border-color: #2a9bb1; background: #eef8fa; box-shadow: inset 3px 0 #159cb4; }
.login-role-name { display: block; margin-bottom: 7px; font-size: 17px; font-weight: 800; }
.login-role-description { display: block; color: #617c8e; font-size: 13px; line-height: 1.4; }
.login-role-panel { margin-top: 15px; padding: 27px 29px; border: 1px solid #d0e0e9; border-radius: 10px; background: #fff; }
.login-role-panel h2 { margin: 0; color: var(--navy); font-size: 22px; letter-spacing: -.02em; }
.login-role-panel > p { margin: 8px 0 20px; color: #526f83; line-height: 1.55; }
.login-password { display: grid; gap: 7px; max-width: 390px; margin: 18px 0; color: var(--navy); font-size: 14px; font-weight: 750; }
.login-password input { width: 100%; height: 46px; padding: 9px 13px; border: 1px solid #adc6d7; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-size: 16px; }
.login-password input:focus-visible { outline: 3px solid #76dce6; outline-offset: 2px; }
.login-primary { min-height: 43px; padding: 10px 16px; border: 1px solid #086688; border-radius: 7px; color: #fff; background: #0c6685; font-weight: 750; cursor: pointer; }
.login-primary:hover { background: #084d6a; }
.login-primary:disabled, .login-exit:disabled { opacity: .55; cursor: wait; }
.login-exit { display: block; margin-top: 24px; padding: 8px 0; border: 0; color: #55778a; background: transparent; font-weight: 750; cursor: pointer; }
.login-exit:hover { color: #0b627e; text-decoration: underline; }
.login-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.login-tools button { min-height: 46px; padding: 10px 12px; border: 1px solid #c6dae5; border-radius: 7px; color: #174e70; background: #f8fbfd; text-align: left; font-weight: 750; cursor: pointer; }
.login-tools button:hover { border-color: #62b5c6; background: #eef8fa; }
.login-error { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid #c54c4c; color: #8b2626; background: #fff5f4; line-height: 1.45; }
.login-error[hidden] { display: none; }
.topic-heading { padding: 21px 27px; border-radius: 10px; color: #fff; background: #123b5b; }
.topic-heading h1 { margin: 0; font-size: clamp(25px, 2.5vw, 32px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.topic-heading + .lecture-section { margin-top: 26px; }
.lesson-hero { position: relative; overflow: hidden; min-height: 298px; padding: clamp(25px, 4vw, 52px); border-radius: 21px; color: #fff; background: linear-gradient(113deg, #124b7c 0%, #0d3557 57%, #102c48 100%); box-shadow: 0 18px 40px rgba(15,55,85,.13); }
.lesson-hero::after { content: ""; position: absolute; pointer-events: none; width: 530px; height: 530px; right: -145px; top: -220px; border: 1px solid rgba(127,222,235,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(114,211,232,.04), 0 0 0 140px rgba(114,211,232,.035); }
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; color: #9ee2eb; font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.hero-kicker::before { content: ""; display: block; width: 22px; height: 2px; background: var(--cyan); }
.lesson-hero h1 { max-width: 780px; margin: 0 0 25px; font-size: clamp(27px, 3.4vw, 44px); font-weight: 750; letter-spacing: -.04em; line-height: 1.16; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; border: 1px solid #5682a0; border-radius: 7px; color: #e6f5fb; background: rgba(9,36,58,.25); font-size: 13px; font-weight: 700; }
.hero-pill strong { color: #fff; margin-right: 5px; }
.section-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 32px 0 18px; }
.section-heading { margin: 0; font-size: 24px; letter-spacing: -.035em; line-height: 1.25; }
.section-caption { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-card { position: relative; min-height: 203px; padding: 22px 23px 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(28,72,103,.035); }
.plan-card::after { content: ""; position: absolute; height: 3px; left: 22px; right: 22px; bottom: 0; background: var(--cyan); }
.plan-card:nth-child(2)::after { background: #3b95d0; }
.plan-card:nth-child(3)::after { background: #7badd8; }
.plan-index { display: inline-block; margin-bottom: 24px; color: #1174a1; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.plan-card h3 { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.45; }
.lesson-controls { display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; }
.lesson-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 48%; min-height: 62px; padding: 11px 17px; border: 1px solid #ccdee9; border-radius: 12px; color: #194b71; background: #fff; text-align: left; cursor: pointer; }
.lesson-link:hover { border-color: #2b85b7; background: #f5fbff; }
.lesson-link.next { margin-left: auto; text-align: right; }
.lesson-link .arrow { flex: none; color: #1c8bbd; font-size: 25px; line-height: 1; }
.lesson-link small { display: block; margin-bottom: 3px; color: #62839a; font-size: 12px; font-weight: 800; }
.lesson-link strong { display: block; font-size: 13px; line-height: 1.35; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1120px; margin: 38px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: #7890a2; font-size: 12px; }
.site-footer > span > span { padding: 0 5px; }
.organizer-actions { display: flex; align-items: center; gap: 12px; }
.staff-role-label { color: #176a91; font-weight: 800; }
.organizer-actions a, .organizer-actions button { padding: 5px 0; border: 0; color: #54778d; background: transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.organizer-actions a:hover, .organizer-actions button:hover, .organizer-actions button[aria-current="page"] { color: #0b6588; text-decoration: underline; }

@media (max-width: 1070px) {
  .content-shell { grid-template-columns: 305px minmax(0, 1fr); }
  .main-content { padding-inline: 28px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; padding: 18px 20px 24px; }
  .plan-index { margin-bottom: 12px; }
}

@media (max-width: 1180px) {
  html { scroll-padding-top: 112px; }
  .topbar { position: sticky; z-index: 21; top: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 50px 42px; height: 112px; gap: 0 7px; padding: 10px 17px; }
  .topbar-partners { grid-column: 1; grid-row: 1; }
  .topbar-actions { display: grid; grid-column: 1 / -1; grid-row: 2; grid-template-columns: 1.2fr .9fr .85fr .85fr 1.65fr .65fr; gap: 5px; width: 100%; margin: 0; }
  .topbar-actions button { min-width: 0; min-height: 42px; padding: 5px 6px; font-size: 11px; line-height: 1.15; white-space: normal; text-align: center; }
  .topbar-actions .topbar-register { justify-content: center; gap: 4px; margin: 0; }
  .topbar-actions .topbar-login { margin: 0; }
  .mobile-menu-button { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: end; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #48708e; border-radius: 9px; color: #fff; background: #1c4564; font-size: 13px; font-weight: 700; cursor: pointer; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: #b6edf2; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .content-shell { display: block; min-height: calc(100vh - 112px); }
  .sidebar { position: fixed; z-index: 20; top: 112px; bottom: 0; left: 0; width: min(355px, 88vw); height: auto; min-height: 0; overflow-y: auto; transform: translateX(-102%); transition: transform .25s; box-shadow: 12px 0 35px rgba(3,22,38,.2); }
  .sidebar.is-visible { transform: translateX(0); }
  .sidebar-scrim:not([hidden]) { position: fixed; z-index: 19; inset: 112px 0 0; background: rgba(4,19,31,.48); }
  .main-content { padding: 24px 17px 30px; }
  .topic-heading { padding: 18px 21px; }
  .page-heading { margin-bottom: 20px; }
  .course-badge { display: inline-flex; }
  .lesson-hero { min-height: 0; padding: 28px 25px 34px; border-radius: 16px; }
  .lesson-hero h1 { font-size: clamp(26px, 7vw, 35px); }
  .section-row { margin-top: 27px; }
  .section-heading { font-size: 22px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 154px; }
  .topbar { height: 154px; grid-template-rows: 44px 94px; gap: 0 6px; padding: 8px 12px; }
  .topbar-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 42px 48px; align-items: stretch; gap: 4px; }
  .topbar-actions button { min-height: 0; height: 100%; padding: 4px 6px; font-size: 11px; }
  .content-shell { min-height: calc(100vh - 154px); }
  .sidebar { top: 154px; }
  .sidebar-scrim:not([hidden]) { inset: 154px 0 0; }
  .login-roles { grid-template-columns: 1fr; }
  .login-role { min-height: 0; padding: 13px 16px; }
  .login-role-name { margin-bottom: 3px; }
  .login-role-panel { padding: 22px 19px; }
  .login-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .topbar-actions .topbar-register span { display: none; }
  .topbar-partners { gap: 6px; }
  .partner-logo { height: 42px; }
  .partner-logo-center { width: 42px; padding: 3px; }
  .partner-logo-center img { width: 34px; height: 34px; }
  .partner-logo-bank { width: 127px; padding: 5px 7px; }
  .partner-logo-bank img { max-height: 30px; }
  .mobile-menu-button { padding: 8px; font-size: 12px; }
  .course-title strong { font-size: 15px; }
  .course-title span { font-size: 13px; }
  .hero-kicker { margin-bottom: 19px; font-size: 11px; }
  .hero-meta { gap: 7px; }
  .hero-pill { min-height: 31px; font-size: 12px; }
  .section-row { display: block; }
  .section-caption { margin-top: 5px; }
  .lesson-controls { flex-direction: column; }
  .lesson-link, .lesson-link.next { width: 100%; max-width: none; margin: 0; }
}

@media (max-width: 360px) {
  .topbar { padding-inline: 9px; }
  .topbar-actions button { padding-inline: 3px; font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sidebar, .chevron { transition: none; }
}

/* Learner path and lesson content */
.course-badge { text-decoration: none; }
.course-badge:hover { border-color: #4595ba; color: #165c88; background: #fff; }
.lesson-hero { min-height: 265px; padding-block: 37px; }
.lesson-hero h1 { margin-bottom: 12px; font-size: clamp(27px, 3.1vw, 39px); }
.hero-kicker { margin-bottom: 18px; }
.hero-intro { max-width: 680px; margin: 0; color: #d2e8f3; font-size: 17px; line-height: 1.52; }
.hero-meta { margin-top: 23px; }
.section-block { margin-top: 35px; }
.section-block .section-row { margin: 0 0 16px; }
.section-label { display: block; margin-bottom: 8px; color: #377b9d; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.outcome-grid-two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.outcome-card { display: flex; flex-direction: column; gap: 23px; min-height: 158px; padding: 21px; border: 1px solid #d9e7ef; border-radius: 13px; background: #fff; box-shadow: 0 5px 15px rgba(23,75,109,.035); }
.outcome-card > span { color: #1493aa; font-size: 15px; font-weight: 800; }
.outcome-card p { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.45; }
.lecture-lead { width: 100%; margin: 0 0 16px; padding: 18px 21px; border-left: 4px solid #21a6b8; border-radius: 0 10px 10px 0; color: #2b576e; background: #e7f4f8; font-size: 16px; font-weight: 600; line-height: 1.65; }
.section-tools { display: flex; align-items: center; gap: 12px; }
.content-edit-button { padding: 8px 10px; border: 1px solid #bfd8e5; border-radius: 7px; color: #176481; background: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.content-edit-button:hover { border-color: #4c9db2; background: #eff9fb; }
.lecture-chapters { display: grid; gap: 10px; }
.lecture-chapter { overflow: hidden; border: 1px solid #d5e4ec; border-radius: 12px; background: #fff; }
.lecture-chapter summary { display: grid; grid-template-columns: 38px minmax(0,1fr) 22px; align-items: center; gap: 14px; padding: 18px 21px; color: #1f4e6d; font-size: 17px; font-weight: 750; line-height: 1.38; cursor: pointer; list-style: none; }
.lecture-chapter summary::-webkit-details-marker { display: none; }
.lecture-chapter[open] summary { border-bottom: 1px solid #e5eef3; background: #f7fbfd; }
.chapter-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #0c859b; background: #e3f5f7; font-size: 12px; font-weight: 800; }
.chapter-chevron { justify-self: end; color: #258da9; font-size: 24px; line-height: 1; transition: transform .2s; }
.lecture-chapter[open] .chapter-chevron { transform: rotate(180deg); }
.chapter-body { width: 100%; max-width: none; padding: 4px 24px 18px; }
.chapter-body p { margin: 15px 0; color: #344f62; font-size: 16px; line-height: 1.72; }
.custom-info-sections { display: grid; gap: 14px; margin: 26px 0; }
.custom-info-section { padding: 20px 22px; border: 1px solid #d5e4ec; border-radius: 11px; background: #fff; }
.custom-info-section h2 { margin: 0 0 10px; color: #163b5c; font-size: 20px; }
.custom-info-section p { margin: 10px 0; color: #344f62; font-size: 16px; line-height: 1.7; }
.course-attachment { margin: 24px 0; padding: 20px 22px; border: 1px solid #d5e4ec; border-radius: 11px; background: #fff; }
.course-attachment h2 { margin: 0 0 10px; color: #163b5c; font-size: 19px; }
.course-attachment a { color: #176a91; font-weight: 800; }
.course-attachment iframe { display: block; width: 100%; height: min(68vh, 680px); margin-top: 17px; border: 1px solid #d5e4ec; border-radius: 8px; }
.course-attachment img { display: block; max-width: 100%; max-height: 680px; margin-top: 17px; object-fit: contain; }
.registration-offering { display: grid; margin: 0 0 25px; }
.registration-no-offerings { margin: -8px 0 23px; padding: 12px 15px; border: 1px solid #bfd8e5; border-radius: 8px; color: #385f77; background: #eef7fa; font-size: 14px; }
.registration-record-offering { margin-top: 8px !important; color: #1c617d; }
.staff-screen { min-height: 45vh; }
.inline-activity { margin: 3px 0; padding: 24px 26px; border: 1px solid #c7dde8; border-left: 4px solid #168ca5; border-radius: 10px; background: #f9fcfd; }
.activity-eyebrow { display: block; margin-bottom: 8px; color: #34758d; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.inline-activity h3 { margin: 0 0 10px; color: #163f5b; font-size: 21px; line-height: 1.3; }
.activity-prompt { max-width: 800px; margin: 0 0 16px; color: #375368; font-size: 15px; line-height: 1.6; }
.activity-instruction { margin: 0 0 12px; color: #467089; font-size: 14px; font-weight: 700; }
.activity-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.activity-options legend { margin-bottom: 11px; padding: 0; color: #467089; font-size: 14px; font-weight: 700; }
.activity-options label { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border: 1px solid #d6e4eb; border-radius: 8px; color: #314f63; background: #fff; font-size: 14px; line-height: 1.45; cursor: pointer; }
.activity-options label:hover, .activity-step-list button:hover { border-color: #70b5c6; }
.activity-options label:has(input:checked) { border-color: #238ea6; background: #e9f6f8; }
.activity-options input { flex: none; margin: 3px 0 0; accent-color: #147f99; }
.activity-options input:focus-visible { outline: 3px solid #28c3d8; outline-offset: 3px; }
.activity-sequence { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.activity-sequence h4 { margin: 0 0 9px; color: #2e627d; font-size: 14px; }
.activity-step-list { display: grid; align-content: start; gap: 7px; }
.activity-step-list button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid #d6e4eb; border-radius: 8px; color: #314f63; background: #fff; text-align: left; font-size: 14px; line-height: 1.4; cursor: pointer; }
.activity-step-list button span { flex: none; color: #228aa4; font-size: 18px; }
.activity-order { min-height: 100px; padding: 11px 13px; border: 1px dashed #b7d3df; border-radius: 8px; background: #fff; }
.activity-order h4 { margin: 0 0 10px; }
.activity-order > p { margin: 0; color: #6c8290; font-size: 14px; }
.activity-order ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.activity-order li { display: grid; grid-template-columns: 23px minmax(0,1fr) 26px; align-items: start; gap: 7px; color: #314f63; font-size: 13px; line-height: 1.4; }
.activity-order-number { color: #16839c; font-weight: 800; }
.activity-order li button { width: 24px; height: 24px; border: 0; border-radius: 5px; color: #6a8390; background: #edf5f8; font-size: 18px; line-height: 1; cursor: pointer; }
.activity-order li button:hover { color: #9c3f35; background: #fbeeed; }
.activity-actions { margin-top: 17px; }
.activity-actions button, .activity-feedback button { padding: 10px 14px; border: 1px solid #0d6d8c; border-radius: 7px; color: #fff; background: #0c7395; font-size: 14px; font-weight: 700; cursor: pointer; }
.activity-actions button:hover, .activity-feedback button:hover { background: #075a7b; }
.activity-error { margin: 13px 0 0; color: #a04337; font-size: 14px; font-weight: 700; }
.activity-feedback:not([hidden]) { margin-top: 15px; padding: 13px 15px; border: 1px solid #b4d9cd; border-radius: 8px; background: #eef8f2; color: #1c6253; }
.activity-feedback.is-wrong:not([hidden]) { border-color: #e7c9a8; background: #fff8ee; color: #80572f; }
.activity-feedback strong { font-size: 15px; }
.activity-feedback p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; }
.activity-feedback button { margin-top: 11px; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.resource-card { display: grid; grid-template-columns: 49px minmax(0,1fr) 18px; align-items: start; gap: 14px; min-height: 103px; padding: 16px; border: 1px solid #d6e4ed; border-radius: 12px; color: var(--ink); background: #fff; text-decoration: none; }
.resource-card:hover { border-color: #49a8c2; background: #f9fdff; box-shadow: 0 8px 22px rgba(26,89,125,.07); }
.resource-format { display: grid; place-items: center; height: 40px; border-radius: 8px; color: #0b668e; background: #e3f2f8; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.resource-copy { min-width: 0; }
.resource-copy strong { display: block; font-size: 15px; line-height: 1.35; }
.resource-copy small { display: block; margin-top: 7px; color: #60778b; font-size: 12px; line-height: 1.45; }
.resource-meta { display: block; margin-top: 8px; color: #7990a2; font-size: 12px; font-weight: 700; }
.resource-arrow { color: #2a91b5; font-size: 19px; line-height: 1; }
.practice-panel { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 18px; margin-top: 34px; padding: 26px 29px; border: 1px solid #abdce2; border-radius: 16px; background: linear-gradient(118deg, #ddf5f6, #edf8fb 66%, #f8fdff); }
.practice-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; color: #fff; background: #168aa2; font-size: 25px; }
.practice-panel h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.03em; }
.practice-panel p { max-width: 740px; margin: 0; font-size: 16px; line-height: 1.55; }
.practice-output { display: inline-block; margin-top: 17px; padding: 8px 11px; border-radius: 8px; color: #1d576a; background: #fff; font-size: 14px; line-height: 1.45; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.case-card { padding: 19px 21px; border: 1px solid #d6e4ed; border-radius: 12px; background: #fff; }
.case-card > span { color: #2581a3; font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.case-card h3 { margin: 7px 0 8px; font-size: 18px; }
.case-card p { margin: 0; color: #4f6475; font-size: 14px; line-height: 1.55; }
.official-outline { margin-top: 34px; border: 1px solid #d5e4ed; border-radius: 13px; background: #fff; }
.official-outline summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 21px; color: #265a7a; font-size: 16px; font-weight: 750; cursor: pointer; list-style: none; }
.official-outline summary::-webkit-details-marker { display: none; }
.official-outline summary span { color: #2f9bba; font-size: 25px; line-height: 1; transition: transform .2s; }
.official-outline[open] summary span { transform: rotate(180deg); }
.official-outline ol { display: grid; gap: 0; padding: 0 21px 12px; margin: 0; list-style: none; }
.official-outline li { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 10px; padding: 14px 0; border-top: 1px solid #edf2f6; color: #435e72; font-size: 14px; line-height: 1.55; }
.official-outline li strong { color: #2485a7; }
.quiz-section { scroll-margin-top: 18px; margin-top: 42px; padding: 28px; border: 1px solid #cbdfe9; border-radius: 17px; background: #fff; box-shadow: 0 12px 33px rgba(29,80,113,.045); }
.quiz-heading { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #e0eaf0; }
.quiz-heading h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: -.035em; }
.quiz-heading p { margin: 0; color: #597185; font-size: 14px; line-height: 1.5; }
.quiz-count { flex: none; align-self: start; padding: 8px 10px; border-radius: 7px; color: #177c96; background: #e5f5f7; font-size: 12px; font-weight: 800; white-space: nowrap; }
.quiz-question { margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid #e4edf2; }
.quiz-question legend { display: flex; align-items: start; gap: 13px; float: left; width: 100%; padding: 0; margin: 0 0 15px; font-size: 17px; font-weight: 700; line-height: 1.45; }
.quiz-question legend span { flex: none; color: #188aa5; font-size: 13px; font-weight: 800; line-height: 1.85; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; clear: both; }
.quiz-option { display: flex; align-items: flex-start; gap: 10px; min-height: 55px; padding: 11px; border: 1px solid #d9e6ee; border-radius: 9px; color: #365369; background: #fbfdfe; font-size: 14px; line-height: 1.4; cursor: pointer; }
.quiz-option:hover { border-color: #75b8d1; }
.quiz-option:has(input:checked) { border-color: #2f9fc0; background: #eaf8fb; }
.quiz-option.is-correct, .quiz-option.is-correct:has(input:checked) { border-color: #48aa87; background: #e9f7f0; }
.quiz-option.is-wrong, .quiz-option.is-wrong:has(input:checked) { border-color: #d9a3a3; background: #fff0f0; }
.quiz-option input { flex: none; margin: 4px 0 0; accent-color: #087ca1; }
.option-letter { flex: none; color: #197c9c; font-weight: 800; }
.quiz-explanation { margin: 13px 0 0 27px; color: #455e70; font-size: 14px; line-height: 1.5; }
.quiz-explanation strong { color: #226c81; }
.quiz-error { color: #aa4c38; font-size: 14px; font-weight: 700; }
.quiz-submit { margin-top: 22px; padding: 13px 19px; border: 0; border-radius: 9px; color: #fff; background: #0b6c98; font-size: 15px; font-weight: 750; cursor: pointer; }
.quiz-submit:hover { background: #07567b; }
.quiz-result { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 19px; padding: 14px 17px; border: 1px solid #93d0c6; border-radius: 9px; color: #195e5c; background: #e7f8f3; font-size: 14px; line-height: 1.5; }
.quiz-result strong { font-size: 18px; }

@media (max-width: 1070px) {
  .resource-grid, .quiz-options { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .lesson-hero { padding-block: 29px; }
  .hero-intro { font-size: 15px; }
  .outcome-grid, .outcome-grid-two, .case-grid { grid-template-columns: 1fr; }
  .outcome-card { min-height: 0; gap: 9px; }
  .practice-panel { grid-template-columns: 1fr; padding: 22px; }
  .quiz-section { padding: 20px; }
  .lecture-chapter summary { grid-template-columns: 34px minmax(0,1fr) 20px; gap: 10px; padding: 15px; font-size: 16px; }
  .chapter-body { padding: 3px 18px 15px; }
  .inline-activity { padding: 20px; }
  .activity-sequence { grid-template-columns: 1fr; }
  .quiz-heading { display: block; }
  .quiz-count { display: inline-block; margin-top: 13px; }
}

@media (max-width: 520px) {
  .section-block { margin-top: 29px; }
  .section-heading { font-size: 21px; }
  .resource-card { grid-template-columns: 43px minmax(0,1fr) 16px; gap: 10px; padding: 14px; }
  .practice-panel h2 { font-size: 21px; }
  .quiz-question legend { font-size: 16px; }
  .quiz-option { font-size: 14px; }
}

/* A separate, one-question-at-a-time test path */
.test-start-panel { display: grid; grid-template-columns: 55px minmax(0,1fr) auto; align-items: center; gap: 19px; margin-top: 34px; padding: 25px 28px; border: 1px solid #9bd5df; border-radius: 16px; background: linear-gradient(105deg, #e0f6f8, #f5fcfd); }
.test-start-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 13px; color: #fff; background: #0d7f9b; font-size: 20px; font-weight: 800; }
.test-start-panel .section-label { margin-bottom: 5px; }
.test-start-panel h2 { margin: 0 0 5px; color: #173e59; font-size: 23px; letter-spacing: -.03em; }
.test-start-panel p { margin: 0; color: #4f6e80; font-size: 14px; line-height: 1.5; }
.test-start-panel button, .test-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid #0c6c8b; border-radius: 9px; color: #fff; background: #0c7395; font-size: 15px; font-weight: 750; cursor: pointer; }
.test-start-panel button:hover, .test-primary:hover { background: #075a7b; }
.test-start-panel button span { font-size: 20px; line-height: 1; }
.main-content:has(.test-screen) { padding-top: 16px; }
.main-content:has(.test-question-card) { padding-bottom: 8px; }
.main-content:has(.test-screen) .page-heading, .main-content:has(.test-screen) .staff-shortcuts { display: none; }
.main-content:has(.test-question-card) .site-footer { display: none; }
.test-screen { max-width: 980px; margin: auto; }
.test-screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: #668399; font-size: 13px; font-weight: 750; }
.test-screen-bar button { padding: 4px 0; border: 0; color: #146786; background: transparent; font: inherit; cursor: pointer; }
.test-screen-bar button:hover { text-decoration: underline; }
.test-screen-heading { position: relative; overflow: hidden; padding: 15px 22px; border-radius: 10px; color: #fff; background: #123b5b; }
.test-screen-heading .section-label { position: relative; z-index: 1; color: #97e0e8; }
.test-screen-heading h1 { position: relative; z-index: 1; max-width: 920px; margin: 0 0 3px; font-size: clamp(21px, 2vw, 27px); line-height: 1.22; letter-spacing: -.025em; }
.test-screen-heading p { position: relative; z-index: 1; max-width: 820px; margin: 0; color: #d4e9f3; font-size: 13px; line-height: 1.35; }
.test-screen:has(.test-question-card) .test-screen-heading p { display: none; }
.test-screen-heading .section-label { margin-bottom: 3px; font-size: 10px; }
.test-progress { margin: 13px 0 12px; }
.test-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; color: #306783; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.test-progress > div:first-child strong { color: #0b8198; font-size: 13px; letter-spacing: 0; }
.test-progress-track { overflow: hidden; height: 6px; border-radius: 999px; background: #d7e8ef; }
.test-progress-track span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0d789c, #35bac6); transition: width .2s; }
.test-question-card { padding: 20px 23px 18px; border: 1px solid #d1e2ec; border-radius: 10px; background: #fff; box-shadow: 0 8px 20px rgba(27,77,110,.04); }
.test-question-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.test-question-card legend { width: 100%; margin: 0 0 14px; padding: 0; color: #173b57; font-size: clamp(19px, 1.85vw, 24px); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.test-question-card legend span { display: block; margin-bottom: 4px; color: #1687a0; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.test-answer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.test-answer { display: grid; grid-template-columns: 18px 29px minmax(0,1fr); align-items: center; gap: 8px; min-height: 66px; padding: 10px 12px; border: 1px solid #d9e5ed; border-radius: 8px; color: #2e4d62; background: #fbfdfe; font-size: 14px; line-height: 1.35; cursor: pointer; }
.test-answer:hover { border-color: #85c4d4; background: #f4fbfd; }
.test-answer:has(input:checked) { border-color: #239eb4; color: #16465b; background: #e9f8fa; box-shadow: inset 3px 0 #1e9bb2; }
.test-answer input { margin: 0; accent-color: #087c9f; }
.test-answer-letter { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; color: #187d99; background: #e8f4f8; font-size: 13px; font-weight: 800; }
.test-answer:has(input:checked) .test-answer-letter { color: #fff; background: #168da9; }
.test-error { margin: 17px 0 0; color: #a04337; font-size: 14px; font-weight: 700; }
.test-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e6eef3; }
.test-step-actions .test-primary, .test-step-actions .test-secondary { min-height: 42px; padding: 8px 15px; }
.test-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 17px; border: 1px solid #bad3e0; border-radius: 9px; color: #235e7c; background: #f6fbfd; font-size: 14px; font-weight: 750; cursor: pointer; }
.test-secondary:hover { border-color: #65abc5; background: #eaf6fa; }
.test-result { margin-top: 26px; padding: 33px 37px; border: 1px solid #9bcfc7; border-radius: 17px; color: #164a57; background: linear-gradient(112deg, #e4f7f1, #f4fcfa); }
.test-result-kicker { display: block; margin-bottom: 8px; color: #1b8183; font-size: 12px; font-weight: 800; letter-spacing: .11em; }
.test-result > strong { display: block; color: #136e74; font-size: 60px; line-height: 1; letter-spacing: -.06em; }
.test-result > strong small { color: #668c8e; font-size: 25px; letter-spacing: 0; }
.test-result h2 { margin: 14px 0 6px; font-size: 26px; }
.test-result p { margin: 0; font-size: 15px; line-height: 1.55; }
.test-result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.test-review { margin-top: 31px; }
.test-review h2 { margin: 0 0 15px; color: #1c435f; font-size: 22px; }
.test-review-item { margin-top: 9px; border: 1px solid #d3e3eb; border-radius: 10px; background: #fff; }
.test-review-item summary { display: grid; grid-template-columns: 31px 110px minmax(0,1fr); gap: 11px; align-items: start; padding: 16px 19px; color: #405d70; font-size: 14px; line-height: 1.45; cursor: pointer; list-style: none; }
.test-review-item summary::-webkit-details-marker { display: none; }
.test-review-item summary > span:first-child { color: #18869e; font-weight: 800; }
.test-review-item summary strong { color: #1e7182; }
.test-review-item > div { padding: 0 20px 17px 61px; color: #496274; font-size: 14px; line-height: 1.55; }
.test-review-item > div p { margin: 10px 0 0; }

@media (max-width: 760px) {
  .test-start-panel { grid-template-columns: 45px minmax(0,1fr); padding: 21px; }
  .test-start-icon { width: 44px; height: 44px; font-size: 16px; }
  .test-start-panel button { grid-column: 1 / -1; justify-self: start; }
  .test-screen-heading { padding: 13px 17px; }
  .test-question-card { padding: 18px 17px; }
  .test-answer { font-size: 14px; }
  .test-review-item summary { grid-template-columns: 26px minmax(0,1fr); }
  .test-review-item summary > span:last-child { grid-column: 2; }
  .test-review-item > div { padding-left: 20px; }
}

@media (max-width: 520px) {
  .test-screen-bar { font-size: 12px; }
  .test-screen-heading { padding: 11px 14px; }
  .test-screen-heading h1 { font-size: 20px; }
  .test-question-card { padding: 15px 13px; }
  .test-question-card legend { font-size: 18px; }
  .test-answer-list { grid-template-columns: 1fr; gap: 6px; }
  .test-answer { grid-template-columns: 16px 26px minmax(0,1fr); gap: 8px; min-height: 46px; padding: 7px 10px; font-size: 14px; }
  .test-answer-letter { width: 26px; height: 26px; }
  .test-step-actions { flex-wrap: wrap; }
  .test-step-actions .test-primary { margin-left: auto; }
  .test-result { padding: 26px 23px; }
}

/* Course registration and organizer roster */
.registration-screen { max-width: 940px; margin: auto; }
.registration-heading { padding: 23px 27px; border-left: 4px solid #168ca5; border-radius: 0 10px 10px 0; background: #fff; }
.registration-heading h1 { margin: 7px 0 8px; color: #102c48; font-size: clamp(27px, 3vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.registration-heading p { margin: 0; color: #587185; font-size: 15px; line-height: 1.55; }
.registration-roster-button { margin-top: 17px; padding: 9px 13px; border: 1px solid #a9cddd; border-radius: 7px; color: #0b627f; background: #f4fbfd; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.registration-roster-button:hover { border-color: #55a6ba; background: #e9f7fa; }
.registration-course { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 16px; margin: 18px 0 24px; padding: 15px 19px; border: 1px solid #cbdee7; border-radius: 10px; background: #eaf4f8; }
.registration-course-mark { display: grid; place-items: center; height: 43px; border-radius: 8px; color: #fff; background: #123d5c; font-size: 13px; font-weight: 800; }
.registration-course strong { display: block; margin-bottom: 3px; color: #28546b; font-size: 13px; }
.registration-course p { margin: 0; color: #1d3d55; font-size: 14px; line-height: 1.4; }
.registration-course-meta { color: #47738c; font-size: 12px; font-weight: 800; white-space: nowrap; }
.registration-form { padding: 26px 30px 30px; border: 1px solid #d1e2eb; border-radius: 12px; background: #fff; }
.registration-form-intro { margin-bottom: 22px; }
.registration-form-intro h2 { margin: 0 0 5px; color: #173b55; font-size: 23px; letter-spacing: -.025em; }
.registration-form-intro p { margin: 0; color: #627b8d; font-size: 14px; line-height: 1.5; }
.registration-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 20px; }
.registration-field { display: grid; align-content: start; gap: 7px; color: #2a4d64; font-size: 14px; font-weight: 700; }
.registration-field b { color: #a0413e; }
.registration-field-wide { grid-column: 1 / -1; }
.registration-field input, .registration-field textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #bfcfda; border-radius: 8px; color: #173b55; background: #fff; font: inherit; font-weight: 400; line-height: 1.4; }
.registration-field input:focus, .registration-field textarea:focus { outline: 3px solid #b4e7ee; border-color: #1787a4; }
.registration-field textarea { resize: vertical; }
.registration-consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; color: #405e71; font-size: 14px; line-height: 1.55; cursor: pointer; }
.registration-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #147f99; }
.registration-form-error { margin: 16px 0 0; color: #a04337; font-size: 14px; font-weight: 700; }
.registration-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-top: 21px; border-top: 1px solid #e4edf2; }
.registration-form-actions > span { color: #6f8594; font-size: 13px; }
.registration-primary, .registration-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 45px; padding: 11px 18px; border: 1px solid #0d6d8c; border-radius: 8px; color: #fff; background: #0c7395; font-size: 14px; font-weight: 750; cursor: pointer; }
.registration-primary:hover, .registration-secondary:hover { background: #075a7b; }
.registration-primary:disabled { opacity: .6; cursor: wait; }
.registration-secondary { margin-top: 21px; }
.registration-success { display: flex; align-items: flex-start; gap: 17px; margin-top: 20px; padding: 25px; border: 1px solid #acd5c6; border-radius: 12px; color: #245b4c; background: #eff9f3; }
.registration-success > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #fff; background: #3d997a; font-size: 23px; }
.registration-success strong { font-size: 20px; }
.registration-success p { max-width: 650px; margin: 6px 0 13px; font-size: 15px; line-height: 1.55; }
.registration-success code { display: inline-block; padding: 7px 10px; border: 1px solid #b9d8c9; border-radius: 6px; color: #174b44; background: #fff; font-size: 13px; overflow-wrap: anywhere; }
.registration-admin-content { margin-top: 20px; }
.registration-loading, .registration-admin-error, .registration-empty { padding: 22px; border: 1px solid #d1e2eb; border-radius: 10px; color: #567082; background: #fff; }
.registration-admin-error a { display: inline-block; margin-left: 5px; color: #0a6f94; font-weight: 750; }
.registration-admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.registration-admin-toolbar p { margin: 0; color: #4e6d80; font-size: 14px; }
.registration-admin-toolbar strong { color: #123d5b; font-size: 22px; }
.registration-admin-toolbar button { padding: 9px 12px; border: 1px solid #b5d2df; border-radius: 7px; color: #235d77; background: #fff; font-size: 13px; font-weight: 750; cursor: pointer; }
.registration-admin-toolbar button:hover { border-color: #499ab3; }
.registration-admin-toolbar button:disabled { opacity: .55; cursor: default; }
.registration-records { display: grid; gap: 12px; }
.registration-record { padding: 20px 22px; border: 1px solid #d3e2ea; border-radius: 11px; background: #fff; }
.registration-record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.registration-record-date { color: #7a90a0; font-size: 12px; font-weight: 750; }
.registration-record h2 { margin: 3px 0 4px; color: #173b56; font-size: 20px; }
.registration-record-head p { margin: 0; color: #5d7586; font-size: 14px; }
.registration-status { flex: none; padding: 6px 9px; border-radius: 6px; color: #306f83; background: #e9f5f8; font-size: 12px; font-weight: 800; }
.registration-status-approved, .registration-status-primary { color: #1a6851; background: #e5f6ed; }
.registration-status-declined { color: #8e4d45; background: #fceeea; }
.registration-record-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 16px 0; padding: 15px 0; border-top: 1px solid #e6edf1; border-bottom: 1px solid #e6edf1; }
.registration-record-body p { display: grid; align-content: start; gap: 3px; margin: 0; color: #3f5d70; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.registration-record-body strong { color: #275573; font-size: 12px; }
.registration-record-body a { color: #0b6d91; }
.registration-record details { color: #4c6577; font-size: 14px; }
.registration-record summary { color: #216988; font-weight: 750; cursor: pointer; }
.registration-record details p { margin: 8px 0 0; line-height: 1.55; }
.registration-status-control { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: #315770; font-size: 13px; font-weight: 750; }
.registration-status-control select { min-height: 36px; padding: 5px 9px; border: 1px solid #b5d1df; border-radius: 6px; color: #234d64; background: #fff; font: inherit; cursor: pointer; }
.registration-admin-message:not([hidden]) { padding: 10px 13px; border-radius: 7px; color: #255b70; background: #e6f4f7; font-size: 14px; }

/* Course overview, in-page plan and registration sources */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.info-page { max-width: 940px; margin: auto; }
.info-heading { padding: 24px 28px 25px; border: 1px solid #d2e2ec; border-radius: 11px; background: #fff; }
.info-heading h1 { max-width: 760px; margin: 8px 0 11px; color: var(--navy); font-size: clamp(28px, 3.1vw, 39px); line-height: 1.2; letter-spacing: -.035em; }
.info-heading p { max-width: 800px; margin: 0; color: #526b7c; font-size: 15px; line-height: 1.65; }
.about-intro { padding: 10px 0 32px; border-bottom: 1px solid #cbdce6; }
.about-intro h1 { max-width: 820px; margin: 13px 0 22px; color: var(--navy); font-size: clamp(29px, 3.1vw, 39px); line-height: 1.18; letter-spacing: -.035em; }
.about-intro p { max-width: 820px; margin: 0 0 12px; color: #3b5366; font-size: 16px; line-height: 1.7; }
.about-intro p:last-of-type { margin-bottom: 0; }
.about-intro .content-edit-button { margin-top: 20px; }
.about-basis { margin: 0 0 23px; padding: 19px 23px; border-left: 3px solid #2497ac; background: #eaf5f8; }
.about-basis .section-label { margin-bottom: 8px; }
.about-intro .about-basis p { max-width: none; margin: 0; color: #254960; font-size: 15px; line-height: 1.65; }
.about-basis strong { color: #123f5c; }
.about-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 25px; }
.about-detail { padding: 22px 23px 24px; border: 1px solid #d5e3ea; border-radius: 9px; background: #fff; }
.about-detail-wide { grid-column: 1 / -1; }
.about-detail h2 { margin: 7px 0 10px; color: var(--navy); font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.about-detail p { margin: 0; color: #466177; font-size: 15px; line-height: 1.65; }
.about-trainers { padding: 0; }
.about-trainers-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.about-trainers h1 { margin: 9px 0 10px; color: var(--navy); font-size: clamp(27px, 2.7vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.about-trainers-head p { max-width: 660px; margin: 0; color: #50697a; font-size: 15px; line-height: 1.6; }
.about-trainers-count { display: flex; align-items: baseline; gap: 6px; flex: none; color: var(--navy); font-size: 40px; font-weight: 750; line-height: 1; letter-spacing: -.05em; }
.about-trainers-count span { color: #587286; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.about-trainer-table-wrap { margin-top: 25px; overflow-x: auto; border: 1px solid #d5e4eb; border-radius: 10px; background: #fff; }
.about-trainer-table-wrap:focus-visible { outline: 3px solid #168bad; outline-offset: 3px; }
.about-trainer-table { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; }
.trainer-col-number { width: 56px; }
.trainer-col-name { width: 23%; }
.trainer-col-organization { width: 26%; }
.about-trainer-table th, .about-trainer-table td { padding: 14px 16px; border-bottom: 1px solid #e0eaf0; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.about-trainer-table thead th { color: #28617b; background: #edf5f9; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.about-trainer-table tbody th { color: #183950; font-size: 14px; font-weight: 750; line-height: 1.5; }
.about-trainer-table tbody td { color: #365369; font-size: 14px; line-height: 1.5; }
.about-trainer-table tbody td:first-child { color: #47809a; font-size: 12px; font-weight: 800; }
.about-trainer-table tbody tr:last-child > * { border-bottom: 0; }
.about-trainer-table tbody tr:hover > * { background: #f7fbfd; }
.about-trainer-scroll-note { display: none; margin: 8px 0 0; color: #617b8b; font-size: 12px; }
.about-source { margin: 22px 0 0; color: #6c8291; font-size: 12px; line-height: 1.55; }

/* Verified official documents and the admin attachment form */
.official-docs-page { min-width: 0; }
.official-docs-heading { padding: 6px 0 22px; border-bottom: 1px solid #cbdce6; }
.official-docs-heading h1 { margin: 8px 0 10px; color: var(--navy); font-size: clamp(29px, 3.1vw, 39px); line-height: 1.2; letter-spacing: -.035em; }
.official-docs-heading p { max-width: 82ch; margin: 0; color: #526b7c; font-size: 15px; line-height: 1.65; }
.official-docs-table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid #d5e4eb; border-radius: 9px; background: #fff; }
.official-docs-table-wrap:focus-visible { outline: 3px solid #168bad; outline-offset: 3px; }
.official-docs-table { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.official-docs-table th, .official-docs-table td { padding: 15px 16px; border-bottom: 1px solid #e0eaf0; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.official-docs-table thead th { color: #28617b; background: #edf5f9; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.official-docs-table tbody td { color: #365369; font-size: 14px; line-height: 1.5; }
.official-docs-table tbody th { color: #173b55; font-size: 14px; font-weight: 750; line-height: 1.5; }
.official-docs-table tbody td:first-child { width: 56px; color: #47809a; font-size: 12px; font-weight: 800; }
.official-docs-table thead th:nth-child(1) { width: 56px; }
.official-docs-table thead th:nth-child(2) { width: 125px; }
.official-docs-table thead th:nth-child(3) { width: 140px; }
.official-docs-table thead th:nth-child(5) { width: 150px; }
.official-docs-table tbody tr:last-child > * { border-bottom: 0; }
.official-docs-table tbody tr:hover > * { background: #f7fbfd; }
.official-docs-table a { color: #0a7196; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.official-docs-table a:hover { color: #064f75; }
.official-docs-note, .official-docs-status, .official-docs-scroll-note { color: #617b8b; font-size: 13px; line-height: 1.55; }
.official-docs-note { margin: 15px 0 0; }
.official-docs-status { margin: 12px 0 0; }
.official-docs-status[hidden] { display: none; }
.official-docs-status.is-error { color: #9a4d42; }
.official-docs-scroll-note { display: none; margin: 14px 0 0; }
.official-docs-admin { margin-top: 30px; padding: 23px; border: 1px solid #cadfe9; border-radius: 9px; background: #fff; }
.official-docs-admin h2 { margin: 0 0 7px; color: var(--navy); font-size: 21px; line-height: 1.3; }
.official-docs-admin > p { margin: 0 0 20px; color: #60798a; font-size: 13px; line-height: 1.55; }
.official-docs-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; }
.official-docs-field { display: grid; align-content: start; gap: 6px; min-width: 0; color: #315770; font-size: 13px; font-weight: 750; }
.official-docs-field input, .official-docs-field select { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #bbcfda; border-radius: 6px; color: #193e57; background: #fff; font: inherit; font-weight: 400; }
.official-docs-field input[type="file"] { padding: 7px; font-size: 12px; }
.official-docs-field input:focus-visible, .official-docs-field select:focus-visible { outline: 3px solid #b4e7ee; border-color: #1787a4; }
.official-docs-field-wide { grid-column: 1 / -1; }
.official-docs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; grid-column: 1 / -1; }
.official-docs-table .official-docs-actions { gap: 5px; margin-top: 8px; }
.official-docs-table .official-docs-actions button { min-height: 29px; padding: 5px 7px; font-size: 11px; }
.official-docs-file-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e4edf2; }
.official-docs-actions button, .official-docs-admin button { min-height: 38px; padding: 8px 13px; border: 1px solid #b7d0dd; border-radius: 6px; color: #155b79; background: #f5fafc; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.official-docs-actions button[type="submit"] { border-color: #0b7897; color: #fff; background: #0c7395; }
.official-docs-actions button:hover, .official-docs-admin button:hover { filter: brightness(.95); }
.official-docs-actions button:disabled, .official-docs-admin button:disabled { opacity: .5; cursor: wait; }
@media (min-width: 1101px) {
  .main-content { --content-side-gap: min(7cm, max(24px, calc(50% - 525px))); padding-inline: var(--content-side-gap); }
  #lesson-content, .page-heading, .staff-shortcuts, .site-footer, .info-page, .registration-screen, .test-screen { max-width: none; }
}
.plan-outline { display: grid; gap: 10px; margin-top: 18px; }
.info-page > .sr-only + .plan-outline { margin-top: 0; }
.plan-module { overflow: hidden; border: 1px solid #d1e2eb; border-radius: 10px; background: #fff; }
.plan-module > summary { display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 14px; padding: 17px 20px; list-style: none; cursor: pointer; }
.plan-module > summary::-webkit-details-marker { display: none; }
.plan-module-number { color: #1484a2; font-size: 18px; font-weight: 800; }
.plan-module summary strong { display: block; color: #173b57; font-size: 15px; line-height: 1.45; }
.plan-module summary small { display: block; margin-top: 4px; color: #658092; font-size: 12px; font-weight: 700; }
.plan-module-caret { color: #53839a; font-size: 20px; transition: transform .2s; }
.plan-module[open] .plan-module-caret { transform: rotate(180deg); }
.plan-module-topics { padding: 0 20px 10px 72px; border-top: 1px solid #e6eef2; }
.plan-topic { padding: 16px 0; }
.plan-topic + .plan-topic { border-top: 1px solid #e6eef2; }
.plan-topic-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.plan-topic-heading button { display: flex; align-items: baseline; gap: 9px; padding: 0; border: 0; color: #164968; background: transparent; text-align: left; cursor: pointer; }
.plan-topic-heading button:hover strong { text-decoration: underline; }
.plan-topic-heading button span { flex: none; color: #1687a3; font-size: 13px; font-weight: 800; }
.plan-topic-heading button strong { font-size: 14px; line-height: 1.45; }
.plan-topic-heading small { flex: none; color: #6b8290; font-size: 12px; white-space: nowrap; }
.plan-topic ol { display: grid; gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }
.plan-topic li { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 8px; color: #597386; font-size: 13px; line-height: 1.5; }
.plan-topic li span { color: #3183a0; font-weight: 750; }
.plan-final { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 12px; padding: 18px 21px; border: 1px solid #bcdbe6; border-radius: 9px; background: #eaf5f9; }
.plan-final > span { grid-column: 1 / -1; color: #25819e; font-size: 11px; font-weight: 850; letter-spacing: .09em; }
.plan-final strong { color: #17415b; font-size: 15px; }
.plan-final small { color: #617b8c; font-size: 12px; }
.plan-final button { grid-column: 2; grid-row: 2 / 4; padding: 7px 10px; border: 1px solid #add0dd; border-radius: 6px; color: #155c7b; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.plan-source { margin: 16px 2px 0; color: #60798a; font-size: 13px; line-height: 1.5; }
.plan-source a { color: #0a6f94; font-weight: 700; }
.plan-editor { margin-top: 25px; border: 1px solid #c8dce7; border-radius: 10px; background: #fff; }
.plan-editor > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; list-style: none; cursor: pointer; }
.plan-editor > summary::-webkit-details-marker { display: none; }
.plan-editor > summary strong { display: block; color: #123e5c; font-size: 15px; }
.plan-editor > summary small { display: block; margin-top: 4px; color: #688394; font-size: 12px; }
.plan-editor > summary > span:last-child { color: #3385a0; font-size: 22px; transition: transform .2s; }
.plan-editor[open] > summary > span:last-child { transform: rotate(180deg); }
.plan-editor-form { display: grid; gap: 18px; padding: 20px; border-top: 1px solid #e2edf2; }
.plan-editor-hint { margin: 0; color: #607b8e; font-size: 13px; line-height: 1.55; }
.plan-editor-module { min-width: 0; margin: 0; padding: 15px 17px 17px; border: 1px solid #d7e6ed; border-radius: 9px; }
.plan-editor-module legend { padding: 0 6px; color: #217d9b; font-size: 12px; font-weight: 850; letter-spacing: .06em; }
.plan-editor label { display: grid; gap: 6px; min-width: 0; color: #234d68; font-size: 12px; font-weight: 750; }
.plan-editor input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 11px; border: 1px solid #bfcfda; border-radius: 7px; color: #173c56; background: #fff; font: inherit; font-size: 14px; font-weight: 400; line-height: 1.35; }
.plan-editor input:focus { outline: 3px solid #b4e7ee; border-color: #1787a4; }
.plan-editor-topics { display: grid; gap: 10px; margin-top: 15px; }
.plan-editor-topic { display: grid; grid-template-columns: minmax(0, 1fr) 128px; align-items: end; gap: 12px; }
.plan-editor-module-total { margin: 13px 0 0; color: #55758b; font-size: 13px; font-weight: 750; }
.plan-editor-module-total output { color: #154b6a; }
.plan-editor-final { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid #cfe2ea; border-radius: 8px; background: #f5fafc; }
.plan-editor-final label { width: min(100%, 260px); }
.plan-editor-final strong { padding-bottom: 10px; color: #174b68; font-size: 14px; white-space: nowrap; }
.plan-editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.plan-editor-actions button { padding: 10px 15px; border: 1px solid #126e91; border-radius: 7px; color: #fff; background: #126e91; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.plan-editor-actions button:hover { background: #0e5775; }
.plan-editor-actions button:disabled { opacity: .6; cursor: wait; }
.plan-editor-message { margin: 0; color: #1d765e; font-size: 13px; line-height: 1.4; }
.plan-editor-message.is-error { color: #a44235; }
.plan-upload-bottom { margin-top: 28px; }
@media (max-width: 650px) {
  .plan-editor > summary, .plan-editor-form { padding: 15px; }
  .plan-editor-topic { grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; }
  .plan-editor-module { padding: 13px; }
  .plan-editor-final { display: grid; gap: 12px; padding: 14px; }
  .plan-editor-final strong { padding: 0; }
}
.registration-field select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #bfcfda; border-radius: 8px; color: #173b55; background: #fff; font: inherit; font-weight: 400; line-height: 1.4; }
.registration-field select:focus { outline: 3px solid #b4e7ee; border-color: #1787a4; }
.registration-field select:disabled { color: #6f8491; background: #f5f8fa; }
.registration-options-error { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 11px 13px; border: 1px solid #e4b7ae; border-radius: 7px; color: #944d42; background: #fff6f4; font-size: 13px; }
.registration-options-error button, .registration-admin-error button { padding: 7px 10px; border: 1px solid #bdcfd9; border-radius: 6px; color: #265b78; background: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }
.registration-sources-content { margin-top: 20px; }
.source-groups { display: grid; gap: 16px; }
.source-group { padding: 22px; border: 1px solid #d1e2eb; border-radius: 10px; background: #fff; }
.source-group-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.source-group-heading h2 { margin: 5px 0 0; color: #173b55; font-size: 21px; }
.source-group-heading small { color: #608094; font-size: 12px; font-weight: 750; }
.source-add { display: flex; align-items: end; gap: 8px; margin-bottom: 14px; }
.source-add label { display: grid; flex: 1; gap: 5px; color: #4c6a7d; font-size: 12px; font-weight: 750; }
.source-add input, .source-item input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid #bfced8; border-radius: 6px; color: #193e57; background: #fff; font: inherit; font-size: 13px; }
.source-add button, .source-item button { min-height: 38px; padding: 7px 12px; border: 1px solid #b9d0dc; border-radius: 6px; color: #215c77; background: #f5fafc; font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.source-add button { border-color: #0f7696; color: #fff; background: #0c7395; }
.source-add button:hover, .source-item button:hover { filter: brightness(.95); }
.source-items { display: grid; gap: 6px; }
.source-item { display: flex; gap: 7px; align-items: center; padding: 7px; border: 1px solid #e0eaf0; border-radius: 7px; }
.source-item.is-inactive { background: #f6f8fa; }
.source-item.is-inactive input { color: #718391; background: #f6f8fa; }
.source-item form { display: flex; flex: 1; align-items: center; gap: 7px; min-width: 0; }
.source-item form label { flex: 1; min-width: 0; }
.source-item .source-toggle { min-width: 114px; }
.source-empty { margin: 6px 0; color: #6b8291; font-size: 13px; }
.registration-admin-message.is-error:not([hidden]) { color: #944d42; background: #fff0ec; }

@media (max-width: 1100px) {
  .about-trainer-scroll-note { display: block; margin-top: 20px; }
  .about-trainer-table-wrap { margin-top: 10px; }
}
@media (max-width: 760px) {
  .registration-fields, .registration-record-body { grid-template-columns: 1fr; }
  .registration-form { padding: 22px; }
  .official-docs-scroll-note { display: block; }
}
@media (max-width: 520px) {
  .registration-heading { padding: 18px 20px; }
  .registration-course { grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 13px; }
  .registration-course-meta { grid-column: 2; }
  .registration-form { padding: 20px 17px; }
  .registration-record { padding: 17px; }
  .registration-record-head { display: block; }
  .registration-status { display: inline-block; margin-top: 10px; }
  .registration-status-control { display: grid; }
  .registration-status-control select { width: 100%; }
  .info-heading { padding: 19px 20px; }
  .about-intro { padding-top: 4px; }
  .about-basis { padding: 16px 18px; }
  .about-detail-grid { grid-template-columns: 1fr; }
  .about-detail-wide { grid-column: auto; }
  .about-detail { padding: 18px 19px; }
  .about-trainers-head { gap: 10px; }
  .about-trainers-count { font-size: 31px; }
  .about-trainers-count span { font-size: 11px; }
  .official-docs-admin { padding: 18px; }
  .official-docs-form { grid-template-columns: 1fr; }
  .official-docs-field-wide, .official-docs-actions { grid-column: auto; }
  .plan-module > summary { padding: 14px; gap: 9px; }
  .plan-module-topics { padding: 0 14px 8px; }
  .plan-topic-heading { display: block; }
  .plan-topic-heading small { display: block; margin: 6px 0 0 34px; }
  .source-group { padding: 16px; }
  .source-item { display: grid; }
  .source-item .source-toggle { justify-self: end; }
}
