/* Zenant & Herbart LMS — inherits the theme's fonts; adds the brand's indigo and marigold. */
.zh {
	--zh-deep: #1A1814;
	--zh-on-deep: #f3f5fb;
	--zh-on-deep-muted: #b8c2dd;
	--zh-accent: #A8873A;
	--zh-accent-hover: #BA9A4C;
	--zh-accent-ink: #1A1814;
	--zh-ink: inherit;
	--zh-muted: #58637f;
	--zh-line: #d9dfeb;
	--zh-soft: #e8ecf5;
	--zh-surface: #ffffff;
	--zh-good: #1d7f55;
	--zh-good-soft: #ddf1e7;
	display: flex;
	flex-direction: column;
	gap: 20px;
	line-height: 1.55;
}
@media (prefers-color-scheme: dark) {
	.zh {
		--zh-muted: #99a4c2;
		--zh-line: #29345a;
		--zh-soft: #1b2541;
		--zh-surface: #151d34;
		--zh-accent: #C9A552;
		--zh-accent-hover: #D6B46A;
		--zh-good: #46c08a;
		--zh-good-soft: #163628;
	}
}
.zh * { box-sizing: border-box; }
.zh-muted { color: var(--zh-muted); }
.zh-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--zh-muted); }
.zh-h { font-size: 1.25rem; margin: 0 0 10px; }
.zh-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .9rem; color: var(--zh-muted); align-items: center; }

.zh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none !important; line-height: 1.2; }
.zh-btn-primary { background: var(--zh-accent); color: var(--zh-accent-ink) !important; }
.zh-btn-primary:hover { background: var(--zh-accent-hover); }
.zh-btn-ghost { background: transparent; color: inherit; border: 1px solid var(--zh-line); }
.zh-btn-ghost:hover { background: var(--zh-soft); }
.zh-btn[disabled] { opacity: .6; cursor: default; }
.zh :focus-visible { outline: 2px solid var(--zh-accent); outline-offset: 2px; }

.zh-panel { background: var(--zh-surface); border: 1px solid var(--zh-line); border-radius: 14px; padding: 18px; min-width: 0; }
.zh-chip { display: inline-flex; font-size: .74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--zh-soft); color: var(--zh-muted); }
.zh-chip-good { background: var(--zh-good-soft); color: var(--zh-good); }

.zh-bar { height: 6px; border-radius: 999px; background: var(--zh-soft); overflow: hidden; }
.zh-bar i { display: block; height: 100%; background: var(--zh-accent); border-radius: inherit; transition: width .3s ease; }

