/* Zahnarztprüfung.de Flashcards — scoped, Astra-safe visual system */
body.zpfc-page .entry-header,
body.zpfc-page .entry-title {
	display: none;
}

body.zpfc-page .site-content > .ast-container,
body.zpfc-page .site-content .site-main,
body.zpfc-page .site-content .site-main > article,
body.zpfc-page .entry-content {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-top: 0;
}

body.zpfc-directory-page {
	background: #031019;
}

body.zpfc-directory-page .site-content,
body.zpfc-directory-page .site-content > .ast-container,
body.zpfc-directory-page .site-main,
body.zpfc-directory-page .site-main > article,
body.zpfc-directory-page .entry-content {
	min-height: 0;
	padding: 0 !important;
	margin: 0 !important;
}

.zpfc,
.zpfc *,
.zpfc *::before,
.zpfc *::after {
	box-sizing: border-box;
}

.zpfc {
	--zp-bg: #f4f7f8;
	--zp-paper: #ffffff;
	--zp-paper-warm: #fbfcfa;
	--zp-ink: #0f1d2e;
	--zp-ink-soft: #46576a;
	--zp-muted: #667684;
	--zp-line: #dbe4e8;
	--zp-line-strong: #c9d7dc;
	--zp-night: #02050d;
	--zp-night-soft: #081120;
	--zp-night-blue: #0d1732;
	--zp-cyan: #68ebff;
	--zp-cyan-strong: #19cbe4;
	--zp-teal: #08788c;
	--zp-mint: #dff9f5;
	--zp-known: #0b7564;
	--zp-known-bg: #e9f8f3;
	--zp-unsure: #8a5705;
	--zp-unsure-bg: #fff6df;
	--zp-again: #a93c46;
	--zp-again-bg: #fff0f1;
	--zp-shadow-sm: 0 8px 28px rgba(15, 29, 46, 0.06);
	--zp-shadow-card: 0 28px 70px rgba(15, 29, 46, 0.12), 0 3px 10px rgba(15, 29, 46, 0.05);
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	background: var(--zp-bg);
	color: var(--zp-ink);
	font-family: Inter, Poppins, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow: clip;
	-webkit-font-smoothing: antialiased;
}

.zpfc button,
.zpfc select,
.zpfc input {
	font: inherit;
}

.zpfc button {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	line-height: 1.3;
	text-transform: none;
	cursor: pointer;
}

.zpfc button:hover,
.zpfc button:focus,
.zpfc button:active {
	background-color: transparent;
	color: inherit;
}

.zpfc button:focus-visible,
.zpfc a:focus-visible,
.zpfc select:focus-visible,
.zpfc summary:focus-visible {
	outline: 3px solid rgba(104, 235, 255, 0.72);
	outline-offset: 3px;
}

.zpfc a {
	color: inherit;
	text-decoration: none;
}

.zpfc [hidden] {
	display: none !important;
}

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

/* Flashcards main page — approved cinematic learning-room direction */
.zpfc-directory {
	min-height: 100vh;
	padding-bottom: 56px;
	background:
		radial-gradient(circle at 50% 84%, rgba(35, 176, 188, 0.08), transparent 34%),
		linear-gradient(180deg, #061721 0%, #03111a 58%, #020d15 100%);
	color: #f3fbfc;
	overflow: hidden;
}

.zpfc-directory__hero {
	position: relative;
	min-height: 540px;
	background-image:
		linear-gradient(90deg, rgba(2, 16, 24, 0.97) 0%, rgba(3, 22, 31, 0.83) 34%, rgba(3, 23, 31, 0.25) 72%, rgba(2, 15, 23, 0.64) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.04) 62%, rgba(2, 15, 23, 0.86) 100%),
		var(--zpfc-hero-image);
	background-position: center;
	background-size: cover;
	isolation: isolate;
}

.zpfc-directory__hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 76% 43%, rgba(99, 239, 238, 0.12), transparent 23%);
	pointer-events: none;
	z-index: -1;
}

.zpfc-directory__hero-inner {
	display: grid;
	grid-template-columns: minmax(410px, 0.82fr) minmax(640px, 1.18fr);
	align-items: center;
	gap: clamp(42px, 6vw, 110px);
	width: min(100% - 72px, 1600px);
	min-height: 540px;
	margin: 0 auto;
	padding: 52px 0 72px;
}

.zpfc-directory__copy {
	position: relative;
	z-index: 4;
}

.zpfc-directory__eyebrow,
.zpfc-directory__rooms-heading p {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: #8de8ea;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.27em;
	line-height: 1.4;
	text-transform: uppercase;
}

.zpfc-directory__eyebrow i {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
}

.zpfc-directory__copy h1 {
	margin: 18px 0 20px;
	color: #f9fbf8;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(55px, 5.2vw, 82px);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.zpfc-directory__copy h1 span {
	display: block;
	white-space: nowrap;
}

.zpfc-directory__lead {
	max-width: 540px;
	margin: 0;
	color: rgba(235, 249, 249, 0.8);
	font-size: 17px;
	line-height: 1.65;
}

.zpfc a.zpfc-directory__daily,
.zpfc-directory__daily {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 54px;
	margin-top: 28px;
	padding: 0 22px;
	border: 1px solid #6fe9e8;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(102, 229, 229, 0.88), rgba(20, 139, 148, 0.9));
	box-shadow: 0 0 0 4px rgba(62, 221, 220, 0.07), 0 10px 34px rgba(9, 206, 209, 0.2), inset 0 1px rgba(255, 255, 255, 0.65);
	color: #faffff;
	font-size: 14px;
	font-weight: 650;
	text-shadow: 0 1px 10px rgba(0, 41, 48, 0.32);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.zpfc a.zpfc-directory__daily:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 5px rgba(62, 221, 220, 0.09), 0 14px 38px rgba(9, 206, 209, 0.28), inset 0 1px rgba(255, 255, 255, 0.65);
}

.zpfc-directory__daily strong {
	font-size: 17px;
}

.zpfc-directory__daily i {
	margin-left: 15px;
	font-size: 20px;
	font-style: normal;
}

.zpfc-directory__daily.is-disabled {
	border-color: rgba(127, 223, 225, 0.28);
	background: rgba(26, 92, 104, 0.45);
	box-shadow: none;
	color: rgba(244, 255, 255, 0.76);
}

.zpfc-directory__method {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 24px;
	color: rgba(202, 229, 232, 0.64);
	font-size: 11px;
	letter-spacing: 0.015em;
}

.zpfc-directory__method i {
	color: #63dfe1;
	font-style: normal;
}

.zpfc-directory__showcase {
	position: relative;
	justify-self: end;
	width: min(100%, 710px);
	height: 410px;
}

.zpfc-directory__demo-card,
.zpfc-directory__card-shadow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(470px, calc(100% - 120px));
	height: 376px;
	border: 1px solid rgba(190, 222, 224, 0.82);
	border-radius: 19px;
	background: rgba(249, 248, 242, 0.96);
	box-shadow: 0 30px 70px rgba(0, 10, 16, 0.34);
}

.zpfc-directory__card-shadow {
	background:
		linear-gradient(145deg, rgba(245, 250, 247, 0.84), rgba(192, 219, 218, 0.78)),
		var(--zpfc-hero-image) center / cover;
	overflow: hidden;
}

.zpfc-directory__card-shadow::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgba(255, 255, 255, 0.46), rgba(19, 84, 93, 0.06));
}

.zpfc-directory__card-shadow--three {
	transform: translate(-34%, -46%) rotate(7deg);
	opacity: 0.46;
}

.zpfc-directory__card-shadow--two {
	transform: translate(-43%, -48%) rotate(3deg);
	opacity: 0.72;
}

.zpfc-directory__card-shadow--one {
	transform: translate(-53%, -49%) rotate(-4deg);
	opacity: 0.9;
}

.zpfc-directory__demo-card {
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 29px 38px 28px;
	transform: translate(-50%, -50%) rotate(1.6deg);
	color: #102538;
}

.zpfc-directory__demo-meta {
	display: grid;
	grid-template-columns: 1fr auto 24px;
	align-items: center;
	gap: 16px;
	color: #197f86;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.zpfc-directory__demo-meta small {
	color: #718494;
	font-size: 9px;
}

.zpfc-directory__demo-meta i {
	color: #13848a;
	font-size: 30px;
	font-style: normal;
	font-weight: 300;
	line-height: 1;
}

.zpfc-directory__demo-card h2 {
	display: -webkit-box;
	overflow: hidden;
	margin: 22px 0 14px;
	color: #153047;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(24px, 2.05vw, 31px);
	font-style: italic;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.17;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.zpfc-directory__speak {
	display: grid;
	grid-template-columns: 1fr 64px 1fr;
	align-items: center;
	gap: 12px;
	width: 74%;
	margin: auto auto 0;
}

.zpfc-directory__speak span {
	height: 2px;
	background: repeating-linear-gradient(90deg, #24c8cd 0 3px, transparent 3px 6px);
}

.zpfc-directory__speak b {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 3px solid #f7ffff;
	border-radius: 50%;
	background: linear-gradient(150deg, #43d9d6, #078e9a);
	box-shadow: 0 0 0 2px #62dfe0, 0 0 24px rgba(20, 201, 204, 0.54);
	color: #fff;
	font-size: 15px;
}

.zpfc-directory__speak-note {
	margin: 9px 0 12px;
	color: #526b7a;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

.zpfc-directory__answer {
	position: relative;
	margin-top: 0;
}

.zpfc-directory__answer summary {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid #aec2ca;
	border-radius: 999px;
	color: #526d7e;
	font-size: 12px;
	font-weight: 650;
	list-style: none;
	cursor: pointer;
}

.zpfc-directory__answer summary::-webkit-details-marker {
	display: none;
}

.zpfc-directory__answer[open] summary {
	margin-bottom: 10px;
	border-color: #4bbec2;
	background: #e6f6f4;
	color: #116f76;
}

.zpfc-directory__answer > div {
	position: absolute;
	z-index: 8;
	left: -8px;
	right: -8px;
	top: 100%;
	max-height: 130px;
	overflow: auto;
	padding: 15px 18px;
	border: 1px solid #cbdcde;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(3, 23, 31, 0.18);
	color: #304b5b;
	font-size: 12px;
	line-height: 1.5;
}

.zpfc-directory__answer > div p {
	margin: 0;
}

.zpfc-directory__card-progress {
	position: absolute;
	right: -2px;
	top: 65px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	color: rgba(235, 251, 251, 0.76);
}

.zpfc-directory__card-progress strong {
	margin-bottom: 2px;
	font-size: 11px;
	letter-spacing: 0.08em;
}

.zpfc-directory__card-progress span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: rgba(184, 221, 223, 0.32);
}

.zpfc-directory__card-progress span.is-active {
	background: #55e0df;
	box-shadow: 0 0 12px rgba(85, 224, 223, 0.8);
}

.zpfc-directory__quick {
	position: relative;
	z-index: 12;
	display: flex;
	align-items: stretch;
	width: min(690px, calc(100% - 40px));
	min-height: 68px;
	margin: -34px auto 0;
	border: 1px solid rgba(121, 213, 216, 0.32);
	border-radius: 999px;
	background: rgba(12, 42, 54, 0.92);
	box-shadow: 0 18px 52px rgba(0, 7, 13, 0.34);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.zpfc-directory__quick a {
	position: relative;
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	padding: 0 20px;
	color: rgba(238, 250, 251, 0.88);
	font-size: 13px;
	font-weight: 600;
	transition: color 160ms ease, background-color 160ms ease;
}

.zpfc-directory__quick a + a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 17px;
	bottom: 17px;
	width: 1px;
	background: rgba(158, 220, 222, 0.18);
}

.zpfc-directory__quick a:first-child {
	border-radius: 999px 0 0 999px;
}

.zpfc-directory__quick a:last-child {
	border-radius: 0 999px 999px 0;
}

.zpfc-directory__quick a:hover {
	background: rgba(73, 202, 204, 0.08);
	color: #fff;
}

.zpfc-directory__quick-icon {
	color: #a9f0ef;
	font-size: 24px;
	font-weight: 300;
}

.zpfc-directory__quick b {
	display: grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(220, 236, 237, 0.18);
	color: #f9ffff;
	font-size: 11px;
}

.zpfc-directory__rooms {
	width: min(100% - 56px, 1760px);
	margin: 0 auto;
	padding-top: 39px;
}

.zpfc-directory__rooms-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	padding: 0 0 25px;
}

.zpfc-directory__rooms-heading p {
	margin-bottom: 8px;
	color: rgba(124, 218, 221, 0.68);
	font-size: 8px;
}

.zpfc-directory__rooms-heading h2 {
	margin: 0;
	color: #f7fbf8;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(34px, 3.3vw, 51px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.zpfc-directory__rooms-meta {
	display: flex;
	align-items: center;
	gap: 22px;
	color: rgba(184, 216, 219, 0.57);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.zpfc-directory__gallery-buttons {
	display: flex;
	gap: 9px;
}

.zpfc button[data-zpfc-gallery-prev],
.zpfc button[data-zpfc-gallery-next] {
	display: grid;
	place-items: center;
	width: 39px;
	height: 39px;
	border: 1px solid rgba(149, 220, 222, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.025);
	color: rgba(232, 249, 250, 0.74);
	font-size: 17px;
	transition: border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.zpfc button[data-zpfc-gallery-prev]:hover,
.zpfc button[data-zpfc-gallery-next]:hover {
	border-color: rgba(113, 234, 234, 0.68);
	background: rgba(68, 211, 211, 0.09);
}

.zpfc button[data-zpfc-gallery-prev]:disabled,
.zpfc button[data-zpfc-gallery-next]:disabled {
	opacity: 0.34;
	cursor: default;
}

.zpfc-directory__gallery {
	overflow-x: auto;
	overflow-y: hidden;
	padding: 3px 3px 18px;
	scroll-behavior: smooth;
	scroll-padding-inline: 3px;
	scroll-snap-type: x proximity;
	scrollbar-color: rgba(92, 201, 204, 0.28) transparent;
	scrollbar-width: thin;
}

.zpfc-directory__gallery::-webkit-scrollbar {
	height: 5px;
}

.zpfc-directory__gallery::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(92, 201, 204, 0.26);
}

.zpfc-directory__track {
	display: grid;
	grid-auto-columns: clamp(285px, 20.5vw, 360px);
	grid-auto-flow: column;
	gap: 15px;
	width: max-content;
}

.zpfc-subject-room {
	--zpfc-subject-progress: 0;
	position: relative;
	display: block;
	height: 204px;
	overflow: hidden;
	padding: 20px;
	border: 1px solid rgba(131, 190, 194, 0.28);
	border-radius: 10px;
	background-color: #09222c;
	background-image: var(--zpfc-subject-image);
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 18px 40px rgba(0, 6, 11, 0.19);
	scroll-snap-align: start;
	transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.zpfc a.zpfc-subject-room:hover {
	transform: translateY(-3px);
	border-color: rgba(109, 236, 234, 0.72);
	box-shadow: 0 18px 46px rgba(0, 8, 14, 0.32), 0 0 24px rgba(63, 207, 209, 0.08);
}

.zpfc-directory__track > .zpfc-subject-room:first-child {
	border-color: rgba(126, 243, 239, 0.82);
	box-shadow: 0 0 0 1px rgba(126, 243, 239, 0.16), 0 0 26px rgba(59, 217, 218, 0.12);
}

.zpfc-subject-room__veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(2, 15, 23, 0.92) 0%, rgba(3, 19, 27, 0.68) 43%, rgba(3, 17, 24, 0.08) 78%),
		linear-gradient(0deg, rgba(1, 11, 17, 0.78), transparent 55%);
	pointer-events: none;
}

.zpfc-subject-room > strong {
	position: relative;
	z-index: 2;
	display: block;
	max-width: 78%;
	color: #fff;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(21px, 1.65vw, 28px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.03;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.zpfc-subject-room__ring {
	position: absolute;
	z-index: 2;
	left: 20px;
	bottom: 37px;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: conic-gradient(#7af2ed calc(var(--zpfc-subject-progress) * 1%), rgba(177, 221, 222, 0.24) 0);
	box-shadow: 0 4px 18px rgba(0, 9, 13, 0.28);
}

.zpfc-subject-room__ring::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: rgba(5, 31, 41, 0.9);
}

.zpfc-subject-room__ring b {
	position: relative;
	z-index: 1;
	color: #f8ffff;
	font-family: Georgia, Cambria, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 700;
}

.zpfc-subject-room > small {
	position: absolute;
	z-index: 2;
	left: 20px;
	bottom: 15px;
	color: rgba(240, 251, 251, 0.84);
	font-size: 10px;
}

.zpfc-subject-room__arrow {
	position: absolute;
	z-index: 2;
	right: 18px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(203, 242, 242, 0.4);
	border-radius: 50%;
	background: rgba(6, 35, 46, 0.7);
	color: #c6fbfa;
	font-size: 19px;
	transition: transform 180ms ease, background-color 180ms ease;
}

.zpfc a.zpfc-subject-room:hover .zpfc-subject-room__arrow {
	transform: translateX(3px);
	background: rgba(45, 181, 184, 0.48);
}

.zpfc-subject-room__status {
	position: absolute;
	z-index: 2;
	right: 14px;
	bottom: 16px;
	padding: 5px 8px;
	border: 1px solid rgba(202, 235, 236, 0.18);
	border-radius: 999px;
	background: rgba(4, 25, 34, 0.68);
	color: rgba(220, 239, 240, 0.64);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.zpfc-subject-room.is-empty {
	filter: saturate(0.74);
}

@media (max-width: 1180px) {
	.zpfc-directory__hero-inner {
		grid-template-columns: minmax(350px, 0.85fr) minmax(500px, 1.15fr);
		width: min(100% - 48px, 1120px);
	}

	.zpfc-directory__showcase {
		transform: scale(0.9);
		transform-origin: right center;
	}

	.zpfc-directory__rooms {
		width: calc(100% - 40px);
	}
}

@media (max-width: 900px) {
	.zpfc-directory__hero {
		min-height: 0;
		background-position: 66% center;
	}

	.zpfc-directory__hero-inner {
		grid-template-columns: 1fr;
		gap: 42px;
		width: min(100% - 48px, 720px);
		padding: 58px 0 92px;
	}

	.zpfc-directory__copy {
		max-width: 590px;
	}

	.zpfc-directory__showcase {
		justify-self: center;
		width: min(100%, 660px);
		transform: none;
	}

	.zpfc-directory__rooms-meta > span {
		display: none;
	}
}

@media (max-width: 680px) {
	.zpfc-directory {
		padding-bottom: 38px;
	}

	.zpfc-directory__hero {
		background-position: 72% center;
	}

	.zpfc-directory__hero-inner {
		width: calc(100% - 34px);
		padding: 45px 0 82px;
	}

	.zpfc-directory__eyebrow {
		font-size: 8px;
	}

	.zpfc-directory__copy h1 {
		font-size: clamp(40px, 12.2vw, 54px);
	}

	.zpfc-directory__lead {
		max-width: 310px;
		font-size: 14px;
	}

	.zpfc a.zpfc-directory__daily,
	.zpfc-directory__daily {
		min-height: 50px;
		padding: 0 17px;
		font-size: 12px;
	}

	.zpfc-directory__daily i {
		margin-left: 5px;
	}

	.zpfc-directory__method {
		gap: 7px;
		font-size: 9px;
	}

	.zpfc-directory__showcase {
		height: 354px;
	}

	.zpfc-directory__demo-card,
	.zpfc-directory__card-shadow {
		width: calc(100% - 34px);
		height: 340px;
	}

	.zpfc-directory__card-shadow--three,
	.zpfc-directory__card-shadow--two {
		display: none;
	}

	.zpfc-directory__card-shadow--one {
		transform: translate(-50%, -50%) rotate(-3deg);
	}

	.zpfc-directory__demo-card {
		padding: 24px 23px 22px;
		transform: translate(-50%, -50%);
	}

	.zpfc-directory__demo-card h2 {
		font-size: clamp(22px, 7vw, 28px);
	}

	.zpfc-directory__speak {
		grid-template-columns: 1fr 54px 1fr;
		width: 88%;
	}

	.zpfc-directory__speak b {
		width: 54px;
		height: 54px;
	}

	.zpfc-directory__card-progress {
		display: none;
	}

	.zpfc-directory__quick {
		width: calc(100% - 24px);
		min-height: 62px;
		margin-top: -31px;
	}

	.zpfc-directory__quick a {
		flex-direction: column;
		gap: 1px;
		padding: 8px 4px;
		font-size: 9px;
	}

	.zpfc-directory__quick-icon {
		font-size: 19px;
	}

	.zpfc-directory__quick b {
		position: absolute;
		right: 9px;
		top: 8px;
		min-width: 20px;
		height: 20px;
		font-size: 8px;
	}

	.zpfc-directory__quick a + a::before {
		top: 13px;
		bottom: 13px;
	}

	.zpfc-directory__rooms {
		width: calc(100% - 24px);
		padding-top: 34px;
	}

	.zpfc-directory__rooms-heading {
		align-items: center;
		padding-bottom: 18px;
	}

	.zpfc-directory__rooms-heading h2 {
		font-size: 31px;
	}

	.zpfc-directory__rooms-heading p {
		display: none;
	}

	.zpfc button[data-zpfc-gallery-prev],
	.zpfc button[data-zpfc-gallery-next] {
		width: 36px;
		height: 36px;
	}

	.zpfc-directory__track {
		grid-auto-columns: min(82vw, 330px);
		gap: 11px;
	}

	.zpfc-subject-room {
		height: 194px;
	}
}

/* Compact, memorable entrance */
.zpfc-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 56px;
	min-height: 260px;
	padding: 42px max(32px, calc((100vw - 1440px) / 2));
	background:
		radial-gradient(circle at 78% 30%, rgba(104, 235, 255, 0.14), transparent 24%),
		linear-gradient(112deg, var(--zp-night) 0%, #051626 48%, #063345 100%);
	color: #f7ffff;
	isolation: isolate;
}

.zpfc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 5, 13, 0.08), transparent 48%, rgba(104, 235, 255, 0.04));
	pointer-events: none;
	z-index: -1;
}

