/* ============================================================
   লাবণ্য (Labonno) — Soft-Luxe Beauty UI System
   Color: rose + warm cream + deep plum ink + rose-gold
   Type:  Noto Serif Bengali (display) · Hind Siliguri (UI/body) · Cormorant Garamond (Latin accents)
   ============================================================ */

:root {
    /* Brand — rose */
    --lb-brand: #B84A6E;
    --lb-brand-600: #A23D5E;
    --lb-brand-700: #7E2E49;
    --lb-brand-50: #FBEEF2;
    --lb-brand-100: #F6DCE5;
    --lb-grad: linear-gradient(120deg, #E58AA6 0%, #B84A6E 100%);
    --lb-grad-soft: linear-gradient(135deg, #FFF6F9 0%, #FBEEF2 100%);

    /* Rose-gold accent + plum */
    --lb-gold: #C49A5E;
    --lb-gold-soft: #F3E7D2;
    --lb-plum: #4A2138;

    /* Ink + warm neutrals */
    --lb-ink: #2E2230;
    --lb-ink-2: #4A2138;
    --lb-text: #4A4046;
    --lb-muted: #8A7E84;
    --lb-border: #EFE5E0;
    --lb-border-2: #F5EEE9;
    --lb-bg: #FBF7F4;
    --lb-bg-2: #F5EEE9;
    --lb-card: #FFFFFF;

    /* Semantic (muted, warm) */
    --lb-ok: #3E8E6E;
    --lb-ok-bg: #EAF6F0;
    --lb-warn: #C9883E;
    --lb-warn-bg: #FBF1E2;
    --lb-bad: #C0566B;
    --lb-info: #6B7BA8;
    --lb-info-bg: #EEF1F8;

    /* Type */
    --lb-font-display: 'Noto Serif Bengali', 'Hind Siliguri', Georgia, serif;
    --lb-font-bn-ui: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
    --lb-font-bn-text: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
    --lb-font-accent: 'Cormorant Garamond', Georgia, serif;
    --lb-font-en: 'Cormorant Garamond', Georgia, serif;

    /* Radius (soft, rounded) */
    --lb-r-sm: 12px;
    --lb-r:    14px;
    --lb-r-lg: 20px;
    --lb-r-xl: 26px;

    /* Shadow (soft, warm) */
    --lb-shadow-sm: 0 1px 2px rgba(74,33,56,.06);
    --lb-shadow:    0 10px 30px -16px rgba(74,33,56,.18);
    --lb-shadow-md: 0 18px 40px -22px rgba(74,33,56,.22);
    --lb-shadow-lg: 0 34px 70px -28px rgba(74,33,56,.30);
    --lb-ring:      0 0 0 3px rgba(184,74,110,.16);

    /* Spacing */
    --lb-gap: 16px;
    --lb-gap-lg: 32px;
}

/* ----- Base reset, scoped to plugin output ----- */
.lb-landing, .lb-dash, .lb-wrap { font-family: var(--lb-font-bn-text); color: var(--lb-text); -webkit-font-smoothing: antialiased; line-height: 1.55; }
.lb-landing *, .lb-dash *, .lb-wrap * { box-sizing: border-box; }
.lb-landing img, .lb-dash img { max-width: 100%; }

.lb-container { width: 100%; max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.lb-container--narrow { max-width: 760px; }

/* ===== Reusable atoms ===== */
.lb-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--lb-brand-50); color: var(--lb-brand-700);
    font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 12px; letter-spacing: .02em;
    border: 1px solid var(--lb-brand-100);
}
.lb-eyebrow .lb-icon { color: var(--lb-brand); }

.lb-pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: var(--lb-bg-2); color: var(--lb-ink-2);
    font-family: var(--lb-font-en); font-weight: 600; font-size: 12px;
}

