/* Liquid glass visual system — pearl, sage and champagne. */
:root{--ink:#203b37;--muted:#687b73;--green:#244e43;--deep:#162e2c;--gold:#ae8456;--line:#d3ddd580;--paper:#eef1e9;--shadow:0 24px 75px #56695817;--glass:linear-gradient(135deg,#ffffffb8,#ffffff45);--glass-border:#ffffffdf;--glass-blur:blur(24px) saturate(145%)}
body{background:#f1f0e9;background-image:radial-gradient(ellipse at 12% 8%,#e5cdbb7d,transparent 43%),radial-gradient(ellipse at 95% 30%,#c6dac980,transparent 47%);background-attachment:fixed}
body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 55% 50%,#fff8,transparent 70%)}
.topbar{background:#edf1e59c;border-bottom:1px solid #fff9;color:#60766b;backdrop-filter:var(--glass-blur)}.topbar a{color:var(--green)}
.header{background:#f9faf473;border-bottom:1px solid #ffffffc0;box-shadow:0 8px 40px #6a786908;backdrop-filter:blur(28px) saturate(160%)}.header-inner{min-height:91px}.brand img{box-shadow:0 3px 8px #83652f2c,0 0 0 4px #ffffff5c}.nav a:after{height:3px;border-radius:3px}.language{border:1px solid #ffffffa6;background:#ffffff62;border-radius:30px;padding:8px 10px}.header-actions{gap:10px}
.btn{border-radius:50px;background:linear-gradient(155deg,#426452,#254b3e);border:1px solid #ffffff5c;box-shadow:inset 0 1px 0 #ffffff5c,0 4px 9px #35524425,0 15px 27px #4f5d4820;transform-style:preserve-3d;transition:transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .28s,background .28s}
.btn:hover{background:linear-gradient(150deg,#537560,#244c3f);transform:translateY(-4px) perspective(600px) rotateX(6deg);box-shadow:inset 0 1px 0 #fff8,0 9px 16px #35524430,0 22px 36px #35524420}.btn:active{transform:translateY(1px) scale(.97);box-shadow:inset 0 2px 6px #173b3140}.btn.gold{background:linear-gradient(145deg,#f1d6ac,#d3ae7b);box-shadow:inset 0 1px 1px #fff,0 8px 20px #b0916430}.btn.outline,.btn.ghost,.btn.white{background:linear-gradient(135deg,#ffffffaa,#ffffff35);border-color:#fff;box-shadow:inset 0 1px 2px #fff,0 5px 10px #65796a17;backdrop-filter:var(--glass-blur)}.btn.danger{background:#fae7e394;border-color:#fffc;box-shadow:inset 0 1px 0 white,0 6px 14px #925f4b0d}.btn.small{border-radius:25px}.theme-toggle{border:1px solid #ffffffde;border-radius:50%;width:35px;height:35px;display:grid;place-content:center;background:#ffffff80;color:var(--green);box-shadow:inset 0 1px 1px #fff,0 3px 8px #65796a12}.theme-toggle svg{width:17px;height:17px}.eyebrow{font-size:10px;letter-spacing:2px}.glass-hero{position:relative;padding:55px 0 65px;min-height:690px;overflow:hidden}.glass-hero:before{content:'';position:absolute;inset:7% 5% 0;border-radius:50%;background:radial-gradient(ellipse,#ffffffd9,transparent 66%);filter:blur(25px);z-index:-1}.glass-hero .hero-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:center;min-height:565px}.glass-hero h1{color:var(--ink);font-size:clamp(45px,5vw,73px);margin-bottom:22px;white-space:pre-line}.glass-hero .hero-desc{font-size:15px;line-height:2;max-width:520px;color:var(--muted)}html[lang=ur] .glass-hero h1{font-size:clamp(36px,4.2vw,57px);line-height:2.1}html[lang=ar] .glass-hero h1{font-size:48px;line-height:1.7}.glass-hero .actions{display:flex;gap:18px;align-items:center;margin-top:30px;flex-wrap:wrap}.glass-hero .watch{color:#566b60}.watch .circle{background:#ffffff65;border-color:#fff;box-shadow:inset 0 1px 0 #fff,0 5px 9px #65796a20}.hero-bits{color:#678071;font-size:11px;gap:20px}.hero-bits svg{color:var(--gold)}.hero-intro{animation:fadeUp .9s ease-out both}.glass-kicker{display:inline-flex;gap:10px;align-items:center;background:#ffffff75;border:1px solid #ffffffd0;box-shadow:inset 0 1px 0 #fff,0 4px 10px #7a8c6f10;border-radius:30px;padding:7px 15px;font-size:10px;margin-bottom:23px;backdrop-filter:blur(12px)}.status-dot{width:6px;height:6px;border-radius:50%;background:#77a68a;box-shadow:0 0 0 4px #8eb79b20}
.scene{height:540px;position:relative;perspective:1100px;transform-style:preserve-3d;isolation:isolate;direction:ltr;--rx:0deg;--ry:0deg}.scene-world{position:absolute;inset:0;transform:rotateX(var(--rx)) rotateY(var(--ry));transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.3,1)}.scene-aura{position:absolute;width:470px;height:470px;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#d5c4a168,#dae4cf45 48%,transparent 70%);filter:blur(10px)}.orbit-ring{position:absolute;width:360px;height:360px;left:50%;top:47%;transform:translate(-50%,-50%) rotate(-25deg);border:1px solid #ffffffa6;border-radius:50%;box-shadow:inset 5px 6px 9px #ffffffbf,inset -4px -4px 10px #8e9a7e26,5px 7px 22px #99a48b25;background:linear-gradient(145deg,#ffffff15,#ffffff00);backdrop-filter:blur(1px)}.orbit-ring:after{content:'';position:absolute;inset:20px;border:1px solid #fff7;border-radius:50%}.orbit-ring.second{width:430px;height:430px;top:47%;transform:translate(-50%,-50%) rotateY(52deg) rotateZ(30deg);opacity:.6;animation:orbitBreathe 9s ease-in-out infinite}.stone-platform{position:absolute;bottom:45px;left:50%;width:370px;height:80px;transform:translateX(-50%) rotateX(58deg);border-radius:50%;background:linear-gradient(140deg,#e4e6d9,#c6cdbb);box-shadow:inset 0 5px 10px #fff,0 23px 25px #78856838,0 35px 48px #657b6020}.platform-shadow{position:absolute;bottom:57px;left:28%;width:240px;height:38px;border-radius:50%;background:#344a3740;filter:blur(18px)}.book-object{position:absolute;top:70px;left:50%;width:230px;height:320px;transform:translateX(-50%) rotateY(-23deg) rotateZ(-8deg);transform-style:preserve-3d;animation:bookFloat 7s ease-in-out infinite}.book-cover{position:absolute;inset:0;border-radius:7px 17px 17px 7px;background:linear-gradient(130deg,#224d40,#0c3229);box-shadow:inset 2px 0 4px #f0dfb46b,inset -1px 1px 0 #fff5,16px 27px 33px #24433140,1px 0 0 1px #203c32;border:1px solid #c6ab6d99;overflow:hidden}.book-cover:before{content:'';position:absolute;inset:12px;border:1px solid #d2b37588;border-radius:3px 12px 12px 3px}.book-cover:after{content:'';position:absolute;inset:23px;border:1px solid #d2b37544;border-radius:3px 8px 8px 3px}.book-pattern{position:absolute;inset:28px;background-image:repeating-linear-gradient(45deg,transparent 0 20px,#c3b48f0e 21px 22px),repeating-linear-gradient(-45deg,transparent 0 20px,#c3b48f0e 21px 22px)}.book-spine{position:absolute;top:1px;bottom:1px;left:-17px;width:19px;background:linear-gradient(90deg,#122e27,#365d48,#173c30);transform:rotateY(-80deg);transform-origin:right;border-radius:5px 0 0 5px;box-shadow:inset 0 0 0 1px #c3b07788}.book-pages{position:absolute;right:-14px;top:8px;bottom:8px;width:16px;transform:rotateY(80deg);transform-origin:left;background:repeating-linear-gradient(0deg,#e3dac4 0 1px,#f3eddd 1px 3px);border-radius:0 6px 6px 0}.book-emblem{position:absolute;width:133px;height:133px;top:75px;left:48px;border:1px solid #c7ae70;border-radius:50%;box-shadow:0 0 0 9px #b79e5e0c,0 0 0 10px #c7ae7033;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#e1cb96;text-align:center}.book-emblem span{font:25px/1.9 'Noto Sans Arabic';letter-spacing:0}.book-emblem small{font-size:9px;letter-spacing:2px}.book-cover .book-bottom{position:absolute;bottom:42px;width:100%;text-align:center;font:10px Georgia;letter-spacing:1.4px;color:#c6b587}.glass-float{position:absolute;background:linear-gradient(130deg,#ffffffc4,#ffffff52);border:1px solid #ffffffe6;border-radius:20px;box-shadow:inset 0 1px 1px white,0 12px 30px #5b735d1b;backdrop-filter:blur(22px) saturate(145%);padding:18px 22px;z-index:4;direction:inherit;transform:translateZ(45px);animation:glassFloat 8s ease-in-out infinite}.glass-float.top{top:54px;left:-3px;width:177px;animation-delay:-2s}.glass-float.bottom{bottom:50px;right:-5px;width:215px;animation-delay:-4s}.glass-float .float-icon{width:36px;height:36px;border-radius:12px;background:linear-gradient(130deg,#eff5ed,#d4e2d4);box-shadow:inset 0 1px 0 white,0 3px 10px #67836620;display:grid;place-content:center;color:#4d6c55;margin-bottom:10px}.glass-float strong{display:block;font-size:13px;font-weight:500;line-height:1.8;color:#2c483d}.glass-float small{font-size:10px;color:#758678;display:block;margin-top:5px;line-height:1.8}.glass-float .mini-track{display:flex;gap:4px;margin-top:12px}.mini-track span{height:4px;flex:1;border-radius:3px;background:#aac6a8}.mini-track span:last-child{background:#d5dfd1}.glass-pearl{position:absolute;left:40px;bottom:68px;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#e0e7d8 45%,#8c9f84);box-shadow:inset -5px -7px 13px #59755a30,0 14px 22px #5d75502b;animation:glassFloat 6s ease-in-out infinite}.tiny-orb{position:absolute;width:35px;height:35px;right:40px;top:50px;border-radius:50%;background:radial-gradient(circle at 25% 25%,#fff,#d3b88d 55%,#9e8156);box-shadow:0 5px 15px #9d87602d}.scene-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;font:9px Arial;letter-spacing:2px;color:#8a9789}.pathways{background:#ffffff56;border:1px solid #fff;border-radius:22px;backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 1px white,0 12px 30px #596e5520;position:relative;margin-top:-10px}.pathway{border-color:#d3ddd599;padding:24px}.pathway .iconbox{border-radius:15px;background:linear-gradient(135deg,#fff,#d8e5d7);box-shadow:inset 0 1px 0 white,0 5px 10px #5b735d20}.pathway:hover{background:#fff5}.section.soft{background:linear-gradient(180deg,#e4eadd25,#fff1)}.section{padding-block:75px}.section-heading h2{font-size:42px}.course-card{background:var(--glass);border:1px solid #ffffffd9;border-radius:24px;box-shadow:inset 0 1px 0 #fff,0 10px 30px #627d5c0b;backdrop-filter:var(--glass-blur);transform-style:preserve-3d}.course-card:hover{box-shadow:inset 0 1px 0 #fff,0 23px 45px #627d5c24;transform:translateY(-8px) perspective(900px) rotateX(2deg)}.course-image{margin:10px 10px 0;border-radius:17px;height:205px}.image-tag{background:#ffffff7d;border:1px solid #fff9;backdrop-filter:blur(16px);border-radius:20px}.course-body{padding:24px 26px}.course-body h3{font-size:22px}.course-bottom{border-color:#b5c7b533}.editorial-photo>img{border-radius:26px;box-shadow:0 15px 50px #344d3820}.photo-note{background:linear-gradient(130deg,#ffffffcc,#ffffff75);border:1px solid #fff9;border-radius:20px;box-shadow:inset 0 1px 1px #fff;backdrop-filter:blur(20px)}.principle{border-color:#c4d0c480}.dark-section{position:relative;background:radial-gradient(ellipse at 15% 20%,#3e685a,#163b34 55%,#142f2d);color:#f5f6ed;margin:15px 28px;border-radius:30px;box-shadow:inset 0 1px 0 #ffffff45,0 15px 50px #334d3726;overflow:hidden}.dark-section:before{content:'';position:absolute;width:480px;height:480px;border:1px solid #ffffff10;border-radius:50%;top:-260px;right:-70px;box-shadow:0 0 0 40px #ffffff03,0 0 0 80px #ffffff03}.dark-section .container{position:relative}.step{border-color:#ffffff26}.cta{background:var(--glass);border:1px solid #fff;box-shadow:inset 0 1px 0 white,0 15px 35px #697e5c15;backdrop-filter:var(--glass-blur);border-radius:25px}.footer{background:#e1e7dc9e;border-top:1px solid white;color:#536c60;backdrop-filter:blur(22px)}.footer .brand-name{color:#2e483b}.footer .brand-tag,.footer p,.footer-bottom{color:#748779}.footer h4{color:#33513e}.footer-bottom{border-color:#a8bca840}.socials a{border-color:white;background:#fff7;color:#3b5a45;box-shadow:inset 0 1px 0 #fff,0 3px 7px #6d806310}.page-top{background:linear-gradient(130deg,#ffffff68,#d8e4d02b);border-color:#fff7}.page-top h1{font-size:46px}.form-card,.dashboard-card,.stat,.account-side,.enroll-box,.teacher-card,.review,.lesson-content,.lesson-list,.student-course{background:var(--glass);border:1px solid #ffffffe0;border-radius:21px;backdrop-filter:var(--glass-blur);box-shadow:inset 0 1px 1px #fff,0 15px 35px #6574590b}.teacher-photo{background:linear-gradient(140deg,#dfe8db55,#eff0e3aa);border-bottom:1px solid #fff8}.teacher-photo .initials{background:#ffffff80;border-color:#fff;box-shadow:inset 0 1px 0 white,0 9px 20px #748c6c20}.empty{border-color:#bbcdb9;background:#ffffff48;border-radius:19px}.chip{background:#ffffff70;border-color:#fff;border-radius:30px;box-shadow:inset 0 1px 0 #fff,0 4px 8px #7089660b}.chip.active{background:#345e49;color:white;box-shadow:inset 0 1px 0 #ffffff50,0 6px 13px #345e4920}.auth-wrap{background:#fff4;border:1px solid #fff;border-radius:26px;box-shadow:0 30px 70px #748d6320;backdrop-filter:var(--glass-blur)}.auth-form{background:#ffffff50}.auth-visual{background:#274a3c}.auth-visual:after{background:linear-gradient(0deg,#18392ef5,#18392e35)}.auth-section{background:transparent}.form-card{padding:35px}input,textarea,select{background:#ffffff70;border:1px solid #ffffffdb;box-shadow:inset 0 2px 5px #6c805918,0 1px 0 #fff;border-radius:13px;transition:box-shadow .2s,border-color .2s}input:focus,textarea:focus,select:focus{box-shadow:inset 0 1px 3px #6c80590d,0 0 0 3px #708d5620;border-color:#8ca27c}.notice-box{background:#d4e3cc66;border:1px solid #ffffffb3;border-radius:15px;color:#496544}.account-side a.active{background:#d5e3ce8a;border:1px solid #fff8;border-radius:13px}.account-side a:hover{background:#ffffff7d}.dashboard-card h3{font-weight:500}.stat{padding:24px}.stat strong{font-size:34px}.stat .stat-top svg{width:19px;height:19px}.admin-shell{background:transparent}.admin-sidebar{background:linear-gradient(160deg,#e0e8d8b8,#d2ddc975);border-inline-end:1px solid #fff;backdrop-filter:var(--glass-blur);color:var(--ink);box-shadow:inset 1px 0 0 white}.admin-sidebar .brand-name{color:var(--ink)}.admin-sidebar .brand-tag{color:var(--muted)}.admin-sidebar .brand{border-color:#b4c7ad60}.admin-sidebar a,.admin-sidebar button{color:#5c7560}.admin-sidebar a.active{background:#ffffff80;color:#31543b;border-inline-start:2px solid #83a16b;box-shadow:inset 0 1px 0 white,0 5px 12px #5b755311;border-radius:12px}.admin-sidebar a:hover,.admin-sidebar button:hover{background:#fff6}.admin-sidebar .side-bottom{border-color:#b4c7ad60}.admin-top{background:#ffffff60;border-color:white;backdrop-filter:blur(20px)}.admin-top .icon-button{background:#fff8;box-shadow:inset 0 1px 0 white,0 3px 10px #67805f15}.mobile-admin-nav{background:#eef3e6;color:#37583e;border-color:white}.editor-row{background:#ffffff4d;border-color:#fff;border-radius:16px}.tabs{border-color:#c0d0b980}.tabs a.active{background:#42664a;border:1px solid #fff8;border-radius:30px}.data-table-wrap th{background:#dce5d34d}.data-table-wrap td{border-color:#b9cbb752}.badge{border:1px solid #fff9;border-radius:30px}.bar-track{background:#cddcc275}.bar-fill{background:linear-gradient(90deg,#6f9b66,#3c6246)}.media-item{border-radius:18px;background:#fff7;border:1px solid white}.media-item:hover{border-color:#6e9363}.image-picker>img{border-radius:15px}.glass-stats{display:flex;gap:25px;flex-wrap:wrap}.glass-stats strong{font:27px Georgia;color:#587449}.glass-stats span{font-size:11px;color:#768971}.glass-stats div{display:flex;gap:10px;align-items:center}.modal-head{background:#edf2e7cc;backdrop-filter:blur(24px);border-color:#fff9}dialog{border:1px solid white;background:#edf2e5ed;border-radius:26px;box-shadow:inset 0 1px 0 white,0 45px 100px #203a3440;backdrop-filter:blur(35px)}dialog::backdrop{background:#1e392c55;backdrop-filter:blur(12px)}.icon-button{background:#ffffff80;border:1px solid white;box-shadow:inset 0 1px 0 white,0 5px 10px #6c805315}.glass-hero .hero-desc{color:#63796a}.rating-orbit{position:absolute;bottom:-120px;width:480px;height:220px;border-radius:50%;border-top:2px solid #c2b99733;left:calc(50% - 240px);filter:drop-shadow(0 -3px 5px #ffffffbd)}#scroll-meter{position:fixed;top:0;inset-inline-start:0;height:3px;width:var(--scroll,0%);background:linear-gradient(90deg,#7a9e6b,#c1a36f);z-index:99;box-shadow:0 1px 8px #8baf6470}.observe{will-change:transform}.glass-backup{display:grid;grid-template-columns:1fr 1fr;gap:25px}.backup-stamp{display:flex;gap:15px;align-items:center;background:#e2edd955;border:1px solid white;border-radius:15px;padding:18px;margin-bottom:20px}.backup-stamp svg{width:30px;height:30px;color:#5c8651}.backup-stamp b{display:block;font-size:13px}.backup-stamp small{font-size:11px;color:var(--muted)}
@keyframes bookFloat{0%,100%{transform:translateX(-50%) translateY(0) rotateY(-23deg) rotateZ(-8deg)}50%{transform:translateX(-50%) translateY(-15px) rotateY(-17deg) rotateZ(-5deg)}}@keyframes glassFloat{0%,100%{translate:0 0}50%{translate:0 -13px}}@keyframes orbitBreathe{0%,100%{transform:translate(-50%,-50%) rotateY(52deg) rotateZ(30deg)}50%{transform:translate(-50%,-50%) rotateY(65deg) rotateZ(40deg)}}
html[data-theme=night]{--ink:#ebf1e9;--muted:#a2b9ac;--green:#b6d5b0;--paper:#122920;--deep:#09231d;--line:#bad5bd1e;--glass:linear-gradient(145deg,#b4dbb718,#82aa9b09);--glass-border:#e9fff22c;--gold:#d8bb8e}
html[data-theme=night] body{background:#0d231e;background-image:radial-gradient(ellipse at 10% 0%,#355f3f80,transparent 45%),radial-gradient(ellipse at 100% 35%,#35534c60,transparent 45%)}html[data-theme=night] body:before{background:none}html[data-theme=night] .header{background:#18372b85;border-color:#c8dfca28}html[data-theme=night] .topbar{background:#152f25;color:#b9ccbc;border-color:#c8dfca20}html[data-theme=night] .glass-hero h1{color:#edf5e8}html[data-theme=night] .glass-hero .hero-desc,html[data-theme=night] .hero-bits,html[data-theme=night] .watch{color:#b9ccbb}html[data-theme=night] .glass-hero:before{opacity:.12}html[data-theme=night] .glass-kicker,html[data-theme=night] .language,html[data-theme=night] .theme-toggle{background:#b2cbb914;border-color:#b6d5b02e;color:#d9e9d6}html[data-theme=night] .glass-float{background:linear-gradient(135deg,#bdd7be2c,#b9d5b316);border-color:#f0ffef50;box-shadow:inset 0 1px 0 #fff3,0 14px 35px #0003}html[data-theme=night] .glass-float strong{color:#ecf1e5}html[data-theme=night] .glass-float small,html[data-theme=night] .scene-caption{color:#b4c8b1}html[data-theme=night] .stone-platform{background:linear-gradient(130deg,#8e9f7c,#4e6653);box-shadow:inset 0 3px 7px #d6ebc844,0 20px 45px #0006}html[data-theme=night] .scene-aura{opacity:.6}html[data-theme=night] .orbit-ring{opacity:.3}html[data-theme=night] .pathways,html[data-theme=night] .course-card,html[data-theme=night] .form-card,html[data-theme=night] .dashboard-card,html[data-theme=night] .stat,html[data-theme=night] .account-side,html[data-theme=night] .enroll-box,html[data-theme=night] .teacher-card,html[data-theme=night] .review,html[data-theme=night] .lesson-content,html[data-theme=night] .lesson-list,html[data-theme=night] .student-course,html[data-theme=night] .cta{background:var(--glass);border-color:#e9fff22a;box-shadow:inset 0 1px 0 #fff2,0 15px 35px #0002}html[data-theme=night] .pathway .iconbox,html[data-theme=night] .glass-float .float-icon{background:#bfd8ba20;color:#c7d8bd;box-shadow:inset 0 1px 0 #fff3}html[data-theme=night] .btn{background:linear-gradient(150deg,#93b587,#bdd6ae);color:#203b2b;box-shadow:inset 0 1px 0 #fff7,0 10px 25px #0003}html[data-theme=night] .btn.outline,html[data-theme=night] .btn.ghost{background:#b8d3b712;color:#e2eddd;border-color:#c2dac22c}html[data-theme=night] .btn.gold{background:linear-gradient(150deg,#dec89c,#b59b6e)}html[data-theme=night] .page-top{background:#abc5a50b;border-color:#b5d0ba20}html[data-theme=night] .footer{background:#08231ab0;color:#abc0a9;border-color:#bfd7b52a}html[data-theme=night] .footer .brand-name,html[data-theme=night] .footer h4{color:#e2eddd}html[data-theme=night] .footer p,html[data-theme=night] .footer .brand-tag,html[data-theme=night] .footer-bottom{color:#a7baa2}html[data-theme=night] .admin-sidebar{background:#1434268a;border-color:#fff2}html[data-theme=night] .admin-sidebar .brand-name,html[data-theme=night] .admin-sidebar a,html[data-theme=night] .admin-sidebar button{color:#bfd1b7}html[data-theme=night] .admin-sidebar a.active{background:#b7d0a81c;color:#e2eddd}html[data-theme=night] .admin-top,html[data-theme=night] .modal-head{background:#1a3b2e9c;border-color:#c0d6b82c}html[data-theme=night] .auth-form{background:#14342660}html[data-theme=night] .auth-wrap,html[data-theme=night] dialog{background:#17392cf2;border-color:#e9fff22a}html[data-theme=night] input,html[data-theme=night] textarea,html[data-theme=night] select{background:#081e1866;border-color:#c1dbc030;color:#e2eddd}html[data-theme=night] .language option{background:#18372b;color:#e2eddd}html[data-theme=night] .editor-row,html[data-theme=night] .empty,html[data-theme=night] .chip,html[data-theme=night] .image-tag,html[data-theme=night] .teacher-photo{background:#a1bc9b12;color:#d1e0c9;border-color:#c1dbc030}html[data-theme=night] .notice-box,html[data-theme=night] .backup-stamp{background:#b2d0a51a;border-color:#e9fff22a;color:#c4d5b8}html[data-theme=night] .nav.open{background:#163729f2}html[data-theme=night] .btn.danger{color:#efbbad;background:#bc66501c}html[data-theme=night] .field-options .editor-row{background:transparent}html[data-theme=night] .media-item{background:#163729;border-color:#fff2}html[data-theme=night] .photo-note{background:#163729ae;border-color:#fff4}html[data-theme=night] .avatar{background:#a1bc9b20;color:#d8e9cf}
@media(max-width:1100px){.glass-hero .hero-layout{gap:5px}.scene{scale:.9;margin-inline:-20px}.glass-hero{min-height:660px}.glass-hero h1{font-size:55px}html[lang=ur] .glass-hero h1{font-size:45px}.glass-float.top{left:-20px}.glass-float.bottom{right:-18px}}
@media(max-width:900px){.glass-hero .hero-layout{grid-template-columns:1fr 1fr}.scene{scale:.77;margin-inline:-65px}.glass-hero h1{font-size:45px}html[lang=ur] .glass-hero h1{font-size:37px}.glass-hero .hero-desc{font-size:13px}.glass-hero{padding-top:20px;min-height:570px}.glass-hero .hero-layout{min-height:520px}.nav{background:#f1f4e9e8;backdrop-filter:blur(30px);border-bottom:1px solid white}.glass-backup{grid-template-columns:1fr}.header-actions{gap:7px}.hero-bits{gap:12px}}
@media(max-width:650px){.glass-hero{padding:33px 0 40px;min-height:auto}.glass-hero .hero-layout{grid-template-columns:1fr;gap:0;min-height:0}.glass-hero h1{font-size:43px}html[lang=ur] .glass-hero h1{font-size:36px;line-height:2.1}html[lang=ar] .glass-hero h1{font-size:35px}.glass-hero .hero-desc{font-size:14px;line-height:2.05;max-width:none}.glass-kicker{font-size:9px;margin-bottom:20px}.glass-hero .actions{gap:15px;margin-top:22px}.scene{scale:.85;height:450px;margin:-10px -23px -30px;transform-origin:center}.book-object{top:38px}.orbit-ring,.orbit-ring.second{top:43%}.glass-float.top{top:25px;left:0;width:153px;padding:14px 16px}.glass-float.bottom{bottom:40px;right:0;width:177px;padding:15px 17px}.glass-float strong{font-size:12px}.scene-caption{bottom:10px}.stone-platform{bottom:30px}.platform-shadow{bottom:40px}.glass-pearl{bottom:40px;left:20px;width:56px;height:56px}.pathways{border-radius:20px;margin-top:0}.pathway{padding:18px 20px!important}.pathway:last-child{border-bottom:0!important}.pathway b{font-size:13px}.pathway small{font-size:11px}.pathway .iconbox{width:39px;height:39px;border-radius:12px}.section{padding-block:48px}.dark-section{margin:10px 12px;border-radius:25px}.section-heading h2{font-size:32px}.course-image{height:200px}.course-card{border-radius:22px}.course-body{padding:22px}.form-card{padding:25px}.glass-stats{gap:20px}.glass-hero .hero-bits{margin-top:25px;font-size:10px}.header-inner{min-height:78px}.header .brand-name{font-size:11px}.header .brand-tag{font-size:6px}.header .brand img{width:37px;height:37px}.header-actions{gap:4px}.theme-toggle{width:29px;height:29px}.language{padding:5px 7px;max-width:68px}.header-inner{gap:7px}.glass-float.top{direction:inherit}.admin-body{padding-inline:15px}.form-card,.dashboard-card{border-radius:18px}.hero-intro{padding-top:8px}html[data-theme=night] .glass-hero h1{color:#edf5e8}}
@media(prefers-reduced-motion:reduce){.scene-world{transform:none!important}.book-object{animation:none}.glass-float{animation:none}.orbit-ring.second{animation:none}.glass-pearl{animation:none}}
.glass-hero .watch{display:inline-flex;align-items:center;gap:10px;font-size:12px}.glass-float{direction:rtl}html[lang=en] .glass-float{direction:ltr}.book-object{z-index:2}.orbit-ring{z-index:1}.stone-platform,.platform-shadow{z-index:0}.glass-float{z-index:4}
.orbit-ring{backdrop-filter:none}@keyframes bookFloat{0%,100%{transform:translateX(-50%) translateZ(65px) translateY(0) rotateY(-23deg) rotateZ(-8deg)}50%{transform:translateX(-50%) translateZ(65px) translateY(-15px) rotateY(-17deg) rotateZ(-5deg)}}
/* Refined direction: static, editorial hero; restrained hover feedback. */
.hero-intro,.reveal,.hero-photo{animation:none!important}.observe{will-change:auto;opacity:1!important;transform:none!important}.glass-hero{padding:57px 0 58px;min-height:650px}.glass-hero .hero-layout{gap:65px;min-height:510px;grid-template-columns:1fr 1fr}.glass-hero .hero-desc{max-width:510px;font-size:15px}.glass-hero:before{display:none}.glass-hero .hero-bits{gap:19px}.glass-kicker{background:#e2eddf;border-color:#d3e2d0;color:#4d6d52;box-shadow:none;backdrop-filter:none}.hero-photo-frame{position:relative;border-radius:24px;overflow:hidden;height:485px;border:7px solid #ffffff8c;box-shadow:0 18px 45px #384d3b17}.hero-photo-frame>img{height:100%;width:100%;object-fit:cover;object-position:center 55%;transition:filter .22s}.hero-photo-shade{position:absolute;inset:45% 0 0;background:linear-gradient(0deg,#0a282c65,transparent)}.hero-photo-card{position:absolute;bottom:24px;inset-inline:22px;display:flex;gap:14px;align-items:center;background:#ffffffdf;border:1px solid white;box-shadow:0 8px 25px #142f321a;backdrop-filter:blur(16px);border-radius:14px;padding:20px}.hero-card-icon{display:grid;place-content:center;background:#e0eddf;color:#4f7251;border-radius:10px;width:43px;height:43px;flex-shrink:0}.hero-photo-card strong{font-size:14px;font-weight:600;display:block}.hero-photo-card small{font-size:11px;color:#7b8a7f;display:block;margin-top:4px}.hero-live-label{margin-inline-start:auto;font-size:10px;background:#e7eff4;color:#5f7e91;padding:5px 10px;border-radius:20px;display:flex;gap:8px;align-items:center;white-space:nowrap}.hero-subjects{display:flex;gap:10px;margin-top:17px;justify-content:center;flex-wrap:wrap}.hero-subjects span{font-size:11px;border-radius:25px;padding:6px 17px;border:1px solid #ffffffa8}.subject-sage{background:#dfeadd;color:#4e7251}.subject-blue{background:#e0ebf1;color:#57778d}.subject-peach{background:#f3e3d5;color:#9a7558}.btn{transform:none!important;transition:background .2s,box-shadow .2s,translate .2s}.btn:hover{translate:0 -2px;transform:none!important;box-shadow:0 5px 13px #35524425}.btn:active{translate:0 0}.btn.outline,.btn.ghost,.btn.white{box-shadow:inset 0 1px 0 white,0 2px 5px #65796a0b}.course-card{transition:translate .22s,box-shadow .22s;transform:none!important;box-shadow:0 5px 20px #627d5c08}.course-card:hover{translate:0 -3px;transform:none!important;box-shadow:0 12px 27px #627d5c17}.course-image img{transition:filter .22s;transform:none!important}.course-card:hover .course-image img{filter:brightness(1.035);transform:none!important}.pathways{box-shadow:0 8px 25px #596e5510;border-radius:18px}.pathway .iconbox{box-shadow:none;background:#e1ecdf}.pathway:nth-child(2) .iconbox{background:#e2ebf1;color:#5a7b91}.pathway:nth-child(3) .iconbox{background:#f2e3d5;color:#977657}.btn.gold{background:#dabb87;box-shadow:0 5px 13px #a88b5730;border-color:#e1c99e}.btn.gold:hover{background:#d2ae73}.header{backdrop-filter:blur(17px);box-shadow:none}.section.soft{background:#ecf0ea80}.stat,.dashboard-card,.form-card,.review,.teacher-card{box-shadow:0 5px 22px #65745909}.dark-section{border-radius:22px;box-shadow:none}.dark-section:before{display:none}#scroll-meter{display:none!important}.photo-note{box-shadow:0 7px 25px #142f3215}.glass-hero .watch{display:inline-flex;align-items:center;gap:10px}.eyebrow{color:#9f7d51}html[data-theme=night] .hero-photo-card{background:#17362edb;border-color:#94bba24d}html[data-theme=night] .hero-card-icon{background:#56785c55;color:#d5e9c8}html[data-theme=night] .hero-photo-card small{color:#bbcebc}html[data-theme=night] .hero-live-label{background:#7297a433;color:#c0d5dd}html[data-theme=night] .glass-kicker{background:#416c483d;color:#c4dac0;border-color:#7fa37c35}html[data-theme=night] .subject-sage{background:#365e3e;color:#ccddbf}html[data-theme=night] .subject-blue{background:#2d4b58;color:#bad4de}html[data-theme=night] .subject-peach{background:#5f4c38;color:#e4cfb3}html[data-theme=night] .hero-photo-frame{border-color:#d2e7cb28}html[data-theme=night] .section.soft{background:#a7c69c06}
@media(max-width:1100px){.glass-hero .hero-layout{gap:35px}.hero-photo-frame{height:450px}.hero-photo-card{padding:15px;inset-inline:15px}.hero-live-label{padding:4px 8px}.glass-hero{min-height:600px}}
@media(max-width:900px){.glass-hero .hero-layout{gap:25px}.hero-photo-frame{height:430px}.hero-photo-card{padding:13px;inset-inline:12px;bottom:15px;gap:10px}.hero-photo-card strong{font-size:12px}.hero-card-icon{width:34px;height:34px}.hero-live-label{display:none}.glass-hero .hero-desc{font-size:14px}.glass-hero{padding-block:35px;min-height:550px}}
@media(max-width:650px){.glass-hero{padding:34px 0 42px;min-height:auto}.glass-hero .hero-layout{grid-template-columns:1fr;gap:35px;min-height:0}.glass-hero h1{font-size:42px}html[lang=ur] .glass-hero h1{font-size:35px;line-height:2}.hero-photo-frame{height:330px;border-width:5px;border-radius:20px}.hero-photo-card{padding:15px;inset-inline:15px;bottom:17px}.hero-live-label{display:flex}.hero-photo-card strong{font-size:13px}.hero-subjects{gap:7px;margin-top:14px}.hero-subjects span{padding:5px 13px;font-size:10px}.glass-hero .hero-desc{font-size:14px}.glass-hero .hero-bits{gap:15px;font-size:10px}.course-card:hover{translate:none}.btn:hover{translate:none}}
/* Clear glass surfaces, calm color and accessible account controls. */
body{background:radial-gradient(ellipse at 6% 12%,#c9e9ed75,transparent 42%),radial-gradient(ellipse at 94% 32%,#e7d9f477,transparent 39%),#f3f6f3;background-attachment:fixed}.glass-hero{background:radial-gradient(ellipse at 20% 30%,#c1e1e76b,transparent 60%),radial-gradient(ellipse at 90% 85%,#edd6be70,transparent 50%)}.hero-intro{padding:32px;border:1px solid #fff9;border-radius:28px;background:linear-gradient(130deg,#ffffffa8,#ffffff38);backdrop-filter:blur(24px);box-shadow:inset 0 1px 0 #fff,0 18px 55px #4c676509}.glass-hero .hero-layout{gap:35px}.glass-kicker{background:#ffffffa8;border:1px solid #fff;backdrop-filter:blur(12px)}.form-card,.auth-form,.dashboard-card{background:linear-gradient(135deg,#ffffffd9,#ffffffa8);border:1px solid #ffffff;backdrop-filter:blur(22px);box-shadow:inset 0 1px 0 #fff,0 12px 38px #36555c0b}.auth-wrap{border:1px solid #fff;box-shadow:0 25px 70px #1c464f14}.password-control{position:relative}.password-control input{padding-inline-end:95px}.show-password{position:absolute;inset-inline-end:10px;bottom:12px;padding:6px 10px;border-radius:8px;border:0;background:#e3eeeb;color:#245c52;font:inherit;font-size:12px;cursor:pointer}.password-generate{border:0;background:transparent;color:#286b69;cursor:pointer;text-decoration:underline;font:inherit;font-size:12px;padding:0;margin-bottom:12px}.contact-example{font-size:12px;color:var(--muted);margin-top:-10px;margin-bottom:23px;line-height:1.9}.auth-form .btn{min-height:50px}.spinner{display:inline-block;width:15px;height:15px;border:2px solid #fff5;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{rotate:360deg}}.enrollment-progress{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:20px;background:#ffffff80;border:1px solid #fff;border-radius:15px;margin-bottom:20px}.payment-step{border:1px solid #c9ddda;background:#f1f9f680;border-radius:18px;padding:23px;margin:28px 0}.payment-step legend{padding:0 10px;color:#25645b;font-weight:600}.fee-total{display:flex;justify-content:space-between;align-items:center;gap:15px}.fee-total b{font-size:25px;color:#216e62}.payment-step p{font-size:13px;line-height:1.9}.payment-account{padding:20px;border:1px solid #fff;background:#ffffffad;border-radius:14px;margin-bottom:22px}.payment-account dl{margin-block:15px}.payment-account dt{font-size:11px;color:var(--muted)}.payment-account dd{margin:3px 0 13px;overflow-wrap:anywhere;user-select:all}.receipt-preview{max-height:420px;object-fit:contain;width:100%;border-radius:12px;margin:20px 0;display:block;background:#edf1ed}.receipt-link{display:block;margin-block:16px;text-decoration:underline}.payment-review{border-top:1px solid #d4e1d9;padding-top:22px;margin-top:22px}.whatsapp-float{position:fixed;inset-inline-end:24px;bottom:24px;width:55px;height:55px;display:grid;place-items:center;border-radius:19px;background:#187d60e8;color:white;border:1px solid #ffffff99;box-shadow:0 8px 25px #0e4d4030;backdrop-filter:blur(16px);z-index:35;transition:background .2s,translate .2s}.whatsapp-float svg{width:28px;height:28px}.whatsapp-float:hover{translate:0 -2px;background:#0b6850}.checklabel{align-items:flex-start;line-height:1.9}.checklabel input{flex-shrink:0;margin-top:5px}.form-card input,.auth-form input,.form-card select,.form-card textarea{font-size:16px}.field input[type=file]{padding:15px;max-width:100%;background:#fff8}.field input[type=file]::file-selector-button{border:0;padding:9px 12px;border-radius:8px;background:#e0eeea;color:#246456;margin-inline-end:12px;cursor:pointer}html[data-theme=night] body{background:radial-gradient(ellipse at 5% 10%,#274b4a66,transparent 55%),#102720}html[data-theme=night] .hero-intro,html[data-theme=night] .form-card,html[data-theme=night] .dashboard-card,html[data-theme=night] .auth-form{background:linear-gradient(130deg,#23483dd9,#19382fcc);border-color:#a8c6b335;box-shadow:0 15px 40px #0001}html[data-theme=night] .payment-step,html[data-theme=night] .payment-account,html[data-theme=night] .enrollment-progress{background:#23483d99;border-color:#a8c6b335}html[data-theme=night] .fee-total b,html[data-theme=night] .payment-step legend{color:#bbe4cc}
@media(max-width:650px){.hero-intro{padding:24px 20px}.whatsapp-float{width:49px;height:49px;bottom:17px;inset-inline-end:16px;border-radius:16px}.enrollment-progress{font-size:10px;padding:15px 12px;gap:7px}.payment-step{padding:18px}.auth-form{padding:28px 23px!important}.fee-total b{font-size:22px}}
@media(prefers-reduced-motion:reduce){.btn,.whatsapp-float,.course-card{transition:none!important;translate:none!important}}
.auth-tabs{display:flex;gap:4px;padding:5px;background:#dce9e980;border:1px solid #fff9;border-radius:13px;margin-bottom:25px}.auth-tabs a{flex:1;text-align:center;padding:11px 8px;border-radius:9px;font-size:13px;line-height:1.8}.auth-tabs .active{background:#fff;color:#24594d;box-shadow:0 3px 12px #254e4912}.auth-help{border-inline-start:3px solid #85b4aa;padding:12px 14px;background:#e8f2ef8c;border-radius:8px;margin-bottom:22px;font-size:12px;line-height:1.95}.auth-error-action{display:block;text-decoration:underline;font-weight:700;margin-top:8px}.password-support{display:block;font-size:12px;text-align:center;margin-top:15px;text-decoration:underline}.setup-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.setup-cards a{padding:21px;border:1px solid #fff;background:linear-gradient(130deg,#ffffffdd,#e4f0edbb);border-radius:16px}.setup-cards a:nth-child(2){background:linear-gradient(130deg,#ffffffdd,#e5eaf4bb)}.setup-cards a:nth-child(3){background:linear-gradient(130deg,#ffffffdd,#f4e8dbbb)}.setup-cards b{display:block;font-size:14px;margin-bottom:5px}.setup-cards span{font-size:11px;color:var(--muted);line-height:1.9}.whatsapp-float svg{stroke:none}.whatsapp-float.unconfigured svg{stroke:currentColor;fill:none}.account-grid>*,.hero-layout>*,.form-grid>*,.detail-layout>*,.auth-wrap>*,.setup-cards>*{min-width:0}.field input,.field select,.field textarea{max-width:100%;min-width:0}.contact-detail,.notice-box,.payment-account,.course-info{overflow-wrap:anywhere}html[data-theme=night] .auth-tabs,html[data-theme=night] .auth-help{background:#2b4e4280;border-color:#8caa9730}html[data-theme=night] .auth-tabs .active{background:#345b4d;color:#e6f0e9}html[data-theme=night] .setup-cards a{background:#294b3e99;border-color:#99b9a533}
@media(max-width:900px){.nav.open{max-height:calc(100dvh - 110px);overflow-y:auto}.nav a{min-height:44px;display:flex;align-items:center}.setup-cards{gap:10px}.setup-cards a{padding:17px}.mobile-admin-nav{min-height:44px}}
@media(max-width:650px){.container{padding-inline:18px}.setup-cards{grid-template-columns:1fr}.setup-cards a{padding:17px 20px}.auth-section{padding-block:22px}.auth-wrap{margin-inline:14px}.auth-tabs a{font-size:12px;min-height:45px}.auth-help{font-size:12px}.field input,.field select,.field textarea,.dashboard-card input,.dashboard-card select,.dashboard-card textarea{font-size:16px;min-height:46px}.form-card,.dashboard-card{padding:21px 18px}.btn{min-height:44px}.admin-sidebar{flex-wrap:wrap;gap:14px}.mobile-admin-nav{flex:1;max-width:100%;min-width:130px}.admin-top .right{flex-wrap:wrap;gap:10px}.account-side{gap:7px}.account-side a,.account-side button{min-height:44px}.data-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}dialog{max-width:calc(100vw - 20px);max-height:90dvh}.modal-body{padding:20px 17px}.savebar{flex-wrap:wrap;gap:10px}.savebar .btn{flex:1;min-width:110px}.enrollment-progress{flex-wrap:wrap}.payment-step{margin-inline:0}.payment-review h3{font-size:17px}.receipt-preview{max-height:320px}.header .brand-name{white-space:normal}.header .brand-tag{letter-spacing:0}.hero-intro{padding:22px 18px}.hero-photo-frame{height:300px}.hero-photo-card{inset-inline:10px;padding:12px}.hero-live-label{display:none}footer{padding-bottom:80px!important}}
@media(max-width:360px){.header .brand img{width:30px;height:30px}.header .brand-name{font-size:10px}.header .brand-tag{font-size:6px}.header-inner{gap:5px}.theme-toggle{width:26px;height:30px}.language{max-width:61px}.hero-subjects span{font-size:9px;padding:5px 9px}.hero-photo-frame{height:260px}.glass-hero h1{font-size:34px}html[lang=ur] .glass-hero h1{font-size:29px}.auth-form{padding:23px 17px!important}}

@media(max-width:650px){.auth-visual{display:none}.auth-wrap{border-radius:20px}.auth-tabs{margin-bottom:20px}.auth-help{margin-bottom:18px}.auth-form>.eyebrow{margin-bottom:12px}.auth-form h1{margin-bottom:15px}.auth-form .sub{margin-bottom:15px}.whatsapp-float.unconfigured svg{stroke:none}}
.review-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.review-intro p{margin:0}.video-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.video-review{border:1px solid #fff;border-radius:20px;overflow:hidden;background:#fff9;box-shadow:0 8px 30px #264c4010}.video-review video,.video-upload-preview video{width:100%;aspect-ratio:16/10;object-fit:contain;background:#102821}.video-review>div{padding:20px}.video-review h3{font-size:17px;margin:0 0 7px}.video-review p{font-size:13px;margin:0;color:var(--muted)}.video-upload-preview{max-width:480px;border-radius:13px;overflow:hidden;margin-bottom:15px}.video-file-label{position:relative;overflow:hidden}.video-file-label input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-status{font-size:12px;line-height:1.8}.custom-section{background:#ffffffaa;border:1px solid white;border-radius:24px;padding:36px;backdrop-filter:blur(18px)}.custom-section.with-image{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.custom-section>img{width:100%;height:320px;border-radius:16px}.custom-page{max-width:960px}.custom-page>img{width:100%;max-height:450px;object-fit:cover;border-radius:20px;margin-bottom:35px}.prose{white-space:pre-line;overflow-wrap:anywhere}html[data-theme=night] .video-review,html[data-theme=night] .custom-section{background:#204435aa;border-color:#abcdb733}
@media(max-width:900px){.video-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.review-intro{align-items:stretch;flex-direction:column}.video-review-grid{grid-template-columns:1fr}.custom-section,.custom-section.with-image{display:block;padding:23px}.custom-section>img{height:240px;margin-bottom:25px}.video-file-label{width:100%;font-size:12px}}

@media (hover: hover) {
  .course-card:hover, .teacher-card:hover, .review-card:hover, .dashboard-card:hover {
    background-color: color-mix(in srgb, var(--surface, #f5faf7) 88%, #52a77f);
    outline: 1px solid #52a77f70;
  }
}

/* Keep the laptop layout compact without changing browser zoom. */
@media (min-width: 901px) and (max-width: 1440px) {
  .section { padding-block: clamp(36px, 5vw, 68px); }
  .glass-hero { min-height: auto; padding-block: clamp(30px, 4vw, 52px); }
  .glass-hero .hero-layout { min-height: 0; gap: clamp(24px, 4vw, 52px); }
  .glass-hero h1 { font-size: clamp(2rem, 4.4vw, 3.7rem); }
  .glass-hero .hero-photo-card { max-height: clamp(310px, 36vw, 460px); }
  .dashboard-card { padding: clamp(16px, 2vw, 28px); }
}

.palette-field{border:0;padding:0;margin:0 0 16px;min-width:0}
.palette-field legend{margin-bottom:12px;font-weight:600}
.palette-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}
.palette-option{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:14px;cursor:pointer}
.palette-option:has(input:checked){border-color:var(--green);outline:1px solid var(--green)}
.palette-option input{width:auto;justify-self:start;accent-color:var(--green)}
.palette-swatches{display:grid;grid-template-columns:repeat(3,1fr);height:32px;overflow:hidden;border-radius:7px;border:1px solid var(--line)}
.palette-swatches i:nth-child(1){background:var(--palette-base)}
.palette-swatches i:nth-child(2){background:var(--palette-brand)}
.palette-swatches i:nth-child(3){background:var(--palette-accent)}
.palette-pearl{--palette-base:#f3f6f3;--palette-brand:#244e43;--palette-accent:#ae8456}
.palette-night{--palette-base:#102720;--palette-brand:#93b587;--palette-accent:#d8bb8e}
.palette-emerald,html[data-theme=emerald]{--palette-base:#e7f5eb;--palette-brand:#14543d;--palette-accent:#ac7928;--palette-halo:#c3e5ce;--palette-ink:#193b2d}
.palette-sapphire,html[data-theme=sapphire]{--palette-base:#edf4ff;--palette-brand:#294b82;--palette-accent:#7793ba;--palette-halo:#cbdcf8;--palette-ink:#1b3558}
.palette-rose,html[data-theme=rose]{--palette-base:#fbefed;--palette-brand:#85475a;--palette-accent:#ac744e;--palette-halo:#f4d7df;--palette-ink:#572e3c}
html:is([data-theme=emerald],[data-theme=sapphire],[data-theme=rose],[data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]){--ink:var(--palette-ink);--green:var(--palette-brand);--gold:var(--palette-accent);--paper:var(--palette-base);--line:color-mix(in srgb,var(--palette-brand) 22%,transparent)}
html:is([data-theme=emerald],[data-theme=sapphire],[data-theme=rose],[data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]) body{background:radial-gradient(ellipse at 8% 12%,var(--palette-halo),transparent 60%),var(--palette-base)}
html:is([data-theme=emerald],[data-theme=sapphire],[data-theme=rose],[data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]) :is(.admin-sidebar,.topbar,.header,.page-top){background:color-mix(in srgb,var(--palette-base) 76%,white)}
html:is([data-theme=emerald],[data-theme=sapphire],[data-theme=rose],[data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]) .btn:not(.outline,.ghost,.gold){background:var(--palette-brand);color:white}

.palette-aurora,html[data-theme=aurora]{--palette-base:#e3fcf8;--palette-brand:#06675f;--palette-accent:#694dc2;--palette-halo:#9bf0dd;--palette-ink:#093f3d;--palette-glow:#d9c9ff}
.palette-orchid,html[data-theme=orchid]{--palette-base:#f5eeff;--palette-brand:#6131a2;--palette-accent:#a43b78;--palette-halo:#e1c6ff;--palette-ink:#3c195d;--palette-glow:#ffcfe8}
.palette-sunset,html[data-theme=sunset]{--palette-base:#fff0e6;--palette-brand:#9c3e28;--palette-accent:#b15d08;--palette-halo:#ffc7ad;--palette-ink:#60251c;--palette-glow:#ffdd9e}
.palette-royal,html[data-theme=royal]{--palette-base:#eaf0ff;--palette-brand:#243e95;--palette-accent:#9b6b16;--palette-halo:#bbcbff;--palette-ink:#172a60;--palette-glow:#f5dfad}
.palette-forest,html[data-theme=forest]{--palette-base:#f1f2df;--palette-brand:#465628;--palette-accent:#99532f;--palette-halo:#d5dfab;--palette-ink:#333f21;--palette-glow:#f1ceb4}
html:is([data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]) body{background:radial-gradient(ellipse at 88% 26%,var(--palette-glow),transparent 53%),radial-gradient(ellipse at 7% 6%,var(--palette-halo),transparent 63%),var(--palette-base)}
html:is([data-theme=aurora],[data-theme=orchid],[data-theme=sunset],[data-theme=royal],[data-theme=forest]) .btn:not(.outline,.ghost,.gold){background:linear-gradient(145deg,var(--palette-brand),var(--palette-ink))}

/* Publications cover shelf */
.books-section {padding-block: clamp(16px, 3vw, 46px) clamp(32px, 5vw, 76px)}
.books-stage {
  position:relative; isolation:isolate; overflow:hidden; direction:ltr;
  display:grid; place-items:center; min-height:clamp(310px, 42vw, 540px);
  border:1px solid #ffffff39; border-radius:28px; perspective:950px;
  background:radial-gradient(ellipse at 50% 3%, #a97b48aa, transparent 58%),
    linear-gradient(150deg,#272527,#172c2d 70%,#1c3032);
}
.book-card {
  position:absolute; width:clamp(155px, 23vw, 280px); aspect-ratio: .73;
  display:flex; align-items:flex-end; padding:0; overflow:hidden; cursor:pointer;
  border:1px solid #ffffff77; border-radius:20px; color:#fff;
  background:#263338; box-shadow:0 22px 45px #0007,inset 0 1px #fffd;
  transition:filter .2s ease, border-color .2s ease; filter:brightness(.82);
}
.book-card[data-slot="0"] {z-index:3;filter:none}
.book-card:is([data-slot="-1"],[data-slot="1"]) {z-index:2}
.book-card:hover,.book-card:focus-visible {filter:brightness(1.12);border-color:#f4cf96;outline-offset:4px}
.book-card img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.book-caption {
  position:relative; width:100%; min-height:31%; display:grid; align-content:center; gap:5px;
  padding:12px; text-align:center; background:#152225e8; border-top:1px solid #fff4;
}
.book-caption small {color:#f8d6a4; font-size:.72rem}
.book-caption strong {font-size:clamp(.82rem,1.45vw,1.16rem);line-height:1.5}
.books-controls {display:flex; align-items:center; justify-content:center; gap:16px; margin:16px 0}
.books-controls span {font-variant-numeric:tabular-nums}
.book-details,.books-empty {text-align:center; max-width:650px; margin:0 auto}
.book-details .prose {margin:10px auto 20px}
.book-editor {border-bottom:1px solid var(--line,#9995); padding-block:8px}
.book-editor summary {cursor:pointer; padding:12px 4px; font-weight:600}
@media(max-width:550px) {
  .books-stage {min-height:310px; border-radius:20px}
  .book-card:is([data-slot="-2"],[data-slot="2"]) {display:none}
}
@media(prefers-reduced-motion:reduce) {.book-card{transition:none}}
.book-card {--book-position:translateX(calc(var(--book-shift) * clamp(65px, 13vw, 174px))) translateZ(calc(var(--book-depth) * -125px)) rotateY(calc(var(--book-shift) * -12deg))}
.books-stage .book-card, .books-stage .book-card:hover:not(:disabled), .books-stage .book-card:active {transform:var(--book-position)}
.book-request-details img {display:block;width:min(100%, 240px);max-height:240px;object-fit:cover;border-radius:16px;margin:0 auto 16px}
.book-actions {display:flex; flex-wrap:wrap; gap:10px; margin-block:16px}

.book-card[data-slot="0"] {border-color:#f5d5a4aa;box-shadow:0 24px 60px #0009,0 0 30px #e2b97525}
.book-card[data-slot="0"] .book-caption {background:linear-gradient(145deg,#172f33f5,#112023fa)}
.book-card-meta {font-size:.72rem;color:#f5d5a4}
.book-facts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.book-facts > div {padding:12px;border:1px solid var(--line);border-radius:12px}
.book-facts dt {font-size:.82rem;color:var(--muted)}
.book-facts dd {margin:4px 0 0;font-weight:700}
.publication-shelf + .publication-shelf {margin-block-start:clamp(40px,7vw,90px)}
.publication-shelf > h2 {margin-block-end:14px}
.publication-admin-heading {margin-block-start:30px}