.zpfc-hero__contour {
	position: absolute;
	right: 12%;
	top: -120px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(104, 235, 255, 0.07);
	border-radius: 42% 58% 54% 46% / 38% 42% 58% 62%;
	transform: rotate(22deg);
	opacity: 0.72;
	z-index: -1;
}

.zpfc-hero__contour::before,
.zpfc-hero__contour::after {
	content: "";
	position: absolute;
	inset: 54px;
	border: 1px solid rgba(104, 235, 255, 0.065);
	border-radius: inherit;
}

.zpfc-hero__contour::after {
	inset: 112px;
}

.zpfc-hero__copy {
	max-width: 760px;
}

.zpfc a.zpfc-hero__back {
	display: inline-flex;
	margin-bottom: 10px;
	color: rgba(222, 247, 252, 0.7);
	font-size: 12px;
	font-weight: 650;
}

.zpfc a.zpfc-hero__back:hover {
	color: var(--zp-cyan);
}

.zpfc-eyebrow,
.zpfc-study__mode,
.zpfc-progress__head > span,
.zpfc-chapters__head span,
.zpfc-card__kicker,
.zpfc-card__answer-label,
.zpfc-results__eyebrow {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.19em;
	line-height: 1.4;
	text-transform: uppercase;
}

.zpfc-eyebrow {
	color: var(--zp-cyan);
}

.zpfc-hero h1 {
	max-width: 720px;
	margin: 11px 0 0;
	color: #ffffff;
	font-family: Inter, Poppins, ui-sans-serif, sans-serif;
	font-size: clamp(36px, 4vw, 58px);
	font-weight: 730;
	letter-spacing: -0.05em;
	line-height: 0.99;
}

.zpfc-hero__lead {
	margin: 19px 0 0;
	color: #c9dbe1;
	font-size: 17px;
}

.zpfc-hero__loop {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 23px;
	color: #91aab5;
	font-size: 12px;
	letter-spacing: 0.03em;
}

.zpfc-hero__loop i {
	color: var(--zp-cyan);
	font-style: normal;
}

.zpfc-hero__daily {
	position: relative;
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	min-width: 280px;
	padding: 27px 28px 25px;
	border: 1px solid rgba(104, 235, 255, 0.24);
	border-radius: 22px;
	background: rgba(4, 18, 31, 0.72);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 24px 70px rgba(0, 0, 0, 0.23);
	backdrop-filter: blur(14px);
}

