/* =====================================================================
   Fluentlish Academy: front-end styles
   Colours follow Elementor Global Colors when present, otherwise the
   Fluentlish tokens (see design-tokens.md). Fonts inherit from the theme.
   Everything is scoped under .fla so theme styles don't leak in or out.
   ===================================================================== */

.fla {
	--fla-primary: var(--e-global-color-primary, #1565D8);
	--fla-secondary: var(--e-global-color-secondary, #0F2A47);
	--fla-text: var(--e-global-color-text, #4A5A6E);
	--fla-accent: var(--e-global-color-accent, #FE8017);
	--fla-accent-hover: #FF9440;
	--fla-accent-text: #B84F00;
	--fla-surface: #F5F7FA;
	--fla-border: #E3E8EF;
	--fla-white: #FFFFFF;
	--fla-success: #13795B;
	--fla-success-bg: #E8F6F0;
	--fla-error: #B42318;
	--fla-error-bg: #FDECEA;
	--fla-primary-tint: rgba(25, 117, 255, .08);
	--fla-accent-tint: rgba(254, 128, 23, .12);
	--fla-r-sm: 8px;
	--fla-r-md: 16px;
	--fla-r-lg: 24px;
	--fla-shadow: 0 1px 2px rgba(15, 42, 71, .06), 0 8px 24px rgba(15, 42, 71, .06);
	--fla-shadow-lift: 0 12px 32px rgba(15, 42, 71, .12);
	--fla-gap: 24px;

	color: var(--fla-text);
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}
.fla *, .fla *::before, .fla *::after { box-sizing: inherit; }
.fla h1, .fla h2, .fla h3 { color: var(--fla-secondary); margin: 0; line-height: 1.25; }
.fla p { margin: 0; }
.fla ul, .fla ol { margin: 0; padding: 0; }
.fla a { color: var(--fla-primary); }
.fla .fla-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fla :focus-visible { outline: 3px solid var(--fla-accent); outline-offset: 2px; }
.fla [tabindex="-1"]:focus, .fla [tabindex="-1"]:focus-visible { outline: none; }
.fla .fla-svg { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.fla [hidden] { display: none !important; }

/* ---------- Building blocks ---------- */
.fla .fla-card {
	background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-lg);
	padding: 40px; box-shadow: var(--fla-shadow);
}
@media (max-width: 767px) { .fla .fla-card { padding: 24px 20px; border-radius: var(--fla-r-md); } }

.fla .fla-lead { font-size: 17px; }
.fla .fla-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-accent-text); }
.fla .fla-meta { font-size: 14px; font-weight: 500; color: var(--fla-text); }
.fla .fla-note {
	font-size: 15px; background: var(--fla-surface); border-left: 4px solid var(--fla-accent);
	border-radius: var(--fla-r-sm); padding: 12px 16px; color: var(--fla-secondary);
}
.fla .fla-guest-note { font-size: 14px; }
.fla .fla-done { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fla-success); }
.fla .fla-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--fla-primary); text-decoration: none; }
.fla .fla-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.fla .fla-tag {
	display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	padding: 4px 10px; border-radius: 999px; background: var(--fla-primary-tint); color: var(--fla-primary);
}
.fla .fla-tag--beginner { background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-tag--intermediate { background: var(--fla-primary-tint); color: var(--fla-primary); }
.fla .fla-tag--advanced { background: var(--fla-accent-tint); color: var(--fla-accent-text); }

.fla .fla-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
}
.fla .fla-icon .fla-svg { width: 24px; height: 24px; }
.fla .fla-icon--lg { width: 64px; height: 64px; border-radius: 16px; }
.fla .fla-icon--lg .fla-svg { width: 30px; height: 30px; }
.fla .fla-icon--navy { background: var(--fla-primary-tint); color: var(--fla-primary); }
.fla .fla-icon--orange { background: var(--fla-accent-tint); color: var(--fla-accent-text); }

.fla .fla-bar { height: 8px; border-radius: 999px; background: var(--fla-border); overflow: hidden; }
.fla .fla-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--fla-accent); transition: width .4s ease; }

.fla .fla-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.fla .fla-chips li {
	font-size: 14px; font-weight: 500; color: var(--fla-secondary);
	background: var(--fla-surface); border: 1px solid var(--fla-border); border-radius: 999px; padding: 6px 14px;
}

/* ---------- Buttons (beat theme/Elementor button styles) ---------- */
.fla .fla-btn,
.fla .fla-btn:hover,
.fla .fla-btn:focus {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: 0; text-transform: none;
	padding: 14px 26px; border-radius: var(--fla-r-sm); border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer; box-shadow: none; min-height: 48px; width: auto;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.fla .fla-btn--primary, .fla .fla-btn--primary:focus { background: var(--fla-accent); color: var(--fla-secondary); }
.fla .fla-btn--primary:hover { background: var(--fla-accent-hover); color: var(--fla-secondary); transform: translateY(-1px); }
.fla .fla-btn--outline, .fla .fla-btn--outline:focus { background: var(--fla-white); color: var(--fla-secondary); border-color: var(--fla-border); }
.fla .fla-btn--outline:hover { background: var(--fla-white); color: var(--fla-secondary); border-color: var(--fla-primary); }
.fla .fla-btn--navy, .fla .fla-btn--navy:focus { background: var(--fla-primary); color: var(--fla-white); }
.fla .fla-btn--navy:hover { background: var(--fla-secondary); color: var(--fla-white); }
.fla .fla-btn--done, .fla .fla-btn--done:hover, .fla .fla-btn--done[disabled] { background: var(--fla-success-bg); color: var(--fla-success); border-color: transparent; cursor: default; transform: none; opacity: 1; }
.fla .fla-btn--sm, .fla .fla-btn--sm:hover { padding: 10px 18px; font-size: 15px; min-height: 40px; }
.fla .fla-btn--lg, .fla .fla-btn--lg:hover { padding: 16px 36px; font-size: 17px; }
.fla .fla-btn[disabled], .fla .fla-btn[aria-busy="true"] { opacity: .65; cursor: wait; transform: none; }
.fla .fla-btn.fla-btn--done[disabled], .fla .fla-btn.fla-btn--done { opacity: 1; cursor: default; background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) { .fla .fla-btn-row > .fla-btn { flex: 1 1 100%; } }

/* ---------- Learner stats strip ---------- */
.fla .fla-stats {
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
	background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md);
	padding: 20px 24px; margin-bottom: var(--fla-gap); box-shadow: var(--fla-shadow);
}
.fla .fla-stats__level { display: flex; align-items: center; gap: 14px; flex: 1 1 280px; min-width: 0; }
.fla .fla-stats__level-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.fla .fla-stats__level-text strong { color: var(--fla-secondary); }
.fla .fla-stats__level-text small { font-size: 13px; }
.fla .fla-stats__item { display: flex; flex-direction: column; align-items: flex-start; min-width: 90px; }
.fla .fla-stats__num { display: inline-flex; align-items: center; gap: 6px; font-size: 22px; font-weight: 800; color: var(--fla-secondary); line-height: 1.2; }
.fla .fla-stats__num .fla-svg { color: var(--fla-accent); }
.fla .fla-stats__lbl { font-size: 13px; }
.fla .fla-stats--guest { justify-content: space-between; }
.fla .fla-stats--guest p { flex: 1 1 320px; color: var(--fla-secondary); }
.fla .fla-level-badge {
	width: 48px; height: 48px; border-radius: 999px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--fla-primary); color: var(--fla-white); font-weight: 800; font-size: 18px;
	box-shadow: 0 0 0 4px var(--fla-accent-tint);
}
.fla-account .fla-level-badge--sm, .fla .fla-level-badge--sm { width: 26px; height: 26px; font-size: 13px; box-shadow: none; }

/* ---------- Quiz Hub ---------- */
.fla .fla-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--fla-gap); }
.fla .fla-hub-card {
	position: relative; min-width: 0;
	display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
	background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md);
	padding: 28px; transition: box-shadow .2s, transform .2s;
}
.fla .fla-hub-card:hover { box-shadow: var(--fla-shadow-lift); transform: translateY(-3px); }
.fla .fla-hub-card--featured { border: 2px solid var(--fla-accent); }
.fla .fla-hub-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.fla .fla-hub-card__title { font-size: 22px; margin-top: 4px; }
.fla .fla-hub-card p { font-size: 15.5px; }
.fla .fla-hub-card .fla-meta { flex-grow: 1; }
.fla .fla-hub-card .fla-btn { margin-top: 8px; }
.fla .fla-ribbon {
	position: absolute; top: -12px; right: 20px; background: var(--fla-accent); color: var(--fla-secondary);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
@media (max-width: 767px) { .fla .fla-hub-card { padding: 24px; } }

/* ---------- Quiz player ---------- */
.fla-quiz { max-width: 760px; margin-inline: auto; }
.fla .fla-quiz__start { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fla .fla-quiz__title { font-size: 30px; line-height: 1.11; letter-spacing: -0.02em; margin: 0; }
.fla .fla-quiz__start .fla-btn--lg { margin-top: 8px; }

.fla .fla-quiz__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.fla .fla-quiz__counter { font-size: 14px; font-weight: 600; color: var(--fla-secondary); background: var(--fla-surface); border-radius: 999px; padding: 6px 14px; }
.fla .fla-quiz__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fla .fla-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--fla-accent-tint); color: var(--fla-accent-text); }
.fla .fla-pill--navy { background: var(--fla-primary-tint); color: var(--fla-primary); }
.fla .fla-pill--warn { background: var(--fla-error-bg); color: var(--fla-error); }
.fla .fla-pill.is-bump { animation: fla-bump .4s ease; }
@keyframes fla-bump { 50% { transform: scale(1.15); } }
.fla .fla-quiz__progress { margin-bottom: 28px; }

.fla .fla-q__meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fla-accent-text); margin-bottom: 8px; }
.fla .fla-q__text { font-size: 24px; font-weight: 700; line-height: 1.35; color: var(--fla-secondary); margin-bottom: 24px; outline: none; }
@media (max-width: 767px) { .fla .fla-q__text { font-size: 20px; } }
.fla .fla-blank { display: inline-block; min-width: 3.2em; border-bottom: 3px solid var(--fla-accent); margin: 0 .1em; height: 1em; vertical-align: baseline; }

