/*
Theme Name: Estudio Biblico
Theme URI: https://example.com/estudio-biblico
Author: Jose Sanchez
Description: Tema base para un sitio personal de estudio biblico catolico.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: estudio-biblico
*/

:root {
	--eb-color-ink: #111827;
	--eb-color-muted: #374151;
	--eb-color-line: #8793a1;
	--eb-color-line-soft: #e2e8f0;
	--eb-color-line-strong: #0b0f14;
	--eb-color-bg: #f7f9fc;
	--eb-color-surface: #f7f9fc;
	--eb-color-surface-soft: #e8eef6;
	--eb-color-inverse-bg: #0b0f14;
	--eb-color-inverse-fg: #ffffff;
	--eb-color-accent: #8f2f2f;
	--eb-color-accent-dark: #6f2424;
	--eb-color-active: #0b0f14;
	--eb-color-active-soft: #e2e8f0;
	--eb-color-active-line: #94a3b9;
	--eb-color-selected: #22c55e;
	--eb-color-selected-soft: #22c55e;
	--eb-color-selected-line: #16a34a;
	--eb-font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--eb-font-ui: Arial, sans-serif;
	--eb-radius-sm: 6px;
	--eb-radius-md: 8px;
	--eb-radius-pill: 999px;
	--eb-shadow-card: 0 8px 18px rgba(17, 24, 39, 0.04);
	--eb-shadow-shell: 0 1px 10px rgba(17, 24, 39, 0.05);
	--eb-space-1: 4px;
	--eb-space-2: 8px;
	--eb-space-3: 12px;
	--eb-space-4: 16px;
	--eb-space-5: 20px;
	--eb-space-6: 24px;
	--eb-action-icon-size: 34px;
	--eb-action-icon-glyph-size: 22px;
	--eb-inline-action-icon-size: 28px;
	--eb-inline-action-icon-glyph-size: 22px;
	--eb-action-icon-radius: var(--eb-radius-sm);
	--eb-action-icon-border: #0b0f14;
	--eb-action-icon-bg: #0b0f14;
	--eb-action-icon-fg: #ffffff;
	--eb-action-icon-hover-border: #0b0f14;
	--eb-action-icon-hover-bg: #ffffff;
	--eb-action-icon-hover-fg: #0b0f14;
	--eb-content-width: 1120px;
	--eb-sidebar-width: 68px;
	--eb-sidebar-expanded-width: 260px;
	--eb-header-height: 47px;
}

* {
	box-sizing: border-box;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

body {
	--eb-sidebar-current-width: var(--eb-sidebar-width);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--eb-color-bg);
	color: var(--eb-color-ink);
	font-family: var(--eb-font-body);
	font-size: 18px;
	line-height: 1.65;
	padding-left: var(--eb-sidebar-current-width);
	transition: padding-left 160ms ease;
}

body:has(> .study-sidebar-toggle:checked) {
	--eb-sidebar-current-width: var(--eb-sidebar-expanded-width);
}

a {
	color: var(--eb-color-accent-dark);
}

a:hover,
a:focus {
	color: var(--eb-color-accent);
}

.site-header,
.site-footer {
	background: #0b0f14;
	border-color: #0b0f14;
	border-style: solid;
	border-width: 0 0 1px;
	color: #ffffff;
}

.site-header {
	position: relative;
	z-index: 60;
	width: calc(100% + var(--eb-sidebar-current-width));
	margin-left: calc(var(--eb-sidebar-current-width) * -1);
	border-bottom-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 1px 10px rgba(17, 24, 39, 0.05);
	transition: width 160ms ease, margin-left 160ms ease;
}

.site-footer {
	position: relative;
	flex-shrink: 0;
	z-index: 56;
	width: calc(100% + var(--eb-sidebar-current-width));
	margin-left: calc(var(--eb-sidebar-current-width) * -1);
	border-width: 0;
	border-top-color: transparent;
	overflow: hidden;
	transition: width 160ms ease, margin-left 160ms ease;
}

.site-footer::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	content: "";
}

.site-footer__inner,
.site-main {
	width: min(100% - 32px, var(--eb-content-width));
	margin: 0 auto;
}

.site-header__inner {
	width: 100%;
	margin: 0 auto;
	padding: 10px clamp(16px, 3vw, 40px) 10px calc(var(--eb-sidebar-current-width) + clamp(16px, 3vw, 40px));
	transition: padding-left 160ms ease;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
}