.zpfc-hero__daily-label {
	grid-column: 1 / -1;
	margin-bottom: 4px;
	color: var(--zp-cyan);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.zpfc-hero__daily > strong {
	color: #fff;
	font-size: 48px;
	font-weight: 680;
	letter-spacing: -0.055em;
	line-height: 1;
}

.zpfc-hero__daily > span:not(.zpfc-hero__daily-label) {
	margin-left: 9px;
	color: #afc3ca;
	font-size: 13px;
}

.zpfc-button,
.zpfc button.zpfc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 650;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.zpfc-button:hover,
.zpfc button.zpfc-button:hover {
	transform: translateY(-1px);
}

.zpfc-button--glow,
.zpfc button.zpfc-button--glow {
	grid-column: 1 / -1;
	margin-top: 18px;
	border: 1px solid rgba(104, 235, 255, 0.78);
	background: linear-gradient(135deg, #10aec4, #087f94);
	box-shadow: 0 0 0 4px rgba(104, 235, 255, 0.06), 0 10px 28px rgba(0, 199, 225, 0.17);
	color: white;
}

.zpfc-button--glow:hover,
.zpfc button.zpfc-button--glow:hover {
	background: linear-gradient(135deg, #19bfd5, #098aa0);
	box-shadow: 0 0 0 5px rgba(104, 235, 255, 0.09), 0 14px 34px rgba(0, 199, 225, 0.22);
	color: white;
}

/* Modes */
.zpfc-modebar {
	position: relative;
	z-index: 8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	width: min(1440px, calc(100% - 64px));
	min-height: 68px;
	margin: -18px auto 0;
	padding: 8px 10px;
	border: 1px solid rgba(198, 215, 222, 0.9);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--zp-shadow-sm);
}

.zpfc-modebar__scroll {
	display: flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.zpfc-modebar__scroll::-webkit-scrollbar {
	display: none;
}

.zpfc button.zpfc-mode {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 15px;
	border-radius: 11px;
	color: #536476;
	font-size: 13px;
	font-weight: 620;
	white-space: nowrap;
	transition: color 150ms ease, background 150ms ease;
}

.zpfc button.zpfc-mode:hover {
	background: #f0f6f7;
	color: var(--zp-ink);
}

.zpfc button.zpfc-mode.is-active {
	background: #e6f8f8;
	color: #086f81;
}

.zpfc-mode > span {
	color: var(--zp-teal);
	font-size: 18px;
}

.zpfc-mode > b {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: #edf2f4;
	color: #526273;
	font-size: 11px;
}

.zpfc-limit {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 5px;
	color: var(--zp-muted);
	font-size: 12px;
	white-space: nowrap;
}

.zpfc-limit select {
	height: 40px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--zp-line);
	border-radius: 10px;
	background-color: #fff;
	color: var(--zp-ink);
	font-size: 13px;
}

html.zpfc-modal-open {
	overflow: hidden;
}

.zpfc-mobile-tools {
	display: none;
}

/* Three-part learning workspace */
.zpfc-workspace {
	position: relative;
	display: grid;
	grid-template-columns: 282px minmax(520px, 1fr) 238px;
	gap: 22px;
	width: min(1440px, calc(100% - 64px));
	margin: 26px auto 0;
	padding-bottom: 64px;
}

.zpfc-chapters,
.zpfc-progress {
	align-self: start;
	border: 1px solid var(--zp-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 7px 25px rgba(15, 29, 46, 0.035);
}

.zpfc-chapters {
	position: sticky;
	top: 18px;
	padding: 17px 10px 11px;
}

.zpfc-chapters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 9px 12px;
}

.zpfc-chapters__head span,
.zpfc-progress__head > span {
	color: #5f7180;
	font-size: 9px;
}

.zpfc-chapters__head h2 {
	margin: 3px 0 0;
	color: var(--zp-ink);
	font-family: inherit;
	font-size: 20px;
	font-weight: 710;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.zpfc-chapters__close {
	display: none;
}

.zpfc-chapters__list {
	max-height: min(630px, calc(100vh - 270px));
	padding-right: 2px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: #c9d7dc transparent;
	scrollbar-width: thin;
}

.zpfc button.zpfc-chapter {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	width: 100%;
	min-height: 58px;
	padding: 8px 9px;
	border: 1px solid transparent;
	border-radius: 12px;
	text-align: left;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.zpfc button.zpfc-chapter + .zpfc-chapter {
	margin-top: 2px;
}

.zpfc button.zpfc-chapter:hover {
	border-color: #d8e8eb;
	background: #f4fafa;
}

.zpfc button.zpfc-chapter.is-active {
	border-color: rgba(25, 203, 228, 0.32);
	background: linear-gradient(100deg, #eafafa, #f8fcfc);
}

.zpfc-chapter__number {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid #d5e1e5;
	border-radius: 10px;
	color: #526273;
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.08em;
}

.zpfc-chapter.is-active .zpfc-chapter__number {
	border-color: #0fa9bd;
	background: #0b8598;
	color: #fff;
}

.zpfc-chapter__body {
	display: block;
	min-width: 0;
}

.zpfc-chapter__body strong,
.zpfc-chapter__body small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zpfc-chapter__body strong {
	color: #1a2a3b;
	font-size: 12.5px;
	font-weight: 680;
}

.zpfc-chapter__body small {
	margin-top: 2px;
	color: #5f7180;
	font-size: 9.5px;
}

.zpfc-chapter__progress {
	color: #536476;
	font-size: 10px;
	font-weight: 700;
}

.zpfc-study {
	min-width: 0;
}

.zpfc-study__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	min-height: 49px;
	margin-bottom: 14px;
	padding: 0 2px;
}

.zpfc-study__mode {
	display: block;
	color: var(--zp-teal);
	font-size: 9px;
}

.zpfc-study__toolbar h2 {
	margin: 4px 0 0;
	color: var(--zp-ink);
	font-family: inherit;
	font-size: 21px;
	font-weight: 710;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.zpfc-study__position {
	min-width: 112px;
	text-align: right;
}

.zpfc-study__position > span {
	color: #5c6e7c;
	font-size: 12px;
	font-weight: 700;
}

.zpfc-study__track {
	width: 112px;
	height: 3px;
	margin-top: 7px;
	border-radius: 999px;
	background: #dbe5e8;
	overflow: hidden;
}

.zpfc-study__track i,
.zpfc-session-mini__bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #12aabe, #48d6c8);
	transition: width 260ms ease;
}

.zpfc-card-stage {
	position: relative;
	min-height: 470px;
	perspective: 1200px;
}

.zpfc-card-stage__back {
	position: absolute;
	inset: 12px 18px -9px;
	border: 1px solid #d4e0e4;
	border-radius: 22px;
	background: #eef4f4;
	transform: rotate(0.35deg);
}

.zpfc-card {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	min-height: 470px;
	border: 1px solid #d5e1e5;
	border-radius: 22px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
		repeating-linear-gradient(90deg, transparent 0 34px, rgba(9, 147, 169, 0.03) 35px 36px);
	box-shadow: var(--zp-shadow-card);
	overflow: hidden;
	transition: transform 220ms ease, opacity 180ms ease;
}

.zpfc-card.is-leaving {
	opacity: 0;
	transform: translateX(-12px) rotate(-0.4deg);
}

.zpfc-card.is-entering {
	animation: zpfc-card-in 300ms ease both;
}

@keyframes zpfc-card-in {
	from { opacity: 0; transform: translateX(14px) rotate(0.35deg); }
	to { opacity: 1; transform: translateX(0) rotate(0); }
}

.zpfc-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 59px;
	padding: 13px 20px 11px;
	border-bottom: 1px solid #e7edef;
}

.zpfc-card__labels {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	color: #53808a;
	font-size: 9px;
	font-weight: 750;
	letter-spacing: 0.13em;
}

.zpfc-card__labels span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zpfc-card__labels i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--zp-cyan-strong);
	flex: 0 0 auto;
}

.zpfc button.zpfc-star {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid #d9e4e7;
	border-radius: 50%;
	color: #526273;
	font-size: 23px;
	line-height: 1;
	transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
	flex: 0 0 auto;
}

.zpfc button.zpfc-star:hover {
	border-color: #e4bd62;
	color: #b97808;
	transform: translateY(-1px);
}

.zpfc button.zpfc-star[aria-pressed="true"] {
	border-color: #e9c86c;
	background: #fff8df;
	color: #b97808;
}

.zpfc button.zpfc-star[aria-pressed="true"]::before {
	content: "★";
}

.zpfc button.zpfc-star[aria-pressed="true"] {
	font-size: 0;
}

.zpfc button.zpfc-star[aria-pressed="true"]::before {
	font-size: 20px;
}

.zpfc-card__question-wrap {
	display: grid;
	place-items: center;
	flex: 1;
	align-content: center;
	min-height: 310px;
	padding: 38px clamp(30px, 7vw, 88px) 31px;
	text-align: center;
}

.zpfc-card__kicker {
	color: #08788c;
	font-size: 9px;
}

.zpfc-card__question-wrap h3 {
	max-width: 760px;
	margin: 17px 0 27px;
	color: #11263a;
	font-family: inherit;
	font-size: clamp(23px, 2.25vw, 35px);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.25;
}

.zpfc-speak-cue {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 15px 8px 9px;
	border: 1px solid #d8e9ec;
	border-radius: 999px;
	background: #f5fbfb;
	text-align: left;
}

.zpfc-mic {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(145deg, #20c0d5, #087b90);
	box-shadow: 0 0 0 5px rgba(25, 203, 228, 0.08);
}

.zpfc-mic svg {
	width: 17px;
	height: 17px;
	fill: #fff;
}

.zpfc-speak-cue strong,
.zpfc-speak-cue span {
	display: block;
}

.zpfc-speak-cue strong {
	color: #1f3748;
	font-size: 11px;
	font-weight: 700;
}

.zpfc-speak-cue div > span {
	margin-top: 1px;
	color: #5c6e7c;
	font-size: 9.5px;
}

.zpfc-card__answer {
	border-top: 1px solid #e6edef;
	background: #fbfdfd;
}

.zpfc-card__answer summary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 64px;
	padding: 14px 20px;
	color: #0c7f92;
	font-size: 13px;
	font-weight: 720;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.zpfc-card__answer summary::-webkit-details-marker {
	display: none;
}

.zpfc-card__answer summary::after {
	content: "↓";
	font-size: 15px;
	transition: transform 180ms ease;
}

.zpfc-card__answer[open] summary {
	min-height: 48px;
	border-bottom: 1px solid #e6edef;
}

.zpfc-card__answer[open] summary::after {
	transform: rotate(180deg);
}

.zpfc-card__answer[open] summary span {
	font-size: 0;
}

.zpfc-card__answer[open] summary span::after {
	content: "Antwort ausblenden";
	font-size: 12px;
}

.zpfc-card__answer kbd {
	padding: 3px 7px;
	border: 1px solid #cfdcdf;
	border-bottom-width: 2px;
	border-radius: 6px;
	background: #fff;
	color: #536476;
	font-family: inherit;
	font-size: 9px;
	font-weight: 600;
}

.zpfc-card__answer-inner {
	padding: 22px clamp(25px, 5vw, 60px) 24px;
}

.zpfc-card__answer-label {
	color: #08788c;
	font-size: 9px;
}

.zpfc-card__answer-text {
	margin-top: 10px;
	color: #24394a;
	font-size: 15px;
	line-height: 1.7;
}

.zpfc-card__answer-text p {
	margin: 0;
}

.zpfc-card__answer-text strong {
	color: #0b7284;
	font-weight: 720;
}

.zpfc-card__merksatz {
	margin: 16px 0 0;
	padding: 11px 13px;
	border-left: 3px solid var(--zp-cyan-strong);
	border-radius: 0 8px 8px 0;
	background: #eefafa;
	color: #405965;
	font-size: 12px;
}

.zpfc-card__merksatz strong {
	color: #087b8d;
}

.zpfc-card__links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 19px;
}

.zpfc-card__links a,
.zpfc-card__links button {
	color: #60727f;
	font-size: 11px;
	font-weight: 650;
}

.zpfc-card__links a:hover,
.zpfc-card__links button:hover {
	color: #087e92;
}

.zpfc-ratings {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 18px;
}

.zpfc button.zpfc-rating {
	position: relative;
	display: grid;
	grid-template-columns: 26px 1fr auto;
	align-items: center;
	gap: 8px;
	min-height: 57px;
	padding: 8px 13px;
	border: 1px solid var(--zp-line);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 29, 46, 0.03);
	transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.zpfc button.zpfc-rating:hover {
	transform: translateY(-2px);
}

.zpfc button.zpfc-rating:disabled {
	opacity: 0.58;
	transform: none;
	cursor: default;
}

.zpfc-rating > span {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	font-weight: 800;
}

.zpfc-rating strong {
	font-size: 12px;
	text-align: left;
}

.zpfc-rating small {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border: 1px solid currentColor;
	border-radius: 6px;
	opacity: 0.55;
	font-size: 9px;
}

.zpfc-rating--known { color: var(--zp-known) !important; }
.zpfc-rating--known > span { background: var(--zp-known-bg); }
.zpfc button.zpfc-rating--known:hover { border-color: rgba(22, 139, 114, 0.45); background: #fbfffd; }
.zpfc-rating--unsure { color: var(--zp-unsure) !important; }
.zpfc-rating--unsure > span { background: var(--zp-unsure-bg); }
.zpfc button.zpfc-rating--unsure:hover { border-color: rgba(165, 106, 9, 0.42); background: #fffefa; }
.zpfc-rating--again { color: var(--zp-again) !important; }
.zpfc-rating--again > span { background: var(--zp-again-bg); }
.zpfc button.zpfc-rating--again:hover { border-color: rgba(189, 74, 82, 0.42); background: #fffdfd; }

.zpfc-card-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px;
	margin-top: 17px;
	padding: 0 5px;
}

.zpfc-card-nav button {
	color: #506371;
	font-size: 11px;
	font-weight: 650;
}

.zpfc-card-nav button:last-child {
	justify-self: end;
}

.zpfc-card-nav > span {
	color: #5c6e7c;
	font-size: 9.5px;
	text-align: center;
}

.zpfc-progress {
	position: sticky;
	top: 18px;
	padding: 19px;
}

.zpfc-progress__head strong {
	display: block;
	margin-top: 3px;
	color: var(--zp-ink);
	font-size: 16px;
	font-weight: 710;
}

.zpfc-progress__ring {
	position: relative;
	display: grid;
	place-items: center;
	width: 132px;
	height: 132px;
	margin: 23px auto 19px;
	border-radius: 50%;
	background: conic-gradient(#18b7c5 calc(var(--progress) * 1%), #e4ecee 0);
}

.zpfc-progress__ring::before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 50%;
	background: #fff;
}

.zpfc-progress__ring > div {
	position: relative;
	z-index: 1;
	text-align: center;
}

.zpfc-progress__ring strong,
.zpfc-progress__ring span {
	display: block;
}

.zpfc-progress__ring strong {
	font-size: 26px;
	font-weight: 730;
	letter-spacing: -0.045em;
}

.zpfc-progress__ring span {
	color: #5c6e7c;
	font-size: 9px;
}

.zpfc-progress__stats {
	margin: 0;
	border-top: 1px solid #e3eaed;
}

.zpfc-progress__stats > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 39px;
	border-bottom: 1px solid #edf1f2;
}

.zpfc-progress__stats dt,
.zpfc-progress__stats dd {
	margin: 0;
	font-size: 10.5px;
}

.zpfc-progress__stats dt {
	color: #5c6e7c;
}

.zpfc-progress__stats dd {
	color: #1d3445;
	font-weight: 690;
}

.zpfc-progress__history {
	padding-top: 15px;
}

.zpfc-progress__history > span {
	color: #5c6e7c;
	font-size: 8px;
	font-weight: 750;
	letter-spacing: 0.12em;
}

.zpfc-progress__history p {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin: 7px 0 0;
}

.zpfc-progress__history p b {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 28px;
	border-radius: 8px;
	background: #f3f8f8;
	font-size: 10px;
}

.zpfc-progress__history i {
	font-style: normal;
}

.zpfc-session-mini {
	margin-top: 20px;
	padding: 14px;
	border-radius: 12px;
	background: #f3f8f8;
}

.zpfc-session-mini > div:first-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.zpfc-session-mini > div span {
	color: #5c6e7c;
	font-size: 8px;
	font-weight: 750;
	letter-spacing: 0.13em;
}

.zpfc-session-mini > div strong {
	color: #1d3b49;
	font-size: 15px;
}

.zpfc-session-mini__bar {
	height: 4px;
	margin-top: 9px;
	border-radius: 999px;
	background: #d9e5e7;
	overflow: hidden;
}

.zpfc-session-mini p {
	display: grid;
	gap: 4px;
	margin: 10px 0 0;
	font-size: 9px;
}

.zpfc-session-mini p span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.zpfc .is-known { color: var(--zp-known); }
.zpfc .is-unsure { color: var(--zp-unsure); }
.zpfc .is-again { color: var(--zp-again); }

.zpfc-login-note {
	margin-top: 18px;
	padding: 15px;
	border: 1px solid #dce8eb;
	border-radius: 12px;
	background: linear-gradient(145deg, #f8ffff, #eef8f8);
}

.zpfc-login-note strong {
	font-size: 11px;
}

.zpfc-login-note p {
	margin: 5px 0 10px;
	color: #536476;
	font-size: 9.5px;
	line-height: 1.5;
}

.zpfc-login-note a {
	color: #087c90;
	font-size: 10px;
	font-weight: 720;
}

.zpfc-empty {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	align-content: center;
	min-height: 470px;
	padding: 40px;
	border: 1px solid var(--zp-line);
	border-radius: 22px;
	background: #fff;
	text-align: center;
}

.zpfc-empty strong {
	font-size: 18px;
}

.zpfc-empty span {
	max-width: 420px;
	margin-top: 8px;
	color: var(--zp-muted);
	font-size: 13px;
}

/* Import prompt, toast and results */
.zpfc-sync-banner {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9995;
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 15px;
	max-width: 610px;
	padding: 14px 14px 14px 18px;
	border: 1px solid rgba(104, 235, 255, 0.28);
	border-radius: 15px;
	background: #071827;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
	color: #fff;
}

.zpfc-sync-banner strong,
.zpfc-sync-banner span {
	display: block;
}

.zpfc-sync-banner strong { font-size: 12px; }
.zpfc-sync-banner span { margin-top: 2px; color: #9fb7c1; font-size: 10px; }
.zpfc-sync-banner button { color: var(--zp-cyan); font-size: 11px; font-weight: 700; }

.zpfc-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 10000;
	max-width: min(440px, calc(100vw - 32px));
	padding: 11px 16px;
	border: 1px solid rgba(104, 235, 255, 0.28);
	border-radius: 999px;
	background: #071827;
	box-shadow: 0 15px 44px rgba(0, 0, 0, 0.25);
	color: #eaffff;
	font-size: 11px;
	font-weight: 600;
	transform: translateX(-50%);
}

.zpfc-results {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: grid;
	place-items: center;
	padding: 24px;
}

.zpfc-results__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 8, 15, 0.72);
	backdrop-filter: blur(8px);
}

.zpfc-results__panel {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	padding: 39px;
	border: 1px solid rgba(104, 235, 255, 0.2);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 35px 90px rgba(0, 0, 0, 0.33);
	text-align: center;
}

.zpfc-results__eyebrow { color: #08788c; font-size: 9px; }
.zpfc-results__panel h2 { margin: 7px 0 2px; color: var(--zp-ink); font-family: inherit; font-size: 30px; font-weight: 730; letter-spacing: -0.04em; }
.zpfc-results__panel > p { margin: 0; color: var(--zp-muted); font-size: 13px; }

.zpfc-results__score {
	display: grid;
	place-items: center;
	align-content: center;
	width: 142px;
	height: 142px;
	margin: 25px auto 20px;
	border: 9px solid #dff5f4;
	border-radius: 50%;
}

.zpfc-results__score strong,
.zpfc-results__score span { display: block; }
.zpfc-results__score strong { color: #087d90; font-size: 34px; letter-spacing: -0.05em; }
.zpfc-results__score span { color: #536476; font-size: 9px; }

.zpfc-results__breakdown {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.zpfc-results__breakdown span {
	padding: 10px 7px;
	border-radius: 10px;
	background: #f6f9f9;
	font-size: 10px;
	font-weight: 650;
}

.zpfc-results__improvement {
	margin-top: 16px !important;
	padding: 9px 12px;
	border-radius: 9px;
	background: #effafa;
	color: #087b8d !important;
	font-weight: 650;
}

.zpfc-results__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	margin-top: 24px;
}

.zpfc-button--primary,
.zpfc button.zpfc-button--primary {
	background: linear-gradient(135deg, #10a7bc, #087d91);
	color: #fff;
}

.zpfc-button--secondary,
.zpfc button.zpfc-button--secondary {
	border: 1px solid #d5e1e5;
	background: #fff;
	color: #344957;
}

.zpfc-results__close {
	margin-top: 17px;
	color: #536476 !important;
	font-size: 10px !important;
	font-weight: 650 !important;
}

.zpfc-scrim {
	display: none;
}

.zpfc.is-busy .zpfc-card {
	opacity: 0.58;
	pointer-events: none;
}

.zpfc.is-busy .zpfc-card-stage::after {
	content: "Neue Sitzung wird vorbereitet …";
	position: absolute;
	inset: 0;
	z-index: 5;
	display: grid;
	place-items: center;
	color: #2d5964;
	font-size: 12px;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.zpfc *,
	.zpfc *::before,
	.zpfc *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 1180px) {
	.zpfc-workspace {
		grid-template-columns: 258px minmax(480px, 1fr);
	}

	.zpfc-progress {
		position: static;
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: auto 128px minmax(330px, 1fr) minmax(190px, 0.7fr);
		align-items: center;
		gap: 22px;
	}

	.zpfc-progress__ring {
		width: 92px;
		height: 92px;
		margin: 0;
	}

	.zpfc-progress__history {
		display: none;
	}

	.zpfc-progress__ring strong { font-size: 20px; }
	.zpfc-progress__stats { border-top: 0; }
	.zpfc-session-mini,
	.zpfc-login-note { margin-top: 0; }
}

@media (max-width: 900px) {
	.zpfc-hero {
		grid-template-columns: 1fr auto;
		gap: 24px;
		min-height: 226px;
		padding: 34px 25px 42px;
	}

	.zpfc-hero h1 { font-size: clamp(34px, 6vw, 50px); }
	.zpfc-hero__lead { font-size: 14px; }
	.zpfc-hero__daily { min-width: 230px; padding: 22px; }
	.zpfc-hero__daily > strong { font-size: 39px; }

	.zpfc-modebar {
		width: calc(100% - 34px);
		margin-top: -15px;
	}

	.zpfc-mobile-tools {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: calc(100% - 34px);
		margin: 17px auto 0;
		color: #60717d;
		font-size: 11px;
	}

	.zpfc button.zpfc-mobile-tools__button {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		min-height: 38px;
		padding: 0 12px;
		border: 1px solid var(--zp-line);
		border-radius: 10px;
		background: #fff;
		font-size: 11px;
		font-weight: 700;
	}

	.zpfc-workspace {
		grid-template-columns: minmax(0, 1fr);
		width: calc(100% - 34px);
		margin-top: 13px;
	}

	.zpfc-chapters {
		position: fixed;
		z-index: 10005;
		left: 0;
		top: 0;
		bottom: 0;
		width: min(350px, calc(100vw - 44px));
		padding-top: max(18px, env(safe-area-inset-top));
		border: 0;
		border-radius: 0 18px 18px 0;
		box-shadow: 20px 0 70px rgba(0, 0, 0, 0.22);
		transform: translateX(-105%);
		transition: transform 220ms ease;
	}

	.zpfc.is-chapters-open .zpfc-chapters {
		transform: translateX(0);
	}

	.zpfc-chapters__close {
		display: grid !important;
		place-items: center;
		width: 36px;
		height: 36px;
		border: 1px solid var(--zp-line) !important;
		border-radius: 50% !important;
		font-size: 22px !important;
	}

	.zpfc-chapters__list {
		max-height: calc(100vh - 130px);
	}

	.zpfc.is-chapters-open .zpfc-scrim {
		position: fixed;
		z-index: 10000;
		inset: 0;
		display: block;
		background: rgba(2, 8, 15, 0.5);
	}

	.zpfc-progress {
		grid-column: auto;
		grid-template-columns: auto 100px 1fr;
	}

	.zpfc-login-note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.zpfc {
		font-size: 15px;
	}

	.zpfc-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 32px 18px 48px;
	}

	.zpfc-hero h1 {
		font-size: clamp(34px, 10.8vw, 47px);
		line-height: 1.02;
	}

	.zpfc-hero__lead {
		max-width: 330px;
		margin-top: 15px;
		font-size: 13px;
	}

	.zpfc-hero__loop {
		gap: 6px;
		margin-top: 17px;
		font-size: 9px;
	}

	.zpfc-hero__daily {
		display: flex;
		align-items: center;
		min-width: 0;
		padding: 14px;
		border-radius: 15px;
	}

	.zpfc-hero__daily-label { display: none; }
	.zpfc-hero__daily > strong { font-size: 30px; }
	.zpfc-hero__daily > span:not(.zpfc-hero__daily-label) { margin-right: auto; font-size: 11px; }
	.zpfc-button--glow,
	.zpfc button.zpfc-button--glow { margin-top: 0; min-height: 42px; padding: 0 14px; font-size: 11px; }

	.zpfc-modebar {
		width: calc(100% - 20px);
		min-height: 60px;
		gap: 8px;
		padding: 7px;
		border-radius: 14px;
	}

	.zpfc button.zpfc-mode {
		min-height: 40px;
		padding: 0 12px;
		font-size: 11px;
	}

	.zpfc-mode > span { font-size: 15px; }
	.zpfc-limit > span { display: none; }
	.zpfc-limit select { width: 88px; padding: 0 22px 0 8px; font-size: 10px; }

	.zpfc-mobile-tools,
	.zpfc-workspace {
		width: calc(100% - 20px);
	}

	.zpfc-study__toolbar {
		align-items: center;
		gap: 12px;
	}

	.zpfc-study__toolbar h2 { font-size: 17px; }
	.zpfc-study__position { min-width: 72px; }
	.zpfc-study__track { width: 72px; }

	.zpfc-card-stage,
	.zpfc-card,
	.zpfc-empty {
		min-height: 430px;
	}

	.zpfc-card-stage__back { inset: 8px 9px -7px; }
	.zpfc-card { border-radius: 18px; }
	.zpfc-card__top { padding-inline: 14px; }
	.zpfc-card__labels { max-width: calc(100% - 48px); font-size: 8px; }
	.zpfc-card__question-wrap { min-height: 290px; padding: 31px 20px 25px; }
	.zpfc-card__question-wrap h3 { margin: 14px 0 25px; font-size: clamp(23px, 7vw, 29px); }
	.zpfc-speak-cue { gap: 10px; padding-right: 12px; }
	.zpfc-speak-cue div > span { display: none; }
	.zpfc-card__answer summary { min-height: 60px; }
	.zpfc-card__answer kbd { display: none; }
	.zpfc-card__answer-inner { padding: 20px; }
	.zpfc-card__links { align-items: flex-start; flex-direction: column; }

	.zpfc-ratings {
		position: sticky;
		z-index: 30;
		bottom: max(8px, env(safe-area-inset-bottom));
		gap: 6px;
		margin-inline: -4px;
		padding: 5px;
		border: 1px solid var(--zp-line);
		border-radius: 15px;
		background: rgba(244, 247, 248, 0.94);
		box-shadow: 0 12px 35px rgba(15, 29, 46, 0.12);
		backdrop-filter: blur(12px);
	}

	.zpfc button.zpfc-rating {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 3px;
		min-height: 62px;
		padding: 7px 4px;
	}

	.zpfc-rating > span { width: 24px; height: 24px; }
	.zpfc-rating strong { font-size: 10px; text-align: center; }
	.zpfc-rating small { display: none; }

	.zpfc-card-nav {
		grid-template-columns: auto 1fr auto;
	}

	.zpfc-card-nav button span { display: none; }
	.zpfc-card-nav > span { font-size: 8px; }

	.zpfc-progress {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 17px;
		padding: 16px;
	}

	.zpfc-progress__ring { width: 84px; height: 84px; }
	.zpfc-progress__stats,
	.zpfc-session-mini,
	.zpfc-login-note { grid-column: 1 / -1; }
	.zpfc-sync-banner { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr auto; }
	.zpfc-sync-banner > button:last-child { position: absolute; right: 8px; top: 5px; }
	.zpfc-results { padding: 12px; }
	.zpfc-results__panel { padding: 29px 18px; border-radius: 19px; }
	.zpfc-results__actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.zpfc-hero__daily > span:not(.zpfc-hero__daily-label) { display: none; }
	.zpfc-button--glow,
	.zpfc button.zpfc-button--glow { margin-left: auto; }
	.zpfc-card__question-wrap h3 { font-size: 22px; }
	.zpfc-speak-cue strong { font-size: 10px; }
}

/* Step 4 — focused subject learning screen (directory remains unchanged) */
.zpfc[data-zpfc] {
	background:
		linear-gradient(180deg, #eef4f5 0, #f5f8f8 300px, #f6f8f8 100%);
}

.zpfc[data-zpfc] .zpfc-hero {
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 34px;
	min-height: 184px;
	padding: 24px max(32px, calc((100vw - 1320px) / 2)) 32px;
	background:
		radial-gradient(circle at 74% 10%, rgba(87, 224, 225, 0.13), transparent 27%),
		linear-gradient(112deg, #020812 0%, #071725 55%, #0a3441 100%);
}

.zpfc[data-zpfc] .zpfc-hero::before {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 45%),
		repeating-linear-gradient(110deg, transparent 0 78px, rgba(104, 235, 255, 0.018) 79px 80px);
}

.zpfc[data-zpfc] .zpfc-hero__contour {
	right: 18%;
	top: -224px;
	width: 510px;
	height: 510px;
	opacity: 0.5;
}

.zpfc[data-zpfc] .zpfc-hero__copy {
	max-width: 760px;
}

.zpfc[data-zpfc] a.zpfc-hero__back {
	margin-bottom: 5px;
	font-size: 10px;
}

.zpfc[data-zpfc] .zpfc-eyebrow {
	font-size: 9px;
	letter-spacing: 0.18em;
}

.zpfc[data-zpfc] .zpfc-hero h1 {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	max-width: none;
	margin-top: 6px;
	font-size: clamp(31px, 3.1vw, 43px);
	font-weight: 740;
	letter-spacing: -0.045em;
	line-height: 1.06;
}

.zpfc[data-zpfc] .zpfc-hero h1 span {
	color: #91bdc5;
	font-size: 0.56em;
	font-weight: 560;
	letter-spacing: -0.018em;
}

.zpfc[data-zpfc] .zpfc-hero__lead {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 7px 12px;
	margin-top: 9px;
	font-size: 12px;
}

.zpfc[data-zpfc] .zpfc-hero__lead strong,
.zpfc[data-zpfc] .zpfc-hero__lead span {
	display: block;
}

.zpfc[data-zpfc] .zpfc-hero__lead strong {
	color: #f4fcfd;
	font-size: 14px;
	font-weight: 650;
}

.zpfc[data-zpfc] .zpfc-hero__lead span {
	color: #9db2ba;
}

.zpfc[data-zpfc] .zpfc-hero__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 13px;
	color: #91aab3;
	font-size: 10px;
}

.zpfc[data-zpfc] .zpfc-hero__meta b {
	color: #d9f4f5;
	font-weight: 720;
}

.zpfc[data-zpfc] .zpfc-hero__meta i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #54dfe0;
}

.zpfc[data-zpfc] .zpfc-hero__daily {
	display: flex;
	grid-template-columns: none;
	align-items: center;
	gap: 22px;
	min-width: 350px;
	padding: 15px 16px 15px 19px;
	border-radius: 17px;
	background: rgba(5, 22, 35, 0.78);
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 18px 48px rgba(0, 0, 0, 0.2);
}

.zpfc[data-zpfc] .zpfc-hero__daily-copy {
	min-width: 118px;
}

.zpfc[data-zpfc] .zpfc-hero__daily-label {
	display: block;
	margin: 0 0 2px;
	font-size: 8px;
}

.zpfc[data-zpfc] .zpfc-hero__daily-copy > div {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.zpfc[data-zpfc] .zpfc-hero__daily-copy strong {
	color: #fff;
	font-size: 30px;
	font-weight: 720;
	letter-spacing: -0.055em;
	line-height: 1;
}

.zpfc[data-zpfc] .zpfc-hero__daily-copy div span {
	color: #9fb4bc;
	font-size: 10px;
}

.zpfc[data-zpfc] .zpfc-button--glow,
.zpfc[data-zpfc] button.zpfc-button--glow {
	grid-column: auto;
	min-height: 42px;
	margin: 0 0 0 auto;
	padding: 0 17px;
	font-size: 11px;
}

.zpfc[data-zpfc] .zpfc-modebar {
	width: min(1320px, calc(100% - 64px));
	min-height: 58px;
	margin-top: -17px;
	padding: 7px 9px;
	border-radius: 16px;
	box-shadow: 0 12px 34px rgba(15, 29, 46, 0.08);
}

.zpfc[data-zpfc] button.zpfc-mode {
	min-height: 40px;
	padding: 0 13px;
	border-radius: 10px;
	font-size: 11.5px;
}

.zpfc[data-zpfc] .zpfc-mode > span {
	font-size: 16px;
}

.zpfc[data-zpfc] .zpfc-mode > b {
	min-width: 21px;
	height: 21px;
	font-size: 9px;
}

.zpfc[data-zpfc] .zpfc-limit,
.zpfc[data-zpfc] .zpfc-limit select {
	font-size: 11px;
}

.zpfc[data-zpfc] .zpfc-limit select {
	height: 38px;
}

.zpfc[data-zpfc] .zpfc-workspace {
	grid-template-columns: 246px minmax(500px, 1fr) 214px;
	gap: 18px;
	width: min(1320px, calc(100% - 64px));
	margin-top: 19px;
	padding-bottom: 48px;
}

.zpfc[data-zpfc] .zpfc-chapters,
.zpfc[data-zpfc] .zpfc-progress {
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 28px rgba(15, 29, 46, 0.045);
}

.zpfc[data-zpfc] .zpfc-chapters {
	top: 14px;
	padding: 14px 8px 9px;
}

.zpfc[data-zpfc] .zpfc-chapters__head {
	padding: 0 8px 10px;
}

.zpfc[data-zpfc] .zpfc-chapters__head h2 {
	font-size: 18px;
}

.zpfc[data-zpfc] .zpfc-chapters__list {
	max-height: min(590px, calc(100vh - 250px));
}

.zpfc[data-zpfc] button.zpfc-chapter {
	grid-template-columns: 31px minmax(0, 1fr) auto;
	gap: 8px;
	min-height: 51px;
	padding: 6px 7px;
	border-radius: 10px;
}

.zpfc[data-zpfc] .zpfc-chapter__number {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	font-size: 9px;
}

.zpfc[data-zpfc] .zpfc-chapter__body strong {
	font-size: 11.5px;
}

.zpfc[data-zpfc] .zpfc-chapter__body small {
	font-size: 8.5px;
}

.zpfc[data-zpfc] .zpfc-chapter__progress {
	font-size: 9px;
}

.zpfc[data-zpfc] .zpfc-study__toolbar {
	min-height: 42px;
	margin-bottom: 10px;
}

.zpfc[data-zpfc] .zpfc-study__mode {
	font-size: 8px;
}

.zpfc[data-zpfc] .zpfc-study__toolbar h2 {
	margin-top: 3px;
	font-size: 18px;
}

.zpfc[data-zpfc] .zpfc-study__position {
	min-width: 100px;
}

.zpfc[data-zpfc] .zpfc-study__position > span {
	font-size: 10px;
}

.zpfc[data-zpfc] .zpfc-study__track {
	width: 100px;
}

.zpfc[data-zpfc] .zpfc-card-stage,
.zpfc[data-zpfc] .zpfc-card,
.zpfc[data-zpfc] .zpfc-empty {
	min-height: 408px;
}

.zpfc[data-zpfc] .zpfc-card-stage__back {
	inset: 9px 13px -7px;
	border-radius: 19px;
}

.zpfc[data-zpfc] .zpfc-card {
	border-radius: 19px;
	box-shadow: 0 20px 54px rgba(15, 29, 46, 0.105), 0 2px 8px rgba(15, 29, 46, 0.045);
}

.zpfc[data-zpfc] .zpfc-card__top {
	min-height: 51px;
	padding: 9px 16px;
}

.zpfc[data-zpfc] .zpfc-card__labels {
	font-size: 8px;
}

.zpfc[data-zpfc] button.zpfc-star {
	width: 33px;
	height: 33px;
	font-size: 21px;
}

.zpfc[data-zpfc] .zpfc-card__question-wrap {
	min-height: 292px;
	padding: 28px clamp(28px, 5vw, 68px) 24px;
}

.zpfc[data-zpfc] .zpfc-card__question-wrap h3 {
	max-width: 680px;
	margin: 14px 0 22px;
	font-size: clamp(24px, 2vw, 31px);
	font-weight: 640;
	line-height: 1.23;
}

.zpfc[data-zpfc] .zpfc-speak-cue {
	gap: 10px;
	padding: 6px 13px 6px 7px;
}

.zpfc[data-zpfc] button.zpfc-speak-cue {
	appearance: none;
	margin: 0;
	border: 1px solid #cfe4e7;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zpfc[data-zpfc] button.zpfc-speak-cue:hover {
	border-color: #86c7d0;
	background: #effafa;
	box-shadow: 0 7px 20px rgba(18, 104, 121, 0.1);
	transform: translateY(-1px);
}

.zpfc[data-zpfc] button.zpfc-speak-cue:focus-visible,
.zpfc[data-zpfc] .zpfc-voice-review button:focus-visible {
	outline: 3px solid rgba(28, 158, 181, 0.24);
	outline-offset: 3px;
}

.zpfc[data-zpfc] button.zpfc-speak-cue:disabled {
	cursor: not-allowed;
	opacity: 0.68;
	transform: none;
}

.zpfc[data-zpfc] .zpfc-speak-cue__copy {
	display: block;
}

.zpfc[data-zpfc] .zpfc-speak-cue__copy > span {
	display: block;
	margin-top: 1px;
	color: #5c6e7c;
	font-size: 9.5px;
}

.zpfc[data-zpfc] button.zpfc-speak-cue.is-recording {
	border-color: #e3a5a5;
	background: #fff7f5;
	box-shadow: 0 0 0 5px rgba(186, 67, 67, 0.07);
}

.zpfc[data-zpfc] button.zpfc-speak-cue.is-recording .zpfc-mic {
	background: linear-gradient(145deg, #df7771, #aa3944);
	animation: zpfc-voice-pulse 1.25s ease-in-out infinite;
}

.zpfc[data-zpfc] button.zpfc-speak-cue.has-recording {
	border-color: #9bcfc5;
	background: #f2fbf8;
}

.zpfc[data-zpfc] .zpfc-voice-review {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 10px;
}

.zpfc[data-zpfc] .zpfc-voice-review[hidden] {
	display: none;
}

.zpfc[data-zpfc] .zpfc-voice-review button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid #cbdde1;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: #26485a;
	font: inherit;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.zpfc[data-zpfc] .zpfc-voice-review button:first-child {
	border-color: #7ebfca;
	background: #edf9fa;
	color: #08788c;
}

.zpfc[data-zpfc] .zpfc-voice-review button:hover {
	border-color: #5eafbd;
	background: #e7f6f7;
}

.zpfc[data-zpfc] .zpfc-voice-review button:disabled {
	cursor: wait;
	opacity: 0.55;
}

@keyframes zpfc-voice-pulse {
	0%, 100% { box-shadow: 0 0 0 5px rgba(186, 67, 67, 0.08); }
	50% { box-shadow: 0 0 0 10px rgba(186, 67, 67, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
	.zpfc[data-zpfc] button.zpfc-speak-cue.is-recording .zpfc-mic {
		animation: none;
	}
}

.zpfc[data-zpfc] .zpfc-mic {
	width: 31px;
	height: 31px;
}

.zpfc[data-zpfc] .zpfc-card__answer summary {
	min-height: 56px;
	padding: 11px 18px;
	font-size: 12px;
}

.zpfc[data-zpfc] .zpfc-card__answer-inner {
	padding: 20px clamp(24px, 4vw, 48px) 22px;
}

.zpfc[data-zpfc] .zpfc-ratings {
	gap: 8px;
	margin-top: 12px;
}

.zpfc[data-zpfc] button.zpfc-rating {
	min-height: 52px;
	border-radius: 11px;
}

.zpfc[data-zpfc] .zpfc-card-nav {
	margin-top: 12px;
}

.zpfc[data-zpfc] .zpfc-progress {
	top: 14px;
	padding: 16px;
}

.zpfc[data-zpfc] .zpfc-progress__head strong {
	font-size: 14px;
}

.zpfc[data-zpfc] .zpfc-progress__ring {
	width: 104px;
	height: 104px;
	margin: 16px auto 14px;
}

.zpfc[data-zpfc] .zpfc-progress__ring::before {
	inset: 7px;
}

.zpfc[data-zpfc] .zpfc-progress__ring strong {
	font-size: 22px;
}

.zpfc[data-zpfc] .zpfc-progress__stats > div {
	min-height: 34px;
}

.zpfc[data-zpfc] .zpfc-progress__stats dt,
.zpfc[data-zpfc] .zpfc-progress__stats dd {
	font-size: 9.5px;
}

.zpfc[data-zpfc] .zpfc-progress__history {
	padding-top: 12px;
}

.zpfc[data-zpfc] .zpfc-session-mini {
	margin-top: 14px;
	padding: 11px;
}

.zpfc[data-zpfc] .zpfc-login-note {
	margin-top: 13px;
	padding: 12px;
}

@media (max-width: 1180px) {
	.zpfc[data-zpfc] .zpfc-hero {
		padding-inline: 24px;
	}

	.zpfc[data-zpfc] .zpfc-modebar,
	.zpfc[data-zpfc] .zpfc-workspace {
		width: calc(100% - 40px);
	}

	.zpfc[data-zpfc] .zpfc-workspace {
		grid-template-columns: 230px minmax(460px, 1fr) 198px;
		gap: 14px;
	}

	.zpfc[data-zpfc] .zpfc-progress {
		position: sticky;
		display: block;
		grid-column: auto;
	}

	.zpfc[data-zpfc] .zpfc-progress__ring {
		width: 96px;
		height: 96px;
		margin: 14px auto 12px;
	}

	.zpfc[data-zpfc] .zpfc-progress__history {
		display: none;
	}

	.zpfc[data-zpfc] .zpfc-progress__stats {
		border-top: 1px solid #e3eaed;
	}

	.zpfc[data-zpfc] .zpfc-session-mini,
	.zpfc[data-zpfc] .zpfc-login-note {
		margin-top: 12px;
	}
}

@media (max-width: 1030px) {
	.zpfc[data-zpfc] .zpfc-workspace {
		grid-template-columns: 226px minmax(0, 1fr);
	}

	.zpfc[data-zpfc] .zpfc-progress {
		position: static;
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(120px, auto) 88px minmax(270px, 1fr) minmax(180px, 0.7fr);
		align-items: center;
		gap: 18px;
	}

	.zpfc[data-zpfc] .zpfc-progress__ring {
		width: 78px;
		height: 78px;
		margin: 0;
	}

	.zpfc[data-zpfc] .zpfc-progress__stats {
		border-top: 0;
	}

	.zpfc[data-zpfc] .zpfc-session-mini,
	.zpfc[data-zpfc] .zpfc-login-note {
		margin-top: 0;
	}
}

@media (max-width: 900px) {
	.zpfc[data-zpfc] .zpfc-hero {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 20px;
		min-height: 170px;
		padding: 22px 20px 30px;
	}

	.zpfc[data-zpfc] .zpfc-hero h1 {
		font-size: clamp(29px, 5.2vw, 38px);
	}

	.zpfc[data-zpfc] .zpfc-hero__daily {
		min-width: 290px;
		gap: 14px;
	}

	.zpfc[data-zpfc] .zpfc-modebar,
	.zpfc[data-zpfc] .zpfc-mobile-tools,
	.zpfc[data-zpfc] .zpfc-workspace {
		width: calc(100% - 28px);
	}

	.zpfc[data-zpfc] .zpfc-mobile-tools {
		margin-top: 13px;
	}

	.zpfc[data-zpfc] .zpfc-workspace {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 10px;
	}

	.zpfc[data-zpfc] .zpfc-chapters {
		position: fixed;
		padding-top: max(18px, env(safe-area-inset-top));
	}

	.zpfc[data-zpfc] .zpfc-progress {
		grid-column: auto;
		grid-template-columns: minmax(120px, auto) 78px minmax(240px, 1fr);
	}

	.zpfc[data-zpfc] .zpfc-login-note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-hero {
		grid-template-columns: 1fr;
		gap: 14px;
		min-height: auto;
		padding: 20px 16px 30px;
	}

	.zpfc[data-zpfc] .zpfc-hero h1 {
		font-size: clamp(27px, 8vw, 34px);
	}

	.zpfc[data-zpfc] .zpfc-hero h1 span {
		font-size: 0.55em;
	}

	.zpfc[data-zpfc] .zpfc-hero__lead {
		margin-top: 7px;
	}

	.zpfc[data-zpfc] .zpfc-hero__lead span {
		display: none;
	}

	.zpfc[data-zpfc] .zpfc-hero__meta {
		margin-top: 10px;
	}

	.zpfc[data-zpfc] .zpfc-hero__daily {
		width: 100%;
		min-width: 0;
		padding: 11px 12px 11px 15px;
	}

	.zpfc[data-zpfc] .zpfc-hero__daily-label {
		display: block;
	}

	.zpfc[data-zpfc] .zpfc-hero__daily-copy strong {
		font-size: 26px;
	}

	.zpfc[data-zpfc] .zpfc-button--glow,
	.zpfc[data-zpfc] button.zpfc-button--glow {
		min-height: 39px;
	}

	.zpfc[data-zpfc] .zpfc-modebar {
		width: calc(100% - 18px);
		min-height: 56px;
		gap: 7px;
		padding: 6px;
	}

	.zpfc[data-zpfc] button.zpfc-mode {
		min-height: 38px;
		padding-inline: 10px;
		font-size: 10.5px;
	}

	.zpfc[data-zpfc] .zpfc-mobile-tools,
	.zpfc[data-zpfc] .zpfc-workspace {
		width: calc(100% - 18px);
	}

	.zpfc[data-zpfc] .zpfc-study__toolbar h2 {
		font-size: 16px;
	}

	.zpfc[data-zpfc] .zpfc-card-stage,
	.zpfc[data-zpfc] .zpfc-card,
	.zpfc[data-zpfc] .zpfc-empty {
		min-height: 390px;
	}

	.zpfc[data-zpfc] .zpfc-card__question-wrap {
		min-height: 272px;
		padding: 26px 19px 22px;
	}

	.zpfc[data-zpfc] .zpfc-card__question-wrap h3 {
		font-size: clamp(21px, 6.7vw, 27px);
	}

	.zpfc[data-zpfc] .zpfc-progress {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 14px;
		padding: 14px;
	}

	.zpfc[data-zpfc] .zpfc-progress__ring {
		width: 72px;
		height: 72px;
	}

	.zpfc[data-zpfc] .zpfc-progress__stats,
	.zpfc[data-zpfc] .zpfc-session-mini,
	.zpfc[data-zpfc] .zpfc-login-note {
		grid-column: 1 / -1;
	}
}

@media (max-width: 420px) {
	.zpfc[data-zpfc] .zpfc-hero__daily-copy div span {
		display: inline;
	}

	.zpfc[data-zpfc] .zpfc-card__question-wrap h3 {
		font-size: 21px;
	}
}

/* Step 1 colour refresh — subject learning page only.
 * Keeps the header, hero, card, sidebars and interaction geometry unchanged. */
body.zpfc-study-page .site-content,
body.zpfc-study-page .site-content > .ast-container,
body.zpfc-study-page .site-content .site-main,
body.zpfc-study-page .site-content .site-main > article,
body.zpfc-study-page .entry-content {
	background: #edf5f5;
}

.zpfc[data-zpfc] {
	background:
		radial-gradient(ellipse 52% 38% at 52% 55%, rgba(33, 181, 188, 0.13) 0%, rgba(33, 181, 188, 0.045) 42%, transparent 72%),
		radial-gradient(ellipse 32% 30% at 7% 45%, rgba(12, 104, 127, 0.085) 0%, transparent 74%),
		radial-gradient(ellipse 30% 32% at 96% 64%, rgba(205, 174, 111, 0.085) 0%, transparent 72%),
		linear-gradient(132deg, #e7f1f2 0%, #f5f7f4 43%, #f8f4eb 68%, #eaf3f3 100%);
}

.zpfc[data-zpfc] .zpfc-workspace::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 26px;
	left: 232px;
	right: 198px;
	height: min(560px, 78vh);
	border: 1px solid rgba(28, 151, 164, 0.075);
	border-radius: 44% 56% 48% 52% / 52% 42% 58% 48%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.54) 0%, rgba(225, 245, 244, 0.2) 48%, transparent 74%);
	box-shadow: 0 34px 90px rgba(20, 104, 119, 0.055);
	pointer-events: none;
}

.zpfc[data-zpfc] .zpfc-workspace {
	isolation: isolate;
}

.zpfc[data-zpfc] .zpfc-modebar {
	border-color: rgba(136, 180, 187, 0.52);
	background: linear-gradient(105deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 249, 0.94));
	box-shadow: 0 14px 38px rgba(16, 74, 88, 0.095), inset 0 1px rgba(255, 255, 255, 0.9);
}

.zpfc[data-zpfc] button.zpfc-mode.is-active {
	background: linear-gradient(135deg, #d8f5f3, #e9f8f6);
	box-shadow: inset 0 0 0 1px rgba(20, 169, 181, 0.14);
	color: #075f70;
}

@media (max-width: 1030px) {
	.zpfc[data-zpfc] .zpfc-workspace::before {
		left: 190px;
		right: 0;
	}
}

@media (max-width: 900px) {
	.zpfc[data-zpfc] .zpfc-workspace::before {
		left: 0;
		right: 0;
		top: 12px;
		height: 520px;
	}
}

/* Step 2 card refresh — central study card only. */
.zpfc[data-zpfc] .zpfc-card-stage__back {
	border-color: rgba(72, 145, 154, 0.28);
	background: linear-gradient(135deg, rgba(221, 240, 239, 0.92), rgba(246, 239, 225, 0.88));
	box-shadow: 0 26px 62px rgba(24, 96, 108, 0.075);
}

.zpfc[data-zpfc] .zpfc-card {
	border-color: rgba(103, 154, 160, 0.46);
	background:
		radial-gradient(ellipse 66% 54% at 50% 46%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 247, 0.95) 68%, rgba(250, 246, 237, 0.96) 100%),
		repeating-linear-gradient(90deg, transparent 0 34px, rgba(9, 147, 169, 0.026) 35px 36px);
	box-shadow:
		0 30px 70px rgba(20, 82, 96, 0.14),
		0 4px 12px rgba(15, 29, 46, 0.055),
		inset 0 1px rgba(255, 255, 255, 0.96);
}

.zpfc[data-zpfc] .zpfc-card__top {
	border-bottom-color: rgba(91, 151, 158, 0.2);
	background: linear-gradient(100deg, rgba(231, 247, 245, 0.82), rgba(255, 252, 245, 0.78));
}

.zpfc[data-zpfc] .zpfc-card__labels {
	gap: 7px;
	letter-spacing: 0.1em;
}

.zpfc[data-zpfc] .zpfc-card__labels span {
	max-width: min(52vw, 370px);
	padding: 4px 8px;
	border: 1px solid rgba(24, 151, 164, 0.14);
	border-radius: 999px;
	background: rgba(222, 245, 243, 0.72);
	color: #39717a;
}

.zpfc[data-zpfc] .zpfc-card__labels span:last-child {
	border-color: rgba(176, 139, 71, 0.16);
	background: rgba(248, 238, 216, 0.68);
	color: #77603b;
}

.zpfc[data-zpfc] .zpfc-card__labels i {
	display: none;
}

.zpfc[data-zpfc] .zpfc-card__question-wrap {
	background: radial-gradient(ellipse 48% 48% at 50% 52%, rgba(197, 238, 237, 0.18), transparent 74%);
}

.zpfc[data-zpfc] .zpfc-card__kicker {
	color: #0a8291;
	text-shadow: 0 1px rgba(255, 255, 255, 0.9);
}

.zpfc[data-zpfc] .zpfc-card__question-wrap h3 {
	color: #10263a;
	font-weight: 670;
	text-wrap: balance;
}

.zpfc[data-zpfc] .zpfc-speak-cue {
	border-color: rgba(33, 156, 170, 0.23);
	background: linear-gradient(110deg, rgba(229, 247, 245, 0.9), rgba(249, 247, 239, 0.84));
	box-shadow: 0 8px 22px rgba(20, 106, 119, 0.055);
}

.zpfc[data-zpfc] .zpfc-card__answer:not([open]) {
	padding: 11px 18px;
	border-top-color: rgba(80, 145, 153, 0.2);
	background: linear-gradient(100deg, rgba(239, 249, 248, 0.9), rgba(251, 247, 238, 0.88));
}

.zpfc[data-zpfc] .zpfc-card__answer:not([open]) summary {
	width: min(330px, 100%);
	min-height: 46px;
	margin: 0 auto;
	padding: 10px 18px;
	border: 1px solid rgba(79, 224, 224, 0.72);
	border-radius: 999px;
	background: linear-gradient(135deg, #119caf 0%, #08788c 55%, #086b7d 100%);
	box-shadow: 0 9px 24px rgba(7, 119, 138, 0.19), inset 0 1px rgba(255, 255, 255, 0.25);
	color: #ffffff;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.zpfc[data-zpfc] .zpfc-card__answer:not([open]) summary:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #18adba 0%, #09879a 56%, #087486 100%);
	box-shadow: 0 12px 30px rgba(7, 119, 138, 0.24), inset 0 1px rgba(255, 255, 255, 0.3);
}

.zpfc[data-zpfc] .zpfc-card__answer:not([open]) summary kbd {
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.9);
}

.zpfc[data-zpfc] .zpfc-card__answer[open] {
	background: linear-gradient(180deg, #fbfdfb, #fffdf8);
}

@media (min-width: 681px) {
	.zpfc[data-zpfc] .zpfc-card-stage,
	.zpfc[data-zpfc] .zpfc-card,
	.zpfc[data-zpfc] .zpfc-empty {
		min-height: 396px;
	}

	.zpfc[data-zpfc] .zpfc-card__question-wrap {
		min-height: 278px;
	}
}

@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-card__labels span {
		max-width: 58vw;
		padding: 3px 6px;
	}

	.zpfc[data-zpfc] .zpfc-card__labels span:last-child {
		display: none;
	}

	.zpfc[data-zpfc] .zpfc-card__answer:not([open]) {
		padding-inline: 12px;
	}
}

/* Step 3 sidebar refresh — learning path and progress only. */
.zpfc[data-zpfc] .zpfc-chapters,
.zpfc[data-zpfc] .zpfc-progress {
	border-color: rgba(80, 145, 153, 0.34);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 247, 0.95));
	box-shadow:
		0 20px 50px rgba(19, 74, 86, 0.095),
		0 3px 10px rgba(18, 46, 58, 0.04),
		inset 0 1px rgba(255, 255, 255, 0.96);
}

.zpfc[data-zpfc] .zpfc-chapters::after,
.zpfc[data-zpfc] .zpfc-progress::after {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	width: 2px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(13, 157, 171, 0.72), rgba(197, 163, 96, 0.34), transparent 88%);
	pointer-events: none;
}

.zpfc[data-zpfc] .zpfc-chapters::after {
	left: -1px;
}

.zpfc[data-zpfc] .zpfc-progress::after {
	right: -1px;
}

.zpfc[data-zpfc] .zpfc-chapters__head,
.zpfc[data-zpfc] .zpfc-progress__head {
	position: relative;
	padding-bottom: 13px;
}

.zpfc[data-zpfc] .zpfc-chapters__head::after,
.zpfc[data-zpfc] .zpfc-progress__head::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(18, 151, 165, 0.3), rgba(18, 151, 165, 0.04));
}

