/* Tryouti LMS UI — everything is scoped under .tlu so the theme is untouched. */

.tlu {
	--navy: #14316e;
	--navy-dark: #0b1e48;
	--navy-light: #24489c;
	--navy-tint: #dde3f2;
	--red: #f5333f;
	--red-dark: #d1202c;
	--red-tint: #fce0e1;
	--green: #1fae64;
	--star: #f5a623;
	--bg: #f4f6fb;
	--text: #141a2e;
	--muted: #6b7280;
	--border: #e4e7ee;
	--radius: 20px;
	--shadow: 0 8px 24px rgba(20, 49, 110, .07), 0 1px 3px rgba(20, 49, 110, .05);

	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.tlu *, .tlu *::before, .tlu *::after { box-sizing: border-box; }
.tlu h1, .tlu h2, .tlu h3, .tlu p, .tlu ul, .tlu li { margin: 0; padding: 0; }
.tlu ul { list-style: none; }
.tlu a { color: inherit; text-decoration: none; }
.tlu img { max-width: 100%; display: block; }
.tlu .tlu-i { flex: none; vertical-align: -3px; }
.tlu-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.tlu-muted { color: var(--muted); font-size: 13px; }
html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
.tlu-hero {
	position: relative;
	background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-dark) 100%);
	color: #fff;
	padding: 28px 0 40px;
	border-radius: 0 0 32px 32px;
	overflow: hidden;
}
.tlu-hero::before {
	content: ''; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px;
	border-radius: 50%; background: rgba(245, 51, 63, .22);
}
.tlu-hero::after {
	content: ''; position: absolute; left: -70px; bottom: -120px; width: 260px; height: 260px;
	border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.tlu-hero .tlu-wrap { position: relative; z-index: 1; }
.tlu-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-bottom: 16px; }
.tlu-crumbs a:hover { color: #fff; }
.tlu-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tlu-tag {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
	background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .2px;
}
.tlu-tag-soft { background: rgba(255, 255, 255, .14); font-weight: 700; }
.tlu-title { font-size: clamp(26px, 4.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.6px; max-width: 820px; }
.tlu-lead { margin-top: 12px; max-width: 720px; font-size: 15.5px; color: rgba(255, 255, 255, .82); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tlu-catalog .tlu-lead { -webkit-line-clamp: unset; display: block; }
.tlu-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14px; }
.tlu-stats li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .88); }
.tlu-stats b { color: #fff; font-weight: 800; }
.tlu-stat-rating .tlu-i { color: var(--star); }
.tlu-by { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.tlu-by img { border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); }

/* ---------- Layout ---------- */
.tlu-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 56px; }
.tlu-side { order: -1; }
.tlu-main { min-width: 0; }
.tlu-section { margin-bottom: 20px; scroll-margin-top: 76px; }
.tlu-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.tlu-card + .tlu-card { margin-top: 20px; }
.tlu-card h2, .tlu-h2 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; }
.tlu-h2 { margin: 8px 0 16px; }
.tlu-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 6px; }
.tlu-card-head h2 { margin-bottom: 8px; }
.tlu-two { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
.tlu-two .tlu-card + .tlu-card { margin-top: 0; }

/* Tabs */
.tlu-tabs {
	position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
	margin: 0 -20px 20px; padding: 10px 20px; background: rgba(244, 246, 251, .92); backdrop-filter: blur(8px);
}
.tlu-tabs::-webkit-scrollbar { display: none; }
.tlu-tabs a {
	flex: none; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted);
	background: #fff; border: 1px solid var(--border); transition: .15s;
}
.tlu-tabs a:hover { color: var(--navy); }
.tlu-tabs a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
body.admin-bar .tlu-tabs { top: 32px; }