.lb-grad {
    background: var(--lb-grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lb-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

.lb-btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 11px 18px; border-radius: var(--lb-r-sm); border: 1px solid transparent;
    font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 15px; line-height: 1;
    cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, color .15s, border-color .15s;
    text-decoration: none;
}
.lb-btn:hover { transform: translateY(-1px); }
.lb-btn:active { transform: translateY(0); }
.lb-btn:focus-visible { outline: none; box-shadow: var(--lb-ring); }
.lb-btn--sm { padding: 8px 14px; font-size: 13px; }
.lb-btn--lg { padding: 14px 22px; font-size: 16px; }
.lb-btn--block { width: 100%; }

.lb-btn--primary {
    background: var(--lb-grad);
    color: #fff;
    box-shadow: 0 6px 16px -4px rgba(200,30,94,.45);
}
.lb-btn--primary:hover { box-shadow: 0 10px 22px -6px rgba(200,30,94,.55); color: #fff; }

.lb-btn--ghost {
    background: #fff; color: var(--lb-ink-2); border-color: var(--lb-border);
}
.lb-btn--ghost:hover { background: var(--lb-bg); border-color: var(--lb-ink-2); color: var(--lb-ink); }

.lb-btn--link {
    background: transparent; color: var(--lb-muted); border: none; padding: 6px 0;
    font-weight: 500; font-size: 13px;
}
.lb-btn--link:hover { color: var(--lb-brand); transform: none; }

/* ============================================================
   TOP BAR
   ============================================================ */
.lb-topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--lb-border-2);
}
.lb-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 20px; }
.lb-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--lb-ink); }
.lb-brand__mark {
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--lb-grad); color: #fff; border-radius: 9px; box-shadow: var(--lb-shadow);
}
.lb-brand__name { font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.lb-topbar__nav { display: flex; gap: 22px; }
.lb-topbar__nav a {
    font-family: var(--lb-font-bn-ui); font-size: 14px; color: var(--lb-text);
    text-decoration: none; padding: 6px 0; position: relative;
}
.lb-topbar__nav a:hover { color: var(--lb-brand); }
@media (max-width: 768px) { .lb-topbar__nav { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.lb-hero {
    padding: 60px 0 80px;
    background:
        radial-gradient(60% 40% at 12% 0%, rgba(255,79,136,.10) 0%, transparent 60%),
        radial-gradient(40% 30% at 100% 10%, rgba(36,12,80,.08) 0%, transparent 60%),
        var(--lb-bg);
}
.lb-hero__grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.lb-hero__copy h1 {
    font-family: var(--lb-font-bn-ui); font-weight: 700;
    font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.02em;
    color: var(--lb-ink); margin: 16px 0 18px;
}
.lb-hero__sub {
    font-size: 17px; color: var(--lb-text); max-width: 540px; margin: 0 0 26px;
}
.lb-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lb-hero__headline span.lb-grad { padding-right: 4px; }

.lb-trust { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: var(--lb-muted); font-size: 13px; }
.lb-trust strong { color: var(--lb-ink); font-family: var(--lb-font-en); }
.lb-trust__avatars { display: inline-flex; }
.lb-trust__avatars span {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff;
    background: linear-gradient(135deg, #FFD0A4, #FF6F91);
    display: inline-block;
}
.lb-trust__avatars span + span { margin-left: -10px; }
.lb-trust__avatars span:nth-child(2) { background: linear-gradient(135deg, #A8E6CF, #4FC3F7); }
.lb-trust__avatars span:nth-child(3) { background: linear-gradient(135deg, #FFD180, #C81E5E); }
.lb-trust__avatars span:nth-child(4) { background: linear-gradient(135deg, #B388FF, #6C63FF); }

/* Hero mock device */
.lb-hero__visual { position: relative; }
.lb-heromock {
    background: #fff; border-radius: var(--lb-r-xl); border: 1px solid var(--lb-border);
    box-shadow: var(--lb-shadow-lg);
    overflow: hidden;
    transform: rotate(-1.5deg);
}
.lb-heromock__bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px; background: var(--lb-bg-2); border-bottom: 1px solid var(--lb-border-2);
}
.lb-heromock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6dae3; display: inline-block; }
.lb-heromock__bar span:nth-child(1) { background: #ff6259; }
.lb-heromock__bar span:nth-child(2) { background: #ffbd2e; }
.lb-heromock__bar span:nth-child(3) { background: #2cca3f; }
.lb-heromock__bar small { margin-left: auto; font-family: var(--lb-font-en); color: var(--lb-muted); font-size: 11px; }
.lb-heromock__body { padding: 22px 22px 18px; }
.lb-heromock__pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: var(--lb-brand-50); color: var(--lb-brand-700);
    font-size: 11px; font-weight: 600; margin-bottom: 14px;
}
.lb-heromock__q { font-size: 16px; font-weight: 600; color: var(--lb-ink); margin: 0 0 14px; line-height: 1.4; }
.lb-heromock__opts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.lb-heromock__opts li {
    border: 1px solid var(--lb-border); border-radius: var(--lb-r-sm); padding: 10px 14px; font-size: 14px;
    color: var(--lb-text);
}
.lb-heromock__opts li.is-pick {
    border-color: var(--lb-brand); background: var(--lb-brand-50); color: var(--lb-brand-700); font-weight: 600;
    box-shadow: 0 0 0 3px rgba(200,30,94,.10);
}
.lb-heromock__foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--lb-muted); }
.lb-heromock__time { display: inline-flex; align-items: center; gap: 4px; font-family: var(--lb-font-en); font-variant-numeric: tabular-nums; }
.lb-heromock__btn { color: var(--lb-brand); font-weight: 600; }

.lb-floater {
    position: absolute; padding: 8px 14px; border-radius: 999px;
    background: #fff; box-shadow: var(--lb-shadow-md); display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--lb-ink-2);
    border: 1px solid var(--lb-border-2);
}
.lb-floater .lb-icon { color: var(--lb-brand); }
.lb-floater--1 { top: 8%; left: -16px; animation: lb-float 6s ease-in-out infinite; }
.lb-floater--2 { bottom: 12%; right: -10px; animation: lb-float 7s ease-in-out infinite reverse; }

@keyframes lb-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .lb-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .lb-hero { padding: 36px 0 60px; }
    .lb-mock { transform: none; }
    .lb-floater--1 { top: -10px; left: 8px; }
    .lb-floater--2 { bottom: -10px; right: 8px; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.lb-stripstats {
    padding: 22px 0; background: var(--lb-ink); color: #fff;
}
.lb-stripstats__row {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; text-align: center;
}
.lb-stripstats__row > div { display: flex; flex-direction: column; gap: 2px; }
.lb-stripstats__row strong { font-family: var(--lb-font-en); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.lb-stripstats__row span { font-size: 12px; color: rgba(255,255,255,.66); }

@media (max-width: 700px) { .lb-stripstats__row { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 8px 0; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.lb-section { padding: 80px 0; }
.lb-section--alt { background: var(--lb-bg-2); }
.lb-section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lb-section__head h2 {
    font-family: var(--lb-font-bn-ui); font-weight: 700;
    font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; color: var(--lb-ink);
    letter-spacing: -.015em; margin: 12px 0 8px;
}
.lb-section__head p { color: var(--lb-muted); font-size: 16px; margin: 0; }

@media (max-width: 700px) { .lb-section { padding: 56px 0; } .lb-section__head { margin-bottom: 28px; } }

/* Features grid */
.lb-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.lb-feature {
    background: var(--lb-card); border: 1px solid var(--lb-border-2);
    border-radius: var(--lb-r-lg); padding: 24px;
    transition: transform .15s, box-shadow .2s, border-color .15s;
}
.lb-feature:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow); border-color: var(--lb-brand-100); }
.lb-feature__icon {
    width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--lb-brand-50); color: var(--lb-brand-700); border-radius: 12px; margin-bottom: 14px;
}
.lb-feature h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 17px; color: var(--lb-ink); margin: 0 0 6px; }
.lb-feature p { font-size: 14.5px; color: var(--lb-muted); margin: 0; line-height: 1.55; }

@media (max-width: 900px) { .lb-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lb-features { grid-template-columns: 1fr; } }

/* Exam cards */
.lb-exams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lb-exam {
    background: var(--lb-card); border: 1px solid var(--lb-border-2);
    border-radius: var(--lb-r-lg); padding: 22px;
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .15s, box-shadow .2s, border-color .15s;
}
.lb-exam:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow); border-color: var(--lb-brand-100); }
.lb-exam header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lb-exam h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 18px; margin: 0; color: var(--lb-ink); }
.lb-exam p { color: var(--lb-muted); font-size: 14px; margin: 0; flex: 1; }
.lb-exam__cta { display: inline-flex; align-items: center; gap: 4px; color: var(--lb-brand); font-weight: 600; font-size: 14px; text-decoration: none; }
.lb-exam__cta:hover { gap: 8px; transition: gap .15s; }
@media (max-width: 900px) { .lb-exams { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lb-exams { grid-template-columns: 1fr; } }

/* Steps */
.lb-steps {
    list-style: none; counter-reset: lb-step;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    padding: 0; margin: 0;
}
.lb-steps li {
    background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 26px 22px; position: relative;
}
.lb-steps__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--lb-grad); color: #fff;
    font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 16px;
    margin-bottom: 12px; box-shadow: 0 4px 12px -4px rgba(200,30,94,.5);
}
.lb-steps li h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 18px; color: var(--lb-ink); margin: 0 0 6px; }
.lb-steps li p { color: var(--lb-muted); margin: 0; font-size: 14.5px; }
@media (max-width: 800px) { .lb-steps { grid-template-columns: 1fr; } }

/* CTA / Login */
.lb-section--cta {
    background: linear-gradient(180deg, var(--lb-bg) 0%, var(--lb-card) 100%);
}
.lb-cta__grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.lb-cta__copy h2 { font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); color: var(--lb-ink); margin: 0 0 12px; letter-spacing: -.015em; }
.lb-cta__copy p { color: var(--lb-text); font-size: 17px; margin: 0 0 22px; }
.lb-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lb-checklist li { display: flex; align-items: center; gap: 8px; color: var(--lb-text); font-size: 15px; }
.lb-checklist .lb-icon { color: var(--lb-ok); flex-shrink: 0; }

@media (max-width: 900px) { .lb-cta__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Login card */
.lb-login-card {
    background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-xl);
    padding: 28px; box-shadow: var(--lb-shadow-md);
}
.lb-login-card__head h3 { font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 22px; margin: 0 0 4px; color: var(--lb-ink); }
.lb-login-card__head p { color: var(--lb-muted); margin: 0 0 16px; font-size: 14px; }
.lb-login-card__foot { display: flex; align-items: center; gap: 6px; color: var(--lb-muted); font-size: 12.5px; margin: 16px 0 0; }
.lb-login-card__foot .lb-icon { color: var(--lb-ok); }

.lb-demo-banner {
    background: var(--lb-warn-bg); border: 1px solid #FCD34D; padding: 10px 12px; border-radius: 10px;
    color: #78350F; font-size: 13px; margin-bottom: 16px;
}
.lb-demo-banner code { background: rgba(0,0,0,.08); padding: 2px 6px; border-radius: 4px; font-weight: 700; font-family: var(--lb-font-en); }

/* Inputs */
.lb-label { display: block; font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 13px; color: var(--lb-ink-2); margin: 14px 0 6px; }
.lb-label small { font-weight: 400; color: var(--lb-muted); }

.lb-input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--lb-border); border-radius: var(--lb-r-sm);
    font-family: var(--lb-font-bn-text); font-size: 15px; line-height: 1.4; color: var(--lb-ink);
    background: #fff; transition: border-color .15s, box-shadow .15s;
}
.lb-input:focus { outline: none; border-color: var(--lb-brand); box-shadow: var(--lb-ring); }
.lb-input--otp { font-family: var(--lb-font-en); font-size: 22px; letter-spacing: 8px; text-align: center; font-weight: 700; }

.lb-input-prefix {
    display: flex; align-items: stretch; border: 1px solid var(--lb-border); border-radius: var(--lb-r-sm);
    overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.lb-input-prefix:focus-within { border-color: var(--lb-brand); box-shadow: var(--lb-ring); }
.lb-input-prefix span {
    display: inline-flex; align-items: center; padding: 0 12px; background: var(--lb-bg-2);
    color: var(--lb-muted); font-family: var(--lb-font-en); font-size: 14px; border-right: 1px solid var(--lb-border);
}
.lb-input-prefix .lb-input { border: none; box-shadow: none !important; border-radius: 0; }

/* Spacing between input and the action button inside login/OTP flow */
.lb-step .lb-input-prefix + .lb-btn,
.lb-step .lb-input + .lb-btn,
.lb-step .lb-input--otp + .lb-btn { margin-top: 14px; }

.lb-otp-info { background: var(--lb-info-bg); border-left: 3px solid var(--lb-info); padding: 8px 12px; border-radius: 4px; font-size: 13.5px; margin: 0 0 10px; color: #1E3A8A; }
/* Welcome-back banner shown on the OTP step for returning subscribers. */
.lb-login-card .lb-welcome-back {
    background: var(--lb-grad-soft);
    color: var(--lb-brand-700);
    border: 1px solid var(--lb-brand-100);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 12px;
    font-family: var(--lb-font-bn-ui);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.4;
    text-align: center;
}
.lb-msg { margin-top: 12px; min-height: 20px; font-size: 14px; }
.lb-msg.is-err { color: var(--lb-bad); }
.lb-msg.is-ok { color: var(--lb-ok); }

/* Quotes */
.lb-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lb-quote {
    background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 24px; margin: 0; position: relative;
}
.lb-quote::before {
    content: '"'; position: absolute; top: 8px; left: 16px;
    font-family: var(--lb-font-en); font-size: 56px; line-height: 1; color: var(--lb-brand-100);
}
.lb-quote blockquote { margin: 18px 0 14px; font-size: 15px; color: var(--lb-text); line-height: 1.6; }
.lb-quote figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--lb-border-2); }
.lb-quote figcaption strong { font-family: var(--lb-font-bn-ui); color: var(--lb-ink); font-size: 14px; font-weight: 600; }
.lb-quote figcaption span { color: var(--lb-muted); font-size: 12.5px; }
@media (max-width: 900px) { .lb-quotes { grid-template-columns: 1fr; } }

/* FAQ */
.lb-faq { display: flex; flex-direction: column; gap: 10px; }
.lb-faq__item {
    background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r);
    padding: 0; overflow: hidden;
}
.lb-faq__item summary {
    list-style: none; cursor: pointer;
    padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 15.5px; color: var(--lb-ink);
}
.lb-faq__item summary::-webkit-details-marker { display: none; }
.lb-faq__chev { color: var(--lb-muted); transition: transform .2s; display: inline-flex; }
.lb-faq__item[open] .lb-faq__chev { transform: rotate(45deg); color: var(--lb-brand); }
.lb-faq__item p { padding: 0 20px 18px; margin: 0; color: var(--lb-text); font-size: 14.5px; line-height: 1.65; }