.fla .fla-options { display: flex; flex-direction: column; gap: 12px; }
.fla .fla-option,
.fla .fla-option:hover,
.fla .fla-option:focus,
.fla .fla-option:active {
	display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
	font-family: inherit; font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none;
	color: var(--fla-secondary); background: var(--fla-white);
	border: 2px solid var(--fla-border); border-radius: var(--fla-r-md);
	padding: 14px 18px; min-height: 56px; cursor: pointer; box-shadow: none; margin: 0;
	transition: border-color .15s, background-color .15s, transform .1s;
}
.fla .fla-option:hover { border-color: var(--fla-primary); background: var(--fla-surface); }
.fla .fla-option:active { transform: scale(.995); }
.fla .fla-option__letter {
	flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--fla-surface); color: var(--fla-primary); font-weight: 700; font-size: 15px;
}
.fla .fla-option__text { flex: 1; }
.fla .fla-option__mark { flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.fla .fla-option.is-locked { cursor: default; }
.fla .fla-option.is-locked:hover { border-color: var(--fla-border); background: var(--fla-white); }
.fla .fla-option.is-correct, .fla .fla-option.is-correct:hover { border-color: var(--fla-success); background: var(--fla-success-bg); }
.fla .fla-option.is-correct .fla-option__letter { background: var(--fla-success); color: #fff; }
.fla .fla-option.is-correct .fla-option__mark { color: var(--fla-success); }
.fla .fla-option.is-wrong, .fla .fla-option.is-wrong:hover { border-color: var(--fla-error); background: var(--fla-error-bg); }
.fla .fla-option.is-wrong .fla-option__letter { background: var(--fla-error); color: #fff; }
.fla .fla-option.is-wrong .fla-option__mark { color: var(--fla-error); }
.fla .fla-option.is-dim { opacity: .55; }
.fla .fla-option.is-pending { border-color: var(--fla-primary); }

.fla .fla-feedback:empty { display: none; }
.fla .fla-feedback { margin-top: 20px; border-radius: var(--fla-r-md); padding: 20px; background: var(--fla-surface); display: flex; flex-direction: column; gap: 10px; }
.fla .fla-feedback__title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; }
.fla .fla-feedback.is-correct { background: var(--fla-success-bg); }
.fla .fla-feedback.is-correct .fla-feedback__title { color: var(--fla-success); }
.fla .fla-feedback.is-wrong { background: var(--fla-error-bg); }
.fla .fla-feedback.is-wrong .fla-feedback__title { color: var(--fla-error); }
.fla .fla-feedback__row { font-size: 15.5px; color: var(--fla-secondary); }
.fla .fla-feedback__row b { display: inline-block; min-width: 120px; font-weight: 600; }
.fla .fla-feedback__why { font-size: 15.5px; color: var(--fla-secondary); border-top: 1px solid rgba(15, 42, 71, .1); padding-top: 10px; }
.fla .fla-streak-msg { font-size: 14px; font-weight: 600; color: var(--fla-error); }
.fla .fla-quiz__actions:empty { display: none; }
.fla .fla-quiz__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 24px; }
@media (max-width: 767px) { .fla .fla-quiz__actions > .fla-btn { flex: 1 1 100%; } }

.fla .fla-error { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: var(--fla-r-md); background: var(--fla-error-bg); color: var(--fla-error); font-weight: 500; margin-top: 16px; }

/* Results */
.fla .fla-results { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.fla .fla-ring {
	--p: 0; width: 148px; height: 148px; border-radius: 999px; display: grid; place-items: center;
	background: conic-gradient(var(--fla-accent) calc(var(--p) * 1%), var(--fla-border) 0);
}
.fla .fla-ring > span {
	width: 116px; height: 116px; border-radius: 999px; background: var(--fla-white);
	display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--fla-secondary);
}
.fla .fla-results__title { font-size: 28px; }
.fla .fla-results__score { font-size: 18px; color: var(--fla-secondary); font-weight: 600; }
.fla .fla-xp {
	display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 420px;
	background: var(--fla-surface); border-radius: var(--fla-r-md); padding: 20px;
}
.fla .fla-xp__big { font-size: 34px; font-weight: 800; color: var(--fla-accent-text); line-height: 1; }
.fla .fla-xp__small { font-size: 14px; }
.fla .fla-xp .fla-bar { width: 100%; }
.fla .fla-badge-record { display: inline-flex; align-items: center; gap: 6px; background: var(--fla-accent); color: var(--fla-secondary); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.fla .fla-results .fla-btn-row { justify-content: center; margin-top: 6px; }

.fla .fla-review { width: 100%; text-align: left; margin-top: 12px; border-top: 1px solid var(--fla-border); padding-top: 16px; }
.fla .fla-review > summary { cursor: pointer; font-weight: 700; color: var(--fla-primary); padding: 6px 0; }
.fla .fla-review ol { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.fla .fla-review li { border: 1px solid var(--fla-border); border-left-width: 4px; border-radius: var(--fla-r-sm); padding: 14px 16px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.fla .fla-review li.is-correct { border-left-color: var(--fla-success); }
.fla .fla-review li.is-wrong { border-left-color: var(--fla-error); }
.fla .fla-review__q { font-weight: 700; color: var(--fla-secondary); }
.fla .fla-review__a { color: var(--fla-secondary); }
.fla .fla-review__why { color: var(--fla-text); }

/* Countdown */
.fla .fla-countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.fla .fla-countdown__box { min-width: 76px; text-align: center; background: var(--fla-surface); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 12px 10px; }
.fla .fla-countdown__num { display: block; font-size: 28px; font-weight: 800; color: var(--fla-secondary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fla .fla-countdown__lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Grammar Library ---------- */
.fla .fla-grammar__progress { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; font-weight: 600; color: var(--fla-secondary); }
.fla .fla-grammar__tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.fla .fla-search { position: relative; flex: 1 1 320px; display: block; }
.fla .fla-search .fla-svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--fla-text); pointer-events: none; }
.fla .fla-search input,
.fla .fla-select select {
	width: 100%; height: 52px; font: inherit; font-size: 16px; color: var(--fla-secondary);
	background: var(--fla-white); border: 2px solid var(--fla-border); border-radius: var(--fla-r-md);
	padding: 0 16px; box-shadow: none; margin: 0;
}
.fla .fla-search input { padding-left: 46px; }
.fla .fla-search input:focus, .fla .fla-select select:focus { outline: none; border-color: var(--fla-primary); box-shadow: 0 0 0 3px var(--fla-primary-tint); }
.fla .fla-select { flex: 0 1 200px; display: block; }
.fla .fla-chips--filter { margin-bottom: 32px; }
.fla .fla-chips--filter button,
.fla .fla-chips--filter button:hover,
.fla .fla-chips--filter button:focus {
	font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: 0;
	padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--fla-border);
	background: var(--fla-white); color: var(--fla-secondary); cursor: pointer; box-shadow: none; min-height: 38px;
}
.fla .fla-chips--filter button:hover { border-color: var(--fla-primary); }
.fla .fla-chips--filter button.is-active, .fla .fla-chips--filter button.is-active:hover { background: var(--fla-primary); border-color: var(--fla-primary); color: var(--fla-white); }

.fla .fla-grammar__group { margin-bottom: 40px; }
.fla .fla-grammar__heading { font-size: 22px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--fla-border); }
.fla .fla-lesson-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fla .fla-lesson-card {
	position: relative; min-width: 0;
	display: flex; flex-direction: column; gap: 10px;
	background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 24px;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.fla .fla-lesson-card:hover, .fla .fla-lesson-card:focus-within { box-shadow: var(--fla-shadow-lift); transform: translateY(-2px); border-color: var(--fla-primary); }
.fla .fla-lesson-card.is-done { background: linear-gradient(180deg, var(--fla-success-bg), var(--fla-white) 60%); }
.fla .fla-lesson-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.fla .fla-lesson-card__title { font-size: 19px; }
.fla .fla-lesson-card__title a { color: var(--fla-secondary); text-decoration: none; }
.fla .fla-lesson-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fla .fla-lesson-card p { font-size: 15px; flex-grow: 1; }

/* ---------- Lesson pages ---------- */
.fla-lesson-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.fla .fla-lesson-meta__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

.fla-toc { margin: 0 0 32px; }
.fla-toc details { background: var(--fla-surface); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 16px 20px; }
.fla-toc summary { cursor: pointer; font-weight: 700; color: var(--fla-secondary); }
.fla-toc ol { margin: 12px 0 0 1.2em; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fla-toc a { color: var(--fla-primary); text-decoration: none; font-weight: 500; }
.fla-toc a:hover { text-decoration: underline; }

.fla-lesson-body h2 { scroll-margin-top: 96px; margin-top: 2em; }
.fla-lesson-body table.fla-table, .fla .fla-table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15.5px; }
.fla-lesson-body .fla-table th, .fla-lesson-body .fla-table td,
.fla .fla-table th, .fla .fla-table td { border: 1px solid #E3E8EF; padding: 10px 14px; text-align: left; vertical-align: top; }
.fla-lesson-body .fla-table thead th, .fla .fla-table thead th { background: #F5F7FA; color: #0F2A47; font-weight: 700; }
.fla-lesson-body .fla-examples { list-style: none; padding: 0; margin: 1em 0; display: flex; flex-direction: column; gap: 8px; }
.fla-lesson-body .fla-examples li { background: #F5F7FA; border-left: 4px solid #164575; border-radius: 8px; padding: 10px 14px; }
.fla-lesson-body .fla-mistakes { list-style: none; padding: 0; margin: 1em 0; display: flex; flex-direction: column; gap: 10px; }
.fla-lesson-body .fla-mistakes li { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 1px solid #E3E8EF; border-radius: 12px; padding: 12px 16px; }
.fla-lesson-body .fla-wrong, .fla-lesson-body .fla-right { flex: 1 1 220px; display: flex; gap: 8px; align-items: baseline; }
.fla-lesson-body .fla-wrong { color: #B42318; text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, .5); }
.fla-lesson-body .fla-wrong::before { content: "✗"; text-decoration: none; display: inline-block; font-weight: 700; }
.fla-lesson-body .fla-right { color: #13795B; font-weight: 600; }
.fla-lesson-body .fla-right::before { content: "✓"; font-weight: 700; }
.fla-lesson-body .fla-tip { background: rgba(254, 128, 23, .12); border-radius: 16px; padding: 18px 20px; margin: 1em 0; color: #0F2A47; }
.fla-lesson-body .fla-dialogue { background: #F5F7FA; border-radius: 16px; padding: 18px 20px; margin: 1em 0; display: flex; flex-direction: column; gap: 8px; }
.fla-lesson-body .fla-dialogue p { margin: 0; }
.fla-lesson-body .fla-dialogue strong { color: #164575; }

.fla-practice { margin-top: 48px; padding-top: 32px; border-top: 2px solid #E3E8EF; display: flex; flex-direction: column; gap: 16px; }
.fla-practice > h2 { font-size: 28px; }
.fla .fla-pq { padding: 28px; border-radius: var(--fla-r-md); box-shadow: none; }
.fla .fla-pq__num { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fla-accent-text); margin-bottom: 6px; }
.fla .fla-pq .fla-q__text { font-size: 20px; margin-bottom: 16px; }

.fla-complete {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
	margin-top: 40px; padding: 28px; border-radius: 24px; background: #0F2A47; color: #C8D3E0;
}
.fla-complete > div { flex: 1 1 280px; }
.fla .fla-complete__title, .fla-complete .fla-complete__title { color: #fff; font-size: 22px; margin-bottom: 4px; }
.fla .fla-complete__msg:empty { display: none; }
.fla .fla-complete__msg { flex-basis: 100%; font-weight: 600; color: #FFB27A; }
.fla-complete .fla-btn--outline, .fla-complete .fla-btn--outline:hover { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

.fla-prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; }
.fla .fla-prevnext__link {
	flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; text-decoration: none;
	border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 16px 20px; color: var(--fla-secondary);
}
.fla .fla-prevnext__link:hover { border-color: var(--fla-primary); }
.fla .fla-prevnext__link small { font-size: 13px; color: var(--fla-text); }
.fla .fla-prevnext__link span { font-weight: 700; }
.fla .fla-prevnext__link--next { text-align: right; }

/* ---------- Progress dashboard ---------- */
.fla .fla-progress__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.fla .fla-progress__head h2 { font-size: 32px; }
.fla .fla-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin-bottom: var(--fla-gap); }
.fla .fla-tile { background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.fla .fla-tile__num { font-size: 28px; font-weight: 800; color: var(--fla-secondary); line-height: 1.1; }
.fla .fla-tile__lbl { font-size: 14px; }
.fla .fla-today { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.fla .fla-today__item { flex: 1 1 220px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--fla-surface); border-radius: var(--fla-r-md); padding: 16px 20px; color: var(--fla-secondary); }
.fla .fla-today__item.is-done { background: var(--fla-success-bg); }
.fla .fla-progress__sub { font-size: 20px; margin-bottom: 12px; }
.fla .fla-table-wrap { overflow-x: auto; }

/* Login form (wp_login_form) */
.fla .fla-auth { max-width: 520px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.fla .fla-auth form p { margin: 0 0 14px; }
.fla .fla-auth label { display: block; font-weight: 600; font-size: 14px; color: var(--fla-secondary); margin-bottom: 6px; }
.fla .fla-auth input[type="text"], .fla .fla-auth input[type="password"], .fla .fla-auth input[type="email"] {
	width: 100%; height: 48px; font: inherit; font-size: 16px; padding: 0 14px;
	border: 1.5px solid var(--fla-border); border-radius: var(--fla-r-sm); background: var(--fla-white); color: var(--fla-secondary);
}
.fla .fla-auth input:focus { outline: none; border-color: var(--fla-primary); box-shadow: 0 0 0 3px var(--fla-primary-tint); }
.fla .fla-auth .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.fla .fla-auth input[type="submit"], .fla .fla-auth input[type="submit"]:hover {
	width: 100%; min-height: 48px; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
	background: var(--fla-accent); color: var(--fla-secondary); border: 0; border-radius: var(--fla-r-sm); padding: 12px 20px; text-transform: none;
}
.fla .fla-auth input[type="submit"]:hover { background: var(--fla-accent-hover); }
.fla .fla-auth__links { font-size: 14px; text-align: center; }

/* Header account link */
.fla-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.fla-account .fla-level-badge--sm { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #164575; color: #fff; font-weight: 800; }

/* Toast */
.fla-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 99999;
	background: #0F2A47; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px;
	box-shadow: 0 12px 32px rgba(15, 42, 71, .25); transition: opacity .25s, transform .25s; pointer-events: none;
}
.fla-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
	.fla *, .fla-toast { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Grammar Library (v1.1 layout)
   ===================================================================== */
.fla-library { --fla-lib-radius: 24px; }
.fla .fla-lib-hero {
	background: var(--fla-secondary); color: #fff; text-align: center;
	padding: 64px 24px 56px; border-radius: var(--fla-lib-radius) var(--fla-lib-radius) 0 0;
	border-bottom: 4px solid var(--fla-accent);
}
.fla .fla-lib-hero__title { color: #fff; font-size: 46px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto 14px; max-width: 900px; }
.fla .fla-lib-hero__sub { color: #C8D3E0; font-size: 18px; max-width: 620px; margin: 0 auto; }
.fla .fla-lib-search { background: var(--fla-surface); border-bottom: 1px solid var(--fla-border); padding: 24px; }
.fla .fla-lib-search__inner { display: flex; flex-wrap: wrap; gap: 12px; max-width: 680px; margin: 0 auto; }
.fla .fla-lib-search .fla-chips--filter { justify-content: center; margin: 16px auto 0; max-width: 900px; }
.fla .fla-lib-body { padding: 40px 0 0; }
.fla .fla-lib-cat { margin-bottom: 48px; }
.fla .fla-lib-cat__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--fla-border); }
.fla .fla-lib-cat__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--fla-primary-tint); color: var(--fla-primary); flex-shrink: 0; }
.fla .fla-lib-cat__icon .fla-svg { width: 22px; height: 22px; }
.fla .fla-lib-cat__title { font-size: 26px; font-weight: 800; margin: 0; }
.fla .fla-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.fla .fla-lib-card {
	position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0;
	background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 24px;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.fla .fla-lib-card:hover, .fla .fla-lib-card:focus-within { box-shadow: var(--fla-shadow-lift); transform: translateY(-3px); border-color: var(--fla-primary); }
.fla .fla-lib-card.is-done { border-color: rgba(19, 121, 91, .35); }
.fla .fla-lib-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fla .fla-lib-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0; }
.fla .fla-lib-card__title a { color: var(--fla-secondary); text-decoration: none; }
.fla .fla-lib-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fla .fla-lib-card__title a:focus-visible { outline: none; }
.fla .fla-lib-card:focus-within { outline: 3px solid var(--fla-accent); outline-offset: 2px; }
.fla .fla-lib-badge { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--fla-secondary); background: var(--fla-surface); border: 1px solid var(--fla-border); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.fla .fla-lib-card__desc { font-size: 15px; flex-grow: 1; }
.fla .fla-lib-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fla .fla-lib-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--fla-primary); }
.fla .fla-lib-card__cta .fla-svg { width: 16px; height: 16px; transition: transform .15s; }
.fla .fla-lib-card:hover .fla-lib-card__cta .fla-svg { transform: translateX(3px); }
.fla .fla-lib-about { margin-top: 16px; background: var(--fla-surface); border-radius: var(--fla-lib-radius); padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.fla .fla-lib-about__title { font-size: 28px; font-weight: 800; margin: 0; }
.fla .fla-lib-about > p { font-size: 17px; max-width: 760px; }
.fla .fla-lib-about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; }
.fla .fla-lib-about__item { background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.fla .fla-lib-about__item strong { color: var(--fla-secondary); font-size: 17px; }
.fla .fla-lib-about__item p { font-size: 15px; }
@media (max-width: 767px) {
	.fla .fla-lib-hero { padding: 44px 20px 40px; border-radius: 16px 16px 0 0; }
	.fla .fla-lib-hero__title { font-size: 32px; }
	.fla .fla-lib-hero__sub { font-size: 16px; }
	.fla .fla-lib-search { padding: 16px; }
	.fla .fla-lib-cat__title { font-size: 22px; }
	.fla .fla-lib-about { padding: 24px 20px; }
}

/* =====================================================================
   Lesson page (v1.1 layout)
   ===================================================================== */
.fla-lesson-main { display: block; }
.fla-lesson { --fla-lmax: 1200px; }
.fla .fla-lhero { background: var(--fla-secondary); color: #fff; border-bottom: 4px solid var(--fla-accent); padding: 48px 24px 44px; }
.fla .fla-lhero__inner { max-width: var(--fla-lmax); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fla .fla-lhero__back { display: inline-flex; align-items: center; gap: 8px; color: #C8D3E0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.fla .fla-lhero__back:hover { color: #fff; }
.fla .fla-lhero__back .fla-svg { width: 16px; height: 16px; }
.fla .fla-lhero__cat { background: rgba(254, 128, 23, .18); color: #FFB27A; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.fla .fla-lhero__title { color: #fff; font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.fla .fla-lhero__lead { color: #C8D3E0; font-size: 18px; max-width: 720px; }
.fla .fla-lhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: #C8D3E0; font-size: 14px; }
.fla .fla-lhero__meta .fla-tag { background: rgba(255, 255, 255, .12); color: #fff; }
.fla .fla-lhero__done { display: inline-flex; align-items: center; gap: 6px; color: #7BE0B8; font-weight: 600; }

.fla .fla-lbody { max-width: var(--fla-lmax); margin: 0 auto; padding: 40px 24px 64px; display: flex; align-items: flex-start; gap: 48px; }
.fla .fla-ltoc { flex: 0 0 270px; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.admin-bar .fla .fla-ltoc { top: 56px; }
.fla .fla-ltoc__box > summary { list-style: none; }
.fla .fla-ltoc__box > summary::-webkit-details-marker { display: none; }
.fla .fla-ltoc__title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fla-text); padding: 0 12px 12px; }
.fla .fla-ltoc__list { list-style: none; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--fla-border); padding-left: 10px; }
.fla .fla-ltoc__list a {
	display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
	font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--fla-text); text-decoration: none; transition: background-color .15s, color .15s;
}
.fla .fla-ltoc__list a .fla-svg { width: 17px; height: 17px; flex-shrink: 0; }
.fla .fla-ltoc__list a:hover { background: var(--fla-surface); color: var(--fla-secondary); }
.fla .fla-ltoc__list a.is-active { background: var(--fla-primary); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(22, 69, 117, .25); }

.fla .fla-lmain { flex: 1; min-width: 0; max-width: 820px; }
.fla .fla-ls { margin-bottom: 44px; scroll-margin-top: 90px; }
.fla .fla-ls__title { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 800; padding-bottom: 14px; margin: 0 0 20px; border-bottom: 1px solid var(--fla-border); }
.fla .fla-ls__icon { color: var(--fla-primary); display: inline-flex; }
.fla .fla-ls__icon .fla-svg { width: 26px; height: 26px; }
.fla .fla-ls--practice .fla-ls__icon, .fla .fla-ls--quiz .fla-ls__icon { color: var(--fla-accent-text); }

.fla .fla-lesson-body { font-size: 17px; line-height: 1.7; color: var(--fla-text); }
.fla .fla-lesson-body p { margin: 0 0 1em; }
.fla .fla-lesson-body p:last-child { margin-bottom: 0; }
.fla .fla-lesson-body ul, .fla .fla-lesson-body ol { margin: 0 0 1em; padding-left: 1.3em; }
.fla .fla-lesson-body strong { color: var(--fla-secondary); }
.fla .fla-lesson-body em { color: var(--fla-secondary); }
.fla .fla-callout { background: var(--fla-white); border: 1px solid var(--fla-border); border-left: 5px solid var(--fla-accent); border-radius: 16px; padding: 24px 28px; box-shadow: var(--fla-shadow); font-size: 18px; color: var(--fla-secondary); }

.fla .fla-lesson-body .fla-uses { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fla .fla-lesson-body .fla-uses li { position: relative; background: var(--fla-surface); border-radius: 12px; padding: 12px 16px 12px 44px; }
.fla .fla-lesson-body .fla-uses li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 999px; background: var(--fla-success); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.fla .fla-lesson-body .fla-warning { background: var(--fla-error-bg); border-left: 4px solid var(--fla-error); border-radius: 12px; padding: 16px 20px; color: var(--fla-secondary); }
.fla .fla-lesson-body .fla-rules { list-style: none; padding: 0; counter-reset: fla-rule; display: flex; flex-direction: column; gap: 10px; }
.fla .fla-lesson-body .fla-rules li { counter-increment: fla-rule; position: relative; padding: 4px 0 4px 44px; }
.fla .fla-lesson-body .fla-rules li::before { content: counter(fla-rule); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 999px; background: var(--fla-primary-tint); color: var(--fla-primary); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.fla .fla-ls--practice .fla-pq, .fla .fla-ls--quiz .fla-pq { margin-top: 16px; }

.fla-lesson .fla-complete { margin-top: 8px; }
@media (max-width: 1024px) {
	.fla .fla-lbody { flex-direction: column; gap: 24px; padding-top: 24px; }
	.fla .fla-ltoc { position: static; flex: none; width: 100%; max-height: none; overflow: visible; }
	.fla .fla-ltoc__box { background: var(--fla-surface); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 14px 16px; }
	.fla .fla-ltoc__box > summary { cursor: pointer; padding: 0; color: var(--fla-secondary); display: flex; justify-content: space-between; }
	.fla .fla-ltoc__box > summary::after { content: "+"; font-size: 18px; line-height: 1; }
	.fla .fla-ltoc__box[open] > summary::after { content: "−"; }
	.fla .fla-ltoc__box[open] > summary { margin-bottom: 10px; }
	.fla .fla-ltoc__list { border-left: 0; padding-left: 0; }
	.fla .fla-lmain { max-width: none; width: 100%; }
}
@media (max-width: 767px) {
	.fla .fla-lhero { padding: 32px 16px 28px; }
	.fla .fla-lhero__title { font-size: 34px; }
	.fla .fla-lbody { padding: 20px 16px 48px; }
	.fla .fla-ls__title { font-size: 22px; }
	.fla .fla-callout { padding: 18px 20px; font-size: 17px; }
}

/* =====================================================================
   Weekly Exam membership: paywall, plans, status line
   ===================================================================== */
.fla .fla-paywall { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.fla .fla-paywall__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-accent-text); }
.fla .fla-paywall__perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; width: 100%; }
.fla .fla-paywall__perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fla-secondary); font-weight: 600; }
.fla .fla-paywall__perks .fla-svg { flex: none; color: var(--fla-success); margin-top: 3px; }
.fla .fla-paywall__plans { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; }
.fla .fla-plan { display: flex; align-items: baseline; gap: 6px; }
.fla .fla-plan--card { flex: 1 1 260px; flex-direction: column; align-items: stretch; gap: 10px; padding: 24px; border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); background: var(--fla-surface); margin: 0; }
.fla .fla-plan__name { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-text); }
.fla .fla-plan__price { font-size: 40px; font-weight: 800; line-height: 1; color: var(--fla-secondary); letter-spacing: -.02em; }
.fla .fla-plan__per { font-size: 15px; font-weight: 600; color: var(--fla-text); margin-left: 4px; }
.fla .fla-plan__desc { font-size: 14px; line-height: 1.5; }
.fla .fla-btn--block { width: 100%; justify-content: center; }
.fla .fla-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fla-secondary); }
.fla .fla-field input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-weight: 500; color: var(--fla-secondary); background: var(--fla-white); border: 1.5px solid var(--fla-border); border-radius: var(--fla-r-sm); }
.fla .fla-field input:focus { outline: none; border-color: var(--fla-primary); box-shadow: 0 0 0 3px var(--fla-primary-tint); }
.fla .fla-field input[aria-invalid="true"] { border-color: var(--fla-error); }
.fla .fla-paywall__msg { width: 100%; padding: 12px 16px; border-radius: var(--fla-r-sm); background: var(--fla-error-bg); color: var(--fla-error); font-weight: 600; }
.fla .fla-paywall__secure, .fla .fla-member-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.fla .fla-paywall__secure { flex-wrap: nowrap; align-items: flex-start; }
.fla .fla-paywall__secure .fla-svg { flex: none; color: var(--fla-success); margin-top: 1px; }
.fla .fla-member-line .fla-svg { flex: none; }
.fla .fla-plan--card .fla-btn--block { margin-top: auto; }
.fla .fla-member-line { padding: 10px 16px; margin-bottom: 16px; border-radius: 999px; background: var(--fla-success-bg); color: var(--fla-success); font-weight: 600; width: fit-content; max-width: 100%; }
.fla .fla-member-line a, .fla .fla-link-btn { color: var(--fla-secondary); font: inherit; font-weight: 700; text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.fla .fla-pay-notice { width: 100%; padding: 14px 18px; margin-bottom: 16px; border-radius: var(--fla-r-sm); font-weight: 600; }
.fla .fla-pay-notice--ok { background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-pay-notice--warn { background: var(--fla-accent-tint); color: var(--fla-accent-text); }
.fla .fla-pay-notice--err { background: var(--fla-error-bg); color: var(--fla-error); }
@media (max-width: 767px) {
	.fla .fla-paywall__perks { grid-template-columns: 1fr; }
	.fla .fla-plan__price { font-size: 34px; }
	.fla .fla-member-line { border-radius: var(--fla-r-sm); }
}

/* =====================================================================
   Accounts: sign-up form, login form, login popup
   ===================================================================== */
.fla .fla-btn--blue, .fla .fla-btn--blue:focus { background: var(--fla-primary); color: #fff; border-color: var(--fla-primary); }
.fla .fla-btn--blue:hover { background: var(--fla-secondary); color: #fff; transform: translateY(-1px); }
.fla-register, .fla .fla-auth__form { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.fla .fla-field > label, .fla .fla-field__row label { font-size: 14px; font-weight: 600; color: var(--fla-secondary); }
.fla .fla-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fla .fla-field__link { font-size: 13px; font-weight: 700; color: var(--fla-primary); text-decoration: none; }
.fla .fla-field__link:hover { text-decoration: underline; }
.fla .fla-field input { min-height: 50px; border-radius: 10px; }
.fla .fla-field input::placeholder { color: #94A3B8; opacity: 1; }
.fla .fla-field.has-error input, .fla .fla-field input[aria-invalid="true"] { border-color: var(--fla-error); }
.fla .fla-field__error { font-size: 13px; font-weight: 600; color: var(--fla-error); }
.fla .fla-field__error a { color: var(--fla-error); }
.fla .fla-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fla .fla-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fla .fla-auth__msg { padding: 12px 14px; border-radius: var(--fla-r-sm); background: var(--fla-error-bg); color: var(--fla-error); font-size: 14px; font-weight: 600; }
.fla .fla-auth__switch { text-align: center; font-size: 15px; margin-top: 6px; }
.fla .fla-auth__switch a { color: var(--fla-accent-text); font-weight: 700; text-decoration: none; }
.fla .fla-auth__switch a:hover { text-decoration: underline; }
.fla .fla-auth__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 28px; }
.fla .fla-auth__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 4px 14px rgba(15, 42, 71, .15); margin-bottom: 8px; }
.fla .fla-auth__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--fla-surface); color: var(--fla-secondary); margin-bottom: 8px; }
.fla .fla-auth__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.fla .fla-auth__sub { font-size: 15px; }
/* Popup */
.fla-modal { width: min(424px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 32px; border: 0; border-radius: 20px; background: var(--fla-white); box-shadow: 0 24px 64px rgba(15, 42, 71, .25); overflow: auto; }
.fla-modal::backdrop { background: rgba(15, 23, 42, .6); backdrop-filter: blur(2px); }
.fla-modal[open] { animation: fla-pop .18s ease-out; }
@keyframes fla-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.fla-modal .fla-modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--fla-text); cursor: pointer; }
.fla-modal .fla-modal__close:hover, .fla-modal .fla-modal__close:focus-visible { background: var(--fla-surface); color: var(--fla-secondary); }
html.fla-modal-open { overflow: hidden; }
@media (max-width: 767px) { .fla-modal { padding: 28px 20px 24px; } .fla .fla-auth__title { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .fla-modal[open] { animation: none; } }

.fla .fla-auth__avatars { display: inline-flex; justify-content: center; margin-bottom: 8px; }
.fla .fla-auth__avatars .fla-auth__avatar { margin-bottom: 0; }
.fla .fla-auth__avatars.is-pair .fla-auth__avatar + .fla-auth__avatar { margin-left: -14px; }

/* =====================================================================
   Real-Life Practice: "Unlimited" hub card, plan picker, free chip
   ===================================================================== */
.fla .fla-hub-card--unlimited {
	position: relative;
	background: radial-gradient(120% 90% at 100% 0%, rgba(254, 128, 23, .28) 0%, rgba(254, 128, 23, 0) 55%), linear-gradient(160deg, #13365C 0%, var(--fla-secondary) 70%);
	border: 2px solid var(--fla-accent);
	color: #DCE5F0;
	box-shadow: 0 18px 40px -12px rgba(15, 42, 71, .45);
	transform: translateY(-6px);
}
.fla .fla-hub-card--unlimited .fla-hub-card__title { color: #fff; }
.fla .fla-hub-card--unlimited .fla-icon--orange { background: rgba(254, 128, 23, .18); color: #FFB067; }
.fla .fla-tag--light { background: rgba(255, 255, 255, .12); color: #fff; }
.fla .fla-ribbon--unlimited { display: inline-flex; align-items: center; gap: 6px; background: var(--fla-accent); color: var(--fla-secondary); box-shadow: 0 6px 16px rgba(254, 128, 23, .45); }
.fla .fla-ribbon--unlimited .fla-svg { width: 14px; height: 14px; fill: currentColor; }
.fla .fla-unlimited {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 16px; border-radius: var(--fla-r-md);
	background: rgba(255, 255, 255, .08); border: 1px dashed rgba(254, 128, 23, .7);
}
.fla .fla-unlimited__inf {
	flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--fla-accent); color: var(--fla-secondary);
	font-size: 38px; font-weight: 800; line-height: 1;
	animation: fla-inf-pulse 2.4s ease-in-out infinite;
}
@keyframes fla-inf-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(254, 128, 23, .55); } 50% { box-shadow: 0 0 0 10px rgba(254, 128, 23, 0); } }
.fla .fla-unlimited__text { display: flex; flex-direction: column; gap: 2px; }
.fla .fla-unlimited__text strong { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.fla .fla-unlimited__text span { font-size: 14px; color: #C8D3E0; }
.fla .fla-hub-checks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fla .fla-hub-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #DCE5F0; }
.fla .fla-hub-checks .fla-svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #5BD6A4; }
.fla .fla-hub-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 4px; }
.fla .fla-hub-price__amount { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.fla .fla-hub-price__per { font-size: 15px; font-weight: 600; color: #C8D3E0; }
.fla .fla-hub-price__note { flex-basis: 100%; font-size: 13px; color: #C8D3E0; }
.fla .fla-hub-price__note--solo { color: #C8D3E0; }
.fla .fla-hub-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fla .fla-btn--ghost, .fla .fla-btn--ghost:focus { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.fla .fla-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
@media (max-width: 767px) { .fla .fla-hub-card--unlimited { transform: none; } .fla .fla-hub-card__actions > .fla-btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .fla .fla-unlimited__inf { animation: none; } }

/* Free-question chip and upsell on the Real-Life start card */
.fla .fla-chip--unlimited { background: var(--fla-accent) !important; color: var(--fla-secondary) !important; font-weight: 700; }
.fla .fla-chip--free { background: var(--fla-accent-tint) !important; color: var(--fla-accent-text) !important; font-weight: 700; }
.fla .fla-upsell-line { font-size: 14px; }
.fla .fla-upsell-line a { color: var(--fla-accent-text); font-weight: 700; }

/* Plan picker on the paywall */
.fla .fla-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; border: 0; padding: 0; margin: 0; }
.fla .fla-tier { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px 48px; border: 2px solid var(--fla-border); border-radius: var(--fla-r-md); background: var(--fla-white); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.fla .fla-tier input { position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; accent-color: var(--fla-primary); margin: 0; }
.fla .fla-tier.is-selected, .fla .fla-tier:has(input:checked) { border-color: var(--fla-primary); box-shadow: 0 0 0 3px var(--fla-primary-tint); }
.fla .fla-tier--best { border-color: var(--fla-accent); }
.fla .fla-tier__badge { position: absolute; top: -11px; right: 14px; padding: 2px 10px; border-radius: 999px; background: var(--fla-accent); color: var(--fla-secondary); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fla .fla-tier__name { font-weight: 800; color: var(--fla-secondary); font-size: 17px; }
.fla .fla-tier__price { font-size: 26px; font-weight: 800; color: var(--fla-secondary); letter-spacing: -.02em; }
.fla .fla-tier__price small { font-size: 14px; font-weight: 600; color: var(--fla-text); margin-left: 2px; }
.fla .fla-tier__desc { font-size: 14px; line-height: 1.45; }
.fla .fla-paywall--unlimited .fla-paywall__eyebrow { color: var(--fla-accent-text); }
@media (max-width: 767px) { .fla .fla-tiers { grid-template-columns: 1fr; } }
.fla .fla-hub-card--unlimited:hover { transform: translateY(-9px); box-shadow: 0 24px 48px -12px rgba(15, 42, 71, .5); }
.fla .fla-hub-card--unlimited .fla-hub-price, .fla .fla-hub-card--unlimited > .fla-btn:last-child { margin-top: auto; }

/* ---------- Smart Real-Life Practice (1.4) ---------- */
.fla .fla-rl-strip { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 18px; }
.fla .fla-rl-strip__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fla-secondary); }
.fla .fla-rl-strip .fla-bar { height: 6px; }
.fla .fla-rl-strip .fla-bar > span { background: var(--fla-primary); }
.fla .fla-rl-strip.is-review .fla-bar > span { background: var(--fla-success); }
.fla .fla-results .fla-rl-strip { max-width: 360px; margin: 8px auto 16px; text-align: left; }
.fla .fla-rl-tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; background: var(--fla-primary-tint); color: var(--fla-primary); vertical-align: 1px; }
.fla .fla-rl-tag--review { background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-rl-done { display: flex; gap: 14px; align-items: flex-start; margin-top: 6px; padding: 16px; border-radius: var(--fla-r-md); background: linear-gradient(135deg, rgba(254, 128, 23, .14), rgba(25, 117, 255, .10)); border: 1px solid var(--fla-accent-tint); animation: fla-rl-pop .5s ease both; }
.fla .fla-rl-done__icon { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fla-accent); color: #fff; }
.fla .fla-rl-done__icon .fla-svg { width: 24px; height: 24px; }
.fla .fla-rl-done__title { font-weight: 800; color: var(--fla-secondary); margin: 0 0 4px; }
.fla .fla-rl-done p { margin: 0; }
@keyframes fla-rl-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fla .fla-rl-done { animation: none; } }
.fla .fla-rl-meter { width: 100%; max-width: 440px; margin: 4px auto 16px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.fla .fla-rl-meter__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--fla-secondary); }
.fla .fla-rl-meter .fla-bar > span { background: var(--fla-primary); }
.fla .fla-rl-meter__note { margin: 0; font-size: 14px; color: var(--fla-text); }
.fla .fla-rl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--fla-accent); color: var(--fla-secondary); }
.fla .fla-rl-badge .fla-svg { width: 14px; height: 14px; }
.fla .fla-today__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.fla .fla-today__meta { font-size: 13px; color: var(--fla-text); }

/* ---------- Flexible Weekly Exam (1.5) ---------- */
.fla .fla-remind { display: flex; align-items: center; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin: 0; font-size: 14px; color: var(--fla-secondary); }
.fla .fla-remind label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fla .fla-remind label .fla-svg { width: 16px; height: 16px; }
.fla .fla-remind select { min-height: 40px; padding: 6px 34px 6px 12px; border: 1px solid var(--fla-border); border-radius: var(--fla-r-sm); background-color: var(--fla-white); color: var(--fla-secondary); font: inherit; max-width: 100%; }
.fla .fla-remind select:focus-visible { outline: 2px solid var(--fla-primary); outline-offset: 2px; }
.fla .fla-weekly-oneshot { font-size: 14px; color: var(--fla-text); margin: 0; }
.fla .fla-weekly-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fla .fla-weekly-done .fla-review { width: 100%; text-align: left; }
.fla > .fla-remind { margin-top: 16px; justify-content: center; }

/* ---------- Hub prices on white cards (1.5.1) ---------- */
.fla .fla-hub-price--light .fla-hub-price__amount { color: var(--fla-secondary); }
.fla .fla-hub-price--light .fla-hub-price__per,
.fla .fla-hub-price--light .fla-hub-price__note { color: var(--fla-text); }
.fla .fla-hub-price--free .fla-hub-price__amount { color: var(--fla-success); text-transform: uppercase; letter-spacing: .02em; }
.fla .fla-hub-card .fla-hub-price--light { padding-top: 14px; border-top: 1px dashed var(--fla-border); width: 100%; }

/* ---------- Free level test (1.6) ---------- */
.fla .fla-lt__start { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fla .fla-lt__tip { font-size: 14px; color: var(--fla-text); margin: 0; }
.fla .fla-option.is-selected { border-color: var(--fla-primary); background: var(--fla-primary-tint); }
.fla .fla-option.is-selected .fla-option__letter { background: var(--fla-primary); color: #fff; }
.fla .fla-option--idk { border-style: dashed; }
.fla .fla-option--idk .fla-option__text { color: var(--fla-text); }
.fla .fla-lt__play .fla-quiz__actions { justify-content: space-between; }
.fla .fla-lt__play .fla-quiz__actions .fla-btn--primary { margin-left: auto; }
.fla .fla-lt__result { display: flex; flex-direction: column; gap: 18px; }
.fla .fla-lt__level { font-size: clamp(40px, 7vw, 60px); line-height: 1; margin: 0; letter-spacing: -.02em; }
.fla .fla-lt__level--beginner { color: var(--fla-success); }
.fla .fla-lt__level--intermediate { color: var(--fla-primary); }
.fla .fla-lt__level--advanced { color: var(--fla-accent-text); }
.fla .fla-lt__ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 460px; }
.fla .fla-lt__ladder li { height: 30px; border-radius: 8px; background: var(--fla-border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--fla-text); }
.fla .fla-lt__ladder li.is-on { background: var(--fla-primary-tint); color: var(--fla-primary); }
.fla .fla-lt__ladder li.is-you { background: var(--fla-primary); color: #fff; }
.fla .fla-lt__score { font-weight: 700; color: var(--fla-secondary); margin: 0; }
.fla .fla-lt__block { display: flex; flex-direction: column; gap: 10px; }
.fla .fla-lt__h { font-size: 16px; margin: 0; color: var(--fla-secondary); }
.fla .fla-lt__row { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 12px; font-size: 14px; }
.fla .fla-lt__row-lbl { font-weight: 600; color: var(--fla-secondary); }
.fla .fla-lt__row-num { text-align: right; font-weight: 700; color: var(--fla-secondary); }
.fla .fla-lt__row .fla-bar > span { background: var(--fla-primary); }
.fla .fla-lt__plan { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: var(--fla-r-md); background: linear-gradient(135deg, rgba(254,128,23,.12), rgba(25,117,255,.08)); border: 1px solid var(--fla-accent-tint); }
.fla .fla-lt__plan p { margin: 0; }
.fla .fla-lt__plan-title { font-size: 22px; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: var(--fla-secondary); }
.fla .fla-lt__price { font-size: 15px; font-weight: 700; color: var(--fla-accent-text); }
.fla .fla-lt__extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.fla .fla-lt__extra-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--fla-border); border-radius: var(--fla-r-sm); background: var(--fla-white); color: var(--fla-secondary); text-decoration: none; transition: border-color .2s; }
.fla .fla-lt__extra-item:hover { border-color: var(--fla-primary); color: var(--fla-secondary); }
.fla .fla-lt__extra-item span { font-size: 13px; color: var(--fla-accent-text); font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .fla .fla-lt__row { grid-template-columns: 90px 1fr 36px; } .fla .fla-lt__plan { padding: 18px; } }

/* ---------- Mobile menu panel (1.7) ---------- */
.fla-mm { display: inline-flex; }
.fla .fla-mm__toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--fla-border); border-radius: 12px; background: var(--fla-white); color: var(--fla-secondary); cursor: pointer; transition: border-color .2s, background .2s; }
.fla .fla-mm__toggle:hover, .fla .fla-mm__toggle:focus { background: var(--fla-surface); border-color: var(--fla-primary); color: var(--fla-secondary); }
.fla .fla-mm__toggle:focus-visible { outline: 2px solid var(--fla-primary); outline-offset: 2px; }
.fla .fla-mm__bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.fla .fla-mm__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.fla .fla-mm__bars span:nth-child(2) { width: 70%; margin-left: auto; }
html.fla-mm-lock, html.fla-mm-lock body { overflow: hidden; }
.fla.fla-mm__backdrop { position: fixed; inset: 0; z-index: 99998; background: rgba(15, 42, 71, .45); opacity: 0; transition: opacity .28s ease; }
.fla.fla-mm__backdrop.is-open { opacity: 1; }
.fla.fla-mm__panel { position: fixed; top: 0; left: 0; right: 0; z-index: 99999; max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--fla-white); border-radius: 0 0 24px 24px; box-shadow: 0 24px 48px rgba(15, 42, 71, .18); padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 14px; transform: translateY(-104%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); font-family: inherit; }
.fla.fla-mm__panel.is-open { transform: none; }
.admin-bar .fla.fla-mm__panel { top: 32px; max-height: calc(100dvh - 32px); }
@media (max-width: 782px) { .admin-bar .fla.fla-mm__panel { top: 46px; max-height: calc(100dvh - 46px); } }
@media (min-width: 640px) { .fla.fla-mm__panel { left: auto; right: 16px; top: 12px; width: 400px; border-radius: 24px; } }
.fla .fla-mm__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--fla-border); }
.fla .fla-mm__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.fla .fla-mm__avs { display: inline-flex; flex: none; }
.fla .fla-mm__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(15, 42, 71, .15); background: var(--fla-surface); }
.fla .fla-mm__av + .fla-mm__av { margin-left: -12px; }
.fla .fla-mm__name { font-family: Outfit, var(--e-global-typography-primary-font-family, sans-serif); font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--fla-secondary); white-space: nowrap; }
.fla .fla-mm__name span { color: var(--fla-accent); }
.fla .fla-mm__close { width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--fla-surface); color: var(--fla-secondary); cursor: pointer; }
.fla .fla-mm__close:hover, .fla .fla-mm__close:focus { background: var(--fla-border); color: var(--fla-secondary); }
.fla .fla-mm__close:focus-visible { outline: 2px solid var(--fla-primary); outline-offset: 2px; }
.fla .fla-mm__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fla .fla-mm__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--fla-border); background: var(--fla-white); color: var(--fla-secondary); font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s, border-color .2s; }
.fla .fla-mm__btn:hover { border-color: var(--fla-primary); color: var(--fla-secondary); }
.fla .fla-mm__btn--primary { background: var(--fla-primary); border-color: var(--fla-primary); color: #fff; }
.fla .fla-mm__btn--primary:hover { background: #0f63e0; border-color: #0f63e0; color: #fff; }
.fla .fla-mm__user { display: flex; align-items: center; gap: 12px; }
.fla .fla-mm__user .fla-level-badge { width: 40px; height: 40px; font-size: 16px; }
.fla .fla-mm__user-text { display: flex; flex-direction: column; line-height: 1.3; }
.fla .fla-mm__user-text strong { color: var(--fla-secondary); font-size: 16px; }
.fla .fla-mm__user-text span { color: var(--fla-text); font-size: 13px; }
.fla .fla-mm__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fla .fla-mm__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; color: var(--fla-secondary); font-size: 17px; font-weight: 600; text-decoration: none; transition: background .15s; }
.fla .fla-mm__link:hover, .fla .fla-mm__link:focus { background: var(--fla-surface); color: var(--fla-secondary); }
.fla .fla-mm__link.is-active { background: rgba(25, 117, 255, .1); color: var(--fla-primary); }
.fla .fla-mm__chev { display: inline-flex; color: #A0AEC0; }
.fla .fla-mm__chev .fla-svg { width: 18px; height: 18px; }
.fla .fla-mm__link.is-active .fla-mm__chev { color: var(--fla-primary); }
.fla .fla-mm__cta { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-decoration: none; background: linear-gradient(135deg, rgba(254, 128, 23, .14), rgba(25, 117, 255, .08)); border: 1px solid var(--fla-accent-tint); }
.fla .fla-mm__cta-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--fla-accent); color: #fff; }
.fla .fla-mm__cta-icon .fla-svg { width: 20px; height: 20px; }
.fla .fla-mm__cta-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.fla .fla-mm__cta-text strong { color: var(--fla-secondary); font-size: 15px; }
.fla .fla-mm__cta-text span { color: var(--fla-text); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .fla.fla-mm__panel, .fla.fla-mm__backdrop { transition: none; } }
.fla.fla-mm__panel[hidden], .fla.fla-mm__backdrop[hidden] { display: none; }

/* ---------- Certificates (1.9) ---------- */
.fla button.fla-rl-badge { border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.fla button.fla-rl-badge:hover { filter: brightness(1.05); }
.fla button.fla-rl-badge:focus-visible { outline: 2px solid var(--fla-primary); outline-offset: 2px; }
dialog.fla.fla-cert-modal { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--fla-white); box-shadow: 0 30px 60px rgba(15, 42, 71, .25); overflow: auto; }
dialog.fla.fla-cert-modal::backdrop { background: rgba(15, 42, 71, .55); }
.fla .fla-cert-modal__box { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.fla .fla-cert-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fla .fla-cert-modal__head h2 { font-size: 20px; margin: 0; color: var(--fla-secondary); }
.fla .fla-cert-modal__x { width: 38px; height: 38px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--fla-surface); color: var(--fla-secondary); cursor: pointer; }
.fla .fla-cert-modal__x:hover, .fla .fla-cert-modal__x:focus { background: var(--fla-border); color: var(--fla-secondary); }
.fla .fla-cert-modal__help { margin: -6px 0 0; font-size: 13px; color: var(--fla-text); }
.fla .fla-cert-modal__preview { min-height: 200px; display: flex; align-items: center; justify-content: center; background: var(--fla-surface); border-radius: 12px; overflow: hidden; }
.fla .fla-cert-modal__preview img, .fla .fla-cert-page__img img { display: block; width: 100%; height: auto; border-radius: 12px; }
.fla .fla-cert-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fla .fla-cert-modal__actions .fla-btn { justify-content: center; }
.fla .fla-cert-modal__link { text-align: center; font-size: 14px; font-weight: 600; color: var(--fla-primary); }
.fla .fla-cert-modal input[type="text"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--fla-border); border-radius: 10px; font: inherit; font-size: 16px; color: var(--fla-secondary); }
.fla .fla-cert-modal input[type="text"]:focus { outline: 2px solid var(--fla-primary); outline-offset: 1px; border-color: var(--fla-primary); }
.fla .fla-cert-modal label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--fla-secondary); }
.fla .fla-cert-page__loading { color: var(--fla-text); font-size: 14px; padding: 40px 0; }
.fla .fla-cert-page__card { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin: 0 auto; }
.fla .fla-cert-page__ok { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--fla-success-bg); color: var(--fla-success); font-weight: 700; font-size: 14px; align-self: flex-start; }
.fla .fla-cert-page__img { background: var(--fla-surface); border-radius: 12px; display: flex; justify-content: center; }
.fla .fla-cert-page__facts { margin: 0; display: grid; gap: 10px; }
.fla .fla-cert-page__facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--fla-border); }
.fla .fla-cert-page__facts dt { font-weight: 600; color: var(--fla-text); }
.fla .fla-cert-page__facts dd { margin: 0; color: var(--fla-secondary); font-weight: 600; }
.fla .fla-cert-page__note { margin: 0; font-size: 13px; color: var(--fla-text); }
@media (max-width: 480px) { .fla .fla-cert-page__facts div { grid-template-columns: 1fr; gap: 2px; } }
.fla .fla-cert-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 24px; }
.fla .fla-cert-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); background: var(--fla-white); cursor: pointer; font: inherit; transition: border-color .2s; }
.fla .fla-cert-item:hover, .fla .fla-cert-item:focus-visible { border-color: var(--fla-primary); }
.fla .fla-cert-item__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--fla-accent); color: #fff; }
.fla .fla-cert-item__text { display: flex; flex-direction: column; line-height: 1.3; }
.fla .fla-cert-item__text strong { color: var(--fla-secondary); }
.fla .fla-cert-item__text span { font-size: 13px; color: var(--fla-text); }

