/* LearnityHub brand on top of Bootstrap 5.3 */
:root {
  --lh-navy: #0B2D6B; --lh-blue: #2563EB; --lh-amber: #F59E0B; --lh-soft: #DBEAFE; --lh-bg: #F8FAFC;
  --bs-primary: #2563EB; --bs-primary-rgb: 37, 99, 235; --bs-body-bg: #F8FAFC; --bs-border-radius: .75rem; --bs-border-radius-lg: 1rem;
  --bs-body-font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[dir="rtl"] { --bs-body-font-family: "Cairo", "Nunito", system-ui, sans-serif; }
body { background: var(--lh-bg); color: #0F172A; }
.btn { font-weight: 700; border-radius: .75rem; }
.btn-primary { --bs-btn-bg: var(--lh-blue); --bs-btn-border-color: var(--lh-blue); --bs-btn-hover-bg: #1D4ED8; --bs-btn-hover-border-color: #1D4ED8; }
.text-navy { color: var(--lh-navy) !important; } .text-amber { color: var(--lh-amber) !important; }
.bg-navy { background: var(--lh-navy) !important; }
.brand { font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand .a { color: var(--lh-navy); } .brand .b { color: var(--lh-amber); }
.card { border-color: #E2E8F0; border-radius: 1rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card-title { font-weight: 800; }
.hero { background: linear-gradient(90deg, var(--lh-navy), var(--lh-blue)); color: #fff; border-radius: 1rem; }
.stat-label { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748B; }
.stat-value { font-size: 1.6rem; font-weight: 800; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; color: #64748B; background: #F1F5F9; border-radius: .35rem; padding: .1rem .4rem; white-space: nowrap; }
.nav-tabs-lh .nav-link { font-weight: 700; color: #64748B; border: 0; border-bottom: 2px solid transparent; border-radius: 0; }
.nav-tabs-lh .nav-link.active { color: var(--lh-blue); border-bottom-color: var(--lh-blue); background: transparent; }
.badge-status { font-weight: 700; }
.choice-card { border: 2px solid #E2E8F0; border-radius: 1rem; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.choice-card:hover { border-color: #93C5FD; }
.btn-check:checked + .choice-card, .choice-card.active { border-color: var(--lh-blue); background: #EFF6FF; }
.steps { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; }
.steps li { display: flex; align-items: center; gap: .4rem; font-weight: 700; color: #64748B; font-size: .9rem; }
.steps .dot { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E2E8F0; font-size: .8rem; }
.steps li.done .dot { background: #10B981; color: #fff; } .steps li.on { color: #0F172A; } .steps li.on .dot { background: var(--lh-blue); color: #fff; }
.progress { height: .5rem; }
.avatar { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #DBEAFE; font-size: 1.2rem; }
.tabular { font-variant-numeric: tabular-nums; }
/* practice player */
.q-option { min-height: 92px; border: 2px solid #E2E8F0; border-radius: 1rem; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; width: 100%; }
.q-option:hover:not(:disabled) { border-color: #93C5FD; } .q-option.sel { border-color: var(--lh-blue); background: #EFF6FF; }
.q-option.ok { border-color: #10B981; background: #ECFDF5; } .q-option.bad { border-color: #F43F5E; background: #FFF1F2; }
.q-option .letter { position: absolute; top: .35rem; inset-inline-start: .6rem; font-size: .7rem; font-weight: 800; color: #94A3B8; }
.frac { display: inline-flex; flex-direction: column; align-items: center; font-weight: 800; line-height: 1; vertical-align: middle; }
.frac .bar { width: 100%; border-top: 3px solid currentColor; margin: .25rem 0; }
.frac-lg { font-size: 3rem; } .frac-md { font-size: 1.8rem; }
.q-input { width: 6rem; text-align: center; font-size: 1.8rem; font-weight: 800; border: 2px solid #CBD5E1; border-radius: .75rem; padding: .3rem; }
.svg-click [data-part], .svg-click [data-tick] { cursor: pointer; }
.tree-lesson { border: 1px solid #E2E8F0; border-radius: .75rem; background: #fff; }
.tree-lesson.has-sel { border-color: #93C5FD; background: #F8FBFF; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* Account pages */
body { min-height:100vh; display:flex; flex-direction:column; }
body > main { flex:1; width:100%; }
.account-nav-link { display:inline-flex; align-items:center; gap:.5rem; padding:.25rem .45rem; color:var(--lh-navy); text-decoration:none; font-size:.82rem; font-weight:800; border-radius:2rem; }
.account-nav-link:hover,.account-nav-link.active { color:var(--lh-blue); background:#EFF6FF; }
.account-nav-avatar { width:2rem; height:2rem; border-radius:50%; display:grid; place-items:center; background:#DBEAFE; color:var(--lh-navy); }
.account-page { max-width:1080px; margin:1.3rem auto 3rem; }
.account-page-heading { margin-bottom:2rem; }
.account-page-heading h1 { color:var(--lh-navy); font-size:clamp(1.8rem,4vw,2.45rem); font-weight:800; margin-bottom:.5rem; }
.account-page-heading > p:last-child { color:#64748B; }
.account-eyebrow { color:var(--lh-blue); font-size:.72rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; margin-bottom:.55rem; }
.account-layout { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.7fr); gap:1.5rem; align-items:start; }
.account-summary { border:1px solid #E2E8F0; background:linear-gradient(150deg,#fff 65%,#EFF6FF); position:sticky; top:6rem; }
.account-monogram { width:4.4rem; height:4.4rem; display:grid; place-items:center; background:var(--lh-navy); color:white; font-weight:800; font-size:1.5rem; border-radius:1.3rem; box-shadow:7px 7px 0 #FDE68A; }
.account-identities dt { color:#64748B; font-size:.75rem; margin-bottom:.25rem; }
.account-identities dd { color:#0F172A; font-size:.86rem; overflow-wrap:anywhere; margin-bottom:1rem; text-align:start; }
.account-note { color:#64748B; font-size:.75rem; border-top:1px solid #E2E8F0; padding-top:1rem; line-height:1.7; }
.account-side-link { display:flex; align-items:center; justify-content:space-between; gap:1rem; color:var(--lh-navy); padding:.7rem 0; text-decoration:none; font-weight:700; font-size:.84rem; }
.account-form-stack { display:grid; gap:1.5rem; }
.account-form-stack .card,.auth-recovery .card { border:1px solid #E2E8F0; box-shadow:0 9px 35px #0B2D6B06; }
.account-section-number { color:#94A3B8; font-size:.75rem; letter-spacing:.06em; font-weight:800; margin-bottom:1rem; }
.account-form-stack h2,.auth-recovery h1 { color:var(--lh-navy); }
.account-form-stack .form-control,.auth-recovery .form-control { min-height:46px; background:white; border-color:#CBD5E1; }
.account-form-stack .form-text ul { padding-inline-start:1.1rem; }
.auth-recovery { max-width:510px; margin:1.5rem auto 3rem; }
.auth-back-link { display:inline-block; margin-bottom:1rem; font-size:.85rem; color:#64748B; text-decoration:none; }
.auth-back-link:hover { color:var(--lh-blue); }
.auth-symbol { width:3.5rem; height:3.5rem; display:grid; place-items:center; border-radius:1rem; background:#EFF6FF; color:var(--lh-blue); font-size:1.65rem; font-weight:800; box-shadow:5px 5px 0 #FEF3C7; }
/* Footer: shared by public, parent and student pages */
.site-footer { position:relative; margin-top:2rem; background:var(--lh-navy); color:#D8E5FC; }
.site-footer::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#2563EB 0%,#38BDF8 48%,#F59E0B 100%); }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr 1fr; gap:3rem; padding:3.4rem 0 2.7rem; }
.footer-logo-link { display:inline-flex; background:#fff; padding:.65rem 1rem; border-radius:1rem; text-decoration:none; }
.footer-logo-link img { width:154px; height:auto; display:block; }
.footer-tagline { color:white; font-size:1.05rem; font-weight:800; margin:1.3rem 0 .55rem; }
.footer-description { max-width:300px; color:#B9CCE9; font-size:.85rem; line-height:1.9; margin:0; }
.site-footer h2 { color:#fff; font-size:.95rem; font-weight:800; margin:0 0 1.3rem; }
.footer-links { display:flex; align-items:flex-start; flex-direction:column; gap:.7rem; }
.footer-links h2 { margin-bottom:.6rem; }
.footer-links a,.footer-sub-link,.footer-account-links a { color:#D8E5FC; text-decoration:none; font-size:.84rem; }
.footer-links a:hover,.footer-sub-link:hover,.footer-account-links a:hover { color:#FDE68A; text-decoration:underline; }
.footer-welcome { color:#B9CCE9; font-size:.86rem; margin:0 0 1rem; overflow-wrap:anywhere; }
.footer-welcome b { color:#fff; }
.footer-action { display:flex; align-items:center; justify-content:space-between; gap:1rem; max-width:290px; padding:.85rem 1rem; border:1px solid #638AC1; border-radius:.75rem; color:white; font-size:.87rem; font-weight:800; text-decoration:none; margin-top:1rem; }
.footer-action:hover { color:var(--lh-navy); background:#FCD34D; border-color:#FCD34D; }
.footer-action span { color:#FCD34D; font-size:1.2rem; }.footer-action:hover span { color:var(--lh-navy); }
.footer-sub-link { display:inline-block; margin-top:.9rem; }
.footer-signout { margin-top:.6rem; }.footer-signout button { color:#D8E5FC; background:none; border:0; font:inherit; font-size:.84rem; padding:.35rem 0; text-decoration:underline; text-underline-offset:3px; }
.footer-signout button:hover { color:#FDE68A; }
.footer-account-links { display:flex; flex-wrap:wrap; gap:.6rem 1.1rem; margin-top:1.2rem; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding:1.2rem 0; border-top:1px solid #355B91; font-size:.75rem; color:#B9CCE9; }
.footer-language { display:flex; align-items:center; gap:.65rem; }
.footer-language select { background:#143D7D; color:white; border:1px solid #638AC1; border-radius:.5rem; padding:.3rem .6rem; font:inherit; }
.site-footer a:focus-visible,.site-footer button:focus-visible,.site-footer select:focus-visible { outline:3px solid #FCD34D; outline-offset:4px; }
@media(max-width:991.98px) { .footer-grid { gap:2rem; grid-template-columns:1fr 1fr; }.footer-brand-block { grid-column:1/-1; }.footer-description { max-width:420px; } }
@media(max-width:767.98px) { .account-layout { grid-template-columns:1fr; }.account-summary { position:static; }.account-page { margin-top:.5rem; } }
@media(max-width:575.98px) { .footer-grid { grid-template-columns:1fr; gap:2rem; padding-top:2.4rem; }.footer-brand-block { grid-column:auto; }.footer-bottom { align-items:flex-start; flex-direction:column; }.footer-action { max-width:none; } }

.lh-phone-input{display:flex;gap:10px;align-items:start}.lh-phone-input select{width:45%;min-width:130px}.lh-phone-input input{flex:1;min-width:0}@media(max-width:480px){.lh-phone-input{flex-direction:column}.lh-phone-input select,.lh-phone-input input{width:100%}}

.children-stepper{display:flex;align-items:center;border:1px solid #c8d7ea;border-radius:17px;overflow:hidden;background:#fff;direction:ltr}.children-stepper button{border:0;background:transparent;color:#143e67;width:44px;height:48px;font-size:24px}.children-stepper button:disabled{opacity:.35}.children-stepper input{border:0;width:56px;text-align:center;font-size:22px;font-weight:700;color:#0b2d6b;appearance:textfield;-moz-appearance:textfield}.children-stepper input::-webkit-inner-spin-button,.children-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.child-card{padding:22px 20px;border:1px solid #dce5f2;border-radius:22px;margin-top:16px;background:white}.child-card .form-control{border-radius:16px;min-height:46px}.year-pills{display:inline-flex;align-items:center;gap:3px;padding:5px;border-radius:18px;background:#f0f4f8;direction:ltr}.year-pills label{padding:9px 13px;border-radius:12px;cursor:pointer;color:#355574}.year-pills input:checked+label{background:#fff;color:#175cff;box-shadow:0 1px 4px #103e6626;font-weight:700}.year-pills input:focus-visible+label{outline:3px solid #f0b849;outline-offset:2px}.year-pills input:disabled+label{cursor:default}.child-card .course-opt .btn{padding:8px 15px}.child-card .course-opt input:checked+label{background:#175cff;border-color:#175cff;color:white}.children-stepper button:focus-visible,.children-stepper input:focus-visible{outline:3px solid #f0b849;outline-offset:-3px}@media(max-width:480px){.child-card{padding:18px 15px}.year-pills label{padding:8px 12px}}

.child-card .course-opt input:checked+label::before{content:"✓ ";font-weight:700}
/* Student lesson catalogue */
.lesson-catalogue{max-width:1120px;margin-inline:auto;color:#18283f}.catalogue-heading h1{font-size:30px;font-weight:800;color:#0e306b;margin-bottom:5px}.catalogue-heading p{color:#70819b;margin-bottom:23px}.catalogue-hero{background:#10326d;color:#fff;border-radius:22px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.next-badge{display:inline-block;color:#253248;background:#ffb50d;border-radius:18px;font-size:11px;font-weight:800;padding:5px 12px;letter-spacing:.6px}.catalogue-hero h2{font-size:24px;font-weight:800;margin:11px 0}.catalogue-hero p{color:#bccde9;font-size:14px;margin-bottom:14px}.hero-progress{display:flex;align-items:center;gap:12px;font-size:12px;color:#d4e1f6}.hero-progress .progress{width:220px;max-width:100%;height:9px;background:#29498e}.hero-progress .progress-bar{background:#20c997}.hero-actions{display:flex;flex-direction:column;gap:9px;min-width:210px;max-width:250px}.hero-primary,.hero-secondary{display:block;width:100%;text-align:center;border-radius:14px;padding:11px 15px;font-weight:800;text-decoration:none;line-height:1.4;font-size:14px}.hero-primary{background:#fff;color:#123574!important;border:1px solid #fff}.hero-secondary{border:1px solid #6681af;color:#fff!important;background:transparent}.catalogue-filters{padding:20px;border:1px solid #e0e8f4;border-radius:22px;background:#fff;margin-bottom:22px}.filter-line{display:flex;align-items:center;gap:14px;margin-bottom:14px}.filter-line>strong{min-width:65px;font-size:14px}.filter-scroll{display:flex;gap:8px;overflow-x:auto;align-items:center;padding:2px 1px 8px;scrollbar-width:thin;flex:1;min-width:0}.subject-chip{border:1px solid #d4dfef;border-radius:25px;padding:10px 16px;white-space:nowrap;text-decoration:none;font-size:13px;font-weight:800;color:#29415e}.subject-chip.selected{background:#2464ef;color:white;border-color:#2464ef}.subject-chip.unavailable{color:#7588a5;background:#f7f9fc;border-style:dashed;font-size:12px}.topic-chip{border:1px solid #d9e3f2;background:#f7f9fc;white-space:nowrap;border-radius:12px;padding:10px 13px;color:#6a7f9d;font-size:12px;font-weight:700;text-decoration:none}.topic-chip.selected{color:#233a59;background:white;border-color:#b7cdf4;box-shadow:0 1px 4px #133d6a12}.topic-chip span{background:#e8effa;font-size:10px;border-radius:14px;margin-inline-start:8px;padding:3px 7px}.filter-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #eff2f7;padding-top:15px}.status-tabs{display:flex;gap:3px;background:#f0f4f9;border-radius:13px;padding:4px;overflow:auto;max-width:100%}.status-tabs a{white-space:nowrap;color:#4f627e;font-size:12px;font-weight:800;padding:9px 11px;text-decoration:none;border-radius:9px}.status-tabs a.selected{background:white;color:#163a79;box-shadow:0 1px 3px #15365b1a}.status-tabs span{font-size:11px}.lesson-search{display:flex;align-items:center;border:1px solid #d6e1f1;border-radius:12px;min-width:230px}.lesson-search input{border:0;background:transparent;outline:none;padding:11px 12px;width:100%;min-width:0;font-size:13px}.lesson-search button{background:none;border:0;padding:4px 12px;color:#476286;font-size:23px}.catalogue-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:12px;margin:20px 0;color:#71819b}.catalogue-legend strong{color:#24344c}.catalogue-legend span{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.lesson-catalogue .mastered{background:#079d72}.lesson-catalogue .practising{background:#2563eb}.lesson-catalogue .weak{background:#f59e0b}.lesson-catalogue .new{background:#e0e7f0}.legend-dot.new{border:1px solid #8da0ba;background:white}.lesson-stack{display:flex;flex-direction:column;gap:14px}.lesson-panel{background:white;border:1px solid #e1e9f4;border-radius:20px;overflow:hidden;scroll-margin-top:90px}.lesson-panel summary{list-style:none;cursor:pointer}.lesson-panel summary::-webkit-details-marker{display:none}.lesson-panel-heading{display:flex;align-items:center;gap:14px;padding:16px 18px}.lesson-number{width:48px;min-width:48px;height:51px;border-radius:13px;background:#e2ecfd;color:#123d7f;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1}.lesson-number small{font-size:8px;font-weight:800;margin-bottom:4px}.lesson-number strong{font-size:24px;font-weight:800}.lesson-number.state-completed{background:#d3fae9;color:#067451}.lesson-number.state-in_progress{background:#2464ef;color:#fff}.lesson-number.state-coming_soon{background:#f0f4f8;color:#8b9bb1}.lesson-heading-copy{flex:1;min-width:0}.lesson-title-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.lesson-title-line h2{font-size:17px;font-weight:800;margin:0;line-height:1.4}.lesson-heading-copy p{font-size:11px;color:#7c8da7;margin:5px 0 0;overflow-wrap:anywhere}.lesson-state{font-size:10px;font-weight:800;border-radius:15px;background:#f0f4fa;color:#4c617e;padding:4px 9px}.lesson-state.state-completed{background:#d1f8e7;color:#057657}.lesson-state.state-in_progress{background:#e0eaff;color:#2059d8}.lesson-state.state-coming_soon{color:#8698b2}.lesson-overview{width:180px;font-size:11px;color:#6e819d}.skill-segments{display:flex;gap:4px;margin-bottom:6px;flex-wrap:wrap}.skill-segments i{display:block;flex:1;min-width:12px;max-width:24px;height:7px;border-radius:9px}.skill-segments .soon{background:#f0f4f9;border:1px dashed #dae3f0}.lesson-overview p{margin:0;line-height:1.5;font-weight:700}.lesson-toggle{width:35px;height:35px;border-radius:12px;background:#f0f4f9;color:#546d90;display:grid;place-items:center;font-size:23px;flex-shrink:0}.lesson-panel[open] .lesson-toggle{transform:rotate(180deg)}.current-lesson{border:2px solid #ffb000;box-shadow:0 4px 12px #ffb00016}.current-lesson-ribbon{background:#fff3c5;color:#8c4911;padding:5px 16px;font-size:11px;font-weight:800}.lesson-skills{padding:0 16px 15px;display:flex;flex-direction:column;gap:9px}.catalogue-skill{display:flex;align-items:center;gap:14px;background:#f7f9fc;border:1px solid #e6edf6;border-radius:16px;padding:14px 13px}.catalogue-skill.next-skill{background:#edf5ff;border:2px solid #5083ff}.skill-marker{width:29px;height:29px;min-width:29px;border-radius:50%;display:grid;place-items:center;font-size:18px;color:white;background:#e0e7f0}.state-mastered .skill-marker{background:#079d72}.state-practising .skill-marker{background:#2563eb}.state-weak .skill-marker{background:#f59e0b}.state-new .skill-marker{border:1.5px solid #92a6c4;background:#fff}.state-soon .skill-marker{background:#eff3f8;color:#a4b3c7}.skill-copy{flex:1;min-width:0}.skill-copy h3{font-size:14px;font-weight:800;line-height:1.5;margin:0 0 3px}.skill-copy p{font-size:11px;color:#778ba7;margin:0}.skill-state{font-weight:800}.state-mastered .skill-state{color:#078463}.state-practising .skill-state{color:#2059d8}.state-weak .skill-state{color:#a75c00}.state-soon{color:#7d90aa}.skill-actions{display:flex;align-items:center;gap:8px}.skill-video,.skill-practise{font-size:12px;font-weight:800;border-radius:12px;padding:11px 14px;text-decoration:none;white-space:nowrap}.skill-video{background:white;border:1px solid #cedbef;color:#324b6c}.skill-practise{background:#10326d;border:1px solid #10326d;color:#fff!important}.next-skill .skill-practise{background:#2464ef;border-color:#2464ef}.skill-practise.practice-again{background:white;color:#205de7!important;border-color:#bad0ff}.soon-label{font-size:12px;font-weight:800;color:#7b8fae}.lesson-detail-link{font-size:12px;align-self:flex-end;padding:6px}.locked-lesson{color:#627791}.locked-lesson .lesson-title-line h2{color:#596d86}.lesson-catalogue a:focus-visible,.lesson-catalogue button:focus-visible,.lesson-catalogue summary:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}.lesson-search:focus-within{outline:3px solid #b6cef7}.lesson-catalogue form{margin:0}
@media(max-width:767px){.catalogue-hero{align-items:stretch;flex-direction:column;padding:22px}.hero-actions{max-width:none;min-width:0;flex-direction:row;flex-wrap:wrap}.hero-actions>*{flex:1;min-width:160px}.hero-progress{flex-wrap:wrap}.catalogue-filters{padding:15px}.filter-bottom{flex-direction:column;align-items:stretch}.lesson-search{width:100%;min-width:0}.catalogue-legend{gap:10px}.lesson-panel-heading{gap:10px;padding:14px 12px;flex-wrap:wrap}.lesson-heading-copy{min-width:calc(100% - 105px)}.lesson-overview{margin-inline-start:58px;width:auto;flex:1}.lesson-toggle{width:29px;height:29px}.lesson-title-line h2{font-size:15px}.catalogue-skill{gap:10px;flex-wrap:wrap;padding:12px}.skill-copy{min-width:calc(100% - 48px)}.skill-actions{margin-inline-start:39px;flex-wrap:wrap}.lesson-skills{padding:0 10px 12px}.catalogue-heading h1{font-size:26px}.filter-line{gap:9px}.filter-line>strong{min-width:52px;font-size:12px}}
/* Skill video and lesson study */
.skill-study-page{max-width:1200px;margin-inline:auto;color:#17243c}.study-breadcrumb{display:flex;align-items:center;gap:18px;margin:6px 0 28px;flex-wrap:wrap}.study-back{border:1px solid #cfdbed;border-radius:14px;padding:12px 18px;background:white;color:#344966;text-decoration:none;font-weight:800;white-space:nowrap}.study-breadcrumb>span{font-size:13px;color:#6d829f;line-height:1.7}.study-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.study-main{min-width:0}.study-reference{color:#7084a2;font-size:13px;margin:0 0 10px}.study-heading h1{font-size:32px;color:#10336e;font-weight:800;line-height:1.25;margin:0 0 14px}.study-status{display:inline-block;background:#edf2f8;color:#536b8b;padding:5px 12px;border-radius:20px;font-size:13px;font-weight:800;margin-bottom:18px}.study-status.state-practising{background:#dfebff;color:#2057d1}.study-status.state-mastered{background:#d6f6e8;color:#087456}.study-status.state-weak{background:#fff0cc;color:#995a00}.study-video-shell{position:relative;overflow:hidden;border-radius:22px;background:#1d293b;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}.study-video{display:block;width:100%;height:100%;object-fit:contain;background:#1d293b}.study-video-label{position:absolute;top:15px;inset-inline-start:15px;z-index:1;max-width:90%;border-radius:8px;background:#101a2ad9;color:#e8eef8;padding:7px 11px;font-size:12px;font-weight:800;pointer-events:none}.study-play{position:absolute;inset-inline-start:50%;top:50%;transform:translate(-50%,-50%);border:0;width:85px;height:85px;border-radius:50%;background:#fff;color:#10336e;font-size:30px;display:grid;place-items:center;box-shadow:0 4px 20px #0002;z-index:2}.study-play[hidden]{display:none}.study-no-video{padding:30px;text-align:center;color:#d4dfef;max-width:470px}.study-video-symbol{font-size:64px;line-height:1;color:#e3ecf8}.study-no-video h2{font-size:20px;font-weight:800;margin:20px 0 8px}.study-no-video p{font-size:14px;color:#aebed5;line-height:1.7;margin:0}.study-video-list{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.study-video-list a{font-size:12px;color:#36557b;border:1px solid #d5e1f1;border-radius:12px;background:#fff;padding:8px 12px;text-decoration:none}.study-video-list a.selected{border-color:#2864ef;color:#2059d8;background:#edf4ff}.study-watched{color:#07845c;font-size:12px;margin-top:10px}.study-practice{margin-top:18px;display:flex;align-items:center;gap:20px;justify-content:space-between;padding:22px 18px;border:2px solid #3473ff;border-radius:22px;background:#fff}.study-practice h2{font-size:21px;font-weight:800;margin:0 0 6px}.study-practice p{font-size:13px;line-height:1.7;color:#6c7e98;margin:0}.study-start{display:inline-block;min-width:205px;text-align:center;border-radius:17px;border:1px solid #2563eb;background:#2563eb;color:white!important;padding:17px 22px;font-size:18px;font-weight:800;text-decoration:none;box-shadow:0 8px 20px #2563eb30;white-space:nowrap}.study-footnote{font-size:13px;color:#7185a0;margin:15px 0}.study-objectives{border:1px solid #dbe5f1;border-radius:15px;background:#fff;padding:15px;margin-top:18px;font-size:14px}.study-objectives summary{font-weight:800;cursor:pointer}.study-objectives>div{padding-top:12px;line-height:1.8;color:#59708e}.study-sidebar{border:1px solid #dfe8f4;border-radius:24px;background:white;padding:20px 18px;position:sticky;top:90px}.study-sidebar h2{font-size:21px;font-weight:800;margin:0 0 7px}.study-sidebar-progress{font-size:13px;color:#687d9c;line-height:1.7;margin-bottom:15px}.study-skills{display:flex;flex-direction:column;gap:8px}.study-skill{display:flex;align-items:center;gap:12px;border:1px solid #e0e8f3;border-radius:15px;background:#f7f9fc;padding:15px 12px;text-decoration:none;color:#26384f;min-height:77px}.study-skill.selected{background:#eef5ff;border:2px solid #3272ff;padding:14px 11px}.study-skill-marker{width:28px;height:28px;min-width:28px;border-radius:50%;background:#e8eef6;display:grid;place-items:center;color:white;font-size:19px}.study-skill.state-mastered .study-skill-marker{background:#079d72}.study-skill.state-practising .study-skill-marker{background:#2464ef}.study-skill.state-weak .study-skill-marker{background:#f59e0b}.study-skill.state-new .study-skill-marker{background:white;border:1.5px solid #a6b8d0}.study-skill.state-soon .study-skill-marker{background:#f0f4f9;border:1px dashed #cbd8e9}.study-skill-copy{flex:1;min-width:0}.study-skill-copy strong{display:block;font-size:14px;font-weight:800;line-height:1.5}.study-skill-copy small{display:block;font-size:12px;margin-top:3px;color:#6b809e;font-weight:700}.study-skill.state-mastered small{color:#078563}.study-skill.state-practising small{color:#2059d8}.study-skill.state-weak small{color:#a85a00}.study-skill.state-soon strong{color:#6d8099}.study-skill-video{color:#6f84a0;font-size:20px}.skill-study-page a:focus-visible,.skill-study-page button:focus-visible,.skill-study-page video:focus-visible,.skill-study-page summary:focus-visible{outline:3px solid #ffc04d;outline-offset:3px}.skill-study-page form{margin:0}
html[dir="rtl"] .study-play{transform:translate(50%,-50%)}
@media(max-width:991px){.study-grid{grid-template-columns:minmax(0,1fr) 290px;gap:18px}.study-practice{align-items:stretch;flex-direction:column}.study-start{width:100%;min-width:0}.study-heading h1{font-size:28px}.study-sidebar{padding:18px 14px}.study-skill-copy strong{font-size:13px}}
@media(max-width:767px){.study-grid{grid-template-columns:1fr}.study-sidebar{position:static;margin-top:8px}.study-breadcrumb{gap:10px;margin-bottom:20px}.study-breadcrumb>span{font-size:12px}.study-heading h1{font-size:27px}.study-video-shell{border-radius:18px;aspect-ratio:16/10}.study-play{width:65px;height:65px;font-size:24px}.study-video-label{font-size:11px;top:10px;inset-inline-start:10px;padding:6px 8px}.study-no-video{padding:20px}.study-no-video h2{font-size:17px}.study-practice{padding:19px 16px}.study-practice h2{font-size:19px}}

.study-skill{flex-wrap:wrap}.study-skill-main{display:flex;align-items:center;gap:12px;flex:1;min-width:130px;text-decoration:none;color:inherit}.study-video-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 10px;border:1px solid #b9cceb;border-radius:10px;background:white;color:#174ea9;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}.study-skill.selected .study-video-button{border-color:#2464ef}.lesson-detail-explanation{display:flex;align-items:flex-end;flex-direction:column;gap:4px;padding:7px 3px}.lesson-detail-explanation span{font-size:12px;color:#617793;max-width:520px;text-align:end;line-height:1.7}.lesson-detail-explanation .lesson-detail-link{font-weight:800}

/* Subscription and account controls */
.pin-boxes{display:flex;gap:clamp(6px,2vw,12px);justify-content:center;margin:24px 0}
.pin-digit{width:clamp(32px,9vw,52px);height:58px;text-align:center;font-size:1.6rem;border:1.5px solid #cbd5e1;border-radius:12px;background:#fff;color:#0d2f6d;min-width:0}
.pin-digit:focus{outline:3px solid #dbeafe;border-color:#2563eb}
.site-navbar .navbar-toggler{border:1px solid #dbe3f0;border-radius:12px;padding:10px}
.site-navbar .nav-link{border-radius:10px;font-weight:700;padding:.65rem .8rem}
.site-navbar .nav-link:hover,.site-navbar .nav-link.active{background:#eff6ff;color:#245df5}
.site-navbar .nav-account-actions{flex-shrink:0}
.site-navbar .nav-account-actions form{margin:0}
@media(max-width:1199.98px){
.site-navbar .navbar-collapse{margin-top:16px;padding:16px 0 8px;border-top:1px solid #e5edf7;max-height:calc(100dvh - 100px);overflow-y:auto}
.site-navbar .navbar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px!important}
.site-navbar .nav-link{background:#f5f8fc;height:100%;display:flex;align-items:center;min-height:46px;padding:12px}
.site-navbar .nav-account-actions{flex-wrap:wrap;gap:10px!important;border-top:1px solid #e5edf7;padding-top:16px}
.site-navbar .nav-account-actions>.btn,.site-navbar .nav-account-actions>form,.site-navbar .account-nav-link{flex:1 1 auto;text-align:center;justify-content:center;min-height:44px}
.site-navbar .nav-account-actions form .btn{width:100%;min-height:44px}
.site-navbar .brand{font-size:1.3rem}
}
@media(min-width:1200px){.site-navbar .nav-link{font-size:.85rem;padding:.5rem!important}.site-navbar .profile-nav-label{display:none}}
/* Shared navigation and page rhythm */
:root{--lh-line:#e3eaf4;--lh-muted:#64748b;--lh-shadow:0 12px 32px #163a7010}
body{line-height:1.65}
h1,h2,h3{letter-spacing:-.025em}h1{color:var(--lh-navy);font-weight:800}
main>h1:first-of-type{margin-bottom:1.25rem}
main .card{background:#fff;border-color:var(--lh-line);box-shadow:0 3px 16px #163a7005}
main .card-body{padding:clamp(1.15rem,2vw,1.65rem)}
main .form-control,main .form-select{background-color:#fff;border-color:#ced9e8;min-height:44px}
main .form-control:focus,main .form-select:focus{border-color:#7da7ff;box-shadow:0 0 0 3px #2563eb18}
main .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:.35rem}
main .table{--bs-table-bg:#fff;--bs-table-border-color:#edf1f7}main .table th{color:#596a83;font-size:.8rem;background:#f8fafc}
a,button,input,select,summary{touch-action:manipulation}
:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.skip-link{position:fixed;inset-block-start:-100px;inset-inline-start:16px;z-index:2000;padding:.7rem 1rem;background:#fff;border:2px solid #2563eb;border-radius:10px}
.skip-link:focus{inset-block-start:10px}
.site-navbar{border-bottom:1px solid var(--lh-line);box-shadow:0 3px 18px #0b2d6b05;padding-block:12px;z-index:1040}
.site-navbar .brand{font-size:1.35rem;white-space:nowrap}
.site-navbar .nav-tabs-lh .nav-link{border:0;border-radius:12px;display:flex;gap:.45rem;align-items:center;padding:.7rem .85rem!important;font-size:.88rem;min-height:44px;color:#52627b}
.site-navbar .nav-tabs-lh .nav-link.active{background:#edf4ff;color:#215ee4}
.nav-symbol{font-size:1.15rem;line-height:1;display:inline-flex;min-width:1.1rem;justify-content:center}
.nav-user-menu{position:relative;min-width:0}
.nav-user-menu summary{list-style:none;cursor:pointer;display:flex;gap:.65rem;align-items:center;border:1px solid var(--lh-line);padding:.35rem .65rem;border-radius:14px;background:#fff}
.nav-user-menu summary::-webkit-details-marker{display:none}
.nav-user-identity{display:flex;flex-direction:column;line-height:1.35;text-align:start;min-width:0}
.nav-user-identity b{font-size:.8rem;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-user-identity small{font-size:.68rem;color:var(--lh-muted)}
.nav-user-panel{position:absolute;inset-inline-end:0;inset-block-start:calc(100% + 10px);width:230px;border:1px solid var(--lh-line);border-radius:16px;padding:8px;background:#fff;box-shadow:var(--lh-shadow);z-index:1050}
.nav-user-panel a,.nav-user-panel button{display:block;padding:11px 14px;border-radius:9px;width:100%;text-align:start;text-decoration:none;color:#34445f;font-weight:700;font-size:.85rem;border:0;background:transparent}
.nav-user-panel a:hover,.nav-user-panel button:hover{background:#eff6ff;color:var(--lh-blue)}
.nav-user-panel form{border-top:1px solid var(--lh-line);padding-top:5px;margin-top:5px!important}
.nav-user-panel button{color:#b42340}
.nav-notifications{height:44px;min-width:44px;border:1px solid var(--lh-line);border-radius:13px}
.notification-count{position:absolute;inset-block-start:-5px;inset-inline-end:-5px;font-size:.6rem}
.workspace-nav{background:#fff;border-bottom:1px solid var(--lh-line)}
.workspace-nav ul{display:flex;gap:1.5rem;list-style:none;padding:0;margin:0}
.workspace-nav .nav-link{display:flex;gap:.45rem;align-items:center;padding:.8rem .1rem;font-weight:700;font-size:.8rem;color:#64748b;border-bottom:2px solid transparent;white-space:nowrap}
.workspace-nav .nav-link.active{color:#2563eb;border-bottom-color:#2563eb}
.mobile-extra-links{display:none!important}
.page-trail{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;color:#7a8ba3;font-size:.78rem;margin:0 0 1.3rem}
.page-trail a{color:#62738e;text-decoration:none}.page-trail a:hover{color:#2563eb}.page-trail [aria-current]{color:#233d64;font-weight:700}
.child-switcher{background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:12px}
.steps{padding:14px 18px;background:#fff;border:1px solid var(--lh-line);border-radius:16px;gap:clamp(.6rem,2vw,1.5rem);margin-bottom:1.6rem!important}
.steps a{color:inherit;text-decoration:none}.steps a:hover{color:#2563eb;text-decoration:underline}
.mobile-bottom-nav{display:none}
@media(max-width:1199.98px){
.workspace-nav{display:none}.mobile-extra-links{display:grid!important}
.site-navbar .nav-account-actions{margin-bottom:16px}.nav-user-menu{flex:1}.nav-user-menu summary{min-height:48px}.nav-user-identity b{max-width:65vw}
.nav-user-panel{position:static;width:100%;box-shadow:none;margin-top:8px}
.site-navbar .nav-account-actions{align-items:flex-start!important}.site-navbar .navbar-nav.mobile-extra-links{border-top:1px solid var(--lh-line);padding-top:16px;margin-bottom:0!important}
}
@media(max-width:767.98px){
body.has-mobile-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:1030;background:#fffffffa;border-top:1px solid #dce5f2;padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #0b2d6b0b;backdrop-filter:blur(12px)}
.mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:5px 3px;color:#6a7b94;text-decoration:none;border-radius:12px;min-height:52px}
.mobile-bottom-nav a>span{font-size:1.4rem;line-height:1.1}.mobile-bottom-nav small{font-size:.65rem;font-weight:800;text-align:center;line-height:1.5}
.mobile-bottom-nav a.active{color:#2563eb;background:#edf4ff}
.site-navbar{padding-block:9px}.site-navbar .brand{font-size:1.2rem}
main.container{padding-top:1.2rem!important;padding-bottom:1.5rem!important}
.steps{overflow-x:auto;flex-wrap:nowrap;padding:12px;gap:16px}.steps li{flex-shrink:0;font-size:.76rem}
.page-trail{font-size:.72rem;margin-bottom:1rem}
main>.d-flex.justify-content-between{flex-wrap:wrap;row-gap:.65rem}
.site-footer .footer-grid{gap:1.6rem;padding-block:2rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