.site-menu-toggle {
	position: fixed;
	top: calc((var(--eb-header-height) - var(--eb-action-icon-size)) / 2);
	left: 17px;
	z-index: 70;
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	border: 1px solid #ffffff;
	border-radius: var(--eb-action-icon-radius);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.site-menu-toggle .dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.site-menu-toggle__glyph {
	position: relative;
	display: block;
	width: 20px;
	height: 18px;
	color: currentColor;
}

.site-menu-toggle__glyph::before,
.site-menu-toggle__glyph::after {
	position: absolute;
	display: block;
	content: "";
}

.site-menu-toggle__glyph::before {
	display: none;
}

.site-menu-toggle__glyph::after {
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translate(-62%, -50%) rotate(45deg);
	transform-origin: center;
}

.study-sidebar-toggle:checked ~ .site-header .site-menu-toggle__glyph::after {
	left: 50%;
	border-top: 0;
	border-right: 0;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: translate(-38%, -50%) rotate(45deg);
}

.site-menu-toggle:hover,
.site-menu-toggle:focus-visible {
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.study-sidebar-toggle:checked ~ .site-header .site-menu-toggle {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

.study-sidebar-toggle:checked ~ .site-header .site-menu-toggle:hover,
.study-sidebar-toggle:checked ~ .site-header .site-menu-toggle:focus-visible {
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
}

.site-title {
	margin: 0;
	flex: 0 0 auto;
	margin-right: auto;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.site-title a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	text-decoration: none;
}

.brand-mark {
	display: inline-block;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	color: currentColor;
	vertical-align: middle;
}

.brand-mark__ring,
.brand-mark__page,
.brand-mark__spine,
.brand-mark__light {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.brand-mark__ring {
	stroke-width: 3;
}

.brand-mark__page,
.brand-mark__spine {
	stroke-width: 2.8;
}

.brand-mark__light {
	stroke-width: 2.4;
}

.brand-mark__core {
	fill: currentColor;
}

.brand-mark--header {
	width: 24px;
	height: 24px;
}

.site-user-menu {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: #ffffff;
}

.site-user-menu__name {
	overflow: hidden;
	max-width: min(26vw, 220px);
	color: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-user-menu__popover {
	position: relative;
}

.site-user-menu__trigger {
	display: grid;
	flex: 0 0 var(--eb-action-icon-size);
	place-items: center;
	box-sizing: border-box;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	min-width: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	border: 1px solid #ffffff;
	border-radius: var(--eb-action-icon-radius);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	list-style: none;
	padding: 0;
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.site-user-menu__trigger::-webkit-details-marker {
	display: none;
}

.site-user-menu__trigger::marker {
	content: "";
}

.site-user-menu__trigger .dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.site-user-menu__trigger .dashicons::before {
	display: block;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.site-user-menu__trigger:hover,
.site-user-menu__trigger:focus-visible,
.site-user-menu__popover[open] > .site-user-menu__trigger {
	border-color: #ffffff;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
	color: #0b0f14;
	outline: none;
}

.site-user-menu__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 90;
	display: grid;
	gap: 4px;
	width: max-content;
	min-width: 170px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--eb-radius-sm);
	background: #0b0f14;
	padding: 6px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.site-user-menu__panel a {
	display: block;
	border-radius: calc(var(--eb-radius-sm) - 2px);
	padding: 9px 10px;
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.site-user-menu__panel a:hover,
.site-user-menu__panel a:focus-visible {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.site-user-menu__panel::before {
	position: absolute;
	top: -6px;
	right: 12px;
	width: 10px;
	height: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	background: #0b0f14;
	content: "";
	transform: rotate(45deg);
}

.site-user-menu__panel a {
	position: relative;
	z-index: 1;
}

.site-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-navigation a {
	color: #ffffff;
	text-decoration: none;
}

.study-sidebar-toggle {
	position: fixed;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.study-sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 55;
	display: flex;
	flex-direction: column;
	width: 68px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
	background: #0b0f14;
	color: #ffffff;
	box-shadow: none;
	padding-top: var(--eb-header-height);
	transition: width 160ms ease;
}

.study-sidebar::after {
	position: absolute;
	top: 0;
	right: -1px;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.18);
	content: "";
	pointer-events: none;
}

body.admin-bar .study-sidebar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .study-sidebar {
		top: 46px;
	}
}

.study-sidebar-toggle:checked ~ .study-sidebar {
	width: var(--eb-sidebar-expanded-width);
}

.study-sidebar__item {
	display: flex;
	min-height: 46px;
	align-items: center;
	gap: 12px;
	border: 0;
	background: transparent;
	padding: 0 18px;
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.study-sidebar__nav {
	display: grid;
	gap: 2px;
	padding: 10px 0;
}

.study-sidebar .dashicons {
	display: grid;
	flex: 0 0 var(--eb-action-icon-size);
	place-items: center;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	border: 1px solid #ffffff;
	border-radius: 6px;
	background: transparent;
	color: #ffffff;
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.study-sidebar .dashicons::before {
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
}

.study-sidebar__label {
	overflow: hidden;
	max-width: 0;
	opacity: 0;
	text-overflow: ellipsis;
	transition: max-width 160ms ease, opacity 120ms ease;
}

.study-sidebar-toggle:checked ~ .study-sidebar .study-sidebar__label {
	max-width: 180px;
	opacity: 1;
}

.study-sidebar__item:hover,
.study-sidebar__item:focus-visible {
	background: transparent;
	color: #ffffff;
	outline: none;
}

.study-sidebar__item:hover .dashicons,
.study-sidebar__item:focus-visible .dashicons,
.study-sidebar__group[open] > summary .dashicons {
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.study-sidebar__item.is-disabled {
	color: #8a95a3;
	cursor: default;
}

.study-sidebar__item.is-disabled .dashicons {
	background: #f3f4f6;
	color: #8a95a3;
}

.study-sidebar__group {
	margin: 0;
}

.study-sidebar__group summary {
	list-style: none;
}

.study-sidebar__group summary::-webkit-details-marker {
	display: none;
}

.study-sidebar__submenu {
	display: grid;
	gap: 2px;
	padding: 0 8px 8px 18px;
}

.study-sidebar__subitem {
	display: block;
	overflow: hidden;
	max-width: 0;
	border-radius: 6px;
	padding: 8px 10px;
	color: rgba(255, 255, 255, 0.78);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 160ms ease, opacity 120ms ease;
}

.study-sidebar-toggle:checked ~ .study-sidebar .study-sidebar__subitem {
	max-width: 220px;
	opacity: 1;
}

.study-sidebar__subitem:hover,
.study-sidebar__subitem:focus {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.site-main {
	flex: 1 0 auto;
	padding: 40px 0 56px;
}

body.page-template-template-inicio .site-main,
body.page-template-template-inicio-php .site-main,
body.page-template-template-cursos .site-main,
body.page-template-template-cursos-php .site-main,
body.learning-bank-route .site-main,
body.page-template-template-evaluacion .site-main,
body.page-template-template-evaluacion-php .site-main,
body.page-template-template-relaciona-clasifica .site-main,
body.page-template-template-relaciona-clasifica-php .site-main,
body.page-template-template-clasifica-libros .site-main,
body.page-template-template-clasifica-libros-php .site-main,
body.page-template-template-potencias-historicas .site-main,
body.page-template-template-potencias-historicas-php .site-main,
body.page-template-template-ordenar-cronologia .site-main,
body.page-template-template-ordenar-cronologia-php .site-main,
body.page-template-template-explora-conexiones .site-main,
body.page-template-template-explora-conexiones-php .site-main,
body.page-template-template-biblioteca .site-main,
body.page-template-template-biblioteca-php .site-main,
body.page-template-template-glosario .site-main,
body.page-template-template-glosario-php .site-main,
body.profile-route .site-main {
	width: 100%;
	padding: 28px clamp(16px, 3vw, 40px) 56px;
}

body.page-template-template-inicio,
body.page-template-template-inicio-php,
body.page-template-template-cursos,
body.page-template-template-cursos-php,
body.learning-bank-route,
body.page-template-template-evaluacion,
body.page-template-template-evaluacion-php,
body.page-template-template-relaciona-clasifica,
body.page-template-template-relaciona-clasifica-php,
body.page-template-template-clasifica-libros,
body.page-template-template-clasifica-libros-php,
body.page-template-template-potencias-historicas,
body.page-template-template-potencias-historicas-php,
body.page-template-template-ordenar-cronologia,
body.page-template-template-ordenar-cronologia-php,
body.page-template-template-explora-conexiones,
body.page-template-template-explora-conexiones-php,
body.page-template-template-biblioteca,
body.page-template-template-biblioteca-php,
body.page-template-template-glosario,
body.page-template-template-glosario-php,
body.profile-route {
	padding-top: 0;
}

.entry {
	background: var(--eb-color-surface);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	padding: clamp(22px, 4vw, 42px);
}

.entry + .entry {
	margin-top: 24px;
}

.entry-title {
	margin-top: 0;
	line-height: 1.2;
}

.entry-meta {
	color: var(--eb-color-muted);
	font-size: 0.95rem;
}

.archive-header {
	margin-bottom: 24px;
	background: var(--eb-color-surface);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	padding: clamp(22px, 4vw, 42px);
}

.archive-header h1 {
	margin: 0;
	line-height: 1.1;
}

.archive-header p:last-child {
	max-width: 720px;
	margin: 10px 0 0;
	color: var(--eb-color-muted);
}

.site-footer__inner {
	display: grid;
	align-items: flex-start;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px 24px;
	width: 100%;
	margin: 0;
	padding: 22px clamp(16px, 3vw, 40px) 22px calc(var(--eb-sidebar-current-width) + clamp(16px, 3vw, 40px));
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.35;
	transition: padding-left 160ms ease;
}

.site-footer__brand {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.site-footer__identity {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
}

.brand-mark--footer {
	width: 26px;
	height: 26px;
}

.site-footer__brand strong {
	color: inherit;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.1;
}

.site-footer__brand span {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
}

.site-footer__brand .site-footer__notice {
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__nav {
	display: grid;
	justify-items: start;
	gap: 7px;
	margin-top: 10px;
	padding-top: 2px;
}

.site-footer__nav a {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
	outline: none;
}

.site-footer__copyright {
	position: relative;
	grid-column: 1 / -1;
	margin: 0;
	border-top: 0;
	padding-top: 12px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.8rem;
	font-weight: 550;
	line-height: 1.25;
	text-align: left;
}

.site-footer__copyright::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 1px;
	background: rgba(255, 255, 255, 0.14);
	content: "";
	transform: translateX(-50%);
}

.learning-page,
.timeline-page {
	display: grid;
	gap: 28px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.page-intro {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0 0 6px;
}

.page-intro h1 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.1;
}

.page-intro p {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 1rem;
	line-height: 1.5;
}

.navigation-level,
.module-header {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.navigation-level {
	overflow: hidden;
	max-width: 100%;
	min-width: 0;
}

.navigation-level__heading {
	max-width: 860px;
	margin: 0 0 22px;
	text-align: left;
}

.navigation-level__heading h1,
.module-header h1 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.1;
}

.navigation-level__heading p:last-child,
.module-header p {
	max-width: 820px;
	margin: 10px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
}

.timeline-note {
	max-width: 920px;
	margin: 0 0 26px;
	border-left: 4px solid var(--eb-color-accent-dark);
	background: #fafafa;
	padding: 12px 14px;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
}

.timeline-disclosure {
	display: grid;
	gap: 6px;
	max-width: 100%;
	min-width: 0;
}

.timeline-disclosure:not([open]) + .study-foundations {
	margin-top: -22px;
}

.timeline-disclosure > summary {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 10px;
	width: fit-content;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	color: var(--eb-color-ink);
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	list-style: none;
}

.timeline-disclosure > summary::-webkit-details-marker {
	display: none;
}

.timeline-disclosure > summary::before {
	width: 30px;
	height: 16px;
	background:
		radial-gradient(circle at 3px 50%, var(--eb-color-accent-dark) 0 3px, transparent 3.5px),
		radial-gradient(circle at 15px 50%, var(--eb-color-accent-dark) 0 3px, transparent 3.5px),
		radial-gradient(circle at 27px 50%, var(--eb-color-accent-dark) 0 3px, transparent 3.5px),
		linear-gradient(var(--eb-color-accent-dark), var(--eb-color-accent-dark)) 0 50% / 100% 2px no-repeat;
	content: "";
}

.timeline-disclosure > summary:hover,
.timeline-disclosure > summary:focus {
	color: var(--eb-color-ink);
	text-decoration: none;
}

.origin-timeline-disclosure > summary {
	justify-self: start;
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	background: #ffffff;
	padding: 10px 14px;
	font-weight: 500;
}

.origin-timeline {
	display: grid;
	gap: 18px;
}

.origin-timeline__heading {
	max-width: 820px;
}

.origin-timeline__heading h2 {
	margin: 0;
	font-size: 1.22rem;
	line-height: 1.2;
}

.origin-timeline__heading p {
	margin: 6px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.origin-timeline-tabs {
	display: grid;
	gap: 10px;
}

.origin-timeline-tabs__input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.origin-timeline-tabs__controls {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.origin-timeline-tabs__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 4px 0;
	color: var(--eb-color-muted);
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.2;
}

.origin-timeline-tabs__label:hover,
.origin-timeline-tabs__label:focus {
	color: var(--eb-color-ink);
}

.origin-timeline-tabs__switch {
	position: relative;
	display: inline-block;
	width: 34px;
	height: 18px;
	border-radius: 999px;
	background: #c7d0da;
	transition: background-color 140ms ease;
}

.origin-timeline-tabs__switch::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.25);
	content: "";
	transition: transform 140ms ease;
}

.origin-timeline-tabs__panel {
	display: none;
}

.origin-timeline-tabs__input--0:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--0,
.origin-timeline-tabs__input--1:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--1,
.origin-timeline-tabs__input--2:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--2 {
	border-color: var(--eb-color-accent-dark);
	background: transparent;
	color: var(--eb-color-ink);
	box-shadow: none;
}

.origin-timeline-tabs__input--0:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--0 .origin-timeline-tabs__switch,
.origin-timeline-tabs__input--1:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--1 .origin-timeline-tabs__switch,
.origin-timeline-tabs__input--2:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--2 .origin-timeline-tabs__switch {
	background: var(--eb-color-accent-dark);
}

.origin-timeline-tabs__input--0:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--0 .origin-timeline-tabs__switch::after,
.origin-timeline-tabs__input--1:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--1 .origin-timeline-tabs__switch::after,
.origin-timeline-tabs__input--2:checked ~ .origin-timeline-tabs__controls .origin-timeline-tabs__label--2 .origin-timeline-tabs__switch::after {
	transform: translateX(16px);
}

.origin-timeline-tabs__input--0:checked ~ .origin-timeline-tabs__stage .origin-timeline-tabs__panel--0,
.origin-timeline-tabs__input--1:checked ~ .origin-timeline-tabs__stage .origin-timeline-tabs__panel--1,
.origin-timeline-tabs__input--2:checked ~ .origin-timeline-tabs__stage .origin-timeline-tabs__panel--2 {
	display: grid;
	gap: 18px;
}

.timeline-scroll {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	contain: inline-size;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	padding-bottom: 8px;
	scrollbar-color: var(--eb-color-line) transparent;
	scrollbar-width: thin;
}

.timeline-scroll::-webkit-scrollbar {
	height: 6px;
}

.timeline-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.timeline-scroll::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: var(--eb-color-line);
}

.timeline-scroll:focus {
	outline: none;
}

.timeline-scroll:focus-visible {
	outline: 1px solid rgba(111, 36, 36, 0.25);
	outline-offset: 2px;
}

.timeline-scroll__inner {
	display: inline-block;
	width: 100%;
	max-width: none;
	min-width: 1120px;
	vertical-align: top;
}

.testament-band {
	display: grid;
	grid-template-columns: minmax(520px, 2.6fr) minmax(320px, 1fr);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	overflow: hidden;
}

.testament-band__segment {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 41px;
	padding: 0 clamp(18px, 3vw, 30px);
	color: #ffffff;
	text-align: center;
	text-decoration: none;
}

.testament-band__segment + .testament-band__segment {
	border-left: 3px solid rgba(255, 255, 255, 0.7);
}

.testament-band__segment strong {
	font-family: Arial, sans-serif;
	font-size: clamp(1rem, 1.7vw, 1.35rem);
	font-weight: 700;
	line-height: 1.1;
}

.testament-band__segment.is-old-testament {
	background: #7d2f2f;
}

.testament-band__segment.is-new-testament {
	background: #2f5d6a;
}

.testament-band__segment:hover,
.testament-band__segment:focus {
	color: #ffffff;
	filter: brightness(1.06);
}

.timeline-references {
	margin: 0 0 8px;
}

.timeline-references h2 {
	margin: 0 0 14px;
	font-family: Arial, sans-serif;
	font-size: 1.05rem;
}

.timeline-reference-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(180px, 1fr));
	gap: 0;
	align-items: end;
}

.timeline-reference {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	padding: 0 12px 8px;
	justify-items: center;
}

.timeline-reference__frame {
	display: grid;
	gap: 8px;
	width: min(100%, 230px);
	border: 1px solid var(--timeline-color, var(--eb-color-line));
	border-radius: 6px;
	background: #ffffff;
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--timeline-color, var(--eb-color-line)) 14%, #ffffff) 0%,
			#ffffff 72%
		);
	padding: 12px;
	box-shadow: inset 0 4px 0 var(--timeline-color, var(--eb-color-line));
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.timeline-reference:hover .timeline-reference__frame,
.timeline-reference:focus-within .timeline-reference__frame {
	border-color: var(--eb-color-accent-dark);
	box-shadow: 0 0 0 3px rgba(125, 47, 47, 0.12);
}

.timeline-reference.is-old-testament:hover .timeline-reference__frame,
.timeline-reference.is-old-testament:focus-within .timeline-reference__frame {
	border-color: #7d2f2f;
	box-shadow: 0 0 0 3px rgba(125, 47, 47, 0.12);
}

.timeline-reference.is-new-testament:hover .timeline-reference__frame,
.timeline-reference.is-new-testament:focus-within .timeline-reference__frame {
	border-color: #2f5d6a;
	box-shadow: 0 0 0 3px rgba(47, 93, 106, 0.14);
}

.timeline-reference.is-old-testament {
	--timeline-color: #7d2f2f;
}

.timeline-reference.is-new-testament {
	--timeline-color: #2f5d6a;
}

.timeline-reference__connector {
	width: 5px;
	height: 34px;
}

.timeline-reference.is-old-testament .timeline-reference__connector {
	background: #7d2f2f;
}

.timeline-reference.is-new-testament .timeline-reference__connector {
	background: #2f5d6a;
}

.timeline-reference h3 {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.2;
	text-align: center;
}

.timeline-reference p {
	max-width: 210px;
	margin: 0;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	line-height: 1.4;
	text-align: center;
}

.timeline-reference strong {
	display: block;
	max-width: 210px;
	padding: 0;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.67rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.timeline-scroll__inner--old-testament {
	width: max(100%, calc(var(--period-reference-count, 12) * 175px));
	max-width: none;
	min-width: max(2100px, calc(var(--period-reference-count, 12) * 175px));
}

.timeline-scroll__inner--origin-level {
	width: max(100%, calc(var(--period-reference-count, 4) * 190px));
	max-width: none;
	min-width: 760px;
}

.period-timeline {
	display: grid;
	gap: 0;
}

.period-reference-grid {
	display: grid;
	grid-template-columns: repeat(var(--period-reference-count, 12), minmax(170px, 1fr));
	gap: 0;
	align-items: end;
}

.period-reference {
	display: grid;
	gap: 6px;
	padding: 0 10px;
	justify-items: center;
}

.period-reference.is-above {
	grid-template-rows: 1fr 34px auto;
	padding-bottom: 0;
}

.period-reference.is-below {
	grid-template-rows: auto 34px 1fr;
	align-items: start;
	padding-top: 0;
}

.period-reference-grid--above {
	min-height: 220px;
	align-items: end;
}

.period-reference-grid--below {
	min-height: 220px;
	align-items: start;
}

.period-reference-spacer {
	display: block;
	min-width: 0;
}

.period-reference__frame {
	display: grid;
	gap: 8px;
	width: min(100%, 185px);
	border: 1px solid var(--period-color, var(--eb-color-line));
	border-radius: 6px;
	background: #ffffff;
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--period-color, var(--eb-color-line)) 14%, #ffffff) 0%,
			#ffffff 72%
		);
	padding: 12px;
	box-shadow: inset 0 4px 0 var(--period-color, var(--eb-color-line));
	color: var(--eb-color-ink);
	text-decoration: none;
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.period-reference:hover .period-reference__frame,
.period-reference:focus-within .period-reference__frame {
	border-color: var(--period-color, var(--eb-color-accent-dark));
	box-shadow:
		inset 0 4px 0 var(--period-color, var(--eb-color-line)),
		0 0 0 3px rgba(125, 47, 47, 0.1);
	box-shadow:
		inset 0 4px 0 var(--period-color, var(--eb-color-line)),
		0 0 0 3px color-mix(in srgb, var(--period-color, var(--eb-color-accent-dark)) 18%, transparent);
}

.period-reference__connector {
	width: 5px;
	height: 34px;
	background: var(--period-color, var(--eb-color-line));
}

.period-reference h3 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.period-reference__number {
	display: inline-grid;
	place-items: center;
	justify-self: center;
	min-width: 30px;
	height: 30px;
	border: 1px solid color-mix(in srgb, var(--period-color, var(--eb-color-line)) 45%, #ffffff);
	border-radius: 50%;
	background: var(--period-color, var(--eb-color-line));
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1;
}

.period-reference p {
	max-width: 170px;
	margin: 0;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	line-height: 1.4;
	text-align: center;
}

.period-reference__status {
	color: var(--period-color, var(--eb-color-muted));
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.period-reference strong {
	display: block;
	max-width: 220px;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.67rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

.timeline-scroll__inner--origin-level .period-reference__frame {
	width: min(100%, 190px);
}

.timeline-scroll__inner--origin-level .period-reference p,
.timeline-scroll__inner--origin-level .period-reference strong {
	max-width: 170px;
}

.period-band {
	display: grid;
	grid-template-columns:
		minmax(170px, 1fr)
		minmax(180px, 1fr)
		minmax(150px, 0.9fr)
		minmax(150px, 0.9fr)
		minmax(170px, 1fr)
		minmax(160px, 0.95fr)
		minmax(150px, 0.9fr)
		minmax(150px, 0.9fr)
		minmax(170px, 1fr)
		minmax(170px, 1fr);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	overflow: hidden;
}

.period-band--origin-level {
	grid-template-columns: 1fr;
}

.period-band__segment {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 12px;
	background: var(--period-color, var(--eb-color-muted));
	color: #ffffff;
	text-align: center;
	text-decoration: none;
}

.period-band__segment + .period-band__segment {
	border-left: 2px solid rgba(255, 255, 255, 0.72);
}

.period-band__segment strong {
	font-family: Arial, sans-serif;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.15;
}

.period-band__segment.is-disabled {
	opacity: 0.82;
}

.period-band__segment:hover,
.period-band__segment:focus {
	color: #ffffff;
	filter: brightness(1.06);
}

.is-introduction {
	--period-color: #4f5963;
}

.is-origin {
	--period-color: #7d2f2f;
}

.is-patriarchs {
	--period-color: #7a4a2a;
}

.is-exodus {
	--period-color: #646b2f;
}

.is-land {
	--period-color: #4c6a3b;
}

.is-judges {
	--period-color: #2f6a5d;
}

.is-monarchy {
	--period-color: #2f5d6a;
}

.is-prophets {
	--period-color: #3f4f7a;
}

.is-divided {
	--period-color: #5b477a;
}

.is-exile {
	--period-color: #6b3f68;
}

.is-persian {
	--period-color: #72505b;
}

.is-greek {
	--period-color: #6f5b24;
}

.is-wisdom {
	--period-color: #4f5963;
}

.is-dimension-historical {
	--period-color: #7d2f2f;
}

.is-dimension-literary {
	--period-color: #3f4f7a;
}

.is-dimension-theological {
	--period-color: #4c6a3b;
}

.is-dimension-geographic {
	--period-color: #2f6a5d;
}

.bible-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(250px, 1fr));
	gap: 0;
	min-width: 1120px;
	margin: 0;
	padding: 138px 0 146px;
	list-style: none;
}

.bible-timeline::before {
	position: absolute;
	top: 50%;
	right: 90px;
	left: 90px;
	height: 3px;
	background: var(--eb-color-ink);
	border-radius: 999px;
	content: "";
}

.bible-timeline__item {
	position: relative;
	min-height: 40px;
}

.bible-timeline__item a,
.bible-timeline__item span {
	position: relative;
	display: grid;
	gap: 6px;
	max-width: 245px;
	min-height: 118px;
	margin: 0 auto;
	border: 1px solid var(--timeline-color, #d8dee6);
	border-radius: 6px;
	background: #ffffff;
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--timeline-color, var(--eb-color-line)) 12%, #ffffff) 0%,
			#ffffff 72%
		);
	padding: 14px;
	color: var(--eb-color-ink);
	text-decoration: none;
}

.bible-timeline__item a::before,
.bible-timeline__item span::before {
	position: absolute;
	left: 50%;
	z-index: 1;
	width: 46px;
	height: 46px;
	margin-left: -23px;
	background: var(--eb-color-accent-dark);
	border: 5px solid var(--eb-color-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 1px var(--eb-color-line);
	content: "";
}

.bible-timeline__item.is-above a,
.bible-timeline__item.is-above span {
	padding-bottom: 54px;
	transform: translateY(-82px);
}

.bible-timeline__item.is-above a::before,
.bible-timeline__item.is-above span::before {
	bottom: -22px;
}

.bible-timeline__item.is-below a,
.bible-timeline__item.is-below span {
	padding-top: 54px;
	transform: translateY(82px);
}

.bible-timeline__item.is-below a::before,
.bible-timeline__item.is-below span::before {
	top: -22px;
}

.bible-timeline__item i {
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 1.8rem;
	font-style: normal;
	font-weight: 800;
	line-height: 1;
}

.bible-timeline__item strong {
	font-family: Arial, sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
}

.bible-timeline__item small {
	color: var(--eb-color-accent-dark);
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.3;
}

.bible-timeline__item em {
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}

.bible-timeline__item.is-current a,
.bible-timeline__item.is-current span {
	border-color: var(--eb-color-accent-dark);
	color: var(--eb-color-ink);
}

.bible-timeline__item.is-current a::before,
.bible-timeline__item.is-current span::before {
	background: var(--eb-color-accent-dark);
}

.bible-timeline__item.is-disabled span {
	border-color: #c7d0da;
	background: #f5f6f8;
	color: var(--eb-color-muted);
}

.bible-timeline__item.is-disabled span::before {
	background: var(--eb-color-line);
}

.study-foundations {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.study-foundations__heading {
	max-width: 860px;
	margin: 0 0 22px;
	text-align: left;
}

.study-foundations__heading h2 {
	margin: 0;
	line-height: 1.15;
}

.study-foundations__heading p {
	margin: 10px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
}

.foundation-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.foundation-card {
	display: grid;
	align-content: center;
	gap: 8px;
	min-height: 128px;
	border-radius: 6px;
	padding: 20px;
	color: #ffffff;
	text-decoration: none;
	transition: filter 140ms ease, transform 140ms ease;
}

.foundation-card:hover,
.foundation-card:focus {
	color: #ffffff;
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.foundation-card span {
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
}

.foundation-card strong {
	font-size: 1.2rem;
	line-height: 1.2;
}

.foundation-card.is-foundation {
	background: #7d2f2f;
}

.foundation-card.is-interpretation {
	background: #2f5d6a;
}

.foundation-card.is-method {
	background: #4c5f3b;
}

.courses-panel {
	display: grid;
	gap: 18px;
}

.courses-panel__heading h2 {
	margin: 0;
	font-size: clamp(1.02rem, 4.4vw, 1.24rem);
	line-height: 1.15;
}

.courses-panel__heading p {
	margin: 4px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

.course-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
}

.course-disclaimer {
	display: grid;
	gap: 6px;
	margin-bottom: 18px;
	border: 1px solid var(--eb-color-line);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	padding: 14px 16px;
}

.course-disclaimer strong,
.course-disclaimer p {
	margin: 0;
	color: var(--eb-color-ink);
}

.course-disclaimer strong {
	font-size: 0.9rem;
	text-transform: uppercase;
}

.course-disclaimer p {
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.home-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}

.course-section-list {
	display: grid;
	gap: 16px;
}

.course-section-card {
	position: relative;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	padding: clamp(14px, 3vw, 20px);
	cursor: pointer;
}

.course-section-card__header {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 14px;
}

.course-section-card__header--plain {
	margin-bottom: 0;
}

.course-section-card__header > span,
.course-page-list a span,
.course-child-page-list a span {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 30px;
	border-radius: var(--eb-radius-pill);
	background: var(--eb-color-inverse-bg);
	padding: 4px 10px;
	color: var(--eb-color-inverse-fg);
	font-family: var(--eb-font-ui);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
}

.course-section-card h3 {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.2;
}

.course-section-card h3 a,
.course-page-list a,
.course-child-page-list a {
	color: var(--eb-color-ink);
	text-decoration: none;
}

.course-section-card h3 a::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
}

.course-section-card h3 a:focus-visible {
	outline: 0;
}

.course-section-card:has(h3 a:focus-visible) {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.course-section-card__header p {
	margin: 6px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.course-page-list,
.course-child-page-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.course-page-list a,
.course-child-page-list a {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface-soft);
	padding: 14px 16px;
	color: var(--eb-color-ink);
	box-shadow: var(--eb-shadow-card);
}

.course-page-list a:hover,
.course-page-list a:focus,
.course-child-page-list a:hover,
.course-child-page-list a:focus {
	border-color: #0b0f14;
	background: #0b0f14;
	color: #ffffff;
	filter: none;
	outline: none;
}

.course-page-list a strong,
.course-child-page-list a strong {
	min-width: 0;
	color: inherit;
	font-size: 1.16rem;
	font-weight: 500;
	line-height: 1.25;
}

.course-page-list a::after,
.course-child-page-list a::after {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: 50%;
	background: var(--eb-color-surface);
	color: var(--eb-color-muted);
	font-family: var(--eb-font-ui);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	content: "\2192";
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.course-page-list a:hover::after,
.course-page-list a:focus::after,
.course-child-page-list a:hover::after,
.course-child-page-list a:focus::after {
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
}

.course-child-page-list {
	margin-top: 8px;
	margin-left: clamp(18px, 4vw, 42px);
}

.course-child-page-list a {
	background: #4c5f3b;
}

.study-topic-page {
	display: grid;
	gap: 24px;
}

.study-topic {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.study-topic__header {
	margin-bottom: 22px;
}

.study-topic__header h1 {
	margin: 0;
	line-height: 1.12;
}

.study-topic__header p:last-child {
	margin: 10px 0 0;
	color: var(--eb-color-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.study-topic__source-card {
	display: grid;
	align-content: start;
	gap: 8px;
	max-width: 760px;
	border: 0;
	border-radius: var(--eb-radius-sm);
	background: var(--period-color, var(--eb-color-muted));
	padding: clamp(20px, 4vw, 30px);
	color: var(--eb-color-inverse-fg);
}

.study-topic__source-card.is-foundation {
	max-width: none;
	background: #7d2f2f;
}

.study-topic__source-card.is-interpretation {
	max-width: none;
	background: #2f5d6a;
}

.study-topic__source-card.is-method {
	max-width: none;
	background: var(--course-color, #4c5f3b);
}

.study-topic__source-card.courses-header {
	max-width: none;
	background: #111827;
}

.study-topic__source-card.course-header {
	max-width: none;
	background: #111827;
}

.study-topic__source-card.section-header {
	max-width: none;
}

.study-topic__source-card.section-header {
	grid-template-columns: minmax(0, 1fr) auto;
}

.section-header__content {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 6px 12px;
	align-items: center;
	min-width: 0;
}

.section-header__context {
	grid-column: 1 / -1;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.25;
}

.study-topic__source-card--compact.section-header--plain h1,
.study-topic__source-card--compact.section-header--plain p,
.study-topic__source-card--compact.section-header--plain span {
	grid-column: 1 / -1;
}

.study-topic__source-card.is-foundation p,
.study-topic__source-card.is-interpretation p,
.study-topic__source-card.is-method p {
	color: #ffffff;
	font-weight: 500;
}

.study-topic__source-card span,
.study-topic__source-card b,
.study-topic__source-card em {
	color: rgba(255, 255, 255, 0.82);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	line-height: 1.25;
}

.study-topic__source-card b {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 600;
}

.study-topic__source-card.section-header b {
	width: 36px;
	height: 36px;
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
	font-size: 0.95rem;
	font-weight: 800;
}

.section-page .study-topic__source-card.section-header {
	border-color: #334155;
	background: #111827;
	color: #f8fafc;
}

.section-page .study-topic__source-card.section-header h1,
.section-page .study-topic__source-card.section-header .section-header__context {
	color: #f8fafc;
}

.study-topic__source-card h1 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 650;
	line-height: 1.12;
}

.study-topic__source-card p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	line-height: 1.5;
}

.study-topic__source-card em {
	font-weight: 600;
	text-transform: uppercase;
}

.study-topic__source-card--compact {
	grid-template-columns: auto 1fr;
	align-items: center;
	max-width: none;
	gap: 6px 12px;
	padding: 16px clamp(16px, 3vw, 22px);
}

.study-topic__source-card--compact h1 {
	grid-column: 2;
	grid-row: 1;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.study-topic__source-card--compact.course-header h1 {
	grid-row: 1;
}

.study-topic__source-card--compact.course-header .course-header__institution {
	grid-column: 2;
	grid-row: 3;
	color: rgba(255, 255, 255, 0.9);
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: none;
}

.study-topic__source-card--compact p {
	grid-column: 2;
	grid-row: 2;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
}

.study-topic__source-card--compact.course-header p {
	grid-row: 2;
}

.course-header__title-row {
	grid-column: 1 / -1;
	grid-row: 1;
	display: flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
}

.study-topic__source-card--compact.course-header .course-header__title-row h1 {
	grid-column: auto;
	grid-row: auto;
	min-width: 0;
	margin: 0;
}

.course-header__info {
	position: relative;
	flex: 0 0 auto;
}

.course-header__info > summary {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: var(--eb-inline-action-icon-size);
	height: var(--eb-inline-action-icon-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	list-style: none;
	transition: color 140ms ease, transform 140ms ease;
}

.course-header__info > summary::-webkit-details-marker {
	display: none;
}

.course-header__info > summary::marker {
	content: "";
}

.course-header__info > summary .dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-inline-action-icon-glyph-size);
	height: var(--eb-inline-action-icon-glyph-size);
	color: inherit;
	font-family: dashicons;
	font-size: var(--eb-inline-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.course-header__info > summary .dashicons::before {
	display: block;
	width: var(--eb-inline-action-icon-glyph-size);
	height: var(--eb-inline-action-icon-glyph-size);
	color: inherit;
	font-family: dashicons;
	font-size: var(--eb-inline-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.course-header__info > summary:hover,
.course-header__info > summary:focus-visible {
	background: transparent;
	box-shadow: none;
	color: #94a3b9;
	outline: none;
}

.course-header__info[open] > summary:not(:hover):not(:focus-visible) {
	background: transparent;
	box-shadow: none;
	color: #ffffff;
}

.course-header__info-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	display: grid;
	gap: 6px;
	width: min(420px, calc(100vw - 48px));
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: var(--eb-radius-sm);
	background: #111827;
	padding: 12px 14px;
	color: #f8fafc;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.study-topic__source-card--compact.course-header .course-header__info-panel p,
.study-topic__source-card--compact.course-header .course-header__info-panel .course-header__institution {
	grid-column: auto;
	grid-row: auto;
	margin: 0;
	color: rgba(248, 250, 252, 0.86);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
}

.study-topic__source-card--compact.course-header .course-header__info-panel .course-header__institution {
	font-size: 0.78rem;
}

.study-topic__source-card--compact.section-header .section-header__content h1 {
	grid-column: 2;
	grid-row: 1;
}

.study-topic__source-card--compact.section-header--has-context .section-header__content h1,
.study-topic__source-card--compact.section-header--has-context .section-header__content b {
	grid-row: 2;
}

.study-topic__source-card--compact.section-header.section-header--plain .section-header__content h1,
.study-topic__source-card--compact.section-header.section-header--plain .section-header__content p,
.study-topic__source-card--compact.section-header.section-header--plain .section-header__content span {
	grid-column: 1 / -1;
}

.study-topic__source-card--compact.section-header .section-header__content p {
	grid-column: 2;
	grid-row: 2;
}

.study-topic__source-card--compact.section-header .section-header__content span {
	grid-column: 2;
	grid-row: 3;
}

.section-header__assessment-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	align-self: start;
	min-height: 34px;
	min-width: 34px;
	overflow: hidden;
	border: 1px solid var(--eb-color-selected-line);
	border-radius: 6px;
	background: var(--eb-color-selected);
	color: #080b10;
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1;
	padding: 0.45rem;
	text-decoration: none;
	transition: gap 140ms ease, padding 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.study-topic__source-card--compact .section-header__assessment-link span,
.section-header__assessment-link > span {
	grid-column: auto;
	grid-row: auto;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.section-header__assessment-label {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0;
	transition: max-width 160ms ease, opacity 120ms ease;
}

.section-header__assessment-link:hover,
.section-header__assessment-link:focus {
	gap: 0.45rem;
	padding-right: 0.62rem;
	padding-left: 0.62rem;
}

.section-header__assessment-link:hover .section-header__assessment-label,
.section-header__assessment-link:focus .section-header__assessment-label {
	max-width: 14rem;
	opacity: 1;
}

.study-topic__source-card .section-header__assessment-icon.dashicons {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 18px;
	height: 18px;
	color: inherit;
	font-family: dashicons;
	font-size: 18px;
	font-weight: 400;
	line-height: 18px;
}

.study-topic__source-card .section-header__assessment-icon.dashicons::before {
	content: "\f118";
	font-family: dashicons;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
}

.section-header__assessment-link:hover,
.section-header__assessment-link:focus {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #080b10;
	outline: none;
}

html.is-dark-mode .section-header__assessment-link {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #080b10;
}

html.is-dark-mode .section-header__assessment-link:hover,
html.is-dark-mode .section-header__assessment-link:focus {
	background: var(--eb-color-selected);
	color: #080b10;
}

.section-nav {
	overflow: hidden;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	box-shadow: var(--eb-shadow-card);
}

.section-nav > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	background: var(--eb-color-surface-soft);
	padding: 10px 14px;
	color: var(--eb-color-ink);
	cursor: pointer;
	list-style: none;
}

.section-nav > summary::-webkit-details-marker {
	display: none;
}

.section-nav > summary::after {
	flex: 0 0 auto;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1;
	content: "+";
}

.section-nav[open] > summary {
	border-bottom: 1px solid var(--eb-color-line-soft);
}

.section-nav[open] > summary::after {
	content: "-";
}

.section-nav > summary span {
	color: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.15;
}

.section-nav > summary small {
	overflow: hidden;
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.section-nav__body {
	display: grid;
	gap: 10px;
	padding: 12px;
}

.section-nav__context-list {
	display: grid;
	gap: 6px;
}

.section-nav__context-item {
	display: grid;
	gap: 2px;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	padding: 8px 10px;
	color: var(--eb-color-ink);
	text-decoration: none;
}

.section-nav__context-item:hover,
.section-nav__context-item:focus {
	border-color: var(--eb-color-inverse-bg);
	background: var(--eb-color-inverse-bg);
	color: var(--eb-color-inverse-fg);
	outline: none;
}

.section-nav__context-item span {
	color: inherit;
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.1;
	text-transform: none;
}

.section-nav__context-item strong {
	color: inherit;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.2;
}

.section-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.section-nav__links a {
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-pill);
	background: var(--eb-color-surface);
	padding: 5px 10px;
	color: var(--eb-color-ink);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.15;
	text-decoration: none;
}

.section-nav__links a:hover,
.section-nav__links a:focus {
	border-color: var(--eb-color-inverse-bg);
	background: var(--eb-color-inverse-bg);
	color: var(--eb-color-inverse-fg);
	outline: none;
}

.section-nav__list {
	display: grid;
	gap: 6px;
	max-height: min(56vh, 420px);
	margin: 0;
	overflow: auto;
	padding: 0;
	list-style: none;
}

.section-nav__list a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px;
	align-items: center;
	width: 100%;
	min-height: 40px;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	padding: 7px 9px;
	color: var(--eb-color-ink);
	text-decoration: none;
}

.section-nav__list--pages a {
	grid-template-columns: minmax(0, 1fr);
}

.section-nav__list a:hover,
.section-nav__list a:focus,
.section-nav__list a.is-current {
	border-color: var(--eb-color-inverse-bg);
	background: var(--eb-color-inverse-bg);
	color: var(--eb-color-inverse-fg);
	outline: none;
}

.section-nav__list span {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 24px;
	border: 1px solid currentColor;
	border-radius: var(--eb-radius-pill);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1;
}

.section-nav__list strong {
	overflow: hidden;
	color: inherit;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: normal;
}

.section-toolbar {
	position: relative;
	display: grid;
	min-height: var(--eb-action-icon-size);
	gap: 8px;
	margin-bottom: -26px;
}

.section-toolbar > .section-header__assessment-link--toolbar {
	position: absolute;
	top: 0;
	right: 46px;
	z-index: 2;
	width: auto;
	height: var(--eb-action-icon-size);
	margin: 0;
}

.section-toolbar--single-action > .section-header__assessment-link--toolbar {
	right: 0;
}

.section-toolbar .section-header__assessment-link--toolbar {
	gap: 0;
	height: var(--eb-action-icon-size);
	min-width: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--eb-color-ink);
	padding: 0;
}

.section-toolbar .section-header__assessment-link--toolbar:hover,
.section-toolbar .section-header__assessment-link--toolbar:focus-visible {
	background: transparent;
	color: #334155;
	outline: none;
}

.section-toolbar .section-header__assessment-icon.dashicons {
	display: grid;
	flex: 0 0 var(--eb-action-icon-glyph-size);
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
}

.section-toolbar .section-header__assessment-icon.dashicons::before {
	display: block;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.section-header__assessment-link--toolbar .section-header__assessment-label,
.section-header__assessment-link--toolbar:hover .section-header__assessment-label,
.section-header__assessment-link--toolbar:focus-visible .section-header__assessment-label {
	max-width: 0;
	opacity: 0;
}

.section-nav--icon {
	display: grid;
	justify-items: stretch;
	gap: 8px;
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.section-nav--icon > summary {
	display: inline-grid;
	place-items: center;
	justify-self: end;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	overflow: hidden;
	border: 1px solid var(--eb-color-line-strong);
	border-radius: var(--eb-action-icon-radius);
	background: transparent;
	box-shadow: none;
	padding: 0;
	color: var(--eb-color-ink);
	font-size: 0;
	line-height: 0;
	list-style: none;
	list-style-type: none;
	-webkit-appearance: none;
	appearance: none;
}

.section-nav--icon > summary::after {
	content: none;
}

.section-nav--icon > summary::before {
	content: none;
}

.section-nav--icon > summary::marker,
.section-nav--icon > summary::-webkit-details-marker {
	display: none;
	color: transparent;
	font-size: 0;
	content: "";
}

.section-nav--icon[open] > summary {
	border-bottom: 1px solid var(--eb-color-line-strong);
}

.section-nav--icon > summary:hover,
.section-nav--icon > summary:focus-visible {
	border-color: var(--eb-color-line-strong);
	background: #0b0f14;
	color: #ffffff;
	outline: none;
}

.section-nav--icon > summary .dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.site-menu-toggle .dashicons-menu-alt,
.section-nav--icon > summary .dashicons-menu-alt {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: 0;
	line-height: 1;
}

.site-menu-toggle .dashicons-menu-alt::before,
.section-nav--icon > summary .dashicons-menu-alt::before {
	display: block;
	width: 16px;
	height: 13px;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	content: "";
}

.section-nav--icon .section-nav__body {
	width: 100%;
	border: 1px solid var(--eb-color-line-soft);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	box-shadow: var(--eb-shadow-card);
}

.section-nav--icon[open] .section-nav__body {
	margin-bottom: 26px;
}

.section-nav__heading {
	display: grid;
	gap: 2px;
	padding: 4px 0 2px;
}

.section-nav__heading strong {
	color: var(--eb-color-ink);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.15;
}

.section-nav__heading small {
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.25;
}

.study-topic__header .study-topic__source-card--compact p {
	color: #ffffff;
}

.study-topic__source-card--compact span {
	grid-column: 2;
	grid-row: 3;
}

.study-topic__source-card--compact.course-header span.course-header__institution {
	grid-row: 3;
}

.study-topic__content {
	width: 100%;
	color: var(--eb-color-ink);
}

.study-topic__class-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	align-items: center;
	margin-bottom: 14px;
	border: 1px solid color-mix(in srgb, var(--eb-color-accent) 20%, var(--eb-color-line));
	border-radius: 6px;
	background: color-mix(in srgb, var(--eb-color-accent) 5%, #ffffff);
	padding: 10px 12px;
}

.study-topic__class-strip span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	border-radius: 999px;
	background: var(--eb-color-accent);
	padding: 4px 10px;
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

.study-topic__class-strip p {
	flex: 1 1 260px;
	margin: 0;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.85rem;
	line-height: 1.45;
}

.study-topic__sections {
	display: grid;
	gap: 14px;
}

.study-topic__section h2,
.study-topic__important h2,
.study-topic__panel h2,
.study-topic__references h2,
.study-topic__terms h2,
.study-topic__material-summary h2,
.study-topic__source-transcription h2,
.study-topic__notes h2 {
	margin: 0;
	font-size: 1.16rem;
	font-weight: 600;
	line-height: 1.25;
}

.study-topic__section,
.study-topic__important,
.study-topic__panel,
.study-topic__references,
.study-topic__terms,
.study-topic__material-summary,
.study-topic__source-transcription,
.study-topic__notes {
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
	overflow: hidden;
}

.study-topic__collapsible > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	box-sizing: border-box;
	min-height: 54px;
	border-bottom: 1px solid transparent;
	background: #f6f8fb;
	border-radius: 5px 5px 0 0;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
}

.study-topic__collapsible:not([open]) > summary {
	border-radius: 5px;
}

.study-topic__collapsible > summary::-webkit-details-marker {
	display: none;
}

.study-topic__collapsible > summary::after {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid #d8dee6;
	border-radius: 50%;
	background: #ffffff;
	color: var(--eb-color-muted);
	content: "+";
	font-family: Arial, sans-serif;
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1;
}

.study-topic__collapsible[open] > summary::after {
	content: "-";
}

.study-topic__collapsible > summary:hover h2,
.study-topic__collapsible > summary:focus h2 {
	color: var(--eb-color-accent-dark);
}

.study-topic__collapsible > summary:hover::after,
.study-topic__collapsible > summary:focus::after {
	border-color: var(--eb-color-accent-dark);
	color: var(--eb-color-accent-dark);
}

.study-topic__collapsible[open] > summary {
	border-bottom-color: #d8dee6;
}

.study-topic__collapsible > :not(summary) {
	margin-right: 18px;
	margin-left: 18px;
}

.study-topic__collapsible[open] > summary + * {
	margin-top: 12px;
}

.study-topic__collapsible > :last-child {
	margin-bottom: 18px;
}

.study-topic__collapsible:not([open]) {
	box-shadow: none;
	cursor: pointer;
}

.study-topic__section p:last-child {
	margin-bottom: 0;
}

.study-topic__list {
	margin: -4px 0 16px;
	padding-left: 24px;
}

.study-topic__list li + li {
	margin-top: 4px;
}

.study-topic__content strong {
	color: var(--eb-color-ink);
	font-weight: 600;
}

.study-topic__important {
	margin: 0 0 24px;
	background: #ffffff;
}

.study-topic__important ul {
	margin: 0;
	padding-left: 34px;
}

.study-topic__important li {
	color: var(--eb-color-ink);
	font-weight: 500;
}

.study-topic__important li + li {
	margin-top: 6px;
}

.study-topic__common-panels {
	display: grid;
	gap: 14px;
	margin-top: 24px;
}

.study-topic__common-panels h2 {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.study-topic__common-panels > .study-topic__collapsible > summary {
	background: #eef2f7;
}

.study-topic__common-panels > .study-topic__collapsible {
	border-left: 4px solid #8a4f18;
}

.study-topic__common-icon {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 22px;
	height: 22px;
	color: #8a4f18;
	font-size: 1.05rem;
	line-height: 1;
}

.study-topic__common-panels > .study-topic__important,
.study-topic__common-panels > .study-topic__panel,
.study-topic__common-panels > .study-topic__references,
.study-topic__common-panels > .study-topic__terms,
.study-topic__common-panels > .study-topic__material-summary,
.study-topic__common-panels > .study-topic__source-transcription,
.study-topic__common-panels > .study-topic__notes {
	margin-top: 0;
	margin-bottom: 0;
}

.study-topic__panel,
.study-topic__references,
.study-topic__terms,
.study-topic__material-summary,
.study-topic__source-transcription,
.study-topic__notes {
	margin-top: 22px;
}

.study-topic__panel {
	background: #ffffff;
}

.study-topic__references {
	background: #ffffff;
}

.study-reference-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.study-reference {
	display: grid;
	gap: 4px;
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #ffffff;
	padding: 12px 14px;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.study-reference__label {
	color: var(--eb-color-ink);
	font-weight: 600;
}

.study-reference__source {
	color: #8a4f18;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.study-reference b {
	color: var(--eb-color-ink);
	font-weight: 600;
}

.study-topic__terms {
	background: #ffffff;
}

.study-topic__material-summary,
.study-topic__source-transcription {
	background: #ffffff;
}

.study-topic__source-title {
	margin-bottom: 4px;
}

.study-topic__source-citation,
.study-topic__source-status {
	color: var(--eb-color-muted);
	font-size: 0.92rem;
}

.study-topic__source-page + .study-topic__source-page {
	margin-top: 24px;
	border-top: 1px solid #d8dee6;
	padding-top: 18px;
}

.study-topic__source-page h3 {
	margin-bottom: 10px;
	font-size: 0.92rem;
}

.study-topic__terms dl {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-left: 12px;
}

.study-topic__terms dt {
	color: var(--eb-color-ink);
	font-weight: 600;
	line-height: 1.25;
}

.study-term-link {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.study-term-link:hover,
.study-term-link:focus {
	color: #000000;
	font-weight: 600;
}

.study-topic__terms dd {
	margin: 4px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.96rem;
	line-height: 1.5;
}

.study-item-source {
	display: block;
	margin-top: 3px;
	color: var(--eb-color-ink);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	opacity: 0.72;
}

.study-term-source {
	display: block;
	margin-top: 3px;
	color: #6b7280;
	font-size: 0.88rem;
}

.study-topic__notes {
	background: #ffffff;
}

.assessment-panel {
	background: transparent;
	padding: 0;
}

.assessment-panel__heading {
	margin-bottom: 18px;
}

.assessment-panel__heading--with-actions {
	display: grid;
	gap: 8px;
}

.assessment-panel__titlebar {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto 1px auto;
	align-items: end;
	column-gap: 16px;
	row-gap: 8px;
	padding-bottom: 8px;
}

.assessment-panel__titlebar::after {
	display: block;
	grid-column: 1 / -1;
	grid-row: 2;
	height: 1px;
	background: var(--eb-card-border);
	content: "";
}

.assessment-panel__titlebar > h1,
.assessment-panel__titlebar > h2 {
	grid-column: 1;
	grid-row: 1;
}

.assessment-panel__heading h2 {
	margin: 0;
	font-size: clamp(1.05rem, 5vw, 1.25rem);
	line-height: 1.2;
}

.assessment-panel__heading p {
	margin: 8px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.assessment-form {
	display: grid;
	gap: 14px;
}

.assessment-start {
	display: grid;
	gap: 12px;
}

.assessment-start[hidden] {
	display: none;
}

.assessment-start h2 {
	margin: 0;
	font-size: clamp(1.05rem, 5vw, 1.25rem);
	line-height: 1.2;
}

.assessment-start p {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.assessment-practice-summary {
	display: grid;
	gap: 14px;
	margin: 0 0 2px;
	padding: 2px 0 4px;
}

.assessment-practice-summary__item {
	display: grid;
	gap: 3px;
}

.assessment-scope-heading {
	display: grid;
	gap: 3px;
}

.assessment-practice-summary__label {
	display: flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
}

.assessment-practice-summary__label h2 {
	margin: 0;
	color: var(--assessment-ink);
	font-size: clamp(1.05rem, 5vw, 1.25rem);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

.assessment-practice-summary__heading-trigger {
	display: inline;
	border: 0;
	background: transparent;
	padding: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-align: left;
	text-transform: inherit;
	text-decoration: none;
	text-underline-offset: 3px;
}

.assessment-practice-summary__heading-trigger:hover,
.assessment-practice-summary__heading-trigger:focus-visible,
.assessment-practice-summary__heading-trigger.is-active {
	color: #334155;
	text-decoration: underline;
	outline: none;
}

html.is-dark-mode .assessment-practice-summary__heading-trigger:hover,
html.is-dark-mode .assessment-practice-summary__heading-trigger:focus-visible,
html.is-dark-mode .assessment-practice-summary__heading-trigger.is-active {
	color: #f8fafc;
}

.assessment-practice-summary__value {
	color: var(--assessment-muted);
	font-size: 0.92rem;
	line-height: 1.35;
}

.assessment-summary-info {
	position: relative;
	display: inline-grid;
	flex: 0 0 auto;
}

.assessment-summary-info > summary {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--assessment-muted);
	cursor: pointer;
	list-style: none;
	transition: color 140ms ease;
}

.assessment-summary-info > summary::-webkit-details-marker {
	display: none;
}

.assessment-summary-info > summary::marker {
	content: "";
}

.assessment-summary-info > summary:hover,
.assessment-summary-info > summary:focus-visible {
	color: var(--assessment-ink);
	outline: none;
}

.assessment-summary-info > summary .dashicons {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	color: inherit;
	font-size: 18px;
	line-height: 1;
}

.assessment-summary-info__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 30;
	display: grid;
	gap: 6px;
	width: min(520px, calc(100vw - 56px));
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 10px 12px;
	color: var(--eb-ui-panel-text);
	box-shadow: var(--eb-shadow-card);
}

.assessment-summary-info__panel p {
	margin: 0;
	color: var(--assessment-muted);
	font-size: 0.86rem;
	line-height: 1.4;
}

.assessment-type-toggle {
	display: grid;
	gap: 10px;
	margin: 0 0 4px;
}

.assessment-personal-filter {
	display: grid;
	gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--eb-ui-panel-border);
}

.assessment-personal-filter__label {
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.assessment-personal-filter__options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.assessment-personal-filter__option {
	display: grid;
	align-content: center;
	gap: 2px;
	min-height: 48px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: transparent;
	padding: 7px 10px;
	color: var(--eb-ui-panel-text);
	text-decoration: none;
	transition: var(--eb-card-transition);
}

.assessment-personal-filter__option strong,
.assessment-personal-filter__option span {
	color: inherit;
	font-family: Arial, sans-serif;
	letter-spacing: 0;
}

.assessment-personal-filter__option strong {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
}

.assessment-personal-filter__option span {
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.2;
	opacity: 0.78;
}

.assessment-personal-filter__option:hover,
.assessment-personal-filter__option:focus-visible {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-soft);
	color: var(--eb-color-ink);
	outline: none;
}

.assessment-personal-filter__option.is-active,
.assessment-personal-filter__option.is-active:hover,
.assessment-personal-filter__option.is-active:focus-visible {
	border-color: #64748b;
	background: #94a3b9;
	color: #0b0f14;
}

.assessment-filter-panel__body .assessment-personal-filter + .assessment-type-toggle {
	padding-top: 2px;
}

.assessment-filter-panel {
	display: contents;
}

.assessment-tool-actions {
	display: contents;
}

.assessment-filter-panel__trigger {
	display: grid;
	grid-column: 2;
	grid-row: 1;
	place-items: center;
	justify-self: end;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	min-width: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 0;
	color: var(--eb-card-fg);
	cursor: pointer;
	list-style: none;
	transition: var(--eb-card-transition);
}

.assessment-filter-panel__trigger::-webkit-details-marker {
	display: none;
}

.assessment-filter-panel__trigger::marker {
	content: "";
}

.assessment-filter-panel__trigger:hover,
.assessment-filter-panel__trigger:focus-visible {
	border-color: transparent;
	background: transparent;
	color: var(--eb-card-hover-fg);
	outline: none;
}

.assessment-filter-panel[open] > .assessment-filter-panel__trigger {
	border-color: transparent;
	background: transparent;
	color: var(--eb-color-active-line);
}

.assessment-filter-panel__icon.dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
}

.assessment-filter-panel__body-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.assessment-filter-panel__body-header > div {
	display: grid;
	gap: 2px;
}

.assessment-filter-panel__body-header--actions-only {
	grid-template-columns: minmax(0, 1fr);
	justify-items: end;
	margin-bottom: 2px;
}

.assessment-filter-panel__body-header > div > strong {
	margin: 0;
	color: inherit;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
}

.assessment-filter-panel__body-header > div > span {
	display: block;
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

.assessment-filter-panel__close {
	display: inline-grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: 4px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	padding: 0;
	text-transform: none;
}

.assessment-filter-panel__close:hover,
.assessment-filter-panel__close:focus-visible {
	color: #334155;
	outline: none;
}

.assessment-filter-panel__close .dashicons {
	display: grid;
	place-items: center;
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.assessment-filter-panel__body {
	grid-column: 1 / -1;
	grid-row: 3;
	z-index: 30;
	width: 100%;
	margin-top: 10px;
	border: 1px solid var(--eb-card-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-card-bg);
	padding: 14px 16px 16px;
	color: var(--eb-card-fg);
	box-shadow: 0 12px 24px rgba(8, 11, 16, 0.12);
}

.assessment-filter-panel:not([open]) > .assessment-filter-panel__body {
	display: none;
}

.assessment-filter-panel .assessment-type-toggle {
	margin: 0;
}

.assessment-filter-panel .assessment-type-toggle__label,
.assessment-filter-panel__body--standalone .assessment-type-toggle__label {
	display: none;
}

.assessment-tool-actionbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: var(--eb-action-icon-size);
	gap: 12px;
	margin-bottom: -20px;
}

.assessment-tool-actionbar .assessment-filter-panel__trigger {
	justify-self: end;
	margin: 0;
	color: var(--eb-color-ink);
	z-index: 2;
}

.assessment-filter-panel__body--standalone {
	display: grid;
	gap: 14px;
	grid-column: auto;
	grid-row: auto;
	width: 100%;
	margin-top: 0;
}

.site-main .assessment-filter-panel__body--standalone {
	border-color: var(--eb-ui-panel-border);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
}

.assessment-filter-panel__body--standalone[hidden] {
	display: none;
}

.assessment-filter-panel__body--standalone .assessment-limit-picker {
	margin: 0;
}

#assessment-limit-panel .assessment-limit-picker__label {
	display: none;
}

.site-main .assessment-tool-actionbar .assessment-filter-panel__trigger {
	display: inline-grid;
	grid-template-columns: auto auto;
	align-items: center;
	justify-content: end;
	gap: 6px;
	box-sizing: border-box;
	width: auto;
	height: var(--eb-action-icon-size);
	min-width: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--eb-color-ink);
	cursor: pointer;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1;
	padding: 0;
	text-transform: uppercase;
}

.site-main .assessment-tool-actionbar .assessment-limit-panel__trigger {
	gap: 7px;
}

.site-main .assessment-tool-actionbar .assessment-filter-panel__trigger:hover,
.site-main .assessment-tool-actionbar .assessment-filter-panel__trigger:focus-visible,
.site-main .assessment-tool-actionbar .assessment-filter-panel__trigger.is-active {
	background: transparent;
	box-shadow: none;
	color: #334155;
	outline: none;
}

.site-main .assessment-tool-actionbar .assessment-filter-panel__icon.dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.site-main .assessment-tool-actionbar .assessment-filter-panel__trigger-label {
	color: inherit;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}

html.is-dark-mode .site-main .assessment-tool-actionbar .assessment-filter-panel__trigger {
	border: 0;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .site-main .assessment-tool-actionbar .assessment-filter-panel__trigger:hover,
html.is-dark-mode .site-main .assessment-tool-actionbar .assessment-filter-panel__trigger:focus-visible,
html.is-dark-mode .site-main .assessment-tool-actionbar .assessment-filter-panel__trigger.is-active {
	background: transparent;
	color: #94a3b9;
}

html.is-dark-mode .assessment-filter-panel__close:hover,
html.is-dark-mode .assessment-filter-panel__close:focus-visible {
	color: #94a3b9;
}

@media (max-width: 640px) {
	.assessment-personal-filter__options {
		grid-template-columns: minmax(0, 1fr);
	}

	.assessment-panel__titlebar {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 8px;
	}

	.assessment-filter-panel__body {
		width: 100%;
		margin-top: 8px;
		box-shadow: none;
	}
}

.assessment-type-toggle__label {
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.assessment-type-toggle__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.assessment-type-toggle__option {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 30px;
	border: 0;
	border-radius: 0;
	background: transparent;
	padding: 2px 0 2px 50px;
	color: #475569;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
}

.assessment-type-toggle__option::before,
.assessment-type-toggle__option::after {
	position: absolute;
	content: "";
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.assessment-type-toggle__option::before {
	left: 0;
	top: 50%;
	width: 43px;
	height: 24px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #e2e8f0;
	transform: translateY(-50%);
}

.assessment-type-toggle__option::after {
	left: 3px;
	top: 50%;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
	transform: translateY(-50%);
}

.assessment-type-toggle__option:hover,
.assessment-type-toggle__option:focus {
	color: #0b0f14;
	font-weight: 500;
	outline: none;
}

.assessment-type-toggle__option:hover::before,
.assessment-type-toggle__option:focus::before {
	box-shadow: none;
}

.assessment-type-toggle__option.is-active {
	color: #475569;
	font-weight: 400;
}

.assessment-type-toggle__option span {
	color: currentColor;
}

.assessment-type-toggle__option.is-active::before {
	border-color: #cbd5e1;
	background: #e2e8f0;
}

.assessment-type-toggle__option.is-active::after {
	background: var(--eb-color-selected);
	transform: translate(19px, -50%);
}

.assessment-type-toggle__option.is-disabled {
	cursor: default;
	opacity: 0.45;
}

.assessment-limit-picker {
	display: grid;
	gap: 10px;
	margin: 2px 0 14px;
}

.assessment-limit-picker__label {
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.assessment-limit-picker__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.assessment-limit-picker__select {
	box-sizing: border-box;
	width: min(100%, 150px);
	min-height: 34px;
	border: 1px solid #0b0f14;
	border-radius: 6px;
	background: #ffffff;
	color: #0b0f14;
	font-family: Arial, sans-serif;
	font-size: 0.96rem;
	font-weight: 500;
	line-height: 1.2;
	padding: 5px 34px 5px 10px;
}

.assessment-limit-picker__select:hover,
.assessment-limit-picker__select:focus {
	border-color: #334155;
	background: #f8fafc;
	color: #0b0f14;
	outline: none;
}

.assessment-limit-picker__arrow,
.assessment-limit-picker__value,
.assessment-limit-picker__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	border: 1px solid #0b0f14;
	border-radius: 6px;
	background: #ffffff;
	color: #0b0f14;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.assessment-limit-picker__arrow {
	width: 34px;
	padding: 0;
}

.assessment-limit-picker__value {
	min-width: 50px;
	padding: 5px 12px;
}

.assessment-limit-picker__all {
	padding: 5px 12px;
}

.assessment-limit-picker__arrow:hover,
.assessment-limit-picker__arrow:focus,
.assessment-limit-picker__all:hover,
.assessment-limit-picker__all:focus {
	background: #f1f5f9;
	color: #0b0f14;
	outline: none;
}

.assessment-limit-picker__value.is-active,
.assessment-limit-picker__all.is-active {
	background: #0b0f14;
	color: #ffffff;
}

.assessment-limit-picker__arrow.is-disabled {
	cursor: default;
	opacity: 0.42;
}

.assessment-start__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.assessment-tools-list {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.assessment-tool-card {
	align-content: start;
	min-height: var(--eb-access-card-min-height);
}

.assessment-start__grid--types {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assessment-start__group-label {
	margin: 8px 0 -2px;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.assessment-start__option {
	display: grid;
	gap: 6px;
	min-height: 92px;
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #ffffff;
	padding: 14px;
	color: var(--eb-color-ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.assessment-start__option.is-disabled {
	cursor: default;
	opacity: 0.64;
}

.assessment-section-tree {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.assessment-section-tree .assessment-section-tree {
	margin: 10px 0 0 14px;
	border-left: 1px solid #111827;
	padding-left: 14px;
}

.assessment-section-tree__item {
	display: grid;
	gap: 0;
}

.assessment-section-tree .assessment-start__option--section {
	min-height: 78px;
}

.assessment-section-tree .assessment-start__option--section strong {
	display: flex;
	align-items: center;
	gap: 9px;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section {
	border-color: #111827;
	background: #ffffff;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section strong > span {
	color: #080b10;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section > span {
	color: #334155;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus {
	border-color: #080b10;
	background: #080b10;
	color: #ffffff;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover strong > span,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus strong > span,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover > span,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus > span {
	color: #ffffff;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled {
	border-color: #64748b;
	background: #ffffff;
	opacity: 1;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled strong > span {
	color: #111827;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled > span {
	color: #475569;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus {
	border-color: #080b10;
	background: #080b10;
	color: #ffffff;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover strong > span,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus strong > span {
	color: #ffffff;
}

.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover > span,
.assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus > span {
	color: #ffffff;
}

.assessment-section-number {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	border: 1px solid currentColor;
	border-radius: 6px;
	padding: 0 7px;
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
}

.assessment-start__option:hover,
.assessment-start__option:focus {
	border-color: var(--eb-color-accent-dark);
	outline: none;
}

.assessment-start__option.is-disabled:hover,
.assessment-start__option.is-disabled:focus {
	border-color: #d8dee6;
	background: #ffffff;
	color: var(--eb-color-ink);
}

.assessment-start__option strong {
	font-size: 1rem;
	line-height: 1.2;
}

.assessment-start__option span {
	color: var(--eb-color-muted);
	font-size: 0.88rem;
	line-height: 1.35;
}

.assessment-start__option em {
	color: #475569;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.25;
}

.assessment-start__message {
	margin: 0;
	color: var(--eb-color-accent-dark);
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
}

.assessment-start__scope {
	border-left: 2px solid var(--eb-color-ink);
	padding-left: 10px;
}

.assessment-start__scope strong {
	color: var(--eb-color-ink);
	font-weight: 600;
}

.assessment-question {
	display: none;
	margin: 0;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 0;
	box-shadow: none;
}

.assessment-question.is-active {
	display: block;
}

.assessment-question legend {
	display: grid;
	gap: 8px;
	width: 100%;
	padding: 0 0 12px;
}

.assessment-question legend span {
	color: var(--eb-color-accent-dark);
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
}

.assessment-question__position {
	display: block;
	margin: 0;
	color: #475569;
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.assessment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
}

.assessment-meta b {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 26px;
	border: 1px solid #d8dee6;
	border-radius: 999px;
	background: #f8fafc;
	padding: 4px 9px;
	color: var(--eb-color-accent-dark);
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: normal;
}

.assessment-route {
	color: #5d6878;
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
}

.assessment-question__body {
	background: transparent;
	border-radius: 7px;
}

.assessment-question__text {
	display: block;
	margin-top: 0;
	margin-bottom: 0;
	padding: 2px 0 0;
	color: var(--eb-color-ink);
	font-size: clamp(1.03rem, 4.5vw, 1.14rem);
	font-weight: 800;
	line-height: 1.3;
}

.assessment-question__text > span {
	display: inline;
}

.assessment-question__glossary-term {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0 8px 6px 0;
	border: 1px solid #111827;
	border-radius: 999px;
	background: #ffffff;
	padding: 2px 8px;
	color: #111827;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
	vertical-align: middle;
	white-space: nowrap;
}

.assessment-question__glossary-term span,
.assessment-question__glossary-term strong {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.assessment-question__glossary-term strong {
	font-weight: 600;
}

.assessment-question__prompt {
	vertical-align: middle;
}

.assessment-question__info-toggle {
	display: inline-grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-left: 2px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #475569;
	cursor: pointer;
	vertical-align: middle;
}

.assessment-question__info-toggle:hover,
.assessment-question__info-toggle:focus,
.assessment-question__info-toggle[aria-expanded="true"] {
	background: transparent;
	color: #111827;
}

.assessment-question__info-toggle .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
	line-height: 17px;
}

.assessment-question__details {
	display: grid;
	gap: 5px;
	margin-top: 10px;
	border-left: 2px solid #cfd6df;
	padding: 2px 0 2px 10px;
	color: #5d6878;
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
}

.assessment-question__details[hidden] {
	display: none;
}

.assessment-options {
	display: grid;
	gap: 10px;
	padding: 16px 0 0;
}

.assessment-option {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	min-height: 58px;
	border: 1px solid #cfd6df;
	border-radius: 6px;
	background: #ffffff;
	padding: 13px 12px;
	box-shadow: inset 0 0 0 0 transparent;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.assessment-option:hover,
.assessment-option:focus-within {
	border-color: #111827;
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px #111827;
}

.assessment-option input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	accent-color: var(--eb-color-accent-dark);
}

.assessment-option span {
	flex: 1 1 180px;
	min-width: 0;
	color: var(--eb-color-ink);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.45;
}

.assessment-option:has(input:checked) {
	border-color: #111827;
	background: #f8fafc;
	box-shadow: inset 0 0 0 1px #111827;
}

.assessment-option:has(input:disabled) {
	cursor: default;
}

.assessment-question.is-reviewed .assessment-option:not(.is-correct):not(.is-incorrect):hover,
.assessment-question.is-reviewed .assessment-option:not(.is-correct):not(.is-incorrect):focus-within {
	border-color: #cfd6df;
	background: #ffffff;
	box-shadow: none;
}

.assessment-option.is-correct {
	border-color: #4c6a3b;
	background: #f0f6ec;
	box-shadow: none;
}

.assessment-question.is-correct .assessment-option.is-selected.is-correct,
.assessment-question.is-reviewed .assessment-option.is-correct:has(input:checked) {
	border-color: #4c6a3b;
	background: #f0f6ec;
	box-shadow: none;
}

.assessment-question.is-correct .assessment-feedback {
	border-left-color: #4c6a3b;
}

.assessment-option.is-incorrect {
	border-color: #c2410c;
	background: #ffedd5;
	box-shadow: none;
}

.assessment-question.is-incorrect .assessment-option.is-selected.is-incorrect {
	border-color: #c2410c;
	background: #ffedd5;
	box-shadow: none;
}

.assessment-question.is-incorrect .assessment-feedback {
	border-left-color: #c2410c;
}

.assessment-feedback {
	display: none;
	margin: 16px 0 2px;
	border: 1px solid #d8dee6;
	border-left: 4px solid var(--eb-color-accent-dark);
	border-radius: 6px;
	background: #fbfcfd;
	padding: 14px;
	color: #425064;
	font-size: 0.92rem;
	line-height: 1.45;
}

.assessment-feedback p {
	margin: 0;
}

.assessment-feedback p + p {
	margin-top: 8px;
}

.assessment-feedback__base {
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.84rem;
}

.assessment-feedback__choice {
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #f8fafc;
	padding: 8px 10px;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
}

.assessment-feedback__base strong {
	color: var(--eb-color-accent-dark);
}

.assessment-question.is-reviewed .assessment-feedback {
	display: block;
}

.learning-feedback {
	margin: 14px 0 0;
	border-top: 1px solid #d8dee6;
	padding-top: 12px;
}

.learning-feedback[hidden] {
	display: none;
}

.learning-feedback__prompt {
	margin: 0 0 8px;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.learning-feedback__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.learning-feedback__choice {
	border: 1px solid #0b0f14;
	border-radius: 6px;
	background: #ffffff;
	padding: 6px 10px;
	color: #0b0f14;
	font-family: Arial, sans-serif;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.learning-feedback__choice:hover,
.learning-feedback__choice:focus {
	background: #f1f5f9;
	outline: none;
}

.learning-feedback__choice.is-selected {
	background: #0b0f14;
	color: #ffffff;
}

.learning-feedback__choice:disabled {
	cursor: default;
	opacity: 0.58;
}

.learning-feedback__choice.is-selected:disabled {
	opacity: 1;
}

.learning-feedback__note-label {
	display: block;
	margin: 10px 0 5px;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.25;
}

.learning-feedback__note {
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 640px;
	min-height: 58px;
	border: 1px solid #94a3b8;
	border-radius: 6px;
	background: #ffffff;
	color: #0b0f14;
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
	line-height: 1.35;
	padding: 8px 10px;
	resize: vertical;
}

.learning-feedback__note:focus {
	border-color: #0b0f14;
	outline: none;
}

.learning-feedback__note:disabled {
	cursor: default;
	opacity: 0.72;
}

.learning-feedback__message {
	margin: 8px 0 0;
	color: #64748b;
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	line-height: 1.35;
}

.learning-feedback.has-error .learning-feedback__message {
	color: #c2410c;
}

.assessment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	align-items: center;
	padding-top: 4px;
}

.assessment-actions[hidden] {
	display: none;
}

.assessment-actions [hidden] {
	display: none;
}

.assessment-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--eb-color-accent-dark);
	border-radius: 6px;
	background: var(--eb-color-accent-dark);
	padding: 13px 16px;
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.assessment-button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 18px;
}

.assessment-button:hover,
.assessment-button:focus {
	background: var(--eb-color-accent);
}

.assessment-button--secondary {
	background: #ffffff;
	color: var(--eb-color-accent-dark);
}

.assessment-button--secondary:hover,
.assessment-button--secondary:focus {
	background: #fbefef;
}

.assessment-score {
	display: inline-flex;
	align-items: center;
	flex: 1 1 220px;
	min-height: 32px;
	margin: 0;
	color: #475569;
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
}

.assessment-results {
	display: grid;
	gap: 10px;
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #ffffff;
	padding: 18px;
}

.assessment-results[hidden] {
	display: none;
}

.assessment-results h2 {
	margin: 0;
	font-size: 1.22rem;
	line-height: 1.2;
}

.assessment-results__score {
	margin: 0;
	color: var(--eb-color-ink);
	font-family: Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.assessment-results__message {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 0.96rem;
	line-height: 1.45;
}

.assessment-results__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 6px;
}

.assessment-results__actions [hidden] {
	display: none;
}

@media (max-width: 640px) {
	.assessment-page {
		gap: 18px;
	}

	.assessment-panel__heading {
		margin-bottom: 14px;
	}

	.assessment-form {
		gap: 12px;
	}

	.assessment-start__grid {
		grid-template-columns: 1fr;
	}

	.assessment-start__option {
		min-height: 78px;
	}

	.assessment-question legend {
		padding: 0 0 10px;
	}

	.assessment-question__text {
		padding: 2px 0 0;
	}

	.assessment-options {
		padding: 12px 0 0;
	}

	.assessment-option {
		min-height: 56px;
		padding: 12px;
	}

	.assessment-actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.assessment-button {
		width: 100%;
		min-height: 48px;
	}

	.assessment-score {
		padding-top: 4px;
	}

	.assessment-results {
		padding: 16px 14px;
	}

	.assessment-results__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

.study-topic__content p,
.study-topic__content li {
	color: var(--eb-color-muted);
}

.study-topic__content li + li {
	margin-top: 6px;
}

.study-section-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 18px;
}

.study-section-card {
	display: grid;
	align-content: start;
	gap: 8px;
	min-height: 132px;
	border: 1px solid #0b0f14;
	border-radius: 6px;
	background: #ffffff;
	padding: 18px;
	color: #0b0f14;
	text-decoration: none;
	transition: background 140ms ease, color 140ms ease;
}

.study-section-card:hover,
.study-section-card:focus {
	background: #0b0f14;
	color: #ffffff;
	filter: none;
}

.study-section-card.is-disabled {
	opacity: 0.76;
}

.study-section-card span,
.study-section-card b,
.study-section-card em {
	color: inherit;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	line-height: 1.25;
}

.study-section-card b {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: inherit;
	font-size: 0.76rem;
	font-weight: 600;
}

.study-section-card strong {
	color: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.22;
}

.study-section-card p {
	margin: 0;
	color: inherit;
	font-size: 0.9rem;
	line-height: 1.45;
}

.study-section-card em {
	align-self: end;
	font-weight: 600;
	text-transform: uppercase;
}

@media (max-width: 980px) {
	.study-section-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.study-section-grid {
		grid-template-columns: 1fr;
	}
}

.overview-track {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 42px 0 2px;
	list-style: none;
	overflow: visible;
}

.overview-track--two {
	grid-template-columns: repeat(2, minmax(340px, 1fr));
	min-width: 720px;
}

.overview-track--many {
	grid-template-columns: repeat(12, minmax(230px, 1fr));
	min-width: 2760px;
}

.overview-track::before {
	position: absolute;
	top: 18px;
	right: 115px;
	left: 115px;
	height: 4px;
	background: linear-gradient(90deg, var(--eb-color-accent-dark), var(--eb-color-line));
	border-radius: 999px;
	content: "";
}

.overview-period {
	position: relative;
}

.overview-period a,
.overview-period span {
	position: relative;
	display: grid;
	gap: 5px;
	min-height: 156px;
	margin: 0 8px;
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	background: #fafafa;
	padding: 14px;
	color: var(--eb-color-ink);
	text-decoration: none;
}

.overview-period small {
	position: absolute;
	top: -38px;
	left: 50%;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	background: var(--eb-color-line);
	border: 3px solid var(--eb-color-surface);
	border-radius: 50%;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 600;
}

.overview-period strong {
	line-height: 1.2;
}

.overview-period em {
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.86rem;
	font-style: normal;
	line-height: 1.35;
}

.overview-period b {
	align-self: end;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.overview-period.is-active a,
.overview-period.is-active span {
	border-color: var(--eb-color-accent-dark);
	background: #fffafa;
}

.overview-period.is-active small {
	background: var(--eb-color-accent-dark);
	color: #ffffff;
}

.overview-period.is-active b {
	color: var(--eb-color-accent-dark);
}

.overview-period.is-disabled span {
	color: var(--eb-color-muted);
}

.timeline-timeframe {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: 760px;
	margin-top: 18px;
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	background: #fafafa;
	padding: 10px 14px;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
}

.timeline-timeframe strong {
	color: var(--eb-color-ink);
}

.study-map,
.timeline-card {
	background: var(--eb-color-surface);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
}

.timeline-kicker,
.timeline-card__heading p {
	margin: 0 0 8px;
	color: var(--eb-color-accent-dark);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.panorama {
	background: var(--eb-color-surface);
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	padding: clamp(20px, 4vw, 32px);
}

.panorama__heading {
	max-width: 760px;
	margin-bottom: 22px;
}

.panorama__heading h1,
.panorama__heading h2 {
	margin: 0;
	line-height: 1.15;
}

.panorama__heading p:last-child {
	margin: 8px 0 0;
	color: var(--eb-color-muted);
}

.panorama-track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(10, minmax(220px, 1fr));
	gap: 0;
	min-width: 1760px;
	margin: 0;
	padding: 42px 0 2px;
	list-style: none;
	overflow: visible;
}

.panorama-track::before {
	position: absolute;
	top: 18px;
	right: 110px;
	left: 110px;
	height: 4px;
	background: linear-gradient(90deg, var(--eb-color-accent-dark), var(--eb-color-line));
	border-radius: 999px;
	content: "";
}

.panorama {
	overflow-x: auto;
}

.panorama-period {
	position: relative;
	padding-top: 0;
}

.panorama-period a,
.panorama-period span {
	position: relative;
	display: grid;
	gap: 5px;
	min-height: 156px;
	margin: 0 8px;
	border: 1px solid var(--eb-color-line);
	border-radius: 6px;
	background: #fafafa;
	padding: 14px;
	color: var(--eb-color-ink);
	text-decoration: none;
}

.panorama-period small {
	position: absolute;
	top: -38px;
	left: 50%;
	z-index: 1;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	background: var(--eb-color-line);
	border: 3px solid var(--eb-color-surface);
	border-radius: 50%;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 600;
}

.panorama-period strong {
	line-height: 1.2;
}

.panorama-period em {
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.86rem;
	font-style: normal;
	line-height: 1.35;
}

.panorama-period b {
	align-self: end;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
}

.panorama-period.is-active a,
.panorama-period.is-active span {
	border-color: var(--eb-color-accent-dark);
	background: #fffafa;
}

.panorama-period.is-active small {
	background: var(--eb-color-accent-dark);
	color: #ffffff;
}

.panorama-period.is-active b {
	color: var(--eb-color-accent-dark);
}

.panorama-period.is-disabled span {
	color: var(--eb-color-muted);
}

.study-map {
	padding: clamp(20px, 4vw, 32px);
	overflow-x: auto;
}

.study-map h2 {
	margin-top: 0;
}

.timeline-track {
	display: grid;
	grid-template-columns: repeat(6, minmax(180px, 1fr));
	gap: 0;
	min-width: 880px;
	margin: 0;
	padding: 16px 0 0;
	list-style: none;
}

.timeline-node {
	position: relative;
	padding-top: 24px;
}

.timeline-node::before {
	position: absolute;
	top: 10px;
	right: 0;
	left: 0;
	height: 2px;
	background: var(--eb-color-line);
	content: "";
}

.timeline-node:first-child::before {
	left: 50%;
}

.timeline-node:last-child::before {
	right: 50%;
}

.timeline-node a {
	position: relative;
	display: grid;
	gap: 6px;
	padding: 0 14px;
	color: var(--eb-color-ink);
	text-align: center;
	text-decoration: none;
}

.timeline-node__number {
	display: inline-grid;
	place-items: center;
	justify-self: center;
	width: 34px;
	height: 34px;
	margin-top: -30px;
	background: var(--eb-color-accent-dark);
	border: 3px solid var(--eb-color-surface);
	border-radius: 50%;
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
}

.timeline-node__title {
	font-weight: 700;
	line-height: 1.25;
}

.timeline-node__reference {
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.88rem;
}

.timeline-details {
	display: grid;
	gap: 22px;
}

.timeline-card {
	padding: clamp(22px, 4vw, 36px);
	scroll-margin-top: 24px;
}

.timeline-card__heading {
	margin-bottom: 20px;
}

.timeline-card__heading h2 {
	margin: 0;
	line-height: 1.2;
}

.timeline-card__heading span {
	display: inline-block;
	margin-top: 8px;
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
}

.dimension-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.dimension-panel {
	border-top: 3px solid var(--eb-color-accent);
	background: #fafafa;
	padding: 16px;
}

.dimension-panel h3 {
	margin: 0 0 8px;
	font-family: Arial, sans-serif;
	font-size: 0.92rem;
}

.dimension-panel p {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 0.98rem;
}

.study-note {
	display: grid;
	gap: 18px;
	margin-top: 22px;
	border-top: 1px solid var(--eb-color-line);
	padding-top: 22px;
}

.study-note h3 {
	margin: 0 0 8px;
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
}

.study-note p,
.study-note ul {
	margin-top: 0;
	margin-bottom: 0;
}

.study-note li + li {
	margin-top: 6px;
}

.study-note__focus {
	max-width: 820px;
}

.source-list {
	color: var(--eb-color-muted);
	font-family: Arial, sans-serif;
	font-size: 0.92rem;
}

.glossary-link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.glossary-link-list li {
	margin: 0;
}

.glossary-link-list a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	border: 1px solid var(--eb-color-line);
	border-radius: 999px;
	background: var(--eb-color-surface);
	padding: 4px 12px;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	text-decoration: none;
}

@media (max-width: 720px) {
	body {
		font-size: 17px;
		padding-right: 0;
		padding-bottom: 64px;
		padding-left: 0;
	}

	.site-header__inner {
		align-items: center;
	}

	.site-navigation {
		display: none;
	}

	.site-user-menu {
		gap: 6px;
	}

	.site-user-menu__name {
		max-width: 24vw;
		font-size: 0.82rem;
	}

	.study-sidebar {
		top: auto;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 58px;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
		border-right: 0;
		box-shadow: 0 -1px 10px rgba(17, 24, 39, 0.08);
		padding-top: 0;
	}

	.study-sidebar__toggle-action {
		display: none;
	}

	.site-header,
	.site-footer {
		width: auto;
		margin-left: 0;
	}

	.site-footer {
		z-index: auto;
	}

	.site-footer__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
		padding: 18px 16px 76px;
	}

	.site-header__inner {
		padding: 10px clamp(16px, 3vw, 40px) 10px calc(var(--eb-sidebar-width) + 8px);
	}

	body.admin-bar .study-sidebar {
		top: auto;
	}

	.study-sidebar-toggle:checked ~ .study-sidebar {
		width: 100%;
	}

	.study-sidebar__nav {
		display: flex;
		gap: 0;
		overflow-x: auto;
		padding: 6px 8px;
	}

	.study-sidebar__item {
		min-width: 58px;
		min-height: 46px;
		justify-content: center;
		padding: 0 10px;
	}

	.study-sidebar__group {
		flex: 0 0 auto;
	}

	.study-sidebar__submenu {
		position: fixed;
		right: 8px;
		bottom: 64px;
		left: 8px;
		z-index: 70;
		border: 1px solid rgba(255, 255, 255, 0.18);
		border-radius: 6px;
		background: #0b0f14;
		padding: 8px;
		box-shadow: 0 -2px 14px rgba(17, 24, 39, 0.12);
	}

	.study-sidebar__subitem,
	.study-sidebar-toggle:checked ~ .study-sidebar .study-sidebar__subitem {
		max-width: none;
		opacity: 1;
	}

	.study-sidebar__label,
	.study-sidebar-toggle:checked ~ .study-sidebar .study-sidebar__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		max-width: none;
		clip: rect(1px, 1px, 1px, 1px);
		opacity: 1;
		white-space: nowrap;
	}

	.dimension-grid {
		grid-template-columns: 1fr;
	}

	.foundation-grid {
		grid-template-columns: 1fr;
	}
}

/*
 * Estudio Biblico visual system v1.
 * Clean white space, near-black ink, restrained lines, and intentional color.
 */
:root {
	--eb-color-ink: #0b0f14;
	--eb-color-muted: #4b5563;
	--eb-color-line: #cbd5e1;
	--eb-color-line-soft: #e2e8f0;
	--eb-color-line-strong: #0b0f14;
	--eb-color-bg: #f7f9fc;
	--eb-color-surface: #f7f9fc;
	--eb-color-surface-soft: #e8eef6;
	--eb-color-inverse-bg: #0b0f14;
	--eb-color-inverse-fg: #ffffff;
	--eb-color-accent: #0b0f14;
	--eb-color-accent-dark: #0b0f14;
	--eb-shadow-card: 0 8px 18px rgba(17, 24, 39, 0.04);
	--eb-shadow-shell: none;
	--eb-action-icon-border: var(--eb-color-inverse-bg);
	--eb-action-icon-bg: var(--eb-color-inverse-bg);
	--eb-action-icon-fg: var(--eb-color-inverse-fg);
	--eb-action-icon-hover-border: var(--eb-color-inverse-bg);
	--eb-action-icon-hover-bg: var(--eb-color-surface);
	--eb-action-icon-hover-fg: var(--eb-color-ink);
}

body {
	background: var(--eb-color-bg);
	color: var(--eb-color-ink);
}

a,
a:hover,
a:focus {
	color: var(--eb-color-ink);
}

.site-header,
.site-footer {
	background: #0b0f14;
	border-color: #0b0f14;
	box-shadow: none;
	color: #ffffff;
}

.site-header {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-footer {
	border-top-color: transparent;
}

.study-sidebar {
	background: #0b0f14;
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: none;
	color: #ffffff;
}

.study-sidebar__item,
.study-sidebar__subitem {
	background: transparent;
	color: #ffffff;
}

.study-sidebar__item:hover,
.study-sidebar__item:focus-visible {
	background: transparent;
	color: #ffffff;
}

.study-sidebar__subitem:hover,
.study-sidebar__subitem:focus {
	background: #ffffff;
	color: #0b0f14;
}

.study-topic__source-card,
.study-topic__source-card.is-foundation,
.study-topic__source-card.is-interpretation,
.study-topic__source-card.is-method,
.study-topic__source-card.courses-header,
.study-topic__source-card.course-header,
.study-topic__source-card.section-header {
	border: 1px solid var(--eb-color-inverse-bg);
	background: var(--eb-color-inverse-bg);
	color: var(--eb-color-inverse-fg);
	box-shadow: none;
}

.courses-panel,
.study-topic,
.timeline-section,
.study-card,
.dimension-card,
.foundation-card,
.assessment-card,
.assessment-option,
.study-topic__note,
.study-topic__callout {
	border-color: #0b0f14;
	background: #ffffff;
	box-shadow: none;
}

.timeline-card,
.timeline-point,
.period-card,
.period-band a,
.timeline-toggle,
.dimension-toggle,
.assessment-filter,
.assessment-results,
.assessment-feedback {
	border-color: #0b0f14;
	background: #ffffff;
	color: #0b0f14;
	box-shadow: none;
}

.timeline-card:hover,
.timeline-card:focus,
.period-card:hover,
.period-card:focus,
.period-band a:hover,
.period-band a:focus {
	background: #0b0f14;
	color: #ffffff;
}

.timeline-card *,
.period-card *,
.timeline-point *,
.assessment-card *,
.assessment-results *,
.assessment-feedback * {
	color: inherit;
}

.timeline-axis,
.timeline-scroll__inner::before,
.origin-timeline__axis {
	background: #0b0f14;
}

.timeline-marker,
.period-marker,
.origin-timeline__marker {
	border-color: #ffffff;
	background: #0b0f14;
	color: #ffffff;
}

.button,
button,
input[type="submit"],
.assessment-button,
.study-action {
	border: 1px solid #0b0f14;
	background: #ffffff;
	color: #0b0f14;
	box-shadow: none;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.assessment-button:hover,
.assessment-button:focus,
.study-action:hover,
.study-action:focus {
	background: #0b0f14;
	color: #ffffff;
}

/*
 * Clean assessment surface.
 * Light lines, white space, muted text, and green only for active states.
 */
.assessment-page {
	--assessment-ink: #020617;
	--assessment-muted: #64748b;
	--assessment-line: #0b0f14;
	--assessment-soft: #f8fafc;
	--assessment-shadow: none;
	--assessment-shadow-hover: none;
}

.assessment-page .study-topic__source-card {
	display: grid;
	gap: 6px 12px;
	border: 1px solid #0b0f14;
	border-radius: 6px;
	background: #0b0f14;
	padding: 16px clamp(16px, 3vw, 22px);
	color: #ffffff;
	box-shadow: none;
}

.assessment-page .study-topic__source-card h1 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.12;
}

.assessment-page .study-topic__source-card p {
	max-width: none;
	margin: 0;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
}

.assessment-page .study-topic__source-card span {
	display: inline-block;
	margin-top: 0;
	color: rgba(255, 255, 255, 0.82);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.25;
}

.assessment-panel__heading h2,
.assessment-start h2,
.assessment-results h2 {
	color: var(--assessment-ink);
	font-weight: 600;
}

.assessment-panel__heading p,
.assessment-start p,
.assessment-results__message,
.assessment-start__option span,
.assessment-route,
.assessment-question__details {
	color: var(--assessment-muted);
}

.assessment-start__option,
.assessment-option,
.assessment-results,
.assessment-feedback {
	border-color: var(--assessment-line);
	border-radius: 6px;
	background: #ffffff;
	box-shadow: var(--assessment-shadow);
}

.assessment-start__option {
	min-height: 86px;
	padding: 16px 18px;
}

.assessment-start__option:hover,
.assessment-start__option:focus {
	border-color: var(--assessment-line);
	background: #0b0f14;
	color: #ffffff;
	box-shadow: var(--assessment-shadow-hover);
}

.assessment-start__option:hover strong,
.assessment-start__option:focus strong {
	color: #ffffff;
}

.assessment-start__option:hover span,
.assessment-start__option:focus span {
	color: #ffffff;
}

.assessment-start__option strong {
	color: var(--assessment-ink);
	font-weight: 600;
}

.assessment-option {
	border-color: var(--assessment-line);
	padding: 14px 14px;
	box-shadow: var(--assessment-shadow);
}

.assessment-option:hover,
.assessment-option:focus-within {
	border-color: var(--assessment-line);
	background: #f8fafc;
	box-shadow: var(--assessment-shadow-hover);
}

.assessment-option:has(input:checked) {
	border-color: var(--eb-color-selected-line);
	background: #f0fdf4;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--eb-color-selected) 18%, transparent);
}

.assessment-option input {
	accent-color: var(--eb-color-selected);
}

.assessment-feedback {
	border-left-color: var(--eb-color-selected);
	background: #ffffff;
	color: #475569;
}

.assessment-results {
	padding: 20px;
}

.assessment-page .assessment-button:not(.assessment-button--secondary) {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #ffffff;
}

.assessment-page .assessment-button:not(.assessment-button--secondary):hover,
.assessment-page .assessment-button:not(.assessment-button--secondary):focus {
	border-color: #15803d;
	background: #16a34a;
	color: #ffffff;
}

.assessment-page .assessment-button--secondary {
	border-color: #0b0f14;
	background: #ffffff;
	color: var(--assessment-ink);
}

.assessment-page .assessment-button--secondary:hover,
.assessment-page .assessment-button--secondary:focus {
	border-color: #0b0f14;
	background: #0b0f14;
	color: #ffffff;
}

.theme-toggle {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	border: 1px solid #ffffff;
	border-radius: var(--eb-action-icon-radius);
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.theme-toggle .dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
}

.theme-toggle .dashicons::before {
	display: block;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: var(--eb-action-icon-glyph-size);
	line-height: 1;
	text-align: center;
}

.theme-toggle .dashicons-lightbulb::before {
	transform: translateX(-1px);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
	border-color: #ffffff;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
	color: #0b0f14;
	outline: none;
}

.connection-explorer {
	--eb-connection-person: #15803d;
	--eb-connection-group: #1d4ed8;
	--eb-connection-event: #b45309;
	--eb-connection-place: #6d28d9;
	--eb-connection-book: #0369a1;
	--eb-connection-writing: #a16207;
	--eb-connection-concept: #be123c;
	padding: 0;
	overflow: hidden;
}

.connection-explorer__device-message {
	display: none;
}

.connection-explorer__workspace {
	display: grid;
	gap: 16px;
}

html.connection-explorer-fullscreen-open {
	overflow: hidden;
}

.connection-explorer__workspace:fullscreen,
.connection-explorer__workspace.is-fullscreen-fallback {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	padding: 16px;
	overflow: auto;
	background: var(--eb-color-bg);
	box-sizing: border-box;
}

.connection-explorer__workspace.is-fullscreen-fallback {
	position: fixed;
	z-index: 100000;
	inset: 0;
}

.connection-explorer__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid var(--eb-color-line);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
}

.connection-explorer__toolbar > div:first-child {
	display: grid;
	gap: 1px;
}

.connection-explorer__toolbar strong {
	font-size: 1.05rem;
	line-height: 1.25;
}

.connection-explorer__toolbar small,
.connection-explorer__eyebrow {
	color: var(--eb-color-muted);
	font-family: var(--eb-font-ui);
	font-size: 0.72rem;
	letter-spacing: 0;
}

.connection-explorer__eyebrow {
	text-transform: uppercase;
}

.connection-explorer__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.connection-explorer__fullscreen {
	display: grid;
	place-items: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--eb-color-line-strong);
	border-radius: var(--eb-radius-sm);
	background: transparent;
	color: var(--eb-color-ink);
	cursor: pointer;
}

.connection-explorer__fullscreen:hover,
.connection-explorer__fullscreen:focus-visible,
.connection-explorer__fullscreen[aria-pressed="true"] {
	border-color: var(--eb-color-ink);
	background: var(--eb-color-ink);
	color: var(--eb-color-bg);
	outline: none;
}

.connection-explorer__fullscreen .dashicons {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	font-size: 22px;
	line-height: 1;
}

.connection-explorer__legend {
	display: flex;
	flex: 1 1 420px;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px 14px;
	margin: 0;
	padding: 0;
	color: var(--eb-color-muted);
	font-family: var(--eb-font-ui);
	font-size: 0.68rem;
	line-height: 1.2;
	list-style: none;
}

.connection-explorer__legend li {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
}

.connection-explorer__legend-mark {
	display: inline-block;
	width: 4px;
	height: 16px;
	border-radius: 1px;
	background: var(--eb-color-line-strong);
}

.connection-explorer__legend-mark.is-person {
	background: var(--eb-connection-person);
}

.connection-explorer__legend-mark.is-group {
	background: var(--eb-connection-group);
}

.connection-explorer__legend-mark.is-event {
	background: var(--eb-connection-event);
}

.connection-explorer__legend-mark.is-place {
	background: var(--eb-connection-place);
}

.connection-explorer__legend-mark.is-book {
	background: var(--eb-connection-book);
}

.connection-explorer__legend-mark.is-writing {
	background: var(--eb-connection-writing);
}

.connection-explorer__legend-mark.is-concept {
	background: var(--eb-connection-concept);
}

.connection-explorer__finder {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: auto minmax(260px, 620px);
	align-items: center;
	justify-content: start;
	gap: 8px 12px;
	padding: 0 1px;
}

.connection-explorer__finder > label {
	font-family: var(--eb-font-ui);
	font-size: 0.78rem;
	font-weight: 600;
}

.connection-explorer__finder-control {
	position: relative;
	display: flex;
	align-items: stretch;
}

.connection-explorer__finder-control input {
	width: 100%;
	min-height: 42px;
	padding: 8px 72px 8px 12px;
	border: 1px solid var(--eb-color-line);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	color: var(--eb-color-ink);
	font: inherit;
}

.connection-explorer__finder-control input:focus {
	border-color: var(--eb-color-line-strong);
	outline: 2px solid color-mix(in srgb, var(--eb-color-line-strong) 24%, transparent);
	outline-offset: 1px;
}

.connection-explorer__finder-control button {
	position: absolute;
	top: 1px;
	right: 1px;
	bottom: 1px;
	padding: 0 10px;
	border: 0;
	border-left: 1px solid var(--eb-color-line);
	border-radius: 0 calc(var(--eb-radius-sm) - 1px) calc(var(--eb-radius-sm) - 1px) 0;
	background: transparent;
	color: var(--eb-color-ink);
	font-size: 0.7rem;
	cursor: pointer;
}

.connection-explorer__finder-control button:hover,
.connection-explorer__finder-control button:focus-visible {
	background: var(--eb-color-active-soft);
	outline: none;
}

.connection-explorer__finder-results {
	position: absolute;
	top: calc(100% + 5px);
	left: max(0px, calc(12px + 82px));
	width: min(620px, calc(100% - 94px));
	max-height: 330px;
	overflow-y: auto;
	border: 1px solid var(--eb-color-line-strong);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	box-shadow: 0 14px 34px rgb(11 15 20 / 22%);
}

.connection-explorer__finder-results[hidden] {
	display: none;
}

.connection-explorer__finder-result {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 42px;
	padding: 8px 11px;
	border: 0;
	border-bottom: 1px solid var(--eb-color-line-soft);
	background: transparent;
	color: var(--eb-color-ink);
	font-family: var(--eb-font-ui);
	text-align: left;
	cursor: pointer;
}

.connection-explorer__finder-result:last-child {
	border-bottom: 0;
}

.connection-explorer__finder-result:hover,
.connection-explorer__finder-result:focus-visible {
	background: var(--eb-color-active-soft);
	color: var(--eb-color-ink);
	outline: none;
}

.connection-explorer__finder-result strong {
	font-size: 0.78rem;
}

.connection-explorer__finder-result small,
.connection-explorer__finder-status {
	color: var(--eb-color-muted);
	font-family: var(--eb-font-ui);
	font-size: 0.68rem;
}

.connection-explorer__finder-status {
	grid-column: 2;
}

.connection-explorer.is-loading .connection-explorer__stage {
	opacity: 0.56;
	pointer-events: none;
}

.connection-explorer__stage-scroll {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--eb-color-line);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface-soft);
	overscroll-behavior-inline: contain;
}

.connection-explorer__stage {
	position: relative;
	width: 100%;
	min-width: 1000px;
	height: 720px;
	overflow: hidden;
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--eb-color-line) 14%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--eb-color-line) 14%, transparent) 1px, transparent 1px);
	background-size: 40px 40px;
}

html:not(.is-dark-mode) .connection-explorer__stage-scroll,
html:not(.is-dark-mode) .connection-explorer__stage {
	background-color: #d8e1ec;
}

.connection-explorer__edges,
.connection-explorer__nodes {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.connection-explorer__edge-line {
	stroke: var(--eb-color-line);
	stroke-width: 1.5;
	transition: stroke 140ms ease, stroke-width 140ms ease;
}

html:not(.is-dark-mode) .connection-explorer__edge-line {
	stroke: #64748b;
}

.connection-explorer__edge-hit {
	stroke: transparent;
	stroke-width: 18;
	cursor: pointer;
}

.connection-explorer__edge:hover .connection-explorer__edge-line,
.connection-explorer__edge:focus-within .connection-explorer__edge-line {
	stroke: var(--eb-color-selected-line);
	stroke-width: 3;
}

.connection-explorer__edge-hit:focus-visible {
	outline: none;
}

.connection-explorer__node {
	position: absolute;
	z-index: 2;
	display: grid;
	align-content: center;
	justify-items: center;
	width: 148px;
	height: 72px;
	padding: 8px 10px;
	transform: translate(-50%, -50%);
	border: 1px solid var(--eb-color-line);
	border-left-width: 4px;
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	color: var(--eb-color-ink);
	font-family: var(--eb-font-ui);
	text-align: center;
	cursor: pointer;
	box-shadow: var(--eb-shadow-card);
	transition: background 130ms ease, border-color 130ms ease, transform 130ms ease;
}

html:not(.is-dark-mode) .connection-explorer__node {
	border-top-color: #64748b;
	border-right-color: #64748b;
	border-bottom-color: #64748b;
	background: #eef2f7;
}

.connection-explorer__node:hover,
.connection-explorer__node:focus-visible,
.connection-explorer__node.is-touch-preview {
	z-index: 4;
	transform: translate(-50%, -50%) scale(1.04);
	border-top-color: var(--eb-color-line-strong);
	border-right-color: var(--eb-color-line-strong);
	border-bottom-color: var(--eb-color-line-strong);
	background: var(--eb-color-active-soft);
	outline: none;
}

html:not(.is-dark-mode) .connection-explorer__node:hover,
html:not(.is-dark-mode) .connection-explorer__node:focus-visible,
html:not(.is-dark-mode) .connection-explorer__node.is-touch-preview {
	border-top-color: #475569;
	border-right-color: #475569;
	border-bottom-color: #475569;
	background: #d2dbe7;
	color: #0b0f14;
}

.connection-explorer__node.is-center {
	z-index: 3;
	width: 176px;
	height: 88px;
	border: 2px solid var(--eb-color-line-strong);
	background: #94a3b9;
	color: #0b0f14;
}

.connection-explorer__node.is-center:hover,
.connection-explorer__node.is-center:focus-visible {
	background: #a8b4c5;
}

html:not(.is-dark-mode) .connection-explorer__node.is-center:hover,
html:not(.is-dark-mode) .connection-explorer__node.is-center:focus-visible {
	border-color: #334155;
	background: #8291a7;
}

.connection-explorer__node--person {
	border-left-color: var(--eb-connection-person);
}

.connection-explorer__node--group {
	border-left-color: var(--eb-connection-group);
}

.connection-explorer__node--event {
	border-left-color: var(--eb-connection-event);
}

.connection-explorer__node--place {
	border-left-color: var(--eb-connection-place);
}

.connection-explorer__node--book {
	border-left-color: var(--eb-connection-book);
}

.connection-explorer__node--writing {
	border-left-color: var(--eb-connection-writing);
}

.connection-explorer__node--concept {
	border-left-color: var(--eb-connection-concept);
}

.connection-explorer__node-label {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.connection-explorer__node-type {
	margin-top: 3px;
	color: currentColor;
	font-size: 0.64rem;
	font-weight: 400;
	line-height: 1;
	opacity: 0.72;
}

.connection-explorer__preview {
	position: absolute;
	z-index: 8;
	width: min(390px, calc(100% - 36px));
	overflow: hidden;
	border: 1px solid var(--eb-color-line-strong);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	color: var(--eb-color-ink);
	box-shadow: 0 18px 40px rgb(11 15 20 / 22%);
	pointer-events: none;
}

.connection-explorer__preview[hidden] {
	display: none;
}

.connection-explorer__preview-heading {
	padding: 10px 13px;
	border-bottom: 1px solid var(--eb-color-line-strong);
	border-left: 4px solid var(--eb-color-line-strong);
	background: #94a3b9;
	color: #0b0f14;
}

.connection-explorer__preview[data-node-type="person"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-person);
}

.connection-explorer__preview[data-node-type="group"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-group);
}

.connection-explorer__preview[data-node-type="event"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-event);
}

.connection-explorer__preview[data-node-type="place"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-place);
}

.connection-explorer__preview[data-node-type="book"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-book);
}

.connection-explorer__preview[data-node-type="writing"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-writing);
}

.connection-explorer__preview[data-node-type="concept"] .connection-explorer__preview-heading {
	border-left-color: var(--eb-connection-concept);
}

.connection-explorer__preview-heading span {
	display: block;
	font-size: 0.64rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.connection-explorer__preview-heading h2 {
	margin: 2px 0 0;
	font-size: 1rem;
	line-height: 1.25;
}

.connection-explorer__preview-body {
	display: grid;
	gap: 9px;
	padding: 11px 13px 12px;
}

.connection-explorer__preview-body p,
.connection-explorer__preview-body small,
.connection-explorer__preview-relation strong,
.connection-explorer__preview-relation span {
	margin: 0;
	font-family: var(--eb-font-ui);
}

.connection-explorer__preview-body > p {
	font-size: 0.78rem;
	line-height: 1.42;
}

.connection-explorer__preview-relation {
	display: grid;
	gap: 3px;
	padding-top: 9px;
	border-top: 1px solid var(--eb-color-line-soft);
}

.connection-explorer__preview-relation strong {
	font-size: 0.68rem;
	line-height: 1.3;
	text-transform: uppercase;
}

.connection-explorer__preview-relation span {
	font-size: 0.8rem;
	font-weight: 650;
	line-height: 1.35;
}

.connection-explorer__preview-relation p {
	font-size: 0.75rem;
	line-height: 1.4;
}

.connection-explorer__preview-key-point {
	padding: 7px 8px;
	border-left: 3px solid #94a3b9;
	background: var(--eb-color-active-soft);
}

.connection-explorer__preview-body small {
	color: var(--eb-color-muted);
	font-size: 0.68rem;
	line-height: 1.35;
}

.connection-explorer__preview-body .connection-explorer__preview-touch-hint {
	display: block;
	padding-top: 8px;
	border-top: 1px solid var(--eb-color-line-soft);
	color: var(--eb-color-ink);
	font-weight: 650;
}

.connection-explorer__detail {
	border: 1px solid var(--eb-color-line);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
}

.connection-explorer__detail-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--eb-color-line);
	background: #94a3b9;
	color: #0b0f14;
}

.connection-explorer__detail-heading span {
	font-size: 0.7rem;
	text-transform: uppercase;
}

.connection-explorer__detail-heading h2 {
	margin: 2px 0 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

.connection-explorer__close {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #0b0f14;
	border-radius: var(--eb-radius-pill);
	background: transparent;
	color: #0b0f14;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.connection-explorer__close:hover,
.connection-explorer__close:focus-visible {
	background: #0b0f14;
	color: #ffffff;
	outline: none;
}

.connection-explorer__detail-body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
}

.connection-explorer__detail-section {
	padding: 14px 16px;
	border-right: 1px solid var(--eb-color-line-soft);
	border-bottom: 1px solid var(--eb-color-line-soft);
}

.connection-explorer__detail-section:nth-child(2n) {
	border-right: 0;
}

.connection-explorer__detail-section h3,
.connection-explorer__detail-section p,
.connection-explorer__detail-section ul {
	margin-top: 0;
}

.connection-explorer__detail-section h3 {
	margin-bottom: 6px;
	font-size: 0.85rem;
}

.connection-explorer__detail-section p,
.connection-explorer__detail-section ul {
	margin-bottom: 0;
	font-size: 0.9rem;
}

@media (max-width: 767px) {
	.connection-explorer__device-message {
		display: grid;
	}

	.connection-explorer__workspace {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1100px) {
	.connection-explorer__finder {
		grid-template-columns: minmax(0, 1fr);
	}

	.connection-explorer__finder-results {
		left: 0;
		width: 100%;
	}

	.connection-explorer__finder-status {
		grid-column: 1;
	}

	.connection-explorer__stage {
		height: 680px;
	}
}

@media (max-width: 900px) {
	.connection-explorer__detail-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.connection-explorer__detail-section,
	.connection-explorer__detail-section:nth-child(2n) {
		border-right: 0;
	}
}

html.is-dark-mode {
	--eb-color-ink: #f8fafc;
	--eb-color-muted: #cbd5e1;
	--eb-color-line: #334155;
	--eb-color-line-soft: #475569;
	--eb-color-line-strong: #f8fafc;
	--eb-color-bg: #080b10;
	--eb-color-surface: #0f141b;
	--eb-color-surface-soft: #161d27;
	--eb-color-inverse-bg: #f8fafc;
	--eb-color-inverse-fg: #080b10;
	--eb-color-accent: #f8fafc;
	--eb-color-accent-dark: #f8fafc;
	--eb-color-active: #f8fafc;
	--eb-color-active-soft: #334155;
	--eb-color-active-line: #94a3b9;
	--eb-color-selected: #22c55e;
	--eb-color-selected-soft: #22c55e;
	--eb-color-selected-line: #4ade80;
	--eb-shadow-card: none;
	--eb-shadow-shell: none;
	--eb-action-icon-border: var(--eb-color-inverse-bg);
	--eb-action-icon-bg: var(--eb-color-inverse-bg);
	--eb-action-icon-fg: var(--eb-color-inverse-fg);
	--eb-action-icon-hover-border: var(--eb-color-inverse-bg);
	--eb-action-icon-hover-bg: var(--eb-color-bg);
	--eb-action-icon-hover-fg: var(--eb-color-ink);
}

html.is-dark-mode body {
	background: var(--eb-color-bg);
	color: var(--eb-color-ink);
}

html.is-dark-mode a,
html.is-dark-mode a:hover,
html.is-dark-mode a:focus {
	color: var(--eb-color-ink);
}

html.is-dark-mode .site-header,
html.is-dark-mode .site-footer {
	background: #0b0f14;
	border-color: #0b0f14;
	color: #ffffff;
}

html.is-dark-mode .site-header {
	border-bottom-color: rgba(255, 255, 255, 0.18);
}

html.is-dark-mode .site-footer {
	border-top-color: transparent;
}

html.is-dark-mode .study-sidebar {
	background: #0b0f14;
	border-color: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

html.is-dark-mode .study-sidebar::after {
	background: rgba(255, 255, 255, 0.18);
}

html.is-dark-mode .site-title a {
	color: #ffffff;
}

html.is-dark-mode .site-menu-toggle {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .site-menu-toggle:hover,
html.is-dark-mode .site-menu-toggle:focus-visible {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-sidebar-toggle:checked ~ .site-header .site-menu-toggle {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .study-sidebar-toggle:checked ~ .site-header .site-menu-toggle:hover,
html.is-dark-mode .study-sidebar-toggle:checked ~ .site-header .site-menu-toggle:focus-visible {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-sidebar__item,
html.is-dark-mode .study-sidebar__subitem,
html.is-dark-mode .theme-toggle {
	border-color: #64748b;
	background: transparent;
	color: #f8fafc;
}

html.is-dark-mode .theme-toggle {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .study-sidebar .dashicons {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .study-sidebar__item:hover,
html.is-dark-mode .study-sidebar__subitem:hover,
html.is-dark-mode .study-sidebar__subitem:focus,
html.is-dark-mode .theme-toggle:hover,
html.is-dark-mode .theme-toggle:focus-visible {
	color: #080b10;
}

html.is-dark-mode .study-sidebar__item:hover,
html.is-dark-mode .study-sidebar__item:focus-visible {
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .study-sidebar__subitem:hover,
html.is-dark-mode .study-sidebar__subitem:focus {
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-sidebar__item:hover .dashicons,
html.is-dark-mode .study-sidebar__item:focus-visible .dashicons,
html.is-dark-mode .study-sidebar__group[open] > summary .dashicons {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .theme-toggle:hover,
html.is-dark-mode .theme-toggle:focus-visible {
	border-color: #f8fafc;
	background: #f8fafc;
	box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.16);
	color: #080b10;
}

.theme-toggle.is-theme-toggle-resting,
.theme-toggle.is-theme-toggle-resting:hover,
.theme-toggle.is-theme-toggle-resting:focus-visible {
	border-color: #ffffff;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
}

html.is-dark-mode .theme-toggle.is-theme-toggle-resting,
html.is-dark-mode .theme-toggle.is-theme-toggle-resting:hover,
html.is-dark-mode .theme-toggle.is-theme-toggle-resting:focus-visible {
	border-color: #ffffff;
	background: transparent;
	box-shadow: none;
	color: #ffffff;
}

html.is-dark-mode .study-topic__source-card,
html.is-dark-mode .study-topic__source-card.is-foundation,
html.is-dark-mode .study-topic__source-card.is-interpretation,
html.is-dark-mode .study-topic__source-card.is-method,
html.is-dark-mode .study-topic__source-card.courses-header,
html.is-dark-mode .study-topic__source-card.course-header,
html.is-dark-mode .study-topic__source-card.section-header {
	border-color: #334155;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .study-topic__source-card h1,
html.is-dark-mode .study-topic__source-card p,
html.is-dark-mode .study-topic__source-card span,
html.is-dark-mode .study-topic__source-card b,
html.is-dark-mode .study-topic__source-card em {
	color: #f8fafc;
}

html.is-dark-mode .section-header__context {
	color: #cbd5e1;
}

html.is-dark-mode .study-topic__source-card.section-header b {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-topic__source-card .section-header__assessment-link {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #080b10;
}

html.is-dark-mode .study-topic__source-card .section-header__assessment-link > span {
	color: inherit;
}

html.is-dark-mode .study-topic__source-card .section-header__assessment-link:hover,
html.is-dark-mode .study-topic__source-card .section-header__assessment-link:focus {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #080b10;
}

html.is-dark-mode .study-topic__source-card .section-header__assessment-link:hover > span,
html.is-dark-mode .study-topic__source-card .section-header__assessment-link:focus > span {
	color: inherit;
}

html.is-dark-mode .section-nav {
	border-color: #64748b;
	background: #0f141b;
	box-shadow: none;
}

html.is-dark-mode .section-nav > summary {
	background: #161d27;
	color: #f8fafc;
}

html.is-dark-mode .section-nav[open] > summary {
	border-bottom-color: #64748b;
}

html.is-dark-mode .section-nav > summary::after,
html.is-dark-mode .section-nav > summary small {
	color: #cbd5e1;
}

html.is-dark-mode .section-nav__links a,
html.is-dark-mode .section-nav__context-item,
html.is-dark-mode .section-nav__list a {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .section-nav__links a:hover,
html.is-dark-mode .section-nav__links a:focus,
html.is-dark-mode .section-nav__context-item:hover,
html.is-dark-mode .section-nav__context-item:focus,
html.is-dark-mode .section-nav__list a:hover,
html.is-dark-mode .section-nav__list a:focus,
html.is-dark-mode .section-nav__list a.is-current {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .section-nav--icon {
	border: 0;
	background: transparent;
	box-shadow: none;
}

html.is-dark-mode .section-nav--icon > summary {
	border-color: var(--eb-color-ink);
	background: transparent;
	color: var(--eb-color-ink);
}

html.is-dark-mode .section-nav--icon > summary:hover,
html.is-dark-mode .section-nav--icon > summary:focus-visible {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .section-toolbar .section-header__assessment-link--toolbar {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--eb-color-ink);
}

html.is-dark-mode .section-toolbar .section-header__assessment-link--toolbar:hover,
html.is-dark-mode .section-toolbar .section-header__assessment-link--toolbar:focus-visible {
	background: transparent;
	color: #94a3b9;
}

html.is-dark-mode .section-nav--icon .section-nav__body {
	border-color: #64748b;
	background: #0f141b;
	box-shadow: none;
}

html.is-dark-mode .section-nav__heading strong {
	color: #f8fafc;
}

html.is-dark-mode .section-nav__heading small {
	color: #cbd5e1;
}

html.is-dark-mode .course-card,
html.is-dark-mode .course-section-card--block,
html.is-dark-mode .course-section-card--section,
html.is-dark-mode .course-page-list a,
html.is-dark-mode .course-child-page-list a,
html.is-dark-mode .course-disclaimer,
html.is-dark-mode .home-action,
html.is-dark-mode .courses-panel,
html.is-dark-mode .study-topic,
html.is-dark-mode .timeline-section,
html.is-dark-mode .study-card,
html.is-dark-mode .dimension-card,
html.is-dark-mode .foundation-card,
html.is-dark-mode .assessment-card,
html.is-dark-mode .assessment-option,
html.is-dark-mode .study-topic__note,
html.is-dark-mode .study-topic__callout,
html.is-dark-mode .timeline-card,
html.is-dark-mode .timeline-point,
html.is-dark-mode .period-card,
html.is-dark-mode .period-band a,
html.is-dark-mode .timeline-toggle,
html.is-dark-mode .dimension-toggle,
html.is-dark-mode .assessment-filter,
html.is-dark-mode .assessment-results,
html.is-dark-mode .assessment-feedback {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .course-disclaimer strong {
	color: #f8fafc;
}

html.is-dark-mode .course-disclaimer p {
	color: #dbe4ef;
}

html.is-dark-mode .timeline-card:hover,
html.is-dark-mode .timeline-card:focus,
html.is-dark-mode .period-card:hover,
html.is-dark-mode .period-card:focus,
html.is-dark-mode .period-band a:hover,
html.is-dark-mode .period-band a:focus {
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .timeline-axis,
html.is-dark-mode .timeline-scroll__inner::before,
html.is-dark-mode .origin-timeline__axis {
	background: #64748b;
}

html.is-dark-mode .timeline-marker,
html.is-dark-mode .period-marker,
html.is-dark-mode .origin-timeline__marker {
	border-color: #080b10;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-topic__content,
html.is-dark-mode .study-topic__content strong,
html.is-dark-mode .study-topic__section h2,
html.is-dark-mode .study-topic__important h2,
html.is-dark-mode .study-topic__panel h2,
html.is-dark-mode .study-topic__references h2,
html.is-dark-mode .study-topic__terms h2,
html.is-dark-mode .study-topic__material-summary h2,
html.is-dark-mode .study-topic__source-transcription h2,
html.is-dark-mode .study-topic__notes h2,
html.is-dark-mode .study-topic__terms dt {
	color: #f8fafc;
}

html.is-dark-mode .study-topic__content p,
html.is-dark-mode .study-topic__content li,
html.is-dark-mode .study-topic__terms dd,
html.is-dark-mode .study-topic__class-strip p,
html.is-dark-mode .study-note p,
html.is-dark-mode .study-note ul,
html.is-dark-mode .dimension-panel p {
	color: #dbe4ef;
}

html.is-dark-mode .study-topic__common-icon {
	color: #f0b86a;
}

html.is-dark-mode .study-topic__common-panels > .study-topic__collapsible > summary {
	background: #202a36;
}

html.is-dark-mode .study-topic__common-panels > .study-topic__collapsible {
	border-left-color: #f0b86a;
}

html.is-dark-mode .study-topic__section,
html.is-dark-mode .study-topic__important,
html.is-dark-mode .study-topic__panel,
html.is-dark-mode .study-topic__references,
html.is-dark-mode .study-topic__terms,
html.is-dark-mode .study-topic__material-summary,
html.is-dark-mode .study-topic__source-transcription,
html.is-dark-mode .study-topic__notes,
html.is-dark-mode .study-topic__class-strip,
html.is-dark-mode .study-note,
html.is-dark-mode .dimension-panel {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .study-topic__source-page + .study-topic__source-page {
	border-top-color: #64748b;
}

html.is-dark-mode .study-topic__collapsible > summary {
	background: #161d27;
	border-bottom-color: transparent;
	color: #f8fafc;
}

html.is-dark-mode .study-topic__collapsible[open] > summary {
	border-bottom-color: #64748b;
}

html.is-dark-mode .study-topic__collapsible > summary::after {
	border-color: #64748b;
	background: #080b10;
	color: #f8fafc;
}

html.is-dark-mode .study-topic__collapsible > summary:hover h2,
html.is-dark-mode .study-topic__collapsible > summary:focus h2,
html.is-dark-mode .study-topic__collapsible > summary:hover::after,
html.is-dark-mode .study-topic__collapsible > summary:focus::after {
	color: #ffffff;
}

html.is-dark-mode .study-reference {
	border-color: #64748b;
	background: #111827;
	color: #e2e8f0;
}

html.is-dark-mode .study-reference__label,
html.is-dark-mode .study-reference b {
	color: #f8fafc;
}

html.is-dark-mode .study-reference__source {
	color: #f0b86a;
}

html.is-dark-mode .study-topic__class-strip span,
html.is-dark-mode .study-topic__class-strip span {
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .study-topic__important li {
	background: transparent;
	color: #dbe4ef;
}

html.is-dark-mode .study-item-source,
html.is-dark-mode .study-term-source {
	color: #cbd5e1;
}

html.is-dark-mode .study-item-source {
	color: #f8fafc;
	opacity: 0.82;
}

html.is-dark-mode .study-term-link {
	color: #f8fafc;
}

html.is-dark-mode .study-term-link:hover,
html.is-dark-mode .study-term-link:focus {
	color: #ffffff;
}

html.is-dark-mode .study-section-card {
	border: 1px solid #64748b;
	background: #0f141b;
	color: #f8fafc;
	filter: none;
}

html.is-dark-mode .study-section-card:hover,
html.is-dark-mode .study-section-card:focus {
	background: #f8fafc;
	color: #080b10;
	filter: none;
}

html.is-dark-mode .study-section-card:hover span,
html.is-dark-mode .study-section-card:focus span,
html.is-dark-mode .study-section-card:hover b,
html.is-dark-mode .study-section-card:focus b,
html.is-dark-mode .study-section-card:hover em,
html.is-dark-mode .study-section-card:focus em,
html.is-dark-mode .study-section-card:hover strong,
html.is-dark-mode .study-section-card:focus strong,
html.is-dark-mode .study-section-card:hover p,
html.is-dark-mode .study-section-card:focus p {
	color: #080b10;
}

html.is-dark-mode .assessment-type-toggle__label {
	color: #f8fafc;
}

html.is-dark-mode .assessment-type-toggle__option {
	color: #94a3b8;
}

html.is-dark-mode .assessment-type-toggle__option::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .assessment-type-toggle__option::after {
	background: #ffffff;
}

html.is-dark-mode .assessment-type-toggle__option:hover,
html.is-dark-mode .assessment-type-toggle__option:focus {
	color: #f8fafc;
	font-weight: 500;
}

html.is-dark-mode .assessment-type-toggle__option.is-active {
	color: #94a3b8;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::after {
	background: var(--eb-color-selected);
}

html.is-dark-mode .assessment-type-toggle__option.is-disabled:hover,
html.is-dark-mode .assessment-type-toggle__option.is-disabled:focus {
	color: #f8fafc;
}

html.is-dark-mode .assessment-limit-picker__label {
	color: #f8fafc;
}

html.is-dark-mode .assessment-limit-picker__select {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-limit-picker__select:hover,
html.is-dark-mode .assessment-limit-picker__select:focus {
	border-color: #f8fafc;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-limit-picker__arrow,
html.is-dark-mode .assessment-limit-picker__value,
html.is-dark-mode .assessment-limit-picker__all {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-limit-picker__arrow:hover,
html.is-dark-mode .assessment-limit-picker__arrow:focus,
html.is-dark-mode .assessment-limit-picker__all:hover,
html.is-dark-mode .assessment-limit-picker__all:focus {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .assessment-limit-picker__value.is-active,
html.is-dark-mode .assessment-limit-picker__all.is-active {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .assessment-limit-picker__arrow.is-disabled {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option strong,
html.is-dark-mode .assessment-start__option span,
html.is-dark-mode .assessment-start__option em {
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option:hover,
html.is-dark-mode .assessment-start__option:focus {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .assessment-start__option:hover strong,
html.is-dark-mode .assessment-start__option:focus strong,
html.is-dark-mode .assessment-start__option:hover span,
html.is-dark-mode .assessment-start__option:focus span,
html.is-dark-mode .assessment-start__option:hover em,
html.is-dark-mode .assessment-start__option:focus em {
	color: #080b10;
}

html.is-dark-mode .assessment-start__option.is-disabled:hover,
html.is-dark-mode .assessment-start__option.is-disabled:focus {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option.is-disabled:hover strong,
html.is-dark-mode .assessment-start__option.is-disabled:focus strong,
html.is-dark-mode .assessment-start__option.is-disabled:hover span,
html.is-dark-mode .assessment-start__option.is-disabled:focus span,
html.is-dark-mode .assessment-start__option.is-disabled:hover em,
html.is-dark-mode .assessment-start__option.is-disabled:focus em {
	color: #f8fafc;
}

html.is-dark-mode .assessment-section-tree .assessment-section-tree {
	border-left-color: #64748b;
}

html.is-dark-mode .assessment-question {
	background: transparent;
	color: #f8fafc;
}

html.is-dark-mode .assessment-question legend span,
html.is-dark-mode .assessment-question__text {
	color: #f8fafc;
}

html.is-dark-mode .assessment-question__glossary-term {
	border-color: #94a3b8;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-question__position {
	color: #cbd5e1;
}

html.is-dark-mode .assessment-question__info-toggle {
	background: transparent;
	color: #cbd5e1;
}

html.is-dark-mode .assessment-question__info-toggle:hover,
html.is-dark-mode .assessment-question__info-toggle:focus,
html.is-dark-mode .assessment-question__info-toggle[aria-expanded="true"] {
	background: transparent;
	color: #f8fafc;
}

html.is-dark-mode .assessment-question__details {
	border-left-color: #64748b;
	color: #cbd5e1;
}

html.is-dark-mode .assessment-question__body {
	background: transparent;
	color: #f8fafc;
}

html.is-dark-mode .assessment-meta b {
	border: 1px solid #64748b;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-route {
	color: #cbd5e1;
}

html.is-dark-mode .assessment-option {
	border-color: #64748b;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-option:hover,
html.is-dark-mode .assessment-option:focus-within {
	border-color: #f8fafc;
	background: #172033;
	box-shadow: inset 0 0 0 1px #f8fafc;
}

html.is-dark-mode .assessment-option:has(input:checked) {
	border-color: #f8fafc;
	background: #172033;
	box-shadow: inset 0 0 0 1px #f8fafc;
}

html.is-dark-mode .assessment-question.is-reviewed .assessment-option:not(.is-correct):not(.is-incorrect):hover,
html.is-dark-mode .assessment-question.is-reviewed .assessment-option:not(.is-correct):not(.is-incorrect):focus-within {
	border-color: #64748b;
	background: #111827;
	box-shadow: none;
}

html.is-dark-mode .assessment-option span {
	color: #f8fafc;
}

html.is-dark-mode .assessment-option input {
	accent-color: #f8fafc;
}

html.is-dark-mode .assessment-option.is-correct {
	border-color: #166534;
	background: #166534;
	box-shadow: none;
}

html.is-dark-mode .assessment-question.is-correct .assessment-option.is-selected.is-correct,
html.is-dark-mode .assessment-question.is-reviewed .assessment-option.is-correct:has(input:checked) {
	border-color: #166534;
	background: #166534;
	box-shadow: none;
}

html.is-dark-mode .assessment-question.is-correct .assessment-feedback {
	border-color: #166534;
	border-left-color: #166534;
}

html.is-dark-mode .assessment-option.is-incorrect {
	border-color: #fdba74;
	background: #431407;
	box-shadow: none;
}

html.is-dark-mode .assessment-question.is-incorrect .assessment-option.is-selected.is-incorrect {
	border-color: #fdba74;
	background: #431407;
	box-shadow: none;
}

html.is-dark-mode .assessment-question.is-incorrect .assessment-feedback {
	border-left-color: #fdba74;
}

html.is-dark-mode .assessment-option.is-correct span,
html.is-dark-mode .assessment-option.is-incorrect span {
	color: #f8fafc;
}

html.is-dark-mode .assessment-feedback {
	border-color: #64748b;
	border-left-color: #f8fafc;
	background: #0b1018;
	color: #dbe4ef;
}

html.is-dark-mode .assessment-feedback p,
html.is-dark-mode .assessment-feedback__base {
	color: #dbe4ef;
}

html.is-dark-mode .assessment-feedback__base strong {
	color: #f8fafc;
}

html.is-dark-mode .assessment-feedback__choice {
	border: 1px solid #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .learning-feedback {
	border-top-color: #64748b;
}

html.is-dark-mode .learning-feedback__prompt {
	color: #f8fafc;
}

html.is-dark-mode .learning-feedback__choice {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .learning-feedback__choice:hover,
html.is-dark-mode .learning-feedback__choice:focus,
html.is-dark-mode .learning-feedback__choice.is-selected {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .learning-feedback__note-label {
	color: #cbd5e1;
}

html.is-dark-mode .learning-feedback__note {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .learning-feedback__note:focus {
	border-color: #f8fafc;
}

html.is-dark-mode .learning-feedback__message {
	color: #dbe4ef;
}

html.is-dark-mode .learning-feedback.has-error .learning-feedback__message {
	color: #fdba74;
}

html.is-dark-mode .assessment-score {
	color: #f8fafc;
}

html.is-dark-mode .assessment-button,
html.is-dark-mode .assessment-button--secondary {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .assessment-button:hover,
html.is-dark-mode .assessment-button:focus,
html.is-dark-mode .assessment-button--secondary:hover,
html.is-dark-mode .assessment-button--secondary:focus {
	border-color: #f8fafc;
	background: #080b10;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page {
	--assessment-ink: #f8fafc;
	--assessment-muted: #cbd5e1;
	--assessment-line: #334155;
	--assessment-soft: #111827;
	--assessment-shadow: none;
	--assessment-shadow-hover: none;
}

html.is-dark-mode .assessment-page .study-topic__source-card {
	border: 1px solid #64748b;
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page .study-topic__source-card h1 {
	color: var(--assessment-ink);
}

html.is-dark-mode .assessment-page .study-topic__source-card p,
html.is-dark-mode .assessment-page .study-topic__source-card span {
	color: var(--assessment-muted);
}

html.is-dark-mode .assessment-start__option,
html.is-dark-mode .assessment-option,
html.is-dark-mode .assessment-results,
html.is-dark-mode .assessment-feedback {
	border-color: var(--assessment-line, #334155);
	background: #0f141b;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .assessment-start__option:hover,
html.is-dark-mode .assessment-start__option:focus {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
	box-shadow: none;
}

html.is-dark-mode .assessment-option:hover,
html.is-dark-mode .assessment-option:focus-within {
	border-color: #64748b;
	background: #111827;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .assessment-start__option:hover strong,
html.is-dark-mode .assessment-start__option:focus strong,
html.is-dark-mode .assessment-start__option:hover span,
html.is-dark-mode .assessment-start__option:focus span {
	color: inherit;
}

html.is-dark-mode .assessment-type-toggle__option.is-disabled {
	color: #cbd5e1;
	opacity: 1;
}

html.is-dark-mode .assessment-type-toggle__option.is-disabled::before {
	border-color: #64748b;
	background: #1f2937;
}

html.is-dark-mode .assessment-type-toggle__option.is-disabled::after {
	background: #f8fafc;
}

html.is-dark-mode .assessment-type-toggle__option.is-disabled:hover,
html.is-dark-mode .assessment-type-toggle__option.is-disabled:focus {
	color: #cbd5e1;
	font-weight: 400;
}

html.is-dark-mode .assessment-start__option.is-disabled {
	border-color: #475569;
	background: #111827;
	color: #cbd5e1;
	opacity: 1;
	box-shadow: none;
}

html.is-dark-mode .assessment-start__option.is-disabled strong {
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option.is-disabled span,
html.is-dark-mode .assessment-start__option.is-disabled em {
	color: #cbd5e1;
}

html.is-dark-mode .assessment-start__option.is-disabled:hover,
html.is-dark-mode .assessment-start__option.is-disabled:focus {
	border-color: #475569;
	background: #111827;
	color: #cbd5e1;
	box-shadow: none;
}

html.is-dark-mode .assessment-start__option.is-disabled:hover strong,
html.is-dark-mode .assessment-start__option.is-disabled:focus strong {
	color: #f8fafc;
}

html.is-dark-mode .assessment-start__option.is-disabled:hover span,
html.is-dark-mode .assessment-start__option.is-disabled:focus span,
html.is-dark-mode .assessment-start__option.is-disabled:hover em,
html.is-dark-mode .assessment-start__option.is-disabled:focus em {
	color: #cbd5e1;
}

html.is-dark-mode .assessment-option:has(input:checked) {
	border-color: var(--eb-color-selected-line);
	background: #052e24;
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22);
}

html.is-dark-mode .assessment-feedback {
	border-left-color: var(--eb-color-selected);
	background: #0f141b;
	color: #dbe4ef;
}

html.is-dark-mode .assessment-page .assessment-button:not(.assessment-button--secondary) {
	border-color: var(--eb-color-selected-line);
	background: var(--eb-color-selected);
	color: #052e16;
}

html.is-dark-mode .assessment-page .assessment-button:not(.assessment-button--secondary):hover,
html.is-dark-mode .assessment-page .assessment-button:not(.assessment-button--secondary):focus {
	border-color: #86efac;
	background: #4ade80;
	color: #052e16;
}

html.is-dark-mode .assessment-page .assessment-button--secondary {
	border-color: #334155;
	background: #0f141b;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page .assessment-button--secondary:hover,
html.is-dark-mode .assessment-page .assessment-button--secondary:focus {
	border-color: #64748b;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled {
	border-color: #94a3b8;
	background: #111827;
	color: #f8fafc;
	opacity: 1;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled > strong {
	color: #ffffff;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled > span,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled > em {
	color: #e2e8f0;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:hover,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:focus {
	border-color: #94a3b8;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:hover > strong,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:focus > strong {
	color: #ffffff;
}

html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:hover > span,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:focus > span,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:hover > em,
html.is-dark-mode .assessment-page .assessment-start__option.is-disabled:focus > em {
	color: #e2e8f0;
}

html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:hover,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:focus {
	border-color: #9ca3af;
	background: #ffffff;
	color: #475569;
	opacity: 1;
	box-shadow: none;
}

html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled > strong,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:hover > strong,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:focus > strong {
	color: #374151;
}

html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled > span,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled > em,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:hover > span,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:focus > span,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:hover > em,
html:not(.is-dark-mode) .assessment-page .assessment-start__option.is-disabled:focus > em {
	color: #64748b;
}

html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus {
	border-color: #080b10;
	background: #080b10;
	color: #ffffff;
}

html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover strong,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus strong,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover strong > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus strong > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover strong,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus strong,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover strong > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus strong > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover > span,
html:not(.is-dark-mode) .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus > span {
	color: #ffffff;
}

html.is-dark-mode .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section {
	border-color: #64748b;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section strong,
html.is-dark-mode .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section strong > span {
	color: #ffffff;
}

html.is-dark-mode .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section > span {
	color: #e2e8f0;
}

.learning-core {
	--learning-core-line: #080b10;
	--learning-core-muted: #64748b;
	--learning-core-soft-line: #cbd5e1;
	--learning-core-complement: #9a3412;
	--learning-core-complement-bg: #fff7ed;
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #080b10;
}

.learning-core__header,
.learning-core__heading {
	display: grid;
	gap: 0.18rem;
}

.learning-core__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.learning-core__title {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	line-height: 1.1;
}

.learning-core__subtitle {
	max-width: 72ch;
	margin: 0;
	color: var(--learning-core-muted);
	font-size: 0.9rem;
	line-height: 1.35;
}

.learning-core__heading p {
	display: grid;
	gap: 0.12rem;
}

.learning-core__scope {
	color: var(--eb-color-ink);
	font-size: 0.9rem;
	line-height: 1.25;
}

.learning-core__nav {
	margin-bottom: 0.5rem;
}

.learning-core__accordion {
	margin-bottom: 0;
}

.learning-core__accordion > li {
	display: block;
}

.learning-core__central {
	margin: 0;
	padding: 0;
	border-left: 0;
}

.learning-core__central strong {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.learning-core__central p {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
}

.learning-core__grid {
	display: grid;
	gap: 1rem;
}

.learning-core__block {
	scroll-margin-top: 24px;
	padding: 0;
	border-top: 1px solid var(--learning-core-line);
}

.learning-core__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 0;
	color: inherit;
	cursor: pointer;
	list-style: none;
}

.learning-core__summary::-webkit-details-marker {
	display: none;
}

.learning-core__summary::after {
	flex: 0 0 auto;
	color: var(--learning-core-muted);
	font-family: var(--eb-font-ui);
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1;
	content: "+";
}

.learning-core__block[open] > .learning-core__summary::after {
	content: "-";
}

.learning-core__summary-title {
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.learning-core__panel {
	overflow: hidden;
	border: 1px solid #d8dee6;
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-surface);
	color: var(--eb-color-ink);
	cursor: pointer;
	box-shadow: var(--eb-shadow-card);
}

.learning-core__panel > .learning-core__panel-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	box-sizing: border-box;
	min-height: 54px;
	border-bottom: 1px solid transparent;
	border-radius: 5px 5px 0 0;
	background: #f6f8fb;
	padding: 14px 16px;
	color: inherit;
	cursor: pointer;
	list-style: none;
}

.learning-core__panel > .learning-core__panel-summary::-webkit-details-marker {
	display: none;
}

.learning-core__panel > .learning-core__panel-summary::after {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid #d8dee6;
	border-radius: 50%;
	background: var(--eb-color-surface);
	color: var(--eb-color-muted);
	font-family: var(--eb-font-ui);
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1;
	content: "+";
}

.learning-core__panel[open] > .learning-core__panel-summary::after {
	content: "-";
}

.learning-core__panel:not([open]) > .learning-core__panel-summary {
	border-radius: 5px;
}

.learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: #d8dee6;
}

.learning-core__panel > .learning-core__panel-summary:hover,
.learning-core__panel > .learning-core__panel-summary:focus {
	background: #0b0f14;
	color: #ffffff;
	outline: none;
}

.learning-core__panel > .learning-core__panel-summary:hover h2,
.learning-core__panel > .learning-core__panel-summary:focus h2 {
	color: inherit;
}

.learning-core__panel > .learning-core__panel-summary:hover::after,
.learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: #ffffff;
	background: #ffffff;
	color: #0b0f14;
}

.learning-core__panel > .learning-core__panel-summary h2 {
	margin: 0;
	color: inherit;
	font-size: 1.16rem;
	font-weight: 500;
	line-height: 1.25;
}

.learning-core__panel > .learning-core__panel-summary .learning-core__source {
	border-color: currentColor;
	color: inherit;
}

.learning-core__panel-body {
	padding: 0;
}

.learning-core__body,
.learning-core__central {
	padding: 0.05rem 0 1rem;
}

.learning-core__block-heading {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.75rem;
}

.learning-core__block-heading h3 {
	margin: 0;
}

.learning-core__block-summary {
	max-width: 78ch;
	margin: -0.25rem 0 0.9rem;
	color: var(--learning-core-muted);
	line-height: 1.45;
}

.learning-core__block--complement {
	border: 1px solid var(--learning-core-complement);
	background: var(--learning-core-complement-bg);
}

.learning-core__panel.learning-core__block--complement {
	border-color: #d8dee6;
	background: #ffffff;
}

.learning-core__block--complement .learning-core__summary {
	padding-right: 1rem;
	padding-left: 1rem;
}

.learning-core__block--complement .learning-core__body {
	padding-right: 1rem;
	padding-left: 1rem;
}

.learning-core__block--complement .learning-core__summary-title {
	color: var(--learning-core-complement);
}

.learning-core__essential-list,
.learning-core__complement-list,
.learning-core__item-list,
.learning-core__connections {
	margin: 0;
	padding: 0;
}

.learning-core__essential-list {
	display: grid;
	gap: 0.65rem;
	padding-left: 1.4rem;
	list-style-position: outside;
}

.learning-core__complement-list {
	display: grid;
	gap: 0.65rem;
	padding-left: 1.4rem;
	list-style: disc;
	list-style-position: outside;
}

.learning-core__essential-list li,
.learning-core__complement-list li {
	display: grid;
	gap: 0.2rem;
	padding-left: 0.15rem;
	line-height: 1.45;
}

.learning-core__essential-list li {
	display: list-item;
}

.learning-core__complement-list li {
	display: list-item;
}

.learning-core__essential-list li .learning-core__essential-text,
.learning-core__essential-list li .learning-core__basis,
.learning-core__complement-list li .learning-core__essential-text,
.learning-core__complement-list li .learning-core__basis {
	display: block;
}

.learning-core__item-list,
.learning-core__connections {
	display: grid;
	gap: 0.65rem;
	list-style: none;
}

.learning-core__item-list {
	gap: 0.65rem;
	padding-left: 1.4rem;
	list-style: disc;
	list-style-position: outside;
}

.learning-core__panel-body--grouped {
	display: grid;
	gap: 1rem;
}

.learning-core__subgroup {
	display: grid;
	gap: 0.45rem;
}

.learning-core__subgroup-title {
	margin: 0;
	color: inherit;
	font-size: 0.86rem;
	font-weight: 650;
	line-height: 1.25;
}

.learning-core__item {
	display: list-item;
	padding-left: 0.15rem;
	padding-bottom: 0;
	border-bottom: 0;
	line-height: 1.45;
}

.learning-core__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.learning-core__item-heading {
	display: block;
	margin-bottom: 0.1rem;
}

.learning-core__item strong,
.learning-core__node,
.learning-core__essential-text {
	color: inherit;
	font-weight: 600;
}

.learning-core__item span,
.learning-core__essential-text,
.learning-core__basis,
.learning-core__note {
	color: var(--learning-core-muted);
	line-height: 1.45;
}

.learning-core__item span,
.learning-core__essential-text {
	color: inherit;
}

.learning-core__source {
	width: max-content;
	padding: 0.12rem 0.38rem;
	border: 1px solid var(--learning-core-soft-line);
	color: var(--learning-core-muted);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
}

.learning-core__source--essential-complement {
	border-color: var(--learning-core-complement);
	color: var(--learning-core-complement);
}

.learning-core__basis {
	display: block;
	margin-top: 0.15rem;
	font-style: normal;
	font-size: 0.9rem;
}

.learning-core__connection {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	align-items: baseline;
	padding: 0;
	border: 0;
	line-height: 1.45;
}

.learning-core__relation {
	color: var(--learning-core-muted);
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.learning-core__relation::before {
	content: "";
	display: inline-block;
	width: 0.36rem;
	height: 0.36rem;
	margin-right: 0.5rem;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 0.08em;
}

.learning-core__relation::after {
	content: "";
	display: inline-block;
	width: 0.36rem;
	height: 0.36rem;
	margin-left: 0.5rem;
	border-radius: 50%;
	background: currentColor;
	vertical-align: 0.08em;
}

.learning-core__note {
	margin: 1rem 0 0;
	padding-top: 0.8rem;
	border-top: 1px solid var(--learning-core-line);
	font-size: 0.92rem;
}

@media (min-width: 760px) {
	.learning-core__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.learning-core__block--essential,
	.learning-core__block--wide {
		grid-column: 1 / -1;
	}

	.learning-core__connections {
		gap: 0.5rem;
	}
}

html.is-dark-mode .learning-core {
	--learning-core-line: #f8fafc;
	--learning-core-muted: #cbd5e1;
	--learning-core-soft-line: #475569;
	--learning-core-complement: #fdba74;
	--learning-core-complement-bg: #1c1007;
	background: transparent;
	color: #f8fafc;
}

html.is-dark-mode .learning-core__subtitle,
html.is-dark-mode .learning-core__block-summary,
html.is-dark-mode .learning-core__item span,
html.is-dark-mode .learning-core__essential-text,
html.is-dark-mode .learning-core__basis,
html.is-dark-mode .learning-core__note,
html.is-dark-mode .learning-core__relation {
	color: #cbd5e1;
}

html.is-dark-mode .learning-core__source {
	border-color: #64748b;
	color: #cbd5e1;
}

html.is-dark-mode .learning-core__source--essential-complement {
	border-color: var(--learning-core-complement);
	color: var(--learning-core-complement);
}

html.is-dark-mode .learning-core__panel {
	border-color: #64748b;
	background: #0f141b;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary {
	background: #161d27;
	border-bottom-color: transparent;
	color: #f8fafc;
}

html.is-dark-mode .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: #64748b;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary::after {
	border-color: #64748b;
	background: #080b10;
	color: #f8fafc;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:hover,
html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:focus {
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:hover h2,
html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:focus h2 {
	color: inherit;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:hover::after,
html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: #080b10;
	background: #080b10;
	color: #f8fafc;
}

html.is-dark-mode .learning-core__panel > .learning-core__panel-summary .learning-core__source,
html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:hover .learning-core__source,
html.is-dark-mode .learning-core__panel > .learning-core__panel-summary:focus .learning-core__source,
html.is-dark-mode .learning-core__panel[open] > .learning-core__panel-summary .learning-core__source {
	border-color: currentColor;
	color: inherit;
}

/*
 * Trial: softer hover states inside the main content area.
 * The global shell keeps the strong black/white interaction.
 */
:root {
	--eb-content-hover-bg: #cbd5e1;
	--eb-content-hover-border: #0b0f14;
	--eb-content-hover-fg: #0b0f14;
	--eb-content-hover-icon-bg: #ffffff;
	--eb-content-hover-icon-fg: #0b0f14;
}

html.is-dark-mode {
	--eb-content-hover-bg: #243041;
	--eb-content-hover-border: #64748b;
	--eb-content-hover-fg: #f8fafc;
	--eb-content-hover-icon-bg: #111827;
	--eb-content-hover-icon-fg: #f8fafc;
}

.site-main .course-card:hover,
.site-main .course-card:focus,
.site-main .course-section-card--block:hover,
.site-main .course-section-card--section:hover,
.site-main .course-section-card--block:focus-within,
.site-main .course-section-card--section:focus-within,
.site-main .course-page-list a:hover,
.site-main .course-page-list a:focus,
.site-main .course-child-page-list a:hover,
.site-main .course-child-page-list a:focus,
.site-main .section-nav__links a:hover,
.site-main .section-nav__links a:focus,
.site-main .section-nav__context-item:hover,
.site-main .section-nav__context-item:focus,
.site-main .section-nav__list a:hover,
.site-main .section-nav__list a:focus,
.site-main .section-nav--icon > summary:hover,
.site-main .section-nav--icon > summary:focus-visible,
.site-main .study-topic__collapsible > summary:hover,
.site-main .study-topic__collapsible > summary:focus,
.site-main .learning-core__panel > .learning-core__panel-summary:hover,
.site-main .learning-core__panel > .learning-core__panel-summary:focus {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-bg);
	color: var(--eb-content-hover-fg);
	filter: none;
	outline: none;
}

.site-main .learning-core__panel:hover,
.site-main .learning-core__panel:focus-within {
	border-color: var(--eb-content-hover-border);
}

.site-main .course-card:hover strong,
.site-main .course-card:focus strong,
.site-main .course-card:hover p,
.site-main .course-card:focus p,
.site-main .course-card:hover em,
.site-main .course-card:focus em,
.site-main .course-card:hover small,
.site-main .course-card:focus small,
.site-main .course-card:hover span,
.site-main .course-card:focus span,
.site-main .course-card:hover .course-card__institution,
.site-main .course-card:focus .course-card__institution,
.site-main .course-section-card--block:hover h3 a,
.site-main .course-section-card--block:focus-within h3 a,
.site-main .course-section-card--section:hover h3 a,
.site-main .course-section-card--section:focus-within h3 a,
.site-main .course-section-card--block:hover .course-section-card__header p,
.site-main .course-section-card--block:focus-within .course-section-card__header p,
.site-main .course-section-card--section:hover .course-section-card__header p,
.site-main .course-section-card--section:focus-within .course-section-card__header p,
.site-main .course-section-card--block:hover .course-section-card__header > span,
.site-main .course-section-card--block:focus-within .course-section-card__header > span,
.site-main .course-section-card--section:hover .course-section-card__header > span,
.site-main .course-section-card--section:focus-within .course-section-card__header > span,
.site-main .course-page-list a:hover strong,
.site-main .course-page-list a:focus strong,
.site-main .course-page-list a:hover span,
.site-main .course-page-list a:focus span,
.site-main .course-child-page-list a:hover strong,
.site-main .course-child-page-list a:focus strong,
.site-main .course-child-page-list a:hover span,
.site-main .course-child-page-list a:focus span,
.site-main .study-topic__collapsible > summary:hover h2,
.site-main .study-topic__collapsible > summary:focus h2,
.site-main .learning-core__panel > .learning-core__panel-summary:hover h2,
.site-main .learning-core__panel > .learning-core__panel-summary:focus h2,
.site-main .learning-core__panel > .learning-core__panel-summary:hover .learning-core__source,
.site-main .learning-core__panel > .learning-core__panel-summary:focus .learning-core__source {
	color: inherit;
}

.site-main .course-card:hover span,
.site-main .course-card:focus span {
	border-color: currentColor;
	background: transparent;
}

.site-main .course-page-list a:hover::after,
.site-main .course-page-list a:focus::after,
.site-main .course-child-page-list a:hover::after,
.site-main .course-child-page-list a:focus::after,
.site-main .study-topic__collapsible > summary:hover::after,
.site-main .study-topic__collapsible > summary:focus::after,
.site-main .learning-core__panel > .learning-core__panel-summary:hover::after,
.site-main .learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-icon-bg);
	color: var(--eb-content-hover-icon-fg);
}

html.is-dark-mode .site-main .course-card:hover,
html.is-dark-mode .site-main .course-card:focus,
html.is-dark-mode .site-main .course-section-card--block:hover,
html.is-dark-mode .site-main .course-section-card--section:hover,
html.is-dark-mode .site-main .course-section-card--block:focus-within,
html.is-dark-mode .site-main .course-section-card--section:focus-within,
html.is-dark-mode .site-main .course-page-list a:hover,
html.is-dark-mode .site-main .course-page-list a:focus,
html.is-dark-mode .site-main .course-child-page-list a:hover,
html.is-dark-mode .site-main .course-child-page-list a:focus,
html.is-dark-mode .site-main .section-nav__links a:hover,
html.is-dark-mode .site-main .section-nav__links a:focus,
html.is-dark-mode .site-main .section-nav__context-item:hover,
html.is-dark-mode .site-main .section-nav__context-item:focus,
html.is-dark-mode .site-main .section-nav__list a:hover,
html.is-dark-mode .site-main .section-nav__list a:focus,
html.is-dark-mode .site-main .section-nav--icon > summary:hover,
html.is-dark-mode .site-main .section-nav--icon > summary:focus-visible,
html.is-dark-mode .site-main .study-topic__collapsible > summary:hover,
html.is-dark-mode .site-main .study-topic__collapsible > summary:focus,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-bg);
	color: var(--eb-content-hover-fg);
	filter: none;
	outline: none;
}

html.is-dark-mode .site-main .learning-core__panel:hover,
html.is-dark-mode .site-main .learning-core__panel:focus-within {
	border-color: var(--eb-content-hover-border);
}

html.is-dark-mode .site-main .course-card:hover strong,
html.is-dark-mode .site-main .course-card:focus strong,
html.is-dark-mode .site-main .course-card:hover p,
html.is-dark-mode .site-main .course-card:focus p,
html.is-dark-mode .site-main .course-card:hover em,
html.is-dark-mode .site-main .course-card:focus em,
html.is-dark-mode .site-main .course-card:hover small,
html.is-dark-mode .site-main .course-card:focus small,
html.is-dark-mode .site-main .course-card:hover span,
html.is-dark-mode .site-main .course-card:focus span,
html.is-dark-mode .site-main .course-card:hover .course-card__institution,
html.is-dark-mode .site-main .course-card:focus .course-card__institution,
html.is-dark-mode .site-main .course-section-card--block:hover h3 a,
html.is-dark-mode .site-main .course-section-card--block:focus-within h3 a,
html.is-dark-mode .site-main .course-section-card--section:hover h3 a,
html.is-dark-mode .site-main .course-section-card--section:focus-within h3 a,
html.is-dark-mode .site-main .course-section-card--block:hover .course-section-card__header p,
html.is-dark-mode .site-main .course-section-card--block:focus-within .course-section-card__header p,
html.is-dark-mode .site-main .course-section-card--section:hover .course-section-card__header p,
html.is-dark-mode .site-main .course-section-card--section:focus-within .course-section-card__header p,
html.is-dark-mode .site-main .course-section-card--block:hover .course-section-card__header > span,
html.is-dark-mode .site-main .course-section-card--block:focus-within .course-section-card__header > span,
html.is-dark-mode .site-main .course-section-card--section:hover .course-section-card__header > span,
html.is-dark-mode .site-main .course-section-card--section:focus-within .course-section-card__header > span,
html.is-dark-mode .site-main .course-page-list a:hover strong,
html.is-dark-mode .site-main .course-page-list a:focus strong,
html.is-dark-mode .site-main .course-page-list a:hover span,
html.is-dark-mode .site-main .course-page-list a:focus span,
html.is-dark-mode .site-main .course-child-page-list a:hover strong,
html.is-dark-mode .site-main .course-child-page-list a:focus strong,
html.is-dark-mode .site-main .course-child-page-list a:hover span,
html.is-dark-mode .site-main .course-child-page-list a:focus span,
html.is-dark-mode .site-main .study-topic__collapsible > summary:hover h2,
html.is-dark-mode .site-main .study-topic__collapsible > summary:focus h2,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover h2,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus h2,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover .learning-core__source,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus .learning-core__source {
	color: inherit;
}

html.is-dark-mode .site-main .course-page-list a:hover::after,
html.is-dark-mode .site-main .course-page-list a:focus::after,
html.is-dark-mode .site-main .course-child-page-list a:hover::after,
html.is-dark-mode .site-main .course-child-page-list a:focus::after,
html.is-dark-mode .site-main .study-topic__collapsible > summary:hover::after,
html.is-dark-mode .site-main .study-topic__collapsible > summary:focus::after,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover::after,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-icon-bg);
	color: var(--eb-content-hover-icon-fg);
}

/*
 * Standard: interactive content panels.
 * Applies the same visual language to study-page links and learning-core accordions.
 */
.site-main .course-page-list a,
.site-main .course-child-page-list a,
.site-main .learning-core__panel {
	border: 1px solid #d8dee6;
	border-radius: var(--eb-radius-sm);
	background: #f6f8fb;
	color: var(--eb-color-ink);
	box-shadow: var(--eb-shadow-card);
}

.site-main .course-page-list a,
.site-main .course-child-page-list a,
.site-main .learning-core__panel > .learning-core__panel-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 54px;
	padding: 14px 16px;
}

.site-main .learning-core__panel > .learning-core__panel-summary {
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: inherit;
}

.site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom: 1px solid #d8dee6;
	border-radius: 5px 5px 0 0;
}

.site-main .course-page-list a::after,
.site-main .course-child-page-list a::after,
.site-main .learning-core__panel > .learning-core__panel-summary::after {
	width: 30px;
	height: 30px;
	border: 1px solid #d8dee6;
	background: #ffffff;
	color: var(--eb-color-muted);
}

.site-main .course-page-list a:hover,
.site-main .course-page-list a:focus,
.site-main .course-child-page-list a:hover,
.site-main .course-child-page-list a:focus,
.site-main .learning-core__panel:hover,
.site-main .learning-core__panel:focus-within,
.site-main .learning-core__panel:hover > .learning-core__panel-summary,
.site-main .learning-core__panel > .learning-core__panel-summary:hover,
.site-main .learning-core__panel > .learning-core__panel-summary:focus {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-bg);
	color: var(--eb-content-hover-fg);
	filter: none;
	outline: none;
}

.site-main .learning-core__panel[open]:hover > .learning-core__panel-summary,
.site-main .learning-core__panel[open]:focus-within > .learning-core__panel-summary {
	border-bottom-color: var(--eb-content-hover-border);
}

.site-main .course-page-list a:hover::after,
.site-main .course-page-list a:focus::after,
.site-main .course-child-page-list a:hover::after,
.site-main .course-child-page-list a:focus::after,
.site-main .learning-core__panel:hover > .learning-core__panel-summary::after,
.site-main .learning-core__panel > .learning-core__panel-summary:hover::after,
.site-main .learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-icon-bg);
	color: var(--eb-content-hover-icon-fg);
}

html.is-dark-mode .site-main .course-page-list a,
html.is-dark-mode .site-main .course-child-page-list a,
html.is-dark-mode .site-main .learning-core__panel {
	border-color: #64748b;
	background: #161d27;
	color: #f8fafc;
	box-shadow: none;
}

html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary {
	background: transparent;
	color: inherit;
}

html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: #64748b;
}

html.is-dark-mode .site-main .course-page-list a::after,
html.is-dark-mode .site-main .course-child-page-list a::after,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary::after {
	border-color: #64748b;
	background: #080b10;
	color: #f8fafc;
}

html.is-dark-mode .site-main .course-page-list a:hover,
html.is-dark-mode .site-main .course-page-list a:focus,
html.is-dark-mode .site-main .course-child-page-list a:hover,
html.is-dark-mode .site-main .course-child-page-list a:focus,
html.is-dark-mode .site-main .learning-core__panel:hover,
html.is-dark-mode .site-main .learning-core__panel:focus-within,
html.is-dark-mode .site-main .learning-core__panel:hover > .learning-core__panel-summary,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-bg);
	color: var(--eb-content-hover-fg);
}

html.is-dark-mode .site-main .learning-core__panel[open]:hover > .learning-core__panel-summary,
html.is-dark-mode .site-main .learning-core__panel[open]:focus-within > .learning-core__panel-summary {
	border-bottom-color: var(--eb-content-hover-border);
}

html.is-dark-mode .site-main .course-page-list a:hover::after,
html.is-dark-mode .site-main .course-page-list a:focus::after,
html.is-dark-mode .site-main .course-child-page-list a:hover::after,
html.is-dark-mode .site-main .course-child-page-list a:focus::after,
html.is-dark-mode .site-main .learning-core__panel:hover > .learning-core__panel-summary::after,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:hover::after,
html.is-dark-mode .site-main .learning-core__panel > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-icon-bg);
	color: var(--eb-content-hover-icon-fg);
}

/*
 * Trial: intentional active color.
 * Green is reserved for selected/current/open states, not general hover.
 */
.study-sidebar__item.is-current {
	color: var(--eb-color-active-line);
}

.study-sidebar__item.is-current .dashicons {
	border-color: #94a3b9;
	background: #94a3b9;
	color: #080b10;
}

.site-main .section-nav__list a.is-current,
.site-main .course-page-list a.is-current,
.site-main .course-page-list a[aria-current="page"],
.site-main .course-child-page-list a.is-current,
.site-main .course-child-page-list a[aria-current="page"] {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-soft);
	box-shadow: inset 3px 0 0 var(--eb-color-active-line);
	color: var(--eb-color-active);
}

.site-main .section-nav__list a.is-current span,
.site-main .section-nav__list a.is-current strong,
.site-main .course-page-list a.is-current span,
.site-main .course-page-list a.is-current strong,
.site-main .course-page-list a[aria-current="page"] span,
.site-main .course-page-list a[aria-current="page"] strong,
.site-main .course-child-page-list a.is-current span,
.site-main .course-child-page-list a.is-current strong,
.site-main .course-child-page-list a[aria-current="page"] span,
.site-main .course-child-page-list a[aria-current="page"] strong {
	color: inherit;
}

.site-main .course-page-list a.is-current::after,
.site-main .course-page-list a[aria-current="page"]::after,
.site-main .course-child-page-list a.is-current::after,
.site-main .course-child-page-list a[aria-current="page"]::after {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #ffffff;
}

.site-main .learning-core__panel[open] {
	border-color: var(--eb-color-active-line);
	box-shadow: var(--eb-shadow-card);
}

.site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: var(--eb-color-active-line);
	color: var(--eb-color-active);
}

.site-main .learning-core__panel[open] > .learning-core__panel-summary h2,
.site-main .learning-core__panel[open] > .learning-core__panel-summary .learning-core__source {
	color: inherit;
}

.site-main .learning-core__panel[open] > .learning-core__panel-summary::after {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #ffffff;
}

.assessment-type-toggle__option.is-active {
	color: var(--eb-color-active);
}

.assessment-limit-picker__value.is-active,
.assessment-limit-picker__all.is-active {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #ffffff;
}

.assessment-type-toggle__option.is-active::before {
	border-color: #cbd5e1;
	background: #e2e8f0;
}

.assessment-type-toggle__option.is-active::after {
	background: var(--eb-color-selected);
}

html.is-dark-mode .study-sidebar__item.is-current {
	color: var(--eb-color-active-line);
}

html.is-dark-mode .study-sidebar__item.is-current .dashicons,
html.is-dark-mode .site-main .course-page-list a.is-current::after,
html.is-dark-mode .site-main .course-page-list a[aria-current="page"]::after,
html.is-dark-mode .site-main .course-child-page-list a.is-current::after,
html.is-dark-mode .site-main .course-child-page-list a[aria-current="page"]::after,
html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary::after {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #052e16;
}

html.is-dark-mode .site-main .section-nav__list a.is-current,
html.is-dark-mode .site-main .course-page-list a.is-current,
html.is-dark-mode .site-main .course-page-list a[aria-current="page"],
html.is-dark-mode .site-main .course-child-page-list a.is-current,
html.is-dark-mode .site-main .course-child-page-list a[aria-current="page"] {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-soft);
	box-shadow: inset 3px 0 0 var(--eb-color-active-line);
	color: var(--eb-color-active);
}

html.is-dark-mode .site-main .learning-core__panel[open] {
	border-color: var(--eb-color-active-line);
	box-shadow: none;
}

html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: var(--eb-color-active-line);
	color: var(--eb-color-active);
}

html.is-dark-mode .assessment-type-toggle__option.is-active {
	color: var(--eb-color-active);
}

html.is-dark-mode .assessment-limit-picker__value.is-active,
html.is-dark-mode .assessment-limit-picker__all.is-active {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #052e16;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::after {
	background: var(--eb-color-selected);
}

@media (max-width: 640px) {
	.study-topic__source-card.section-header {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 10px;
	}

	.section-header__assessment-link {
		justify-self: end;
		align-self: center;
		margin-top: 0;
	}

	.section-header__assessment-link:hover,
	.section-header__assessment-link:focus {
		gap: 0;
		padding: 0.45rem;
	}

	.section-toolbar .section-header__assessment-link--toolbar,
	.section-toolbar .section-header__assessment-link--toolbar:hover,
	.section-toolbar .section-header__assessment-link--toolbar:focus-visible {
		gap: 0;
		padding: 0;
	}

	.section-toolbar .section-header__assessment-link--toolbar:hover .section-header__assessment-label,
	.section-toolbar .section-header__assessment-link--toolbar:focus-visible .section-header__assessment-label {
		max-width: 0;
		opacity: 0;
	}

	.section-header__assessment-link:hover .section-header__assessment-label,
	.section-header__assessment-link:focus .section-header__assessment-label {
		max-width: 0;
		opacity: 0;
	}
}

/*
 * Action toolbar menu icon.
 * Keep this visually identical to the topbar hamburger, without inheriting
 * content-panel hover rules.
 */
.site-main .section-toolbar .section-nav--icon > summary {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: var(--eb-action-icon-size);
	height: var(--eb-action-icon-size);
	min-width: var(--eb-action-icon-size);
	min-height: var(--eb-action-icon-size);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--eb-color-ink);
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	padding: 0;
}

.site-main .section-toolbar .section-nav--icon[open] > summary {
	border: 0;
}

.site-main .section-toolbar .section-nav--icon > summary:hover,
.site-main .section-toolbar .section-nav--icon > summary:focus-visible {
	background: transparent;
	box-shadow: none;
	color: #334155;
	outline: none;
}

.site-main .section-toolbar .section-nav--icon > summary .dashicons-menu-alt {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	font-size: 0;
	text-align: center;
	line-height: 1;
}

.site-main .section-toolbar .section-nav--icon > summary .dashicons-menu-alt::before {
	display: block;
	width: 22px;
	height: 17px;
	margin: auto;
	transform: none;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	content: "";
}

html.is-dark-mode .site-main .section-toolbar .section-nav--icon > summary,
html.is-dark-mode .site-main .section-toolbar .section-nav--icon[open] > summary {
	border: 0;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .site-main .section-toolbar .section-nav--icon > summary:hover,
html.is-dark-mode .site-main .section-toolbar .section-nav--icon > summary:focus-visible {
	background: transparent;
	color: #94a3b9;
}

/*
 * Unified light background.
 * Large content areas should read as one canvas; borders and spacing provide
 * structure instead of separate white slabs.
 */
html:not(.is-dark-mode) .site-main,
html:not(.is-dark-mode) .learning-page,
html:not(.is-dark-mode) .timeline-page,
html:not(.is-dark-mode) .courses-panel,
html:not(.is-dark-mode) .study-topic,
html:not(.is-dark-mode) .timeline-section,
html:not(.is-dark-mode) .study-topic__content,
html:not(.is-dark-mode) .study-topic__collapsible,
html:not(.is-dark-mode) .section-nav--icon .section-nav__body,
html:not(.is-dark-mode) .site-main .course-page-list a,
html:not(.is-dark-mode) .site-main .course-child-page-list a,
html:not(.is-dark-mode) .site-main .learning-core__panel,
html:not(.is-dark-mode) .learning-core__panel.learning-core__block--complement {
	background: var(--eb-color-bg);
}

html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary {
	background: transparent;
}

html:not(.is-dark-mode) .site-main .course-page-list a::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a::after,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary::after {
	background: var(--eb-color-bg);
}

html:not(.is-dark-mode) .site-main .course-page-list a,
html:not(.is-dark-mode) .site-main .course-child-page-list a,
html:not(.is-dark-mode) .site-main .learning-core__panel,
html:not(.is-dark-mode) .site-main .study-topic__collapsible {
	border-color: #c1ccd9;
	background: var(--eb-color-surface-soft);
}

html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary {
	background: transparent;
}

html:not(.is-dark-mode) .site-main .course-page-list a::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a::after,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary::after,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary::after {
	border-color: #c1ccd9;
	background: #f8fafc;
}

html:not(.is-dark-mode) .site-main .course-page-list a:hover,
html:not(.is-dark-mode) .site-main .course-page-list a:focus,
html:not(.is-dark-mode) .site-main .course-child-page-list a:hover,
html:not(.is-dark-mode) .site-main .course-child-page-list a:focus,
html:not(.is-dark-mode) .site-main .learning-core__panel:hover,
html:not(.is-dark-mode) .site-main .learning-core__panel:focus-within,
html:not(.is-dark-mode) .site-main .learning-core__panel:hover > .learning-core__panel-summary,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:hover,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:focus,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:hover,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:focus {
	border-color: #94a3b8;
	background: #edf2f7;
	color: #0b0f14;
	outline: none;
}

html:not(.is-dark-mode) .site-main .course-page-list a:hover::after,
html:not(.is-dark-mode) .site-main .course-page-list a:focus::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a:hover::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a:focus::after,
html:not(.is-dark-mode) .site-main .learning-core__panel:hover > .learning-core__panel-summary::after,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:hover::after,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:focus::after,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:hover::after,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:focus::after {
	border-color: #94a3b8;
	background: #f7f9fc;
	color: #0b0f14;
}

html:not(.is-dark-mode) .site-main .course-page-list a:hover strong,
html:not(.is-dark-mode) .site-main .course-page-list a:focus strong,
html:not(.is-dark-mode) .site-main .course-child-page-list a:hover strong,
html:not(.is-dark-mode) .site-main .course-child-page-list a:focus strong,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:hover h2,
html:not(.is-dark-mode) .site-main .learning-core__panel > .learning-core__panel-summary:focus h2,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:hover h2,
html:not(.is-dark-mode) .site-main .study-topic__collapsible > summary:focus h2 {
	color: inherit;
}

html:not(.is-dark-mode) .site-main .learning-core__panel[open] {
	border-color: #64748b;
	background: var(--eb-color-surface);
	box-shadow: none;
}

html:not(.is-dark-mode) .site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: #64748b;
	background: var(--eb-color-active-line);
	color: var(--eb-color-active);
}

html:not(.is-dark-mode) .site-main .learning-core__panel[open] > .learning-core__panel-body {
	background: var(--eb-color-surface);
}

html:not(.is-dark-mode) .site-main .learning-core__panel[open] > .learning-core__panel-summary::after {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #0b0f14;
}

html:not(.is-dark-mode) .site-main .course-page-list a:hover,
html:not(.is-dark-mode) .site-main .course-page-list a:focus,
html:not(.is-dark-mode) .site-main .course-child-page-list a:hover,
html:not(.is-dark-mode) .site-main .course-child-page-list a:focus,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]):hover,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]):focus-within,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]):hover > .learning-core__panel-summary,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus {
	border-color: #64748b;
	background: #d8e0ea;
	color: #0b0f14;
}

html:not(.is-dark-mode) .site-main .course-page-list a:hover::after,
html:not(.is-dark-mode) .site-main .course-page-list a:focus::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a:hover::after,
html:not(.is-dark-mode) .site-main .course-child-page-list a:focus::after,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]):hover > .learning-core__panel-summary::after,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover::after,
html:not(.is-dark-mode) .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus::after {
	border-color: #64748b;
	background: #f7f9fc;
	color: #0b0f14;
}

/*
 * Dark mode active-state trial.
 * Use blue-gray for "current/open" states instead of green.
 */
html.is-dark-mode .study-sidebar__item.is-current .dashicons,
html.is-dark-mode .site-main .course-page-list a.is-current::after,
html.is-dark-mode .site-main .course-page-list a[aria-current="page"]::after,
html.is-dark-mode .site-main .course-child-page-list a.is-current::after,
html.is-dark-mode .site-main .course-child-page-list a[aria-current="page"]::after,
html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary::after,
html.is-dark-mode .assessment-limit-picker__value.is-active,
html.is-dark-mode .assessment-limit-picker__all.is-active {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-active-line);
	color: #080b10;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .assessment-type-toggle__option.is-active::after {
	background: var(--eb-color-selected);
}

html.is-dark-mode .site-main .learning-core__panel[open] {
	border-color: var(--eb-color-active-line);
	background: var(--eb-color-surface);
}

html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary {
	border-bottom-color: var(--eb-color-active-line);
	background: #94a3b9;
	color: #080b10;
}

html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-body {
	background: var(--eb-color-surface);
}

html.is-dark-mode .site-main .learning-core__panel:not([open]):hover,
html.is-dark-mode .site-main .learning-core__panel:not([open]):focus-within,
html.is-dark-mode .site-main .learning-core__panel:not([open]):hover > .learning-core__panel-summary,
html.is-dark-mode .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover,
html.is-dark-mode .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-bg);
	color: var(--eb-content-hover-fg);
}

html.is-dark-mode .site-main .learning-core__panel:not([open]):hover > .learning-core__panel-summary::after,
html.is-dark-mode .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover::after,
html.is-dark-mode .site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-content-hover-border);
	background: var(--eb-content-hover-icon-bg);
	color: var(--eb-content-hover-icon-fg);
}

html.is-dark-mode .section-page .study-topic__source-card.section-header {
	border-color: #334155;
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .section-page .study-topic__source-card.section-header h1,
html.is-dark-mode .section-page .study-topic__source-card.section-header .section-header__context {
	color: #f8fafc;
}

.home-page .home-actions {
	grid-template-columns: minmax(0, 540px);
}

.home-page .home-action {
	min-height: 104px;
}

/*
 * POC visual v2: section page rhythm and interactive panel polish.
 * Keep this as the final layer while the design system is still being refined.
 */
.section-page,
.course-detail-page {
	display: grid;
	gap: 18px;
}

.section-page > .section-toolbar,
.course-detail-page > .section-toolbar {
	margin-bottom: -20px;
}

.section-page > .study-topic__source-card.section-header,
.course-detail-page > .study-topic__source-card.course-header {
	margin-bottom: 8px;
}

.section-page .courses-panel,
.section-page .learning-core,
.course-detail-page .courses-panel {
	display: grid;
	gap: 10px;
}

.section-page .courses-panel__heading,
.section-page .learning-core__heading,
.course-detail-page .courses-panel__heading {
	display: grid;
	gap: 2px;
	margin: 0;
}

.section-page .courses-panel__heading h2,
.section-page .learning-core__heading h2,
.course-detail-page .courses-panel__heading h2 {
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	font-weight: 650;
	line-height: 1.18;
}

.section-page .courses-panel__heading p,
.section-page .learning-core__heading p,
.section-page .learning-core__heading span,
.course-detail-page .courses-panel__heading p {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.35;
}

.section-page .learning-core__scope {
	color: var(--eb-color-ink);
	font-weight: 550;
}

.section-page .course-page-list,
.section-page .course-child-page-list,
.section-page .learning-core__accordion {
	gap: 7px;
}

.site-main .section-page .course-page-list a,
.site-main .section-page .course-child-page-list a,
.site-main .section-page .learning-core__panel {
	min-height: 52px;
	border-width: 1px;
	padding: 0;
}

.site-main .section-page .course-page-list a,
.site-main .section-page .course-child-page-list a,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary {
	min-height: 52px;
	padding: 12px 14px;
}

.site-main .section-page .course-page-list a strong,
.site-main .section-page .course-child-page-list a strong,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary h2 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.22;
}

.site-main .section-page .course-page-list a::after,
.site-main .section-page .course-child-page-list a::after,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary::after {
	width: 28px;
	height: 28px;
	font-size: 1rem;
}

.site-main .section-page .learning-core__panel > .learning-core__panel-summary::after {
	font-size: 1.35rem;
}

.site-main .section-page .learning-core__panel-body {
	padding: 12px 14px 14px;
}

.site-main .section-page .learning-core__central p,
.site-main .section-page .learning-core__essential-list li,
.site-main .section-page .learning-core__complement-list li,
.site-main .section-page .learning-core__item,
.site-main .section-page .learning-core__connection {
	font-size: 0.95rem;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.section-page,
	.course-detail-page {
		gap: 14px;
	}

	.section-page > .section-toolbar,
	.course-detail-page > .section-toolbar {
		margin-bottom: -16px;
	}

	.section-page > .study-topic__source-card.section-header,
	.course-detail-page > .study-topic__source-card.course-header {
		margin-bottom: 6px;
	}

	.site-main .section-page .course-page-list a,
	.site-main .section-page .course-child-page-list a,
	.site-main .section-page .learning-core__panel > .learning-core__panel-summary {
		gap: 12px;
		min-height: 50px;
		padding: 11px 12px;
	}

	.site-main .section-page .course-page-list a strong,
	.site-main .section-page .course-child-page-list a strong,
	.site-main .section-page .learning-core__panel > .learning-core__panel-summary h2 {
		font-size: 0.96rem;
	}

	.site-main .section-page .course-page-list a::after,
	.site-main .section-page .course-child-page-list a::after,
	.site-main .section-page .learning-core__panel > .learning-core__panel-summary::after {
		width: 26px;
		height: 26px;
	}

	.site-main .section-page .learning-core__panel-body {
		padding: 11px 12px 12px;
	}
}

/*
 * Canonical component layer v1.
 * Existing classes map into a smaller internal design system so every page
 * keeps the same look and feel while markup is gradually cleaned up.
 */
:root {
	--eb-ui-page-gap: 18px;
	--eb-ui-section-gap: 12px;
	--eb-ui-panel-gap: 8px;
	--eb-ui-panel-border: #c1ccd9;
	--eb-ui-panel-bg: var(--eb-color-surface-soft);
	--eb-ui-panel-hover-border: #64748b;
	--eb-ui-panel-hover-bg: #d8e0ea;
	--eb-ui-panel-hover-text: #0b0f14;
	--eb-ui-panel-icon-bg: #f8fafc;
	--eb-ui-panel-text: #0b0f14;
	--eb-ui-page-header-bg: #0b0f14;
	--eb-ui-page-header-fg: #ffffff;
	--eb-ui-page-header-muted: rgba(255, 255, 255, 0.82);
	--eb-ui-section-header-bg: #111827;
	--eb-ui-section-header-border: #334155;
	--eb-ui-section-header-fg: #f8fafc;
	--eb-ui-section-header-muted: rgba(248, 250, 252, 0.82);
	--eb-ui-active-bg: #94a3b9;
	--eb-ui-active-border: #64748b;
	--eb-ui-active-fg: #080b10;
}

html.is-dark-mode {
	--eb-ui-panel-border: #64748b;
	--eb-ui-panel-bg: #161d27;
	--eb-ui-panel-hover-border: #64748b;
	--eb-ui-panel-hover-bg: #243041;
	--eb-ui-panel-hover-text: #f8fafc;
	--eb-ui-panel-icon-bg: #080b10;
	--eb-ui-panel-text: #f8fafc;
}

.site-main > article,
.learning-page,
.timeline-page,
.courses-page,
.course-detail-page,
.section-page,
.study-topic-page,
.assessment-page,
.profile-page {
	display: grid;
	gap: var(--eb-ui-page-gap);
}

.study-topic__source-card.courses-header,
.study-topic__source-card.course-header,
.study-topic__source-card.is-method {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: var(--eb-ui-page-header-bg);
	color: var(--eb-ui-page-header-fg);
	box-shadow: none;
}

.study-topic__source-card.courses-header h1,
.study-topic__source-card.course-header h1,
.study-topic__source-card.is-method h1,
.study-topic__source-card.courses-header p,
.study-topic__source-card.course-header p,
.study-topic__source-card.is-method p,
.study-topic__source-card.courses-header span,
.study-topic__source-card.course-header span,
.study-topic__source-card.is-method span {
	color: inherit;
}

.study-topic__source-card.courses-header p,
.study-topic__source-card.course-header p,
.study-topic__source-card.is-method p,
.study-topic__source-card.courses-header span,
.study-topic__source-card.course-header span,
.study-topic__source-card.is-method span {
	color: var(--eb-ui-page-header-muted);
}

.assessment-page .study-topic__source-card.assessment-tool-header {
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 8px;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-tool-header__context {
	display: block;
	grid-column: 1;
	grid-row: auto;
	margin: 0;
	color: var(--eb-ui-page-header-muted);
	font-family: Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-panel__titlebar {
	display: block;
	grid-column: 1;
	grid-row: auto;
	padding-bottom: 0;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-panel__titlebar::after {
	display: none;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-panel__titlebar > h1 {
	margin: 0;
	color: var(--eb-ui-page-header-fg);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 650;
	line-height: 1.12;
}

.assessment-page .study-topic__source-card.assessment-tool-header > p {
	grid-column: 1;
	grid-row: auto;
	max-width: 920px;
	color: var(--eb-ui-page-header-muted);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.35;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__trigger {
	color: var(--eb-ui-page-header-fg);
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__trigger:hover,
.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__trigger:focus-visible,
.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel[open] > .assessment-filter-panel__trigger {
	color: #94a3b9;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__icon.dashicons {
	display: grid;
	place-items: center;
	width: var(--eb-action-icon-glyph-size);
	height: var(--eb-action-icon-glyph-size);
	color: inherit;
	font-family: dashicons;
	font-size: var(--eb-action-icon-glyph-size);
	font-weight: 400;
	line-height: 1;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body {
	border-color: var(--eb-ui-panel-border);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body strong,
.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body span,
.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body a {
	font-family: Arial, sans-serif;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body-header span {
	display: block;
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: none;
}

.assessment-page .study-topic__source-card.assessment-tool-header .assessment-filter-panel__body .assessment-type-toggle__option span {
	display: inline;
	margin: 0;
	color: currentColor;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.section-page .study-topic__source-card.section-header {
	border-color: var(--eb-ui-section-header-border);
	background: var(--eb-ui-section-header-bg);
	color: var(--eb-ui-section-header-fg);
	box-shadow: none;
}

.section-page .study-topic__source-card.section-header h1,
.section-page .study-topic__source-card.section-header .section-header__context {
	color: inherit;
}

.section-page .study-topic__source-card.section-header .section-header__context {
	color: var(--eb-ui-section-header-muted);
}

.learning-context-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 -4px;
}

.learning-context-nav a {
	text-decoration: none;
}

.learning-context-nav__back {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	box-shadow: none;
}

.learning-context-nav__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 6px 10px;
	font-size: 0.84rem;
	font-weight: 550;
	line-height: 1.15;
}

.learning-context-nav__back .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
	line-height: 1;
}

.learning-context-nav__back:hover,
.learning-context-nav__back:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
	outline: none;
}

.learning-context-nav__back:hover *,
.learning-context-nav__back:focus-visible * {
	color: inherit;
}

@media (max-width: 640px) {
	.learning-context-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: -2px;
	}

	.learning-context-nav__back {
		width: 100%;
	}
}

.courses-panel,
.assessment-panel,
.study-topic__sections,
.study-topic__common-panels,
.glossary-index {
	display: grid;
	gap: var(--eb-ui-section-gap);
}

.courses-panel__heading,
.assessment-panel__heading,
.learning-core__heading,
.study-foundations__heading,
.navigation-level__heading,
.module-header {
	display: grid;
	gap: 2px;
	margin: 0;
}

.courses-panel__heading h2,
.assessment-panel__heading h2,
.learning-core__heading h2,
.study-foundations__heading h2,
.navigation-level__heading h1,
.module-header h1 {
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	font-weight: 650;
	line-height: 1.18;
}

.courses-panel__heading p,
.assessment-panel__heading p,
.learning-core__heading p,
.study-foundations__heading p,
.navigation-level__heading p,
.module-header p {
	margin: 0;
	color: var(--eb-color-muted);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.35;
}

.course-disclaimer,
.glossary-entry,
.site-main .home-action,
.site-main .course-card,
.site-main .course-section-card,
.site-main .course-section-card--block,
.site-main .course-section-card--section,
.site-main .assessment-start__option,
.site-main .study-topic__collapsible,
.site-main .course-page-list a,
.site-main .course-child-page-list a,
.site-main .learning-core__panel {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	box-shadow: none;
	color: var(--eb-ui-panel-text);
	filter: none;
}

.site-main .course-card,
.site-main .course-section-card--block,
.site-main .course-section-card--section {
	min-height: auto;
	padding: 16px;
	text-decoration: none;
}

.site-main .home-action {
	background: var(--eb-ui-panel-bg);
}

.site-main .course-card strong,
.site-main .course-card p,
.site-main .course-card em,
.site-main .course-card small,
.site-main .course-card span,
.site-main .course-card .course-card__institution,
.site-main .course-section-card h3 a,
.site-main .course-section-card__header p,
.site-main .course-section-card__header > span,
.site-main .assessment-start__option strong,
.site-main .assessment-start__option span,
.site-main .assessment-start__option em,
.site-main .home-action strong,
.site-main .home-action span {
	color: inherit;
}

.site-main .course-card p,
.site-main .course-card em,
.site-main .course-card small,
.site-main .course-card .course-card__institution,
.site-main .course-section-card__header p,
.site-main .assessment-start__option > span,
.site-main .assessment-start__option em {
	color: var(--eb-color-muted);
}

.site-main .course-section-card__header > span,
.site-main .course-page-list a span,
.site-main .course-child-page-list a span,
.site-main .assessment-section-number {
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
}

.site-main .home-action:hover,
.site-main .home-action:focus,
.site-main .course-card:hover,
.site-main .course-card:focus,
.site-main .course-section-card--block:hover,
.site-main .course-section-card--section:hover,
.site-main .course-section-card--block:focus-within,
.site-main .course-section-card--section:focus-within,
.site-main .assessment-start__option:hover,
.site-main .assessment-start__option:focus,
.site-main .glossary-entry:target {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
	filter: none;
	outline: none;
}

.site-main .home-action:hover strong,
.site-main .home-action:focus strong,
.site-main .home-action:hover span,
.site-main .home-action:focus span,
.site-main .course-card:hover strong,
.site-main .course-card:focus strong,
.site-main .course-card:hover p,
.site-main .course-card:focus p,
.site-main .course-card:hover em,
.site-main .course-card:focus em,
.site-main .course-card:hover small,
.site-main .course-card:focus small,
.site-main .course-card:hover span,
.site-main .course-card:focus span,
.site-main .course-card:hover .course-card__institution,
.site-main .course-card:focus .course-card__institution,
.site-main .course-section-card--block:hover h3 a,
.site-main .course-section-card--block:focus-within h3 a,
.site-main .course-section-card--section:hover h3 a,
.site-main .course-section-card--section:focus-within h3 a,
.site-main .course-section-card--block:hover .course-section-card__header p,
.site-main .course-section-card--block:focus-within .course-section-card__header p,
.site-main .course-section-card--section:hover .course-section-card__header p,
.site-main .course-section-card--section:focus-within .course-section-card__header p,
.site-main .assessment-start__option:hover strong,
.site-main .assessment-start__option:focus strong,
.site-main .assessment-start__option:hover span,
.site-main .assessment-start__option:focus span,
.site-main .assessment-start__option:hover em,
.site-main .assessment-start__option:focus em {
	color: inherit;
}

.site-main .assessment-start__option.is-disabled,
.site-main .assessment-start__option.is-disabled:hover,
.site-main .assessment-start__option.is-disabled:focus {
	border-color: var(--eb-color-line-soft);
	background: transparent;
	color: var(--eb-color-muted);
	cursor: default;
	opacity: 0.78;
}

html.is-dark-mode .site-main .course-card p,
html.is-dark-mode .site-main .course-card em,
html.is-dark-mode .site-main .course-card small,
html.is-dark-mode .site-main .course-card .course-card__institution,
html.is-dark-mode .site-main .course-section-card__header p,
html.is-dark-mode .site-main .assessment-start__option > span,
html.is-dark-mode .site-main .assessment-start__option em,
html.is-dark-mode .courses-panel__heading p,
html.is-dark-mode .assessment-panel__heading p,
html.is-dark-mode .learning-core__heading p {
	color: #cbd5e1;
}

@media (max-width: 640px) {
	:root {
		--eb-ui-page-gap: 14px;
		--eb-ui-section-gap: 10px;
	}

	.site-main .course-card,
	.site-main .course-section-card--block,
	.site-main .course-section-card--section,
	.site-main .assessment-start__option,
	.site-main .home-action {
		padding: 14px;
	}
}

/*
 * Home dashboard v1.
 * Inicio summarizes the main sidebar areas instead of acting as a single link.
 */
.home-dashboard {
	display: grid;
	gap: 14px;
}

.home-dashboard__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 10px;
}

.site-main .home-stat {
	display: grid;
	align-content: center;
	gap: 2px;
	min-height: 86px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 14px;
	color: var(--eb-ui-panel-text);
}

.home-stat strong {
	color: inherit;
	font-size: clamp(1.75rem, 6vw, 2.45rem);
	font-weight: 800;
	line-height: 1;
}

.home-stat span {
	color: var(--eb-color-muted);
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-page .home-actions.home-actions--dashboard {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.course-detail-page .course-section-list {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-page .course-section-list,
.section-page .course-page-list {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.study-topic-page .study-topic__sections,
.study-topic-page .study-topic__common-panels {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: start;
}

.study-topic-page .study-topic__collapsible[open] {
	grid-column: 1 / -1;
}

.site-main .learning-core__accordion > li:has(> .learning-core__panel[open]),
.site-main .learning-core__panel[open],
.site-main .study-topic__collapsible[open] {
	grid-column: 1 / -1;
	width: 100%;
}

html.is-dark-mode .home-stat span {
	color: #cbd5e1;
}

@media (max-width: 640px) {
	.home-dashboard__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-main .home-stat {
		min-height: 78px;
		padding: 12px;
	}

	.home-page .home-actions.home-actions--dashboard {
		grid-template-columns: minmax(0, 1fr);
	}

	.course-detail-page .course-section-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.section-page .course-section-list,
	.section-page .course-page-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.study-topic-page .study-topic__sections,
	.study-topic-page .study-topic__common-panels {
		grid-template-columns: minmax(0, 1fr);
	}
}

/*
 * Required notice modal.
 * Blocks the front-end until the logged-in user acknowledges the current notice.
 */
body.has-required-notice {
	overflow: hidden;
}

.site-required-notice {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 18px;
}

.site-required-notice[hidden] {
	display: none;
}

.site-required-notice__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 11, 16, 0.78);
	backdrop-filter: blur(2px);
}

.site-required-notice__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	width: min(100%, 640px);
	max-height: min(88vh, 720px);
	overflow: auto;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-bg);
	padding: clamp(18px, 4vw, 28px);
	color: var(--eb-color-ink);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.site-required-notice__dialog h2,
.site-required-notice__body p,
.site-required-notice__meta,
.site-required-notice__error {
	margin: 0;
}

.site-required-notice__dialog h2 {
	color: inherit;
	font-size: clamp(1.35rem, 5vw, 1.9rem);
	font-weight: 800;
	line-height: 1.1;
}

.site-required-notice__body {
	display: grid;
	gap: 10px;
}

.site-required-notice__body p {
	color: var(--eb-color-muted);
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.5;
}

.site-required-notice__meta {
	border-top: 1px solid var(--eb-ui-panel-border);
	padding-top: 12px;
	color: var(--eb-color-muted);
	font-size: 0.84rem;
	line-height: 1.35;
}

.site-required-notice__actions {
	display: flex;
	justify-content: flex-end;
}

.site-required-notice__button {
	min-height: 42px;
	border: 1px solid #0b0f14;
	border-radius: var(--eb-radius-sm);
	background: #0b0f14;
	padding: 0 16px;
	color: #ffffff;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 750;
	cursor: pointer;
}

.site-required-notice__button:hover,
.site-required-notice__button:focus-visible {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.site-required-notice__button:disabled {
	cursor: wait;
	opacity: 0.72;
}

.site-required-notice__error {
	color: #991b1b;
	font-size: 0.9rem;
	font-weight: 650;
}

html.is-dark-mode .site-required-notice__dialog {
	border-color: var(--eb-ui-panel-border);
	background: #111827;
	color: #f8fafc;
}

html.is-dark-mode .site-required-notice__body p,
html.is-dark-mode .site-required-notice__meta {
	color: #cbd5e1;
}

html.is-dark-mode .site-required-notice__button {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #0b0f14;
}

html.is-dark-mode .site-required-notice__button:hover,
html.is-dark-mode .site-required-notice__button:focus-visible {
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .site-required-notice__error {
	color: #fca5a5;
}

@media (max-width: 640px) {
	.site-required-notice {
		align-items: end;
		padding: 12px;
	}

	.site-required-notice__dialog {
		width: 100%;
		max-height: 86vh;
	}

	.site-required-notice__actions,
	.site-required-notice__button {
		width: 100%;
	}
}

/*
 * Custom login screen.
 */
body.login-route {
	padding-left: 0;
}

body.login-route .study-sidebar,
body.login-route .site-menu-toggle,
body.login-route .site-user-menu,
body.login-route .site-navigation {
	display: none;
}

body.login-route .site-header,
body.login-route .site-footer {
	width: 100%;
	margin-left: 0;
}

body.login-route .site-header__inner {
	padding: 10px clamp(16px, 3vw, 40px);
}

body.login-route .site-title {
	margin-right: auto;
}

body.login-route .site-main {
	display: grid;
	width: 100%;
	min-height: calc(100vh - var(--eb-header-height) - 74px);
	place-items: center;
	padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 40px);
}

.login-page {
	display: grid;
	width: min(100%, 520px);
}

.login-card {
	display: grid;
	gap: 16px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: clamp(18px, 5vw, 28px);
	color: var(--eb-ui-panel-text);
}

.login-card__header {
	display: grid;
	gap: 6px;
	padding-bottom: 4px;
}

.brand-mark--login {
	width: 56px;
	height: 56px;
	margin-bottom: 4px;
	color: inherit;
}

.login-card__header p,
.login-card__header h1,
.login-card__header span {
	margin: 0;
}

.login-card__header p {
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.1;
	text-transform: uppercase;
}

.login-card__header h1 {
	color: inherit;
	font-size: clamp(1.8rem, 7vw, 2.5rem);
	font-weight: 850;
	line-height: 1.05;
}

.login-card__header span {
	color: var(--eb-color-muted);
	font-size: 0.95rem;
	font-weight: 550;
	line-height: 1.45;
}

.login-form {
	display: grid;
	gap: 13px;
}

.login-field {
	display: grid;
	gap: 7px;
	color: inherit;
	font-size: 0.92rem;
	font-weight: 750;
}

.login-field input {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-bg);
	padding: 8px 10px;
	color: var(--eb-color-ink);
	font: inherit;
	font-weight: 500;
}

.login-field input:focus {
	border-color: var(--eb-ui-active-border);
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.22);
}

.login-remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	color: var(--eb-color-muted);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.25;
}

.login-remember input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #0b0f14;
}

.login-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid #0b0f14;
	border-radius: var(--eb-radius-sm);
	background: #0b0f14;
	padding: 0 16px;
	color: #ffffff;
	font: inherit;
	font-size: 0.94rem;
	font-weight: 800;
	cursor: pointer;
}

.login-button:hover,
.login-button:focus-visible {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.login-message {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	padding: 11px 12px;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.4;
}

.login-message--success {
	border-color: #16a34a;
	background: #dcfce7;
	color: #052e16;
}

.login-message--error {
	border-color: #b45309;
	background: #ffedd5;
	color: #431407;
}

.login-message--info {
	border-color: #64748b;
	background: #e2e8f0;
	color: #0f172a;
}

html.is-dark-mode .login-card__header p,
html.is-dark-mode .login-card__header span,
html.is-dark-mode .login-remember {
	color: #cbd5e1;
}

html.is-dark-mode .login-field input {
	border-color: var(--eb-ui-panel-border);
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .login-remember input {
	accent-color: #f8fafc;
}

html.is-dark-mode .login-button {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #0b0f14;
}

html.is-dark-mode .login-button:hover,
html.is-dark-mode .login-button:focus-visible {
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .login-message--success {
	border-color: #22c55e;
	background: #052e16;
	color: #dcfce7;
}

html.is-dark-mode .login-message--error {
	border-color: #f97316;
	background: #431407;
	color: #ffedd5;
}

html.is-dark-mode .login-message--info {
	border-color: #94a3b8;
	background: #1e293b;
	color: #e2e8f0;
}

/*
 * Front-end user profile.
 */
.profile-page,
.profile-panel,
.profile-form {
	width: 100%;
}

.profile-panel {
	display: grid;
	gap: 14px;
}

.profile-learning__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.profile-learning__recommendation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 22px;
	border: 1px solid var(--eb-ui-active-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 14px 16px;
	color: var(--eb-ui-panel-text);
}

.profile-learning__recommendation-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.profile-learning__recommendation-copy > span {
	color: var(--eb-color-muted);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.profile-learning__recommendation h3,
.profile-learning__recommendation p {
	margin: 0;
	color: inherit;
}

.profile-learning__recommendation h3 {
	font-size: 1rem;
	line-height: 1.25;
}

.profile-learning__recommendation p {
	max-width: 78ch;
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.45;
}

.profile-learning__recommendation > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid #0b0f14;
	border-radius: var(--eb-radius-sm);
	background: #0b0f14;
	padding: 0 13px;
	color: #ffffff;
	font-size: 0.84rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.profile-learning__recommendation > a:hover,
.profile-learning__recommendation > a:focus-visible {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.profile-learning__stat {
	display: grid;
	align-content: center;
	min-height: 92px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 12px 14px;
	color: var(--eb-ui-panel-text);
}

.profile-learning__stat strong {
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1;
}

.profile-learning__stat span {
	margin-top: 7px;
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.25;
}

.profile-learning__details {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	border-block: 1px solid var(--eb-ui-panel-border);
	padding: 11px 0;
}

.profile-learning__details p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.4;
}

.profile-learning__activities {
	display: grid;
	gap: 12px;
	border-top: 1px solid var(--eb-ui-panel-border);
	padding-top: 14px;
}

.profile-learning__activities-heading {
	display: grid;
	gap: 4px;
}

.profile-learning__activities-heading h3,
.profile-learning__activities-heading p {
	margin: 0;
}

.profile-learning__activities-heading h3 {
	font-size: 1rem;
	line-height: 1.25;
}

.profile-learning__activities-heading p {
	max-width: 78ch;
	color: var(--eb-color-muted);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.4;
}

.profile-learning__activity-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.profile-learning__activity-card {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	gap: 11px;
	min-height: 210px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 13px 14px;
	color: var(--eb-ui-panel-text);
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.profile-learning__activity-card:hover,
.profile-learning__activity-card:focus-visible {
	border-color: var(--eb-ui-active-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
	outline: none;
}

.profile-learning__activity-mode {
	justify-self: start;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 3px 7px;
	font-size: 0.68rem;
	font-weight: 650;
	line-height: 1.15;
}

.profile-learning__activity-copy {
	display: grid;
	gap: 4px;
}

.profile-learning__activity-copy h4,
.profile-learning__activity-copy p {
	margin: 0;
	color: inherit;
}

.profile-learning__activity-copy h4 {
	font-size: 0.96rem;
	line-height: 1.25;
}

.profile-learning__activity-copy p {
	font-size: 0.79rem;
	font-weight: 400;
	line-height: 1.4;
}

.profile-learning__activity-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-self: end;
	gap: 8px;
}

.profile-learning__activity-metrics > span {
	display: grid;
	align-content: start;
	gap: 4px;
	min-width: 0;
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1.25;
}

.profile-learning__activity-metrics strong {
	font-size: 1.05rem;
	line-height: 1;
}

.profile-learning__activity-action {
	display: grid;
	gap: 3px;
	border-top: 1px solid currentColor;
	padding-top: 9px;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.25;
}

.profile-learning__activity-action small {
	font-size: 0.68rem;
	font-weight: 400;
	line-height: 1.3;
}

.profile-learning__queue,
.profile-learning__empty {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 14px;
	color: var(--eb-ui-panel-text);
}

.assessment-results__progress {
	margin: 8px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.35;
}

.profile-learning__queue-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.profile-learning__queue-heading h3,
.profile-learning__empty p {
	margin: 0;
}

.profile-learning__queue ul {
	display: grid;
	gap: 0;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.profile-learning__queue li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 16px;
	align-items: center;
	border-top: 1px solid var(--eb-ui-panel-border);
	padding: 9px 0;
}

.profile-learning__queue li span {
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.35;
}

.profile-learning__queue li small {
	color: var(--eb-color-muted);
	font-size: 0.76rem;
}

.profile-learning__review-link,
.profile-learning__empty a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	border: 1px solid currentColor;
	border-radius: var(--eb-radius-sm);
	padding: 0 11px;
	color: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
}

.profile-learning__review-link:hover,
.profile-learning__review-link:focus-visible,
.profile-learning__empty a:hover,
.profile-learning__empty a:focus-visible {
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
	outline: none;
}

.profile-learning__empty {
	display: grid;
	justify-items: start;
	gap: 8px;
}

.profile-preferences__form {
	border: 0;
	background: transparent;
	padding: 0;
}

.profile-preferences__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.profile-preference {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 92px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 12px 14px;
	color: var(--eb-ui-panel-text);
	cursor: pointer;
}

.profile-preference:hover {
	border-color: var(--eb-ui-active-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
}

.profile-preference__copy {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.profile-preference__copy strong,
.profile-preference__copy small {
	color: inherit;
	letter-spacing: 0;
}

.profile-preference__copy strong {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
}

.profile-preference__copy small {
	color: var(--eb-color-muted);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.35;
}

.profile-preference:hover .profile-preference__copy small {
	color: inherit;
}

.profile-preference__control {
	position: relative;
	display: block;
	width: 43px;
	height: 24px;
	flex: 0 0 43px;
}

.profile-preference__control input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.profile-preference__control > span {
	position: absolute;
	inset: 0;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #e2e8f0;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.profile-preference__control > span::after {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
	content: "";
	transition: background-color 160ms ease, transform 160ms ease;
}

.profile-preference__control input:checked + span::after {
	background: var(--eb-color-selected);
	transform: translateX(19px);
}

.profile-preference__control input:focus-visible + span {
	outline: 2px solid var(--eb-ui-active-border);
	outline-offset: 2px;
}

.profile-form {
	display: grid;
	gap: 14px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: clamp(14px, 3vw, 20px);
	color: var(--eb-ui-panel-text);
}

.profile-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.profile-field {
	display: grid;
	gap: 7px;
	min-width: 0;
	color: inherit;
	font-size: 0.92rem;
	font-weight: 750;
}

.profile-field span {
	color: inherit;
}

.profile-field input {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-color-bg);
	padding: 8px 10px;
	color: var(--eb-color-ink);
	font: inherit;
	font-weight: 500;
}

.profile-field input:focus {
	border-color: var(--eb-ui-active-border);
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.22);
}

.profile-form__hint {
	margin: -2px 0 0;
	color: var(--eb-color-muted);
	font-size: 0.86rem;
	line-height: 1.35;
}

.profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.profile-button,
.profile-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid #0b0f14;
	border-radius: var(--eb-radius-sm);
	padding: 0 14px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 750;
	text-decoration: none;
}

.profile-button {
	background: #0b0f14;
	color: #ffffff;
	cursor: pointer;
}

.profile-link {
	background: transparent;
	color: var(--eb-color-ink);
}

.profile-button:hover,
.profile-button:focus-visible,
.profile-link:hover,
.profile-link:focus-visible {
	background: #ffffff;
	color: #0b0f14;
	outline: none;
}

.profile-message {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	padding: 12px 14px;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.4;
}

.profile-message--success {
	border-color: #16a34a;
	background: #dcfce7;
	color: #052e16;
}

.profile-message--error {
	border-color: #b45309;
	background: #ffedd5;
	color: #431407;
}

html.is-dark-mode .site-user-menu {
	color: #ffffff;
}

html.is-dark-mode .site-user-menu__trigger {
	border-color: #ffffff;
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .site-user-menu__trigger:hover,
html.is-dark-mode .site-user-menu__trigger:focus-visible,
html.is-dark-mode .site-user-menu__popover[open] > .site-user-menu__trigger {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #080b10;
}

html.is-dark-mode .site-user-menu__panel {
	border-color: rgba(255, 255, 255, 0.2);
	background: #0b0f14;
	color: #ffffff;
}

html.is-dark-mode .site-user-menu__panel::before {
	border-color: rgba(255, 255, 255, 0.2);
	background: #0b0f14;
}

html.is-dark-mode .site-user-menu__panel a {
	background: transparent;
	color: #ffffff;
}

html.is-dark-mode .site-user-menu__panel a:hover,
html.is-dark-mode .site-user-menu__panel a:focus-visible {
	background: #ffffff;
	color: #0b0f14;
}

html.is-dark-mode .profile-field input {
	border-color: var(--eb-ui-panel-border);
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .profile-form__hint {
	color: #cbd5e1;
}

html.is-dark-mode .profile-learning__stat span,
html.is-dark-mode .profile-learning__queue li small,
html.is-dark-mode .profile-learning__recommendation-copy > span {
	color: #cbd5e1;
}

html.is-dark-mode .profile-learning__recommendation > a {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #0b0f14;
}

html.is-dark-mode .profile-learning__recommendation > a:hover,
html.is-dark-mode .profile-learning__recommendation > a:focus-visible {
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .profile-preference__control > span {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .profile-button {
	border-color: #f8fafc;
	background: #f8fafc;
	color: #0b0f14;
}

html.is-dark-mode .profile-link {
	border-color: #f8fafc;
	color: #f8fafc;
}

html.is-dark-mode .profile-button:hover,
html.is-dark-mode .profile-button:focus-visible,
html.is-dark-mode .profile-link:hover,
html.is-dark-mode .profile-link:focus-visible {
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .profile-message--success {
	border-color: #22c55e;
	background: #052e16;
	color: #dcfce7;
}

html.is-dark-mode .profile-message--error {
	border-color: #f97316;
	background: #431407;
	color: #ffedd5;
}

@media (max-width: 960px) {
	.profile-learning__activity-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.profile-learning__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.profile-learning__queue-heading,
	.profile-learning__queue li,
	.profile-learning__recommendation {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.profile-learning__recommendation > a {
		width: 100%;
	}

	.profile-learning__activity-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile-learning__activity-card {
		min-height: 0;
	}

	.profile-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile-preferences__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile-actions,
	.profile-button,
	.profile-link {
		width: 100%;
	}
}

/*
 * Card system v2.
 * Canonical hierarchy:
 * base card -> interactive card -> active/current card -> specialization.
 * Legacy class names remain in markup, but their visual behavior is normalized here.
 */
:root {
	--eb-card-bg: var(--eb-ui-panel-bg);
	--eb-card-border: var(--eb-ui-panel-border);
	--eb-card-fg: var(--eb-ui-panel-text);
	--eb-card-muted: var(--eb-color-muted);
	--eb-card-hover-bg: var(--eb-ui-panel-hover-bg);
	--eb-card-hover-border: var(--eb-ui-panel-hover-border);
	--eb-card-hover-fg: var(--eb-ui-panel-text);
	--eb-card-active-bg: #94a3b9;
	--eb-card-active-border: #64748b;
	--eb-card-active-fg: #080b10;
	--eb-card-radius: var(--eb-radius-sm);
	--eb-card-padding: 16px;
	--eb-card-gap: 10px;
	--eb-card-transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
	--eb-access-card-min-height: 78px;
	--eb-access-card-padding-y: 14px;
	--eb-access-card-padding-x: 16px;
	--eb-access-card-title-size: 1rem;
	--eb-access-card-title-weight: 650;
	--eb-access-card-title-line-height: 1.22;
	--eb-access-card-description-size: 0.86rem;
	--eb-access-card-description-line-height: 1.35;
}

html.is-dark-mode {
	--eb-card-muted: #cbd5e1;
	--eb-card-hover-fg: #f8fafc;
}

.site-main .home-stat,
.site-main .course-disclaimer,
.site-main .glossary-entry,
.site-main .course-card,
.site-main .home-action,
.site-main .course-section-card,
.site-main .course-section-card--block,
.site-main .course-section-card--section,
.site-main .assessment-start__option,
.site-main .study-topic__collapsible,
.site-main .course-page-list a,
.site-main .course-child-page-list a,
.site-main .learning-core__panel,
.site-main .section-nav__links a,
.site-main .section-nav__context-item,
.site-main .section-nav__list a {
	box-sizing: border-box;
	border: 1px solid var(--eb-card-border);
	border-radius: var(--eb-card-radius);
	background: var(--eb-card-bg);
	box-shadow: none;
	color: var(--eb-card-fg);
	filter: none;
}

.site-main .course-card,
.site-main .home-action,
.site-main .course-section-card--block,
.site-main .course-section-card--section,
.site-main .assessment-start__option,
.site-main .course-page-list a,
.site-main .course-child-page-list a,
.site-main .section-nav__links a,
.site-main .section-nav__context-item,
.site-main .section-nav__list a {
	text-decoration: none;
	transition: var(--eb-card-transition);
}

.site-main .course-card,
.site-main .home-action {
	display: grid;
	grid-template-columns: none;
	align-content: start;
	align-items: start;
	gap: var(--eb-card-gap);
	min-height: auto;
	padding: var(--eb-card-padding);
}

.site-main button.course-card {
	width: 100%;
	cursor: pointer;
	font: inherit;
	text-align: left;
}

.site-main .course-card strong,
.site-main .home-action strong {
	margin: 0;
	color: inherit;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-main .course-card p,
.site-main .course-card em,
.site-main .course-card small,
.site-main .course-card span,
.site-main .course-card .course-card__institution,
.site-main .home-action p,
.site-main .home-action small,
.site-main .home-action span,
.site-main .course-section-card__header p,
.site-main .assessment-start__option > span,
.site-main .assessment-start__option em,
.site-main .glossary-entry__meta {
	color: var(--eb-card-muted);
}

.site-main .course-card p,
.site-main .course-card em,
.site-main .course-card small,
.site-main .home-action p,
.site-main .home-action small {
	margin: 0;
	line-height: 1.4;
}

.site-main .course-card em,
.site-main .course-card small,
.site-main .home-action small {
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 600;
	text-transform: uppercase;
}

.site-main .course-card .course-card__institution {
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: none;
}

.site-main .course-section-card--block,
.site-main .course-section-card--section {
	padding: var(--eb-card-padding);
}

.site-main .course-section-card h3,
.site-main .course-section-card h3 a,
.site-main .assessment-start__option strong,
.site-main .assessment-start__option span,
.site-main .assessment-start__option em,
.site-main .section-nav__links a,
.site-main .section-nav__context-item,
.site-main .section-nav__context-item span,
.site-main .section-nav__context-item strong,
.site-main .section-nav__list a,
.site-main .course-page-list a strong,
.site-main .course-child-page-list a strong,
.site-main .study-topic__collapsible > summary h2,
.site-main .learning-core__panel > .learning-core__panel-summary h2,
.site-main .learning-core__panel > .learning-core__panel-summary .learning-core__source {
	color: inherit;
}

.site-main .course-section-card h3 a,
.site-main .course-page-list a,
.site-main .course-child-page-list a {
	text-decoration: none;
}

.site-main .course-section-card__header > span,
.site-main .course-page-list a span,
.site-main .course-child-page-list a span,
.site-main .assessment-section-number {
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
}

.site-main .course-page-list a::after,
.site-main .course-child-page-list a::after,
.site-main .study-topic__collapsible > summary::after,
.site-main .learning-core__panel > .learning-core__panel-summary::after {
	border-color: var(--eb-card-border);
	background: transparent;
	color: inherit;
}

.site-main .study-topic__collapsible > summary,
.site-main .learning-core__panel > .learning-core__panel-summary {
	border-color: transparent;
	background: transparent;
	color: inherit;
	transition: var(--eb-card-transition);
}

.site-main a.course-card:hover,
.site-main a.course-card:focus,
.site-main button.course-card:hover,
.site-main button.course-card:focus,
.site-main button.course-card:focus-visible,
.site-main a.home-action:hover,
.site-main a.home-action:focus,
.site-main .course-section-card--block:hover,
.site-main .course-section-card--section:hover,
.site-main .course-section-card--block:focus-within,
.site-main .course-section-card--section:focus-within,
.site-main a.assessment-start__option:not(.is-disabled):hover,
.site-main a.assessment-start__option:not(.is-disabled):focus,
.site-main .course-page-list a:hover,
.site-main .course-page-list a:focus,
.site-main .course-child-page-list a:hover,
.site-main .course-child-page-list a:focus,
.site-main .section-nav__links a:hover,
.site-main .section-nav__links a:focus,
.site-main .section-nav__context-item:hover,
.site-main .section-nav__context-item:focus,
.site-main .section-nav__list a:hover,
.site-main .section-nav__list a:focus,
.site-main .study-topic__collapsible:not([open]) > summary:hover,
.site-main .study-topic__collapsible:not([open]) > summary:focus,
.site-main .learning-core__panel:not([open]):hover,
.site-main .learning-core__panel:not([open]):focus-within,
.site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover,
.site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus {
	border-color: var(--eb-card-hover-border);
	background: var(--eb-card-hover-bg);
	color: var(--eb-card-hover-fg);
	filter: none;
	outline: none;
}

.site-main a.course-card:hover *,
.site-main a.course-card:focus *,
.site-main button.course-card:hover *,
.site-main button.course-card:focus *,
.site-main button.course-card:focus-visible *,
.site-main a.home-action:hover *,
.site-main a.home-action:focus *,
.site-main .course-section-card--block:hover *,
.site-main .course-section-card--block:focus-within *,
.site-main .course-section-card--section:hover *,
.site-main .course-section-card--section:focus-within *,
.site-main a.assessment-start__option:not(.is-disabled):hover *,
.site-main a.assessment-start__option:not(.is-disabled):focus *,
.site-main .section-nav__context-item:hover *,
.site-main .section-nav__context-item:focus * {
	color: inherit;
}

.site-main .course-page-list a:hover::after,
.site-main .course-page-list a:focus::after,
.site-main .course-child-page-list a:hover::after,
.site-main .course-child-page-list a:focus::after,
.site-main .study-topic__collapsible:not([open]) > summary:hover::after,
.site-main .study-topic__collapsible:not([open]) > summary:focus::after,
.site-main .learning-core__panel:not([open]):hover > .learning-core__panel-summary::after,
.site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:hover::after,
.site-main .learning-core__panel:not([open]) > .learning-core__panel-summary:focus::after {
	border-color: var(--eb-card-hover-border);
	background: transparent;
	color: inherit;
}

.site-main .home-actions--dashboard .home-action:hover,
.site-main .home-actions--dashboard .home-action:focus,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus {
	border-color: var(--eb-card-hover-border);
	background: var(--eb-card-hover-bg);
	color: var(--eb-card-hover-fg);
	filter: none;
	outline: none;
}

.site-main .home-actions--dashboard .home-action:hover *,
.site-main .home-actions--dashboard .home-action:focus *,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover *,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus * {
	color: inherit;
}

html.is-dark-mode .site-main .home-actions--dashboard .home-action:hover,
html.is-dark-mode .site-main .home-actions--dashboard .home-action:focus,
html.is-dark-mode .site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover,
html.is-dark-mode .site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus {
	border-color: var(--eb-card-hover-border);
	background: var(--eb-card-hover-bg);
	color: var(--eb-card-hover-fg);
}

html.is-dark-mode .site-main .home-actions--dashboard .home-action:hover *,
html.is-dark-mode .site-main .home-actions--dashboard .home-action:focus *,
html.is-dark-mode .site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:hover *,
html.is-dark-mode .site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section:focus * {
	color: inherit;
}

.site-main .assessment-start__option.is-disabled,
.site-main .assessment-start__option.is-disabled:hover,
.site-main .assessment-start__option.is-disabled:focus,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover,
.site-main .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus {
	border-color: var(--eb-color-line-soft);
	background: transparent;
	color: var(--eb-card-muted);
	cursor: default;
	opacity: 0.78;
}

html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section {
	border-color: var(--eb-card-border);
	background: var(--eb-card-bg);
	color: var(--eb-card-fg);
}

html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):hover,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):focus,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):hover,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):focus {
	border-color: var(--eb-card-hover-border);
	background: var(--eb-card-hover-bg);
	color: var(--eb-card-hover-fg);
}

html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):hover *,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):focus *,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):hover *,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section:not(.is-disabled):focus * {
	color: inherit;
}

html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus {
	border-color: var(--eb-color-line-soft);
	background: transparent;
	color: var(--eb-card-muted);
	cursor: default;
	opacity: 0.78;
}

html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled *,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover *,
html:not(.is-dark-mode) .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus *,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled *,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:hover *,
html.is-dark-mode .site-main .assessment-page .assessment-section-tree .assessment-section-tree .assessment-start__option--section.is-disabled:focus * {
	color: inherit;
}

.site-main .section-nav__list a.is-current,
.site-main .course-page-list a.is-current,
.site-main .course-page-list a[aria-current="page"],
.site-main .course-child-page-list a.is-current,
.site-main .course-child-page-list a[aria-current="page"],
.site-main .course-card.is-active,
.site-main .learning-core__panel[open] > .learning-core__panel-summary,
.site-main .study-topic__collapsible[open] > summary {
	border-color: var(--eb-card-active-border);
	background: var(--eb-card-active-bg);
	color: var(--eb-card-active-fg);
}

.site-main .learning-core__panel[open],
.site-main .study-topic__collapsible[open] {
	border-color: var(--eb-card-active-border);
	background: var(--eb-card-bg);
	color: var(--eb-card-fg);
}

.site-main .learning-core__panel[open] > .learning-core__panel-body,
.site-main .study-topic__collapsible[open] > :not(summary) {
	background: var(--eb-card-bg);
	color: var(--eb-card-fg);
}

.site-main .course-page-list a.is-current::after,
.site-main .course-page-list a[aria-current="page"]::after,
.site-main .course-child-page-list a.is-current::after,
.site-main .course-child-page-list a[aria-current="page"]::after,
.site-main .learning-core__panel[open] > .learning-core__panel-summary::after,
.site-main .study-topic__collapsible[open] > summary::after {
	border-color: var(--eb-card-active-border);
	border-radius: 50%;
	background: var(--eb-card-bg);
	color: inherit;
}

html:not(.is-dark-mode) .site-main .learning-core__panel[open] > .learning-core__panel-summary::after,
html:not(.is-dark-mode) .site-main .study-topic__collapsible[open] > summary::after {
	border-color: #0b0f14;
	background: #ffffff;
	color: #0b0f14;
}

html.is-dark-mode .site-main .learning-core__panel[open] > .learning-core__panel-summary::after,
html.is-dark-mode .site-main .study-topic__collapsible[open] > summary::after {
	border-color: #f8fafc;
	background: #080b10;
	color: #f8fafc;
}

.site-main .course-card.is-active * {
	color: inherit;
}

.site-main .home-stat {
	display: grid;
	align-content: center;
	gap: 2px;
	min-height: 86px;
	padding: 14px;
}

.site-main .home-stat strong {
	color: inherit;
}

.site-main .home-stat span {
	color: var(--eb-card-muted);
}

/*
 * Access card standard.
 * From course sections downward, navigation cards and closed accordions share
 * the same rhythm so mixed areas feel like one family.
 */
.site-main .course-detail-page .course-section-card--section,
.site-main .section-page .course-section-card--section,
.site-main .section-page .course-page-list a,
.site-main .section-page .course-child-page-list a,
.site-main .section-page .learning-core__panel,
.site-main .study-topic-page .study-topic__collapsible {
	min-height: var(--eb-access-card-min-height);
}

.site-main .course-detail-page .course-section-card--section,
.site-main .section-page .course-section-card--section {
	display: grid;
	align-content: center;
	padding: var(--eb-access-card-padding-y) var(--eb-access-card-padding-x);
}

.site-main .course-detail-page .course-section-card__header,
.site-main .section-page .course-section-card__header {
	gap: 0;
	align-items: center;
	margin: 0;
}

.site-main .section-page .course-section-card__header--number-top {
	display: grid;
	gap: 8px;
	align-items: start;
	justify-items: center;
	text-align: center;
}

.site-main .section-page .course-section-card__header--number-top > span {
	display: inline-grid;
	place-items: center;
	width: 30px;
	min-width: 30px;
	height: 30px;
	min-height: 30px;
	border-radius: 50%;
	padding: 0;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
}

.site-main .section-page .course-page-list a,
.site-main .section-page .course-child-page-list a,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary,
.site-main .study-topic-page .study-topic__collapsible > summary {
	min-height: var(--eb-access-card-min-height);
	padding: var(--eb-access-card-padding-y) var(--eb-access-card-padding-x);
}

.site-main .course-detail-page .course-section-card h3,
.site-main .course-detail-page .course-section-card h3 a,
.site-main .section-page .course-section-card h3,
.site-main .section-page .course-section-card h3 a,
.site-main .section-page .course-page-list a strong,
.site-main .section-page .course-child-page-list a strong,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary h2,
.site-main .study-topic-page .study-topic__collapsible > summary h2 {
	font-size: var(--eb-access-card-title-size);
	font-weight: var(--eb-access-card-title-weight);
	line-height: var(--eb-access-card-title-line-height);
}

.site-main .course-detail-page .course-section-card__header p,
.site-main .section-page .course-section-card__header p,
.site-main .section-page .learning-core__panel > .learning-core__panel-summary .learning-core__source {
	margin-top: 6px;
	font-size: var(--eb-access-card-description-size);
	font-weight: 400;
	line-height: var(--eb-access-card-description-line-height);
}

@media (max-width: 640px) {
	:root {
		--eb-card-padding: 14px;
		--eb-access-card-min-height: 70px;
		--eb-access-card-padding-y: 12px;
		--eb-access-card-padding-x: 14px;
		--eb-access-card-title-size: 0.96rem;
		--eb-access-card-description-size: 0.84rem;
	}

	.site-main .home-stat {
		min-height: 78px;
		padding: 12px;
	}
}

/*
 * Course header info icon final override.
 * The header has broad span rules; keep this action icon aligned with the
 * theme toggle interaction after every mode-specific layer.
 */
.study-topic__source-card.course-header .course-header__info > summary .dashicons,
.study-topic__source-card.course-header .course-header__info > summary .dashicons::before {
	color: #ffffff;
	font-family: dashicons;
}

.study-topic__source-card.course-header .course-header__info > summary:hover .dashicons,
.study-topic__source-card.course-header .course-header__info > summary:focus-visible .dashicons,
.study-topic__source-card.course-header .course-header__info > summary:hover .dashicons::before,
.study-topic__source-card.course-header .course-header__info > summary:focus-visible .dashicons::before {
	color: #94a3b9;
}

.study-topic__source-card.course-header .course-header__info[open] > summary:not(:hover):not(:focus-visible) .dashicons,
.study-topic__source-card.course-header .course-header__info[open] > summary:not(:hover):not(:focus-visible) .dashicons::before {
	color: #ffffff;
}

.study-topic__source-card.course-header .course-header__info > summary .dashicons-info {
	position: relative;
	color: inherit;
	font-size: 0;
}

.study-topic__source-card.course-header .course-header__info > summary .dashicons-info::before {
	position: absolute;
	top: 36%;
	left: 42.5%;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-radius: 50%;
	color: inherit;
	content: "";
	transform: translate(-50%, -50%);
}

.study-topic__source-card.course-header .course-header__info > summary .dashicons-info::after {
	position: absolute;
	top: 36%;
	left: 42.5%;
	color: inherit;
	content: "i";
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	transform: translate(-50%, -54%);
}

/* Glossary page standardization */
.glossary-page {
	display: grid;
	gap: var(--eb-ui-section-gap);
	--eb-glossary-panel-min-height: 40px;
	--eb-glossary-panel-padding-y: 7px;
	--eb-glossary-panel-padding-x: 11px;
	--eb-glossary-panel-icon-size: 22px;
}

.glossary-header span {
	color: inherit;
	font-family: Arial, sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.glossary-panel {
	margin: 0;
}

.glossary-search {
	display: grid;
	gap: 6px;
}

.glossary-search__label {
	color: var(--eb-card-fg);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.2;
}

.glossary-search__input {
	width: 100%;
	min-height: 36px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.92rem;
	line-height: 1.25;
	padding: 8px 10px;
}

.glossary-search__input:focus {
	border-color: var(--eb-ui-panel-hover-border);
	outline: none;
}

.glossary-search__related {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.glossary-search__related input {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: #22c55e;
}

.glossary-search__help,
.glossary-search__empty {
	margin: 0;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	line-height: 1.35;
}

.glossary-search__results {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 6px;
}

.glossary-search__results[hidden] {
	display: none;
}

.glossary-search__result {
	display: grid;
	gap: 2px;
	min-height: 44px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	padding: 7px 9px;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.glossary-search__result:hover,
.glossary-search__result:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
	outline: none;
}

.glossary-search__result strong,
.glossary-search__result span {
	display: block;
	margin: 0;
	font-family: Arial, sans-serif;
	line-height: 1.25;
}

.glossary-search__result strong {
	font-size: 0.86rem;
	font-weight: 650;
}

.glossary-search__result span {
	color: var(--eb-card-muted);
	font-size: 0.74rem;
}

.glossary-page.is-searching .glossary-alphabet,
.glossary-page.is-searching .glossary-alphabet__summary,
.glossary-page.is-searching .glossary-index {
	display: none;
}

.glossary-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: center;
}

.glossary-alphabet__button {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	min-height: 28px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.76rem;
	font-weight: 550;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.glossary-alphabet__button:first-child {
	min-width: 54px;
}

.glossary-alphabet__button:hover,
.glossary-alphabet__button:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
	outline: none;
}

.glossary-alphabet__button.is-current {
	border-color: var(--eb-card-active-border);
	background: var(--eb-card-active-bg);
	color: var(--eb-card-active-fg);
}

.glossary-alphabet__summary,
.glossary-empty-letter {
	margin: 0;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	line-height: 1.35;
}

.glossary-empty-letter {
	grid-column: 1 / -1;
}

.glossary-page .glossary-index {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: 7px;
	align-items: start;
}

.site-main .glossary-entry {
	min-height: var(--eb-glossary-panel-min-height);
	padding: 0;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	cursor: pointer;
	scroll-margin-top: 88px;
	box-shadow: none;
	overflow: hidden;
}

.site-main .glossary-entry[open] {
	grid-column: 1 / -1;
	border-color: var(--eb-card-active-border);
	color: var(--eb-ui-panel-text);
}

.site-main .glossary-entry:not([open]):hover {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
}

.site-main .glossary-entry__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	min-height: var(--eb-glossary-panel-min-height);
	margin: 0;
	padding: var(--eb-glossary-panel-padding-y) var(--eb-glossary-panel-padding-x);
	cursor: pointer;
	list-style: none;
	outline: none;
}

.site-main .glossary-entry__summary::-webkit-details-marker {
	display: none;
}

.site-main .glossary-entry__summary:focus-visible {
	box-shadow: inset 0 0 0 2px var(--eb-ui-panel-hover-border);
}

.site-main .glossary-entry__summary::after {
	content: "+";
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: var(--eb-glossary-panel-icon-size);
	height: var(--eb-glossary-panel-icon-size);
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
}

.site-main .glossary-entry[open] .glossary-entry__summary::after {
	content: "-";
}

.site-main .glossary-entry[open] .glossary-entry__summary {
	border-bottom: 1px solid var(--eb-ui-panel-border);
	background: var(--eb-card-active-bg);
	color: var(--eb-card-active-fg);
}

.site-main .glossary-entry__title {
	margin: 0;
	color: inherit;
	font-size: 0.91rem;
	font-weight: 650;
	line-height: 1.15;
}

.site-main .glossary-entry__summary:hover .glossary-entry__title,
.site-main .glossary-entry__summary:focus-visible .glossary-entry__title {
	color: inherit;
	text-decoration: none;
}

.site-main .glossary-entry p,
.site-main .glossary-entry__content {
	margin: 0;
	color: var(--eb-card-muted);
	font-size: var(--eb-access-card-description-size);
	line-height: var(--eb-access-card-description-line-height);
	overflow-wrap: anywhere;
}

.site-main .glossary-entry p + p {
	margin-top: 2px;
}

.site-main .glossary-entry__panel {
	display: grid;
	gap: 10px;
	padding: 11px var(--eb-access-card-padding-x) 12px;
}

.site-main .glossary-entry__profile {
	display: grid;
	gap: 9px;
}

.site-main .glossary-entry__profile-row {
	display: grid;
	gap: 4px;
	padding-top: 9px;
	border-top: 1px solid var(--eb-ui-panel-border);
}

.site-main .glossary-entry__profile-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.site-main .glossary-entry__profile-row strong,
.site-main .glossary-entry__profile-row span {
	display: block;
	margin: 0;
	color: inherit;
	font-family: Arial, sans-serif;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.site-main .glossary-entry__profile-row strong {
	color: var(--eb-card-fg);
	font-size: 0.7rem;
	font-weight: 750;
	text-transform: uppercase;
}

.site-main .glossary-entry__profile-row span {
	color: var(--eb-card-muted);
	font-size: 0.84rem;
	font-weight: 500;
}

.site-main .glossary-entry__meta {
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
}

.site-main .glossary-entry__meta strong {
	color: var(--eb-card-fg);
	font-weight: 650;
}

.glossary-feedback {
	display: grid;
	gap: 7px;
	margin-top: 3px;
	padding-top: 10px;
	border-top: 1px solid var(--eb-ui-panel-border);
}

.glossary-feedback__prompt,
.glossary-feedback__note-label,
.glossary-feedback__message {
	margin: 0;
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	line-height: 1.3;
}

.glossary-feedback__prompt,
.glossary-feedback__note-label {
	color: var(--eb-card-fg);
	font-weight: 650;
}

.glossary-feedback__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.glossary-feedback__choice,
.glossary-feedback__submit {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: 999px;
	background: transparent;
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.glossary-feedback__choice {
	padding: 7px 9px;
}

.glossary-feedback__submit {
	padding: 8px 11px;
}

.glossary-feedback__choice:hover,
.glossary-feedback__choice:focus-visible,
.glossary-feedback__submit:hover,
.glossary-feedback__submit:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
	outline: none;
}

.glossary-feedback__choice.is-selected {
	border-color: var(--eb-card-active-border);
	background: var(--eb-card-active-bg);
	color: var(--eb-card-active-fg);
}

.glossary-feedback__choice:disabled,
.glossary-feedback__submit:disabled,
.glossary-feedback__note:disabled {
	cursor: default;
	opacity: 0.72;
}

.glossary-feedback__submit:disabled {
	background: transparent;
	color: var(--eb-card-muted);
}

.glossary-feedback__note {
	width: 100%;
	min-height: 54px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.84rem;
	line-height: 1.35;
	padding: 8px;
	resize: vertical;
}

.glossary-feedback__note:focus {
	border-color: var(--eb-ui-panel-hover-border);
	outline: none;
}

.glossary-feedback__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.glossary-feedback__message {
	color: var(--eb-card-muted);
}

.glossary-feedback.has-error .glossary-feedback__message {
	color: #b45309;
	font-weight: 650;
}

.site-main .glossary-entry:target:not([open]) {
	border-color: var(--eb-ui-panel-border);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	box-shadow: none;
}

html.is-dark-mode .site-main .glossary-entry p,
html.is-dark-mode .site-main .glossary-entry__content,
html.is-dark-mode .site-main .glossary-entry__meta,
html.is-dark-mode .site-main .glossary-entry__profile-row span,
html.is-dark-mode .glossary-feedback__message {
	color: var(--eb-card-muted);
}

html.is-dark-mode .glossary-feedback.has-error .glossary-feedback__message {
	color: #fdba74;
}

@media (max-width: 640px) {
	.glossary-page {
		--eb-glossary-panel-min-height: 38px;
		--eb-glossary-panel-padding-y: 6px;
		--eb-glossary-panel-padding-x: 10px;
		--eb-glossary-panel-icon-size: 21px;
	}

	.glossary-page .glossary-index {
		gap: 6px;
	}
}

/*
 * Bible library.
 * Reference records for books and canonical/literary groupings.
 */
.bible-library-page {
	display: grid;
	gap: var(--eb-ui-section-gap);
}

.bible-library-panel {
	margin: 0;
}

.biblical-mother-timeline {
	overflow: hidden;
}

.biblical-mother-timeline__heading {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	column-gap: 14px;
}

.biblical-mother-timeline__heading-main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.timeline-visibility-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 30px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #475569;
	cursor: pointer;
	font-family: Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.2;
	padding: 2px 50px 2px 0;
	white-space: nowrap;
}

.timeline-visibility-toggle::before,
.timeline-visibility-toggle::after {
	position: absolute;
	content: "";
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.timeline-visibility-toggle::before {
	top: 50%;
	right: 0;
	width: 43px;
	height: 24px;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #e2e8f0;
	transform: translateY(-50%);
}

.timeline-visibility-toggle::after {
	top: 50%;
	right: 22px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
	transform: translateY(-50%);
}

.timeline-visibility-toggle:hover,
.timeline-visibility-toggle:focus-visible {
	background: transparent;
	box-shadow: none;
	color: #0b0f14;
	font-weight: 500;
	outline: none;
}

.timeline-visibility-toggle[aria-checked="true"] {
	background: transparent;
	color: #475569;
	font-weight: 400;
}

.timeline-visibility-toggle[aria-checked="true"]::before {
	border-color: #cbd5e1;
	background: #e2e8f0;
}

.timeline-visibility-toggle[aria-checked="true"]::after {
	background: var(--eb-color-selected);
	transform: translate(19px, -50%);
}

.biblical-mother-timeline.is-timeline-hidden .biblical-mother-timeline__scroll,
.biblical-mother-timeline.is-timeline-hidden .biblical-mother-timeline__note {
	display: none;
}

.biblical-mother-timeline__scroll {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 10px 0 4px;
	scrollbar-width: thin;
	scrollbar-color: var(--eb-ui-panel-border) transparent;
}

.biblical-mother-timeline__scroll:focus-visible {
	outline: 1px solid var(--eb-ui-panel-border);
	outline-offset: 3px;
}

.biblical-mother-timeline__track {
	--eb-book-layer-row-height: 24px;
	--eb-written-layer-lanes: 1;
	--eb-book-layer-lanes: 5;
	--eb-timeline-layer-gap: 12px;
	--eb-written-layer-height: calc(30px + (var(--eb-written-layer-lanes) * var(--eb-book-layer-row-height)));
	--eb-book-layer-top: calc(var(--eb-written-layer-height) + var(--eb-timeline-layer-gap));
	--eb-book-layer-height: calc(30px + (var(--eb-book-layer-lanes) * var(--eb-book-layer-row-height)));
	--eb-biblical-timeline-line-top: calc(var(--eb-book-layer-top) + var(--eb-book-layer-height) + 22px);
	position: relative;
	width: clamp(1600px, 160vw, 2800px);
	min-height: calc(var(--eb-biblical-timeline-line-top) + 160px);
}

.biblical-mother-timeline__track--no-written-layer {
	--eb-written-layer-lanes: 0;
	--eb-written-layer-height: 0px;
	--eb-book-layer-top: 0px;
}

.biblical-mother-timeline__track--no-book-layer {
	--eb-book-layer-lanes: 0;
	--eb-book-layer-height: 0px;
}

.biblical-mother-timeline__track::before {
	position: absolute;
	top: var(--eb-biblical-timeline-line-top);
	right: 0;
	left: 0;
	height: 1px;
	background: var(--eb-ui-panel-border);
	content: "";
}

.biblical-mother-timeline__item {
	--eb-timeline-label-lane-offset: 28px;
	display: grid;
	position: absolute;
	top: 0;
	left: var(--eb-timeline-position, 0%);
	gap: 5px;
	width: 138px;
	min-width: 0;
	padding: calc(var(--eb-biblical-timeline-line-top) + var(--eb-timeline-label-lane-offset)) 0 0;
	text-align: center;
	transform: translateX(-50%);
}

.biblical-mother-timeline__item::before {
	position: absolute;
	top: calc(var(--eb-biblical-timeline-line-top) - 5px);
	left: 50%;
	width: 11px;
	height: 11px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: 999px;
	background: var(--eb-color-active);
	box-shadow: 0 0 0 3px var(--eb-color-bg);
	content: "";
	transform: translateX(-50%);
}

.biblical-mother-timeline__item::after {
	position: absolute;
	top: calc(var(--eb-biblical-timeline-line-top) + 7px);
	left: 50%;
	width: 1px;
	height: calc(var(--eb-timeline-label-lane-offset) - 10px);
	background: var(--eb-ui-panel-border);
	content: "";
	opacity: 0.5;
	transform: translateX(-50%);
}

.biblical-mother-timeline__item--lane-1 {
	--eb-timeline-label-lane-offset: 74px;
}

.biblical-mother-timeline__item--lane-2 {
	--eb-timeline-label-lane-offset: 120px;
}

.biblical-mother-timeline__item--edge-start {
	text-align: left;
	transform: none;
}

.biblical-mother-timeline__item--edge-start::before {
	left: 0;
	transform: none;
}

.biblical-mother-timeline__item--edge-start::after {
	left: 0;
	transform: none;
}

.biblical-mother-timeline__item--edge-end {
	text-align: right;
	transform: translateX(-100%);
}

.biblical-mother-timeline__item--edge-end::before {
	left: 100%;
	transform: translateX(-50%);
}

.biblical-mother-timeline__item--edge-end::after {
	left: 100%;
	transform: translateX(-50%);
}

.biblical-mother-timeline__date,
.biblical-mother-timeline__item strong,
.biblical-mother-timeline__note {
	font-family: Arial, sans-serif;
	line-height: 1.3;
}

.biblical-mother-timeline__date {
	color: var(--eb-card-muted);
	font-size: 0.58rem;
	font-weight: 650;
	overflow-wrap: break-word;
	text-transform: uppercase;
}

.biblical-mother-timeline__item strong {
	color: var(--eb-color-ink);
	font-size: 0.7rem;
	font-weight: 700;
	overflow-wrap: break-word;
}

.biblical-mother-timeline__base {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.biblical-mother-timeline__note {
	margin: 6px 0 0;
	color: var(--eb-card-muted);
	font-size: 0.8rem;
}

.biblical-mother-timeline__layer {
	--eb-timeline-layer-bg: rgba(148, 163, 184, 0.12);
	--eb-timeline-layer-border: rgba(100, 116, 139, 0.24);
	--eb-timeline-layer-lanes: 1;
	position: absolute;
	top: var(--eb-timeline-layer-top, 0);
	right: 0;
	left: 0;
	z-index: 2;
	isolation: isolate;
}

.biblical-mother-timeline__layer::before {
	position: absolute;
	top: 23px;
	right: 0;
	left: 0;
	z-index: 0;
	height: calc(8px + (var(--eb-timeline-layer-lanes) * var(--eb-book-layer-row-height)));
	border: 1px solid var(--eb-timeline-layer-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-timeline-layer-bg);
	content: "";
	pointer-events: none;
}

.biblical-mother-timeline__layer--tone-2 {
	--eb-timeline-layer-bg: rgba(226, 232, 240, 0.16);
	--eb-timeline-layer-border: rgba(148, 163, 184, 0.22);
}

.biblical-mother-timeline__layer--tone-3 {
	--eb-timeline-layer-bg: rgba(100, 116, 139, 0.1);
	--eb-timeline-layer-border: rgba(71, 85, 105, 0.2);
}

.biblical-mother-timeline__connector {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.biblical-mother-timeline__connector[hidden],
.biblical-mother-timeline__connector-label[hidden] {
	display: none !important;
}

.biblical-mother-timeline__connector line {
	stroke: var(--eb-color-selected);
	stroke-dasharray: 4 4;
	stroke-linecap: round;
	stroke-width: 1.5;
}

.biblical-mother-timeline__connector-label {
	position: absolute;
	z-index: 5;
	max-width: 250px;
	border: 1px solid var(--eb-color-selected);
	border-radius: 4px;
	background: var(--eb-color-bg);
	color: var(--eb-color-text);
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	font-weight: 650;
	line-height: 1.2;
	padding: 5px 7px;
	pointer-events: none;
	text-align: center;
	transform: translate(-50%, -50%);
	white-space: normal;
}

.biblical-mother-timeline__book-layer {
	--eb-timeline-layer-top: var(--eb-book-layer-top);
	--eb-timeline-layer-lanes: var(--eb-book-layer-lanes);
	min-height: var(--eb-book-layer-height);
}

.biblical-mother-timeline__written-layer {
	--eb-timeline-layer-top: 0;
	--eb-timeline-layer-lanes: var(--eb-written-layer-lanes);
	min-height: var(--eb-written-layer-height);
}

.biblical-mother-timeline__layer-heading {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 10px;
	min-width: 0;
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	line-height: 1.2;
}

.biblical-mother-timeline__layer-heading span {
	font-size: 0.82rem;
	font-weight: 650;
}

.biblical-mother-timeline__layer-heading small {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
	color: var(--eb-card-muted);
	font-size: 0.76rem;
	font-weight: 550;
	white-space: nowrap;
}

.biblical-mother-timeline__book {
	display: inline-flex;
	position: absolute;
	top: calc(30px + (var(--eb-timeline-layer-lane, var(--eb-book-layer-lane, 0)) * var(--eb-book-layer-row-height)));
	left: var(--eb-timeline-position, 0%);
	z-index: 1;
	align-items: center;
	min-height: 22px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: 999px;
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.66rem;
	font-weight: 650;
	line-height: 1;
	padding: 4px 7px;
	transform: translateX(-50%);
	white-space: nowrap;
}

.biblical-mother-timeline__book:hover,
.biblical-mother-timeline__book:focus-visible,
.biblical-mother-timeline__book.is-linked-hover {
	z-index: 4;
	border-color: var(--eb-color-selected);
	background: rgba(34, 197, 94, 0.12);
	color: var(--eb-color-ink);
	outline: none;
}

.biblical-mother-timeline__book--lane-0 {
	--eb-book-layer-lane: 0;
}

.biblical-mother-timeline__book--lane-1 {
	--eb-book-layer-lane: 1;
}

.biblical-mother-timeline__book--lane-2 {
	--eb-book-layer-lane: 2;
}

.biblical-mother-timeline__book--lane-3 {
	--eb-book-layer-lane: 3;
}

.biblical-mother-timeline__book--lane-4 {
	--eb-book-layer-lane: 4;
}

.biblical-mother-timeline__book--edge-start {
	transform: none;
}

.biblical-mother-timeline__book--edge-end {
	transform: translateX(-100%);
}

.biblical-mother-timeline__book[hidden] {
	display: none;
}

.course-timeline__track {
	--eb-course-timeline-layer-lanes: 1;
	--eb-course-timeline-marker-lanes: 1;
	--eb-course-timeline-group-height: 112px;
	--eb-course-timeline-group-lane-height: 132px;
	--eb-course-timeline-layer-height: calc(32px + (var(--eb-course-timeline-layer-lanes) * var(--eb-course-timeline-group-lane-height)));
	--eb-written-layer-lanes: 0;
	--eb-written-layer-height: 0px;
	--eb-book-layer-lanes: 0;
	--eb-book-layer-top: 0px;
	--eb-book-layer-height: 0px;
	--eb-biblical-timeline-line-top: calc(var(--eb-course-timeline-layer-height) + 32px);
	width: clamp(2200px, 220vw, 3600px);
	min-height: calc(var(--eb-biblical-timeline-line-top) + 72px + (var(--eb-course-timeline-marker-lanes) * 44px));
}

.course-timeline__event-layer {
	--eb-timeline-layer-top: 0;
	--eb-timeline-layer-lanes: var(--eb-course-timeline-layer-lanes);
	min-height: var(--eb-course-timeline-layer-height);
}

.course-timeline__event-layer::before {
	height: calc(8px + var(--eb-course-timeline-layer-height));
}

.course-timeline__event {
	max-width: 190px;
	overflow: hidden;
	font-size: 0.62rem;
	text-overflow: ellipsis;
}

.course-timeline__event-group {
	position: absolute;
	top: var(--eb-course-timeline-group-top, 32px);
	left: var(--eb-timeline-position, 0%);
	z-index: 2;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 6px;
	width: 188px;
	height: var(--eb-course-timeline-group-height);
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	padding: 7px 8px;
	text-align: left;
	transform: translateX(-50%);
	transition: var(--eb-card-transition);
}

.course-timeline__event-group::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 1px;
	height: var(--eb-course-timeline-group-connector-height, 18px);
	background: var(--eb-ui-panel-border);
	content: "";
	opacity: 0.72;
	transform: translateX(-50%);
}

.course-timeline__event-group:hover,
.course-timeline__event-group:focus-visible {
	z-index: 5;
	border-color: var(--eb-color-selected);
	background: #dcfce7;
	box-shadow: 0 0 0 4px var(--eb-color-bg);
	color: var(--eb-color-ink);
	outline: none;
}

.course-timeline__event-group:hover::after,
.course-timeline__event-group:focus-visible::after {
	background: var(--eb-color-selected);
	opacity: 1;
}

.course-timeline__event-group--edge-start {
	transform: none;
}

.course-timeline__event-group--edge-start::after {
	left: 12px;
	transform: none;
}

.course-timeline__event-group--edge-end {
	transform: translateX(-100%);
}

.course-timeline__event-group--edge-end::after {
	left: calc(100% - 12px);
	transform: none;
}

.course-timeline__event-group header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.course-timeline__event-group strong,
.course-timeline__event-group span,
.course-timeline__event-group li {
	color: inherit;
	line-height: 1.18;
}

.course-timeline__event-group strong {
	min-width: 0;
	font-size: 0.68rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.course-timeline__event-group span {
	flex: 0 0 auto;
	color: var(--eb-card-muted);
	font-size: 0.62rem;
	font-weight: 650;
	white-space: nowrap;
}

.course-timeline__event-group ul {
	display: grid;
	gap: 4px;
	max-height: 74px;
	list-style: none;
	margin: 0;
	overflow-y: auto;
	padding: 0 3px 0 0;
	scrollbar-width: thin;
	scrollbar-color: var(--eb-ui-panel-border) transparent;
}

.course-timeline__event-group li {
	display: grid;
	grid-template-columns: 5px minmax(0, 1fr);
	column-gap: 4px;
	align-items: start;
	font-size: 0.62rem;
	font-weight: 550;
	justify-items: start;
	text-align: left;
}

.course-timeline__event-group li::before {
	width: 4px;
	height: 4px;
	margin-top: 0.36em;
	border-radius: 999px;
	background: currentColor;
	content: "";
	opacity: 0.72;
}

.course-timeline__marker {
	width: 124px;
}

.course-timeline__marker .biblical-mother-timeline__date {
	font-size: 0.56rem;
}

.course-timeline__marker strong {
	font-size: 0.68rem;
}

.biblical-mother-timeline__book-empty {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.8rem;
	line-height: 1.3;
}

html.is-dark-mode .biblical-mother-timeline__item::before {
	box-shadow: 0 0 0 3px var(--eb-color-bg);
}

html.is-dark-mode .biblical-mother-timeline__layer {
	--eb-timeline-layer-bg: rgba(148, 163, 184, 0.1);
	--eb-timeline-layer-border: rgba(148, 163, 184, 0.18);
}

html.is-dark-mode .biblical-mother-timeline__layer--tone-2 {
	--eb-timeline-layer-bg: rgba(71, 85, 105, 0.16);
	--eb-timeline-layer-border: rgba(148, 163, 184, 0.16);
}

html.is-dark-mode .biblical-mother-timeline__layer--tone-3 {
	--eb-timeline-layer-bg: rgba(51, 65, 85, 0.16);
	--eb-timeline-layer-border: rgba(100, 116, 139, 0.18);
}

html.is-dark-mode .biblical-mother-timeline__connector-label {
	background: #0b0f14;
	color: #f8fafc;
}

html.is-dark-mode .biblical-mother-timeline__book:hover,
html.is-dark-mode .biblical-mother-timeline__book:focus-visible,
html.is-dark-mode .biblical-mother-timeline__book.is-linked-hover {
	background: rgba(34, 197, 94, 0.16);
	color: #f8fafc;
}

html.is-dark-mode .course-timeline__event-group:hover,
html.is-dark-mode .course-timeline__event-group:focus-visible {
	background: #14532d;
	box-shadow: 0 0 0 4px var(--eb-color-bg);
	color: #f8fafc;
}

html.is-dark-mode .course-timeline__event-group span {
	color: #cbd5e1;
}

html.is-dark-mode .timeline-visibility-toggle {
	color: #94a3b8;
}

html.is-dark-mode .timeline-visibility-toggle::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .timeline-visibility-toggle::after {
	background: #ffffff;
}

html.is-dark-mode .timeline-visibility-toggle:hover,
html.is-dark-mode .timeline-visibility-toggle:focus-visible {
	background: transparent;
	box-shadow: none;
	color: #f8fafc;
	font-weight: 500;
}

html.is-dark-mode .timeline-visibility-toggle[aria-checked="true"] {
	background: transparent;
	color: #94a3b8;
}

html.is-dark-mode .timeline-visibility-toggle[aria-checked="true"]::before {
	border-color: #64748b;
	background: #334155;
}

html.is-dark-mode .timeline-visibility-toggle[aria-checked="true"]::after {
	background: var(--eb-color-selected);
}

@media (max-width: 640px) {
	.biblical-mother-timeline__heading {
		grid-template-columns: 1fr;
		row-gap: 8px;
	}

	.timeline-visibility-toggle {
		justify-self: start;
	}
}

.bible-library-group-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 7px;
}

.bible-book-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 7px;
}

.bible-library-tools {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
}

.bible-library-pathbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.bible-library-up,
.bible-library-reset {
	min-height: 42px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.98rem;
	font-weight: 550;
	line-height: 1;
	padding: 12px 16px;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.bible-library-up:hover,
.bible-library-up:focus-visible,
.bible-library-reset:hover,
.bible-library-reset:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-text);
	outline: none;
}

.bible-library-up[hidden],
.bible-library-reset[hidden] {
	display: none;
}

.bible-library-up strong {
	font-weight: 800;
}

.bible-library-reset {
	justify-self: start;
}

.bible-library-navigation {
	display: grid;
	gap: 8px;
}

.bible-library-level {
	display: grid;
	gap: 7px;
}

.bible-library-level[hidden],
.bible-library-nav-node[hidden] {
	display: none;
}

.bible-library-level__label {
	margin: 0;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

.bible-library-level__label strong {
	font-weight: 800;
}

.bible-library-level__label--section {
	color: var(--eb-color-ink);
	font-size: clamp(1.02rem, 4.4vw, 1.24rem);
	font-weight: 650;
	line-height: 1.15;
	text-transform: none;
}

.bible-library-focus-panel-list {
	gap: 7px;
}

.bible-library-title-count {
	display: inline-block;
	margin-left: 0.45rem;
	color: inherit;
	font-size: 1em;
	font-weight: inherit;
	white-space: nowrap;
}

.site-main .bible-library-page .learning-core__panel > .learning-core__panel-summary {
	min-height: 46px;
	gap: 10px;
	padding: 10px 12px;
}

.site-main .bible-library-page .learning-core__panel > .learning-core__panel-summary h2 {
	font-size: 0.98rem;
	font-weight: 650;
	line-height: 1.18;
}

.site-main .bible-library-page .learning-core__panel > .learning-core__panel-summary::after {
	width: 26px;
	height: 26px;
	font-size: 1.18rem;
}

.site-main .bible-library-page .learning-core__panel-body {
	padding: 0;
}

.site-main .bible-library-page .learning-core__body {
	display: grid;
	gap: 8px;
	padding: 10px 12px 12px;
}

.site-main .bible-library-page .learning-core__body p,
.site-main .bible-library-page .learning-core__item {
	font-size: 0.88rem;
	line-height: 1.35;
}

.site-main .bible-library-page .learning-core__item-list {
	gap: 0.45rem;
	padding-left: 1.15rem;
}

.bible-library-search {
	display: grid;
	gap: 6px;
}

.bible-library-search span {
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 650;
	line-height: 1.25;
}

.bible-library-search small {
	margin: -2px 0 2px;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.35;
}

.bible-library-search input {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	font-family: Arial, sans-serif;
	font-size: 0.92rem;
	line-height: 1.25;
	padding: 10px 12px;
}

.bible-library-search input:focus {
	border-color: var(--eb-ui-panel-hover-border);
	outline: none;
}

.bible-library-empty {
	margin: 0;
	color: var(--eb-card-muted);
}

.bible-library-empty {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 14px;
	font-size: 0.9rem;
	line-height: 1.4;
}

.site-main .bible-library-nav-node {
	width: 100%;
}

.bible-book-card {
	min-height: var(--eb-access-card-min-height);
}

.site-main .bible-library-page .bible-book-card {
	min-height: 46px;
}

.bible-book-card[hidden] {
	display: none;
}

.bible-book-card[open] {
	grid-column: 1 / -1;
}

.bible-book-card header {
	display: flex;
	align-items: center;
	gap: 7px;
	padding-right: 34px;
}

.bible-book-card header > span {
	display: grid;
	flex: 0 0 24px;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
}

.bible-book-card h2,
.bible-book-card p,
.bible-book-card dl,
.bible-book-card dd {
	margin: 0;
}

.bible-book-card h2 {
	color: inherit;
	font-size: var(--eb-access-card-title-size);
	font-weight: var(--eb-access-card-title-weight);
	line-height: var(--eb-access-card-title-line-height);
}

.bible-book-card__summary header p {
	display: none;
}

.bible-book-card p,
.bible-book-card dd {
	color: var(--eb-card-muted);
	font-size: 0.76rem;
	line-height: 1.35;
}

.bible-book-card dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 7px;
}

.bible-book-card dl > div {
	display: grid;
	gap: 2px;
}

.bible-book-card dt {
	color: inherit;
	font-family: Arial, sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	text-transform: uppercase;
}

.bible-book-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 0 14px;
}

.bible-book-card__badges span {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: 999px;
	background: transparent;
	color: var(--eb-card-muted);
	font-family: Arial, sans-serif;
	font-size: 0.7rem;
	font-weight: 650;
	line-height: 1.2;
	padding: 3px 7px;
}

.bible-book-card__detail,
.bible-book-card__dates,
.bible-book-card__memberships {
	display: grid;
	gap: 10px;
	padding: 0;
}

.bible-book-card__profile {
	display: grid;
	gap: 9px;
}

.bible-book-card__profile-row {
	display: grid;
	gap: 3px;
	padding-top: 9px;
	border-top: 1px solid var(--eb-card-border);
}

.bible-book-card__profile-row:first-child {
	padding-top: 0;
	border-top: 0;
}

.bible-book-card__profile-row strong,
.bible-book-card__profile-row span {
	color: inherit;
	font-family: Arial, sans-serif;
	line-height: 1.38;
}

.bible-book-card__profile-row strong {
	font-size: 0.7rem;
	font-weight: 750;
	text-transform: uppercase;
}

.bible-book-card__profile-row span {
	color: var(--eb-card-muted);
	font-size: 0.84rem;
	font-weight: 500;
}

.bible-book-card__summary-text {
	max-width: 900px;
}

.bible-book-card__memberships {
	padding-top: 4px;
}

.bible-book-card__dates {
	border-top: 1px solid var(--eb-card-border);
	padding-top: 12px;
}

.bible-book-card__memberships strong {
	color: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.25;
}

.bible-book-card__dates > strong {
	color: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.25;
}

.bible-book-card__dates ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bible-book-card__dates li {
	display: grid;
	gap: 4px;
	border-left: 2px solid var(--eb-ui-panel-border);
	padding-left: 10px;
}

.bible-book-card__dates b,
.bible-book-card__dates span,
.bible-book-card__dates em,
.bible-book-card__dates small,
.bible-book-card__dates p,
.bible-book-card__dates a {
	font-family: Arial, sans-serif;
	line-height: 1.35;
}

.bible-book-card__dates b {
	color: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.bible-book-card__dates span {
	color: inherit;
	font-size: 0.88rem;
	font-weight: 650;
}

.bible-book-card__dates em,
.bible-book-card__dates small,
.bible-book-card__dates p {
	margin: 0;
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	font-style: normal;
}

.bible-book-card__dates a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.bible-book-card__memberships p {
	margin: 0;
}

html.is-dark-mode .bible-book-card p,
html.is-dark-mode .bible-book-card dd,
html.is-dark-mode .bible-book-card__profile-row span,
html.is-dark-mode .bible-book-card__dates em,
html.is-dark-mode .bible-book-card__dates small,
html.is-dark-mode .bible-book-card__dates p,
html.is-dark-mode .bible-book-card__badges span {
	color: var(--eb-card-muted);
}

.site-main .bible-library-page .bible-book-card header {
	gap: 8px;
	min-width: 0;
	padding-right: 0;
}

.site-main .bible-library-page .bible-book-card header > div {
	display: grid;
	gap: 1px;
	min-width: 0;
}

.site-main .bible-library-page .bible-book-card header > span {
	width: 23px;
	height: 23px;
	flex-basis: 23px;
	font-size: 0.66rem;
}

.site-main .bible-library-page .bible-book-card__detail,
.site-main .bible-library-page .bible-book-card__dates,
.site-main .bible-library-page .bible-book-card__memberships {
	gap: 8px;
	padding: 0;
}

.site-main .bible-library-page .bible-book-card__profile {
	gap: 8px;
}

.site-main .bible-library-page .bible-book-card__profile-row {
	padding-top: 8px;
}

.site-main .bible-library-page .bible-book-card dl {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 6px;
}

.site-main .bible-library-page .bible-book-card__badges {
	gap: 4px;
	padding: 0;
}

.site-main .bible-library-page .bible-book-card__badges span {
	font-size: 0.68rem;
	line-height: 1.15;
	padding: 3px 6px;
}

.site-main .bible-library-page .bible-book-card__dates {
	padding-top: 8px;
}

.site-main .bible-library-page .bible-book-card__dates ul {
	gap: 7px;
}

.site-main .bible-library-page .bible-book-card__dates li {
	gap: 3px;
	border-left-width: 1px;
	padding-left: 8px;
}

.site-main .bible-library-page .bible-book-card__dates > strong,
.site-main .bible-library-page .bible-book-card__memberships strong {
	font-size: 0.8rem;
	font-weight: 650;
}

@media (max-width: 640px) {
	.bible-library-group-list,
	.bible-book-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bible-book-card {
		min-height: auto;
	}

	.bible-book-card__detail,
	.bible-book-card__dates,
	.bible-book-card__memberships {
		padding: 0;
	}

	.bible-book-card__badges {
		padding: 0 12px;
	}
}

.book-classification {
	display: grid;
	gap: 14px;
}

.book-classification__mobile-note {
	display: none;
}

.book-classification__workspace {
	display: grid;
	gap: 14px;
}

.book-classification__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px;
}

.book-classification__intro h2,
.book-classification__intro p,
.book-classification__objective,
.book-classification__chooser h3,
.book-classification__choice-heading,
.book-classification__source-panel h3,
.book-classification__source-context,
.book-classification__target-family p,
.book-classification__target p,
.book-classification__status {
	margin: 0;
}

.book-classification__intro h2 {
	font-size: 1.2rem;
	line-height: 1.2;
}

.book-classification__intro p,
.book-classification__source-context,
.book-classification__target-family p,
.book-classification__target p,
.book-classification__status {
	color: var(--eb-card-muted);
	font-size: 0.9rem;
	line-height: 1.4;
}

.book-classification__objective {
	color: var(--eb-color-ink);
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.35;
}

.book-classification__status.is-result {
	border: 1px solid currentColor;
	border-radius: var(--eb-radius-sm);
	padding: 8px 10px;
	font-weight: 700;
}

.book-classification__status.is-success {
	background: rgba(34, 197, 94, 0.12);
	color: #166534;
}

.book-classification__status.is-partial,
.book-classification__status.is-warning {
	background: rgba(249, 115, 22, 0.12);
	color: #9a3412;
}

.book-classification__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.book-classification__actions .assessment-button:disabled,
.book-classification__actions .assessment-button.is-disabled {
	cursor: not-allowed;
	opacity: 0.48;
	pointer-events: none;
}

.book-classification__actions .assessment-button[hidden],
.book-classification__actions .assessment-button.is-hidden {
	display: none !important;
}

.book-classification__actions .assessment-button[data-book-classification-answer],
.book-classification__actions .assessment-button[data-historical-powers-answer],
.book-classification__actions .assessment-button[data-chronology-ordering-answer] {
	border-color: #c2410c;
	background: #f97316;
	color: #111827;
	font-weight: 700;
}

.book-classification__actions .assessment-button[data-book-classification-answer]:hover,
.book-classification__actions .assessment-button[data-book-classification-answer]:focus,
.book-classification__actions .assessment-button[data-historical-powers-answer]:hover,
.book-classification__actions .assessment-button[data-historical-powers-answer]:focus,
.book-classification__actions .assessment-button[data-chronology-ordering-answer]:hover,
.book-classification__actions .assessment-button[data-chronology-ordering-answer]:focus {
	border-color: #9a3412;
	background: #ea580c;
	color: #ffffff;
}

html.is-dark-mode .book-classification__actions .assessment-button[data-book-classification-answer],
html.is-dark-mode .book-classification__actions .assessment-button[data-historical-powers-answer],
html.is-dark-mode .book-classification__actions .assessment-button[data-chronology-ordering-answer] {
	border-color: #fdba74;
	background: #fb923c;
	color: #0b0f14;
}

html.is-dark-mode .book-classification__actions .assessment-button[data-book-classification-answer]:hover,
html.is-dark-mode .book-classification__actions .assessment-button[data-book-classification-answer]:focus,
html.is-dark-mode .book-classification__actions .assessment-button[data-historical-powers-answer]:hover,
html.is-dark-mode .book-classification__actions .assessment-button[data-historical-powers-answer]:focus,
html.is-dark-mode .book-classification__actions .assessment-button[data-chronology-ordering-answer]:hover,
html.is-dark-mode .book-classification__actions .assessment-button[data-chronology-ordering-answer]:focus {
	border-color: #fed7aa;
	background: #fdba74;
	color: #0b0f14;
}

.book-classification__chooser {
	display: grid;
	gap: 10px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	padding: 10px;
	color: var(--eb-ui-panel-text);
}

.book-classification__chooser-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.book-classification__manual-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-card-bg);
	padding: 7px 8px;
	color: var(--eb-card-fg);
}

.book-classification__manual-controls[hidden],
.book-classification__manual-controls.is-hidden {
	display: none !important;
}

.book-classification__manual-controls span {
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	line-height: 1.25;
}

.book-classification__chooser-title {
	display: grid;
	gap: 2px;
	min-width: 180px;
}

.book-classification__chooser-title p {
	margin: 0;
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	line-height: 1.25;
}

.book-classification__chooser h3,
.book-classification__selection-panel h3,
.book-classification__source-panel h3 {
	color: var(--eb-color-ink);
	font-family: var(--eb-font-ui);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
}

.book-classification__selection-panel h3 {
	font-size: 1.2rem;
	line-height: 1.2;
}

.book-classification__chooser-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.book-classification__mode {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.book-classification__mode span {
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	line-height: 1.2;
}

.book-classification__mode button,
.book-classification__chooser-button,
.book-classification__focus,
.book-classification__choice {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-card-bg);
	color: var(--eb-card-fg);
	cursor: pointer;
	font-family: var(--eb-font-ui);
	text-align: left;
	transition: var(--eb-card-transition);
}

.book-classification__mode button {
	min-height: 30px;
	padding: 5px 8px;
	font-size: 0.78rem;
	line-height: 1.15;
}

.book-classification__chooser-button {
	min-height: 30px;
	padding: 5px 10px;
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.15;
}

.book-classification__mode button:hover,
.book-classification__mode button:focus-visible,
.book-classification__chooser-button:hover,
.book-classification__chooser-button:focus-visible,
.book-classification__focus:hover,
.book-classification__focus:focus-visible,
.book-classification__choice:hover,
.book-classification__choice:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
	outline: none;
}

.book-classification__mode button.is-disabled,
.book-classification__mode button:disabled {
	border-color: var(--eb-ui-panel-border);
	background: var(--eb-card-bg);
	color: var(--eb-card-muted);
	cursor: not-allowed;
	opacity: 0.52;
}

.book-classification__mode button.is-active,
.book-classification__chooser-button.is-active,
.book-classification__focus.is-active,
.book-classification__choice.is-active {
	border-color: #64748b;
	background: var(--eb-color-active-line);
	color: #080b10;
}

.book-classification__focus-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.book-classification__focus-list[hidden],
.book-classification__focus-list.is-hidden,
.book-classification__hierarchy[hidden],
.book-classification__hierarchy.is-hidden {
	display: none !important;
}

.book-classification__focus {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 10px;
	min-height: 74px;
	padding: 10px 12px;
}

.book-classification__focus span,
.book-classification__focus em,
.book-classification__focus small {
	color: inherit;
	line-height: 1.16;
}

.book-classification__focus span {
	font-size: 0.92rem;
	font-weight: 650;
}

.book-classification__focus em {
	font-size: 0.74rem;
	font-style: normal;
	font-weight: 650;
	white-space: nowrap;
}

.book-classification__focus small {
	grid-column: 1 / -1;
	font-size: 0.74rem;
	opacity: 0.78;
}

.historical-powers__focus {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 52px;
	padding: 10px 12px;
	text-align: center;
}

.historical-powers__focus-label {
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.2;
	text-transform: uppercase;
}

.historical-powers__focus-count {
	color: inherit;
	font-size: 0.72rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
	opacity: 0.78;
}

.book-classification__hierarchy {
	display: grid;
	gap: 8px;
}

.book-classification__hierarchy-heading {
	display: flex;
	align-items: center;
	min-height: 30px;
}

.book-classification__hierarchy-heading h4 {
	margin: 0;
	color: var(--eb-color-ink);
	font-family: var(--eb-font-ui);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.2;
}

.book-classification__choice-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 7px;
}

.book-classification__choice-root[hidden],
.book-classification__choice-root.is-hidden {
	display: none !important;
}

.book-classification__choice-tree,
.book-classification__choice-root,
.book-classification__choice-tree-level,
.book-classification__choice-branch,
.book-classification__choice-children {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.book-classification__choice-root > .book-classification__choice-tree-level {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	align-items: start;
}

.book-classification__choice-branch {
	align-content: start;
}

.book-classification__choice-children {
	margin-left: 10px;
	border-left: 1px solid var(--eb-ui-panel-border);
	padding-left: 10px;
}

.book-classification__choice-children .book-classification__choice-tree-level {
	grid-template-columns: minmax(0, 1fr);
}

.book-classification__choice-heading {
	grid-column: 1 / -1;
	padding: 7px 0 2px calc(var(--eb-choice-level, 0) * 12px);
	color: var(--eb-card-muted);
	font-family: var(--eb-font-ui);
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.1;
	text-transform: none;
}

.book-classification__choice {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 7px 9px 7px calc(9px + (var(--eb-choice-level, 0) * 12px));
}

.book-classification__choice span,
.book-classification__choice em {
	color: inherit;
	line-height: 1.15;
}

.book-classification__choice span {
	font-size: 0.84rem;
	font-weight: 650;
}

.book-classification__choice em {
	font-size: 0.72rem;
	font-style: normal;
	opacity: 0.78;
	white-space: nowrap;
}

.book-classification__board {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.book-classification__source-panel,
.book-classification__selection-panel {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.book-classification__source,
.book-classification__selection,
.book-classification__target-family,
.book-classification__target {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
}

.book-classification__selection-head {
	display: grid;
	gap: 5px;
}

.book-classification__selection-titlebar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.book-classification__selection-head p,
.book-classification__source-context {
	margin: 0;
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	line-height: 1.25;
}

.book-classification__selection-head p {
	color: var(--eb-color-ink);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.35;
}

.book-classification__source {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 7px;
	min-height: 124px;
	padding: 10px;
}

.book-classification__selection {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 7px;
	min-height: 76px;
	padding: 10px;
	position: relative;
}

.book-classification__selection .book-classification__book {
	min-width: 128px;
}

.book-classification__selection.has-answer,
.book-classification__selection.has-review {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: stretch;
}

.book-classification__selection.has-answer .book-classification__book,
.book-classification__selection.has-review .book-classification__book {
	width: 100%;
	min-width: 0;
	max-width: none;
	align-content: start;
}

.book-classification__selection .book-classification__book.is-answer-selected {
	padding-top: 27px;
}

.book-classification__selection.is-drop-empty::before,
.book-classification__book.is-drop-before::before,
.book-classification__book.is-drop-after::after {
	content: "";
	position: absolute;
	top: 5px;
	bottom: 5px;
	width: 2px;
	border-radius: 999px;
	background: #22c55e;
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22);
	pointer-events: none;
}

.book-classification__selection.is-drop-empty::before {
	left: 10px;
}

.book-classification__book.is-drop-before::before {
	left: -5px;
}

.book-classification__book.is-drop-after::after {
	right: -5px;
}

.book-classification__source.is-drop-ready,
.book-classification__selection.is-drop-ready {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
}

.book-classification__selection-empty {
	margin: 0;
	align-self: center;
	color: var(--eb-card-muted);
	font-size: 0.82rem;
	line-height: 1.3;
}

.book-classification__targets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.book-classification__target-family,
.book-classification__target {
	display: grid;
	grid-template-rows: auto auto minmax(116px, 1fr);
	gap: 8px;
	min-height: 230px;
	padding: 10px;
	cursor: pointer;
	transition: var(--eb-card-transition);
}

.book-classification__target-family {
	cursor: default;
}

.book-classification__target-family[hidden],
.book-classification__target[hidden],
.book-classification__target-family.is-hidden,
.book-classification__target.is-hidden {
	display: none !important;
}

.book-classification__target-family.is-objective,
.book-classification__target.is-objective {
	grid-column: 1 / -1;
}

.book-classification__nested-targets {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.book-classification__target--nested {
	min-height: 165px;
}

.book-classification__target.is-objective {
	min-height: 180px;
}

.book-classification__target--answer {
	grid-template-rows: minmax(98px, auto);
	min-height: 118px;
}

.book-classification__target--answer .book-classification__dropzone {
	min-height: 98px;
	border-top: 0;
	padding-top: 0;
}

.book-classification__target-family:hover {
	border-color: var(--eb-ui-panel-border);
	background: var(--eb-ui-panel-bg);
}

.book-classification__target:hover,
.book-classification__target:focus-visible,
.book-classification__target.is-drop-ready {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	outline: none;
}

.book-classification__target-family header,
.book-classification__target header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
}

.book-classification__target-family strong,
.book-classification__target strong {
	color: inherit;
	font-size: 0.96rem;
	font-weight: 650;
	line-height: 1.2;
}

.book-classification__target-family header span,
.book-classification__target header span {
	color: var(--eb-card-muted);
	font-size: 0.78rem;
	line-height: 1.2;
	white-space: nowrap;
}

.book-classification__dropzone {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 7px;
	min-height: 104px;
	border-top: 1px solid var(--eb-ui-panel-border);
	padding-top: 8px;
}

.book-classification__book {
	display: grid;
	gap: 1px;
	justify-items: center;
	min-width: 104px;
	border: 1px solid var(--eb-card-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-card-bg);
	color: var(--eb-card-fg);
	cursor: grab;
	font-family: var(--eb-font-ui);
	padding: 7px 9px;
	position: relative;
	text-align: center;
	transition: var(--eb-card-transition);
}

.book-classification__book:hover,
.book-classification__book:focus-visible,
.book-classification__book.is-selected {
	border-color: var(--eb-card-hover-border);
	background: var(--eb-card-hover-bg);
	color: var(--eb-card-hover-fg);
	outline: none;
}

.book-classification__book.is-answer-selected {
	border-color: #64748b;
	background: var(--eb-color-active-line);
	color: #080b10;
}

.book-classification__book.is-answer-selected span,
.book-classification__book.is-answer-selected em {
	color: inherit;
}

.book-classification__book.is-dragging {
	cursor: grabbing;
	opacity: 0.64;
}

.book-classification__book strong {
	color: inherit;
	font-size: 0.86rem;
	font-weight: 650;
	line-height: 1.18;
}

.book-classification__book span,
.book-classification__book em {
	color: var(--eb-card-muted);
	font-size: 0.72rem;
	font-style: normal;
	line-height: 1.15;
}

.book-classification__book em.is-order-position {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 22px;
	height: 22px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.book-classification__book.is-correct {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.12);
}

.book-classification__book.is-incorrect {
	border-color: #f97316;
	background: rgba(249, 115, 22, 0.13);
}

.book-classification__book.is-missing {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.08);
}

.book-classification__book.is-correct em,
.book-classification__book.is-incorrect em,
.book-classification__book.is-missing em {
	color: inherit;
	font-weight: 650;
}

.book-classification__book.is-correct em:not(.is-order-position),
.book-classification__book.is-incorrect em:not(.is-order-position),
.book-classification__book.is-missing em:not(.is-order-position) {
	display: block;
	margin-top: 4px;
	width: 100%;
	font-size: 0.72rem;
	line-height: 1.35;
	text-align: left;
	white-space: pre-line;
}

.book-classification__book em.is-feedback-detail {
	display: grid;
	gap: 8px;
	margin-top: 10px;
	white-space: normal;
	font-weight: 500;
	line-height: 1.42;
}

.book-classification__book em.is-feedback-detail .book-feedback__row {
	display: grid;
	gap: 2px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: inherit;
}

.book-classification__book em.is-feedback-detail .book-feedback__row:first-child {
	padding-top: 0;
	border-top: 0;
}

.book-classification__book em.is-feedback-detail .book-feedback__row > strong {
	color: inherit;
	font-size: 0.66rem;
	font-weight: 750;
	line-height: 1.15;
	text-transform: uppercase;
}

.book-classification__book em.is-feedback-detail .book-feedback__row > span {
	color: inherit;
	font-size: 0.74rem;
	font-weight: 500;
	line-height: 1.42;
}

html:not(.is-dark-mode) .book-classification__book em.is-feedback-detail .book-feedback__row {
	border-top-color: rgba(8, 11, 16, 0.18);
}

html.is-dark-mode .book-classification__source-panel h3,
html.is-dark-mode .book-classification__selection-panel h3,
html.is-dark-mode .book-classification__chooser h3 {
	color: var(--eb-color-ink);
}

html.is-dark-mode .book-classification__status.is-success {
	background: rgba(34, 197, 94, 0.16);
	color: #bbf7d0;
}

html.is-dark-mode .book-classification__status.is-partial,
html.is-dark-mode .book-classification__status.is-warning {
	background: rgba(251, 146, 60, 0.16);
	color: #fed7aa;
}

html.is-dark-mode .book-classification__book.is-correct {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.2);
	color: #f8fafc;
}

html.is-dark-mode .book-classification__book.is-incorrect {
	border-color: #fb923c;
	background: rgba(251, 146, 60, 0.2);
	color: #f8fafc;
}

html.is-dark-mode .book-classification__book.is-missing {
	border-color: #22c55e;
	background: rgba(34, 197, 94, 0.15);
	color: #f8fafc;
}

.historical-powers-practice .book-classification__source {
	min-height: 190px;
}

.historical-powers__dimension-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: start;
}

.historical-powers__dimension-grid.is-filtered {
	grid-template-columns: minmax(0, 1fr);
}

.historical-powers__dimension {
	display: grid;
	gap: 8px;
	align-content: start;
	align-self: start;
	min-width: 0;
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: var(--eb-ui-panel-bg);
	color: var(--eb-ui-panel-text);
	padding: 10px;
}

.historical-powers__dimension[hidden],
.historical-powers__dimension.is-hidden {
	display: none !important;
}

.historical-powers__dimension-grid.is-filtered .historical-powers__dimension:not(.is-hidden) {
	grid-column: 1 / -1;
}

.historical-powers__dimension-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	min-width: 0;
}

.historical-powers__dimension-header h4 {
	margin: 0;
	color: inherit;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.2;
}

.historical-powers__dimension-header span {
	color: var(--eb-card-muted);
	font-size: 0.76rem;
	font-weight: 650;
	line-height: 1.2;
	white-space: nowrap;
}

.historical-powers__dimension .historical-powers__dropzone {
	min-height: 68px;
	border: 0;
	border-top: 1px solid var(--eb-ui-panel-border);
	border-radius: 0;
	background: transparent;
	padding: 8px 0 0;
}

.historical-powers__dimension .historical-powers__dropzone.is-drop-ready {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	border-radius: var(--eb-radius-sm);
	padding: 8px;
}

.historical-powers__dimension .historical-powers__dropzone.is-drop-empty::before {
	left: 8px;
}

.historical-powers-practice .book-classification__selection .book-classification__book {
	min-width: 220px;
}

.historical-powers__item {
	justify-items: center;
	min-width: 210px;
	max-width: 320px;
	text-align: center;
}

.historical-powers__item strong {
	text-align: center;
}

.historical-powers__item span {
	text-align: center;
}

.historical-powers__item em:not(.is-order-position) {
	display: block;
	margin-top: 4px;
	width: 100%;
	font-size: 0.72rem;
	line-height: 1.35;
	text-align: left;
	white-space: pre-line;
}

.chronology-ordering__scope {
	margin-top: 8px;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0;
	opacity: 0.82;
}

.chronology-ordering__focus-panel {
	display: grid;
	gap: 10px;
}

.chronology-ordering__focus-options[hidden],
.chronology-ordering__focus-options.is-hidden {
	display: none !important;
}

.chronology-ordering__focus-option {
	cursor: pointer;
}

.chronology-ordering__source-filters {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-top: 0.8rem;
}

.chronology-ordering__source-filters > span {
	font-size: 0.82rem;
	font-weight: 600;
}

.chronology-ordering__focus-option.is-selected {
	border-color: var(--eb-card-active-border);
	background: var(--eb-color-active-line);
	color: #080b10;
}

.chronology-ordering__focus-option.is-selected span,
.chronology-ordering__focus-option.is-selected em,
.chronology-ordering__focus-option.is-selected small {
	color: inherit;
}

.chronology-ordering__board {
	grid-template-columns: minmax(0, 1fr);
}

.chronology-ordering__selection {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	min-height: 118px;
}

.chronology-ordering__selection.is-drop-empty::before {
	content: none;
}

.chronology-ordering__selection .chronology-ordering__item {
	justify-items: start;
	width: 100%;
	min-width: 0;
	padding: 10px 12px 10px 42px;
	text-align: left;
}

.chronology-ordering__selection .chronology-ordering__item strong,
.chronology-ordering__selection .chronology-ordering__item span {
	text-align: left;
}

.chronology-ordering__selection .chronology-ordering__item em.is-order-position {
	top: 10px;
	left: 10px;
	transform: none;
}

.chronology-ordering__source .chronology-ordering__item {
	min-width: 190px;
	max-width: 260px;
}

.chronology-ordering__move-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.chronology-ordering__move-button {
	border: 1px solid var(--eb-ui-panel-border);
	border-radius: var(--eb-radius-sm);
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 0.68rem;
	font-weight: 650;
	line-height: 1;
	padding: 5px 7px;
}

.chronology-ordering__move-button:hover,
.chronology-ordering__move-button:focus-visible {
	border-color: var(--eb-ui-panel-hover-border);
	background: var(--eb-ui-panel-hover-bg);
	color: var(--eb-ui-panel-hover-text);
	outline: none;
}

.chronology-ordering__selection.has-review,
.chronology-ordering__selection.has-answer {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.chronology-ordering__selection.has-review .chronology-ordering__item,
.chronology-ordering__selection.has-answer .chronology-ordering__item {
	align-content: start;
	padding-left: 42px;
}

.relationship-learning-page {
	display: grid;
	gap: 24px;
}

@media (max-width: 1180px) {
	.book-classification__targets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.book-classification__focus-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.book-classification__hierarchy-heading {
		grid-template-columns: minmax(0, 1fr);
	}

	.book-classification__targets {
		grid-template-columns: minmax(0, 1fr);
	}

	.historical-powers__dimension-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.book-classification__mobile-note {
		display: grid;
	}

	.book-classification__workspace {
		display: none;
	}

	.chronology-ordering .book-classification__workspace {
		display: grid;
	}

	.chronology-ordering__source .chronology-ordering__item {
		max-width: none;
		width: 100%;
	}
}