/* ---------------------------------------------------------------------------
   1.12 Free PDF lead magnet
   ------------------------------------------------------------------------- */
.fla.fla-lead { display: grid; grid-template-columns: minmax(200px, 38%) 1fr; gap: 40px; align-items: center; background: #0F2A47; color: #fff; border-radius: 28px; padding: 40px 48px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 42, 71, .18); }
.fla.fla-lead::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #1975FF; opacity: .18; left: -120px; bottom: -160px; }
.fla-lead__cover { position: relative; justify-self: center; width: 100%; max-width: 300px; }
.fla-lead__cover img { display: block; width: 100%; height: auto; border-radius: 14px; transform: rotate(-4deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border: 4px solid #fff; }
.fla-lead__badge { position: absolute; right: -10px; top: -14px; background: #FE8017; color: #0F2A47; font-weight: 800; font-size: 15px; letter-spacing: .08em; border-radius: 999px; padding: 8px 14px; transform: rotate(8deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.fla-lead__body { position: relative; }
.fla-lead__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FE8017; }
.fla-lead__title { margin: 0 0 14px; color: #fff !important; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; font-weight: 800; }
.fla-lead__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.fla-lead__list li { display: flex; gap: 10px; align-items: flex-start; color: #C8D3E0; font-size: 16px; }
.fla-lead__list svg, .fla-lead__ok svg { width: 20px; height: 20px; flex: 0 0 auto; color: #22C55E; margin-top: 2px; }
.fla-lead__row { display: flex; gap: 10px; flex-wrap: wrap; }
.fla-lead__row input[type=email] { flex: 1 1 240px; min-width: 0; height: 52px; border-radius: 12px; border: 2px solid transparent; padding: 0 16px; font-size: 16px; color: #0F2A47; background: #fff; }
.fla-lead__row input[type=email]:focus { outline: none; border-color: #FE8017; }
.fla-lead__row .fla-btn { height: 52px; white-space: nowrap; }
.fla-lead__row .fla-btn.is-loading { opacity: .7; pointer-events: none; }
.fla-lead__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fla-lead__consent { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 14px; color: #C8D3E0; cursor: pointer; }
.fla-lead__consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: #FE8017; }
.fla-lead__msg { margin: 10px 0 0; color: #FFB4A8; font-weight: 600; font-size: 14px; }
.fla-lead__msg[hidden], .fla-lead__done[hidden], .fla-lead__form[hidden] { display: none; }
.fla-lead__privacy { margin: 10px 0 0; font-size: 12.5px; color: #8FA2B8; }
.fla-lead__privacy a { color: #C8D3E0; text-decoration: underline; }
.fla-lead__ok { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.fla-lead__done .fla-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (max-width: 767px) {
	.fla.fla-lead { grid-template-columns: 1fr; padding: 28px 20px; gap: 24px; border-radius: 22px; }
	.fla-lead__cover { max-width: 200px; }
	.fla-lead__row .fla-btn { width: 100%; }
}

/* ---------- 1.13 eBook shop + 3-page preview ---------- */
.fla.fla-shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 28px; }
.fla-shop > .fla-book { container-type: inline-size; display: flex; }
.fla-book__in { flex: 1 1 auto; }
.fla-book__body { display: flex; flex-direction: column; align-self: stretch; height: 100%; }
.fla-book__actions { margin-top: auto; }
.fla.fla-shop--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.fla-book__in { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 24px; align-items: start; background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-lg); padding: 24px; box-shadow: var(--fla-shadow); }
.fla .fla-book__cover { all: unset; position: relative; display: block; cursor: zoom-in; border-radius: 12px; }
.fla-book__cover img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 28px rgba(15, 42, 71, .22); transition: transform .25s ease; -webkit-user-drag: none; user-select: none; }
.fla-book__cover:hover img { transform: translateY(-3px) rotate(-1deg); }
.fla .fla-book__cover:focus-visible { outline: 3px solid var(--fla-accent); outline-offset: 4px; }
.fla-book__badge { position: absolute; top: -12px; right: -12px; width: 64px; height: 64px; border-radius: 50%; background: var(--fla-accent); color: var(--fla-secondary); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; line-height: 1; transform: rotate(8deg); box-shadow: 0 6px 14px rgba(254, 128, 23, .35); }
.fla-book__badge b { font-size: 20px; font-weight: 800; }
.fla-book__badge span { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.fla-book__peek { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: rgba(15, 42, 71, .88); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 99px; }
.fla-book__peek svg { width: 15px; height: 15px; }
.fla-book__meta { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fla-accent-text); margin: 0 0 6px; }
.fla .fla-book__title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0; }
.fla-book__sub { font-size: 15px; font-weight: 700; color: var(--fla-secondary); margin: 4px 0 10px; }
.fla-book__desc { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.fla-book__points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.fla-book__points li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--fla-secondary); }
.fla-book__points svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--fla-success); margin-top: 2px; }
.fla-book__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fla-book__actions .fla-btn { flex: 1 1 auto; justify-content: center; gap: 8px; }
.fla-book__actions .fla-btn svg { width: 18px; height: 18px; }
@container (max-width: 470px) {
	.fla-book__in { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
	.fla .fla-book__cover { max-width: 230px; margin: 8px auto 0; }
	.fla-book__actions .fla-btn { flex-basis: 100%; }
}

.fla.fla-pv { position: fixed; inset: 0; z-index: 100000; background: #0B1B2E; display: flex; flex-direction: column; color: #fff; }
.fla.fla-pv[hidden] { display: none; }
.fla-pv__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px 10px; max-width: 1100px; width: 100%; margin: 0 auto; }
.fla-pv__bar > div { flex: 1 1 auto; min-width: 0; }
.fla-pv__eyebrow { margin: 0; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fla-accent); }
.fla-pv__title { margin: 0; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.fla-pv__count { font-size: 14px; color: #C8D3E0; white-space: nowrap; }
.fla .fla-pv__close { all: unset; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1; color: #fff; background: rgba(255, 255, 255, .12); }
.fla .fla-pv__close:hover { background: rgba(255, 255, 255, .22); }
.fla-pv__track { flex: 1 1 auto; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.fla-pv__track::-webkit-scrollbar { display: none; }
.fla-pv__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; display: flex; align-items: center; justify-content: center; padding: 4px 16px 8px; min-height: 0; }
.fla-pv__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); background: #fff; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.fla-pv__end { overflow-y: auto; }
.fla-pv__endcard { background: #fff; color: var(--fla-text); border-radius: 20px; padding: 28px 24px; max-width: 420px; width: 100%; text-align: center; margin: auto; }
.fla-pv__endcard img { width: 120px; max-height: none; border-radius: 8px; margin: 0 auto 14px; display: block; box-shadow: 0 10px 24px rgba(15, 42, 71, .25); transform: rotate(-3deg); }
.fla-pv__endcard h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: var(--fla-secondary); margin: 0 0 6px; }
.fla-pv__endcard p { margin: 0 0 18px; font-size: 15px; }
.fla-pv__endcard .fla-btn { width: 100%; justify-content: center; }
.fla .fla-pv__again { all: unset; cursor: pointer; display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--fla-primary); text-decoration: underline; }
.fla .fla-pv__nav { all: unset; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 36px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.fla .fla-pv__nav:hover { background: rgba(255, 255, 255, .26); }
.fla .fla-pv__nav[disabled] { opacity: 0; pointer-events: none; }
.fla .fla-pv__nav--prev { left: max(16px, calc(50% - 540px)); }
.fla .fla-pv__nav--next { right: max(16px, calc(50% - 540px)); }
.fla-pv__dots { display: flex; justify-content: center; gap: 8px; padding: 6px 0 14px; }
.fla-pv__dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .3); transition: width .2s; }
.fla-pv__dots span.is-on { width: 22px; background: var(--fla-accent); }
@media (max-width: 767px) { .fla .fla-pv__nav { display: none; } .fla-pv__slide { padding: 0 8px 6px; } }

/* ---------- 1.16 eBook checkout + download box ---------- */
.fla-book__alt { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--fla-text); text-align: center; }
.fla-book__alt a { font-weight: 700; }
.fla .fla-btn.is-loading { opacity: .7; cursor: progress; }
.fla.fla-ord { position: fixed; inset: 0; z-index: 100001; background: rgba(9, 24, 41, .82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fla-ord__card { position: relative; background: #fff; border-radius: 22px; max-width: 480px; width: 100%; padding: 32px 28px 26px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); max-height: calc(100vh - 32px); overflow-y: auto; }
.fla .fla-ord__x { all: unset; cursor: pointer; position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--fla-secondary); border-radius: 50%; }
.fla .fla-ord__x:hover { background: var(--fla-surface); }
.fla-ord__card h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px; margin: 0 0 4px; padding: 0 30px; color: var(--fla-secondary); }
.fla-ord__book { margin: 0 0 18px; font-weight: 700; color: var(--fla-accent-text); }
.fla-ord__body p { margin: 0 0 14px; }
.fla-ord__body .fla-btn { width: 100%; justify-content: center; }
.fla-ord__wait { display: flex; gap: 10px; align-items: center; justify-content: center; }
.fla-ord__spin { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--fla-border); border-top-color: var(--fla-accent); animation: fla-spin .8s linear infinite; flex: 0 0 auto; }
@keyframes fla-spin { to { transform: rotate(360deg); } }
.fla-ord__slow { background: var(--fla-surface); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.fla-ord__mail { margin: 22px 0 0; text-align: left; }
.fla-ord__mail label { display: block; font-size: 14px; font-weight: 700; color: var(--fla-secondary); margin-bottom: 6px; }
.fla-ord__row { display: flex; gap: 8px; }
.fla-ord__row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--fla-border); border-radius: var(--fla-r-sm); font-size: 16px; }
.fla .fla-ord__row .fla-btn { width: auto; }
.fla-ord__msg { font-size: 14px; color: var(--fla-success); margin: 8px 0 0 !important; min-height: 1em; }
.fla-ord__keep { font-size: 13px; color: var(--fla-text); margin-top: 16px !important; }
@media (prefers-reduced-motion: reduce) { .fla-ord__spin { animation: none; } }

/* ---------- 1.17 Weekly leaderboard ---------- */
.fla.fla-lb { background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-lg); padding: 32px; box-shadow: var(--fla-shadow); margin-top: 32px; }
.fla-lb__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.fla-lb__eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fla-accent-text); }
.fla-lb__eyebrow svg { width: 16px; height: 16px; }
.fla .fla-lb h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 26px; margin: 0; }
.fla-lb__sub { margin: 4px 0 0; font-size: 14px; color: var(--fla-text); }
.fla-lb__tabs { display: inline-flex; background: var(--fla-surface); border-radius: 99px; padding: 4px; }
.fla .fla-lb__tabs button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 700; color: var(--fla-text); }
.fla .fla-lb__tabs button[aria-selected="true"] { background: var(--fla-white); color: var(--fla-secondary); box-shadow: 0 1px 3px rgba(15, 42, 71, .12); }
.fla .fla-lb__tabs button:focus-visible { outline: 3px solid var(--fla-accent); outline-offset: 2px; }
.fla-lb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fla-lb__row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--fla-surface); }
.fla-lb__row.is-top { background: #FFF7EE; }
.fla-lb__row.is-me { background: var(--fla-primary-tint); box-shadow: inset 0 0 0 2px var(--fla-primary); }
.fla-lb__rank, .fla-lb__medal { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 15px; color: var(--fla-secondary); background: var(--fla-white); }
.fla-lb__medal { color: #fff; }
.fla-lb__medal--1 { background: #E8A400; }
.fla-lb__medal--2 { background: #8A9AAD; }
.fla-lb__medal--3 { background: #C46A2B; }
.fla-lb__name { font-weight: 700; color: var(--fla-secondary); font-size: 16px; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.fla-lb__name em { font-style: normal; color: var(--fla-primary); font-weight: 700; }
.fla-lb__name small { font-weight: 500; font-size: 13px; color: var(--fla-text); }
.fla-lb__xp { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; color: var(--fla-secondary); white-space: nowrap; }
.fla-lb__xp small { font-size: 12px; font-weight: 700; color: var(--fla-text); }
.fla-lb__empty, .fla-lb__loading { padding: 18px; border-radius: 14px; background: var(--fla-surface); text-align: center; font-size: 15px; }
.fla-lb__empty a { font-weight: 700; }
.fla-lb__foot { margin-top: 16px; text-align: center; }
.fla-lb__foot p { margin: 0 0 8px; font-size: 15px; color: var(--fla-secondary); }
.fla-lb__foot .fla-lb__muted, .fla-lb__muted { font-size: 13px; color: var(--fla-text); }
.fla .fla-lb__link { all: unset; cursor: pointer; color: var(--fla-primary); font-weight: 700; text-decoration: underline; }
.fla-lb__how { margin: 14px 0 0; font-size: 13px; color: var(--fla-text); text-align: center; }
@media (max-width: 767px) { .fla.fla-lb { padding: 22px 16px; border-radius: var(--fla-r-md); } .fla .fla-lb h2 { font-size: 22px; } .fla-lb__tabs { width: 100%; } .fla .fla-lb__tabs button { flex: 1; text-align: center; } }

/* 1.17.1 Free PDF box: more breathing room (beats the generic .fla h2 / list resets) */
.fla.fla-lead .fla-lead__eyebrow { margin: 0 0 8px; }
.fla.fla-lead .fla-lead__title { margin: 0 0 20px; }
.fla.fla-lead .fla-lead__list { margin: 0 0 28px; gap: 14px; }
.fla.fla-lead .fla-lead__list li { line-height: 1.45; }
.fla.fla-lead .fla-lead__consent { margin-top: 14px; }
.fla.fla-lead .fla-lead__privacy { margin-top: 8px; }

/* ---------- 1.18 eBook bundle ---------- */
.fla.fla-shop > .fla-book--bundle { grid-column: 1 / -1; }
.fla-book--bundle .fla-book__in { grid-template-columns: minmax(260px, 42%) 1fr; border: 2px solid var(--fla-accent); background: linear-gradient(135deg, #FFF7EE 0%, #fff 55%); align-items: center; }
.fla .fla-book__fan { all: unset; cursor: zoom-in; position: relative; display: block; height: 300px; }
.fla-book__fan img { position: absolute; top: 20px; width: 46%; height: auto; border-radius: 10px; box-shadow: 0 14px 30px rgba(15, 42, 71, .25); border: 3px solid #fff; transition: transform .25s ease; -webkit-user-drag: none; }
.fla-book__fan .fla-book__fan-0 { left: 50%; transform: rotate(9deg); }
.fla-book__fan .fla-book__fan-1 { left: 27%; top: 6px; transform: rotate(0deg); z-index: 1; }
.fla-book__fan .fla-book__fan-2 { left: 4%; transform: rotate(-9deg); z-index: 2; }
.fla .fla-book__fan:hover .fla-book__fan-0 { transform: rotate(13deg) translateX(8px); }
.fla .fla-book__fan:hover .fla-book__fan-2 { transform: rotate(-13deg) translateX(-8px); }
.fla .fla-book__fan:focus-visible { outline: 3px solid var(--fla-accent); outline-offset: 4px; border-radius: 12px; }
.fla-book__save { position: absolute; right: 2%; top: 0; z-index: 3; background: var(--fla-secondary); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 99px; text-decoration: line-through; text-decoration-color: var(--fla-accent); }
.fla-book__deal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.fla-book__was { font-family: 'Outfit', sans-serif; font-size: 20px; color: #5B6B7F; text-decoration: line-through; }
.fla-book__now { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 34px; color: var(--fla-secondary); line-height: 1; }
.fla-book__off { font-size: 13px; font-weight: 700; color: var(--fla-success); background: var(--fla-success-bg); padding: 4px 10px; border-radius: 99px; }
.fla-ord__dls { display: grid; gap: 10px; }
.fla-ord__dls .fla-btn { font-size: 15px; }
@container (max-width: 640px) {
	.fla-book--bundle .fla-book__in { grid-template-columns: minmax(0, 1fr); }
	.fla .fla-book__fan { height: 250px; max-width: 360px; width: 100%; margin: 0 auto; }
}

/* 1.18.1 Visually hidden page title (Quiz Hub H1) */
.fla .fla-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   1.19 Blog: article layout, cards, in-article components
   ===================================================================== */
.fla .fla-phero .fla-lhero__title { font-size: 44px; max-width: 900px; }
.fla .fla-phero a.fla-lhero__cat { text-decoration: none; }
.fla .fla-phero a.fla-lhero__cat:hover { background: rgba(254, 128, 23, .3); }
.fla .fla-ptoc a { align-items: flex-start; }
.fla .fla-ptoc__n { flex: 0 0 22px; height: 22px; border-radius: 999px; background: var(--fla-surface); color: var(--fla-secondary); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: -1px; }
.fla .fla-ptoc a.is-active .fla-ptoc__n { background: rgba(255, 255, 255, .2); color: #fff; }

.fla .fla-post-body { font-size: 18px; }
.fla .fla-post-body h2 { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 1.7em 0 .6em; scroll-margin-top: 96px; }
.fla .fla-post-body > h2:first-child { margin-top: 0; }
.fla .fla-post-body h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 1.4em 0 .5em; color: var(--fla-secondary); }
.fla .fla-post-body a:not(.fla-btn) { color: var(--fla-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.fla .fla-post-body a:not(.fla-btn):hover { color: var(--fla-secondary); }
.fla .fla-post-body li { margin-bottom: .35em; }
.fla .fla-post-body .fla-intro { font-size: 20px; color: var(--fla-secondary); }

/* Interview question card */
.fla .fla-post-body .fla-qa { background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: var(--fla-r-md); padding: 22px 24px; margin: 20px 0; box-shadow: var(--fla-shadow); }
.fla .fla-post-body .fla-qa > h3 { margin: 0 0 6px; font-size: 21px; }
.fla .fla-post-body .fla-bn { display: flex; gap: 8px; align-items: baseline; color: var(--fla-text); font-size: 17px; margin: 0 0 12px; }
.fla .fla-post-body .fla-bn::before { content: "বাংলা"; flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--fla-accent-text); background: var(--fla-accent-tint); border-radius: 999px; padding: 2px 8px; position: relative; top: -2px; }
.fla .fla-post-body .fla-why { font-size: 16px; margin: 0 0 12px; }
.fla .fla-post-body .fla-ans { background: var(--fla-success-bg); border-left: 4px solid var(--fla-success); border-radius: 12px; padding: 14px 18px; margin: 0 0 12px; color: var(--fla-secondary); }
.fla .fla-post-body .fla-ans p { margin: 0 0 .5em; }
.fla .fla-post-body .fla-ans p:last-child { margin: 0; }
.fla .fla-post-body .fla-ans__label { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-success); margin-bottom: 4px !important; }
.fla .fla-post-body .fla-avoid { font-size: 15.5px; color: var(--fla-error); margin: 0; }
.fla .fla-post-body .fla-avoid strong { color: var(--fla-error); }

/* Wrong / right list with a short note */
.fla .fla-post-body .fla-mistakes, .fla .fla-post-body .fla-rules, .fla .fla-post-body .fla-examples { padding-left: 0; }
.fla .fla-post-body .fla-mistakes li { margin: 0; align-items: baseline; }
.fla .fla-post-body .fla-mistakes .fla-wrong, .fla .fla-post-body .fla-mistakes .fla-right { font-size: 18px; }
.fla .fla-post-body .fla-mnote { flex: 1 1 100%; font-size: 15.5px; color: var(--fla-text); }
.fla .fla-post-body .fla-mnote .fla-bntext { display: block; margin-top: 2px; }
.fla .fla-post-body .fla-num { display: inline-grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 999px; background: var(--fla-secondary); color: #fff; font-size: 12px; font-weight: 700; }

/* Model text (self-introductions, templates) */
.fla .fla-post-body .fla-model { background: var(--fla-surface); border-radius: var(--fla-r-md); padding: 20px 24px; margin: 1em 0 1.2em; color: var(--fla-secondary); border-left: 4px solid var(--fla-primary); }
.fla .fla-post-body .fla-model p { margin: 0 0 .6em; }
.fla .fla-post-body .fla-model p:last-child { margin: 0; }
.fla .fla-post-body .fla-model__label { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-primary); }
.fla .fla-post-body .fla-model mark { background: rgba(254, 128, 23, .2); color: inherit; padding: 0 3px; border-radius: 4px; }

/* In-article call to action */
.fla .fla-pcta { display: flex; align-items: center; gap: 18px; background: var(--fla-secondary); color: #fff; border-radius: 20px; padding: 22px 24px; margin: 32px 0; }
.fla .fla-pcta__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; background: rgba(254, 128, 23, .18); color: var(--fla-accent); display: grid; place-items: center; }
.fla .fla-pcta__icon .fla-svg { width: 26px; height: 26px; }
.fla .fla-pcta__body { flex: 1; min-width: 0; }
.fla .fla-post-body .fla-pcta p { margin: 0; }
.fla .fla-pcta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fla-accent) !important; }
.fla .fla-pcta__title { font-family: 'Outfit', sans-serif; font-size: 21px; font-weight: 800; line-height: 1.25; color: #fff !important; margin: 2px 0 4px !important; }
.fla .fla-pcta__text { font-size: 15.5px; line-height: 1.5; color: #C8D3E0 !important; }
.fla .fla-pcta__btn { flex: 0 0 auto; white-space: nowrap; }

/* End of article */
.fla .fla-post-end__h { font-size: 26px; font-weight: 800; margin: 0 0 18px !important; }
.fla .fla-post-book { margin-top: 56px; }
.fla .fla-post-book .fla-shop--one { margin: 0; max-width: none; }
.fla .fla-post-rel { margin-top: 56px; }
.fla .fla-post-lead { max-width: 1200px; margin: 0 auto 72px; padding: 0 24px; }

/* Cards and index */
.fla .fla-bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.fla .fla-bgrid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.fla .fla-bcard { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--fla-white); border: 1px solid var(--fla-border); border-radius: 20px; padding: 24px; box-shadow: var(--fla-shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.fla .fla-bcard:hover { transform: translateY(-3px); box-shadow: var(--fla-shadow-lift); border-color: rgba(25, 117, 255, .35); }
.fla .fla-bcard__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fla-accent-text); background: var(--fla-accent-tint); border-radius: 999px; padding: 4px 10px; }
.fla .fla-bcard__title { font-size: 21px; font-weight: 800; line-height: 1.3; margin: 0; }
.fla .fla-bgrid--3 .fla-bcard__title { font-size: 18px; }
.fla .fla-bcard__title a { color: var(--fla-secondary); text-decoration: none; }
.fla .fla-bcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fla .fla-bcard__title a:focus-visible { outline: none; }
.fla .fla-bcard:focus-within { outline: 3px solid var(--fla-primary); outline-offset: 2px; }
.fla .fla-bcard__ex { font-size: 15.5px; line-height: 1.55; color: var(--fla-text); margin: 0; flex: 1; }
.fla .fla-bgrid--3 .fla-bcard__ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fla .fla-bcard__meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--fla-text); margin: 4px 0 0; }
.fla .fla-bcard__meta .fla-svg { width: 15px; height: 15px; }
.fla .fla-bcard__go { margin-left: auto; color: var(--fla-primary); font-size: 18px; font-weight: 700; transition: transform .15s; }
.fla .fla-bcard:hover .fla-bcard__go { transform: translateX(3px); }
.fla .fla-bcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.fla .fla-bcats a, .fla .fla-bcats span { font-size: 14px; font-weight: 600; border-radius: 999px; padding: 8px 16px; border: 1px solid var(--fla-border); background: var(--fla-white); color: var(--fla-secondary); text-decoration: none; }
.fla .fla-bcats a:hover { border-color: var(--fla-primary); color: var(--fla-primary); }
.fla .fla-bcats .is-active { background: var(--fla-secondary); border-color: var(--fla-secondary); color: #fff; }
.fla .fla-bwrap { max-width: 1200px; margin: 0 auto; padding: 40px 24px 72px; }
.fla .fla-bempty { text-align: center; color: var(--fla-text); }

@media (max-width: 1024px) {
	.fla .fla-phero .fla-lhero__title { font-size: 38px; }
}
@media (max-width: 767px) {
	.fla .fla-phero .fla-lhero__title { font-size: 30px; }
	.fla .fla-post-body { font-size: 17px; }
	.fla .fla-post-body h2 { font-size: 25px; }
	.fla .fla-post-body h3, .fla .fla-post-body .fla-qa > h3 { font-size: 19px; }
	.fla .fla-post-body .fla-qa { padding: 18px 16px; }
	.fla .fla-post-body .fla-model { padding: 16px 18px; }
	.fla .fla-pcta { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
	.fla .fla-pcta__btn { width: 100%; justify-content: center; }
	.fla .fla-post-lead { padding: 0 16px; margin-bottom: 48px; }
	.fla .fla-bwrap { padding: 24px 16px 56px; }
	.fla .fla-post-end__h { font-size: 22px; }
	.fla .fla-post-body .fla-intro { font-size: 18px; }
	.fla .fla-phero .fla-lhero__meta span[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
	.fla .fla-post-body .fla-table thead { display: none; }
	.fla .fla-post-body .fla-table, .fla .fla-post-body .fla-table tbody { display: block; border: 0; }
	.fla .fla-post-body .fla-table tr { display: block; border: 1px solid var(--fla-border); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--fla-white); }
	.fla .fla-post-body .fla-table td { display: block; border: 0; padding: 2px 0; }
	.fla .fla-post-body .fla-table td:first-child { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fla-accent-text); padding-bottom: 4px; }
	.fla .fla-post-body .fla-table td:nth-child(2) { color: var(--fla-secondary); font-weight: 600; }
	.fla .fla-post-body .fla-table td:nth-child(3) { font-size: 15.5px; }
}

/* 1.20.1 Country-only products stay hidden until the browser confirms the country */
.fla [data-fla-only][hidden], [data-fla-only][hidden] { display: none !important; }

/* 1.22 Accessibility: readable link colours on light and dark boxes */
.fla .fla-book__alt a, .fla .fla-lb__empty a { color: var(--fla-primary); text-decoration: underline; text-underline-offset: 2px; }
.fla.fla-lead .fla-lead__privacy { color: #A9B8C9; }
.fla.fla-lead .fla-lead__privacy a { color: #fff; text-decoration: underline; }
.fla-site-main { display: block; }

/* 1.22.2: footer legal links get a 24px tap target (WCAG 2.2 target size). */
#colophon .elementor-inline-items .elementor-icon-list-item > a,
footer .elementor-inline-items .elementor-icon-list-item > a { display: inline-flex; align-items: center; min-height: 24px; }

/* 1.23.3 bundle card redesign: 4-book fan, roomier body, price box */
.fla-book--bundle .fla-book__in { gap: 36px; padding: 32px 36px; }
.fla-book--bundle .fla-book__body { gap: 0; }
.fla-book--bundle .fla-book__sub { margin-bottom: 18px; }
.fla .fla-book--bundle .fla-book__fan { height: 330px; }
.fla-book--bundle .fla-book__fan img { width: 44%; top: 26px; }
.fla-book--bundle .fla-book__fan .fla-book__fan-0 { left: 54%; transform: rotate(11deg); z-index: 1; }
.fla-book--bundle .fla-book__fan .fla-book__fan-1 { left: 38%; top: 14px; transform: rotate(4deg); z-index: 2; }
.fla-book--bundle .fla-book__fan .fla-book__fan-2 { left: 4%; transform: rotate(-9deg); z-index: 3; }
.fla-book--bundle .fla-book__fan .fla-book__fan-3 { left: 22%; top: 4px; transform: rotate(-2deg); z-index: 4; }
.fla .fla-book--bundle .fla-book__fan:hover .fla-book__fan-0 { transform: rotate(15deg) translateX(10px); }
.fla .fla-book--bundle .fla-book__fan:hover .fla-book__fan-2 { transform: rotate(-13deg) translateX(-10px); }
.fla-book--bundle .fla-book__save { z-index: 5; }
.fla-book__points--grid { grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 0 0 24px; }
.fla-book__points--grid li { font-weight: 700; font-size: 15px; line-height: 1.35; }
.fla-book__points--grid li small { display: block; font-weight: 500; font-size: 13px; color: #5B6B7F; margin-top: 2px; }
.fla-book__pricebox { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: #fff; border: 1px solid var(--fla-border, #E3E8EF); border-radius: 14px; padding: 16px 20px; margin: 22px 0 18px; }
.fla-book__pricebox .fla-book__deal { margin: 0; align-items: center; }
.fla-book__pricebox .fla-book__off { font-size: 14px; padding: 6px 12px; }
.fla-book--bundle .fla-book__actions { margin-top: 0; }
@container (max-width: 640px) {
	.fla-book--bundle .fla-book__in { padding: 22px 18px; gap: 22px; }
	.fla .fla-book--bundle .fla-book__fan { height: 260px; }
	.fla-book__points--grid { grid-template-columns: 1fr; gap: 10px; }
}

/* 1.25.0: glow book cards (dark, 3D book, orange / blue / green) */
.fla.fla-shop { grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 26px; align-items: stretch; }
.fla-shop > .fla-book { display: flex; }
.fla-book--orange { --g: #FF9A3C; }
.fla-book--blue { --g: #4DA3FF; }
.fla-book--green { --g: #2ED38A; }
.fla-book--glow { container-type: inline-size; }
.fla-book--glow .fla-book__in {
	flex: 1; display: flex; flex-direction: row; align-items: stretch; gap: 30px; padding: 28px 28px 26px 34px; text-align: left; color: #E6EDF5; perspective: 1200px;
	border-radius: 24px; border: 1px solid color-mix(in srgb, var(--g) 55%, transparent); border-top: 2px solid var(--g);
	background: linear-gradient(100deg, color-mix(in srgb, var(--g) 30%, #13253D) 0%, color-mix(in srgb, var(--g) 12%, #121E30) 42%, #111A28 100%);
	box-shadow: 0 -6px 30px -8px color-mix(in srgb, var(--g) 70%, transparent), 0 18px 40px rgba(0,0,0,.25);
	transition: transform .25s ease, box-shadow .25s ease;
}
.fla-book--glow .fla-book__in:hover { transform: translateY(-5px); box-shadow: 0 -8px 40px -6px color-mix(in srgb, var(--g) 85%, transparent), 0 24px 50px rgba(0,0,0,.35); }
.fla .fla-book--glow .fla-book__cover { display: inline-block; position: relative; flex: 0 0 auto; align-self: center; margin: 0; max-width: none; width: auto; transform-style: preserve-3d; transform: rotateY(24deg) rotateX(4deg); transition: transform .4s ease; }
.fla .fla-book--glow .fla-book__in:hover .fla-book__cover { transform: rotateY(14deg) rotateX(3deg) translateY(-4px); }
.fla .fla-book--glow .fla-book__cover::before { content: ""; position: absolute; inset: -10% -35% -6%; background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 90%, transparent), transparent 75%); filter: blur(22px); opacity: .9; z-index: 0; }
.fla .fla-book--glow .fla-book__cover::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30px; background: linear-gradient(90deg, #0a1a2e 0%, #1f3b5f 45%, #2a4a73 55%, #0e2038 100%); transform-origin: left center; transform: rotateY(90deg); border-radius: 3px 0 0 3px; }
.fla .fla-book--glow .fla-book__cover img { display: block; position: relative; z-index: 1; height: 210px; width: auto; max-width: none; border-radius: 2px 6px 6px 2px; box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.6), 0 0 34px color-mix(in srgb, var(--g) 55%, transparent); backface-visibility: hidden; }
.fla-book--glow .fla-book__badge, .fla-book--glow .fla-book__peek, .fla-book--glow .fla-book__desc, .fla-book--glow .fla-book__points { display: none; }
.fla-book--glow .fla-book__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; height: auto; min-width: 0; }
.fla-book--glow .fla-book__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fla-book--glow .fla-pill { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: color-mix(in srgb, var(--g) 80%, #fff); border: 1px solid color-mix(in srgb, var(--g) 55%, transparent); border-radius: 99px; padding: 4px 9px; }
.fla .fla-book--glow .fla-book__title { font-size: 21px; line-height: 1.25; color: #fff; }
.fla-book--glow .fla-book__sub { font-size: 14.5px; font-weight: 500; color: #B9C6D6; margin: 6px 0 18px; }
.fla-book--glow .fla-book__deal { margin: 0 0 14px; }
.fla-book--glow .fla-book__was { color: #8FA0B4; }
.fla-book--glow .fla-book__now { color: #fff; }
.fla-book--glow .fla-book__actions { margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.fla .fla-book--glow .fla-book__actions .fla-btn { width: 100%; flex: none; font-size: 15.5px; white-space: nowrap; border-radius: 12px; }
.fla .fla-book--glow .fla-book__actions .fla-btn--primary { order: 1; background: #F97B12; border-color: #F97B12; color: #0B1F36; box-shadow: 0 8px 20px rgba(249,123,18,.3); }
.fla .fla-book--glow .fla-book__actions .fla-btn--outline { order: 2; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.fla-book--glow .fla-book__alt { order: 3; flex: 0 0 auto; font-size: 12px; margin: 2px 0 0; color: #8FA0B4; text-align: left; }
.fla-book--glow .fla-book__alt a { color: #fff; }
@container (max-width: 460px) {
	.fla-book--glow .fla-book__in { flex-direction: column; text-align: center; padding: 26px 22px 22px; }
	.fla-book--glow .fla-book__body { align-items: center; }
	.fla-book--glow .fla-book__meta { justify-content: center; }
	.fla-book--glow .fla-book__alt { text-align: center; }
	.fla .fla-book--glow .fla-book__cover { margin: 0 auto 22px; }
}
@media (prefers-reduced-motion: reduce) { .fla-book--glow .fla-book__in, .fla .fla-book--glow .fla-book__cover { transition: none; } }


/* 1.26.0: blog cards with the post's featured image on top; newest post as a wide card */
.fla .fla-bcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fla .fla-bcard--img { padding: 0; overflow: hidden; }
.fla .fla-bcard--img .fla-bcard__body { padding: 20px 22px 22px; }
.fla .fla-bcard__img { aspect-ratio: 1200 / 630; overflow: hidden; background: #0F2A47; border-bottom: 1px solid var(--fla-border); }
.fla .fla-bcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fla .fla-bcard--img:hover .fla-bcard__img img { transform: scale(1.04); }
.fla .fla-bgrid--3 .fla-bcard--img .fla-bcard__body { padding: 16px 18px 18px; }
.fla.fla-blog { container: fla-blog / inline-size; }
@container fla-blog (min-width: 900px) {
	.fla.fla-blog .fla-bgrid > .fla-bcard--img:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
	.fla.fla-blog .fla-bgrid > .fla-bcard--img:first-child .fla-bcard__img { flex: 0 0 56%; align-self: center; border-bottom: 0; border-right: 1px solid var(--fla-border); }
	.fla.fla-blog .fla-bgrid > .fla-bcard--img:first-child .fla-bcard__body { padding: 32px 34px; justify-content: center; }
	.fla.fla-blog .fla-bgrid > .fla-bcard--img:first-child .fla-bcard__title { font-size: 28px; }
	.fla.fla-blog .fla-bgrid > .fla-bcard--img:first-child .fla-bcard__ex { flex: 0 1 auto; font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { .fla .fla-bcard__img img { transition: none; } .fla .fla-bcard--img:hover .fla-bcard__img img { transform: none; } }

/* ===== IELTS Vocabulary Test (1.30) ===== */
.fla .fla-icon--green { background: var(--fla-success-bg); color: var(--fla-success); }
.fla.fla-ielts { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.fla .fla-ielts__intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fla .fla-ielts__intro .fla-chips { justify-content: center; }
.fla .fla-ielts__resume { font-size: 14px; color: var(--fla-error); }
.fla .fla-ielts__bar { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--fla-text); margin-bottom: 8px; }
.fla .fla-ielts__prog { height: 8px; border-radius: 99px; background: var(--fla-border); overflow: hidden; margin-bottom: 18px; }
.fla .fla-ielts__prog i { display: block; height: 100%; background: var(--fla-success); transition: width .3s ease; }
.fla .fla-ielts__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fla-success); background: var(--fla-success-bg); border-radius: 99px; padding: 5px 12px; margin-bottom: 12px; }
.fla .fla-ielts__q { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 21px; line-height: 1.5; color: var(--fla-secondary); margin-bottom: 18px; }
.fla .fla-ielts__gap { display: inline-block; min-width: 96px; border-bottom: 3px solid var(--fla-success); color: var(--fla-success); font-weight: 800; text-align: center; padding: 0 4px; }
.fla .fla-ielts__opts { display: flex; flex-direction: column; gap: 9px; }
.fla .fla-ielts__opt { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; background: #fff; border: 2px solid var(--fla-border); border-radius: 12px; padding: 13px 16px; font: 700 17px/1.3 'Outfit', sans-serif; color: var(--fla-secondary); cursor: pointer; transition: border-color .15s, background .15s; }
.fla .fla-ielts__opt:hover:not(:disabled) { border-color: var(--fla-primary); background: var(--fla-primary-tint); }
.fla .fla-ielts__opt:disabled { cursor: default; }
.fla .fla-ielts__opt em { font-style: normal; font-weight: 800; }
.fla .fla-ielts__opt.is-ok { border-color: var(--fla-success); background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-ielts__opt.is-no { border-color: #F3C1C1; background: #FFF4F4; color: var(--fla-error); }
.fla .fla-ielts__exp { background: var(--fla-surface); border-radius: 16px; padding: 18px; margin-top: 16px; }
.fla .fla-ielts__word { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 23px; color: var(--fla-secondary); }
.fla .fla-ielts__word small { font-size: 14px; font-weight: 600; color: var(--fla-text); }
.fla .fla-ielts__mean { font-size: 16px; line-height: 1.5; margin: 4px 0 12px; color: var(--fla-secondary); }
.fla .fla-ielts__exh { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fla-accent-text); margin-bottom: 6px; }
.fla .fla-ielts__ex { font-size: 16px; line-height: 1.45; padding: 5px 0 5px 12px; border-left: 3px solid #FFB27A; margin-bottom: 6px; color: var(--fla-secondary); }
.fla .fla-ielts__ex b { color: var(--fla-success); }
.fla .fla-ielts__tip { font-size: 14.5px; line-height: 1.45; color: var(--fla-accent-text); font-weight: 600; margin-top: 10px; }
.fla .fla-ielts__next { margin-top: 16px; }
.fla .fla-ielts__done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fla .fla-ielts__emo { font-size: 46px; line-height: 1; }
.fla .fla-ielts__score { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--fla-success); }
.fla .fla-ielts__legal { font-size: 12px; line-height: 1.5; color: #8A97A8; text-align: center; }
.fla .fla-bkash { margin-top: 14px; }
.fla .fla-btn--bkash { background: #E2136E; color: #fff; border-color: #E2136E; }
.fla .fla-btn--bkash:hover { background: #C70F60; color: #fff; }
.fla .fla-bkash__note { font-size: 13.5px; line-height: 1.5; color: var(--fla-text); margin-top: 8px; text-align: center; }
@media (max-width: 767px) { .fla .fla-ielts__q { font-size: 19px; } }

/* Quiz hub: price tiers (free vs Pro) */
.fla .fla-hub-card--ielts { border: 2px solid var(--fla-success); }
.fla .fla-ribbon--new { background: var(--fla-success); color: #fff; }
.fla .fla-tag--green { background: var(--fla-success-bg); color: var(--fla-success); }
.fla .fla-hub-checks--light li { color: var(--fla-secondary); }
.fla .fla-hub-checks--light .fla-svg { color: var(--fla-success); }
.fla .fla-hub-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; padding-top: 14px; border-top: 1px dashed var(--fla-border); margin-top: auto; }
.fla .fla-hub-tier { border-radius: 12px; padding: 10px 12px; background: var(--fla-surface); display: flex; flex-direction: column; }
.fla .fla-hub-tier b { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--fla-secondary); line-height: 1.2; }
.fla .fla-hub-tier span { font-size: 13px; color: var(--fla-text); font-weight: 600; }
.fla .fla-hub-tier--free b { color: var(--fla-success); }
.fla .fla-hub-tier--pro { background: #FFF7EE; border: 1.5px solid #FFB27A; }
.fla .fla-hub-card--unlimited .fla-hub-tiers { border-top-color: rgba(255, 255, 255, .18); }
.fla .fla-hub-card--unlimited .fla-hub-tier { background: rgba(255, 255, 255, .1); }
.fla .fla-hub-card--unlimited .fla-hub-tier--free b { color: #4ADE80; }
.fla .fla-hub-card--unlimited .fla-hub-tier--pro { background: rgba(254, 128, 23, .14); border-color: var(--fla-accent); }
.fla .fla-hub-card--unlimited .fla-hub-tier--pro b { color: #fff; }
.fla .fla-hub-card--unlimited .fla-hub-tier span { color: #C8D3E0; }
.fla .fla-hub-card--unlimited .fla-hub-tier--pro span { color: #FFB27A; }
.fla .fla-hub-card .fla-hub-price--light { margin-top: auto; }
.fla .fla-hub-card > .fla-btn:last-child { align-self: flex-start; }
.fla .fla-hub-card__desc { color: inherit; }
.fla .fla-hub-card--unlimited .fla-hub-card__desc { color: #C8D3E0; }

/* Gumroad Pro: license key fallback (small, quiet) */
.fla .fla-gumkey { margin-top: 16px; font-size: 14px; text-align: center; min-width: 0; width: 100%; box-sizing: border-box; }
.fla .fla-gumkey summary { display: inline; list-style: none; cursor: pointer; color: #5b6475; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.fla .fla-gumkey summary::-webkit-details-marker { display: none; }
.fla .fla-gumkey summary:focus { outline: none; }
.fla .fla-gumkey summary:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; border-radius: 4px; }
.fla .fla-gumkey__form { display: flex; gap: 8px; margin-top: 10px; align-items: stretch; }
.fla .fla-gumkey__form input { flex: 1 1 0; width: 0; min-width: 0; padding: 9px 12px; border: 1px solid #cfd6e4; border-radius: 10px; font-size: 15px; }
.fla .fla-gumkey__form .fla-btn { flex: 0 0 auto; width: auto; min-height: 0; padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.fla .fla-gumkey__msg { margin: 6px 0 0; font-size: 14px; }