.zh-hero { background: var(--zh-deep); color: var(--zh-on-deep); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.zh-hero .zh-label, .zh-hero p { color: var(--zh-on-deep-muted); margin: 0; }
.zh-hero-title { color: var(--zh-on-deep); margin: 0; font-size: 1.6rem; line-height: 1.2; }
.zh-hero .zh-bar { background: rgba(255, 255, 255, .16); max-width: 420px; }

.zh-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.zh-card { background: var(--zh-surface); border: 1px solid var(--zh-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: inherit !important; text-decoration: none !important; }
.zh-card:hover { border-color: var(--zh-muted); }
.zh-card-top, .zh-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.zh-card-foot { margin-top: auto; }
.zh-card-title { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.zh-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--zh-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.zh-price { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; }

.zh-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.zh-cta-info { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1; }

.zh-two { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .zh-two { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.zh-method ol { margin: 8px 0 0; padding-left: 20px; color: var(--zh-muted); font-size: .92rem; }
.zh-method p { margin: 6px 0 0; }

.zh-lessons { list-style: none; margin: 0; padding: 0; }
.zh-lesson { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--zh-line); }
.zh-lesson:last-child { border-bottom: 0; }
.zh-lesson.is-current { background: var(--zh-soft); border-radius: 10px; padding-left: 10px; padding-right: 10px; }
.zh-lesson a { color: inherit; text-decoration: none; }
.zh-lesson a:hover { text-decoration: underline; }
.zh-lesson-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zh-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--zh-line); display: grid; place-items: center; font-size: .75rem; color: var(--zh-muted); font-variant-numeric: tabular-nums; }
.zh-tick.is-done { background: var(--zh-good); border-color: var(--zh-good); color: #fff; }
.zh-step { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--zh-accent); }
.zh-mins { font-size: .82rem; color: var(--zh-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.zh-back { color: var(--zh-muted); font-weight: 600; text-decoration: none; align-self: flex-start; }
.zh-video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--zh-deep); border-radius: 14px; overflow: hidden; }
.zh-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.zh-video > a { position: absolute; inset: 0; display: grid; place-items: center; color: var(--zh-on-deep); font-weight: 600; }
.zh-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.zh-live { margin: 0; min-height: 1.2em; font-size: .9rem; color: var(--zh-muted); }
.zh-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .92rem; }
.zh-pager a { color: inherit; }
.zh-locked { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.zh-login { max-width: 420px; }
.zh-login form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.zh-login input[type="text"], .zh-login input[type="password"] { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--zh-line); font: inherit; }
.zh-login .login-remember { flex-direction: row; }
.zh-login input[type="submit"] { background: var(--zh-accent); color: var(--zh-accent-ink); border: 0; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .zh * { transition: none !important; } }

/* Sign in and create account */
.zh-acc { display: flex; align-items: center; padding: 8px 0 32px; }
.zh-acc__box { width: 100%; max-width: 460px; background: #FFFFFF; border: 1px solid #E7E0D2; border-top: 3px solid #A8873A; padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 18px; color: #3B3731; }
.zh-acc__intro { display: flex; flex-direction: column; gap: 6px; }
.zh-acc__kicker { margin: 0; font-size: 15px; font-weight: 600; color: #82631A; }
.zh-acc__title { margin: 0; font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.15; color: #1A1814; }
.zh-acc__lead { margin: 0; color: #6E675D; font-size: 16px; }
.zh-acc__tabs { display: flex; gap: 24px; border-bottom: 1px solid #E7E0D2; }
.zh-acc .zh-acc__tabs a { padding: 8px 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-weight: 600; font-size: 16px; color: #6E675D; text-decoration: none; }
.zh-acc .zh-acc__tabs a[aria-current="page"] { color: #1A1814; border-bottom-color: #A8873A; }
.zh-acc__msg { margin: 0; padding: 10px 12px; background: #FBF1EE; border-left: 3px solid #9B2C1F; color: #6B1F15; font-size: 15px; }
.zh-acc__msg--ok { background: #F8F5EE; border-left-color: #A8873A; color: #3B3731; }
.zh-acc__form { display: flex; flex-direction: column; gap: 14px; }
.zh-acc__form label { display: flex; flex-direction: column; gap: 5px; font-size: 15px; font-weight: 600; color: #1A1814; }
.zh-acc__form input[type="text"], .zh-acc__form input[type="email"], .zh-acc__form input[type="tel"], .zh-acc__form input[type="password"] { font: inherit; font-size: 16px; font-weight: 400; padding: 11px 13px; border: 1px solid #D8CFBD; border-radius: 0; background: #FFFFFF; color: #1A1814; }
.zh-acc__form input:focus { outline: 2px solid #A8873A; outline-offset: 1px; border-color: #A8873A; }
.zh-acc__hint { font-size: 13px; font-weight: 400; color: #6E675D; }
.zh-acc__check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; font-size: 14px !important; color: #6E675D !important; line-height: 1.45; }
.zh-acc__check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #A8873A; }
.zh-acc__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.zh-acc a { color: #82631A; }
.zh-acc__submit { min-height: 50px; border: 1px solid #A8873A; background: #A8873A; color: #1A1814; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 0; transition: background .2s ease; }
.zh-acc__submit:hover { background: #BA9A4C; }
.zh-acc__switch { margin: 0; text-align: center; font-size: 15px; color: #6E675D; }
.zh-acc__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.zh-turnstile { min-height: 65px; }

/* Access period and renewal */
.zh-access-until { font-size: .88rem; }
.zh-renew { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.zh-renew p { margin: 0; }
.zh-renew__status { font-weight: 600; color: #1A1814; }
.zh-renew__price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.zh-renew__price strong { font-size: 1.25rem; color: #1A1814; }
.zh-renew form { margin: 4px 0 0; }