.zpfc[data-zpfc] .zpfc-chapters__head span,
.zpfc[data-zpfc] .zpfc-progress__head > span {
	color: #287484;
	letter-spacing: 0.17em;
}

.zpfc[data-zpfc] .zpfc-chapters__head h2,
.zpfc[data-zpfc] .zpfc-progress__head strong {
	color: #10293b;
}

.zpfc[data-zpfc] .zpfc-chapters > button.zpfc-chapter {
	margin-top: 8px;
}

.zpfc[data-zpfc] .zpfc-chapters__list {
	margin-top: 5px;
	padding: 2px 3px 2px 0;
	scrollbar-color: rgba(47, 139, 151, 0.46) transparent;
}

.zpfc[data-zpfc] button.zpfc-chapter {
	border-color: rgba(124, 164, 170, 0.12);
	background: rgba(255, 255, 255, 0.46);
}

.zpfc[data-zpfc] button.zpfc-chapter + .zpfc-chapter {
	margin-top: 4px;
}

.zpfc[data-zpfc] button.zpfc-chapter:hover {
	border-color: rgba(32, 163, 176, 0.32);
	background: linear-gradient(100deg, rgba(231, 248, 246, 0.88), rgba(255, 252, 244, 0.76));
	box-shadow: 0 5px 14px rgba(18, 104, 117, 0.055);
}

.zpfc[data-zpfc] button.zpfc-chapter.is-active {
	border-color: rgba(15, 166, 181, 0.52);
	background: linear-gradient(105deg, rgba(214, 245, 243, 0.98), rgba(251, 247, 235, 0.94));
	box-shadow:
		0 8px 18px rgba(12, 126, 142, 0.105),
		inset 3px 0 #0b91a2;
}

.zpfc[data-zpfc] .zpfc-chapter__number {
	border-color: rgba(92, 146, 154, 0.3);
	background: rgba(249, 252, 250, 0.88);
	color: #466372;
}

.zpfc[data-zpfc] .zpfc-chapter.is-active .zpfc-chapter__number {
	border-color: #168fa1;
	background: linear-gradient(145deg, #1aa5b4, #08788c);
	box-shadow: 0 5px 12px rgba(8, 120, 140, 0.2);
}

.zpfc[data-zpfc] .zpfc-chapter__body strong {
	color: #172d3f;
}

.zpfc[data-zpfc] .zpfc-chapter__progress {
	min-width: 31px;
	padding: 3px 5px;
	border-radius: 999px;
	background: rgba(231, 240, 239, 0.82);
	color: #365f69;
	text-align: center;
}

.zpfc[data-zpfc] .zpfc-chapter.is-active .zpfc-chapter__progress {
	background: rgba(255, 255, 255, 0.78);
	color: #08788c;
}

.zpfc[data-zpfc] .zpfc-progress__ring {
	border: 1px solid rgba(62, 149, 158, 0.2);
	background: conic-gradient(#10a8b6 calc(var(--progress) * 1%), #dfe9e8 0);
	box-shadow:
		0 13px 28px rgba(18, 115, 127, 0.11),
		inset 0 0 0 4px rgba(255, 255, 255, 0.68);
}

.zpfc[data-zpfc] .zpfc-progress__ring::before {
	background: radial-gradient(circle at 38% 30%, #ffffff, #fbf8ef 92%);
	box-shadow: inset 0 0 0 1px rgba(91, 146, 151, 0.13);
}

.zpfc[data-zpfc] .zpfc-progress__ring strong {
	color: #10293b;
}

.zpfc[data-zpfc] .zpfc-progress__ring span {
	color: #39717a;
}

.zpfc[data-zpfc] .zpfc-progress__stats {
	padding-top: 6px;
	border-top-color: rgba(87, 145, 151, 0.22);
}

.zpfc[data-zpfc] .zpfc-progress__stats > div {
	min-height: 36px;
	padding: 0 7px;
	border-bottom-color: rgba(106, 151, 156, 0.13);
	border-radius: 8px;
}

.zpfc[data-zpfc] .zpfc-progress__stats > div:nth-child(odd) {
	background: rgba(234, 246, 244, 0.38);
}

.zpfc[data-zpfc] .zpfc-progress__stats dt {
	color: #56707a;
}

.zpfc[data-zpfc] .zpfc-progress__stats dd {
	color: #173447;
}

.zpfc[data-zpfc] .zpfc-progress__history > span {
	color: #37717b;
	letter-spacing: 0.14em;
}

.zpfc[data-zpfc] .zpfc-progress__history p b {
	border: 1px solid rgba(95, 148, 153, 0.12);
	background: rgba(241, 247, 245, 0.88);
}

.zpfc[data-zpfc] .zpfc-progress__history p b.is-known {
	background: rgba(224, 244, 237, 0.82);
}

.zpfc[data-zpfc] .zpfc-progress__history p b.is-unsure {
	background: rgba(250, 241, 218, 0.85);
}

.zpfc[data-zpfc] .zpfc-progress__history p b.is-again {
	background: rgba(249, 231, 230, 0.78);
}

.zpfc[data-zpfc] .zpfc-session-mini {
	border: 1px solid rgba(85, 150, 156, 0.17);
	background: linear-gradient(145deg, rgba(232, 247, 245, 0.9), rgba(251, 247, 237, 0.88));
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.82);
}

.zpfc[data-zpfc] .zpfc-session-mini__bar {
	background: rgba(94, 145, 151, 0.2);
}

.zpfc[data-zpfc] .zpfc-login-note {
	border-color: rgba(42, 153, 166, 0.24);
	background: linear-gradient(145deg, rgba(235, 249, 247, 0.94), rgba(252, 247, 236, 0.92));
}

@media (max-width: 900px) {
	.zpfc[data-zpfc] .zpfc-chapters::after {
		display: none;
	}

	.zpfc[data-zpfc] .zpfc-progress::after {
		top: 14px;
		bottom: 14px;
	}
}

@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-progress::after {
		display: none;
	}

	.zpfc[data-zpfc] .zpfc-progress__head {
		align-self: center;
	}
}

/* v1.9.0 — learner account + explicit Unsicher mode */
.zpfc-account-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	padding: 9px 14px;
	border: 1px solid rgba(150, 225, 230, .35);
	border-radius: 999px;
	background: rgba(11, 38, 49, .54);
	color: #dffbff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
}

