:root{--night:#0D1B2A;--emerald:#1A3A20;--gold:#C8972A;--gold-lt:#e6b94d;--white:#FFFFFF;--off-white:#F8F6F0;--text:#1a1a2e;--text-muted:#666;--mist:#f0f4f0;--border:#e0e0e0;--red:#d32f2f}*{box-sizing:border-box;margin:0;padding:0}html,body{font-family:'Inter',sans-serif;color:var(--text);background:var(--white)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.pg{display:none}.pg.on{display:block}nav{position:sticky;top:0;z-index:100;background:var(--night);padding:0.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 12px rgba(0,0,0,0.4)}.nav-brand{display:flex;align-items:center;gap:0.75rem}.nav-logo{width:42px;height:42px;overflow:hidden;border-radius:4px;flex-shrink:0}.nav-logo img{width:100%;height:100%;object-fit:contain}.nav-title{color:var(--white);font-family:'Inter',sans-serif;font-size:1.05rem;font-weight:700;line-height:1.2}.nav-title span{color:var(--gold)}.nav-links{display:flex;align-items:center;gap:1.25rem;list-style:none}.nav-links a{color:#ccc;font-size:0.875rem;font-weight:500;cursor:pointer;transition:color 0.2s}.nav-links a:hover{color:var(--gold)}.nav-links .cta{color:#ccc !important;font-weight:500}.nav-toggle{display:none;background:none;border:none;color:var(--gold);font-size:1.5rem;cursor:pointer}#navUserInfo{color:#aaa;font-size:0.78rem;display:flex;align-items:center;gap:0.5rem}#navUserInfo span{color:var(--gold-lt)}#navUserInfo button{background:none;border:1px solid #555;color:#aaa;border-radius:4px;padding:2px 8px;cursor:pointer;font-size:0.72rem}@media(max-width:700px){.nav-toggle{display:block}.nav-links{display:none;position:absolute;top:64px;left:0;right:0;background:var(--night);flex-direction:column;padding:1rem;gap:0.75rem;z-index:99}.nav-links.open{display:flex}#navUserInfo{font-size:0.72rem;gap:0.3rem}}.navUserEmail{display:none}.hero{background:linear-gradient(135deg,#07161a 0%,#2c2e1c 55%,#5a4e21 100%);min-height:100vh;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:5rem 6rem;gap:4rem}.hero-left{display:flex;justify-content:center;align-items:center}.hero-logo{width:100%;max-width:460px;height:auto;display:block;filter:drop-shadow(0 0 32px rgba(200,151,42,0.45))}.hero-right{display:flex;flex-direction:column;justify-content:center}.hero-ar{font-family:'Amiri',serif;color:var(--gold);font-size:1.6rem;margin-bottom:1rem}.hero h1{font-size:clamp(2.8rem,4.5vw,4rem);color:var(--white);line-height:1.1;margin-bottom:1.25rem;font-weight:800}.hero h1 span{color:var(--gold)}.hero-sub{font-size:1.15rem;color:#b0c8b0;max-width:520px;margin-bottom:2rem;line-height:1.7}.badges{display:flex;flex-wrap:wrap;gap:0.6rem;margin-bottom:2.25rem}.badge{background:rgba(200,151,42,0.15);border:1px solid rgba(200,151,42,0.35);color:var(--gold-lt);border-radius:999px;padding:0.4rem 1rem;font-size:0.85rem}.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}.btn-primary{display:inline-flex;align-items:center;gap:0.5rem;background:var(--gold);color:var(--night);font-weight:700;padding:0.9rem 2rem;border-radius:10px;font-size:1rem;cursor:pointer;transition:background 0.2s;border:none}.btn-primary:hover{background:var(--gold-lt)}.btn-outline{display:inline-flex;align-items:center;gap:0.5rem;border:2px solid var(--gold);color:var(--gold);padding:0.9rem 2rem;border-radius:10px;font-size:1rem;cursor:pointer;transition:all 0.2s;background:none}.btn-outline:hover{background:rgba(200,151,42,0.1)}@media(max-width:900px){.hero{grid-template-columns:1fr;padding:4rem 1.5rem;text-align:center;gap:2.5rem}.hero-logo{width:200px;height:200px;margin:0 auto}.badges,.hero-btns{justify-content:center}}.section{padding:4rem 1.5rem;max-width:1100px;margin:0 auto}.section-bg{background:var(--mist)}.sec-head{text-align:center;margin-bottom:2.5rem}.eyebrow{display:inline-block;font-size:0.75rem;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:0.5rem}.sec-head h2{font-size:clamp(1.5rem,3.5vw,2.2rem);color:var(--night);margin-bottom:0.5rem}.sec-head p{color:var(--text-muted);max-width:500px;margin:0 auto}.divider{width:48px;height:3px;background:var(--gold);margin:0.75rem auto 0;border-radius:2px}.stats-bar{background:var(--emerald);padding:2rem 1.5rem}.stats-inner{max-width:900px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-around;gap:1.5rem}.stat{text-align:center;color:var(--white)}.stat strong{display:block;font-size:1.8rem;font-weight:700;color:var(--gold)}.stat span{font-size:0.8rem;opacity:0.85;margin-top:0.2rem;display:block}.courses-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem}.crs-card{background:var(--white);border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:box-shadow 0.2s,transform 0.2s}.crs-card:hover{box-shadow:0 8px 24px rgba(0,0,0,0.12);transform:translateY(-3px);border-color:var(--gold)}.crs-img{width:100%;aspect-ratio:16/7;overflow:hidden}.crs-img svg{width:100%;height:100%;display:block}.crs-body{padding:1rem 1.1rem 1.1rem}.crs-num{display:inline-block;font-size:0.68rem;font-weight:700;color:var(--gold);border:1px solid var(--gold);border-radius:4px;padding:1px 6px;margin-bottom:0.4rem}.crs-body h3{font-size:0.97rem;font-weight:700;color:var(--night);margin-bottom:0.35rem;line-height:1.3}.crs-body p{font-size:0.82rem;color:var(--text-muted);line-height:1.55}.why-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.25rem}.why-card{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.why-card .icon{font-size:1.8rem;margin-bottom:0.5rem}.why-card h3{font-size:0.95rem;margin-bottom:0.35rem;color:var(--night)}.why-card p{font-size:0.82rem;color:var(--text-muted);line-height:1.5}.steps{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center}.step{text-align:center;max-width:200px}.step-num{width:48px;height:48px;border-radius:50%;background:var(--gold);color:var(--night);font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;margin:0 auto 0.75rem}.step h3{font-size:0.9rem;margin-bottom:0.35rem}.step p{font-size:0.8rem;color:var(--text-muted)}.fees-preview{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:700px;margin:0 auto 2rem}.fee-box{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.5rem;text-align:center}.fee-box h3{font-size:0.9rem;color:var(--text-muted);margin-bottom:0.5rem}.fee-box .range{font-size:1.4rem;font-weight:700;color:var(--gold)}.fee-box p{font-size:0.75rem;color:var(--text-muted);margin-top:0.35rem}.trial-box{background:linear-gradient(135deg,var(--emerald),var(--night));border-radius:16px;padding:2.5rem;text-align:center;color:var(--white);max-width:640px;margin:0 auto}.trial-box h2{font-size:1.6rem;margin-bottom:0.75rem}.trial-box p{color:#b0c8b0;margin-bottom:1.5rem}footer{background:var(--night);color:#888;text-align:center;padding:1.5rem;font-size:0.78rem}footer .fb{font-family:'Amiri',serif;color:var(--gold);font-size:1rem;margin-bottom:0.25rem}footer .fl{display:flex;justify-content:center;gap:1.5rem;margin:0.5rem 0}footer .fl a{color:#888;cursor:pointer}footer .fl a:hover{color:var(--gold)}.page-header{background:linear-gradient(135deg,var(--night),var(--emerald));color:var(--white);text-align:center;padding:5rem 1.5rem 4rem}.page-header .ar{font-family:'Amiri',serif;color:var(--gold);font-size:1.1rem;margin-bottom:0.5rem}.page-header h1{font-size:clamp(2.2rem,5vw,3.5rem);margin-bottom:0.75rem;font-weight:800}.page-header p{color:#b0c8b0;font-size:1.05rem;margin-top:0.5rem}.country-select-wrap{background:var(--mist);padding:1.5rem;text-align:center}.country-select-wrap label{font-weight:600;margin-right:0.75rem}.country-select-wrap select{padding:0.5rem 1rem;border-radius:8px;border:1px solid var(--border);font-size:0.9rem}.fee-section{max-width:1050px;margin:0 auto;padding:2rem 1.5rem}.pkgs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:1rem;margin-bottom:2rem}.pkg{background:var(--white);border:2px solid var(--border);border-radius:12px;padding:1.25rem;text-align:center}.pkg.pop{border-color:var(--gold);position:relative}.pkg.pop::before{content:"Most Popular";position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--gold);color:var(--night);font-size:0.68rem;font-weight:700;padding:2px 10px;border-radius:999px;white-space:nowrap}.pkg-name{font-weight:700;font-size:1rem;color:var(--night);margin-bottom:0.5rem}.pkg-price{font-size:1.5rem;font-weight:700;color:var(--gold);margin-bottom:0.35rem}.pkg-price .curr{font-size:1rem}.pkg-price .per{font-size:0.75rem;color:var(--text-muted)}.pkg-desc{font-size:0.8rem;color:var(--text-muted);margin-bottom:0.5rem}.pkg-det{font-size:0.78rem;color:var(--text-muted);line-height:1.8}.policy-box{background:var(--mist);border-left:4px solid var(--gold);border-radius:8px;padding:1.25rem 1.5rem;margin-bottom:1.5rem}.policy-box h3{font-size:0.95rem;margin-bottom:0.75rem;color:var(--night)}.policy-box ul{padding-left:1.2rem}.policy-box li{font-size:0.82rem;color:var(--text-muted);margin-bottom:0.35rem;line-height:1.5}.note-strip{background:rgba(200,151,42,0.1);border:1px solid rgba(200,151,42,0.3);border-radius:8px;padding:0.75rem 1rem;font-size:0.82rem;color:var(--text-muted);display:flex;gap:0.75rem;align-items:flex-start;margin-bottom:1rem}.cta-wrap{text-align:center;margin:2rem 0}.auth-page{min-height:100vh;background:linear-gradient(135deg,var(--night) 0%,#0f1f10 100%);display:flex;align-items:center;justify-content:center;padding:2rem}.auth-box{background:var(--white);border-radius:16px;padding:2.5rem;width:100%;max-width:420px;box-shadow:0 20px 60px rgba(0,0,0,0.3)}.auth-logo{width:90px;height:90px;display:block;margin:0 auto 1.25rem;object-fit:contain}.auth-box h2{text-align:center;font-size:1.5rem;color:var(--night);margin-bottom:0.25rem}.auth-box .auth-sub{text-align:center;color:var(--text-muted);font-size:0.85rem;margin-bottom:1.75rem}.auth-field{margin-bottom:1rem}.auth-field label{display:block;font-size:0.82rem;font-weight:600;color:var(--night);margin-bottom:0.35rem}.auth-field input{width:100%;padding:0.7rem 1rem;border:1.5px solid var(--border);border-radius:8px;font-size:0.9rem;font-family:inherit;transition:border 0.2s}.auth-field input:focus{outline:none;border-color:var(--gold)}.pw-wrap{position:relative}.pw-wrap input{padding-right:2.75rem !important}.pw-toggle{position:absolute;right:0.75rem;top:50%;transform:translateY(-50%);cursor:pointer;user-select:none;line-height:1;color:#999;display:flex}.pw-toggle:hover{color:#666}input[type="password"]::-ms-reveal,input[type="password"]::-ms-clear{display:none}.auth-btn{width:100%;background:var(--gold);color:var(--night);font-weight:700;font-size:1rem;padding:0.85rem;border:none;border-radius:10px;cursor:pointer;margin-top:0.5rem;transition:background 0.2s}.auth-btn:hover{background:var(--gold-lt)}.auth-err{background:#fde8e8;border:1px solid #f5c6c6;border-radius:8px;padding:0.6rem 1rem;font-size:0.82rem;color:var(--red);margin-bottom:1rem;display:none}.auth-err.show{display:block}.auth-switch{text-align:center;margin-top:1.25rem;font-size:0.85rem;color:var(--text-muted)}.auth-switch a{color:var(--gold);font-weight:600;cursor:pointer}.auth-divider{text-align:center;color:var(--text-muted);font-size:0.8rem;margin:1rem 0;position:relative}.auth-divider::before,.auth-divider::after{content:'';position:absolute;top:50%;width:40%;height:1px;background:var(--border)}.auth-divider::before{left:0}.auth-divider::after{right:0}.admin-page{min-height:100vh;background:#f4f6f9}.admin-header{background:var(--night);padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between}.admin-header h1{color:var(--gold);font-size:1.2rem}.admin-header .logout-btn{background:none;border:1px solid #555;color:#aaa;padding:0.4rem 1rem;border-radius:6px;cursor:pointer;font-size:0.82rem}.admin-body{max-width:1200px;margin:0 auto;padding:2rem 1.5rem}.admin-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.admin-stat-card{background:var(--white);border-radius:12px;padding:1.25rem;border-left:4px solid var(--gold)}.admin-stat-card .num{font-size:2rem;font-weight:700;color:var(--night)}.admin-stat-card .lbl{font-size:0.82rem;color:var(--text-muted);margin-top:0.25rem}.admin-table-wrap{background:var(--white);border-radius:12px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,0.06)}.admin-table-header{padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.admin-table-header h2{font-size:1rem;color:var(--night)}.admin-table-header input{padding:0.5rem 0.75rem;border:1px solid var(--border);border-radius:8px;font-size:0.85rem;width:220px}table{width:100%;border-collapse:collapse}th{background:var(--mist);padding:0.75rem 1rem;text-align:left;font-size:0.78rem;font-weight:600;color:var(--night);text-transform:uppercase;letter-spacing:0.05em}td{padding:0.85rem 1rem;font-size:0.85rem;border-bottom:1px solid var(--border)}tr:hover td{background:#fafafa}.status-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:0.72rem;font-weight:600}.status-new{background:#e8f5e9;color:#2e7d32}.status-trial{background:#fff8e1;color:#f57f17}.status-active{background:#e3f2fd;color:#1565c0}.view-btn{background:none;border:1px solid var(--gold);color:var(--gold);padding:3px 10px;border-radius:6px;cursor:pointer;font-size:0.75rem}.empty-state{text-align:center;padding:3rem;color:var(--text-muted)}.admin-loading{text-align:center;padding:3rem;color:var(--text-muted)}.modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.6);z-index:200;align-items:center;justify-content:center;padding:1rem}.modal-overlay.show{display:flex}.modal{background:var(--white);border-radius:16px;padding:2rem;max-width:600px;width:100%;max-height:90vh;overflow-y:auto}.modal h3{font-size:1.2rem;margin-bottom:1.25rem;color:var(--night)}.modal-close{float:right;background:none;border:none;font-size:1.3rem;cursor:pointer;color:var(--text-muted)}.detail-row{display:flex;gap:1rem;margin-bottom:0.75rem;font-size:0.875rem}.detail-row .lbl{font-weight:600;color:var(--night);min-width:140px}.detail-row .val{color:var(--text-muted)}.portal-page{min-height:100vh;background:#f0f4f0}.portal-header{background:var(--night);padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between}.portal-header h1{color:var(--gold);font-size:1.1rem}.mobile-title-br{display:none}.portal-body{max-width:900px;margin:0 auto;padding:2rem 1.5rem}.portal-welcome{background:linear-gradient(135deg,var(--emerald),var(--night));border-radius:16px;padding:2rem;color:var(--white);margin-bottom:1.5rem}.portal-welcome h2{font-size:1.5rem;margin-bottom:0.5rem}.portal-welcome p{color:#b0c8b0}.portal-card{background:var(--white);border-radius:12px;padding:1.5rem;margin-bottom:1.25rem;border:1px solid var(--border)}.portal-card h3{font-size:0.95rem;font-weight:700;color:var(--night);margin-bottom:1rem;border-bottom:2px solid var(--gold);padding-bottom:0.5rem;display:inline-block}.portal-detail{display:flex;gap:1rem;margin-bottom:0.6rem;font-size:0.875rem}.portal-detail .lbl{font-weight:600;color:var(--night);min-width:130px}.portal-detail .val{color:var(--text-muted)}.course-tag{display:inline-block;background:rgba(200,151,42,0.12);border:1px solid rgba(200,151,42,0.3);color:var(--gold);border-radius:999px;padding:3px 10px;font-size:0.78rem;margin:2px}.portal-pending{background:#fff8e1;border:1px solid #ffc107;border-radius:8px;padding:1rem;font-size:0.85rem;color:#856404;margin-bottom:1.5rem}.reg-form{max-width:780px;margin:0 auto;padding:2rem 1.5rem}.form-sec{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.form-sec-title{display:flex;align-items:center;gap:0.75rem;margin-bottom:1.25rem}.num{width:32px;height:32px;border-radius:50%;background:var(--gold);color:var(--night);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:0.9rem;flex-shrink:0}.form-sec-title h2{font-size:1rem;color:var(--night)}.frow{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.frow.single{grid-template-columns:1fr}.frow.triple{grid-template-columns:1fr 1fr 1fr}.field{display:flex;flex-direction:column;gap:0.35rem}.field label{font-size:0.82rem;font-weight:600;color:var(--night)}.field input,.field select,.field textarea{padding:0.6rem 0.75rem;border:1.5px solid var(--border);border-radius:8px;font-size:0.875rem;font-family:inherit;transition:border 0.2s}input[type="file"]{max-width:100%}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}.field textarea{min-height:80px;resize:vertical}.req{color:var(--gold)}.ferr{font-size:0.75rem;color:var(--red);display:none}.ferr.show{display:block}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:0.5rem}.chk-opt{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:0.85rem;transition:all 0.15s}.chk-opt:hover{border-color:var(--gold);background:rgba(200,151,42,0.05)}.radio-grp{display:flex;flex-wrap:wrap;gap:0.75rem;margin-top:0.4rem}.radio-opt{display:flex;align-items:center;gap:0.4rem;cursor:pointer;font-size:0.875rem}.days-grid{display:flex;flex-wrap:wrap;gap:0.5rem}.day-chip{padding:0.4rem 0.9rem;border:1.5px solid var(--border);border-radius:999px;cursor:pointer;font-size:0.82rem;transition:all 0.15s}.age-alert{background:#fff3cd;border:1px solid #ffc107;border-radius:8px;padding:0.75rem 1rem;font-size:0.82rem;color:#856404;display:none;margin-top:0.5rem}.age-alert.show{display:flex;gap:0.5rem}.policy-preview{background:var(--mist);border-radius:8px;padding:1rem 1.25rem;max-height:260px;overflow-y:auto;font-size:0.78rem;line-height:1.6;display:none;margin-bottom:1rem}.policy-preview.show{display:block}.policy-preview h4{font-size:0.82rem;color:var(--night);margin:0.75rem 0 0.25rem}.policy-preview ul{padding-left:1.1rem}.zoom-guide{background:var(--mist);border-radius:8px;padding:.65rem .85rem;margin-top:.4rem;font-size:.78rem;line-height:1.6;color:var(--text-muted)}.avail-grid{display:flex;flex-wrap:wrap;gap:.5rem}.avail-chip{padding:.45rem .9rem;border:1.5px solid var(--border);border-radius:999px;cursor:pointer;font-size:.8rem;transition:all .15s;background:var(--white);user-select:none}.avail-chip:hover{border-color:var(--gold)}.avail-chip.marked{background:#fde8e8;border-color:#d32f2f;color:#d32f2f;text-decoration:line-through;font-weight:600}.att-status-btn{padding:0.5rem 0.9rem;border:1.5px solid var(--border);border-radius:999px;cursor:pointer;font-size:0.82rem;background:var(--white);transition:all 0.15s}.att-status-btn:hover{border-color:var(--gold)}.att-status-btn.active[data-status="present"]{background:#e8f5e9;border-color:#2e7d32;font-weight:700}.att-status-btn.active[data-status="absent"]{background:#fde8e8;border-color:#d32f2f;font-weight:700}.att-status-btn.active[data-status="late"]{background:#fff8e1;border-color:#e6a700;font-weight:700}.att-status-btn.active[data-status="early"]{background:#fff3e0;border-color:#e65100;font-weight:700}.att-status-btn.active[data-status="excused"]{background:#e3f2fd;border-color:#1976d2;font-weight:700}.policy-link{color:var(--gold);text-decoration:underline;cursor:pointer}.field-hint{font-size:0.72rem;color:var(--text-muted)}.submit-wrap{text-align:center;margin:1.5rem 0}.btn-submit{background:var(--gold);color:var(--night);font-weight:700;font-size:1rem;padding:0.9rem 2.5rem;border:none;border-radius:10px;cursor:pointer;transition:background 0.2s}.btn-submit:hover{background:var(--gold-lt)}.success-msg{display:none;text-align:center;background:linear-gradient(135deg,var(--emerald),var(--night));color:var(--white);border-radius:16px;padding:2.5rem;margin:1.5rem 0}.success-msg.show{display:block}.success-msg .icon{font-size:2.5rem;margin-bottom:0.75rem}.success-msg h3{font-size:1.4rem;margin-bottom:0.5rem}.success-msg p{color:#b0c8b0;font-size:0.9rem}#pg-fees{background:#f4f6f9;min-height:100vh}#pg-register{background:#f0f4f0;min-height:100vh}.teacher-page{min-height:100vh;background:#f4f6f9}.teacher-header{background:var(--night);padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between}.teacher-header h1{color:var(--gold);font-size:1.1rem}.teacher-body{max-width:1100px;margin:0 auto;padding:2rem 1.5rem}.teacher-tabs{display:flex;gap:0.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.t-tab{padding:0.55rem 1.25rem;border:2px solid var(--border);border-radius:8px;background:var(--white);cursor:pointer;font-size:0.875rem;font-weight:600;color:var(--text-muted);transition:all .15s}.t-tab.active{border-color:var(--gold);color:var(--gold);background:rgba(200,151,42,.07)}.t-panel{display:none}.t-panel.on{display:block}.salary-summary{background:linear-gradient(135deg,var(--emerald),var(--night));border-radius:14px;padding:1.5rem;color:var(--white);display:flex;gap:2rem;flex-wrap:wrap;margin-bottom:1.5rem}.salary-summary .s-item{text-align:center}.salary-summary .s-num{font-size:2rem;font-weight:700;color:var(--gold)}.salary-summary .s-lbl{font-size:0.78rem;opacity:.8;margin-top:.2rem}.log-form{background:var(--white);border-radius:12px;padding:1.5rem;border:1px solid var(--border);margin-bottom:1.5rem}.log-form h3{font-size:0.95rem;font-weight:700;color:var(--night);margin-bottom:1rem;border-bottom:2px solid var(--gold);padding-bottom:.5rem;display:inline-block}.log-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:1rem}.frow > *,.log-grid > *,.course-grid > *,.course-sched-box .cs-row > *,.portal-info-grid > *,.about-two-col > *,.courses-cards-grid > *,.why-grid > *,.pkgs-grid > *,.admin-stats > *,.fees-preview > *,[style*="display:grid"] > *,[style*="display:grid"] > *{min-width:0}.log-history{background:var(--white);border-radius:12px;overflow:hidden;border:1px solid var(--border)}.log-history-header{padding:1rem 1.25rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.log-history-header h3{font-size:0.95rem;color:var(--night)}.admin-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.a-tab{padding:.55rem 1.25rem;border:2px solid var(--border);border-radius:8px;background:var(--white);cursor:pointer;font-size:.875rem;font-weight:600;color:var(--text-muted);transition:all .15s}.a-tab.active{border-color:var(--gold);color:var(--gold);background:rgba(200,151,42,.07)}.a-panel{display:none}.a-panel.on{display:block}.add-teacher-form{background:var(--white);border-radius:12px;padding:1.5rem;border:1px solid var(--border);margin-bottom:1.5rem}.add-teacher-form h3{font-size:.95rem;font-weight:700;color:var(--night);margin-bottom:1rem;border-bottom:2px solid var(--gold);padding-bottom:.5rem;display:inline-block}.salary-sheet-card{background:var(--white);border-radius:12px;overflow:hidden;border:1px solid var(--border);margin-bottom:1rem}.salary-sheet-card .ssh{background:var(--night);color:var(--gold);padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:.95rem}.course-sched-box{background:#f8f9fa;border:1.5px solid var(--border);border-radius:12px;padding:1.25rem;margin-bottom:1rem}.course-sched-box .cs-title{font-weight:700;font-size:0.95rem;color:var(--night);margin-bottom:1rem;padding-bottom:0.5rem;border-bottom:2px solid var(--gold)}.course-sched-box .cs-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:0.75rem}.course-sched-box .days-grid{display:flex;flex-wrap:wrap;gap:0.4rem;margin-top:0.35rem}.course-sched-box .day-chip{padding:0.3rem 0.75rem;border:1.5px solid var(--border);border-radius:999px;cursor:pointer;font-size:0.78rem;transition:all 0.15s;user-select:none}.course-sched-box .day-chip:hover{border-color:var(--gold);background:rgba(200,151,42,0.07)}.course-sched-box .day-chip input{display:none}.course-sched-box .day-chip input:checked + span{color:var(--gold);font-weight:700}.course-sched-box .day-chip:has(input:checked){border-color:var(--gold);background:rgba(200,151,42,0.1)}@media(max-width:600px){.frow,.frow.triple{grid-template-columns:1fr}.fees-preview{grid-template-columns:1fr}table{font-size:0.75rem}th,td{padding:0.5rem 0.6rem}}html,body{overflow-x:hidden}@media(max-width:768px){.section{padding:2rem 1rem}.section-bg .section{padding:2rem 1rem}.page-header{padding:2rem 1rem 1.5rem}.admin-body,.teacher-body,.portal-body{padding:1rem 0.75rem}.admin-header,.teacher-header,.portal-header{padding:1rem;flex-direction:column;align-items:flex-start;gap:0.5rem}.mobile-title-br{display:inline}.admin-header h1,.teacher-header h1{font-size:0.95rem;line-height:1.4}.admin-tabs,.teacher-tabs{flex-wrap:wrap}.a-tab,.t-tab{font-size:0.78rem;padding:0.45rem 0.85rem}.admin-table-wrap,.log-history,div[style*="overflow-x:auto"]{overflow-x:auto;-webkit-overflow-scrolling:touch}table{min-width:480px}.log-grid{grid-template-columns:1fr !important}.frow,.frow.triple{grid-template-columns:1fr !important}.course-sched-box .cs-row{grid-template-columns:1fr !important}.portal-info-grid{grid-template-columns:1fr !important}.about-two-col{grid-template-columns:1fr !important}.courses-cards-grid{grid-template-columns:1fr}.why-grid{grid-template-columns:1fr 1fr}.pkgs-grid{grid-template-columns:1fr 1fr}.fee-section{padding:1rem}.salary-sheet-card{font-size:0.82rem}.admin-stats{grid-template-columns:1fr 1fr}.portal-welcome{padding:1rem}.portal-card{padding:1rem}.hero-btns{flex-direction:column;align-items:stretch;gap:0.75rem}.hero-btns a{text-align:center}.steps{grid-template-columns:1fr 1fr}.trial-box{padding:2rem 1rem}.sec-head h2{font-size:1.5rem}.contact-grid{grid-template-columns:1fr !important}.fl{flex-direction:column;gap:0.5rem;align-items:center}}@media(max-width:480px){.admin-stats{grid-template-columns:1fr}.why-grid{grid-template-columns:1fr}.pkgs-grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}table{min-width:360px;font-size:0.72rem}.a-tab,.t-tab{font-size:0.72rem;padding:0.4rem 0.65rem}.hero{padding:3rem 1.75rem}.hero-sub{padding:0 0.25rem}}