/* Theme, Hindi typography and adjustable reading sizes. Loaded after the site styles. */
:root{font-size:18px;--surface:#fffefa;--surface-2:#f1ede7;--feature:#442535;--feature-text:#fff8f1;--focus:#b64e27;--header-height:91px;color-scheme:light}
:root[data-text-size="standard"]{font-size:16px}:root[data-text-size="comfortable"]{font-size:18px}:root[data-text-size="large"]{font-size:20px}
:root[data-theme="dark"]{--paper:#1b1820;--surface:#29242d;--surface-2:#332d37;--ink:#f7edf3;--muted:#c9bcc7;--line:#574d59;--orange:#ffae80;--peach:#392b32;--lavender:#302b3b;--sage:#2b352f;--feature:#382938;--feature-text:#fff8f1;--focus:#ffc498;color-scheme:dark}
[data-theme="dark"] body,[data-theme="dark"] .admin-body{background:var(--paper);color:var(--ink)}
html{scroll-padding-top:calc(var(--header-height) + 18px)}body{font-size:1rem;line-height:1.65}p,li,dd,summary,label{line-height:1.65}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
h1{font-size:clamp(2.55rem,5vw,4.75rem);line-height:1.16}h2{font-size:clamp(2rem,3.6vw,2.75rem)}h3{line-height:1.4}.hero-description,.section-heading>p,.batch-intro>p,.program-card>p,.teacher-info>p:not(.eyebrow),.learning-card p,.enquiry-section>div>p,.contact-section p:not(.eyebrow),.admin-page-heading p:not(.eyebrow){font-size:1rem;line-height:1.7}.small-note,.card-link,.button,nav,.learning-tabs button,.tabs button,.faq-list summary,.subject-option,.fee-row,.fee-card>p,.contact-buttons .button,.footer-bottom,.footer-bottom button{font-size:.875rem}
.eyebrow,.mini-label,.pill,.card-index,.subject-tags span,.admin-badge,.status-pill,.row-copy small,.fee-note,.hero-note,.teacher-info .eyebrow{font-size:.75rem;line-height:1.4;letter-spacing:.06em}.hero .eyebrow,.section-heading .eyebrow,.faq-heading .eyebrow,.contact-section .eyebrow,.admin-page-heading .eyebrow{font-size:.75rem}.subject-help,.class-field label,.subject-select legend,.learning-controls label,.form-card label,#editor label{font-size:.9rem}.admin-sidebar nav button,.admin-filters label,.admin-help p,.quick-grid button,.content-row p,.row-copy p,.enquiry-card p,.question-heading p,.question-editor legend,.admin-topline p{font-size:.875rem}.button,.learning-tabs button,.tabs button,.subject-option{min-height:46px}.mobile-dock span{font-size:.75rem}
html:lang(hi){--font:'Noto Sans Devanagari','DM Sans',sans-serif;--display:'Noto Sans Devanagari','Manrope',sans-serif}html:lang(hi) h1,html:lang(hi) h2,html:lang(hi) h3{letter-spacing:normal;line-height:1.38}html:lang(hi) .serif-accent,html:lang(hi) h2 em,html:lang(hi) .gate-card h1 em{font-family:'Noto Sans Devanagari',sans-serif;font-style:normal;letter-spacing:normal}html:lang(hi) .eyebrow,html:lang(hi) .mini-label,html:lang(hi) .pill,html:lang(hi) .brand-sub{letter-spacing:normal}html:lang(hi) .subject-tags span{white-space:normal}
.display-options{display:flex;align-items:center;gap:7px;flex-shrink:0}.display-options button{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.display-options button:hover{border-color:var(--focus);background:var(--surface-2)}.display-options [data-open-preferences]{font-family:var(--display);letter-spacing:-.02em}.nav-wrap{gap:14px}.nav-wrap nav{margin-left:auto}.admin-header .display-options{margin-left:auto}.admin-header>.button{margin-left:0}
#reading-settings{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:30px;width:min(470px,calc(100% - 28px));max-height:min(92dvh,790px);box-shadow:0 28px 80px #0006}#reading-settings::backdrop{background:#0c0911bc;backdrop-filter:blur(5px)}.reading-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}.reading-heading h2{font-size:1.7rem;letter-spacing:-.04em;margin:4px 0 5px}.reading-kicker{color:var(--muted);font-size:.7rem;letter-spacing:.14em;font-weight:700}.reading-close{min-width:44px;min-height:44px;border-radius:8px;border:1px solid var(--line);font-size:1.7rem;line-height:1}.reading-close:hover{background:var(--surface-2)}#reading-settings>p{font-size:.9rem;line-height:1.55;margin:10px 0 20px}#reading-settings fieldset{border:0;padding:0;margin:0 0 18px;min-width:0}#reading-settings legend{font-size:.9rem;font-weight:700;margin-bottom:9px;padding:0}.reading-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.reading-choices.two{grid-template-columns:repeat(2,minmax(0,1fr))}.reading-choices button{min-height:48px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);padding:7px;font-size:.83rem;font-weight:600;white-space:normal}.reading-choices button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.reading-choices button:not([aria-pressed="true"]):hover{background:var(--surface-2)}.reading-sample{border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:16px 18px;margin-top:3px}.reading-sample span{font-size:.68rem;letter-spacing:.1em;font-weight:700;color:var(--muted)}.reading-sample p{font-size:1rem!important;line-height:1.7;margin:9px 0 0;color:var(--ink)!important}#reading-settings #reading-saved{font-size:.75rem;color:var(--muted);margin:12px 0}.reading-done{width:100%;justify-content:center;min-height:48px}
[data-theme="dark"] .header{background:rgb(27 24 32 / 94%);border-color:var(--line)}[data-theme="dark"] .announcement{background:#121016;color:#fff4ef}[data-theme="dark"] .subject-ribbon,[data-theme="dark"] .educators-section,[data-theme="dark"] .batch-section{background:var(--surface-2);border-color:var(--line)}[data-theme="dark"] .mobile-dock{background:rgb(41 36 45 / 95%);border-color:var(--line);box-shadow:0 -6px 20px #0005}[data-theme="dark"] .menu-toggle span{background:var(--ink)}
[data-theme="dark"] .program-card>p,[data-theme="dark"] .teacher-info>p:not(.eyebrow),[data-theme="dark"] .row-copy p,[data-theme="dark"] .small-note,[data-theme="dark"] .subject-option small{color:var(--muted)}[data-theme="dark"] .learning-card,[data-theme="dark"] .learning-card.quiz-card:nth-child(n),[data-theme="dark"] .form-card,[data-theme="dark"] .empty-state,[data-theme="dark"] .content-row,[data-theme="dark"] .enquiry-card,[data-theme="dark"] .question-editor,[data-theme="dark"] .gate-card,[data-theme="dark"] .stat-grid>div,[data-theme="dark"] .quick-grid button,[data-theme="dark"] .admin-header,[data-theme="dark"] .admin-sidebar,[data-theme="dark"] #editor,[data-theme="dark"] #preview{background:var(--surface);color:var(--ink);border-color:var(--line)}[data-theme="dark"] .learning-tabs button,[data-theme="dark"] .batch-intro .availability,[data-theme="dark"] .subject-option,[data-theme="dark"] .admin-help,[data-theme="dark"] .enquiry-note,[data-theme="dark"] .upload-control,[data-theme="dark"] .row-icon{background:var(--surface-2);color:var(--ink);border-color:var(--line)}[data-theme="dark"] .learning-tabs button[aria-selected="true"],[data-theme="dark"] .subject-option:has(input:checked){background:var(--ink);color:var(--paper);border-color:var(--ink)}[data-theme="dark"] .subject-option:has(input:checked) small{color:var(--paper)}
[data-theme="dark"] .fee-card,[data-theme="dark"] .contact-section,[data-theme="dark"] .overview-welcome{background:var(--feature);color:var(--feature-text)}[data-theme="dark"] .fee-card p,[data-theme="dark"] .contact-section p:not(.eyebrow),[data-theme="dark"] .overview-welcome p,[data-theme="dark"] .fee-row,[data-theme="dark"] .fee-note{color:#eee0e7}[data-theme="dark"] .fee-row strong,[data-theme="dark"] .fee-row.total,[data-theme="dark"] .total strong{color:#fff8f1}[data-theme="dark"] .button.dark{background:#f1dce6;color:#2b202a}[data-theme="dark"] .button.orange{background:var(--orange);color:#2b1c20}[data-theme="dark"] .admin-sidebar nav button.active{background:#f0d9e5;color:#2c2029}
[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=file]),[data-theme="dark"] select,[data-theme="dark"] textarea{background:#242028;color:var(--ink);border-color:var(--line)}[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#b9aeb9;opacity:1}[data-theme="dark"] .editor-actions{background:var(--surface)}[data-theme="dark"] .status-pill{background:#443b47;color:var(--ink)}[data-theme="dark"] .status-pill.published,[data-theme="dark"] .status-pill.enrolled{background:#304735;color:#dff2de}[data-theme="dark"] .status-pill.draft,[data-theme="dark"] .status-pill.new{background:#5b452c;color:#ffe8bf}[data-theme="dark"] .status-pill.contacted{background:#493d60;color:#eee0ff}[data-theme="dark"] .status-pill.archived{background:#48414b;color:#ddd1df}[data-theme="dark"] .success-message,[data-theme="dark"] .toast{background:#294735;color:#e0f5e5}[data-theme="dark"] .error-message,[data-theme="dark"] .error{background:#522e35;color:#ffe0e0}[data-theme="dark"] #editor-error{color:#ffb6a6}
[data-theme="dark"] .quiz-option,[data-theme="dark"] .quiz-feedback,[data-theme="dark"] .quiz-types button{background:var(--surface-2);color:var(--ink);border-color:var(--line)}[data-theme="dark"] .quiz-option:hover:not(:disabled){background:#493b45}[data-theme="dark"] .quiz-option.correct{background:#2d4d39;border-color:#7eaf83;color:#e3f6e5}[data-theme="dark"] .quiz-option.incorrect{background:#5d323b;border-color:#d77f85;color:#ffe6e8}[data-theme="dark"] .math-card{background:#fff0df;color:#442535}[data-theme="dark"] .code-card{color:#273323}[data-theme="dark"] .teacher-visual{color:#442535}[data-theme="dark"] .load-status{background:#483929;color:#fff1d8;border-color:#aa8155}[data-theme="dark"] .brand-symbol{background:#f1dce6;color:#5d3145}[data-theme="dark"] .brand-symbol>span{color:#442535}
@media(max-width:1100px){.nav-wrap nav{margin-left:0}.nav-wrap .desktop-cta{display:none}.nav-wrap .display-options{margin-left:auto}}
@media(max-width:650px){.nav-wrap{gap:8px;min-height:76px;height:auto;padding-block:8px}.nav-wrap .brand{font-size:1.65rem}.nav-wrap .brand-symbol{width:39px;height:43px;font-size:2.6rem}.display-options{gap:5px}.display-options button{font-size:.77rem;padding:6px 8px;min-height:44px}.hero h1{font-size:clamp(2.35rem,11vw,3.8rem)}.hero .eyebrow,.section-heading .eyebrow,.faq-heading .eyebrow,.contact-section .eyebrow,.enquiry-section .eyebrow{font-size:.75rem}.hero-description,.section-heading>p,.batch-intro>p,.program-card>p,.teacher-info>p:not(.eyebrow),.learning-card p,.enquiry-section>div>p,.contact-section p:not(.eyebrow){font-size:.98rem}.learning-tabs button,.tabs button,.subject-option,.form-card label,.check-label,summary,.fee-card>p,.fee-card .button,.contact-buttons .button{font-size:.875rem}.teacher-info .subject-tags span,.subject-tags span,.mobile-dock span,.fee-note,.pill,.small-note{font-size:.75rem}.admin-header{height:auto;min-height:76px;flex-wrap:wrap;gap:7px;padding:8px 12px}.admin-header .display-options{margin-left:auto}.admin-header .brand{font-size:1.45rem}.admin-header>.button{margin-left:0}.admin-sidebar{top:var(--header-height)}.admin-sidebar nav button,.admin-filters label,.admin-page-heading p:not(.eyebrow),.overview-welcome p,.stat-grid span,.quick-grid button,.admin-help p,.row-copy p,.settings-summary,.enquiry-card p,#editor label{font-size:.82rem}.admin-header>#header-signout{font-size:.75rem;padding:5px}.footer-bottom,.footer-bottom button{font-size:.75rem}#reading-settings{padding:22px 18px}.reading-heading h2{font-size:1.5rem}}

.video-poster{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:16/9;margin:0 0 18px;border:0;border-radius:10px;overflow:hidden;background:#211b22;color:#fff;cursor:pointer}
.video-poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-play-symbol{position:relative;z-index:1;display:grid;place-items:center;width:70px;height:48px;padding-left:3px;border-radius:14px;background:#e62117;color:white;font-size:24px;line-height:1;box-shadow:0 8px 22px #0007;transition:transform .2s,background .2s}
.video-poster:hover .video-play-symbol,.video-poster:focus-visible .video-play-symbol{background:#ff0033;transform:scale(1.07)}
.video-playlist{background:linear-gradient(130deg,#231b2a,#5e2e48 68%,#b45248)}
.video-playlist-label{position:absolute;top:20px;left:20px;right:20px;font-size:1.1rem;font-weight:700;text-align:left}
.video-player h2{padding-right:38px;line-height:1.35}
.video-frame{width:100%;aspect-ratio:16/9;background:#090909;border-radius:9px;overflow:hidden}
.video-frame iframe{display:block;width:100%;height:100%;border:0}
.video-player p:not(.eyebrow){margin:15px 0 6px;font-size:.875rem}
#modal:has(.video-player){width:min(900px,calc(100% - 24px));max-height:92dvh;padding:24px}
@media(max-width:650px){#modal:has(.video-player){padding:18px}.video-player h2{font-size:1.4rem}.video-play-symbol{width:60px;height:42px}}