.zpfc-progress__account-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	padding: 11px 12px;
	border: 1px solid #dce8e7;
	border-radius: 12px;
	background: #f7fbfa;
	color: #17384a;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.zpfc-account {
	--zpfc-account-ink: #10283a;
	--zpfc-account-muted: #647987;
	--zpfc-account-line: #dbe7e8;
	--zpfc-account-accent: #4fa7b5;
	width: min(1180px, calc(100% - 32px));
	margin: 48px auto 72px;
	color: var(--zpfc-account-ink);
	font-family: inherit;
}

.zpfc-account * { box-sizing: border-box; }

.zpfc-account__intro,
.zpfc-account__dashboard-head {
	padding: 34px 38px;
	border: 1px solid #d7e4e5;
	border-radius: 28px;
	background: linear-gradient(135deg, #f7fbfb 0%, #eef7f7 55%, #f9f7ef 100%);
	box-shadow: 0 20px 55px rgba(28, 61, 72, .08);
}

.zpfc-account__intro > span,
.zpfc-account__dashboard-head > div > span,
.zpfc-account__section-head > span,
.zpfc-account__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #4c8592;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .18em;
}

.zpfc-account__intro h1,
.zpfc-account__dashboard-head h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 52px);
	line-height: 1.02;
	letter-spacing: -.045em;
}

.zpfc-account__intro p,
.zpfc-account__dashboard-head p {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--zpfc-account-muted);
	font-size: 16px;
	line-height: 1.65;
}

.zpfc-account__notice,
.zpfc-account__sync {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-radius: 14px;
	background: #eef8f8;
	border: 1px solid #cde5e7;
}

.zpfc-account__notice.is-error,
.zpfc-account__sync.is-error {
	background: #fff4f3;
	border-color: #efd2cf;
}

.zpfc-account__auth-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-top: 22px;
}

.zpfc-account__panel {
	padding: 28px;
	border: 1px solid var(--zpfc-account-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(28, 61, 72, .06);
}

.zpfc-account__panel h2 {
	margin: 0 0 20px;
	font-size: 26px;
	letter-spacing: -.025em;
}

.zpfc-account__panel label:not(.zpfc-account__check) {
	display: grid;
	gap: 7px;
	margin: 0 0 15px;
	font-size: 13px;
	font-weight: 750;
}

.zpfc-account__panel input[type="text"],
.zpfc-account__panel input[type="email"],
.zpfc-account__panel input[type="password"] {
	width: 100%;
	min-height: 48px;
	padding: 10px 13px;
	border: 1px solid #ceddde;
	border-radius: 12px;
	background: #fbfdfd;
	font: inherit;
}

.zpfc-account__check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 4px 0 16px;
	color: var(--zpfc-account-muted);
	font-size: 13px;
	line-height: 1.45;
}

.zpfc-account__check input { margin-top: 3px; }
.zpfc-account__honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }

.zpfc-account__primary,
.zpfc-account__secondary,
.zpfc-account__subject-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 12px;
	font-weight: 850;
	text-decoration: none;
	cursor: pointer;
}

button.zpfc-account__primary,
a.zpfc-account__primary {
	border: 1px solid #3d94a2;
	background: #4fa7b5;
	color: #fff;
}

.zpfc-account__secondary {
	border: 1px solid #d4e1e2;
	background: #fff;
	color: var(--zpfc-account-ink);
}

.zpfc-account__text-link {
	display: inline-block;
	margin-top: 12px;
	color: #407989;
	font-size: 13px;
	font-weight: 750;
}