/* Lists */
.tlu-checks { display: grid; gap: 12px 24px; }
.tlu-cols-2 { grid-template-columns: 1fr; }
.tlu-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.tlu-checks .tlu-i { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.tlu-dots li { position: relative; padding-left: 18px; margin-bottom: 9px; font-size: 14.5px; }
.tlu-dots li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.tlu-prose { font-size: 15px; }
.tlu-prose p { margin: 0 0 12px; }
.tlu-prose ul, .tlu-prose ol { margin: 0 0 12px; padding-left: 22px; list-style: revert; }
.tlu-prose h2, .tlu-prose h3 { margin: 18px 0 8px; font-size: 17px; }
.tlu-prose img { border-radius: 12px; height: auto; }

/* Accordion */
.tlu-acc-item { border-top: 1px solid var(--border); }
.tlu-acc-item:first-child { border-top: 0; }
.tlu-acc-item summary {
	list-style: none; display: flex; align-items: center; gap: 12px; padding: 15px 0; cursor: pointer; font-weight: 700; font-size: 15px;
}
.tlu-acc-item summary::-webkit-details-marker { display: none; }
.tlu-acc-title { flex: 1; min-width: 0; }
.tlu-acc-item summary .tlu-i { color: var(--muted); transition: transform .2s; }
.tlu-acc-item[open] summary .tlu-i:last-child { transform: rotate(180deg); }
.tlu-lessons { padding: 0 0 12px; }
.tlu-lessons li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; font-size: 14px; }
.tlu-lessons li:hover { background: var(--bg); }
.tlu-lessons li > .tlu-i:first-child { color: var(--navy); }
.tlu-lessons li > a, .tlu-lessons li > span:not(.tlu-lock) { flex: 1; min-width: 0; font-weight: 600; }
.tlu-lessons li > a:hover { color: var(--red); }
.tlu-lessons small { color: var(--muted); white-space: nowrap; font-size: 12.5px; }
.tlu-lessons .is-locked { color: #4b5563; }
.tlu-lessons .is-locked > .tlu-i:first-child { color: #9aa3b5; }
.tlu-lock { color: #9aa3b5; display: inline-flex; }
.tlu-free { font-style: normal; font-size: 11px; font-weight: 800; color: var(--green); background: rgba(31, 174, 100, .12); border-radius: 999px; padding: 2px 9px; }
.tlu-faq-a { padding: 0 0 16px; color: #374151; font-size: 14.5px; }

/* Reviews */
.tlu-rate { display: grid; gap: 20px; margin-bottom: 18px; }
.tlu-rate-big { text-align: center; }
.tlu-rate-big b { font-size: 46px; font-weight: 800; line-height: 1; color: var(--navy); display: block; }
.tlu-stars { color: var(--star); display: inline-flex; gap: 2px; }
.tlu-bars { display: grid; gap: 7px; align-content: center; }
.tlu-bar { display: grid; grid-template-columns: 14px 1fr 28px; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 700; }
.tlu-bar i { height: 8px; border-radius: 99px; background: var(--navy-tint); overflow: hidden; display: block; }
.tlu-bar u { display: block; height: 100%; background: var(--star); border-radius: 99px; text-decoration: none; }
.tlu-reviews li { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.tlu-reviews img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.tlu-reviews b { margin-right: 8px; }
.tlu-reviews p { margin-top: 6px; font-size: 14.5px; color: #374151; }

/* Buy card */
.tlu-buy { background: #fff; border-radius: 24px; box-shadow: 0 18px 48px rgba(20, 49, 110, .16), 0 2px 6px rgba(20, 49, 110, .06); overflow: hidden; }
.tlu-buy-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); }
.tlu-buy-media img { width: 100%; height: 100%; object-fit: cover; }
.tlu-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .55); background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); }
.tlu-buy-body { padding: 20px; display: grid; gap: 14px; }
.tlu-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.tlu-price-now { font-size: 32px; line-height: 1.1; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.tlu-free-big { color: var(--green); }
.tlu-price s { color: var(--muted); font-size: 15px; }
.tlu-price em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--red); background: var(--red-tint); border-radius: 999px; padding: 4px 10px; }
.tlu-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 16px;
	font: 800 15px/1 'Plus Jakarta Sans', system-ui, sans-serif; border: 0; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; width: 100%;
}
.tlu-btn:active { transform: translateY(1px); }
.tlu-btn-primary { background: linear-gradient(135deg, #ff5a64, var(--red) 55%, var(--red-dark)); color: #fff; box-shadow: 0 10px 22px rgba(245, 51, 63, .32); }
.tlu-btn-primary:hover { color: #fff; box-shadow: 0 12px 26px rgba(245, 51, 63, .42); }
.tlu-btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--navy-tint); }
.tlu-btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* CTA notes + sign-in dialog */
.tlu-cta { display: grid; gap: 8px; }
.tlu-cta-note { text-align: center; font-size: 12.5px; color: var(--muted); }
.tlu-modal { border: 0; padding: 0; border-radius: 24px; width: min(440px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; box-shadow: 0 30px 80px rgba(11, 30, 72, .45); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text, #141a2e); }
.tlu-modal::backdrop { background: rgba(11, 30, 72, .55); backdrop-filter: blur(3px); }
.tlu-modal-box { position: relative; padding: 28px 24px 22px; background: #fff; }
.tlu-modal-x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f3f9; color: #4b5563; font-size: 22px; line-height: 1; cursor: pointer; }
.tlu-modal-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -.3px; padding-right: 36px; }
.tlu-modal-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: #f1f3f9; margin-bottom: 18px; }
.tlu-modal-tabs button { border: 0; border-radius: 10px; padding: 10px; font: 800 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: #6b7280; background: transparent; cursor: pointer; }
.tlu-modal-tabs button.is-on { background: #fff; color: #14316e; box-shadow: 0 2px 8px rgba(20, 49, 110, .12); }
.tlu-form { display: none; gap: 14px; }
.tlu-form.is-on { display: grid; }
.tlu-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #374151; }
.tlu-form input[type='text'], .tlu-form input[type='email'], .tlu-form input[type='password'] {
	width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #e4e7ee; border-radius: 14px; background: #fff; font: 600 15px 'Plus Jakarta Sans', system-ui, sans-serif; color: #141a2e; box-shadow: none; outline: 0;
}
.tlu-form input:focus { border-color: #14316e; box-shadow: 0 0 0 3px rgba(20, 49, 110, .12); }
.tlu-form .tlu-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.tlu-form-msg { min-height: 18px; font-size: 13px; font-weight: 700; color: #d1202c; margin: 0; }
.tlu-form-msg.is-ok { color: #1fae64; }
.tlu-form-link { text-align: center; font-size: 13px; font-weight: 700; color: #14316e; text-decoration: underline; }
.tlu-form-fine { font-size: 12px; color: #6b7280; text-align: center; }
.tlu-form-fine a { color: #14316e; text-decoration: underline; }
.tlu-btn[disabled] { opacity: .65; cursor: progress; }
.tlu-includes { display: grid; gap: 11px; padding-top: 6px; border-top: 1px solid var(--border); }
.tlu-includes li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: #374151; padding-top: 0; }
.tlu-includes .tlu-i { color: var(--navy); }
.tlu-includes li:first-child { margin-top: 12px; }

/* Mobile sticky bar */
.tlu-bar-m {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 14px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px rgba(20, 49, 110, .14); transition: transform .25s;
}
.tlu-bar-m.is-hidden { transform: translateY(110%); }
.tlu-bar-m b { font-size: 19px; font-weight: 800; color: var(--navy); }
.tlu-bar-m s { margin-left: 8px; font-size: 13px; color: var(--muted); }
.tlu-bar-m .tlu-btn { width: auto; min-height: 46px; flex: none; }
.tlu-course { padding-bottom: 76px; }

/* ---------- Exam format card ---------- */
.tlu-tag-exam { background: #fff; color: var(--navy); }
.tlu-badge-exam { left: auto; right: 12px; background: rgba(11, 30, 72, .88); backdrop-filter: blur(4px); }
.tlu-exam { border: 1.5px solid var(--navy-tint); background: linear-gradient(180deg, #fff, #f8f9fd); }
.tlu-exam-tag { color: #374151; font-size: 14.5px; margin: 0 0 14px; }
.tlu-sections { display: grid; gap: 10px; }
.tlu-sections li { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.tlu-sections b { font-size: 14.5px; font-weight: 800; }
.tlu-group { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--navy-tint); color: var(--navy); font-size: 11px; font-weight: 800; }
.tlu-sec-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.tlu-pass { color: #0d7a43; background: rgba(31, 174, 100, .12); padding: 1px 9px; border-radius: 999px; font-weight: 800; }
.tlu-scoring { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--red-tint); }
.tlu-scoring b { color: var(--red-dark); font-size: 13px; letter-spacing: .3px; text-transform: uppercase; }
.tlu-scoring p { margin-top: 6px; font-size: 14px; color: #4a1d20; }
@media (min-width: 700px) {
	.tlu-sections li { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Cards & grid ---------- */
.tlu-grid { display: grid; gap: 20px; }
.tlu-grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.tlu-cardc { background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.tlu-cardc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 49, 110, .14); }
.tlu-cardc-media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); overflow: hidden; }
.tlu-cardc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tlu-cardc:hover .tlu-cardc-media img { transform: scale(1.04); }
.tlu-badge { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #fff; }
.tlu-badge-green { background: var(--green); }
.tlu-badge-red { background: var(--red); }
.tlu-cardc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tlu-cardc-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--red); }
.tlu-cardc h3 { font-size: 16px; line-height: 1.3; font-weight: 800; letter-spacing: -.2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tlu-cardc h3 a:hover { color: var(--navy-light); }
.tlu-cardc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tlu-cardc-meta li { display: inline-flex; align-items: center; gap: 5px; }
.tlu-rate-mini .tlu-i { color: var(--star); }
.tlu-rate-mini b { color: var(--text); }
.tlu-cardc-price { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); display: flex; align-items: baseline; gap: 10px; }
.tlu-cardc-price b { font-size: 17px; font-weight: 800; color: var(--navy); }
.tlu-cardc-price s { font-size: 12.5px; color: var(--muted); }
.tlu-green { color: var(--green) !important; }

/* ---------- Catalog ---------- */
.tlu-hero-cat { padding: 36px 0 44px; }
.tlu-hero-cat .tlu-tag { margin-bottom: 14px; }
.tlu-search {
	display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 24px; padding: 8px 8px 8px 18px; background: #fff; color: var(--muted);
	border-radius: 18px; box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.tlu-search input[type='search'] {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 15px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); padding: 10px 0; box-shadow: none;
}
.tlu-search .tlu-btn { width: auto; min-height: 44px; border-radius: 13px; }
.tlu-catalog-body { padding-top: 24px; padding-bottom: 64px; }
.tlu-filters { display: grid; gap: 14px; margin-bottom: 6px; }
.tlu-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.tlu-chips::-webkit-scrollbar { display: none; }
.tlu-chip { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 13.5px; font-weight: 700; color: #374151; transition: .15s; }
.tlu-chip:hover { border-color: var(--navy); color: var(--navy); }
.tlu-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tlu-selects { display: flex; flex-wrap: wrap; gap: 12px; }
.tlu-selects label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tlu-selects select {
	appearance: none; border: 1px solid var(--border); border-radius: 12px; padding: 9px 34px 9px 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	font: 700 13.5px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); cursor: pointer; height: auto; min-height: 0;
}
.tlu-count { margin: 18px 0 16px; font-size: 14px; color: var(--muted); }
.tlu-count b { color: var(--text); }
.tlu-empty { text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.tlu-empty h2 { color: var(--text); font-size: 20px; }
.tlu-empty .tlu-btn { width: auto; margin-top: 10px; }
.tlu-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.tlu-pager a { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.tlu-pager a:hover { border-color: var(--navy); color: var(--navy); }
.tlu-pager a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Desktop ---------- */
@media (min-width: 700px) {
	.tlu-cols-2 { grid-template-columns: 1fr 1fr; }
	.tlu-two { grid-template-columns: 1fr 1fr; }
	.tlu-rate { grid-template-columns: 180px 1fr; align-items: center; }
	.tlu-filters { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
	.tlu-hero { padding: 36px 0 56px; }
	.tlu-course .tlu-hero { min-height: 360px; }
	.tlu-course .tlu-hero .tlu-wrap { padding-right: 420px; }
	.tlu-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 28px; }
	.tlu-side { order: 0; margin-top: -270px; position: sticky; top: 24px; z-index: 3; align-self: start; }
	body.admin-bar .tlu-side { top: 56px; }
	.tlu-tabs { margin: 0 0 20px; padding: 10px 0; }
	.tlu-bar-m { display: none; }
	.tlu-course { padding-bottom: 0; }
}
@media (max-width: 959px) {
	body.tlu-course-page .wa-floating { bottom: 88px !important; right: 14px !important; }
	.tlu-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.tlu-selects label { flex-direction: column; align-items: stretch; gap: 4px; }
	.tlu-selects select { width: 100%; }
	.tlu-hero { border-radius: 0 0 26px 26px; }
	.tlu-buy { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tlu * { transition: none !important; }
}

.tlu-paynote { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100000; max-width: min(92vw, 460px); padding: 14px 20px; border-radius: 16px; background: #0b1e48; color: #fff; font: 700 14px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 16px 40px rgba(11, 30, 72, .35); text-align: center; }
.tlu-paynote[hidden] { display: none; }
.tlu-paynote.is-busy::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: tlu-spin .8s linear infinite; }
@keyframes tlu-spin { to { transform: rotate(360deg); } }

.tlu-coupon { margin: 0 0 12px; font-size: 13.5px; }
.tlu-coupon summary { cursor: pointer; font-weight: 700; color: var(--tlu-navy, #0b1e48); padding: 4px 0; }
.tlu-coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.tlu-coupon-row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid #dfe3ee; border-radius: 12px; padding: 0 14px; font: 700 14px/1 'Plus Jakarta Sans', system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.tlu-coupon-row .tlu-btn { height: 44px; padding: 0 18px; }
.tlu-coupon-msg { margin: 8px 0 0; font-weight: 600; min-height: 1em; }
.tlu-coupon-msg.is-ok { color: #138a4d; }
.tlu-coupon-msg.is-bad { color: #c8202f; }

.tlu-prereq { margin: 0 0 12px; padding-left: 18px; font-weight: 600; }
.tlu-prereq a { color: inherit; text-decoration: underline; }

.tlu-announce { border-left: 4px solid var(--tlu-red, #f5333f); }
.tlu-announce h2, .tlu-cfiles h2 { margin-top: 0; }
.tlu-cfiles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tlu-cfiles a { display: block; padding: 10px 14px; border: 1px solid #e4e7ee; border-radius: 12px; font-weight: 700; text-decoration: none; }
.tlu-cfiles a:hover { background: #f6f8fd; }

.tlu-points { margin-top: 10px; }
.tlu-points .tlu-btn { width: 100%; }

/* course review form */
.tlu-rv-form { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.tlu-rv-form h3 { font-size: 17px; font-weight: 800; }
.tlu-rv-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; resize: vertical; }
.tlu-rv-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.tlu-rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tlu-rv-stars label { cursor: pointer; color: #cfd5df; line-height: 0; }
.tlu-rv-stars label:hover, .tlu-rv-stars label:hover ~ label, .tlu-rv-stars input:checked ~ label { color: var(--star, #f5a623); }
.tlu-rv-stars input:focus-visible + label { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.tlu-rv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tlu-rv-hint { margin-top: 16px; }
.tlu-note { padding: 10px 14px; border-radius: 12px; background: #fff7e0; color: #7a5a00; font-size: 14px; }
.tlu-reviews li[hidden] { display: none; }


/* access plans */
.tlu-plans-body { padding-top: 28px; padding-bottom: 56px; display: grid; gap: 34px; }
.tlu-plan-head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.tlu-plan-head p { margin: 4px 0 0; }
.tlu-plan-grid { display: grid; gap: 16px; margin-top: 16px; grid-template-columns: 1fr; }
.tlu-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1.5px solid var(--border); border-radius: 22px; background: #fff; }
.tlu-plan.is-featured { border-color: var(--navy); box-shadow: 0 18px 40px rgba(20, 49, 110, .16); }
.tlu-plan h3 { margin: 0; font-size: 18px; font-weight: 800; }
.tlu-plan-badge { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--red, #f5333f); color: #fff; font-size: 12px; font-weight: 800; }
.tlu-plan-price b { font-size: 34px; font-weight: 800; letter-spacing: -.5px; color: var(--navy); }
.tlu-plan-price s { margin-left: 8px; color: var(--muted, #6b7280); }
.tlu-plan-permo { margin: 0; color: var(--muted, #6b7280); font-size: 14px; }
.tlu-plan-permo em { font-style: normal; font-weight: 800; color: #138a4d; margin-left: 6px; }
.tlu-plan-feat { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.tlu-plan-feat li { padding-left: 24px; position: relative; }
.tlu-plan-feat li::before { content: '✓'; position: absolute; left: 0; color: #138a4d; font-weight: 800; }
.tlu-plan-live { margin: 0; padding: 8px 12px; border-radius: 12px; background: #dff5e9; color: #0f6a3b; font-size: 13.5px; font-weight: 700; }
.tlu-plan .tlu-btn { width: 100%; justify-content: center; }
.tlu-plan-note { text-align: center; font-size: 13.5px; }
.tlu-plan-teaser { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #eef2fb; display: grid; gap: 4px; font-size: 13.5px; }
.tlu-plan-teaser b { font-size: 14px; }
.tlu-plan-teaser a { font-weight: 800; }
@media (min-width: 760px) { .tlu-plan-grid { grid-template-columns: repeat(3, 1fr); } }

/* catalog: advanced filters, active filters, status badge */
.tlu-badge-status { top: auto; bottom: 12px; background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(11, 30, 72, .18); }
.tlu-badge-status.is-hot { background: #ff6a1a; color: #fff; }
.tlu-badge-status.is-new { background: #1f7ae0; color: #fff; }
.tlu-badge-status.is-special { background: #7c3aed; color: #fff; }
.tlu-chip small { margin-left: 6px; opacity: .65; font-weight: 700; }
.tlu-filterform { display: grid; gap: 12px; }
.tlu-adv { border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.tlu-adv > summary { cursor: pointer; padding: 11px 16px; font-weight: 800; font-size: 13.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tlu-adv > summary::-webkit-details-marker { display: none; }
.tlu-adv > summary::after { content: '+'; font-size: 18px; line-height: 1; }
.tlu-adv[open] > summary::after { content: '\2212'; }
.tlu-adv-body { padding: 4px 16px 16px; display: grid; gap: 14px; grid-template-columns: 1fr; }
.tlu-adv-body label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tlu-adv-body select, .tlu-adv-body input[type=number] { height: 42px; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; font: 600 14px 'Plus Jakarta Sans', system-ui, sans-serif; background: #fff; width: 100%; }
.tlu-adv-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tlu-adv-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tlu-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; }
.tlu-active a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #eef2fb; color: var(--navy); font-size: 13px; font-weight: 700; }
.tlu-active a::after { content: '\00d7'; font-size: 16px; line-height: 1; }
.tlu-active a.tlu-clear { background: transparent; color: var(--red, #f5333f); }
.tlu-active a.tlu-clear::after { content: ''; }
@media (min-width: 760px) { .tlu-adv-body { grid-template-columns: repeat(4, 1fr); } .tlu-adv-range { grid-column: span 1; } }
.tlu-filters { grid-template-columns: 1fr !important; }
.tlu-filterform .tlu-selects { align-items: center; }

/* tidy: coupon box and the "what you get" card */
.tlu-coupon { padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: #fafbfe; }
.tlu-coupon summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tlu-coupon summary::-webkit-details-marker { display: none; }
.tlu-coupon summary::after { content: '+'; font-size: 18px; line-height: 1; font-weight: 700; }
.tlu-coupon[open] summary::after { content: '\2212'; }
.tlu-coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.tlu-coupon-row input { width: 100%; background: #fff; }
.tlu-coupon-row .tlu-btn { width: auto; min-height: 44px; height: 44px; padding: 0 20px; border-radius: 12px; font-size: 14px; }
.tlu-coupon-msg:empty { display: none; }
.tlu-cols-2 > li:only-child { grid-column: 1 / -1; }
.tlu-learn-text { margin: 0; font-size: 15px; line-height: 1.7; color: #374151; }

/* the exam label sits in the top-right corner (the generic badge rule comes later and used to stretch it) */
.tlu-badge.tlu-badge-exam { left: auto; right: 12px; }

/* leaderboard */
.tlu-rk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.tlu-rk-pick select { height: 42px; max-width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; background: #fff; font: 600 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); }
.tlu-rk-body.is-loading { opacity: .45; pointer-events: none; transition: opacity .15s; }
.tlu-rk-meta { margin: 6px 0 14px; font-size: 13.5px; color: var(--muted); }
.tlu-rk-meta b { color: var(--text); }
.tlu-rk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tlu-rk-row, .tlu-rk-mine { display: grid; grid-template-columns: 38px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.tlu-rk-row.is-me, .tlu-rk-mine { border-color: var(--navy); background: #eef2fb; }
.tlu-rk-mine { margin-top: 12px; }
.tlu-rk-pos { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #eef2fb; color: var(--navy); font-weight: 800; font-size: 14px; }
.tlu-rk-row.is-top-1 .tlu-rk-pos { background: linear-gradient(135deg, #ffd86b, #f5a623); color: #5a3b00; }
.tlu-rk-row.is-top-2 .tlu-rk-pos { background: linear-gradient(135deg, #e8edf3, #aab4c3); color: #2f3a4a; }
.tlu-rk-row.is-top-3 .tlu-rk-pos { background: linear-gradient(135deg, #f0c8a0, #c47f45); color: #4a2a0c; }
.tlu-rk-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; }
.tlu-rk-who { display: grid; min-width: 0; line-height: 1.3; }
.tlu-rk-who b { font-size: 14.5px; font-weight: 800; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlu-rk-who b em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 1px; }
.tlu-rk-who small { font-size: 12.5px; color: var(--muted); }
.tlu-rk-val { font-size: 15px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.tlu-rk-empty { display: grid; gap: 4px; padding: 26px 8px; text-align: center; color: var(--muted); }
.tlu-rk-empty b { color: var(--text); font-size: 16px; }
.tlu-rk-hint { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .tlu-rk-row, .tlu-rk-mine { grid-template-columns: 32px 36px minmax(0, 1fr) auto; gap: 9px; padding: 9px 10px; } .tlu-rk-pos { width: 30px; height: 30px; } .tlu-rk-av { width: 36px; height: 36px; } }

/* ===== Course page v2: buy card, share/save, selling details ===== */
.tlu-by { flex-wrap: wrap; }
.tlu-by-sep { opacity: .5; }
.tlu-stats li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.tlu-stats { gap: 8px 10px; }

.tlu-buy { position: relative; }
.tlu-buy-media { position: relative; }
.tlu-buy-flag { position: absolute; left: 14px; top: 14px; padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px; box-shadow: 0 6px 16px rgba(245, 51, 63, .4); }
.tlu-buy-flag.is-free { background: var(--green); box-shadow: 0 6px 16px rgba(31, 174, 100, .4); }
.tlu-buy-body { padding: 18px 20px 20px; gap: 12px; }
.tlu-price-now { font-size: 30px; }
.tlu-urgent { display: flex; align-items: center; gap: 7px; margin: -2px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--red-tint); color: var(--red-dark); font-size: 13px; font-weight: 800; }
.tlu-urgent .tlu-i { vertical-align: 0; }
.tlu-btn-sm { min-height: 44px; font-size: 14px; border-radius: 14px; }
.tlu-btn-primary:hover { transform: translateY(-1px); }
.tlu-includes { gap: 9px; padding-top: 12px; margin-top: 2px; }
.tlu-includes li:first-child { margin-top: 0; }
.tlu-includes .tlu-i { color: var(--green); }

/* save + share */
.tlu-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.tlu-sharebox { display: contents; }
.tlu-act {
	height: 46px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px;
	border: 1.5px solid var(--navy-tint); border-radius: 14px; background: #fff; color: var(--navy);
	font: 800 14px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.tlu-act:hover { border-color: var(--navy); background: #f2f5fc; }
.tlu-act:active { transform: translateY(1px); }
.tlu-act:focus-visible { outline: 3px solid rgba(36, 72, 156, .35); outline-offset: 2px; }
.tlu-act .tlu-i { vertical-align: 0; }
.tlu-wish svg { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .15s; }
.tlu-wish.is-on { color: var(--red-dark); border-color: var(--red); background: var(--red-tint); }
.tlu-wish.is-on svg { fill: currentColor; }
.tlu-wish:disabled { opacity: .6; cursor: progress; }
.tlu-sharemenu { grid-column: 1 / -1; display: grid; gap: 2px; padding: 6px; border-radius: 16px; background: #f6f8fd; border: 1px solid var(--border); }
.tlu-sharemenu[hidden] { display: none; }
.tlu-sharemenu a, .tlu-sharemenu button {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent;
	font: 700 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); text-align: left; cursor: pointer;
}
.tlu-sharemenu a:hover, .tlu-sharemenu button:hover { background: #fff; color: var(--navy); }
.tlu-sharemenu .tlu-i { color: var(--navy); }
.tlu-sm-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.tlu-sm-dot.is-tg { background: #229ed9; }
.tlu-sm-dot.is-fb { background: #1877f2; }
.tlu-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.tlu-trust .tlu-i { vertical-align: 0; color: var(--green); }

.tlu-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 100001; max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 14px;
	background: #0b1e48; color: #fff; font: 700 14px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; box-shadow: 0 16px 40px rgba(11, 30, 72, .35);
	opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.tlu-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the card must always fit the screen, so save/share are never cut off or hidden */
@media (min-width: 960px) {
	.tlu-buy { max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
	body.admin-bar .tlu-buy { max-height: calc(100vh - 80px); }
	.tlu-buy-media { aspect-ratio: 16 / 8.5; }
	/* the card already has "Tanya admin dulu"; the floating chat bubble only covered it */
	body.tlu-course-page .wa-floating { display: none !important; }
}
@media (min-width: 960px) and (max-height: 760px) {
	.tlu-buy-media { aspect-ratio: 16 / 6; }
	.tlu-buy-body { gap: 10px; padding-top: 14px; }
}
@media (max-width: 959px) {
	.tlu-toast { bottom: 92px; }
}

/* section headings and tiles */
.tlu-section .tlu-card > h2, .tlu-card-head h2, .tlu-rk-head h2 { display: flex; align-items: center; gap: 10px; }
.tlu-section .tlu-card > h2::before, .tlu-card-head h2::before, .tlu-rk-head h2::before { content: ''; width: 5px; height: 20px; border-radius: 4px; background: var(--red); flex: none; }
.tlu-prose h2::before { content: none; }
.tlu-cols-2 > li { padding: 12px 14px; border-radius: 14px; background: #f6f9fe; border: 1px solid #e8edf7; }
.tlu-sections li { border-left: 4px solid var(--navy-light); }
.tlu-acc-item[open] { background: #fafbfe; }

/* closing call to action */
.tlu-endcta {
	display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 28px 30px; border-radius: 26px; color: #fff;
	background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); box-shadow: 0 18px 44px rgba(20, 49, 110, .28); position: relative; overflow: hidden;
}
.tlu-endcta::after { content: ''; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: rgba(245, 51, 63, .25); }
.tlu-endcta > * { position: relative; z-index: 1; }
.tlu-endcta h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: #fff; }
.tlu-endcta p { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.tlu-endcta .tlu-btn { width: auto; flex: none; padding: 0 30px; min-height: 54px; }
@media (max-width: 640px) { .tlu-endcta { padding: 22px 20px; } .tlu-endcta .tlu-btn { width: 100%; } }

@media (max-width: 640px) {
	.tlu-by { gap: 6px 10px; }
	.tlu-by-sep { display: none; }
	.tlu-by > span:last-child { width: 100%; padding-left: 46px; margin-top: -4px; font-size: 12.5px; opacity: .8; }
}

/* Google button inside the sign-in dialog */
.tlu-google { display: grid; justify-items: center; gap: 14px; margin-bottom: 16px; }
.tlu-google[hidden] { display: none; }
.tlu-google-btn { min-height: 44px; display: flex; justify-content: center; max-width: 100%; }
.tlu-or { display: flex; align-items: center; gap: 12px; width: 100%; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.tlu-or::before, .tlu-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ===== pages v3: catalog, cards, plans ===== */
.tlu-hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.tlu-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.tlu-hero-points li::before { content: '\2713'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 174, 100, .9); color: #fff; font-size: 11px; font-weight: 800; }

/* course cards: whole card is the link */
.tlu-cardc { position: relative; }
.tlu-cardc h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.tlu-cardc-go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--red); transition: gap .15s; }
.tlu-cardc-go .tlu-i { transform: rotate(-90deg); vertical-align: 0; }
.tlu-cardc:hover .tlu-cardc-go { gap: 9px; }
.tlu-cardc:focus-within { outline: 3px solid rgba(36, 72, 156, .35); outline-offset: 2px; }
.tlu-cardc-price { align-items: center; }

/* catalog toolbar: harga, urutkan and filter on one line */
.tlu-chips { padding-bottom: 8px; }
.tlu-chip { padding: 10px 18px; box-shadow: 0 1px 2px rgba(20, 49, 110, .04); }
.tlu-chip:hover { transform: translateY(-1px); }
@media (min-width: 700px) {
	.tlu-filterform { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
	.tlu-filterform .tlu-selects { display: contents; }
	.tlu-adv { flex: 0 0 auto; border: 0; background: transparent; }
	.tlu-adv > summary { padding: 9px 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font-size: 13.5px; }
	.tlu-adv > summary:hover { border-color: var(--navy); color: var(--navy); }
	.tlu-adv[open] { flex: 1 1 100%; order: 5; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
	.tlu-adv[open] > summary { border: 0; }
}
.tlu-count { margin: 20px 0 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }

/* plans */
.tlu-plan-head h2 { display: flex; align-items: center; gap: 10px; }
.tlu-plan-head h2::before { content: ''; width: 5px; height: 24px; border-radius: 4px; background: var(--red); }
.tlu-plan { padding: 28px 24px 24px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.tlu-plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 49, 110, .14); border-color: var(--navy-light); }
.tlu-plan.is-featured { border-width: 2px; background: linear-gradient(180deg, #fff 55%, #f3f6fe); box-shadow: 0 20px 46px rgba(20, 49, 110, .18); }
.tlu-plan-price b { font-size: 38px; }
.tlu-plan-permo em { padding: 2px 9px; border-radius: 999px; background: #dff5e9; }
.tlu-plan-feat { gap: 10px; margin: 8px 0 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.tlu-plan-feat li { padding-left: 28px; }
.tlu-plan-feat li::before { content: '\2713'; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: rgba(31, 174, 100, .14); text-align: center; font-size: 11px; line-height: 19px; }
@media (min-width: 760px) { .tlu-plan.is-featured { transform: scale(1.025); } .tlu-plan.is-featured:hover { transform: scale(1.025) translateY(-4px); } }
.tlu-plan-faq { max-width: 820px; margin: 4px auto 0; }
.tlu-plan-faq h2 { font-size: 22px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 14px; text-align: center; }
.tlu-plan-faq .tlu-acc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 22px; }
.tlu-plan-note { max-width: 720px; margin: 0 auto; }

.tlu-plan-permo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 30px; }
.tlu-plan-permo em { margin-left: 0; white-space: nowrap; }
.tlu-plan-note { text-align: center; }

/* sign-in dialog: tidy close button (drawn with CSS so it is always centred) */
.tlu-modal-x { top: 22px; right: 18px; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; font-size: 0; line-height: 0; color: #4b5563; transition: background .15s, color .15s, transform .12s; }
.tlu-modal-x::before, .tlu-modal-x::after { content: ''; position: absolute; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.tlu-modal-x::before { transform: rotate(45deg); }
.tlu-modal-x::after { transform: rotate(-45deg); }
.tlu-modal-x:hover { background: var(--red-tint, #fce0e1); color: var(--red-dark, #d1202c); transform: rotate(90deg); }
.tlu-modal-x:focus-visible { outline: 3px solid rgba(36, 72, 156, .35); outline-offset: 2px; }
.tlu-modal-title { padding-right: 52px; line-height: 34px; margin-top: -4px; }

/* 404 page */
.tlu-404 { padding: 40px 0 70px; }
.tlu-404-box { text-align: center; max-width: 640px; margin: 0 auto 44px; padding: 40px 28px; background: #fff; border-radius: 26px; box-shadow: var(--shadow); }
.tlu-404-code { font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -3px; background: linear-gradient(135deg, var(--navy-light), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tlu-404-box h1 { margin: 6px 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.4px; }
.tlu-404-box p { color: var(--muted); margin: 0 0 22px; }
.tlu-404-search { margin: 0 auto 22px; box-shadow: 0 6px 22px rgba(20, 49, 110, .14); border: 1px solid var(--border); }
.tlu-404-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tlu-404-acts .tlu-btn { width: auto; padding: 0 26px; }

/* plans page: FAQ and footnote are centred (".tlu p { margin: 0 }" used to cancel the auto margins) */
.tlu-plans .tlu-plan-faq { width: 100%; max-width: 820px; margin: 8px auto 0; justify-self: center; }
.tlu-plans .tlu-plan-faq h2 { text-align: center; margin: 0 0 16px; }
.tlu-plans .tlu-plan-faq .tlu-acc { width: 100%; }
.tlu-plans .tlu-plan-faq .tlu-acc-item summary { padding: 17px 0; }
.tlu-plans .tlu-plan-faq .tlu-faq-a { padding: 0 0 18px; line-height: 1.7; }
.tlu-plans .tlu-plan-note { width: 100%; max-width: 720px; margin: 0 auto; justify-self: center; text-align: center; padding: 0 12px; }

/* plans filter */
.tlu-plans .tlu-pfilter { display: grid; gap: 12px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.tlu-pf-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tlu-pf-label { flex: none; min-width: 64px; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.tlu-pfilter .tlu-chips { padding: 0; flex-wrap: wrap; overflow: visible; }
.tlu-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: #eef1f8; }
.tlu-seg a { padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 800; color: #4b5563; transition: background .15s, color .15s; }
.tlu-seg a:hover { color: var(--navy); }
.tlu-seg a.is-on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(20, 49, 110, .12); }
.tlu-plans .tlu-pf-reset { margin: 0; font-size: 13px; font-weight: 700; }
.tlu-pf-reset a { color: var(--red); text-decoration: underline; }
.tlu-plan-scope { align-self: flex-start; padding: 3px 11px; border-radius: 999px; background: #eef2fb; color: var(--navy); font-size: 12px; font-weight: 800; }
@media (max-width: 640px) { .tlu-pf-row { align-items: flex-start; flex-direction: column; gap: 8px; } .tlu-seg { width: 100%; } .tlu-seg a { flex: 1; text-align: center; padding: 8px 6px; } .tlu-pfilter .tlu-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; } }

@media (max-width: 640px) {
	.tlu-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; width: 100%; gap: 2px; }
	.tlu-seg a { min-width: 0; padding: 9px 2px; font-size: 12.5px; white-space: nowrap; }
}

/* a long row of chips must scroll inside its card, not stretch the page */
.tlu-plans-body > * { min-width: 0; }
.tlu-pfilter, .tlu-pf-row, .tlu-pf-row > * { min-width: 0; max-width: 100%; }
@media (max-width: 640px) { .tlu-pfilter .tlu-chips { scrollbar-width: none; } .tlu-pfilter .tlu-chips::-webkit-scrollbar { display: none; } }

/* ===== beat the theme's <button> style =====
   Hello Elementor paints every button/submit pink (text, 1px outline, hover fill) with a rule as strong as one class;
   depending on load order it wins and our red buttons end up with pink, unreadable text. "body .x" is stronger. */
body .tlu-btn { border: 0; border-radius: 16px; font-weight: 800; font-size: 15px; line-height: 1; padding: 0 22px; white-space: normal; text-align: center; }
body .tlu-btn-primary, body .tlu-btn-primary:hover, body .tlu-btn-primary:focus { color: #fff; border: 0; }
body .tlu-btn-ghost, body .tlu-btn-ghost:hover, body .tlu-btn-ghost:focus { background: #fff; color: var(--navy); border: 1.5px solid var(--navy-tint); }
body .tlu-btn-ghost:hover, body .tlu-btn-ghost:focus { border-color: var(--navy); }
body .tlu-btn-sm { font-size: 14px; }
body .tlu-act, body .tlu-act:hover, body .tlu-act:focus { color: var(--navy); border: 1.5px solid var(--navy-tint); background: #fff; border-radius: 14px; font-weight: 800; font-size: 14px; padding: 0 12px; }
body .tlu-act:hover, body .tlu-act:focus { border-color: var(--navy); background: #f2f5fc; }
body .tlu-wish.is-on, body .tlu-wish.is-on:hover { color: var(--red-dark); border-color: var(--red); background: var(--red-tint); }
body .tlu-modal-x, body .tlu-modal-x:focus { border: 0; background: #f1f3f9; color: #4b5563; padding: 0; }
body .tlu-modal-x:hover { background: var(--red-tint); color: var(--red-dark); }
body .tlu-modal-tabs button { border: 0; color: #6b7280; background: transparent; padding: 10px; font-size: 14px; font-weight: 800; border-radius: 10px; }
body .tlu-modal-tabs button.is-on, body .tlu-modal-tabs button.is-on:hover { background: #fff; color: #14316e; }
body .tlu-modal-tabs button:hover:not(.is-on) { background: transparent; color: #14316e; }
body .tlu-sharemenu a, body .tlu-sharemenu button, body .tlu-sharemenu button:hover { border: 0; background: transparent; color: var(--text); padding: 11px 12px; font-size: 14px; font-weight: 700; }
body .tlu-sharemenu a:hover, body .tlu-sharemenu button:hover { background: #fff; color: var(--navy); }
body .tlu-link, body .tlu-link:hover { background: none; border: 0; color: var(--navy); padding: 0; }

/* ===== blog: article cards, single article, search results ===== */
.tlu-postc-ex { margin: 0; font-size: 14px; line-height: 1.55; color: #4b5563; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tlu-postc-meta { font-size: 12.5px; }
.tlu-postc .tlu-cardc-media .tlu-ph { color: rgba(255, 255, 255, .6); }
.tlu-pager .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.tlu-pager a.page-numbers:hover { border-color: var(--navy); color: var(--navy); }
.tlu-pager .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.tlu-pager .page-numbers.dots { border: 0; background: transparent; }

.tlu-article-body { padding-top: 26px; padding-bottom: 70px; }
.tlu-article-main { display: grid; gap: 22px; width: 100%; max-width: 800px; margin: 0 auto 40px; min-width: 0; }
.tlu-article-img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.tlu-article-text { padding: 30px 34px; font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; }
.tlu-article-text > :first-child { margin-top: 0; }
.tlu-article-text h2 { margin: 30px 0 12px; font-size: 25px; line-height: 1.25; letter-spacing: -.3px; }
.tlu-article-text h3 { margin: 24px 0 10px; font-size: 20px; line-height: 1.3; }
.tlu-article-text p { margin: 0 0 16px; }
.tlu-article-text ul, .tlu-article-text ol { margin: 0 0 18px; padding-left: 26px; list-style: revert; }
.tlu-article-text li { margin: 6px 0; padding: 0; }
.tlu-article-text a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.tlu-article-text a:hover { color: var(--red); }
.tlu-article-text img, .tlu-article-text figure { max-width: 100%; height: auto; border-radius: 14px; }
.tlu-article-text blockquote { margin: 0 0 18px; padding: 14px 20px; border-left: 4px solid var(--red); background: #f6f8fd; border-radius: 0 14px 14px 0; color: #374151; }
.tlu-article-text table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; display: block; overflow-x: auto; }
.tlu-article-text th, .tlu-article-text td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.tlu-article-text th { background: #f1f4fb; }
.tlu-tagline { display: flex; flex-wrap: wrap; gap: 8px; }
.tlu-sharebar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.tlu-sharebar b { margin-right: auto; font-size: 14.5px; }
.tlu-sharebar .tlu-act { width: auto; height: 42px; padding: 0 16px; }
.tlu-comments { padding: 24px 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.tlu-comments h2, .tlu-comments h3 { margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.tlu-comments ol, .tlu-comments ul { list-style: none; margin: 0 0 16px; padding: 0; }
.tlu-comments .comment-body { padding: 14px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.tlu-comments label { display: block; margin: 12px 0 5px; font-size: 13px; font-weight: 700; }
.tlu-comments input[type=text], .tlu-comments input[type=email], .tlu-comments input[type=url], .tlu-comments textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 14px; font: 500 15px 'Plus Jakarta Sans', system-ui, sans-serif; background: #fff; }
.tlu-comments input:focus, .tlu-comments textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 49, 110, .12); }
body .tlu-comments input[type=submit] { margin-top: 14px; min-height: 46px; padding: 0 24px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ff5a64, var(--red) 55%, var(--red-dark)); color: #fff; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.tlu-sr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tlu-sr-head .tlu-h2 { margin: 8px 0 12px; }
.tlu-h2 small { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #eef2fb; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: 0; vertical-align: 3px; }
.tlu-link-more { font-weight: 800; font-size: 14px; color: var(--navy); }
.tlu-sr-pages { display: grid; gap: 10px; }
.tlu-sr-pages a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: transform .15s; }
.tlu-sr-pages a:hover { transform: translateY(-2px); }
.tlu-sr-pages b { font-size: 15.5px; color: var(--navy); }
.tlu-sr-pages span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .tlu-article-text { padding: 22px 18px; font-size: 16px; } .tlu-article-text h2 { font-size: 22px; } .tlu-comments { padding: 20px 16px; } }

/* Buy card: the whole feature image (posters are often taller than 16:9, `cover` cropped them), and the whole card
   without a scroll bar inside it: every block stays, the text is just more compact. */
.tlu-buy .tlu-buy-media { aspect-ratio: auto; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy-light), var(--navy-dark)); }
.tlu-buy .tlu-buy-media img { width: 100%; height: auto; max-height: 300px; object-fit: contain; display: block; }
@media (max-width: 959px) { .tlu-buy .tlu-buy-media img { max-height: 70vw; } }
.tlu-buy .tlu-buy-media .tlu-ph { width: 100%; aspect-ratio: 16 / 9; }
@media (min-width: 960px) {
	.tlu-buy, body.admin-bar .tlu-buy { max-height: none; overflow: visible; }
	/* a card taller than the screen sticks by its bottom edge (tlu.js sets --side-top), so the page scroll reaches all of it */
	.tlu-side { top: var(--side-top, 24px); }
	/* the share list floats above the buttons instead of pushing the rest of the card down */
	.tlu-buy .tlu-acts { position: relative; }
	.tlu-buy .tlu-acts .tlu-sharemenu { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 8; background: #fff; box-shadow: 0 16px 36px rgba(20, 49, 110, .22); }
}
.tlu-buy .tlu-buy-body { gap: 10px; }
.tlu-buy .tlu-cta-note { font-size: 12px; line-height: 1.45; margin: 0; }
.tlu-buy .tlu-points { margin-top: 2px; }
.tlu-buy .tlu-points .tlu-cta-note a { font-weight: 700; }
.tlu-buy .tlu-plan-teaser { margin-top: 4px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; line-height: 1.35; }
.tlu-buy .tlu-plan-teaser > span { display: block; min-width: 0; }
.tlu-buy .tlu-plan-teaser b { font-size: 13px; display: block; }
.tlu-buy .tlu-plan-teaser a { flex: none; white-space: nowrap; font-size: 12.5px; }
.tlu-buy .tlu-includes { grid-template-columns: 1fr 1fr; gap: 7px 12px; padding-top: 10px; }
.tlu-buy .tlu-includes li { font-size: 12.5px; line-height: 1.3; align-items: flex-start; }
.tlu-buy .tlu-includes .tlu-i { flex: none; margin-top: 1px; }
.tlu-buy .tlu-trust { font-size: 11.5px; }
