/* Qasem Learn (learn.<domain>) — e-learning styles. Builds on style.css + app.css tokens. */
.lms-site { --lx: var(--brand-600); --lx-gold: #e9b949; --lx-green: #138a3c; background: var(--bg); }

/* ---------- shared bits ---------- */
.lx-btn { background: linear-gradient(120deg, var(--brand-700), var(--brand-500)); color: #fff; }
.lx-btn:hover { box-shadow: 0 14px 28px -12px rgba(86, 32, 125, .7); }
.lx-btn.is-busy { opacity: .7; pointer-events: none; }
.lx-full { width: 100%; justify-content: center; }
.lx-ic { --c: var(--brand-600); display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.lx-ic .icon { width: 22px; height: 22px; }
.lx-ic.sm { width: 34px; height: 34px; border-radius: 10px; }
.lx-ic.sm .icon { width: 18px; height: 18px; }
.lx-ic.lg { width: 56px; height: 56px; border-radius: 18px; }
.lx-ic.lg .icon { width: 28px; height: 28px; }
.lx-ic.xl { width: 84px; height: 84px; border-radius: 26px; }
.lx-ic.xl .icon { width: 42px; height: 42px; }
.lx-ic.ok { --c: var(--lx-green); }
.lx-ic.bad { --c: #c0262d; }
.lx-ic.on-dark { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.lx-free { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #e5f5ea; color: #0d6b2e; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lx-pin { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(120deg, #f6d27a, var(--lx-gold)); color: #4a3205; font-size: .74rem; font-weight: 800; letter-spacing: .03em; }
.lx-pin .icon { width: 14px; height: 14px; fill: currentColor; }
.lx-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #eadff5; font-size: .78rem; font-weight: 700; }
.lx-tag .icon { width: 14px; height: 14px; }
.lx-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--brand-500)); }
.lx-cat .icon { width: 14px; height: 14px; }
.lx-bar { display: block; height: 8px; border-radius: 99px; background: var(--brand-100); overflow: hidden; }
.lx-bar.lg { height: 12px; }
.lx-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-500), #b076e8); transition: width .8s var(--ease); }
.lx-ring { --p: 0; --size: 58px; position: relative; display: inline-grid; place-items: center; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  background: conic-gradient(var(--lx-green) calc(var(--p) * 1%), var(--brand-100) 0); }
.lx-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.lx-ring b { position: relative; font-size: .8rem; font-weight: 800; color: var(--ink); }
.lx-ring.xl { --size: 150px; }
.lx-ring.xl::before { inset: 12px; }
.lx-ring.xl b { font-size: 2.1rem; letter-spacing: -.03em; }
.lx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lx-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.lx-box + .lx-box { margin-top: 22px; }
.lx-box h2, .lx-box h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 16px; }
.lx-box h3 { font-size: 1.08rem; }
.lx-box h2 .icon, .lx-box h3 .icon { width: 22px; height: 22px; color: var(--brand-500); }
.lx-header .nav a[aria-current="page"], .lx-header .nav-trigger.is-current { color: var(--brand-600); }

/* ---------- dark hero background ---------- */
.lx-hero, .lx-page-hero, .lx-course-hero, .lx-dash-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--brand-950); color: #d6c8e4; }
.lx-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lx-hero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.lx-hero-bg .o1 { width: 520px; height: 520px; left: -140px; top: -160px; background: #6d2ea3; }
.lx-hero-bg .o2 { width: 460px; height: 460px; right: -120px; bottom: -200px; background: #3b1a8f; animation-delay: -5s; }
.lx-hero-bg .o3 { width: 300px; height: 300px; right: 30%; top: 20%; background: #a8548a; opacity: .35; animation-delay: -9s; }
.lx-gridbg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.lx-hero h1, .lx-page-hero h1, .lx-course-hero h1, .lx-dash-hero h1 { color: #fff; }
.lx-page-hero .hero-lead, .lx-course-hero .hero-lead, .lx-hero .hero-lead { color: #cdbfe0; }

/* ---------- home hero ---------- */
.lx-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.lx-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.lx-badge { padding: 7px 16px 7px 12px; }
.lx-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; animation: ping 2s infinite; }
.lx-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin-top: 22px; }
.lx-hero h1 .grad-text { background: linear-gradient(100deg, #f6d27a, #f0a6d8 45%, #c19ce6); -webkit-background-clip: text; background-clip: text; }
.lx-rotate { margin-top: 18px; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; color: #fff; }
.lx-rotate .rotator span { color: #f6d27a; }
.lx-hero .hero-lead { margin-top: 14px; max-width: 560px; }
.lx-search { display: flex; align-items: center; gap: 8px; margin-top: 28px; max-width: 560px; padding: 7px 7px 7px 18px; border-radius: 999px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.lx-search > .icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.lx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); padding: 10px 4px; }
.lx-search .btn { border-radius: 999px; }
.lx-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: #cdbfe0; }
.lx-points li { display: inline-flex; align-items: center; gap: 8px; }
.lx-points .icon { width: 17px; height: 17px; color: #4fd18b; }

.lx-hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1200px; }
.lx-cert-mock { position: relative; width: min(100%, 470px); aspect-ratio: 1.414; padding: 26px 30px; border-radius: 18px; background: linear-gradient(160deg, #fffdf7, #fbf5e8); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; gap: 4px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 10px #fff, inset 0 0 0 12px #e2c77d; transform: rotateY(-12deg) rotateX(6deg); animation: certIn 1.2s var(--ease) both, bob 7s ease-in-out 1.2s infinite; }
@keyframes certIn { from { opacity: 0; transform: translateY(40px) rotateY(-30deg) rotateX(14deg) scale(.9); } to { opacity: 1; transform: rotateY(-12deg) rotateX(6deg); } }
.lcm-top { display: flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 8px; }
.lcm-top img { width: 34px; }
.lcm-small { font-size: .74rem; color: var(--muted); }
.lcm-name { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--brand-700); }
.lcm-course { font-weight: 800; font-size: .98rem; color: var(--ink); }
.lcm-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.lcm-seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8dc8f, #d29d2c); color: #5b3d06; box-shadow: 0 6px 14px -6px rgba(140, 95, 10, .7); }
.lcm-seal .icon { width: 24px; height: 24px; }
.lcm-lines { display: grid; gap: 6px; }
.lcm-lines i { display: block; width: 110px; height: 2px; background: #d9cfb8; }
.lcm-lines i + i { width: 80px; }
.lx-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); animation: floatIn .9s var(--ease) both, bob 6s ease-in-out infinite; }
.lx-float strong { display: block; font-size: .9rem; }
.lx-float small { display: block; font-size: .76rem; color: var(--muted); }
.lx-float .lx-ring { --size: 44px; }
.lx-float .lx-ring::before { inset: 5px; }
.lx-float .lx-ring b { font-size: .68rem; }
.lx-float.f1 { left: -4%; top: 6%; animation-delay: .5s, 1.4s; }
.lx-float.f2 { right: -4%; bottom: 10%; animation-delay: .8s, 2.4s; }
.lx-float.f3 { left: 2%; bottom: -2%; animation-delay: 1.1s, .8s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- stats strip ---------- */
.lx-stats { position: relative; z-index: 2; margin-top: -44px; }
.lx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; }
.lx-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.lx-stat + .lx-stat { border-left: 1px solid var(--line); }
.lx-stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.lx-stat small { color: var(--muted); font-weight: 600; font-size: .86rem; }

/* ---------- pinned course spotlight ---------- */
.lx-spot-sec { padding-bottom: 0; }
.lx-spot { --c: var(--brand-600); position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(30px, 5vw, 60px); border-radius: var(--radius-xl); color: #eadff5;
  background: radial-gradient(700px 400px at 100% 0%, rgba(246, 210, 122, .25), transparent 60%), linear-gradient(130deg, var(--brand-900), color-mix(in srgb, var(--c) 85%, #000) 70%); }
.lx-spot::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); animation: float 14s ease-in-out infinite; }
.lx-spot h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 16px; }
.lx-spot p { margin-top: 12px; font-size: 1.06rem; color: #dccbef; }
.lx-spot-meta { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.lx-spot-meta li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .86rem; font-weight: 700; }
.lx-spot-meta .icon { width: 16px; height: 16px; color: #f6d27a; }
.lx-spot .btn-light { justify-content: space-between; gap: 18px; }
.lx-spot .btn-light span { display: inline-flex; align-items: center; gap: .6em; }
.lx-spot-mods { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: m; }
.lx-spot-mods li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-weight: 700; color: #fff; font-size: .95rem;
  opacity: 0; transform: translateX(20px); transition: opacity .7s var(--ease), transform .7s var(--ease), background .3s; transition-delay: var(--d); }
.lx-spot.in-view .lx-spot-mods li, html:not(.js) .lx-spot-mods li { opacity: 1; transform: none; }
.lx-spot-mods li:hover { background: rgba(255,255,255,.12); }
.lx-spot-mods li a { display: flex; align-items: center; gap: 14px; flex: 1; color: inherit; }
.lx-spot-mods li a::after { content: "→"; margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); color: #f6d27a; }
.lx-spot-mods li:hover a::after { opacity: 1; transform: none; }
.lx-spot-mods span { font-size: .76rem; font-weight: 800; color: #f6d27a; letter-spacing: .06em; }

/* ---------- categories ---------- */
.lx-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.lx-cat-tile { --c: var(--brand-600); position: relative; display: grid; gap: 4px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; overflow: hidden; isolation: isolate; }
.lx-cat-tile::after { content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: color-mix(in srgb, var(--c) 10%, transparent); transition: transform .6s var(--ease); }
.lx-cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, #fff); }
.lx-cat-tile:hover::after { transform: scale(1.5); }
.lx-cat-tile strong { margin-top: 12px; font-size: 1.06rem; color: var(--ink); }
.lx-cat-tile small { color: var(--muted); font-weight: 600; }
.lx-cat-go { position: absolute; right: 18px; bottom: 18px; width: 18px; height: 18px; color: var(--c); opacity: 0; transform: translate(-6px, 6px); transition: all .35s var(--ease); }
.lx-cat-tile:hover .lx-cat-go { opacity: 1; transform: none; }

/* ---------- course cards ---------- */
.lx-courses-sec { padding-top: 0; }
.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.lx-card { --c: var(--brand-600); display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.lx-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 30%, #fff); }
.lx-card.is-pinned { border-color: #ecd59a; box-shadow: 0 0 0 3px rgba(233, 185, 73, .18); }
.lx-card-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: color-mix(in srgb, var(--c) 14%, #fff); }
.lx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lx-card:hover .lx-card-media img { transform: scale(1.06); }
.lx-card-media .lx-free { position: absolute; left: 14px; top: 14px; }
.lx-card-media .lx-pin { position: absolute; right: 14px; top: 14px; }
.lx-card-art { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #12061c)); overflow: hidden; }
.lx-card-art > .icon { position: relative; z-index: 1; width: 64px; height: 64px; stroke-width: 1.6; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); transition: transform .6s var(--ease); }
.lx-card:hover .lx-card-art > .icon { transform: scale(1.1) rotate(-4deg); }
.lx-card-art i { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.lx-card-art i:nth-of-type(1) { width: 180px; height: 180px; animation: spinSlow 30s linear infinite; border-style: dashed; }
.lx-card-art i:nth-of-type(2) { width: 280px; height: 280px; }
.lx-card-art i:nth-of-type(3) { width: 120px; height: 120px; right: -30px; top: -40px; background: rgba(255,255,255,.08); border: 0; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.lx-card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.lx-card-body strong { font-size: 1.14rem; line-height: 1.25; color: var(--ink); }
.lx-card-sub { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-card .lx-bar { margin-top: 8px; }
.lx-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-weight: 600; }
.lx-card-body .lx-meta { margin-top: 14px; }
.lx-meta span { display: inline-flex; align-items: center; gap: 5px; }
.lx-meta .icon { width: 15px; height: 15px; color: var(--c); }

/* ---------- how it works ---------- */
.lx-how { background: var(--brand-950); color: #cdbfe0; overflow: hidden; }
.lx-how .section-title { color: #fff; }
.lx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.lx-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 38px; height: 2px; background: linear-gradient(90deg, transparent, rgba(193,156,230,.45), transparent); }
.lx-steps li { position: relative; text-align: center; padding: 0 8px; }
.lx-step-ic { position: relative; display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: linear-gradient(140deg, var(--brand-600), var(--brand-800)); color: #fff; box-shadow: 0 16px 30px -14px rgba(193,156,230,.6); transition: transform .5s var(--ease); }
.lx-steps li:hover .lx-step-ic { transform: translateY(-6px) rotate(-4deg); }
.lx-step-ic .icon { width: 32px; height: 32px; }
.lx-step-ic b { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f6d27a; color: #4a3205; font-size: .8rem; }
.lx-steps h3 { color: #fff; font-size: 1.1rem; margin-top: 18px; }
.lx-steps p { margin-top: 8px; font-size: .94rem; }

/* ---------- verify band ---------- */
.lx-verify-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-xl); background: linear-gradient(130deg, var(--brand-50), #fff 70%); border: 1px solid var(--brand-100); }
.lx-verify-band { padding-bottom: 0; }
.lx-verify-form { display: grid; gap: 10px; }
.lx-verify-form label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.lx-verify-form label .icon { color: var(--lx-green); }
.lx-verify-row { display: flex; gap: 8px; padding: 7px; border-radius: 18px; background: #fff; border: 1.5px solid var(--brand-200); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.lx-verify-row:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.lx-verify-row input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem; letter-spacing: .08em; padding: 10px 12px; text-transform: uppercase; background: none; color: var(--ink); }
.lx-verify-form.big { max-width: 520px; margin: 28px auto 0; }
.lx-verify-form.big .lx-verify-row { border-color: transparent; }

/* ---------- CTA ---------- */
.lx-cta { background: linear-gradient(120deg, var(--brand-800), var(--brand-600) 55%, #a8548a); }

/* ---------- page hero (catalog, verify) ---------- */
.lx-page-hero { padding: clamp(44px, 6vw, 76px) 0 clamp(52px, 7vw, 88px); }
.lx-page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.03em; }
.lx-page-hero .hero-lead { margin-top: 12px; }
.lx-page-hero .lx-search { margin-top: 24px; }
.lx-catalog { padding-top: 40px; }
.lx-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-filters .chip { --c: var(--brand-600); }
.lx-filters .chip .icon { width: 16px; height: 16px; color: var(--c); }
.lx-filters .chip[aria-pressed="true"] .icon { color: #fff; }
.lx-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 26px 0 22px; flex-wrap: wrap; }
.lx-results-bar p { color: var(--muted); }
.lx-results-bar strong { color: var(--ink); }
.lx-level select { padding: 10px 36px 10px 14px; border-radius: 12px; border: 1px solid var(--line); background-color: #fff; font: inherit; font-weight: 600; }

/* ---------- course page ---------- */
.lx-course-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); background: radial-gradient(800px 460px at 85% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%), var(--brand-950); }
.lx-course-hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.lx-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lx-course-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.03em; margin-top: 18px; }
.lx-course-hero .hero-lead { margin-top: 14px; max-width: 640px; }
.lx-course-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px 24px; }
.lx-course-facts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.lx-course-facts .icon { width: 20px; height: 20px; color: #f6d27a; flex: none; }
.lx-course-facts strong { color: #fff; }
.lx-enrol-card { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); color: var(--text); }
.lx-enrol-media { position: relative; aspect-ratio: 16 / 8; background: color-mix(in srgb, var(--c) 14%, #fff); }
.lx-enrol-media img { width: 100%; height: 100%; object-fit: cover; }
.lx-enrol-body { padding: 22px 24px 24px; display: grid; gap: 14px; }
.lx-enrol-body form .btn, .lx-enrol-body > .btn { width: 100%; justify-content: center; }
.lx-price { display: flex; align-items: baseline; gap: 10px; }
.lx-price strong { font-size: 2rem; color: var(--ink); letter-spacing: -.03em; }
.lx-price span { color: var(--lx-green); font-weight: 700; }
.lx-prog-head { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: .9rem; color: var(--muted); }
.lx-prog-head strong { color: var(--ink); font-size: 1.1rem; }
.lx-incl { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; }
.lx-incl li { display: flex; align-items: center; gap: 10px; }
.lx-incl .icon { width: 18px; height: 18px; color: var(--brand-500); flex: none; }
.lx-course-body { padding-top: clamp(40px, 6vw, 64px); }
.lx-course-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.lx-course-side { position: sticky; top: 96px; display: grid; gap: 22px; }
.lx-course-side .lx-box + .lx-box { margin-top: 0; }
.lx-outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.lx-outcomes.small { grid-template-columns: 1fr; font-size: .94rem; }
.lx-outcomes li { display: flex; gap: 10px; align-items: flex-start; }
.lx-outcomes .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: #e5f5ea; color: var(--lx-green); stroke-width: 3; }
.lx-curriculum { display: grid; gap: 10px; margin-top: 18px; }
.lx-mod { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); overflow: hidden; }
.lx-mod > summary, .lx-mod-final { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; list-style: none; }
.lx-mod > summary::-webkit-details-marker { display: none; }
.lx-mod-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: .9rem; }
.lx-mod-num .icon { width: 18px; height: 18px; }
.lx-mod-title { flex: 1; font-weight: 800; color: var(--ink); }
.lx-mod-title small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.lx-chev { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease); }
.lx-mod[open] .lx-chev { transform: rotate(180deg); }
.lx-mod ol { list-style: none; margin: 0; padding: 4px 16px 12px 64px; display: grid; gap: 2px; }
.lx-mod li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: .94rem; }
.lx-mod li:first-child { border-top: 0; }
.lx-mod li > .icon { width: 17px; height: 17px; color: var(--muted); flex: none; }
.lx-mod li.is-done > .icon { color: var(--lx-green); }
.lx-mod li a:hover { color: var(--brand-600); text-decoration: underline; }
.lx-mod li > a, .lx-mod li > span { flex: 1; }
.lx-mod li small { color: var(--muted); font-size: .8rem; }
.lx-mod-final { cursor: default; background: linear-gradient(120deg, #fff8e6, #fff); border-color: #f0dfaf; }
.lx-mod-final .lx-mod-num { background: #fbecc4; color: #8a5d09; }
.lx-mini-cert { position: relative; display: grid; justify-items: center; gap: 4px; padding: 20px 16px; border-radius: 14px; text-align: center; background: linear-gradient(160deg, #fffdf7, #fbf5e8); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px #e2c77d; margin-bottom: 12px; }
.lx-mini-cert span { font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-700); }
.lx-mini-cert b { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.4rem; color: var(--brand-700); }
.lx-mini-cert small { font-size: .74rem; color: var(--muted); font-weight: 700; }
.lx-mini-cert i { position: absolute; right: 12px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f8dc8f, #d29d2c); color: #5b3d06; }
.lx-mini-cert i .icon { width: 16px; height: 16px; }
.lx-related { padding-top: 0; }
.lx-sticky-cta { display: none; }

/* ---------- lesson text ---------- */
.prose-lx { color: var(--text); font-size: 1.04rem; line-height: 1.75; }
.prose-lx > * + * { margin-top: 1em; }
.prose-lx h2 { font-size: 1.4rem; margin-top: 1.8em; color: var(--ink); }
.prose-lx h3 { font-size: 1.15rem; margin-top: 1.5em; color: var(--ink); }
.prose-lx ul, .prose-lx ol { padding-left: 0; list-style: none; display: grid; gap: .5em; }
.prose-lx ul li { position: relative; padding-left: 1.6em; }
.prose-lx ul li::before { content: ""; position: absolute; left: .35em; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-400); }
.prose-lx ol { counter-reset: n; }
.prose-lx ol li { position: relative; padding-left: 2.2em; counter-increment: n; }
.prose-lx ol li::before { content: counter(n); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 8px; background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: .85em; }
.prose-lx strong { color: var(--ink); }
.prose-lx code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.lx-tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, #fff8e6, #fffdf5); border: 1px solid #f0dfaf; }
.lx-tip .icon { flex: none; width: 22px; height: 22px; color: #b7791f; margin-top: 3px; }
.lx-tip p { margin: 0; }

/* ---------- player (lesson + assessment) ---------- */
.lx-player { display: grid; grid-template-columns: 330px 1fr; min-height: calc(100vh - 76px); background: #fff; }
.lx-side { position: sticky; top: 76px; height: calc(100vh - 76px); display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--bg); }
.lx-side-head { position: relative; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.lx-side-course { display: flex; align-items: center; gap: 10px; padding-right: 30px; }
.lx-side-course strong { font-size: .98rem; line-height: 1.25; color: var(--ink); }
.lx-side-close { display: none; position: absolute; right: 12px; top: 14px; }
.lx-side-list { flex: 1; overflow-y: auto; padding: 8px 10px 28px; scroll-behavior: smooth; }
.lx-side-mod { display: flex; align-items: center; gap: 8px; margin: 16px 10px 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lx-side-mod span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--brand-100); color: var(--brand-700); font-size: .68rem; }
.lx-side-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: .9rem; color: var(--text); transition: background .2s; }
.lx-side-list a:hover { background: var(--brand-50); }
.lx-side-list a[aria-current="page"] { background: var(--brand-100); color: var(--brand-800); font-weight: 700; }
.lx-side-t { flex: 1; line-height: 1.3; }
.lx-side-list small { color: var(--muted); font-size: .74rem; }
.lx-dot { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--brand-200); background: #fff; color: #fff; transition: all .3s var(--ease); }
.lx-dot .icon { width: 13px; height: 13px; stroke-width: 3; }
.is-done .lx-dot { background: var(--lx-green); border-color: var(--lx-green); }
.lx-side-quiz { margin-top: 12px; border: 1px dashed #e8cf8c; background: #fffaf0; }
.lx-side-quiz .lx-dot { border-color: #e8cf8c; color: #a77510; background: #fff6dc; }
.lx-side-quiz.is-locked { opacity: .7; }
.lx-side-backdrop { display: none; }
.lx-stage { padding: clamp(24px, 4vw, 48px) clamp(18px, 5vw, 72px) 80px; max-width: 900px; width: 100%; }
.lx-stage-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lx-side-open { display: none; }
.lx-crumb { font-size: .84rem; font-weight: 700; color: var(--muted); }
.lx-lesson-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; margin-top: 10px; }
.lx-done-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--lx-green); }
.lx-video { position: relative; aspect-ratio: 16 / 9; margin-top: 26px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.lx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lx-lesson-body { margin-top: 26px; }
.lx-lesson-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.lx-btn-complete { animation: nudge 2.6s var(--ease) 3s infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-3px); } 96% { transform: translateY(1px); } }
.lx-undo { text-align: right; margin-top: 12px; }
.lx-undo button { background: none; border: 0; cursor: pointer; font: inherit; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; }
.lx-undo .icon { width: 14px; height: 14px; }

/* assessment */
.lx-locked { text-align: center; display: grid; justify-items: center; gap: 14px; margin-top: 30px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.lx-locked .lx-bar { width: min(100%, 360px); }
.lx-locked p { color: var(--muted); max-width: 480px; }
.lx-quiz-intro { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.lx-quiz-intro > div { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .9rem; }
.lx-quiz-intro .icon { width: 18px; height: 18px; color: var(--brand-500); }
.lx-quiz { display: grid; gap: 16px; margin-top: 20px; }
html:has(.lx-quiz) { scroll-padding-bottom: 150px; scroll-padding-top: 90px; }
.lx-q { margin: 0; padding: 20px 22px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; min-width: 0; }
.lx-q.is-answered { border-color: var(--brand-200); }
.lx-q.is-missing { border-color: #e0868a; box-shadow: 0 0 0 4px #fde2e3; animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.lx-q legend { display: flex; gap: 12px; align-items: flex-start; font-weight: 800; font-size: 1.04rem; color: var(--ink); padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.lx-q legend + * { clear: both; }
.lx-q-num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-700); color: #fff; font-size: .82rem; }
.lx-opts { display: grid; gap: 8px; }
.lx-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s var(--ease); }
.lx-opt:hover { border-color: var(--brand-300); background: var(--brand-50); }
.lx-opt input { position: absolute; opacity: 0; pointer-events: none; }
.lx-opt-key { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--brand-200); font-weight: 800; font-size: .84rem; color: var(--brand-700); transition: all .2s var(--ease); }
.lx-opt:has(input:checked) { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.lx-opt input:checked + .lx-opt-key { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: scale(1.08); }
.lx-opt input:focus-visible + .lx-opt-key { outline: 3px solid var(--brand-300); outline-offset: 2px; }
.lx-quiz-bar { position: sticky; bottom: 12px; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border-radius: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lx-quiz-count { font-weight: 800; font-size: .9rem; color: var(--ink); white-space: nowrap; }

/* result */
.lx-result-sec { padding-top: clamp(40px, 6vw, 72px); }
.lx-result { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 14px; padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lx-result.is-pass { background: radial-gradient(600px 300px at 50% -10%, #e5f5ea, #fff 70%); }
.lx-result.is-fail .lx-ring { background: conic-gradient(#d97706 calc(var(--p) * 1%), var(--brand-100) 0); }
.lx-result h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.03em; }
.lx-result .lx-ring { animation: popIn .8s var(--ease) both; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.lx-confetti { position: absolute; inset: 0; pointer-events: none; }
.lx-confetti i { position: absolute; top: -12px; left: calc(var(--i) * 4.2%); width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--i) * 37), 80%, 60%); animation: confetti 2.8s cubic-bezier(.3,.6,.4,1) calc(var(--i) * .05s) both; }
@keyframes confetti { from { transform: translateY(0) rotate(0); opacity: 1; } to { transform: translateY(520px) rotate(calc(var(--i) * 70deg)); opacity: 0; } }
.lx-review { text-align: left; margin-top: 40px; display: grid; gap: 12px; }
.lx-review h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 6px; }
.lx-review h2 .icon { color: var(--brand-500); }
.lx-rq { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lx-green); }
.lx-rq.bad { border-left-color: #d14343; }
.lx-rq-ic .icon { width: 22px; height: 22px; color: var(--lx-green); }
.lx-rq.bad .lx-rq-ic .icon { color: #d14343; }
.lx-rq-q { font-weight: 800; color: var(--ink); }
.lx-rq-a { font-size: .92rem; color: var(--muted); margin-top: 4px; }
.lx-rq-x { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; }
.lx-rq-x .icon { width: 16px; height: 16px; color: #b7791f; flex: none; margin-top: 3px; }

/* ---------- certificate ---------- */
.lms-bare { background: #ece6f2; min-height: 100vh; }
.lx-cert-toolbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px clamp(14px, 3vw, 32px); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lx-cert-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-cert-alert { max-width: 1040px; margin: 20px auto 0; }
.lx-cert-stage { padding: clamp(18px, 4vw, 48px) clamp(10px, 3vw, 32px); display: grid; place-items: center; }
.lx-cert { container-type: inline-size; width: min(100%, 1040px); aspect-ratio: 1.414; background: #fff; box-shadow: 0 40px 80px -40px rgba(45, 17, 68, .5); animation: certPop .9s var(--ease) both; }
@keyframes certPop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.lx-cert-frame { position: relative; height: 100%; margin: 0; padding: 4.5cqw 6cqw 3.5cqw; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: radial-gradient(60cqw 40cqw at 50% 0%, rgba(193, 156, 230, .16), transparent 70%), radial-gradient(50cqw 30cqw at 50% 100%, rgba(233, 185, 73, .12), transparent 70%), linear-gradient(160deg, #fffefb, #fbf6ea);
  outline: .5cqw solid var(--brand-700); outline-offset: -2cqw; box-shadow: inset 0 0 0 2.3cqw #fff, inset 0 0 0 2.45cqw #d8b864; overflow: hidden; }
.lx-cert-corner { position: absolute; width: 9cqw; height: 9cqw; border: .35cqw solid #d8b864; }
.lx-cert-corner.tl { left: 3.2cqw; top: 3.2cqw; border-right: 0; border-bottom: 0; border-top-left-radius: 2cqw; }
.lx-cert-corner.tr { right: 3.2cqw; top: 3.2cqw; border-left: 0; border-bottom: 0; border-top-right-radius: 2cqw; }
.lx-cert-corner.bl { left: 3.2cqw; bottom: 3.2cqw; border-right: 0; border-top: 0; border-bottom-left-radius: 2cqw; }
.lx-cert-corner.br { right: 3.2cqw; bottom: 3.2cqw; border-left: 0; border-top: 0; border-bottom-right-radius: 2cqw; }
.lx-cert-head { display: flex; align-items: center; gap: 1.4cqw; margin-top: 1cqw; }
.lx-cert-head img { width: 6cqw; }
.lx-cert-head span { text-align: left; line-height: 1.1; }
.lx-cert-head b { display: block; font-size: 2.3cqw; color: var(--brand-700); letter-spacing: -.02em; }
.lx-cert-head small { font-size: 1.15cqw; color: var(--muted); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lx-cert-kicker { margin-top: 2.6cqw; font-size: 3.4cqw; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--brand-800); }
.lx-cert-small { margin-top: 1.4cqw; font-size: 1.6cqw; color: var(--muted); }
.lx-cert-small strong { color: var(--ink); }
.lx-cert-name { margin-top: .8cqw; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 5.4cqw; line-height: 1.1; color: var(--brand-700); padding: 0 2cqw .6cqw; border-bottom: .2cqw solid #d8b864; min-width: 50%; }
.lx-cert-course { margin-top: .8cqw; font-size: 2.7cqw; font-weight: 800; color: var(--ink); letter-spacing: -.01em; max-width: 80%; line-height: 1.2; }
.lx-cert-foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3cqw; padding: 0 5cqw; }
.lx-cert-sig { display: grid; gap: .5cqw; justify-items: center; }
.lx-sig-line { min-width: 70%; padding: 0 1cqw .6cqw; border-bottom: .15cqw solid #a89f8c; font-size: 1.7cqw; font-weight: 700; color: var(--ink); }
.lx-sig-name { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 2.2cqw; color: var(--brand-700); }
.lx-cert-sig small { font-size: 1.15cqw; color: var(--muted); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lx-cert-seal { display: grid; justify-items: center; gap: .4cqw; }
.lx-cert-seal span { display: grid; place-items: center; width: 10cqw; height: 10cqw; border-radius: 50%; color: #5b3d06; background: radial-gradient(circle at 35% 30%, #fbe3a1, #d29d2c 70%); box-shadow: 0 1cqw 2cqw -1cqw rgba(140, 95, 10, .7), inset 0 0 0 .6cqw rgba(255,255,255,.35), inset 0 0 0 .9cqw rgba(140, 95, 10, .25); }
.lx-cert-seal .icon { width: 5cqw; height: 5cqw; }
.lx-cert-seal small { font-size: 1.1cqw; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8a6414; }
.lx-cert-verify { margin-top: 2cqw; font-size: 1.15cqw; color: var(--muted); letter-spacing: .02em; }
.lx-cert-verify b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); letter-spacing: .08em; }
.lx-cert.is-revoked .lx-cert-frame > *:not(.lx-cert-void) { filter: grayscale(1); opacity: .55; }
.lx-cert-void { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-18deg); padding: 1cqw 4cqw; border: .6cqw solid #c0262d; border-radius: 1.4cqw; color: #c0262d; font-size: 7cqw; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; background: rgba(255,255,255,.7); }
.lx-cert-tip { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0 16px 40px; color: var(--muted); font-size: .9rem; text-align: center; }
.lx-cert-tip .icon { width: 16px; height: 16px; flex: none; }
@page { size: A4 landscape; margin: 0; }
@media print {
  .no-print, .toasts { display: none !important; }
  html, body.lms-bare { background: #fff; }
  .lx-cert-stage { padding: 0; display: block; }
  .lx-cert { width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; animation: none; }
  .lx-cert-frame { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- verify page ---------- */
.lx-verify-result { padding-top: 48px; }
.lx-vcard { display: grid; justify-items: center; gap: 14px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lx-vcard.ok { border-top: 6px solid var(--lx-green); }
.lx-vcard.bad { border-top: 6px solid #c0262d; }
.lx-vcard h2 { font-size: 1.8rem; }
.lx-vcard p { color: var(--muted); max-width: 480px; }
.lx-vlist { display: grid; gap: 0; margin: 6px 0 10px; width: min(100%, 480px); text-align: left; }
.lx-vlist > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lx-vlist dt { color: var(--muted); font-weight: 600; }
.lx-vlist dd { margin: 0; font-weight: 800; color: var(--ink); text-align: right; }
.lx-vhow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.lx-vhow > div { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.lx-vhow h3 { margin-top: 14px; font-size: 1.08rem; }
.lx-vhow p { margin-top: 6px; color: var(--muted); font-size: .94rem; }

/* ---------- dashboard ---------- */
.lx-dash-hero { padding: clamp(36px, 5vw, 60px) 0 clamp(56px, 7vw, 80px); }
.lx-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.lx-dash-hello { display: flex; align-items: center; gap: 18px; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.3rem; border-radius: 20px; background: linear-gradient(140deg, #f6d27a, #e9b949); color: #4a3205; }
.lx-hello-small { color: #bfaed5; font-weight: 600; }
.lx-dash-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.lx-dash-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; }
.lx-dash-stats > div { min-width: 104px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.lx-dash-stats strong { display: block; font-size: 1.6rem; color: #fff; line-height: 1; }
.lx-dash-stats small { color: #bfaed5; font-weight: 600; font-size: .8rem; }
.lx-dash { padding-top: 40px; }
.lx-dash-title { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; margin: 40px 0 18px; scroll-margin-top: 100px; }
.lx-dash-title:first-child { margin-top: 0; }
.lx-dash-title .icon { color: var(--brand-500); }
.lx-continue { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.lx-cont-card { --c: var(--brand-600); display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.lx-cont-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lx-cont-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lx-cont-body > small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.lx-cont-body strong { color: var(--ink); line-height: 1.25; }
.lx-cont-card .btn { flex: none; }
.lx-cert-list { display: grid; gap: 12px; }
.lx-cert-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(120deg, #fffaf0, #fff 60%); border: 1px solid #f0dfaf; }
.lx-cert-thumb { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbe3a1, #d29d2c 70%); color: #5b3d06; }
.lx-cert-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lx-cert-info strong { color: var(--ink); }
.lx-cert-info small { color: var(--muted); }
.lx-cert-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lx-empty-start { text-align: center; display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-xl); background: linear-gradient(130deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); margin-bottom: 30px; }
.lx-empty-start p { color: var(--muted); }

/* ---------- auth ---------- */
.lx-auth { display: grid; grid-template-columns: 1fr 1.1fr; min-height: calc(100vh - 76px); }
.lx-auth-side { position: relative; overflow: hidden; isolation: isolate; background: var(--brand-950); color: #d6c8e4; display: grid; place-items: center; padding: 48px; }
.lx-auth-side-inner { max-width: 420px; }
.lx-auth-side h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -.03em; }
.lx-auth-side ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.lx-auth-side li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.lx-auth-side li .icon { width: 20px; height: 20px; color: #f6d27a; flex: none; }
.lx-auth-side .lx-mini-cert { transform: rotate(-3deg); animation: bob 7s ease-in-out infinite; }
.lx-auth-main { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px) 16px; background: var(--bg); }
.lx-auth-card { width: min(100%, 480px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.lx-auth-card h1 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.03em; }
.lx-auth-card > .muted { margin-top: 6px; }
.lx-auth-card > .lx-ic { margin-bottom: 16px; }
.lx-auth-card a:not(.btn) { color: var(--brand-600); font-weight: 700; }
.lx-auth-card .alert { margin-top: 16px; }
.lx-form { display: grid; gap: 16px; margin-top: 22px; }
.lx-box.lx-form { margin-top: 0; align-content: start; }
.lx-form .field { margin: 0; }
.lx-form .btn { justify-self: start; }
.lx-form .btn.lx-full { justify-self: stretch; }
.lx-forgot { text-align: right; font-size: .9rem; margin-top: -6px; }
.lx-account { padding-top: 48px; }
.lx-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.lx-acc-grid .lx-box + .lx-box { margin-top: 0; }

/* ---------- header extras ---------- */
.lms-mega { width: min(560px, 92vw); grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; }
.lms-mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.lms-mega a:hover { background: var(--brand-50); }
.lms-mega strong { display: block; font-size: .92rem; color: var(--ink); }
.lms-mega small { color: var(--muted); font-size: .78rem; }
.lms-mega .mega-foot { grid-column: 1 / -1; }
.lx-user { position: relative; }
.lx-user-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.lx-user-btn .avatar { width: 34px; height: 34px; font-size: .8rem; }
.lx-user-name { font-weight: 700; color: var(--ink); }
.lx-user.open .lx-user-menu { opacity: 1; visibility: visible; transform: none; }
.lx-user-btn { cursor: pointer; font: inherit; }
.lx-user-btn > .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.lx-user.open .lx-user-btn > .icon { transform: rotate(180deg); }
.lx-user-menu { left: auto; right: 0; translate: none; width: 220px; grid-template-columns: 1fr; display: grid; gap: 2px; padding: 8px; transform-origin: top right; }
.lx-user-menu a, .lx-user-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; font: inherit; font-weight: 600; color: var(--text); background: none; border: 0; cursor: pointer; text-align: left; }
.lx-user-menu a:hover, .lx-user-menu button:hover { background: var(--brand-50); color: var(--brand-700); }
.lx-user-menu .icon { width: 18px; height: 18px; color: var(--brand-500); }
.lx-drawer-user { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0 0 8px; border-radius: 14px; background: var(--brand-50); }
.lx-drawer-user strong { display: block; color: var(--ink); }
.lx-drawer-user small { color: var(--muted); font-size: .8rem; word-break: break-all; }
.drawer-links .lx-ic.sm { width: 30px; height: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .lx-player { grid-template-columns: 290px 1fr; }
  .lx-dash-stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 960px) {
  .lx-hero-inner, .lx-spot, .lx-course-hero-inner, .lx-course-layout, .lx-verify-inner { grid-template-columns: 1fr; }
  .lx-hero-visual { min-height: 340px; margin-top: 10px; }
  .lx-course-side { position: static; }
  .lx-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .lx-steps::before { display: none; }
  .lx-stats-grid { grid-template-columns: 1fr 1fr; }
  .lx-stat:nth-child(3) { border-left: 0; }
  .lx-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lx-auth { grid-template-columns: 1fr; }
  .lx-auth-side { display: none; }
  .lx-acc-grid, .lx-vhow { grid-template-columns: 1fr; }
  /* player: contents become a slide-in drawer */
  .lx-player { grid-template-columns: 1fr; }
  .lx-side { position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; height: 100%; width: min(88vw, 360px); transform: translateX(-105%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
  .lx-drawer-open .lx-side { transform: none; }
  .lx-side-close { display: grid; }
  .lx-side-backdrop { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(18, 6, 28, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .lx-drawer-open .lx-side-backdrop { opacity: 1; pointer-events: auto; }
  .lx-drawer-open { overflow: hidden; }
  .lx-side-open { display: inline-flex; }
  .lx-stage { margin: 0 auto; }
  /* sticky enrol bar on course pages */
  .lx-sticky-cta { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .lx-sticky-cta > span { min-width: 0; display: grid; }
  .lx-sticky-cta strong { font-size: .9rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lx-sticky-cta small { color: var(--lx-green); font-weight: 700; font-size: .78rem; }
  .lx-sticky-cta .btn { padding: .7em 1.1em; font-size: .92rem; white-space: nowrap; }
  .lx-sticky-cta form { margin: 0; }
  .lms-site:has(.lx-sticky-cta) .fab { bottom: 92px; }
  .lms-site:has(.lx-sticky-cta) .lms-footer { padding-bottom: 90px; }
}
@media (max-width: 760px) {
  .lx-hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .lx-float.f1 { left: 0; top: 0; }
  .lx-float.f2 { right: 0; }
  .lx-float.f3 { display: none; }
  .lx-cert-mock { transform: none; animation: floatIn 1s var(--ease) both; }
  .lx-outcomes { grid-template-columns: 1fr; }
  .lx-course-facts { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .lx-two { grid-template-columns: 1fr; }
  .lx-dash-stats { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; }
  .lx-dash-stats > div { min-width: 0; padding: 12px 10px; text-align: center; }
  .lx-dash-stats strong { font-size: 1.3rem; }
  .lx-dash-stats small { font-size: .7rem; }
  .lx-continue { grid-template-columns: 1fr; }
  .lx-cont-card .btn { display: none; }
  .lx-cert-item { flex-wrap: wrap; }
  .lx-cert-btns { width: 100%; }
  .lx-cert-btns .btn { flex: 1; justify-content: center; }
  .lx-quiz-bar { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 10px 10px 14px; }
  .lx-quiz-bar .lx-bar { grid-column: 1 / -1; grid-row: 2; }
  .lx-quiz-bar .btn { padding: .8em 1.1em; font-size: .95rem; }
  .lx-q { padding: 16px; }
  .lx-lesson-nav .btn { flex: 1; justify-content: center; }
  .lx-lesson-nav > span:empty { display: none; }
  .lx-lesson-nav form { flex: 2; display: flex; }
  .lx-lesson-nav form .btn { width: 100%; }
  .lx-mod ol { padding-left: 16px; }
  .lx-cert-toolbar { justify-content: center; }
  .lx-cert-toolbar > .btn { width: 100%; justify-content: center; }
  .lx-cert-actions { justify-content: center; }
  .lms-mega { grid-template-columns: 1fr; }
  .lx-user-name { display: none; }
  .lx-results-bar { margin-top: 18px; }
}
@media (max-width: 520px) {
  .lx-stats-grid { padding: 4px; }
  .lx-stat { padding: 14px 12px; gap: 10px; }
  .lx-stat .lx-ic { width: 36px; height: 36px; border-radius: 11px; }
  .lx-stat strong { font-size: 1.35rem; }
  .lx-search { padding-left: 14px; }
  .lx-search .btn { padding: .75em 1em; }
  .lx-grid { grid-template-columns: 1fr; }
  .lx-cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lx-cat-tile { padding: 18px; }
  .lx-cat-tile .lx-ic.lg { width: 46px; height: 46px; }
  .lx-steps { grid-template-columns: 1fr; }
  .lx-spot-mods li { padding: 10px 12px; font-size: .9rem; }
  .lx-hero-visual { min-height: 280px; }
  .lx-float { padding: 9px 12px; }
  .lx-float small { display: none; }
  .lx-course-facts { font-size: .88rem; }
  .lx-verify-row input { font-size: 1rem; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-cert-mock, .lx-float, .lx-hero-bg span, .lx-card-art i, .lx-btn-complete, .lx-confetti, .lx-auth-side .lx-mini-cert { animation: none !important; }
  .lx-spot-mods li { opacity: 1; transform: none; }
}

/* ---------- audit fixes ---------- */
.lx-verify-inner > *, .lx-spot > *, .lx-course-hero-inner > *, .lx-course-layout > *, .lx-hero-inner > * { min-width: 0; }
.lx-verify-row input { width: 100%; }
@media (max-width: 420px) {
  .lx-verify-inner { padding: 22px 16px; }
  .lx-verify-row .btn { padding: .7em 1em; }
}
/* header: keep it on one line for signed-in learners */
@media (max-width: 1200px) { .lms-header .nav a[href^="http"] { display: none; } }
@media (max-width: 640px) { .lms-header .lx-user { display: none; } }
@media (max-width: 420px) {
  .lx-spot .btn-light, .lx-enrol-body .btn { white-space: normal; text-align: center; }
  .lx-sticky-cta > span { display: none; }
  .lx-sticky-cta .btn { flex: 1; justify-content: center; }
  .lx-side-open { padding: .5em .8em; }
}
@media (max-width: 400px) {
  .lms-header .brand img, .drawer .brand img { width: 42px; }
  .lms-header .brand-name, .drawer .brand-name { font-size: 1.2rem; }
  .lms-header .brand-sub, .drawer .brand-sub { letter-spacing: .12em; font-size: .52rem; }
  .lx-side-open { overflow: visible; flex: none; }
  .lx-stage-top { gap: 10px; }
  .lx-crumb { font-size: .78rem; }
}
.lx-stage { min-width: 0; } .prose-lx, .lx-lesson-head h1 { overflow-wrap: anywhere; }
.lx-dash .empty.empty-sm { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; padding: 22px 24px; }
.lx-dash .empty.empty-sm .empty-icon { margin: 0; width: 52px; height: 52px; border-radius: 16px; flex: none; }
.lx-dash .empty.empty-sm .empty-icon .icon { width: 26px; height: 26px; }
.lx-dash .empty.empty-sm p { margin: 0; color: var(--muted); }
.lx-side-open { flex: none; white-space: nowrap; }
@media (max-width: 760px) {
  .lx-lesson-nav { flex-direction: column-reverse; align-items: stretch; }
  .lx-lesson-nav > * { width: 100%; flex: none; }
  .lx-lesson-nav > span:empty { display: none; }
  .lx-lesson-nav .btn { width: 100%; justify-content: center; }
}
@media (max-width: 960px) {
  .lx-hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .lx-float.f1 { left: 0; }
  .lx-float.f2 { right: 0; }
}