.zpfc-account__dashboard-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.zpfc-account__head-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zpfc-account__sync {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

.zpfc-account__overview {
	display: grid;
	grid-template-columns: 150px repeat(4, 1fr);
	gap: 14px;
	margin-top: 22px;
}

.zpfc-account__overview > div:not(.zpfc-account__ring) {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 132px;
	padding: 18px;
	border: 1px solid var(--zpfc-account-line);
	border-radius: 18px;
	background: #fff;
}

.zpfc-account__overview span { color: var(--zpfc-account-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.zpfc-account__overview strong { margin-top: 6px; font-size: 30px; line-height: 1; }
.zpfc-account__overview small { margin-top: 7px; color: var(--zpfc-account-muted); }

.zpfc-account__ring {
	display: grid;
	place-content: center;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at center, #fff 58%, transparent 59%), conic-gradient(#58aeba calc(var(--progress) * 1%), #e2ebeb 0);
	text-align: center;
}

.zpfc-account__ring strong { font-size: 28px; }
.zpfc-account__ring span { margin-top: 4px; font-size: 10px; }

.zpfc-account__subjects {
	margin-top: 34px;
}

.zpfc-account__section-head h2 {
	margin: 0 0 16px;
	font-size: 30px;
}

.zpfc-account__subject {
	margin-bottom: 12px;
	padding: 18px 20px;
	border: 1px solid var(--zpfc-account-line);
	border-radius: 18px;
	background: #fff;
}

.zpfc-account__subject-main,
.zpfc-account__subject-actions,
.zpfc-account__subject-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.zpfc-account__subject-main > div { display: grid; gap: 3px; }
.zpfc-account__subject-main strong { font-size: 18px; }
.zpfc-account__subject-main span,
.zpfc-account__subject-meta { color: var(--zpfc-account-muted); font-size: 12px; }
.zpfc-account__subject-main > b { font-size: 18px; }

.zpfc-account__bar {
	height: 6px;
	margin: 12px 0;
	border-radius: 999px;
	background: #e5eeee;
	overflow: hidden;
}
.zpfc-account__bar i { display: block; height: 100%; border-radius: inherit; background: #58aeba; }

.zpfc-account__subject-meta { justify-content: flex-start; flex-wrap: wrap; }
.zpfc-account__subject-actions { justify-content: flex-start; margin-top: 14px; }
.zpfc-account__subject-actions a { min-height: 38px; padding: 8px 12px; border: 1px solid #d5e3e4; background: #f7fbfb; color: #285568; font-size: 12px; }

@media (max-width: 900px) {
	.zpfc-account__auth-grid { grid-template-columns: 1fr; }
	.zpfc-account__dashboard-head { align-items: flex-start; flex-direction: column; }
	.zpfc-account__overview { grid-template-columns: repeat(2, 1fr); }
	.zpfc-account__ring { grid-column: span 2; width: 150px; justify-self: center; }
}

@media (max-width: 560px) {
	.zpfc-account { width: min(100% - 18px, 1180px); margin-top: 18px; }
	.zpfc-account__intro,
	.zpfc-account__dashboard-head,
	.zpfc-account__panel { padding: 22px 18px; border-radius: 18px; }
	.zpfc-account__overview { grid-template-columns: 1fr 1fr; }
	.zpfc-account__subject-main { align-items: flex-start; }
	.zpfc-account__subject-meta { gap: 7px 12px; }
	.zpfc-account__subject-actions { align-items: stretch; flex-direction: column; }
	.zpfc-account__subject-actions a { width: 100%; }
}


/* v1.9.1 — Focus Study Mode: flashcard first, controls in an app-style drawer. */
.zpfc[data-zpfc].zpfc--focus {
	min-height: min(900px, 100dvh);
	padding: 0 0 42px;
	background:
		radial-gradient(circle at 50% 18%, rgba(224, 246, 244, .72), transparent 38%),
		linear-gradient(145deg, #edf5f5 0%, #f8f8f3 52%, #eef6f6 100%);
}

.zpfc[data-zpfc].zpfc--focus .zpfc-hero,
.zpfc[data-zpfc].zpfc--focus > .zpfc-modebar,
.zpfc[data-zpfc].zpfc--focus > .zpfc-mobile-tools,
.zpfc[data-zpfc].zpfc--focus .zpfc-workspace > .zpfc-chapters,
.zpfc[data-zpfc].zpfc--focus .zpfc-workspace > .zpfc-progress,
.zpfc[data-zpfc].zpfc--focus .zpfc-card-nav {
	display: none !important;
}

.zpfc[data-zpfc].zpfc--focus .zpfc-workspace {
	display: block;
	width: min(100% - 28px, 920px);
	max-width: 920px;
	margin: 0 auto;
	padding: 18px 0 0;
	background: transparent;
}

.zpfc[data-zpfc].zpfc--focus .zpfc-workspace::before {
	left: 2%;
	right: 2%;
	top: 36px;
	height: 620px;
}

.zpfc[data-zpfc].zpfc--focus .zpfc-study {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
}

.zpfc[data-zpfc].zpfc--focus .zpfc-study__toolbar {
	display: none !important;
}

.zpfc-focusbar {
	position: sticky;
	top: 0;
	z-index: 54;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	width: min(100% - 28px, 920px);
	min-height: 66px;
	margin: 0 auto;
	padding: 10px 12px;
	border: 1px solid rgba(88, 150, 158, .24);
	border-top: 0;
	border-radius: 0 0 18px 18px;
	background: rgba(249, 252, 249, .91);
	box-shadow: 0 14px 34px rgba(20, 74, 86, .09);
	backdrop-filter: blur(18px);
}

.zpfc-focusbar__back,
.zpfc-focusbar__menu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	border: 1px solid rgba(93, 145, 151, .22);
	border-radius: 12px;
	background: rgba(255, 255, 255, .76);
	color: #17394a;
	font-weight: 800;
	text-decoration: none;
}

.zpfc-focusbar__back { gap: 6px; padding: 8px 11px; font-size: 12px; }
.zpfc-focusbar__context { min-width: 0; display: grid; gap: 2px; }
.zpfc-focusbar__context strong { overflow: hidden; color: #102a3d; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.zpfc-focusbar__context span { overflow: hidden; color: #5b7c84; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.zpfc-focusbar__actions { display: flex; align-items: center; gap: 9px; }
.zpfc-focusbar__actions > span { color: #4e6c76; font-size: 12px; font-weight: 800; white-space: nowrap; }
.zpfc-focusbar__menu { padding: 0; cursor: pointer; font-size: 18px; }

.zpfc-focus-scrim:not([hidden]) {
	position: fixed;
	z-index: 9988;
	inset: 0;
	display: block;
	background: rgba(7, 25, 34, .42);
	backdrop-filter: blur(2px);
}

.zpfc-focus-drawer:not([hidden]) {
	position: fixed;
	z-index: 9989;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 92vw);
	height: 100dvh;
	padding: max(18px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
	overflow-y: auto;
	border-left: 1px solid rgba(95, 151, 158, .28);
	background: linear-gradient(165deg, #fbfdfb, #f3f8f7 62%, #faf6ee);
	box-shadow: -20px 0 60px rgba(7, 31, 43, .22);
}

.zpfc-focus-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding-bottom: 14px;
	border-bottom: 1px solid #dce9e8;
}
.zpfc-focus-drawer__head > div { display: grid; gap: 3px; }
.zpfc-focus-drawer__head span,
.zpfc-focus-drawer__section > span { color: #4c8490; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.zpfc-focus-drawer__head strong { color: #102b3e; font-size: 20px; }
.zpfc-focus-drawer__head > button { width: 40px; height: 40px; border: 1px solid #d5e3e3; border-radius: 12px; background: #fff; color: #294d5c; font-size: 24px; cursor: pointer; }
.zpfc-focus-drawer__section { display: grid; gap: 10px; margin-top: 20px; }
.zpfc-focus-drawer__modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode {
	justify-content: center;
	min-height: 44px;
	padding: 9px 10px;
	border: 1px solid #d8e5e5;
	border-radius: 12px;
	background: #fff;
	color: #365866;
	font-size: 12px;
	font-weight: 800;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode.is-active {
	border-color: rgba(18, 159, 174, .42);
	background: linear-gradient(135deg, #dcf4f2, #eef9f7);
	color: #076576;
}
.zpfc-focus-drawer__session label { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #d9e6e5; border-radius: 12px; background: #fff; color: #365866; font-size: 12px; font-weight: 750; }
.zpfc-focus-drawer__session select { min-width: 82px; min-height: 38px; padding: 6px 28px 6px 10px; border: 1px solid #cbdcdd; border-radius: 10px; background: #fbfdfd; color: #173849; font: inherit; }
.zpfc-focus-drawer__chapters { display: grid; gap: 6px; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	width: 100%;
	min-height: 44px;
	padding: 7px 9px;
	border: 1px solid #dde8e7;
	border-radius: 12px;
	background: rgba(255,255,255,.8);
	text-align: left;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter > span { display: grid; place-content: center; width: 30px; height: 30px; border: 1px solid #d3e1e2; border-radius: 9px; color: #4d707a; font-size: 10px; font-weight: 900; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter > strong { overflow: hidden; color: #193445; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter.is-active { border-color: rgba(17, 159, 174, .44); background: linear-gradient(105deg, #e2f6f4, #fbf8ee); }
.zpfc-focus-drawer__account { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding: 13px 14px; border: 1px solid #cfdfdf; border-radius: 13px; background: #fff; color: #173b4c; font-size: 13px; font-weight: 850; text-decoration: none; }

.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage,
.zpfc[data-zpfc].zpfc--focus .zpfc-card,
.zpfc[data-zpfc].zpfc--focus .zpfc-empty {
	min-height: 500px;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap { min-height: 365px; padding-top: 54px; padding-bottom: 42px; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 { max-width: 740px; margin-inline: auto; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-text { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.zpfc[data-zpfc].zpfc--focus .zpfc-ratings { position: sticky; z-index: 52; bottom: max(10px, env(safe-area-inset-bottom)); width: min(100%, 860px); margin: 12px auto 0; box-shadow: 0 16px 42px rgba(18, 63, 74, .16); }

@media (max-width: 680px) {
	.zpfc[data-zpfc].zpfc--focus { padding-bottom: 26px; }
	.zpfc-focusbar { width: 100%; min-height: 58px; padding: 7px 9px; border-inline: 0; border-radius: 0 0 14px 14px; }
	.zpfc-focusbar__back { min-width: 40px; padding: 7px; }
	.zpfc-focusbar__back span:last-child { display: none; }
	.zpfc-focusbar__context strong { font-size: 13px; }
	.zpfc-focusbar__context span { font-size: 10px; }
	.zpfc-focusbar__actions { gap: 6px; }
	.zpfc-focusbar__actions > span { font-size: 11px; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-workspace { width: min(100% - 14px, 920px); padding-top: 10px; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage,
	.zpfc[data-zpfc].zpfc--focus .zpfc-card,
	.zpfc[data-zpfc].zpfc--focus .zpfc-empty { min-height: calc(100dvh - 190px); }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap { min-height: 330px; padding: 42px 20px 32px; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 { font-size: clamp(26px, 8vw, 34px); line-height: 1.13; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue { margin-top: 22px; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-inner { padding: 27px 22px 26px; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-text { font-size: 19px; line-height: 1.62; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-ratings { bottom: max(6px, env(safe-area-inset-bottom)); margin-top: 8px; border-radius: 18px; }
}

/* ========================================================================
   v2.0.0 — PWA APP SHELL
   WordPress stays the backend; learner-facing Flashcards behave like an app.
   ======================================================================== */
:root {
	--zpfc-pwa-navy: #071727;
	--zpfc-pwa-navy-2: #0b2438;
	--zpfc-pwa-cyan: #35b8c9;
	--zpfc-pwa-mint: #dff5f2;
	--zpfc-pwa-paper: #fbfbf7;
	--zpfc-pwa-bg: #eef5f4;
	--zpfc-pwa-ink: #10283a;
	--zpfc-pwa-muted: #657b86;
	--zpfc-pwa-line: rgba(43, 94, 108, .14);
	--zpfc-pwa-shadow: 0 18px 55px rgba(18, 54, 67, .10);
}

html.zpfc-pwa-standalone,
html.zpfc-pwa-standalone body {
	overscroll-behavior-y: none;
}

body.zpfc-pwa-page {
	margin: 0 !important;
	background: var(--zpfc-pwa-bg) !important;
	color: var(--zpfc-pwa-ink);
	-webkit-tap-highlight-color: transparent;
}

body.zpfc-pwa-page #masthead,
body.zpfc-pwa-page .site-header,
body.zpfc-pwa-page #colophon,
body.zpfc-pwa-page .site-footer,
body.zpfc-pwa-page .ast-footer-overlay {
	display: none !important;
}

body.zpfc-pwa-page #page,
body.zpfc-pwa-page .site,
body.zpfc-pwa-page .site-content,
body.zpfc-pwa-page #content,
body.zpfc-pwa-page .ast-container,
body.zpfc-pwa-page .site-main,
body.zpfc-pwa-page article.page,
body.zpfc-pwa-page .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.zpfc-pwa-page .entry-header,
body.zpfc-pwa-page .entry-title,
body.zpfc-pwa-page .post-thumb-img-content,
body.zpfc-pwa-page .ast-breadcrumbs-wrapper {
	display: none !important;
}

body.zpfc-pwa-page.admin-bar .zpfc-pwa-topbar,
body.zpfc-pwa-page.admin-bar .zpfc-focusbar { top: 32px; }

.zpfc-pwa-topbar {
	position: sticky;
	top: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 68px;
	padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
	border-bottom: 1px solid rgba(130, 215, 221, .12);
	background: rgba(7, 23, 39, .96);
	box-shadow: 0 10px 28px rgba(3, 15, 26, .14);
	backdrop-filter: blur(18px);
}

.zpfc-pwa-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: #fff;
	text-decoration: none !important;
}

.zpfc-pwa-brand img {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.zpfc-pwa-brand > span { display: grid; gap: 0; }
.zpfc-pwa-brand strong { color: #fff; font-size: 17px; line-height: 1; letter-spacing: -.03em; }
.zpfc-pwa-brand small { margin-top: 3px; color: #8cdde5; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.zpfc-pwa-topbar__actions { display: flex; align-items: center; gap: 8px; }
.zpfc-pwa-topbar__actions a,
.zpfc-pwa-topbar__actions button {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid rgba(151, 226, 231, .2);
	border-radius: 13px;
	background: rgba(255,255,255,.06);
	color: #e9fdff;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}
.zpfc-pwa-topbar__actions button:not([hidden]) { display: inline-flex; }

.zpfc-pwa-status {
	position: fixed;
	z-index: 100000;
	left: 50%;
	bottom: calc(78px + env(safe-area-inset-bottom));
	transform: translateX(-50%);
	width: max-content;
	max-width: calc(100vw - 28px);
	padding: 10px 14px;
	border: 1px solid rgba(112, 190, 198, .28);
	border-radius: 999px;
	background: rgba(7, 28, 41, .94);
	box-shadow: 0 14px 38px rgba(0,0,0,.2);
	color: #f3ffff;
	font-size: 12px;
	font-weight: 750;
	text-align: center;
}

/* PWA home — compact dashboard instead of marketing webpage. */
.zpfc-directory {
	min-height: 100dvh;
	padding-bottom: calc(78px + env(safe-area-inset-bottom));
	background:
		radial-gradient(circle at 90% 5%, rgba(68, 188, 200, .14), transparent 28%),
		linear-gradient(180deg, #f4f8f7 0%, #edf5f4 100%) !important;
}

.zpfc-directory > .zpfc-pwa-topbar { width: 100%; }

.zpfc-directory__hero {
	min-height: auto !important;
	padding: 26px 20px 14px !important;
	background: none !important;
	color: var(--zpfc-pwa-ink) !important;
}
.zpfc-directory__hero::before,
.zpfc-directory__hero::after,
.zpfc-directory__contour,
.zpfc-directory__showcase { display: none !important; }

.zpfc-directory__hero-inner {
	display: block !important;
	width: min(100%, 1080px) !important;
	margin: 0 auto !important;
	padding: 0 !important;
}
.zpfc-directory__copy { width: 100% !important; max-width: none !important; }
.zpfc-directory__eyebrow { color: #48818b !important; font-size: 10px !important; }
.zpfc-directory__copy h1 {
	max-width: 720px;
	margin: 9px 0 9px !important;
	color: var(--zpfc-pwa-ink) !important;
	font-family: inherit !important;
	font-size: clamp(30px, 6vw, 54px) !important;
	font-weight: 850 !important;
	line-height: 1.02 !important;
	letter-spacing: -.045em !important;
}
.zpfc-directory__copy h1 span { display: inline !important; }
.zpfc-directory__copy h1 span + span::before { content: ' '; }
.zpfc-directory__lead { margin: 0 0 20px !important; color: var(--zpfc-pwa-muted) !important; font-size: 15px !important; }
.zpfc-directory .zpfc-account-pill { display: none !important; }
.zpfc-directory__method { display: none !important; }

.zpfc-directory__daily {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	width: min(100%, 520px) !important;
	min-height: 78px !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1px solid rgba(34, 145, 158, .20) !important;
	border-radius: 20px !important;
	background: linear-gradient(135deg, #0a2637, #0a3d49) !important;
	box-shadow: 0 16px 36px rgba(16, 72, 83, .15) !important;
	color: #fff !important;
	text-decoration: none !important;
}
.zpfc-directory__daily strong { min-width: 48px; font-size: 34px !important; line-height: 1 !important; }
.zpfc-directory__daily span { color: #d9f3f4 !important; font-size: 14px !important; font-weight: 800 !important; }
.zpfc-directory__daily i { display: grid !important; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.1); font-style: normal; }

.zpfc-directory__quick {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px !important;
	width: min(calc(100% - 40px), 1080px) !important;
	margin: 10px auto 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.zpfc-directory__quick a {
	min-height: 62px !important;
	padding: 12px 14px !important;
	border: 1px solid var(--zpfc-pwa-line) !important;
	border-radius: 17px !important;
	background: rgba(255,255,255,.82) !important;
	box-shadow: 0 8px 22px rgba(19, 65, 77, .05) !important;
	color: #284b5a !important;
	text-decoration: none !important;
}
.zpfc-directory__quick a:hover { transform: translateY(-1px); }

.zpfc-pwa-today {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: min(calc(100% - 40px), 1080px);
	margin: 14px auto 0;
}
.zpfc-pwa-today > div {
	display: grid;
	gap: 3px;
	min-height: 104px;
	padding: 15px 16px;
	border: 1px solid var(--zpfc-pwa-line);
	border-radius: 18px;
	background: rgba(255,255,255,.78);
	box-shadow: 0 9px 24px rgba(16, 60, 72, .05);
}
.zpfc-pwa-today span { color: #5c8b92; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.zpfc-pwa-today strong { color: #102d3e; font-size: 27px; line-height: 1.05; }
.zpfc-pwa-today small { color: #73868d; font-size: 11px; }

.zpfc-directory__rooms {
	width: min(calc(100% - 40px), 1080px) !important;
	margin: 28px auto 0 !important;
	padding: 0 !important;
}
.zpfc-directory__rooms-heading { margin-bottom: 12px !important; }
.zpfc-directory__rooms-heading p { margin: 0 0 4px !important; color: #51838b !important; font-size: 9px !important; }
.zpfc-directory__rooms-heading h2 { margin: 0 !important; color: #122d3d !important; font-family: inherit !important; font-size: clamp(24px, 4vw, 34px) !important; font-weight: 850 !important; letter-spacing: -.035em !important; }
.zpfc-directory__rooms-meta { color: #71858e !important; }
.zpfc-directory__gallery-buttons { display: none !important; }
.zpfc-directory__gallery { overflow: visible !important; padding: 0 !important; }
.zpfc-directory__track {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px !important;
	transform: none !important;
}
.zpfc-subject-room {
	position: relative;
	width: auto !important;
	min-width: 0 !important;
	height: 164px !important;
	padding: 18px !important;
	border: 1px solid rgba(125, 184, 190, .18) !important;
	border-radius: 21px !important;
	box-shadow: 0 12px 30px rgba(13, 55, 69, .10) !important;
	transition: transform .18s ease, box-shadow .18s ease !important;
}
.zpfc-subject-room:hover { transform: translateY(-2px) !important; box-shadow: 0 18px 36px rgba(13, 55, 69, .14) !important; }
.zpfc-subject-room strong { max-width: 75%; font-size: 20px !important; line-height: 1.08 !important; }
.zpfc-subject-room__ring { width: 48px !important; height: 48px !important; }

.zpfc-pwa-bottomnav {
	position: fixed;
	z-index: 90;
	left: 50%;
	bottom: max(10px, env(safe-area-inset-bottom));
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px;
	border: 1px solid rgba(74, 132, 143, .18);
	border-radius: 20px;
	background: rgba(255,255,255,.92);
	box-shadow: 0 14px 38px rgba(12, 47, 61, .16);
	backdrop-filter: blur(18px);
}
.zpfc-pwa-bottomnav a {
	display: grid;
	place-items: center;
	gap: 1px;
	min-width: 78px;
	min-height: 48px;
	padding: 6px 12px;
	border-radius: 15px;
	color: #64808a;
	text-decoration: none;
}
.zpfc-pwa-bottomnav a.is-active { background: #e4f5f3; color: #0a7282; }
.zpfc-pwa-bottomnav span { font-size: 18px; line-height: 1; }
.zpfc-pwa-bottomnav small { font-size: 9px; font-weight: 850; }

/* Study room — card first, native-app proportions. */
.zpfc[data-zpfc].zpfc--focus {
	min-height: 100dvh !important;
	padding: 0 0 calc(96px + env(safe-area-inset-bottom)) !important;
	background: linear-gradient(180deg, #eef5f4 0%, #f7f8f3 100%) !important;
}

.zpfc[data-zpfc].zpfc--focus .zpfc-workspace {
	width: min(100%, 900px) !important;
	padding: 14px 18px 0 !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-workspace::before { display: none !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage__back { display: none !important; }

.zpfc-focusbar {
	top: 0;
	width: 100% !important;
	max-width: none !important;
	min-height: 64px !important;
	margin: 0 !important;
	padding: max(8px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left)) !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(44, 105, 119, .12) !important;
	border-radius: 0 !important;
	background: rgba(247, 250, 248, .94) !important;
	box-shadow: 0 8px 24px rgba(14, 55, 69, .06) !important;
}
.zpfc-focusbar__back,
.zpfc-focusbar__menu,
.zpfc-focusbar__account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid rgba(58, 111, 123, .14) !important;
	border-radius: 13px !important;
	background: rgba(255,255,255,.78) !important;
	color: #17384a !important;
	text-decoration: none !important;
}
.zpfc-focusbar__account { font-size: 17px; }
.zpfc-focusbar__context strong { font-size: 14px !important; }
.zpfc-focusbar__context span { color: #6b8088 !important; }

.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage,
.zpfc[data-zpfc].zpfc--focus .zpfc-card,
.zpfc[data-zpfc].zpfc--focus .zpfc-empty {
	min-height: calc(100dvh - 190px) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card {
	border: 1px solid rgba(53, 103, 116, .12) !important;
	border-radius: 28px !important;
	background: rgba(255,255,252,.96) !important;
	box-shadow: var(--zpfc-pwa-shadow) !important;
	overflow: hidden;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__top {
	min-height: 58px !important;
	padding: 12px 18px !important;
	border-bottom: 1px solid rgba(67, 116, 127, .10) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__labels { max-width: calc(100% - 52px); }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__labels span { font-size: 9px !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-star { width: 38px !important; height: 38px !important; }

.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: clamp(360px, 58dvh, 620px) !important;
	padding: 44px 36px 42px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__kicker { margin-bottom: 20px !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 {
	max-width: 760px !important;
	margin: 0 auto !important;
	font-size: clamp(30px, 4.1vw, 48px) !important;
	line-height: 1.12 !important;
	letter-spacing: -.035em !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue {
	min-width: 0 !important;
	margin-top: 30px !important;
	padding: 9px 12px !important;
	border-radius: 15px !important;
	box-shadow: none !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue__copy span { font-size: 11px !important; }

.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer summary {
	min-height: 60px !important;
	background: #f7faf8 !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-inner { padding: 30px 34px 34px !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-text { max-width: 760px; margin-inline: auto; font-size: 20px !important; line-height: 1.62 !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-label,
.zpfc[data-zpfc].zpfc--focus .zpfc-card__merksatz,
.zpfc[data-zpfc].zpfc--focus .zpfc-card__links { max-width: 760px; margin-left: auto; margin-right: auto; }

.zpfc[data-zpfc].zpfc--focus .zpfc-ratings {
	position: fixed !important;
	z-index: 65 !important;
	left: 50%;
	bottom: max(10px, env(safe-area-inset-bottom)) !important;
	transform: translateX(-50%);
	width: min(calc(100% - 24px), 720px) !important;
	margin: 0 !important;
	padding: 6px !important;
	border: 1px solid rgba(55, 111, 122, .16) !important;
	border-radius: 21px !important;
	background: rgba(255,255,255,.94) !important;
	box-shadow: 0 18px 46px rgba(9, 43, 58, .18) !important;
	backdrop-filter: blur(18px);
}
.zpfc[data-zpfc].zpfc--focus .zpfc-rating {
	min-height: 58px !important;
	border-radius: 16px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-rating small { display: none !important; }

.zpfc-focus-drawer:not([hidden]) {
	width: min(430px, 94vw) !important;
	background: #f8fbf9 !important;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode {
	position: relative;
	gap: 6px;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode b {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #edf4f3;
	font-size: 9px;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter {
	grid-template-columns: 36px minmax(0, 1fr) auto !important;
}
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body { display: grid !important; gap: 2px !important; min-width: 0; }
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body strong { overflow: hidden; font-size: 12px !important; text-overflow: ellipsis; white-space: nowrap; }
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body small { color: #789098; font-size: 9px; }
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__progress { width: auto !important; height: auto !important; border: 0 !important; color: #4e7a83 !important; font-size: 10px !important; }
.zpfc-focus-drawer__install {
	width: 100%;
	min-height: 46px;
	margin-top: 9px;
	border: 1px solid #98d2d7;
	border-radius: 13px;
	background: #e3f6f4;
	color: #076778;
	font: inherit;
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
}
.zpfc-focus-drawer__website { display: block; margin-top: 10px; color: #71858e; font-size: 11px; font-weight: 700; text-align: center; text-decoration: none; }

/* Learner account inherits the same standalone shell. */
body.zpfc-account-page { background: linear-gradient(180deg, #eef5f4, #f8f8f3) !important; }
.zpfc-account {
	width: 100% !important;
	min-height: 100dvh;
	margin: 0 !important;
	padding: 0 18px 48px !important;
}
.zpfc-account > .zpfc-pwa-topbar {
	margin: 0 -18px 22px;
}
.zpfc-account__intro,
.zpfc-account__dashboard-head,
.zpfc-account__auth-grid,
.zpfc-account__notice,
.zpfc-account__sync,
.zpfc-account__overview,
.zpfc-account__subjects {
	width: min(100%, 1040px);
	margin-left: auto;
	margin-right: auto;
}
.zpfc-account__intro,
.zpfc-account__dashboard-head { border-radius: 22px !important; box-shadow: var(--zpfc-pwa-shadow) !important; }
.zpfc-account__panel,
.zpfc-account__subject,
.zpfc-account__overview > div:not(.zpfc-account__ring) { box-shadow: 0 10px 28px rgba(23, 68, 80, .05); }

/* Offline signal stays subtle; review operations are queued by the existing app. */
html.zpfc-is-offline .zpfc-focusbar::after,
html.zpfc-is-offline .zpfc-pwa-topbar::after {
	content: '';
	position: absolute;
	right: 8px;
	bottom: 5px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d39a3b;
	box-shadow: 0 0 0 3px rgba(211,154,59,.13);
}

@media (max-width: 900px) {
	.zpfc-directory__track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.zpfc-pwa-today { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.zpfc-pwa-page.admin-bar .zpfc-pwa-topbar,
	body.zpfc-pwa-page.admin-bar .zpfc-focusbar { top: 46px; }
}

@media (max-width: 680px) {
	body.zpfc-pwa-page.admin-bar .zpfc-pwa-topbar,
	body.zpfc-pwa-page.admin-bar .zpfc-focusbar { top: 0; }

	.zpfc-pwa-topbar { min-height: 62px; padding-left: 12px; padding-right: 12px; }
	.zpfc-pwa-brand img { width: 38px; height: 38px; border-radius: 11px; }
	.zpfc-pwa-topbar__actions button { font-size: 0; width: 42px; padding: 0; }
	.zpfc-pwa-topbar__actions button::before { content: '↓'; font-size: 18px; }

	.zpfc-directory__hero { padding: 22px 14px 10px !important; }
	.zpfc-directory__copy h1 { font-size: 34px !important; }
	.zpfc-directory__lead { font-size: 13px !important; }
	.zpfc-directory__daily { width: 100% !important; min-height: 72px !important; }
	.zpfc-directory__quick,
	.zpfc-pwa-today,
	.zpfc-directory__rooms { width: calc(100% - 28px) !important; }
	.zpfc-directory__quick { grid-template-columns: 1fr 1fr 1fr; gap: 7px !important; }
	.zpfc-directory__quick a { min-height: 58px !important; padding: 10px !important; font-size: 11px !important; }
	.zpfc-directory__quick-icon { display: none !important; }
	.zpfc-pwa-today { grid-template-columns: repeat(3, 1fr); gap: 7px; }
	.zpfc-pwa-today > div { min-height: 86px; padding: 12px 10px; border-radius: 15px; }
	.zpfc-pwa-today strong { font-size: 22px; }
	.zpfc-pwa-today small { font-size: 9px; }
	.zpfc-directory__rooms { margin-top: 22px !important; }
	.zpfc-directory__rooms-meta > span { display: none !important; }
	.zpfc-directory__track { grid-template-columns: 1fr !important; gap: 9px !important; }
	.zpfc-subject-room { height: 132px !important; border-radius: 18px !important; }
	.zpfc-subject-room strong { font-size: 19px !important; }

	.zpfc[data-zpfc].zpfc--focus { padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important; }
	.zpfc-focusbar { min-height: 58px !important; padding-left: 8px !important; padding-right: 8px !important; }
	.zpfc-focusbar__back span:last-child { display: none !important; }
	.zpfc-focusbar__actions > span { font-size: 10px !important; }
	.zpfc-focusbar__account { display: none !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-workspace { padding: 8px 7px 0 !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage,
	.zpfc[data-zpfc].zpfc--focus .zpfc-card,
	.zpfc[data-zpfc].zpfc--focus .zpfc-empty { min-height: calc(100dvh - 150px) !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card { border-radius: 23px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__top { min-height: 54px !important; padding: 10px 13px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap { min-height: 58dvh !important; padding: 34px 20px 30px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 { font-size: clamp(28px, 8.3vw, 38px) !important; line-height: 1.11 !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-inner { padding: 26px 20px 28px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer-text { font-size: 18px !important; line-height: 1.6 !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__links { display: grid !important; gap: 8px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-ratings { width: calc(100% - 12px) !important; bottom: max(4px, env(safe-area-inset-bottom)) !important; border-radius: 18px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-rating { min-height: 60px !important; padding: 8px 5px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-rating strong { font-size: 12px !important; }
	.zpfc-focus-drawer:not([hidden]) { width: 94vw !important; }

	.zpfc-account { padding: 0 10px 32px !important; }
	.zpfc-account > .zpfc-pwa-topbar { margin: 0 -10px 12px; }
	.zpfc-account__intro,
	.zpfc-account__dashboard-head,
	.zpfc-account__panel { border-radius: 17px !important; }
	.zpfc-account__intro h1,
	.zpfc-account__dashboard-head h1 { font-size: 31px !important; }
	.zpfc-account__overview { gap: 8px !important; }
	.zpfc-account__overview > div:not(.zpfc-account__ring) { min-height: 104px !important; padding: 14px !important; }
}

@media (prefers-reduced-motion: no-preference) {
	.zpfc-card.is-entering { animation: zpfc-pwa-card-in .22s ease both; }
	.zpfc-focus-drawer:not([hidden]) { animation: zpfc-pwa-drawer-in .18s ease both; }
	@keyframes zpfc-pwa-card-in { from { opacity: .25; transform: translateX(10px) scale(.995); } to { opacity: 1; transform: none; } }
	@keyframes zpfc-pwa-drawer-in { from { transform: translateX(18px); opacity: .5; } to { transform: none; opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
	.zpfc *, .zpfc-account * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body {
	width: auto !important;
	height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	place-content: initial !important;
	color: inherit !important;
}


/* ========================================================================
   v2.0.1 — VISUAL REGRESSION FIX
   Restore the approved cinematic directory + horizontal subject carousel.
   Keep the v2 PWA shell, account sync, service worker and focus-study UX.
   ======================================================================== */

/* The PWA dashboard experiment made the approved home screen too generic.
   Reassert the original visual language while keeping the app chrome. */
.zpfc-directory {
    min-height: 100vh !important;
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
    background:
        radial-gradient(circle at 50% 84%, rgba(35,176,188,.08), transparent 34%),
        linear-gradient(180deg, #061721 0%, #03111a 58%, #020d15 100%) !important;
    color: #f3fbfc !important;
    overflow: hidden !important;
}

.zpfc-directory__hero {
    position: relative !important;
    min-height: 540px !important;
    padding: 0 !important;
    background-image:
        linear-gradient(90deg, rgba(2,16,24,.97) 0%, rgba(3,22,31,.83) 34%, rgba(3,23,31,.25) 72%, rgba(2,15,23,.64) 100%),
        linear-gradient(180deg, rgba(0,0,0,.04) 62%, rgba(2,15,23,.86) 100%),
        var(--zpfc-hero-image) !important;
    background-position: center !important;
    background-size: cover !important;
    color: #f3fbfc !important;
    isolation: isolate !important;
}
.zpfc-directory__hero::before { display: block !important; }
.zpfc-directory__hero::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(circle at 76% 43%, rgba(99,239,238,.12), transparent 23%) !important;
    pointer-events: none !important;
    z-index: -1 !important;
}
.zpfc-directory__contour { display: block !important; }

.zpfc-directory__hero-inner {
    display: grid !important;
    grid-template-columns: minmax(410px,.82fr) minmax(640px,1.18fr) !important;
    align-items: center !important;
    gap: clamp(42px,6vw,110px) !important;
    width: min(100% - 72px,1600px) !important;
    min-height: 540px !important;
    margin: 0 auto !important;
    padding: 52px 0 72px !important;
}
.zpfc-directory__copy { width: auto !important; max-width: none !important; }
.zpfc-directory__eyebrow {
    color: #8de8ea !important;
    font-size: 10px !important;
}
.zpfc-directory__copy h1 {
    max-width: none !important;
    margin: 18px 0 20px !important;
    color: #f9fbf8 !important;
    font-family: Georgia, Cambria, "Times New Roman", serif !important;
    font-size: clamp(55px,5.2vw,82px) !important;
    font-weight: 400 !important;
    letter-spacing: -.055em !important;
    line-height: .98 !important;
}
.zpfc-directory__copy h1 span { display: block !important; white-space: nowrap !important; }
.zpfc-directory__copy h1 span + span::before { content: none !important; }
.zpfc-directory__lead {
    max-width: 540px !important;
    margin: 0 !important;
    color: rgba(235,249,249,.8) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
}
.zpfc-directory .zpfc-account-pill { display: inline-flex !important; }
.zpfc-directory__method { display: flex !important; }
.zpfc-directory__showcase { display: block !important; }

.zpfc-directory__daily {
    display: inline-flex !important;
    grid-template-columns: none !important;
    width: auto !important;
    min-height: 56px !important;
    margin-top: 28px !important;
    padding: 0 20px 0 24px !important;
    border: 1px solid rgba(132,237,238,.56) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(113,226,228,.88), rgba(64,157,169,.92)) !important;
    box-shadow: 0 0 0 5px rgba(79,210,215,.08), 0 10px 34px rgba(33,168,180,.13) !important;
    color: #f7ffff !important;
}
.zpfc-directory__daily strong { min-width: 0 !important; font-size: 16px !important; line-height: 1 !important; }
.zpfc-directory__daily span { color: #fff !important; font-size: 12px !important; font-weight: 750 !important; }
.zpfc-directory__daily i {
    display: inline-grid !important;
    width: auto !important;
    height: auto !important;
    margin-left: 13px !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* Keep daily statistics in the learner account; the home screen stays focused. */
.zpfc-directory > .zpfc-pwa-today { display: none !important; }

/* Restore the original quick strip and learning-room area. */
.zpfc-directory__quick {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 0 !important;
    width: min(calc(100% - 72px),1600px) !important;
    min-height: 80px !important;
    margin: -40px auto 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(111,188,193,.27) !important;
    border-radius: 999px !important;
    background: rgba(8,34,46,.92) !important;
    box-shadow: 0 18px 50px rgba(0,7,12,.25) !important;
    backdrop-filter: blur(18px) !important;
}
.zpfc-directory__quick a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    min-height: 78px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(231,247,248,.78) !important;
}
.zpfc-directory__quick-icon { display: inline-block !important; }

.zpfc-directory__rooms {
    width: min(calc(100% - 72px),1600px) !important;
    margin: 0 auto !important;
    padding: 58px 0 0 !important;
}
.zpfc-directory__rooms-heading { margin-bottom: 0 !important; }
.zpfc-directory__rooms-heading p {
    margin: 0 !important;
    color: #8de8ea !important;
    font-size: 10px !important;
}
.zpfc-directory__rooms-heading h2 {
    margin: 9px 0 0 !important;
    color: #f8fbf8 !important;
    font-family: Georgia, Cambria, "Times New Roman", serif !important;
    font-size: clamp(34px,3.3vw,51px) !important;
    font-weight: 400 !important;
    letter-spacing: -.045em !important;
    line-height: 1.05 !important;
}
.zpfc-directory__rooms-meta { color: rgba(184,216,219,.57) !important; }
.zpfc-directory__gallery-buttons { display: flex !important; }

/* Horizontal carousel: mouse wheel/trackpad/touch + arrow buttons. */
.zpfc-directory__gallery {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 3px 3px 18px !important;
    scroll-behavior: smooth !important;
    scroll-padding-inline: 3px !important;
    scroll-snap-type: x proximity !important;
    scrollbar-color: rgba(92,201,204,.28) transparent !important;
    scrollbar-width: thin !important;
}
.zpfc-directory__gallery::-webkit-scrollbar { height: 5px !important; }
.zpfc-directory__gallery::-webkit-scrollbar-thumb {
    border-radius: 999px !important;
    background: rgba(92,201,204,.26) !important;
}
.zpfc-directory__track {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-columns: clamp(285px,20.5vw,360px) !important;
    grid-auto-flow: column !important;
    gap: 15px !important;
    width: max-content !important;
    transform: none !important;
}
.zpfc-subject-room {
    width: auto !important;
    min-width: 0 !important;
    height: 204px !important;
    padding: 20px !important;
    border: 1px solid rgba(131,190,194,.28) !important;
    border-radius: 10px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 40px rgba(0,6,11,.19) !important;
    scroll-snap-align: start !important;
}
.zpfc-subject-room strong { max-width: 78% !important; font-size: inherit !important; line-height: inherit !important; }
.zpfc-subject-room__ring { width: 58px !important; height: 58px !important; }

/* Study card: closed reveal control must never disappear into the paper. */
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) {
    padding: 12px 18px 16px !important;
    background: rgba(249,252,250,.98) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary {
    width: min(100%, 430px) !important;
    min-height: 58px !important;
    margin: 0 auto !important;
    padding: 13px 22px !important;
    border: 1px solid #49b8c7 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0b8798 0%, #159eac 100%) !important;
    box-shadow: 0 9px 24px rgba(13,133,150,.20) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    letter-spacing: .01em !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary:hover {
    background: linear-gradient(135deg, #087789 0%, #0f929f 100%) !important;
    box-shadow: 0 11px 28px rgba(13,133,150,.27) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary:focus-visible {
    outline: 3px solid rgba(59,190,203,.34) !important;
    outline-offset: 3px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary kbd {
    border-color: rgba(255,255,255,.45) !important;
    background: rgba(255,255,255,.13) !important;
    color: #fff !important;
}

@media (max-width: 1180px) {
    .zpfc-directory__hero-inner {
        grid-template-columns: minmax(360px,.9fr) minmax(520px,1.1fr) !important;
        gap: 28px !important;
        width: min(100% - 48px,1320px) !important;
    }
    .zpfc-directory__quick,
    .zpfc-directory__rooms { width: min(calc(100% - 48px),1320px) !important; }
}

@media (max-width: 900px) {
    .zpfc-directory__hero-inner {
        display: block !important;
        width: min(100% - 42px,760px) !important;
        padding: 52px 0 76px !important;
    }
    .zpfc-directory__showcase { display: none !important; }
    .zpfc-directory__copy { max-width: 620px !important; }
    .zpfc-directory__copy h1 { font-size: clamp(48px,9vw,70px) !important; }
    .zpfc-directory__quick,
    .zpfc-directory__rooms { width: calc(100% - 34px) !important; }
    .zpfc-directory__track {
        grid-template-columns: none !important;
        grid-auto-columns: min(64vw,340px) !important;
        grid-auto-flow: column !important;
    }
}

@media (max-width: 680px) {
    .zpfc-directory { padding-bottom: calc(94px + env(safe-area-inset-bottom)) !important; }
    .zpfc-directory__hero {
        padding: 0 !important;
        background-position: 72% center !important;
    }
    .zpfc-directory__hero-inner {
        width: calc(100% - 34px) !important;
        min-height: 0 !important;
        padding: 45px 0 82px !important;
    }
    .zpfc-directory__eyebrow { font-size: 8px !important; }
    .zpfc-directory__copy h1 { font-size: clamp(40px,12.2vw,54px) !important; }
    .zpfc-directory__lead { max-width: 310px !important; font-size: 14px !important; }
    .zpfc-directory__daily {
        width: auto !important;
        min-height: 50px !important;
        margin-top: 24px !important;
        padding: 0 17px !important;
    }
    .zpfc-directory__method { display: flex !important; }
    .zpfc-directory__quick {
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 0 !important;
        width: calc(100% - 24px) !important;
        min-height: 62px !important;
        margin-top: -31px !important;
    }
    .zpfc-directory__quick a {
        flex-direction: column !important;
        gap: 1px !important;
        min-height: 60px !important;
        padding: 8px 4px !important;
        font-size: 9px !important;
    }
    .zpfc-directory__quick-icon { display: inline-block !important; font-size: 19px !important; }
    .zpfc-directory__rooms {
        width: calc(100% - 24px) !important;
        margin: 0 auto !important;
        padding-top: 34px !important;
    }
    .zpfc-directory__rooms-heading h2 { font-size: 31px !important; }
    .zpfc-directory__rooms-heading p { display: none !important; }
    .zpfc-directory__track {
        grid-template-columns: none !important;
        grid-auto-columns: min(82vw,330px) !important;
        grid-auto-flow: column !important;
        gap: 11px !important;
    }
    .zpfc-subject-room { height: 194px !important; border-radius: 10px !important; }
    .zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) { padding: 10px 12px 14px !important; }
    .zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary {
        width: min(100%, 360px) !important;
        min-height: 56px !important;
        padding: 12px 18px !important;
        font-size: 12px !important;
    }
}


/* v2.0.1 exact directory geometry corrections (match the pre-PWA approved layout). */
.zpfc a.zpfc-directory__daily,
.zpfc-directory__daily {
    align-items: center !important;
    gap: 7px !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-color: #6fe9e8 !important;
    background: linear-gradient(180deg, rgba(102,229,229,.88), rgba(20,139,148,.9)) !important;
    box-shadow: 0 0 0 4px rgba(62,221,220,.07), 0 10px 34px rgba(9,206,209,.2), inset 0 1px rgba(255,255,255,.65) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}
.zpfc-directory__daily strong { font-size: 17px !important; }
.zpfc-directory__daily span { font-size: 14px !important; font-weight: 650 !important; }
.zpfc-directory__daily i { margin-left: 15px !important; font-size: 20px !important; }
.zpfc-directory__quick {
    display: flex !important;
    align-items: stretch !important;
    width: min(690px, calc(100% - 40px)) !important;
    min-height: 68px !important;
    margin: -34px auto 0 !important;
    border-color: rgba(121,213,216,.32) !important;
    background: rgba(12,42,54,.92) !important;
    box-shadow: 0 18px 52px rgba(0,7,13,.34) !important;
}
.zpfc-directory__quick a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 68px !important;
    padding: 0 20px !important;
    color: rgba(238,250,251,.88) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
.zpfc-directory__quick-icon { color: #a9f0ef !important; font-size: 24px !important; font-weight: 300 !important; }
.zpfc-directory__rooms { width: min(100% - 56px,1760px) !important; padding-top: 39px !important; }
.zpfc-directory__rooms-heading { margin-bottom: 0 !important; padding: 0 0 25px !important; }
.zpfc-directory__rooms-heading p { margin-bottom: 8px !important; color: rgba(124,218,221,.68) !important; font-size: 8px !important; }
.zpfc-subject-room > strong {
    font-family: Georgia, Cambria, "Times New Roman", serif !important;
    font-size: clamp(21px,1.65vw,28px) !important;
    font-weight: 400 !important;
    letter-spacing: -.035em !important;
    line-height: 1.03 !important;
}

@media (max-width: 1180px) {
    .zpfc-directory__hero-inner {
        grid-template-columns: minmax(350px,.85fr) minmax(500px,1.15fr) !important;
        width: min(100% - 48px,1120px) !important;
    }
    .zpfc-directory__showcase {
        display: block !important;
        transform: scale(.9) !important;
        transform-origin: right center !important;
    }
    .zpfc-directory__rooms { width: calc(100% - 40px) !important; }
}

@media (max-width: 900px) {
    .zpfc-directory__hero { min-height: 0 !important; background-position: 66% center !important; }
    .zpfc-directory__hero-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 42px !important;
        width: min(100% - 48px,720px) !important;
        padding: 58px 0 92px !important;
    }
    .zpfc-directory__copy { max-width: 590px !important; }
    .zpfc-directory__showcase {
        display: block !important;
        justify-self: center !important;
        width: min(100%,660px) !important;
        transform: none !important;
    }
    .zpfc-directory__rooms-meta > span { display: none !important; }
    .zpfc-directory__track {
        grid-template-columns: none !important;
        grid-auto-columns: clamp(285px,20.5vw,360px) !important;
        grid-auto-flow: column !important;
    }
}

@media (max-width: 680px) {
    .zpfc-directory__hero-inner { width: calc(100% - 34px) !important; padding: 45px 0 82px !important; }
    .zpfc-directory__showcase { display: block !important; height: 354px !important; }
    .zpfc-directory__demo-card,
    .zpfc-directory__card-shadow { width: calc(100% - 34px) !important; height: 340px !important; }
    .zpfc-directory__card-shadow--three,
    .zpfc-directory__card-shadow--two { display: none !important; }
    .zpfc-directory__card-shadow--one { transform: translate(-50%,-50%) rotate(-3deg) !important; }
    .zpfc-directory__demo-card { padding: 24px 23px 22px !important; transform: translate(-50%,-50%) !important; }
    .zpfc-directory__quick { width: calc(100% - 24px) !important; min-height: 62px !important; margin-top: -31px !important; }
    .zpfc-directory__quick a { min-height: 62px !important; padding: 8px 4px !important; font-size: 9px !important; }
    .zpfc-directory__rooms { width: calc(100% - 24px) !important; padding-top: 34px !important; }
    .zpfc-directory__track {
        grid-template-columns: none !important;
        grid-auto-columns: min(82vw,330px) !important;
        grid-auto-flow: column !important;
        gap: 11px !important;
    }
    .zpfc-subject-room { height: 194px !important; }
}


/* v2.1.0 — three-stage learning depth + numbered chapter sessions */
.zpfc[data-zpfc] .zpfc-chapter__progress.zpfc-chapter__depth {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.zpfc[data-zpfc] .zpfc-chapter__depth i {
	display: inline-grid;
	place-items: center;
	min-width: 32px;
	height: 24px;
	padding: 0 5px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 9px;
	font-style: normal;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.01em;
}
.zpfc[data-zpfc] .zpfc-chapter__depth .is-first { border-color: rgba(54,128,190,.18); background: rgba(54,128,190,.10); color: #2f6f9f; }
.zpfc[data-zpfc] .zpfc-chapter__depth .is-repeat { border-color: rgba(119,91,183,.18); background: rgba(119,91,183,.10); color: #6b51a6; }
.zpfc[data-zpfc] .zpfc-chapter__depth .is-mastered { border-color: rgba(42,142,99,.18); background: rgba(42,142,99,.11); color: #257e59; }
.zpfc[data-zpfc] .zpfc-chapter.is-active .zpfc-chapter__depth { background: transparent; }
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__depth { grid-column: 1 / -1; justify-self: end; margin-top: 1px; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter { grid-template-columns: 36px minmax(0, 1fr) auto; }
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter > .zpfc-chapter__depth { display: inline-flex !important; width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: inherit !important; }

.zpfc-chapter-mode {
	display: grid;
	gap: 8px;
	margin-top: 9px;
	padding: 10px 12px;
	border: 1px solid #d9e6e5;
	border-radius: 12px;
	background: #fff;
}
.zpfc-chapter-mode > span { color: #365866; font-size: 12px; font-weight: 750; }
.zpfc-chapter-mode > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.zpfc-chapter-mode button {
	min-height: 36px;
	padding: 7px 8px;
	border: 1px solid #d5e2e2;
	border-radius: 9px;
	background: #f8fbfb;
	color: #496673;
	font-size: 11px;
	font-weight: 850;
}
.zpfc-chapter-mode button.is-active { border-color: rgba(18,159,174,.45); background: linear-gradient(135deg,#dff5f3,#f2faf8); color: #08697a; }

.zpfc-session-picker {
	display: grid;
	gap: 8px;
	margin-top: 9px;
	padding: 10px 12px;
	border: 1px solid #d9e6e5;
	border-radius: 12px;
	background: #fff;
}
.zpfc-session-picker[hidden] { display: none !important; }
.zpfc-session-picker__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.zpfc-session-picker__top > span { color: #365866; font-size: 11px; font-weight: 850; }
.zpfc-focus-drawer__session .zpfc-session-picker select { min-width: 106px; }
.zpfc-session-picker__actions { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 6px; }
.zpfc-session-picker__actions button {
	min-height: 36px;
	border: 1px solid #d5e2e2;
	border-radius: 9px;
	background: #f8fbfb;
	color: #365866;
	font-size: 11px;
	font-weight: 850;
}
.zpfc-session-picker__actions button:disabled { opacity: .38; cursor: not-allowed; }

@media (max-width: 1180px) {
	.zpfc[data-zpfc] .zpfc-chapter__depth i { min-width: 29px; height: 22px; padding-inline: 4px; font-size: 8px; }
}
@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-chapter__depth i { min-width: 31px; }
	.zpfc[data-zpfc] button.zpfc-chapter { grid-template-columns: 34px minmax(0,1fr) auto; }
}


/* v2.1.0 — compact learning-depth legend */
.zpfc[data-zpfc] .zpfc-depth-legend {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 5px 0 9px;
	color: #607785;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.2;
}
.zpfc[data-zpfc] .zpfc-depth-legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.zpfc[data-zpfc] .zpfc-depth-legend span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }
.zpfc[data-zpfc] .zpfc-depth-legend .is-first::before { background: #3d87bd; }
.zpfc[data-zpfc] .zpfc-depth-legend .is-repeat::before { background: #775bb7; }
.zpfc[data-zpfc] .zpfc-depth-legend .is-mastered::before { background: #2a8e63; }
.zpfc[data-zpfc] .zpfc-depth-legend--sidebar { padding: 0 2px; }
@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-depth-legend { gap: 6px 9px; font-size: 8px; }
}

/* v2.1.1 — clickable learning-depth selector + one clear chapter percentage.
 * This intentionally comes last so it wins over the older compact chapter badge rules. */
.zpfc[data-zpfc] .zpfc-depth-switcher {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 8px !important;
	width: 100% !important;
	margin: 9px 0 13px !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button {
	min-width: 0 !important;
	min-height: 48px !important;
	padding: 7px 6px !important;
	border: 1px solid transparent !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	font: inherit !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-align: center !important;
	cursor: pointer !important;
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button b,
.zpfc[data-zpfc] .zpfc-depth-switcher > button span {
	display: block !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button b {
	margin-bottom: 3px !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	letter-spacing: -.02em !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-first {
	border-color: rgba(55, 134, 190, .25) !important;
	background: #eaf4fb !important;
	color: #276e9f !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-repeat {
	border-color: rgba(117, 84, 183, .24) !important;
	background: #f2edfb !important;
	color: #674aa5 !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-mastered {
	border-color: rgba(38, 139, 94, .24) !important;
	background: #eaf7f0 !important;
	color: #247c54 !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active {
	border-color: currentColor !important;
	box-shadow: 0 7px 16px rgba(25, 55, 69, .10), inset 0 0 0 1px rgba(255,255,255,.72) !important;
	transform: translateY(-1px) !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button:focus-visible {
	outline: 3px solid rgba(10, 132, 153, .20) !important;
	outline-offset: 2px !important;
}

.zpfc[data-zpfc] .zpfc-chapter__progress.zpfc-chapter__progress--depth {
	display: inline-grid !important;
	place-items: center !important;
	width: auto !important;
	min-width: 48px !important;
	height: 30px !important;
	padding: 0 8px !important;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	font-size: 11px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	letter-spacing: -.01em !important;
	text-align: center !important;
}
.zpfc[data-zpfc] .zpfc-chapter__progress--depth.is-first,
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__progress--depth.is-first {
	border-color: rgba(55, 134, 190, .24) !important;
	background: #eaf4fb !important;
	color: #276e9f !important;
}
.zpfc[data-zpfc] .zpfc-chapter__progress--depth.is-repeat,
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__progress--depth.is-repeat {
	border-color: rgba(117, 84, 183, .24) !important;
	background: #f2edfb !important;
	color: #674aa5 !important;
}
.zpfc[data-zpfc] .zpfc-chapter__progress--depth.is-mastered,
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__progress--depth.is-mastered {
	border-color: rgba(38, 139, 94, .24) !important;
	background: #eaf7f0 !important;
	color: #247c54 !important;
}
.zpfc[data-zpfc] button.zpfc-chapter.is-active .zpfc-chapter__progress--depth.is-first { background: #dceffb !important; }
.zpfc[data-zpfc] button.zpfc-chapter.is-active .zpfc-chapter__progress--depth.is-repeat { background: #eae1fa !important; }
.zpfc[data-zpfc] button.zpfc-chapter.is-active .zpfc-chapter__progress--depth.is-mastered { background: #dcf3e7 !important; }

/* Make the chapter-order/random control look like an actual control even if an old cached stylesheet is still around. */
.zpfc[data-zpfc] .zpfc-chapter-mode {
	display: grid !important;
	gap: 8px !important;
	margin-top: 10px !important;
	padding: 11px 12px !important;
	border: 1px solid #d8e5e4 !important;
	border-radius: 13px !important;
	background: #fff !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode > span {
	color: #365866 !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	letter-spacing: .04em !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode > div {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 7px !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode button {
	min-height: 40px !important;
	padding: 8px 10px !important;
	border: 1px solid #d4e2e1 !important;
	border-radius: 10px !important;
	background: #f8fbfb !important;
	color: #496673 !important;
	font: inherit !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	cursor: pointer !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode button.is-active {
	border-color: rgba(18,159,174,.48) !important;
	background: linear-gradient(135deg,#dff5f3,#f1faf8) !important;
	color: #08697a !important;
	box-shadow: inset 0 0 0 1px rgba(18,159,174,.08) !important;
}

.zpfc[data-zpfc] .zpfc-session-picker {
	display: grid !important;
	gap: 8px !important;
	margin-top: 10px !important;
	padding: 11px 12px !important;
	border: 1px solid #d8e5e4 !important;
	border-radius: 13px !important;
	background: #fff !important;
}
.zpfc[data-zpfc] .zpfc-session-picker[hidden] { display: none !important; }
.zpfc[data-zpfc] .zpfc-session-picker__top {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
}
.zpfc[data-zpfc] .zpfc-session-picker__top > span { color: #365866 !important; font-size: 11px !important; font-weight: 850 !important; }
.zpfc[data-zpfc] .zpfc-session-picker__actions { display: grid !important; grid-template-columns: 42px minmax(0,1fr) 42px !important; gap: 7px !important; }
.zpfc[data-zpfc] .zpfc-session-picker__actions button {
	min-height: 40px !important;
	border: 1px solid #d4e2e1 !important;
	border-radius: 10px !important;
	background: #f8fbfb !important;
	color: #365866 !important;
	font: inherit !important;
	font-size: 11px !important;
	font-weight: 850 !important;
	cursor: pointer !important;
}

@media (max-width: 680px) {
	.zpfc[data-zpfc] .zpfc-depth-switcher { gap: 6px !important; }
	.zpfc[data-zpfc] .zpfc-depth-switcher > button { min-height: 45px !important; padding-inline: 4px !important; font-size: 9px !important; }
	.zpfc[data-zpfc] .zpfc-depth-switcher > button b { font-size: 13px !important; }
	.zpfc[data-zpfc] .zpfc-chapter__progress.zpfc-chapter__progress--depth { min-width: 44px !important; height: 28px !important; font-size: 10px !important; }
}

/* ========================================================================
   v2.1.4 — DIRECTORY VIEWPORT ALIGNMENT
   The Flashcards home screen can live inside any WordPress/theme column.
   JS measures the actual rendered x-offset and this rule translates only the
   app root back to viewport x=0. No theme/sidebar width is modified.
   ======================================================================== */
body.zpfc-directory-page {
    overflow-x: clip !important;
}

/* Let the Flashcards root visually escape a narrow/offset parent wrapper. */
body.zpfc-directory-page #page,
body.zpfc-directory-page #content,
body.zpfc-directory-page .site-content,
body.zpfc-directory-page .ast-container,
body.zpfc-directory-page #primary,
body.zpfc-directory-page .content-area,
body.zpfc-directory-page .site-main,
body.zpfc-directory-page article,
body.zpfc-directory-page .entry-content {
    overflow-x: visible !important;
}

.zpfc.zpfc-directory[data-zpfc-directory] {
    width: var(--zpfc-directory-viewport-width, 100vw) !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translate3d(var(--zpfc-directory-shift-x, 0px), 0, 0) !important;
    transform-origin: left top !important;
    z-index: 2;
}

/* ========================================================================
   v2.1.5 — PREMIUM LEARNING UI REFINEMENT
   1) editorial study card, 2) refined ratings, 3) clearer drawer sections,
   4) depth cards with live percentages, 5) chapter progress rails,
   6) lighter borders, 7) stronger type hierarchy, 8) selected chapter,
   9) compact session navigation, 10) calmer spacing rhythm.
   ======================================================================== */

/* 1 — Editorial study card: less oversized, tighter leading, question sits higher. */
.zpfc[data-zpfc].zpfc--focus .zpfc-card {
	border-color: rgba(45, 91, 103, .09) !important;
	box-shadow: 0 18px 52px rgba(20, 61, 73, .09) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__top {
	border-bottom-color: rgba(54, 104, 115, .075) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap {
	justify-content: flex-start !important;
	min-height: clamp(340px, 52dvh, 560px) !important;
	padding: clamp(58px, 8dvh, 92px) 36px 38px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__kicker {
	margin: 0 0 14px !important;
	color: #438a95 !important;
	font-size: 10px !important;
	font-weight: 850 !important;
	letter-spacing: .20em !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 {
	max-width: 720px !important;
	font-size: clamp(28px, 3.7vw, 43px) !important;
	font-weight: 690 !important;
	line-height: 1.075 !important;
	letter-spacing: -.035em !important;
	text-wrap: balance;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue {
	margin-top: 24px !important;
	padding: 8px 11px !important;
	border-color: rgba(62, 122, 132, .11) !important;
	background: rgba(248, 252, 249, .82) !important;
}

/* 2 — Rating dock: quieter surfaces, compact controls, subtle semantic tints. */
.zpfc[data-zpfc].zpfc--focus .zpfc-ratings {
	width: min(calc(100% - 24px), 650px) !important;
	padding: 5px !important;
	gap: 4px !important;
	border-color: rgba(49, 101, 111, .10) !important;
	border-radius: 19px !important;
	background: rgba(255,255,255,.965) !important;
	box-shadow: 0 14px 38px rgba(8, 39, 52, .15) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-rating {
	min-height: 54px !important;
	padding: 8px 10px !important;
	border: 0 !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	gap: 8px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-rating--known { background: rgba(51, 147, 112, .075) !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-rating--unsure { background: rgba(194, 145, 49, .105) !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-rating--again { background: rgba(186, 77, 84, .065) !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-rating--unsure { box-shadow: inset 0 0 0 1px rgba(178, 128, 34, .08) !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-rating > span {
	width: 28px !important;
	height: 28px !important;
	font-size: 14px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-rating strong {
	font-size: 12px !important;
	font-weight: 760 !important;
}

/* 3 + 10 — Drawer hierarchy and rhythm: stronger group spacing, quieter internals. */
.zpfc-focus-drawer:not([hidden]) {
	background: #f8fbf9 !important;
	padding-inline: 20px !important;
}
.zpfc-focus-drawer__head {
	padding-bottom: 17px !important;
	border-bottom-color: rgba(61, 111, 121, .11) !important;
}
.zpfc-focus-drawer__head > div { gap: 5px !important; }
.zpfc-focus-drawer__head strong {
	font-size: 23px !important;
	font-weight: 720 !important;
	letter-spacing: -.025em !important;
}
.zpfc-focus-drawer__head span,
.zpfc-focus-drawer__section > span {
	color: #4a7e88 !important;
	font-size: 9px !important;
	font-weight: 850 !important;
	letter-spacing: .19em !important;
}
.zpfc-focus-drawer__section {
	position: relative;
	gap: 9px !important;
	margin-top: 18px !important;
	padding-top: 18px !important;
}
.zpfc-focus-drawer__head + .zpfc-focus-drawer__section {
	padding-top: 0 !important;
}
.zpfc-focus-drawer__head + .zpfc-focus-drawer__section::before { display: none; }
.zpfc-focus-drawer__section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(74, 126, 136, .16), rgba(74, 126, 136, .035) 70%, transparent);
}

/* 6 — Reduce border overload across drawer controls. */
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode {
	min-height: 43px !important;
	border-color: transparent !important;
	background: rgba(255,255,255,.72) !important;
	box-shadow: inset 0 0 0 1px rgba(69, 111, 119, .08) !important;
	color: #3e5d68 !important;
	font-weight: 720 !important;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode.is-active {
	border-color: transparent !important;
	background: #e7f5f3 !important;
	box-shadow: inset 0 0 0 1px rgba(21, 143, 156, .15) !important;
	color: #176b78 !important;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-mode b {
	background: rgba(57, 103, 111, .065) !important;
	font-weight: 800 !important;
}
.zpfc-focus-drawer__session > label {
	min-height: 52px !important;
	padding: 7px 9px 7px 12px !important;
	border-color: transparent !important;
	background: rgba(255,255,255,.75) !important;
	box-shadow: inset 0 0 0 1px rgba(66, 109, 117, .08) !important;
	font-size: 11px !important;
	font-weight: 720 !important;
}
.zpfc-focus-drawer__session > label select {
	min-height: 36px !important;
	border-color: transparent !important;
	background: #f4f8f7 !important;
	box-shadow: inset 0 0 0 1px rgba(65, 109, 118, .10) !important;
	font-weight: 800 !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode {
	gap: 7px !important;
	margin-top: 0 !important;
	padding: 9px 10px !important;
	border-color: transparent !important;
	background: rgba(255,255,255,.62) !important;
	box-shadow: inset 0 0 0 1px rgba(67, 109, 117, .075) !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode > span {
	font-size: 10px !important;
	font-weight: 760 !important;
	letter-spacing: .025em !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode button {
	min-height: 37px !important;
	border-color: transparent !important;
	background: #f5f9f8 !important;
	box-shadow: inset 0 0 0 1px rgba(60, 103, 112, .075) !important;
	font-size: 10px !important;
	font-weight: 760 !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode button.is-active {
	border-color: transparent !important;
	background: #e4f4f2 !important;
	box-shadow: inset 0 0 0 1px rgba(18, 145, 158, .20) !important;
}

/* 4 — Three learning-depth cards show their live overall percentage and progress rail. */
.zpfc[data-zpfc] .zpfc-depth-switcher {
	gap: 7px !important;
	margin: 8px 0 12px !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button {
	position: relative !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	grid-template-rows: auto 4px !important;
	align-items: center !important;
	gap: 7px 5px !important;
	min-height: 58px !important;
	padding: 8px 9px 8px !important;
	border-color: transparent !important;
	border-radius: 13px !important;
	box-shadow: inset 0 0 0 1px rgba(38, 83, 93, .06) !important;
	text-align: left !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher__copy {
	display: grid !important;
	gap: 1px !important;
	min-width: 0 !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher__copy b {
	display: block !important;
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 850 !important;
	line-height: 1 !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher__copy > span {
	display: block !important;
	font-size: 9px !important;
	font-weight: 720 !important;
	line-height: 1.1 !important;
	white-space: nowrap;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button > em {
	display: block !important;
	margin: 0 !important;
	font-size: 11px !important;
	font-style: normal !important;
	font-weight: 850 !important;
	line-height: 1 !important;
	letter-spacing: -.015em !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher__bar {
	grid-column: 1 / -1 !important;
	display: block !important;
	height: 3px !important;
	overflow: hidden !important;
	border-radius: 999px !important;
	background: rgba(29, 59, 68, .075) !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher__bar > i {
	display: block !important;
	width: var(--zpfc-depth-stage, 0%) !important;
	height: 100% !important;
	border-radius: inherit !important;
	transition: width .22s ease !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-first .zpfc-depth-switcher__bar > i { background: #5b96bd !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-repeat .zpfc-depth-switcher__bar > i { background: #8066b5 !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-mastered .zpfc-depth-switcher__bar > i { background: #4e9572 !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-first { background: #edf5fa !important; color: #356f96 !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-repeat { background: #f3eff9 !important; color: #6f56a2 !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-mastered { background: #edf7f1 !important; color: #357d5c !important; }
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active {
	box-shadow: inset 0 0 0 1px currentColor, 0 6px 15px rgba(24, 58, 68, .06) !important;
	transform: translateY(-1px) !important;
}

/* 5 + 7 + 8 — Chapter rows: scan-friendly progress rail + premium selected state. */
.zpfc[data-zpfc] button.zpfc-chapter,
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter {
	position: relative !important;
	overflow: hidden !important;
	min-height: 55px !important;
	padding: 8px 10px !important;
	border-color: transparent !important;
	border-radius: 13px !important;
	background: rgba(255,255,255,.72) !important;
	box-shadow: inset 0 0 0 1px rgba(65, 107, 115, .075) !important;
}
.zpfc[data-zpfc] button.zpfc-chapter::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--zpfc-chapter-progress, 0%);
	height: 2px;
	border-radius: 0 999px 999px 0;
	background: var(--zpfc-chapter-progress-color, #5b96bd);
	opacity: .72;
	transition: width .22s ease, background .18s ease;
}
.zpfc[data-zpfc] button.zpfc-chapter.is-active,
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter.is-active {
	border-color: transparent !important;
	background: #edf8f6 !important;
	box-shadow: inset 3px 0 0 #2899a7, inset 0 0 0 1px rgba(40, 153, 167, .12) !important;
}
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter.is-active::before,
.zpfc[data-zpfc] .zpfc-chapters button.zpfc-chapter.is-active::before { display: none !important; }
.zpfc[data-zpfc] .zpfc-chapter__number,
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter > .zpfc-chapter__number {
	border-color: transparent !important;
	background: #f3f7f6 !important;
	box-shadow: inset 0 0 0 1px rgba(72, 112, 120, .10) !important;
	color: #58727a !important;
}
.zpfc[data-zpfc] .zpfc-chapter.is-active .zpfc-chapter__number,
.zpfc[data-zpfc] .zpfc-focus-drawer button.zpfc-chapter.is-active > .zpfc-chapter__number {
	border-color: transparent !important;
	background: #257f8d !important;
	box-shadow: none !important;
	color: #fff !important;
}
.zpfc[data-zpfc] .zpfc-chapter__body strong,
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body strong {
	color: #183345 !important;
	font-size: 12.5px !important;
	font-weight: 720 !important;
	letter-spacing: -.01em !important;
}
.zpfc[data-zpfc] .zpfc-chapter__body small,
.zpfc[data-zpfc] .zpfc-focus-drawer .zpfc-chapter__body small {
	margin-top: 2px !important;
	color: #7b8e94 !important;
	font-size: 9.5px !important;
	font-weight: 520 !important;
}
.zpfc[data-zpfc] .zpfc-chapter__progress.zpfc-chapter__progress--depth {
	min-width: 46px !important;
	height: 28px !important;
	padding-inline: 8px !important;
	border: 0 !important;
	box-shadow: inset 0 0 0 1px rgba(43, 82, 91, .06) !important;
	font-size: 10.5px !important;
	font-weight: 820 !important;
}

/* 9 — One compact session navigation row. */
.zpfc[data-zpfc] .zpfc-session-picker {
	margin-top: 0 !important;
	padding: 7px !important;
	border-color: transparent !important;
	background: rgba(255,255,255,.66) !important;
	box-shadow: inset 0 0 0 1px rgba(65, 108, 116, .08) !important;
}
.zpfc-session-picker__compact {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto 38px;
	align-items: stretch;
	gap: 5px;
}
.zpfc-session-picker__compact button,
.zpfc-session-picker__select {
	min-width: 0;
	min-height: 40px;
	border: 0 !important;
	border-radius: 10px !important;
	background: #f5f9f8 !important;
	box-shadow: inset 0 0 0 1px rgba(65, 105, 113, .075) !important;
	color: #365866 !important;
}
.zpfc-session-picker__compact button {
	font: inherit !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	cursor: pointer;
}
.zpfc-session-picker__compact button:disabled { opacity: .34 !important; cursor: default !important; }
.zpfc-session-picker__select {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 !important;
	overflow: hidden;
}
.zpfc-session-picker__select > span {
	position: absolute;
	left: 11px;
	right: 27px;
	z-index: 0;
	overflow: hidden;
	color: #365866 !important;
	font-size: 10.5px !important;
	font-weight: 780 !important;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
}
.zpfc-session-picker__select select {
	position: relative;
	z-index: 1;
	width: 100% !important;
	min-width: 0 !important;
	height: 40px !important;
	padding: 0 26px 0 10px !important;
	border: 0 !important;
	background: transparent !important;
	color: transparent !important;
	font: inherit !important;
	cursor: pointer;
}
.zpfc-session-picker__select select:focus { outline: 2px solid rgba(25, 143, 157, .18) !important; outline-offset: -2px !important; }
.zpfc-session-picker__repeat {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	padding: 0 11px !important;
	white-space: nowrap;
}
.zpfc-session-picker__arrow { padding: 0 !important; }

/* 10 — Breathing space: less padding inside controls, clearer distance between groups. */
.zpfc-focus-drawer__modes { gap: 7px !important; }
.zpfc-focus-drawer__chapters { gap: 7px !important; }
.zpfc-focus-drawer__account { margin-top: 19px !important; }

@media (max-width: 680px) {
	.zpfc-focus-drawer:not([hidden]) { width: 92vw !important; padding-inline: 18px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap {
		min-height: 51dvh !important;
		padding: 64px 20px 30px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 {
		max-width: 520px !important;
		font-size: clamp(27px, 7.6vw, 35px) !important;
		line-height: 1.075 !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__kicker { margin-bottom: 12px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue { margin-top: 22px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-ratings {
		width: calc(100% - 14px) !important;
		bottom: max(5px, env(safe-area-inset-bottom)) !important;
		border-radius: 17px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-rating {
		min-height: 56px !important;
		padding: 7px 5px !important;
		gap: 5px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-rating > span { width: 27px !important; height: 27px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-rating strong { font-size: 11px !important; }
	.zpfc[data-zpfc] .zpfc-depth-switcher > button {
		min-height: 56px !important;
		padding: 8px 7px !important;
	}
	.zpfc[data-zpfc] .zpfc-depth-switcher__copy b { font-size: 14px !important; }
	.zpfc[data-zpfc] .zpfc-depth-switcher__copy > span { font-size: 8.5px !important; }
	.zpfc[data-zpfc] .zpfc-depth-switcher > button > em { font-size: 10px !important; }
	.zpfc-session-picker__compact { grid-template-columns: 36px minmax(0, 1fr) 36px; }
	.zpfc-session-picker__repeat {
		grid-column: 1 / -1;
		grid-row: 2;
		min-height: 36px !important;
	}
	.zpfc-session-picker__compact > .zpfc-session-picker__arrow:last-child { grid-column: 3; grid-row: 1; }
	.zpfc-session-picker__select { grid-column: 2; grid-row: 1; }
}
.zpfc-session-picker__select select option { color: #365866 !important; }
@media (max-width: 680px) {
	.zpfc-session-picker__compact { grid-template-columns: 36px minmax(0, 1fr) 40px 36px; }
	.zpfc-session-picker__repeat {
		grid-column: 3 !important;
		grid-row: 1 !important;
		padding: 0 !important;
	}
	.zpfc-session-picker__repeat span:last-child { display: none !important; }
	.zpfc-session-picker__compact > .zpfc-session-picker__arrow:last-child { grid-column: 4 !important; grid-row: 1 !important; }
	.zpfc-session-picker__select { grid-column: 2 !important; grid-row: 1 !important; }
}


/* ========================================================================
   v2.1.6 — FINAL STUDY POLISH
   Shorter/wider study card, stronger voice cue, calmer reveal strip,
   lighter drawer surfaces, softer depth selection, simplified sessions,
   and persistent session/card context in the focus bar.
   ======================================================================== */

@media (min-width: 681px) {
	.zpfc[data-zpfc].zpfc--focus .zpfc-workspace {
		width: min(100% - 32px, 1040px) !important;
		max-width: 1040px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-study { max-width: 960px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card-stage,
	.zpfc[data-zpfc].zpfc--focus .zpfc-card,
	.zpfc[data-zpfc].zpfc--focus .zpfc-empty { min-height: 0 !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap {
		min-height: clamp(330px, 45dvh, 460px) !important;
		padding: clamp(48px, 6.4dvh, 70px) 42px 34px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap h3 { max-width: 790px !important; }
}

.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue {
	margin-top: 25px !important;
	padding: 9px 13px 9px 10px !important;
	border-radius: 16px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-mic { width: 35px !important; height: 35px !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-mic svg { width: 18px !important; height: 18px !important; }

.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) { padding: 10px 18px 14px !important; }
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary {
	width: clamp(320px, 44%, 420px) !important;
	min-height: 52px !important;
	padding: 11px 20px !important;
	box-shadow: 0 7px 20px rgba(13,133,150,.16) !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer[open] summary {
	min-height: 42px !important;
	padding: 7px 18px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(63, 111, 120, .08) !important;
	background: rgba(249,252,250,.76) !important;
	box-shadow: none !important;
	color: #397d89 !important;
	font-size: 11px !important;
}
.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer[open] summary kbd { opacity: .72 !important; transform: scale(.92) !important; }

@media (min-width: 681px) {
	.zpfc[data-zpfc].zpfc--focus .zpfc-ratings {
		bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px)) !important;
		width: min(calc(100% - 28px), 650px) !important;
	}
}

.zpfc[data-zpfc] .zpfc-chapter-mode,
.zpfc[data-zpfc] .zpfc-session-picker {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.zpfc[data-zpfc] .zpfc-chapter-mode { gap: 7px !important; }
.zpfc[data-zpfc] .zpfc-chapter-mode > div { gap: 7px !important; }

.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active {
	transform: none !important;
	box-shadow: inset 0 0 0 1px rgba(38, 83, 93, .12), 0 4px 12px rgba(24, 58, 68, .035) !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active.is-first {
	background: #eaf4f9 !important;
	box-shadow: inset 0 0 0 1px rgba(74, 137, 177, .26), 0 4px 12px rgba(24, 58, 68, .035) !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active.is-repeat {
	background: #f1edf8 !important;
	box-shadow: inset 0 0 0 1px rgba(119, 92, 169, .22), 0 4px 12px rgba(24, 58, 68, .035) !important;
}
.zpfc[data-zpfc] .zpfc-depth-switcher > button.is-active.is-mastered {
	background: #eaf5ef !important;
	box-shadow: inset 0 0 0 1px rgba(63, 133, 96, .22), 0 4px 12px rgba(24, 58, 68, .035) !important;
}

.zpfc[data-zpfc] .zpfc-session-picker__compact {
	display: grid !important;
	grid-template-columns: 38px minmax(0, 1fr) 38px !important;
	grid-template-rows: 40px 28px !important;
	gap: 3px 6px !important;
	align-items: center !important;
}
.zpfc[data-zpfc] .zpfc-session-picker__compact > .zpfc-session-picker__arrow:first-child { grid-column: 1 !important; grid-row: 1 !important; }
.zpfc[data-zpfc] .zpfc-session-picker__select { grid-column: 2 !important; grid-row: 1 !important; }
.zpfc[data-zpfc] .zpfc-session-picker__compact > .zpfc-session-picker__arrow:last-child { grid-column: 3 !important; grid-row: 1 !important; }
.zpfc[data-zpfc] .zpfc-session-picker__repeat {
	grid-column: 1 / -1 !important;
	grid-row: 2 !important;
	justify-self: center !important;
	min-height: 28px !important;
	padding: 2px 10px !important;
	border-radius: 9px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #648087 !important;
	font-size: 10px !important;
	font-weight: 760 !important;
}
.zpfc[data-zpfc] .zpfc-session-picker__repeat:hover { background: rgba(225,241,239,.68) !important; color: #2f6973 !important; }

.zpfc-focusbar__context span[data-role="focus-mode"] { font-weight: 650 !important; letter-spacing: -.005em !important; }

@media (max-width: 680px) {
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__question-wrap {
		min-height: clamp(340px, 46dvh, 430px) !important;
		padding: 48px 20px 28px !important;
	}
	.zpfc[data-zpfc].zpfc--focus .zpfc-speak-cue { margin-top: 20px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-card__answer:not([open]) summary { width: min(100%, 360px) !important; min-height: 50px !important; }
	.zpfc[data-zpfc].zpfc--focus .zpfc-ratings { bottom: max(6px, env(safe-area-inset-bottom)) !important; }
	.zpfc[data-zpfc] .zpfc-session-picker__compact {
		grid-template-columns: 36px minmax(0, 1fr) 36px !important;
		grid-template-rows: 40px 28px !important;
	}
	.zpfc[data-zpfc] .zpfc-session-picker__repeat span:last-child { display: inline !important; }
}

/* v2.2.0 — persistent PWA install affordance restored */
.zpfc-install-cta:not([hidden]) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	white-space: nowrap;
}
.zpfc-install-cta:not([hidden])::before {
	content: '⇩';
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
}
.zpfc-focus-drawer__install.zpfc-install-cta:not([hidden]) {
	width: 100%;
	min-height: 48px;
	margin-top: 10px;
	border: 1px solid rgba(50, 166, 180, .28);
	border-radius: 15px;
	background: linear-gradient(135deg, rgba(17, 131, 146, .12), rgba(43, 199, 206, .08));
	color: #0a7180;
	font-weight: 850;
}
html.zpfc-pwa-installed [data-zpfc-install] { display: none !important; }
.zpfc-install-dialog[hidden] { display: none !important; }
.zpfc-install-dialog {
	position: fixed;
	z-index: 100001;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 18px;
}
.zpfc-install-dialog__scrim {
	position: absolute;
	inset: 0;
	background: rgba(2, 15, 24, .66);
	backdrop-filter: blur(6px);
}
.zpfc-install-dialog__panel {
	position: relative;
	width: min(100%, 430px);
	padding: 28px 24px 22px;
	border: 1px solid rgba(139, 222, 226, .24);
	border-radius: 24px;
	background: linear-gradient(160deg, #f9fcfa 0%, #edf7f5 100%);
	box-shadow: 0 28px 80px rgba(0, 20, 31, .30);
	color: #102d3e;
	text-align: center;
}
.zpfc-install-dialog__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 68, 79, .08);
	color: #214654;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.zpfc-install-dialog__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	border-radius: 18px;
	background: linear-gradient(135deg, #11879a, #42c6cc);
	box-shadow: 0 12px 28px rgba(13, 130, 145, .22);
	color: #fff;
	font-size: 30px;
	font-weight: 900;
}
.zpfc-install-dialog__panel h2 { margin: 0 0 10px; color: #102d3e; font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.zpfc-install-dialog__panel p { margin: 0 auto; max-width: 340px; color: #486771; font-size: 15px; line-height: 1.55; }
.zpfc-install-dialog__hint { margin: 16px 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(31, 151, 161, .08); color: #45636c; font-size: 12px; line-height: 1.45; }
.zpfc-install-dialog__done { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: #0a7180; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
html.zpfc-install-dialog-open { overflow: hidden; }
@media (max-width: 600px) {
	.zpfc-pwa-topbar__actions .zpfc-install-cta:not([hidden]) { min-width: 42px; max-width: 112px; padding-inline: 10px; font-size: 11px; }
	.zpfc-install-dialog { align-items: end; padding: 10px 10px max(10px, env(safe-area-inset-bottom)); }
	.zpfc-install-dialog__panel { width: 100%; border-radius: 24px 24px 18px 18px; }
}