/* Footer CTA */
.lb-footer-cta {
    padding: 64px 0; text-align: center;
    background: var(--lb-grad); color: #fff;
    position: relative; overflow: hidden;
}
.lb-footer-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,.18) 0%, transparent 60%);
    pointer-events: none;
}
.lb-footer-cta__inner { position: relative; }
.lb-footer-cta h2 { font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 8px; color: #fff; letter-spacing: -.015em; }
.lb-footer-cta p { color: rgba(255,255,255,.85); font-size: 16px; margin: 0 0 22px; }
.lb-footer-cta .lb-btn--primary {
    background: #fff; color: var(--lb-brand-700);
    box-shadow: 0 10px 30px -8px rgba(0,0,0,.25);
}
.lb-footer-cta .lb-btn--primary:hover { color: var(--lb-brand-700); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.lb-dash { padding: 36px 0 80px; background: var(--lb-bg); min-height: 70vh; }
.lb-dash__hero {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.lb-dash__hero h1 {
    font-family: var(--lb-font-bn-ui); font-weight: 700;
    font-size: clamp(24px, 3vw, 32px); color: var(--lb-ink);
    margin: 8px 0 4px; letter-spacing: -.015em;
}
.lb-dash__hero p { color: var(--lb-muted); margin: 0; font-size: 14.5px; }
.lb-dash__hero code { font-family: var(--lb-font-en); background: var(--lb-bg-2); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }

.lb-banner {
    display: flex; align-items: center; gap: 14px; padding: 14px 18px;
    border-radius: var(--lb-r); margin-bottom: 20px;
    background: var(--lb-warn-bg); border: 1px solid #FCD34D; color: #78350F;
    font-size: 14.5px;
}
.lb-banner__icon {
    width: 36px; height: 36px; border-radius: 10px; background: rgba(217,119,6,.15);
    display: inline-flex; align-items: center; justify-content: center; color: var(--lb-warn);
    flex-shrink: 0;
}
.lb-banner div { flex: 1; }
.lb-banner strong { color: #78350F; }

.lb-dash__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin-bottom: 24px;
}
.lb-statcard {
    background: var(--lb-card); border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 18px; display: flex; flex-direction: column; gap: 4px;
    transition: transform .15s, box-shadow .15s;
}
.lb-statcard:hover { transform: translateY(-2px); box-shadow: var(--lb-shadow); }
.lb-statcard__icon {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--lb-brand-50); color: var(--lb-brand-700); border-radius: 10px; margin-bottom: 6px;
}
.lb-statcard__num { font-family: var(--lb-font-en); font-size: 26px; font-weight: 700; color: var(--lb-ink); letter-spacing: -.02em; }
.lb-statcard__lbl { color: var(--lb-muted); font-size: 12.5px; }

@media (max-width: 700px) { .lb-dash__stats { grid-template-columns: repeat(2, 1fr); } }

.lb-dash__streak {
    background: var(--lb-card); border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 18px 20px; margin-bottom: 24px;
}
.lb-dash__streak header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lb-dash__streak h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 14px; color: var(--lb-ink); margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.lb-dash__streak h3 .lb-icon { color: var(--lb-brand); }
.lb-dash__streak header span { font-size: 12.5px; color: var(--lb-muted); }
.lb-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-dot {
    width: 24px; height: 24px; border-radius: 6px; background: var(--lb-bg-2);
    border: 1px solid var(--lb-border-2);
}
.lb-dot.is-on { background: var(--lb-brand); border-color: var(--lb-brand); box-shadow: 0 2px 6px -2px rgba(200,30,94,.5); }

.lb-dash__cards {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.lb-actioncard {
    background: var(--lb-card); border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 20px; display: flex; flex-direction: column; gap: 6px;
    text-decoration: none; color: var(--lb-ink);
    transition: transform .15s, box-shadow .2s, border-color .15s;
    position: relative; overflow: hidden;
}
.lb-actioncard::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(200,30,94,.04) 100%);
    opacity: 0; transition: opacity .2s;
    pointer-events: none;
}
.lb-actioncard:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow); border-color: var(--lb-brand-100); color: var(--lb-ink); }
.lb-actioncard:hover::after { opacity: 1; }
.lb-actioncard__icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--lb-brand-50); color: var(--lb-brand-700);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.lb-actioncard h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 16px; margin: 0; color: var(--lb-ink); }
.lb-actioncard p { color: var(--lb-muted); font-size: 13.5px; margin: 0 0 10px; flex: 1; }
.lb-actioncard__cta { display: inline-flex; align-items: center; gap: 4px; color: var(--lb-brand); font-weight: 600; font-size: 13.5px; }

.lb-actioncard--primary { background: linear-gradient(135deg, #FFF7FA 0%, #FDF2F7 100%); border-color: var(--lb-brand-100); }
.lb-actioncard--primary .lb-actioncard__icon { background: var(--lb-brand); color: #fff; }
.lb-actioncard.is-done .lb-actioncard__icon { background: var(--lb-ok-bg); color: var(--lb-ok); }
.lb-actioncard.is-done { background: #fff; border-color: #BBF7D0; }

@media (max-width: 900px) { .lb-dash__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lb-dash__cards { grid-template-columns: 1fr; } }

/* ============================================================
   QUIZ ENGINE (kept compatible)
   ============================================================ */
.lb-wrap { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.lb-card { background: var(--lb-card); border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); padding: 24px; box-shadow: var(--lb-shadow-sm); }
.lb-card--narrow { max-width: 440px; margin: 40px auto; }
.lb-card--warn { border-color: #FCD34D; background: var(--lb-warn-bg); }
.lb-title { margin: 0 0 8px; font-family: var(--lb-font-bn-ui); font-size: 24px; font-weight: 700; color: var(--lb-ink); letter-spacing: -.015em; }
.lb-subtitle { margin: 0 0 20px; color: var(--lb-muted); font-size: 14px; }

.lb-quiz__intro, .lb-practice__intro { text-align: center; padding: 30px 20px; }
.lb-quiz__shell { padding: 16px 0; }
.lb-q { background: var(--lb-card); border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg); padding: 22px; margin-bottom: 14px; }
.lb-q__num { font-size: 12px; color: var(--lb-muted); margin-bottom: 6px; font-family: var(--lb-font-en); }
.lb-q__text { font-family: var(--lb-font-bn-ui); font-size: 16.5px; font-weight: 600; margin: 0 0 14px; color: var(--lb-ink); line-height: 1.5; }
.lb-q__img { margin: 0 0 14px; }
.lb-q__img img { max-width: 100%; height: auto; border: 1px solid var(--lb-border); border-radius: var(--lb-r-sm); display: block; }
.lb-q__opts { display: grid; gap: 8px; }
.lb-q__opt {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    border: 1px solid var(--lb-border); border-radius: var(--lb-r-sm); cursor: pointer;
    transition: all .12s;
}
.lb-q__opt:hover { border-color: var(--lb-brand); background: var(--lb-brand-50); }
.lb-q__opt.is-selected { border-color: var(--lb-brand); background: var(--lb-brand-50); font-weight: 600; box-shadow: 0 0 0 3px rgba(200,30,94,.10); }
.lb-q__opt input { margin: 0; accent-color: var(--lb-brand); }
.lb-q__opt.is-correct { border-color: #86EFAC; background: var(--lb-ok-bg); }
.lb-q__opt.is-wrong { border-color: #FECACA; background: #FEF2F2; }
.lb-q__expl { margin-top: 10px; padding: 12px 14px; background: var(--lb-bg-2); border-radius: var(--lb-r-sm); font-size: 14px; color: var(--lb-text); border-left: 3px solid var(--lb-info); }

.lb-quiz__bar {
    position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--lb-border-2);
    padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
    margin: -16px -16px 16px; z-index: 5; border-radius: var(--lb-r-lg) var(--lb-r-lg) 0 0;
}
.lb-quiz__timer { font-family: var(--lb-font-en); font-weight: 700; color: var(--lb-brand); font-variant-numeric: tabular-nums; font-size: 18px; }
.lb-quiz__progress { color: var(--lb-muted); font-size: 14px; }

.lb-result { text-align: center; padding: 30px 20px; }
.lb-result__big { font-family: var(--lb-font-en); font-size: 64px; font-weight: 800; color: var(--lb-brand); margin: 8px 0; letter-spacing: -.03em; }

.lb-form { max-width: 420px; margin: 20px auto 0; text-align: left; }

/* Tables */
.lb-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); overflow: hidden; margin-top: 16px; }
.lb-table th, .lb-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--lb-border-2); font-size: 14px; }
.lb-table th { background: var(--lb-bg-2); font-family: var(--lb-font-bn-ui); font-weight: 600; color: var(--lb-ink); }
.lb-table tr:last-child td { border-bottom: none; }
.lb-table .lb-row-me { background: var(--lb-brand-50); font-weight: 600; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .lb-floater { animation: none; }
}


/* ============================================================
   APP SHELL safety resets — neutralize host theme styles
   that leak through (Divi, Astra, etc.)
   ============================================================ */
body.lb-shell { background: var(--lb-bg) !important; }
body.lb-shell #page, body.lb-shell #content, body.lb-shell .container,
body.lb-shell .et_pb_section, body.lb-shell .entry-content,
body.lb-shell #main-content, body.lb-shell #main { all: unset; display: block; }
body.lb-shell .lb-landing,
body.lb-shell .lb-dash { display: block; width: 100%; }

/* ============================================================
   COMING SOON exam cards
   ============================================================ */
.lb-section__sub { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--lb-muted); margin: 0 0 16px; }
.lb-exam--featured { background: linear-gradient(180deg, #fff 0%, var(--lb-brand-50) 100%); border-color: var(--lb-brand-100); }
.lb-exam--featured h3 { color: var(--lb-brand-700); font-size: 22px; }
.lb-exam__bullets { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 6px; }
.lb-exam__bullets li { display: flex; align-items: center; gap: 6px; color: var(--lb-text); font-size: 13.5px; }
.lb-exam__bullets .lb-icon { color: var(--lb-ok); }
.lb-pill--brand { background: var(--lb-brand); color: #fff; }
.lb-pill--soon { background: #FEF3C7; color: #78350F; display: inline-flex; align-items: center; gap: 4px; }

.lb-exams--soon { opacity: .75; }
.lb-exam--soon { background: #FAFAFB; cursor: not-allowed; }
.lb-exam--soon:hover { transform: none; box-shadow: none; border-color: var(--lb-border-2); }
.lb-exam__locked { display: inline-flex; align-items: center; gap: 6px; color: var(--lb-muted); font-size: 13px; font-weight: 500; margin-top: auto; padding-top: 8px; }
.lb-exam__locked .lb-icon { color: #D97706; }
.lb-soon-note { text-align: center; color: var(--lb-muted); font-size: 14px; margin: 20px 0 0; }
.lb-soon-note a { color: var(--lb-brand); font-weight: 600; }

/* ============================================================
   DASHBOARD v2 — sections + tip grid + mock cards
   ============================================================ */
.lb-dash__sectionhead { margin: 32px 0 12px; font-family: var(--lb-font-bn-ui); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--lb-muted); }
.lb-dash__cards--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .lb-dash__cards--two { grid-template-columns: 1fr; } }
.lb-actioncard--big { padding: 28px; }
.lb-actioncard--big h3 { font-size: 19px; }
.lb-actioncard--big p { font-size: 14.5px; line-height: 1.55; }
.lb-actioncard--soon { background: #FAFAFB; cursor: not-allowed; opacity: .8; }
.lb-actioncard--soon .lb-actioncard__icon { background: #F3F4F6; color: var(--lb-muted); }
.lb-actioncard--soon .lb-actioncard__cta { color: var(--lb-warn); background: #FEF3C7; padding: 4px 10px; border-radius: 999px; font-size: 12px; }

.lb-tipgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 760px) { .lb-tipgrid { grid-template-columns: 1fr; } }
.lb-tip { display: flex; gap: 12px; background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg); padding: 14px 16px; }
.lb-tip__icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--lb-brand-50); color: var(--lb-brand-700); display: inline-flex; align-items: center; justify-content: center; }
.lb-tip strong { font-family: var(--lb-font-bn-ui); font-weight: 600; color: var(--lb-ink); display: block; margin-bottom: 2px; font-size: 14.5px; }
.lb-tip p { margin: 0; color: var(--lb-text); font-size: 13.5px; line-height: 1.5; }

.lb-banner--info { background: var(--lb-info-bg); border-color: #93C5FD; color: #1E3A8A; }
.lb-banner--info .lb-banner__icon { background: rgba(37,99,235,.15); color: var(--lb-info); }

/* ============================================================
   MOCK TEST UI
   ============================================================ */
.lb-heromock { padding: 30px 16px; }
.lb-mock__intro { text-align: center; max-width: 720px; margin: 0 auto; }
.lb-mock__warn {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--lb-warn-bg); border: 1px solid #FCD34D; padding: 12px 16px; border-radius: var(--lb-r); color: #78350F;
    font-size: 14px; margin: 18px auto; max-width: 600px; text-align: left;
}
.lb-mock__warn-icon { color: var(--lb-warn); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(217,119,6,.12); border-radius: 8px; flex-shrink: 0; }
.lb-mock__warn code { background: rgba(0,0,0,.08); padding: 2px 6px; border-radius: 4px; font-family: var(--lb-font-en); font-weight: 600; }
.lb-mock__h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; color: var(--lb-ink); font-size: 16px; margin: 18px 0 12px; }
.lb-mock__presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; max-width: 720px; margin: 0 auto; }
.lb-mock__preset {
    background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r);
    padding: 16px 12px; cursor: pointer; transition: all .15s; text-align: center;
    font-family: var(--lb-font-bn-text);
}
.lb-mock__preset:hover { border-color: var(--lb-brand); transform: translateY(-2px); box-shadow: var(--lb-shadow); }
.lb-mock__preset strong { display: block; color: var(--lb-ink); font-size: 14.5px; margin-bottom: 4px; }
.lb-mock__preset span { color: var(--lb-muted); font-size: 12.5px; font-family: var(--lb-font-en); }
.lb-mock__hint { color: var(--lb-muted); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }

/* Result page enhancements */
.lb-result__metrics {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px;
    max-width: 700px; margin: 20px auto;
}
.lb-result__metric { background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r); padding: 14px; text-align: center; }
.lb-result__metric .num { font-family: var(--lb-font-en); font-size: 22px; font-weight: 700; color: var(--lb-ink); display: block; }
.lb-result__metric .lbl { color: var(--lb-muted); font-size: 12px; }
.lb-result__metric--ok .num { color: var(--lb-ok); }
.lb-result__metric--bad .num { color: var(--lb-bad); }
.lb-result__metric--neg .num { color: var(--lb-warn); }

.lb-subjects { max-width: 760px; margin: 24px auto; }
.lb-subjects h3 { font-family: var(--lb-font-bn-ui); font-size: 16px; color: var(--lb-ink); margin: 0 0 12px; text-align: left; }
/* Fixed columns so the bars + numbers line up across every row regardless of
   subject-name length (a long name no longer pushes its bar to the right). */
.lb-subject {
    display: grid; grid-template-columns: 200px 1fr 96px auto; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r); padding: 12px 16px;
    margin-bottom: 8px;
}
.lb-subject__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--lb-font-bn-ui); font-weight: 600; color: var(--lb-ink); font-size: 14px; text-align: left; }
.lb-subject__bar { height: 8px; background: #EFF1F5; border-radius: 999px; overflow: hidden; position: relative; }
.lb-subject__bar > span { display: block; height: 100%; background: var(--lb-brand); border-radius: 999px; transition: width .6s ease; }
.lb-subject--strong .lb-subject__bar > span { background: var(--lb-ok); }
.lb-subject--weak .lb-subject__bar > span { background: var(--lb-bad); }
.lb-subject__num { text-align: right; font-family: var(--lb-font-en); font-weight: 600; color: var(--lb-ink); font-size: 13.5px; }
.lb-subject__label { justify-self: start; white-space: nowrap; font-family: var(--lb-font-bn-ui); font-size: 11.5px; padding: 2px 8px; border-radius: 999px; }
.lb-subject--strong .lb-subject__label { background: var(--lb-ok-bg); color: var(--lb-ok); }
.lb-subject--mid .lb-subject__label    { background: #FEF3C7; color: #78350F; }
.lb-subject--weak .lb-subject__label   { background: #FEE2E2; color: #991B1B; }
@media (max-width: 600px) {
    .lb-subject { grid-template-columns: 110px 1fr auto; gap: 8px; padding: 10px 12px; }
    .lb-subject__label { display: none; }
}

/* ============================================================
   MY EXAMS / HISTORY PAGE
   ============================================================ */
.lb-history { padding: 24px 16px 60px; }
.lb-history__h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 16px; color: var(--lb-ink); margin: 24px 0 12px; }

/* Time period tabs */
.lb-tabs { display: inline-flex; gap: 4px; background: var(--lb-bg-2); padding: 4px; border-radius: 999px; margin: 12px 0 18px; flex-wrap: wrap; }
.lb-tab { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--lb-muted); font-size: 13.5px; font-family: var(--lb-font-bn-ui); font-weight: 500; transition: all .15s; }
.lb-tab:hover { color: var(--lb-ink); }
.lb-tab.is-active { background: #fff; color: var(--lb-ink); box-shadow: var(--lb-shadow-sm); font-weight: 600; }

.lb-history__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 700px) { .lb-history__stats { grid-template-columns: repeat(2, 1fr); } }

.lb-history__modes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 8px; }
.lb-history__modes > span { color: var(--lb-muted); font-size: 13px; }
.lb-pill-link { padding: 4px 12px; border-radius: 999px; background: var(--lb-bg-2); color: var(--lb-text); font-size: 13px; text-decoration: none; transition: all .15s; }
.lb-pill-link:hover { background: var(--lb-brand-50); color: var(--lb-brand-700); }
.lb-pill-link.is-active { background: var(--lb-brand); color: #fff; font-weight: 600; }
.lb-pill-link.is-active:hover { background: var(--lb-brand-700); color: #fff; }

/* Attempts list */
.lb-attempts { display: flex; flex-direction: column; gap: 8px; }
.lb-attempt {
    display: grid; grid-template-columns: 90px 1fr auto auto; gap: 14px; align-items: center;
    background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg);
    padding: 12px 16px; text-decoration: none; color: var(--lb-ink);
    transition: all .15s;
}
.lb-attempt:hover { border-color: var(--lb-brand-100); background: var(--lb-brand-50); transform: translateX(4px); color: var(--lb-ink); }
.lb-attempt__date { font-family: var(--lb-font-en); font-size: 14px; font-weight: 600; color: var(--lb-ink); }
.lb-attempt__date span { display: block; font-size: 11px; font-weight: 400; color: var(--lb-muted); }
/* Fixed columns so the mode badge, score and percentage line up across every
   row instead of shifting with the (variable-width) mode badge. */
.lb-attempt__main { display: grid; grid-template-columns: 96px 72px auto; align-items: center; gap: 12px; }
.lb-attempt__main strong { font-family: var(--lb-font-en); font-size: 16px; color: var(--lb-ink); }
.lb-attempt__mode {
    justify-self: start;
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-family: var(--lb-font-bn-ui); font-size: 11.5px; font-weight: 600;
}
.lb-attempt__mode.mode-daily   { background: var(--lb-info-bg); color: var(--lb-info); }
.lb-attempt__mode.mode-mock    { background: var(--lb-brand-50); color: var(--lb-brand-700); }
.lb-attempt__mode.mode-practice{ background: var(--lb-bg-2); color: var(--lb-muted); }
.lb-attempt__pct { justify-self: start; font-family: var(--lb-font-en); font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.lb-attempt__pct.is-strong { background: var(--lb-ok-bg); color: var(--lb-ok); }
.lb-attempt__pct.is-mid    { background: #FEF3C7; color: #78350F; }
.lb-attempt__pct.is-weak   { background: #FEE2E2; color: #991B1B; }
.lb-attempt__time { font-family: var(--lb-font-en); font-size: 13px; color: var(--lb-muted); }
.lb-attempt__chev { color: var(--lb-muted); display: inline-flex; }
@media (max-width: 600px) {
    .lb-attempt { grid-template-columns: 70px 1fr auto; gap: 8px; padding: 10px 12px; }
    .lb-attempt__time { display: none; }
    .lb-attempt__main { grid-template-columns: 84px 56px auto; gap: 8px; }
}

.lb-detail .lb-q { background: #fff; }


/* Source/year badge for past-paper attribution */
.lb-source-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; margin-left: 8px; border-radius: 999px; background: var(--lb-brand-50); color: var(--lb-brand-700); font-family: var(--lb-font-bn-ui); font-size: 11px; font-weight: 600; vertical-align: middle; }
.lb-source-badge .lb-icon { color: var(--lb-brand-700); }

/* ============================================================
   SIDEBAR NAV (logged-in app pages)
   ============================================================ */
.lb-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 240px; z-index: 30;
    background: #fff; border-right: 1px solid var(--lb-border-2);
    display: flex; flex-direction: column;
    transition: transform .25s ease;
}
.lb-sidebar__brand {
    display: flex; align-items: center; gap: 10px;
    padding: 20px 18px 16px; text-decoration: none; color: var(--lb-ink);
    border-bottom: 1px solid var(--lb-border-2);
}
.lb-sidebar__brand .lb-brand__mark {
    width: 32px; height: 32px; border-radius: 9px; background: var(--lb-grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--lb-shadow);
}
.lb-sidebar__brandname { font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 16px; }

.lb-sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 12px 18px; border-bottom: 1px solid var(--lb-border-2); }
.lb-sidebar__head .lb-sidebar__brand { padding: 0; border: none; flex: 1; }
.lb-sidebar__close {
    background: transparent; border: 1px solid var(--lb-border); padding: 6px; border-radius: 8px;
    color: var(--lb-muted); cursor: pointer; display: none !important; align-items: center; justify-content: center;
}
.lb-sidebar__close:hover { color: var(--lb-bad); border-color: var(--lb-bad); }
@media (max-width: 900px) { .lb-sidebar__close { display: inline-flex !important; } }

.lb-sidebar__nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.lb-sidebar__item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
    text-decoration: none; color: var(--lb-text); font-size: 14px;
    font-family: var(--lb-font-bn-ui); font-weight: 500; transition: all .12s;
}
.lb-sidebar__item:hover { background: var(--lb-bg); color: var(--lb-ink); }
.lb-sidebar__item.is-active { background: var(--lb-brand-50); color: var(--lb-brand-700); font-weight: 600; }
.lb-sidebar__item.is-active .lb-sidebar__ic { color: var(--lb-brand); }
.lb-sidebar__ic { display: inline-flex; color: var(--lb-muted); }
.lb-sidebar__user {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    border-top: 1px solid var(--lb-border-2);
}
.lb-sidebar__avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--lb-grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 16px;
    flex-shrink: 0; text-transform: uppercase;
}
.lb-sidebar__userinfo { flex: 1; min-width: 0; }
.lb-sidebar__userinfo strong { display: block; font-size: 13px; color: var(--lb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sidebar__userinfo small { color: var(--lb-muted); font-size: 11.5px; font-family: var(--lb-font-en); }
.lb-sidebar__logout {
    background: transparent; border: 1px solid var(--lb-border); padding: 6px 8px; border-radius: 8px;
    color: var(--lb-muted); cursor: pointer; transition: all .12s;
}
.lb-sidebar__logout:hover { color: var(--lb-bad); border-color: var(--lb-bad); }

/* Mobile toggle */
.lb-sidebar__toggle {
    display: none; position: fixed; top: 14px; left: 14px; z-index: 40;
    width: 42px; height: 42px; border-radius: 10px; background: #fff;
    border: 1px solid var(--lb-border); box-shadow: var(--lb-shadow);
    color: var(--lb-ink); cursor: pointer;
    align-items: center; justify-content: center;
}
.lb-sidebar__overlay {
    display: none; position: fixed; inset: 0; background: rgba(15,18,30,.45); z-index: 25;
}

/* Main shifted right when sidebar is on */
body.lb-has-sidebar .lb-app-main--with-sidebar { padding-left: 240px; min-height: 100vh; }

@media (max-width: 900px) {
    .lb-sidebar { transform: translateX(-100%); box-shadow: var(--lb-shadow-lg); }
    body.lb-sidebar-open .lb-sidebar { transform: translateX(0); }
    body.lb-sidebar-open .lb-sidebar__overlay { display: block; }
    .lb-sidebar__toggle { display: inline-flex; }
    body.lb-has-sidebar .lb-app-main--with-sidebar { padding-left: 0; padding-top: 60px; }
}

/* ============================================================
   WELCOME-BACK card on landing
   ============================================================ */
.lb-welcome .lb-welcome__msg { color: var(--lb-text); margin: 0 0 16px; font-size: 14.5px; }
.lb-welcome code { background: var(--lb-bg-2); padding: 2px 6px; border-radius: 4px; font-family: var(--lb-font-en); font-size: 12.5px; }

/* ============================================================
   FLOATING TIMER + PROGRESS BAR (during quiz)
   ============================================================ */
.lb-floating-timer {
    position: fixed; top: 16px; right: 16px; z-index: 50;
    background: #fff; border: 1px solid var(--lb-border); border-radius: 14px;
    box-shadow: var(--lb-shadow-lg);
    padding: 12px 16px; min-width: 180px; max-width: 260px;
    display: flex; flex-direction: column; gap: 6px;
}
.lb-floating-timer__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lb-floating-timer__time { font-family: var(--lb-font-en); font-weight: 700; font-size: 22px; color: var(--lb-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.lb-floating-timer__lbl { color: var(--lb-muted); font-size: 11.5px; }
.lb-floating-timer.is-warn { border-color: var(--lb-warn); background: var(--lb-warn-bg); }
.lb-floating-timer.is-warn .lb-floating-timer__time { color: var(--lb-warn); }
.lb-floating-timer.is-danger { border-color: var(--lb-bad); background: #FEF2F2; animation: lb-pulse 1s ease-in-out infinite; }
.lb-floating-timer.is-danger .lb-floating-timer__time { color: var(--lb-bad); }
@keyframes lb-pulse { 50% { transform: scale(1.02); } }

.lb-floating-timer__progress { display: block; height: 6px; background: var(--lb-bg-2); border-radius: 999px; overflow: hidden; }
.lb-floating-timer__bar { display: block; height: 100%; background: var(--lb-brand); border-radius: 999px; transition: width .4s ease; }

.lb-floating-timer__count { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--lb-muted); }
.lb-floating-timer__count strong { color: var(--lb-ink); font-family: var(--lb-font-en); }

@media (max-width: 600px) {
    .lb-floating-timer { top: 8px; right: 8px; left: 8px; max-width: none; min-width: 0; padding: 10px 12px; }
    .lb-floating-timer__time { font-size: 18px; }
}

/* Hide the in-quiz inline timer when floating one is active */
body.lb-has-floating-timer .lb-quiz__bar { display: none !important; }

/* ============================================================
   DASHBOARD V3 — graphs + insights
   ============================================================ */
.lb-dash__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin: 6px 0 22px; }
@media (max-width: 900px) { .lb-dash__grid { grid-template-columns: 1fr; } }

.lb-dashpanel { background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg); padding: 20px 22px; }
.lb-dashpanel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.lb-dashpanel__head h3 { font-family: var(--lb-font-bn-ui); font-size: 15.5px; font-weight: 600; margin: 0; color: var(--lb-ink); display: inline-flex; align-items: center; gap: 6px; }
.lb-dashpanel__head a { color: var(--lb-brand); text-decoration: none; font-size: 13px; font-weight: 600; }
.lb-dashpanel__head a:hover { text-decoration: underline; }
.lb-dashpanel__hint { color: var(--lb-muted); font-size: 13px; }
.lb-empty { color: var(--lb-muted); font-size: 14px; margin: 16px 0; }

/* Bar chart */
.lb-barchart { display: flex; flex-direction: column; gap: 10px; }
.lb-barchart__row { display: grid; grid-template-columns: 130px 1fr 50px; gap: 12px; align-items: center; }
.lb-barchart__label { font-family: var(--lb-font-bn-ui); font-size: 13px; color: var(--lb-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-barchart__track { height: 10px; background: #EFF1F5; border-radius: 999px; overflow: hidden; position: relative; }
.lb-barchart__bar { display: block; height: 100%; background: var(--lb-brand); border-radius: 999px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.lb-barchart__row--strong .lb-barchart__bar { background: var(--lb-ok); }
.lb-barchart__row--weak   .lb-barchart__bar { background: var(--lb-bad); }
.lb-barchart__val { font-family: var(--lb-font-en); font-weight: 600; font-size: 13px; color: var(--lb-ink); text-align: right; }
@media (max-width: 600px) { .lb-barchart__row { grid-template-columns: 110px 1fr 44px; gap: 8px; } }

/* Sparkline */
.lb-spark { background: var(--lb-bg); border-radius: 10px; padding: 12px; }
.lb-spark svg { display: block; }
.lb-spark__lbls { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 6px; }
.lb-spark__lbls span { font-size: 11px; color: var(--lb-muted); font-family: var(--lb-font-en); }

/* Streak dots row inside dashpanel */
.lb-dots-row { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lb-dots-row small { color: var(--lb-muted); font-size: 12px; }
.lb-dots-row .lb-dots { gap: 4px; }
.lb-dots-row .lb-dot { width: 16px; height: 16px; border-radius: 4px; }

/* Strong / Weak insight cards */
.lb-dash__insights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
@media (max-width: 700px) { .lb-dash__insights { grid-template-columns: 1fr; } }
.lb-insight { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--lb-r-lg); border: 1px solid; }
.lb-insight strong { display: block; font-family: var(--lb-font-bn-ui); font-size: 14px; margin-bottom: 4px; }
.lb-insight p { margin: 0; font-size: 13.5px; color: var(--lb-text); line-height: 1.5; }
.lb-insight__icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.lb-insight--strong { background: var(--lb-ok-bg); border-color: #BBF7D0; }
.lb-insight--strong strong { color: var(--lb-ok); }
.lb-insight--strong .lb-insight__icon { background: rgba(22,163,74,.15); color: var(--lb-ok); }
.lb-insight--weak { background: #FEF2F2; border-color: #FECACA; }
.lb-insight--weak strong { color: var(--lb-bad); }
.lb-insight--weak .lb-insight__icon { background: rgba(220,38,38,.12); color: var(--lb-bad); }

/* Recent attempts strip in dashboard */
.lb-attempts__more { display: inline-flex; align-items: center; gap: 6px; color: var(--lb-brand); font-weight: 600; font-size: 13.5px; padding: 10px 14px; }
.lb-attempts__more:hover { gap: 10px; transition: gap .15s; }

/* Hero with primary CTA on the right */
.lb-dash__hero { align-items: center; }

/* Streak dots from start: today is leftmost */
.lb-dot { transition: all .2s; }


/* ============================================================
   ACCOUNT SETTINGS PAGE
   ============================================================ */
.lb-account { padding: 24px 16px 60px; }
.lb-account__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .lb-account__grid { grid-template-columns: 1fr; } }
.lb-account__panel { background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg); padding: 24px 26px; box-shadow: var(--lb-shadow-sm); }
.lb-account__panel h3 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 17px; margin: 0 0 18px; color: var(--lb-ink); }

.lb-account__avatar-wrap { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--lb-border-2); margin-bottom: 18px; }
.lb-account__avatar {
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--lb-grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 36px;
    background-size: cover; background-position: center;
    flex-shrink: 0; text-transform: uppercase;
    box-shadow: var(--lb-shadow);
}
.lb-account__hint { color: var(--lb-muted); font-size: 12px; margin: 6px 0 0; }
.lb-account__form .lb-input { margin-bottom: 4px; }
.lb-account__sub { padding-bottom: 14px; border-bottom: 1px solid var(--lb-border-2); margin-bottom: 16px; }
.lb-account__sub p { color: var(--lb-text); font-size: 14px; margin: 12px 0 0; line-height: 1.6; }

.lb-account__danger { padding: 16px 18px; background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--lb-r); margin-bottom: 14px; }
.lb-account__danger h4 { font-family: var(--lb-font-bn-ui); font-weight: 600; font-size: 14.5px; color: #991B1B; margin: 0 0 6px; }
.lb-account__danger p { color: var(--lb-text); font-size: 13px; margin: 0 0 12px; line-height: 1.5; }

.lb-btn--danger { background: var(--lb-bad); color: #fff; }
.lb-btn--danger:hover { background: #991B1B; color: #fff; }
.lb-account__logout-row { padding-top: 14px; border-top: 1px solid var(--lb-border-2); }

/* Status pills */
.lb-status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-family: var(--lb-font-en); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.lb-status--active   { background: var(--lb-ok-bg); color: var(--lb-ok); }
.lb-status--inactive { background: #FEE2E2; color: #991B1B; }
.lb-status--free     { background: var(--lb-bg-2); color: var(--lb-muted); }
.lb-status--trial    { background: #FEF3C7; color: #78350F; }


/* ============================================================
   CV MAKER
   ============================================================ */
.lb-cv { padding: 24px 16px 60px; }
.lb-cv__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) { .lb-cv__grid { grid-template-columns: 1fr; } }
.lb-cv__form, .lb-cv__panel { background: #fff; border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-lg); padding: 22px; box-shadow: var(--lb-shadow-sm); }
.lb-cv__form h3 { font-family: var(--lb-font-bn-ui); font-size: 15px; color: var(--lb-ink); margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--lb-border-2); }
.lb-cv__form h3:first-child { margin-top: 0; padding-top: 0; border: none; }
.lb-cv__form .lb-input { margin-bottom: 6px; }
.lb-cv__side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; }
.lb-cv__panel h3 { font-family: var(--lb-font-bn-ui); font-size: 14.5px; margin: 0 0 6px; color: var(--lb-ink); }
.lb-cv__hint { color: var(--lb-muted); font-size: 12.5px; margin: 0 0 12px; }
.lb-cv__imgbox { width: 100%; min-height: 160px; border: 2px dashed var(--lb-border); border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--lb-bg); margin-bottom: 10px; overflow: hidden; }
.lb-cv__imgbox img { max-width: 100%; max-height: 200px; }
.lb-cv__imgbox--sig { min-height: 80px; }
.lb-cv__imgbox--sig img { max-height: 80px; }
.lb-cv__imgbox span { color: var(--lb-muted); font-size: 13px; }

/* Two-column inline grid inside the form (personal info, etc.) */
.lb-cv__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-bottom: 6px; }
@media (max-width: 640px) { .lb-cv__two { grid-template-columns: 1fr; } }

/* Repeatable row cards */
.lb-cv__section { margin-bottom: 4px; }
.lb-cv__rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.lb-cv__row { background: var(--lb-bg); border: 1px solid var(--lb-border-2); border-radius: var(--lb-r-sm); padding: 12px 14px; position: relative; }
.lb-cv__row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lb-cv__row-num { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--lb-brand); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--lb-font-en); }
.lb-cv__row-del { background: transparent; border: none; color: var(--lb-muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 6px; border-radius: 4px; }
.lb-cv__row-del:hover { color: #DC2626; background: #FEE2E2; }
.lb-cv__row .lb-input { margin: 0; }

.lb-cv__row-grid { display: grid; gap: 8px; }
.lb-cv__row-grid--edu { grid-template-columns: 1fr 1fr 1fr; }
.lb-cv__row-grid--edu input:nth-child(1),
.lb-cv__row-grid--edu input:nth-child(2) { grid-column: span 1; }
@media (max-width: 640px) { .lb-cv__row-grid--edu { grid-template-columns: 1fr; } }

.lb-cv__row-grid--exp { grid-template-columns: 1fr 1fr; }
.lb-cv__row-grid--exp .lb-cv__row-desc { grid-column: 1 / -1; }
.lb-cv__row-grid--exp .lb-cv__row-check { grid-column: 1 / -1; font-size: 13px; color: var(--lb-muted); display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
@media (max-width: 640px) { .lb-cv__row-grid--exp { grid-template-columns: 1fr; } }

.lb-cv__row-grid--vol { grid-template-columns: 1fr 1fr 1fr; }
.lb-cv__row-grid--vol .lb-cv__row-desc { grid-column: 1 / -1; }
@media (max-width: 640px) { .lb-cv__row-grid--vol { grid-template-columns: 1fr; } }

.lb-cv__row-grid--ach { grid-template-columns: 2fr 1fr 2fr; }
@media (max-width: 640px) { .lb-cv__row-grid--ach { grid-template-columns: 1fr; } }

.lb-cv__row-grid--ref { grid-template-columns: 1fr 1fr 1fr; }
.lb-cv__row-grid--ref input:nth-child(4),
.lb-cv__row-grid--ref input:nth-child(5) { grid-column: span 1; }
@media (max-width: 640px) { .lb-cv__row-grid--ref { grid-template-columns: 1fr; } }

.lb-cv__add { width: 100%; border: 1px dashed var(--lb-border) !important; background: transparent; color: var(--lb-brand); }
.lb-cv__add:hover { background: var(--lb-bg-2); }

.lb-cv__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--lb-border-2); }
.lb-cv__actions .lb-btn { flex: 1; min-width: 180px; }

/* Print layout */
.lb-cv__print { display: none; }
@media print {
    /* The CV sheet (#lb-cv-print-out) is moved to <body> by JS just before
       printing. Collapse every other top-level element OUT of the flow with
       display:none — not visibility:hidden — otherwise the hidden app/form
       still reserves height and the browser emits several blank pages. */
    body > *:not(.lb-cv__print) { display: none !important; }
    .lb-cv__print {
        display: block !important;
        position: static;
        width: auto;
        margin: 0;
        padding: 0;
        font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
        color: #111;
        font-size: 11.5pt;
        line-height: 1.45;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    /* A4 with real page margins, applied to every page (incl. overflow pages) */
    @page { size: A4; margin: 14mm; }

    .lb-cv__print-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 14px; border-bottom: 2.5px solid #111; padding-bottom: 12px; }
    .lb-cv__print-id { flex: 1; }
    .lb-cv__print-id h1 { margin: 0 0 4px; font-size: 22pt; font-weight: 700; letter-spacing: -.3px; }
    .lb-cv__print-id .lb-cv__print-contact { margin: 4px 0 0; font-size: 10.5pt; color: #444; }
    .lb-cv__print-id .lb-cv__print-addr { margin: 4px 0 0; font-size: 10.5pt; color: #444; }
    .lb-cv__print-id .lb-cv__print-obj { margin: 8px 0 0; font-size: 11pt; font-style: italic; color: #333; max-width: 95%; }
    .lb-cv__print-photo { width: 96px; height: 96px; object-fit: cover; border: 1px solid #999; }

    .lb-cv__print section { margin-top: 12px; page-break-inside: avoid; }
    .lb-cv__print h2 { font-size: 12pt; margin: 0 0 6px; padding: 4px 0 3px; border-bottom: 1px solid #999; color: #111; font-weight: 700; letter-spacing: .3px; text-transform: none; }

    .lb-cv__print-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
    .lb-cv__print-table th { width: 30%; text-align: left; padding: 3px 8px 3px 0; font-weight: 600; color: #444; vertical-align: top; }
    .lb-cv__print-table td { padding: 3px 0; vertical-align: top; }

    .lb-cv__print-edu { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
    .lb-cv__print-edu thead th { background: #F4F4F6; border: 1px solid #999; padding: 5px 7px; text-align: left; font-weight: 700; font-size: 10pt; }
    .lb-cv__print-edu tbody td { border: 1px solid #BBB; padding: 5px 7px; vertical-align: top; }
    .lb-cv__print-edu tbody td small { color: #555; }

    .lb-cv__print-role { margin-bottom: 8px; }
    .lb-cv__print-rolehead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
    .lb-cv__print-rolehead strong { font-size: 11pt; }
    .lb-cv__print-period { color: #555; font-size: 10pt; font-family: var(--lb-font-en); white-space: nowrap; }
    .lb-cv__print-role p { margin: 2px 0 0; font-size: 10.5pt; color: #333; }

    .lb-cv__print-list { padding-left: 18px; margin: 0; }
    .lb-cv__print-list li { margin-bottom: 3px; font-size: 10.5pt; }

    .lb-cv__print-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 10.5pt; }
    .lb-cv__print-ref { padding: 6px 0; }

    .lb-cv__print-sig { margin-top: 26px; text-align: right; font-size: 10pt; color: #444; }
    .lb-cv__print-sig img { width: 140px; height: auto; display: block; margin-left: auto; margin-bottom: 2px; }
}


/* ============================================================
   ★ লাবণ্য SOFT-LUXE BEAUTY THEME — overrides + new components
   (palette/fonts already swapped in :root above)
   ============================================================ */

/* ---------- Typography: serif display headings, Cormorant accents ---------- */
.lb-hero__headline, .lb-section__head h2, .lb-footer-cta h2, .lb-cta__copy h2,
.lb-home__hero h1, .lb-title, .lb-tips__head h1, .lb-finder__head h1,
.lb-account h1, .lb-tiphero__title, .lb-skinresult__type, .lb-heromock__title {
    font-family: var(--lb-font-display); font-weight: 700; letter-spacing: -.005em; line-height: 1.25;
}
.lb-eyebrow {
    font-family: var(--lb-font-accent); font-style: italic; font-weight: 600;
    font-size: 16px; letter-spacing: .02em; text-transform: none;
    background: var(--lb-brand-50); color: var(--lb-brand-700); border: 1px solid var(--lb-brand-100);
}
.lb-eyebrow--plain { background: none; border: 0; padding: 0; color: var(--lb-brand); }
.lb-grad { background: var(--lb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons (rose, soft) ---------- */
.lb-btn { border-radius: 999px; font-family: var(--lb-font-bn-ui); font-weight: 600; }
.lb-btn--primary { background: var(--lb-grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(184,74,110,.6); }
.lb-btn--primary:hover { box-shadow: 0 16px 32px -12px rgba(184,74,110,.7); color: #fff; }
.lb-btn--ghost { background: #fff; border: 1px solid var(--lb-border); color: var(--lb-ink-2); }
.lb-btn--ghost:hover { border-color: var(--lb-brand); color: var(--lb-brand-700); background: var(--lb-brand-50); }
.lb-footer-cta .lb-btn { background: #fff; color: var(--lb-brand-700); }

/* ---------- Brand mark ---------- */
.lb-brand__mark { background: var(--lb-grad); color: #fff; border-radius: 50%; }
.lb-brand__name, .lb-sidebar__brandname { font-family: var(--lb-font-display); font-weight: 700; }

/* ---------- Topbar (cream, sticky) ---------- */
.lb-topbar { background: rgba(251,247,244,.9); border-bottom-color: var(--lb-border); }

/* ---------- Hero (warm blush) ---------- */
.lb-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(60% 50% at 12% -5%, rgba(229,138,166,.20) 0%, transparent 60%),
        radial-gradient(46% 40% at 100% 0%, rgba(196,154,94,.14) 0%, transparent 60%),
        var(--lb-bg);
}
.lb-hero__headline { font-size: clamp(34px, 5vw, 56px); color: var(--lb-ink); }
.lb-hero__sub { color: var(--lb-text); }
.lb-trust__avatars span { background: var(--lb-grad); border: 2px solid #fff; }
.lb-trust__avatars span:nth-child(2) { background: linear-gradient(135deg, #F3E7D2, #C49A5E); }
.lb-trust__avatars span:nth-child(3) { background: linear-gradient(135deg, #E58AA6, #B84A6E); }
.lb-trust strong { color: var(--lb-brand-700); font-family: var(--lb-font-accent); font-size: 18px; }

/* hero visual: daily-tip mock + floaters */
.lb-hero__visual { position: relative; }
.lb-heromock {
    position: relative; z-index: 2; background: #fff; border: 1px solid var(--lb-border);
    border-radius: var(--lb-r-xl); padding: 26px; box-shadow: var(--lb-shadow-lg);
    transform: rotate(-1.2deg);
}
.lb-heromock::before { content: ''; position: absolute; inset: 0 0 auto; height: 7px; border-radius: var(--lb-r-xl) var(--lb-r-xl) 0 0; background: var(--lb-grad); }
.lb-heromock__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--lb-font-accent); font-style: italic; font-size: 15px; color: var(--lb-brand-700); margin-bottom: 8px; }
.lb-heromock__title { margin: 0 0 8px; font-size: 22px; color: var(--lb-ink); }
.lb-heromock__body { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--lb-text); }
.lb-heromock__foot { display: flex; align-items: center; justify-content: space-between; }
.lb-heromock__heart { color: var(--lb-brand); }
.lb-floater {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 15px; background: #fff; border-radius: 999px; box-shadow: var(--lb-shadow-md);
    font-weight: 600; font-size: 13px; color: var(--lb-ink-2);
}
.lb-floater .lb-icon { color: var(--lb-brand); }
.lb-floater--1 { top: -16px; right: -10px; animation: lb-float 5s ease-in-out infinite; }
.lb-floater--2 { bottom: -14px; left: -14px; animation: lb-float 5.6s ease-in-out infinite .6s; }
.lb-floater--2 .lb-icon { color: var(--lb-gold); }
@keyframes lb-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Stats strip (plum band, serif numerals) ---------- */
.lb-stripstats { background: var(--lb-plum); border-top: 0; }
.lb-stripstats__row strong { font-family: var(--lb-font-display); font-size: 24px; color: #fff; }
.lb-stripstats__row span { color: rgba(255,255,255,.62); }

/* ---------- Features (rose icon tiles) ---------- */
.lb-feature { border-radius: var(--lb-r-lg); }
.lb-feature:hover { border-color: var(--lb-brand-100); box-shadow: var(--lb-shadow); }
.lb-feature__icon { background: var(--lb-brand-50); color: var(--lb-brand-700); border-radius: 16px; width: 52px; height: 52px; }
.lb-feature:nth-child(3n+2) .lb-feature__icon { background: var(--lb-gold-soft); color: var(--lb-gold); }
.lb-feature h3 { font-family: var(--lb-font-bn-ui); }

/* ---------- Steps ---------- */
.lb-steps__num { background: var(--lb-grad); font-family: var(--lb-font-display); }

/* ---------- Pills ---------- */
.lb-pill--soft { display: inline-flex; align-items: center; gap: 5px; background: var(--lb-brand-50); color: var(--lb-brand-700); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }

/* ---------- Login card (white, gold bar) ---------- */
.lb-login-card { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-xl); overflow: hidden; box-shadow: var(--lb-shadow-md); padding-top: 30px; position: relative; }
.lb-login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--lb-grad); }
.lb-login-card__head h3 { font-family: var(--lb-font-display); color: var(--lb-ink); }
.lb-demo-banner { background: var(--lb-gold-soft); border: 1px solid #E7D3AE; color: #7A5A23; }
.lb-input:focus, .lb-input-prefix:focus-within { border-color: var(--lb-brand); box-shadow: var(--lb-ring); }

/* ---------- Quotes ---------- */
.lb-quote { border-radius: var(--lb-r-lg); }
.lb-quote__stars { color: var(--lb-gold); letter-spacing: 2px; }
.lb-quote__av { width: 38px; height: 38px; border-radius: 50%; background: var(--lb-grad); display: inline-block; }
.lb-quote figcaption { display: flex; align-items: center; gap: 11px; }
.lb-quote figcaption span span { color: var(--lb-muted); font-size: 12.5px; display: block; }

/* ---------- FAQ ---------- */
.lb-faq__item { border-radius: var(--lb-r); }
.lb-faq__item[open] .lb-faq__chev { transform: rotate(45deg); color: var(--lb-brand); }
.lb-faq__chev { color: var(--lb-brand); }

/* ---------- Footer CTA + site footer ---------- */
.lb-footer-cta { background: var(--lb-grad); border-radius: var(--lb-r-xl); padding: 52px 32px; text-align: center; color: #fff; }
.lb-footer-cta h2 { color: #fff; }
.lb-footer-cta p { color: rgba(255,255,255,.92); }
.lb-sitefoot { background: var(--lb-plum); }
.lb-sitefoot__inner { max-width: 1140px; margin: 0 auto; padding: 26px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lb-sitefoot__brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--lb-font-display); font-weight: 700; color: #fff; }
.lb-sitefoot__brand .lb-brand__mark { width: 28px; height: 28px; }
.lb-sitefoot p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ---------- Sidebar (light cream, rose active) ---------- */
.lb-sidebar { background: #fff; border-right: 1px solid var(--lb-border); }
.lb-sidebar__item.is-active { background: var(--lb-brand-50); color: var(--lb-brand-700); }
.lb-sidebar__item.is-active .lb-sidebar__ic { color: var(--lb-brand); }
.lb-sidebar__avatar { background: var(--lb-grad); }
.lb-app-main, body.lb-shell { background: var(--lb-bg) !important; }

/* ============================================================
   HOME
   ============================================================ */
.lb-wrap { max-width: 980px; margin: 0 auto; padding: 28px 18px 70px; }
.lb-home__hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.lb-home__hero h1 { margin: 6px 0 5px; font-size: clamp(26px, 4vw, 34px); color: var(--lb-ink); }
.lb-home__hero p { margin: 0; color: var(--lb-muted); font-size: 14.5px; }

/* Featured daily tip */
.lb-tiphero { position: relative; overflow: hidden; border-radius: var(--lb-r-xl); padding: 30px 32px; margin-bottom: 22px; background: var(--lb-grad-soft); border: 1px solid var(--lb-brand-100); }
.lb-tiphero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(229,138,166,.25), transparent 70%); }
.lb-tiphero__tag { position: relative; display: inline-flex; align-items: center; gap: 6px; font-family: var(--lb-font-accent); font-style: italic; font-size: 16px; color: var(--lb-brand-700); }
.lb-tiphero__title { position: relative; margin: 8px 0 10px; font-size: clamp(22px, 3.4vw, 30px); color: var(--lb-ink); }
.lb-tiphero__body { position: relative; margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--lb-text); max-width: 60ch; }
.lb-tiphero__foot { position: relative; display: flex; align-items: center; justify-content: space-between; }

/* Fav button */
.lb-fav { width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 50% !important; border: 1px solid var(--lb-border) !important; background: #fff !important; color: var(--lb-muted) !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; box-shadow: none !important; }
.lb-fav:hover { border-color: var(--lb-brand) !important; color: var(--lb-brand) !important; }
.lb-fav.is-on { background: var(--lb-brand) !important; border-color: var(--lb-brand) !important; color: #fff !important; }
.lb-fav.is-on .lb-icon { fill: #fff; }

/* Action cards */
.lb-home__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
@media (max-width: 700px) { .lb-home__cards { grid-template-columns: 1fr; } }
.lb-actioncard { display: block; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); padding: 24px; text-decoration: none; color: var(--lb-ink); transition: transform .15s, box-shadow .2s, border-color .15s; }
.lb-actioncard:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow); border-color: var(--lb-brand-100); color: var(--lb-ink); }
.lb-actioncard__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--lb-brand-50); color: var(--lb-brand-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lb-actioncard h3 { margin: 0 0 6px; font-family: var(--lb-font-display); font-weight: 700; font-size: 20px; color: var(--lb-ink); }
.lb-actioncard p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--lb-muted); }
.lb-actioncard__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--lb-brand); }
.lb-actioncard--primary { background: var(--lb-grad-soft); border-color: var(--lb-brand-100); }
.lb-actioncard--primary .lb-actioncard__icon { background: var(--lb-grad); color: #fff; }

.lb-home__sectionhead { margin: 6px 0 14px; font-family: var(--lb-font-display); font-weight: 700; font-size: 19px; color: var(--lb-ink); }

/* Category grid */
.lb-catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
@media (max-width: 760px) { .lb-catgrid { grid-template-columns: repeat(2, 1fr); } }
.lb-catchip { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); padding: 20px 10px; text-decoration: none; color: var(--lb-ink-2); font-weight: 600; font-size: 13.5px; transition: all .15s; }
.lb-catchip:hover { border-color: var(--lb-brand); transform: translateY(-3px); box-shadow: var(--lb-shadow); color: var(--lb-brand-700); }
.lb-catchip__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--lb-brand-50); color: var(--lb-brand-700); display: inline-flex; align-items: center; justify-content: center; }
.lb-catchip:nth-child(2n) .lb-catchip__icon { background: var(--lb-gold-soft); color: var(--lb-gold); }

/* Favorites grid */
.lb-favgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .lb-favgrid { grid-template-columns: 1fr; } }
.lb-empty { grid-column: 1 / -1; color: var(--lb-muted); font-size: 14px; background: #fff; border: 1px dashed var(--lb-border); border-radius: var(--lb-r-lg); padding: 22px; text-align: center; }
.lb-empty .lb-icon { color: var(--lb-brand); vertical-align: middle; }

/* ============================================================
   TIPS LIBRARY
   ============================================================ */
.lb-tips__head h1, .lb-finder__head h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; color: var(--lb-ink); }
.lb-tips__head p, .lb-finder__head p { margin: 0 0 18px; color: var(--lb-muted); font-size: 14.5px; }
.lb-tips__search { position: relative; margin-bottom: 16px; }
.lb-tips__search .lb-input { width: 100%; padding-left: 44px; border-radius: 999px; }
.lb-tips__searchicon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--lb-muted); pointer-events: none; }
.lb-tips__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lb-filter { border: 1px solid var(--lb-border); background: #fff; color: var(--lb-text); border-radius: 999px; padding: 8px 16px; font-family: var(--lb-font-bn-ui); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .15s; }
.lb-filter:hover { border-color: var(--lb-brand); color: var(--lb-brand-700); }
.lb-filter.is-active { background: var(--lb-brand); border-color: var(--lb-brand); color: #fff; }
.lb-tipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .lb-tipgrid { grid-template-columns: 1fr; } }
.lb-tipcard { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); padding: 22px; transition: transform .15s, box-shadow .2s, border-color .15s; }
.lb-tipcard:hover { transform: translateY(-3px); box-shadow: var(--lb-shadow); border-color: var(--lb-brand-100); }
.lb-tipcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lb-tipcard__title { margin: 0 0 8px; font-family: var(--lb-font-display); font-weight: 700; font-size: 18px; color: var(--lb-ink); }
.lb-tipcard__body { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--lb-text); }

/* ============================================================
   SKIN-TYPE FINDER
   ============================================================ */
.lb-finder__form { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-r-xl); padding: 28px; box-shadow: var(--lb-shadow-sm); }
.lb-fq { border: 0; margin: 0 0 26px; padding: 0; }
.lb-fq__q { display: flex; gap: 12px; align-items: flex-start; font-family: var(--lb-font-display); font-weight: 700; font-size: 18px; color: var(--lb-ink); margin-bottom: 14px; padding: 0; }
.lb-fq__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lb-brand-50); color: var(--lb-brand-700); display: inline-flex; align-items: center; justify-content: center; font-family: var(--lb-font-accent); font-weight: 700; font-size: 16px; }
.lb-fq__opts { display: flex; flex-direction: column; gap: 10px; padding-left: 42px; }
.lb-fq__opt { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border: 1.5px solid var(--lb-border); border-radius: var(--lb-r); cursor: pointer; transition: all .12s; font-size: 14.5px; color: var(--lb-text); }
.lb-fq__opt:hover { border-color: var(--lb-brand); background: var(--lb-brand-50); }
.lb-fq__opt input { position: absolute; opacity: 0; }
.lb-fq__optbox { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--lb-border); transition: all .12s; }
.lb-fq__opt:has(input:checked) { border-color: var(--lb-brand); background: var(--lb-brand-50); color: var(--lb-ink); font-weight: 600; }
.lb-fq__opt:has(input:checked) .lb-fq__optbox { border-color: var(--lb-brand); background: var(--lb-brand); box-shadow: inset 0 0 0 3px #fff; }
@media (max-width: 600px) { .lb-fq__opts { padding-left: 0; } }

.lb-finder__result { margin-top: 22px; }
.lb-skinresult { background: #fff; border: 1px solid var(--lb-brand-100); border-radius: var(--lb-r-xl); padding: 30px; box-shadow: var(--lb-shadow); }
.lb-skinresult__badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--lb-font-accent); font-style: italic; font-size: 16px; color: var(--lb-brand-700); }
.lb-skinresult__type { margin: 8px 0 10px; font-size: clamp(26px, 4vw, 34px); color: var(--lb-ink); }
.lb-skinresult__desc { margin: 0 0 22px; font-size: 15.5px; line-height: 1.7; color: var(--lb-text); }
.lb-routines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 600px) { .lb-routines { grid-template-columns: 1fr; } }
.lb-routine { background: var(--lb-bg); border: 1px solid var(--lb-border); border-radius: var(--lb-r-lg); padding: 18px 20px; }
.lb-routine h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--lb-font-bn-ui); font-weight: 700; font-size: 15px; color: var(--lb-ink); }
.lb-routine h4 .lb-icon { color: var(--lb-gold); }
.lb-routine ol { margin: 0; padding-left: 20px; }
.lb-routine li { margin-bottom: 7px; font-size: 14px; line-height: 1.5; color: var(--lb-text); }
.lb-skinresult__note { display: flex; gap: 9px; align-items: flex-start; background: var(--lb-gold-soft); border-radius: var(--lb-r); padding: 13px 16px; font-size: 13.5px; line-height: 1.5; color: #7A5A23; }
.lb-skinresult__note .lb-icon { color: var(--lb-gold); flex: none; margin-top: 1px; }
.lb-skinresult__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* fav heart fill when active everywhere */
.lb-fav.is-on .lb-icon path { fill: #fff; stroke: #fff; }
